/* ==========================================================================
   LoomAudits — production stylesheet
   Editorial-dark, restrained, single accent. No SaaS reflex.
   ========================================================================== */

/* ---------- 1. Reset + tokens ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis sets these classes when active — kill native scroll behavior to prevent fights */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Fallback for browsers without Lenis */
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

:root {
  /* OKLCH-tinted neutrals (no pure black/white per impeccable) */
  --canvas:        #161719;
  --surface:       #1d1f23;
  --surface-2:     #26282d;
  --surface-3:     #2d2f35;
  --hairline:      rgba(244, 237, 224, 0.08);
  --hairline-2:    rgba(244, 237, 224, 0.14);

  --text:          #f4ede0;   /* bone cream */
  --text-mute:     #92929c;
  --text-soft:     #b9b9c2;

  --accent:        #e89d4f;   /* burnt amber, money/leak metaphor */
  --accent-hi:     #f3b573;
  --accent-shadow: rgba(232, 157, 79, 0.18);

  --radius-card:   24px;
  --radius-inner:  18px;
  --radius-pill:   999px;

  --pad-section:   clamp(72px, 9vw, 144px);
  --pad-edge:      clamp(20px, 4vw, 40px);

  /* Custom easing curves per emil-design-eng */
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out:   cubic-bezier(0.77, 0, 0.175, 1);

  /* Font stacks (NO Inter) */
  --font-display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: 'ss01' on, 'ss02' on;
  overflow-x: hidden;
  min-height: 100dvh;
}

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--canvas); }

/* ---------- 2. Layout primitives ---------- */

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--pad-edge);
  position: relative;
}

.container-narrow {
  max-width: 880px;
}

.section {
  padding-block: var(--pad-section);
  position: relative;
}

.section-tight {
  padding-block: clamp(56px, 7vw, 96px);
}

.section-h {
  margin-bottom: clamp(40px, 5vw, 72px);
  max-width: 720px;
}

/* ---------- 3. Ambient background ---------- */

.mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
  will-change: transform;
}

.mesh-blob-1 {
  top: -20vw;
  left: -10vw;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  animation: drift1 28s var(--ease-in-out) infinite alternate;
}

.mesh-blob-2 {
  bottom: -25vw;
  right: -15vw;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, #5b6cff 0%, transparent 60%);
  opacity: 0.08;
  animation: drift2 36s var(--ease-in-out) infinite alternate;
}

@keyframes drift1 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(8vw, 4vw, 0); }
}
@keyframes drift2 {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-6vw, -4vw, 0); }
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
  background-size: 200px 200px;
}

/* WebGL shader canvas (progressive enhancement on desktop only) */
.shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease-out;
  mix-blend-mode: screen;
  pointer-events: none;
}
.shader-canvas.is-on {
  opacity: 0.55;
}
@media (max-width: 880px) {
  .shader-canvas { display: none; }
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- 4. Typography ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 17ch;
  text-wrap: balance;
}

.display em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0 0 18px;
  max-width: 22ch;
  text-wrap: balance;
}

.display-cta {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0 0 44px;
  text-wrap: balance;
}

.cta-line { display: block; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mute);
  max-width: 60ch;
  margin: 0;
  line-height: 1.6;
}

.lede {
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  color: var(--text-soft);
  max-width: 52ch;
  margin: 0 0 36px;
  line-height: 1.55;
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum';
  letter-spacing: -0.01em;
}

.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--hairline-2);
  background: rgba(244, 237, 224, 0.03);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 28px;
  text-transform: none;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 157, 79, 0.12);
  animation: dot-pulse 3.2s var(--ease-in-out) infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 157, 79, 0.10); }
  50%      { box-shadow: 0 0 0 9px rgba(232, 157, 79, 0.02); }
}

/* ---------- 5. Navigation (floating glass pill) ---------- */

.nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: var(--pad-edge);
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 8px 8px 22px;
  background: rgba(29, 31, 35, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 1px 0 rgba(244, 237, 224, 0.06),
    0 14px 40px -20px rgba(0, 0, 0, 0.6);
  transition: transform 240ms var(--ease-out), background 240ms var(--ease-out);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--accent);
  border: 1px solid var(--hairline-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  color: var(--text-soft);
}

.nav-links a {
  position: relative;
  padding: 4px 2px;
  transition: color 180ms var(--ease-out);
}

.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 4px; }

/* ---------- 6. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: transform 180ms var(--ease-out), background 200ms var(--ease-out), color 180ms var(--ease-out);
  white-space: nowrap;
}

.btn-pill {
  padding: 10px 10px 10px 18px;
  background: var(--text);
  color: var(--canvas);
  font-size: 14px;
}

.btn-primary {
  padding: 16px 16px 16px 26px;
  background: var(--text);
  color: var(--canvas);
  font-size: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 18px 40px -18px rgba(232, 157, 79, 0.45),
    0 4px 14px -6px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  background: #fff;
}

.btn-primary:active {
  transform: scale(0.975);
}

.btn-ghost {
  padding: 16px 22px;
  background: transparent;
  color: var(--text);
  border-color: var(--hairline-2);
}

.btn-ghost:hover {
  background: rgba(244, 237, 224, 0.04);
  border-color: var(--hairline);
}

.btn-ghost:active { transform: scale(0.97); }

.btn-cta {
  padding: 20px 20px 20px 32px;
  font-size: 17px;
}

/* Button-in-Button trailing icon per high-end-visual-design */
.btn-icon, .btn-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(22, 23, 25, 0.10);
  color: var(--canvas);
  transition: transform 220ms var(--ease-out), background 200ms var(--ease-out);
}

.btn-icon-pill { width: 26px; height: 26px; }

.btn:hover .btn-icon,
.btn:hover .btn-icon-pill {
  transform: translate(2px, -1px);
}

/* ---------- 7. Hero ---------- */

.hero {
  padding-block: clamp(120px, 14vw, 200px) var(--pad-section);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  font-size: 14px;
  color: var(--text-mute);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* Hero card (sample audit finding) */
.hero-card {
  width: 100%;
}

/* ---------- 8. Double-bezel architecture (per high-end-visual-design) ---------- */

.bezel {
  background: rgba(244, 237, 224, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 6px;
  position: relative;
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease-out);
}

.bezel-inner {
  background: var(--surface);
  border-radius: var(--radius-inner);
  padding: clamp(22px, 2.4vw, 32px);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(244, 237, 224, 0.04);
}

.bezel-inner::before {
  /* Subtle hairline highlight at top edge of inner card */
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 237, 224, 0.10), transparent);
}

.bento-card .bezel:hover,
.hero-card .bezel:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-2);
}

/* ---------- 9. Hero card content ---------- */

.card-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.card-tag {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  text-transform: uppercase;
}

.card-tag.accent { color: var(--accent); }
.card-tag.mono { letter-spacing: -0.01em; text-transform: none; }

.card-meta {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--text-mute);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 14px;
}

.card-body {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.card-fix {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--hairline);
}

.fix-row {
  display: flex;
  gap: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.fix-k {
  font-family: var(--font-mono);
  color: var(--text-mute);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 56px;
  padding-top: 2px;
}

.fix-v { color: var(--text-soft); }
.fix-v.accent { color: var(--accent); }

/* ---------- 10. Marquee ---------- */

.marquee-section {
  padding-block: 28px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(244, 237, 224, 0.015);
  overflow: hidden;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  pointer-events: none;
  z-index: 2;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--canvas), transparent);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--canvas), transparent);
}

.marquee-rail {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--text-mute);
  animation: marquee 78s linear infinite;
  will-change: transform;
}

.marquee-track span { flex-shrink: 0; }
.marquee-track span:not(:nth-child(2n)) { color: var(--text-soft); }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 11. Bento grid (asymmetric, gapless via grid-flow-dense) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.bento-card { display: flex; }
.bento-card .bezel { width: 100%; display: flex; }
.bento-card .bezel-inner { width: 100%; display: flex; flex-direction: column; gap: 16px; }

.bento-1 { grid-column: span 8; grid-row: span 2; }
.bento-2 { grid-column: span 4; grid-row: span 2; }
.bento-3 { grid-column: span 5; }
.bento-4 { grid-column: span 7; }

.bento-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  text-transform: lowercase;
  margin-bottom: 4px;
}

.bento-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.bento-body {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}

.strike {
  color: var(--text-mute);
  text-decoration: line-through;
  text-decoration-color: rgba(232, 157, 79, 0.4);
  text-decoration-thickness: 1.5px;
}

.bento-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 10px;
  border: 1px solid var(--hairline);
  font-size: 14.5px;
  color: var(--text-soft);
}

.bento-list li .mono {
  font-size: 13px;
  font-weight: 500;
}

/* Loom mock visual */
.loom-mock {
  margin-top: auto;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
}

.loom-bar {
  display: flex;
  gap: 5px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-3);
}

.loom-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(244, 237, 224, 0.18);
}

.loom-body {
  flex: 1;
  position: relative;
  background: radial-gradient(circle at 35% 30%, rgba(232, 157, 79, 0.10), transparent 60%);
  overflow: hidden;
}

.loom-cursor {
  position: absolute;
  top: 38%;
  left: 28%;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(232, 157, 79, 0.18);
  animation: cursor-move 6s var(--ease-in-out) infinite;
}

@keyframes cursor-move {
  0%   { top: 38%; left: 28%; }
  35%  { top: 62%; left: 70%; }
  70%  { top: 28%; left: 60%; }
  100% { top: 38%; left: 28%; }
}

.loom-wave {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 4px;
  align-items: end;
  height: 28px;
}

.loom-wave span {
  flex: 1;
  background: var(--accent);
  border-radius: 2px;
  height: 30%;
  opacity: 0.55;
  animation: wave 1.4s var(--ease-in-out) infinite;
}

.loom-wave span:nth-child(1)  { animation-delay: 0s;    }
.loom-wave span:nth-child(2)  { animation-delay: 0.05s; }
.loom-wave span:nth-child(3)  { animation-delay: 0.1s;  }
.loom-wave span:nth-child(4)  { animation-delay: 0.15s; }
.loom-wave span:nth-child(5)  { animation-delay: 0.2s;  }
.loom-wave span:nth-child(6)  { animation-delay: 0.25s; }
.loom-wave span:nth-child(7)  { animation-delay: 0.3s;  }
.loom-wave span:nth-child(8)  { animation-delay: 0.35s; }
.loom-wave span:nth-child(9)  { animation-delay: 0.4s;  }
.loom-wave span:nth-child(10) { animation-delay: 0.45s; }
.loom-wave span:nth-child(11) { animation-delay: 0.5s;  }
.loom-wave span:nth-child(12) { animation-delay: 0.55s; }
.loom-wave span:nth-child(13) { animation-delay: 0.6s;  }
.loom-wave span:nth-child(14) { animation-delay: 0.65s; }
.loom-wave span:nth-child(15) { animation-delay: 0.7s;  }

@keyframes wave {
  0%, 100% { height: 30%; opacity: 0.45; }
  50%      { height: 95%; opacity: 0.85; }
}

/* Bento card 4 (48h stat) */
.bento-4-inner {
  flex-direction: row;
  align-items: center;
  gap: 36px;
}

.bento-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.stat-big {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.stat-label {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: -0.005em;
}

/* ---------- 12. Steps (How it works) ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: padding-left 380ms var(--ease-out);
}

.step:last-child { border-bottom: none; }

.step:hover { padding-left: 12px; }

.step-num {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 6px;
}

.step-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.018em;
  margin: 0 0 8px;
  line-height: 1.15;
}

.step-body p {
  color: var(--text-soft);
  margin: 0;
  max-width: 56ch;
  font-size: 15.5px;
}

/* ---------- 13. Editorial block (Who it's for) ---------- */

.section-editorial { padding-block: clamp(80px, 9vw, 140px); }

.editorial-block .eyebrow { margin-bottom: 32px; }

.editorial-body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.018em;
  margin: 0 0 20px;
  text-wrap: balance;
  color: var(--text);
}

.editorial-body .accent { font-weight: 500; }

.editorial-fade {
  color: var(--text-mute);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-top: 28px;
}

/* ---------- 13b. Comparison table ---------- */

.compare-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(244, 237, 224, 0.015);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 24px;
  padding: 22px 28px;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
  transition: background 280ms var(--ease-out);
}

.compare-row:last-child { border-bottom: none; }

.compare-row:not(.compare-head):not(.compare-us):hover {
  background: rgba(244, 237, 224, 0.025);
}

.compare-head {
  background: rgba(244, 237, 224, 0.02);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 14px;
  padding-bottom: 14px;
}

.compare-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-price, .compare-time {
  font-size: 14.5px;
  color: var(--text-soft);
}

.compare-fmt {
  font-size: 14px;
  color: var(--text-mute);
}

.compare-us {
  background: linear-gradient(90deg, rgba(232, 157, 79, 0.06) 0%, rgba(232, 157, 79, 0.02) 100%);
  position: relative;
}

.compare-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.compare-us .compare-name { color: var(--text); }
.compare-us .compare-name strong { font-weight: 600; }
.compare-us .compare-fmt { color: var(--text-soft); }

.us-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 157, 79, 0.18);
  flex-shrink: 0;
  animation: dot-pulse 2.4s var(--ease-in-out) infinite;
}

.compare-note {
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.6;
  max-width: 72ch;
}

@media (max-width: 880px) {
  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 22px;
  }
  .compare-head { display: none; }
  .compare-name { font-size: 17px; margin-bottom: 6px; }
  .compare-price::before { content: "Price: "; color: var(--text-mute); font-family: var(--font-body); }
  .compare-time::before { content: "Turnaround: "; color: var(--text-mute); font-family: var(--font-body); }
  .compare-fmt::before { content: "Format: "; color: var(--text-mute); }
}

/* ---------- 13c. Operator credibility block ---------- */

.operator-block {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--hairline);
}

.operator-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 16px 0 24px;
  max-width: 24ch;
  text-wrap: balance;
}

.operator-body {
  font-size: clamp(1rem, 1.25vw, 1.075rem);
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 60ch;
}

.operator-body p { margin: 0 0 16px; }
.operator-body p:last-child { margin-bottom: 0; }

.operator-sign {
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--text-mute);
  font-size: 14.5px;
  font-style: italic;
}

/* ---------- 14. FAQ ---------- */

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: -0.012em;
  transition: color 180ms var(--ease-out);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--accent); }

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 280ms var(--ease-out);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: var(--text-soft);
  top: 50%;
  left: 50%;
  transform-origin: center;
  transition: transform 280ms var(--ease-out), background 200ms var(--ease-out);
}

.faq-plus::before {
  width: 14px;
  height: 1.5px;
  margin-top: -0.75px;
  margin-left: -7px;
}

.faq-plus::after {
  height: 14px;
  width: 1.5px;
  margin-top: -7px;
  margin-left: -0.75px;
}

.faq-item[open] .faq-plus::after {
  transform: rotate(90deg);
}

.faq-item[open] summary { color: var(--text); }

.faq-body {
  padding: 0 0 28px;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 64ch;
}

.faq-body p { margin: 0; }

/* ---------- 15. Final CTA ---------- */

.cta-section {
  padding-block: clamp(96px, 13vw, 180px);
  position: relative;
}

.cta-block {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(ellipse at center, rgba(232, 157, 79, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.cta-foot {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* ---------- 16. Footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 14px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-mute);
  flex-wrap: wrap;
}

.footer-links a {
  transition: color 180ms var(--ease-out);
}

.footer-links a:hover { color: var(--text); }

.footer-sep { color: var(--text-mute); }

/* ---------- 17. Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  transition:
    opacity 1100ms var(--ease-out-expo),
    transform 1100ms var(--ease-out-expo),
    filter 1100ms var(--ease-out-expo);
  transition-delay: calc(var(--stagger, 0) * 80ms);
  will-change: opacity, transform, filter;
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* ---------- 18. Mobile (single column, no asymmetry below 768) ---------- */

@media (max-width: 880px) {
  body { font-size: 16px; }

  .nav-shell {
    gap: 12px;
    padding: 6px 6px 6px 16px;
  }
  .nav-links { display: none; }

  .hero { padding-top: 130px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card { max-width: 520px; }

  .bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bento-1, .bento-2, .bento-3, .bento-4 {
    grid-column: span 1;
    grid-row: auto;
  }

  .bento-4-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding: 22px 0;
  }
  .step:hover { padding-left: 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: space-between; }

  .editorial-body { font-size: 1.3rem; }

  .marquee-section::before, .marquee-section::after { width: 60px; }
}

/* ---------- 19. Accessibility — reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; filter: none; }
  .mesh-blob, .marquee-track, .loom-cursor, .loom-wave span { animation: none !important; }
}

/* Hover effects only on hover-capable devices */
@media (hover: none) or (pointer: coarse) {
  .step:hover { padding-left: 0; }
  .bezel:hover { transform: none; }
}
