/* Go Biz Help — Hi-Fi System */
:root {
  --paper: #F7F4EC;
  --paper-2: #EFEBDE;
  --paper-3: #E6E1D1;
  --ink: #0E0F0D;
  --ink-2: #2A2B27;
  --ink-soft: #5A5B54;
  --ink-ghost: #B8B3A4;
  --line: #D9D3C1;
  --line-2: #C7C0AA;
  --accent: #006BE0;
  --accent-2: #2DB6FF;
  --accent-soft: rgb(0 107 224 / 0.14);
  --accent-ink: #0050AA;
  --ok: oklch(0.58 0.13 150);

  --cyan: #2DB6FF;
  --cyan-2: #0090D0;
  --cyan-ink: #0E4A66;
  --cyan-soft: rgba(45, 182, 255, 0.14);

  --shadow-sm: 0 4px 10px -6px rgba(14,15,13,0.18);
  --shadow-md: 0 10px 24px -18px rgba(14,15,13,0.24);
  --shadow-lg: 0 24px 60px -30px rgba(14,15,13,0.35);
  --shadow-accent: 0 12px 28px -18px rgba(0, 107, 224, 0.45);
  --shadow-cyan: 0 12px 28px -18px rgba(45, 182, 255, 0.45);

  --f-mono: "JetBrains Mono", "IBM Plex Mono", monospace;
  --f-sans: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;

  --w: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01","cv11"; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ======= Utility ======= */
.container { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.row { display: flex; gap: 24px; align-items: center; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); width: 100%; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin-right: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 16px; }
.eyebrow--accent { color: var(--accent-ink); }

/* ======= Type ======= */
.h-display { font-family: var(--f-sans); font-weight: 500; letter-spacing: -0.04em; line-height: 0.96; font-size: clamp(48px, 7vw, 92px); margin: 0; }
.h-display em { font-style: normal; color: var(--accent); font-family: var(--f-hand); font-weight: 400; letter-spacing: 0; font-size: 1.05em; }
.h-xl { font-family: var(--f-sans); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; font-size: clamp(36px, 4.2vw, 56px); margin: 0; }
.h-lg { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(28px, 2.6vw, 36px); margin: 0; }
.h-md { font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; font-size: 22px; margin: 0; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 56ch; }
.muted { color: var(--ink-soft); }
.mono { font-family: var(--f-mono); }
.tabular { font-variant-numeric: tabular-nums; }

/* ======= Buttons ======= */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-sans); font-size: 15px; font-weight: 500; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); transition: transform 0.15s, background 0.15s; letter-spacing: -0.01em; }
.btn:hover { transform: translateY(-1px); background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--sm { font-size: 13px; padding: 10px 16px; }
.btn__arrow { transition: transform 0.15s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--ink); border-radius: 999px; }
.pill--accent { border-color: var(--accent); color: var(--accent-ink); }
.pill--cyan { border-color: var(--cyan); color: var(--cyan-ink); }
.pill--fill { background: var(--ink); color: var(--paper); }

.btn--cyan { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.btn--cyan:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.eyebrow--cyan { color: var(--cyan-ink); }

/* ======= Nav ======= */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.nav .container { padding-left: max(24px, var(--pad)); padding-right: max(24px, var(--pad)); }
.nav__logo { font-family: var(--f-sans); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.nav__logo::before { content: ""; width: 18px; height: 18px; background: var(--ink); border-radius: 50%; display: inline-block; position: relative; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); align-items: center; }
.nav__links a:hover { color: var(--accent); }
.nav__links [aria-current="page"] { color: var(--accent); font-weight: 500; }
.nav__cta { display: flex; gap: 10px; align-items: center; }

/* Mega menu */
.nav__item--mega { position: relative; }
.nav__trigger {
  background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit;
  font: inherit; font-size: 14px; display: inline-flex; align-items: center; gap: 6px;
}
.nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--accent); }
.nav__caret { transition: transform 0.18s ease; opacity: 0.7; }
.nav__trigger[aria-expanded="true"] .nav__caret,
.nav__item--mega:hover .nav__caret { transform: rotate(180deg); opacity: 1; }
.nav__mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(1060px, calc(100vw - 48px));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.10);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease 150ms, transform 0.15s ease 150ms;
  z-index: 60;
}
/* Desktop: hover or focus-within opens the panel — no JS needed for mouse users */
@media (min-width: 861px) {
  /* Invisible hover bridge spanning the 12px gap between the trigger and the
     panel, extended 20px left/right so slight lateral drift doesn't close the
     menu mid-traverse. Pseudo-element is part of .nav__item--mega, so its area
     counts toward the parent's :hover state. */
  .nav__item--mega::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 12px;
  }
  .nav__item--mega:hover .nav__mega,
  .nav__item--mega:focus-within .nav__mega,
  .nav__item--mega .nav__trigger[aria-expanded="true"] + .nav__mega {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
  }
}
.nav__mega-head {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.nav__mega-col a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  transition: background 0.12s ease, color 0.12s ease;
}
.nav__mega-col a:hover { background: var(--paper-2); color: var(--accent); }
.nav__mega-col a[aria-disabled="true"] { opacity: 0.55; }
.nav__mega-col a[aria-disabled="true"] span { font-style: italic; }
.nav__mega-col a b { display: block; font-weight: 500; font-size: 14px; letter-spacing: -0.01em; }
.nav__mega-col a span { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* Hamburger toggle — hidden above the mobile breakpoint */
.nav__toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; color: var(--ink); cursor: pointer;
  position: relative;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.nav__toggle:hover { background: var(--paper-2); transform: translateY(-1px); }
.nav__toggle span {
  position: absolute; left: 9px; right: 9px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: top 0.22s ease, transform 0.22s ease, opacity 0.18s ease;
}
.nav__toggle span:nth-child(1) { top: 12px; }
.nav__toggle span:nth-child(2) { top: 17px; }
.nav__toggle span:nth-child(3) { top: 22px; }
.nav__toggle.is-open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }
body.nav-locked { overflow: hidden; }

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__inner { gap: 10px; }
  .nav__cta { gap: 6px; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px var(--pad) 22px;
    background: color-mix(in oklab, var(--paper) 96%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    box-shadow: var(--shadow-md);
  }
  .nav__links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav__links.is-open {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  /* Mega menu on mobile: inline accordion inside the drawer, not a floating panel. */
  .nav__item--mega { width: 100%; }
  .nav__trigger {
    width: 100%;
    display: flex; justify-content: center; align-items: center;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    color: var(--ink);
  }
  .nav__mega {
    position: static;
    transform: none;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 12px 0 4px;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__trigger[aria-expanded="true"] + .nav__mega { display: grid; }
  .nav__mega-col a { padding: 10px 4px; }
  .nav__mega-col a b { font-size: 15px; }
}

@media (max-width: 420px) {
  .nav__cta .btn--sm { padding: 9px 12px; font-size: 12px; }
  .nav__cta .btn--sm .btn__arrow { display: none; }
}

/* ======= Footer ======= */
.footer { border-top: 1px solid var(--line); margin-top: 120px; padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { font-size: 14px; color: var(--ink-soft); max-width: 36ch; margin: 12px 0 0; }
.footer h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer li a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ======= Shared layout helpers ======= */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--bordered { border-top: 1px solid var(--line); }

.placeholder { position: relative; border: 1px solid var(--line); border-radius: 8px; background:
  repeating-linear-gradient(135deg, transparent 0 12px, rgba(14,15,13,0.04) 12px 13px),
  var(--paper-2); overflow: hidden; }
.placeholder__cap { position: absolute; bottom: 10px; left: 10px; font-family: var(--f-mono); font-size: 10px; color: var(--ink-soft); background: var(--paper); padding: 3px 7px; border-radius: 3px; border: 1px solid var(--line); }

/* ======= Data / stat numerals ======= */
.big-num { font-family: var(--f-sans); font-weight: 500; letter-spacing: -0.04em; font-size: clamp(44px, 5vw, 64px); line-height: 0.95; font-variant-numeric: tabular-nums; }
.big-num sub { font-size: 0.4em; vertical-align: top; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; margin-left: 6px; }

/* ======= Nav theme toggle (sun/moon) ======= */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink); cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
  position: relative;
}
.theme-toggle:hover { background: var(--paper-2); transform: translateY(-1px); }
.theme-toggle .ti-sun, .theme-toggle .ti-moon {
  position: absolute; transition: opacity 0.22s ease, transform 0.35s ease;
}
.theme-toggle .ti-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .ti-moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.theme-toggle.is-dark .ti-sun { opacity: 0; transform: rotate(90deg) scale(0.6); }
.theme-toggle.is-dark .ti-moon { opacity: 1; transform: rotate(0deg) scale(1); }
@media (max-width: 640px) { .theme-toggle { width: 32px; height: 32px; } }

/* ======= Marginalia ======= */
.handnote { font-family: var(--f-hand); color: var(--accent); font-size: 26px; line-height: 1; transform: rotate(-3deg); display: inline-block; }

/* dark mode */
body.dark-mode { --paper: #14150F; --paper-2: #1E1F18; --paper-3: #262720; --ink: #F7F4EC; --ink-2: #E5E0CF; --ink-soft: #9A958B; --ink-ghost: #54544F; --line: #2D2E27; }

/* ======= Home-specific ======= */
.hero { padding: 72px 0 56px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero__content .lead { margin-top: 24px; }
.hero__cta { display: flex; gap: 12px; margin-top: 40px; align-items: center; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 18px; align-items: center; margin-top: 24px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.hero__trust .avatars { display: flex; }
.hero__trust .avatars span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -8px; background: var(--paper-3); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: var(--ink-2); font-family: var(--f-sans); }
.hero__trust .avatars span:first-child { margin-left: 0; }
.hero__trust .stars { color: var(--accent); letter-spacing: 2px; }

/* AI Inbox Mock */
.inbox { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; box-shadow: 0 24px 60px -30px rgba(14,15,13,0.25); position: relative; }
.inbox__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.inbox__title { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.inbox__dots { display: flex; gap: 6px; }
.inbox__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); }
.inbox__list { display: flex; flex-direction: column; }
.msg { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.msg:last-child { border-bottom: none; }
.msg__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-3); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.msg__avatar--ai { background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: 10px; font-weight: 500; }
.msg__name { font-weight: 500; font-size: 14px; letter-spacing: -0.01em; }
.msg__name b { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; padding: 1px 5px; border-radius: 3px; }
.msg__preview { font-size: 13px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }
.msg__status { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.msg__time { font-family: var(--f-mono); font-size: 10px; color: var(--ink-soft); }
.msg__tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-mono); font-size: 10px; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.05em; }
.msg__tag--pending { background: var(--paper-3); color: var(--ink-soft); }
.msg--typing .msg__preview { color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; }
.msg__typing { display: inline-flex; gap: 3px; }
.msg__typing span { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-soft); animation: typing 1.2s infinite; }
.msg__typing span:nth-child(2) { animation-delay: 0.15s; }
.msg__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 80%, 100% { transform: translateY(0); opacity: 0.3; } 40% { transform: translateY(-3px); opacity: 1; } }
.inbox__foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--paper-2); border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); }
.inbox__foot b { color: var(--accent-ink); }

.hero__handnote { position: absolute; top: 80px; right: -10px; color: var(--accent); font-family: var(--f-hand); font-size: 22px; line-height: 1.1; max-width: 180px; transform: rotate(-3deg); pointer-events: none; }
.hero__handnote::before { content: "↙"; display: block; font-size: 28px; margin-bottom: -4px; }

/* Proof bar */
.proof-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-bar__cell { padding: 32px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.proof-bar__cell:first-child { border-left: none; }
.proof-bar__num { font-size: 36px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof-bar__num .acc { color: var(--accent); }
.proof-bar__lbl { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; }

/* Sections */
.sys { padding: 120px 0 96px; }
.sys__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.sys__head .eyebrow { margin-bottom: 12px; }
.sys__head .lead { color: var(--ink-2); font-size: 17px; }

/* Pipeline 3-step */
.pipe { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); }
.pipe__step { padding: 32px; border-right: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.pipe__step:last-child { border-right: none; }
.pipe__step--accent { background: color-mix(in oklab, var(--accent) 6%, var(--paper)); }
.pipe__num { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.12em; }
.pipe__title { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.pipe__desc { font-size: 14px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.pipe__meta { font-family: var(--f-mono); font-size: 11px; color: var(--accent-ink); border-top: 1px dashed var(--line); padding-top: 12px; }
.pipe__arrow { position: absolute; top: 50%; right: -12px; transform: translateY(-50%); width: 24px; height: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; z-index: 2; }
.pipe__step:last-child .pipe__arrow { display: none; }

/* Services grid */
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.svc { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; transition: background 0.15s; }
.svc:hover { background: var(--paper-2); }
.svc__head { display: flex; justify-content: space-between; align-items: center; }
.svc__num { font-family: var(--f-mono); font-size: 10px; color: var(--ink-soft); letter-spacing: 0.1em; }
.svc__title { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 4px 0 0; }
.svc__desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.svc__link { font-family: var(--f-mono); font-size: 11px; color: var(--accent-ink); letter-spacing: 0.05em; }
.svc__link:hover { color: var(--accent); }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote__stars { color: var(--accent); letter-spacing: 3px; font-size: 14px; }
.quote__text { font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); flex: 1; }
.quote__author { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-3); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.quote__name { font-size: 14px; font-weight: 500; }
.quote__role { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); }

/* CTA block */
.cta-final { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 80px 64px; margin-top: 40px; position: relative; overflow: hidden; }
.cta-final .h-display { color: var(--paper); }
.cta-final .h-display em { color: var(--accent); }
.cta-final .lead { color: color-mix(in oklab, var(--paper) 75%, transparent); margin-top: 20px; }
.cta-final__hash { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 20px, rgba(247,244,236,0.03) 20px 21px); pointer-events: none; }
.cta-final .btn--accent:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Logo bar */
.logobar { padding: 24px 0; border-bottom: 1px solid var(--line); }
.logobar__inner { display: flex; align-items: center; gap: 40px; justify-content: center; opacity: 0.6; flex-wrap: wrap; font-family: var(--f-mono); font-size: 14px; color: var(--ink-soft); }
.logobar__label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 960px) {
  .hero__grid, .sys__head, .pipe, .svcs, .quote-grid, .proof-bar__grid { grid-template-columns: 1fr; }
  .pipe__step { border-right: none; border-bottom: 1px solid var(--line); }
  .pipe__step:last-child { border-bottom: none; }
  .pipe__arrow { display: none; }
  .svcs { grid-template-columns: 1fr 1fr; }
  .cta-final { padding: 48px 32px; }
  .hero__handnote { display: none; }
}
@media (max-width: 600px) {
  .svcs { grid-template-columns: 1fr; }
  .proof-bar__cell { border-left: none; border-top: 1px solid var(--line); }
  .proof-bar__cell:first-child { border-top: none; }
}

/* ======= Services page ======= */
.page-hero { padding: 72px 0 48px; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.page-hero .lead { font-size: 18px; }

.lanes { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; padding: 40px 0 120px; align-items: start; }
.lane { position: relative; }
.lane__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lane__title { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.lane__count { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); }
.lane--paired .lane__title { color: var(--accent-ink); }
.lane--paired .lane__head { border-bottom-color: var(--accent); }
.lane--bundled .lane__title { color: var(--paper); background: var(--ink); padding: 3px 8px; border-radius: 3px; display: inline-block; }

.card { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--ink); transform: translateY(-1px); }
.card__head { display: flex; justify-content: space-between; align-items: center; }
.card__title { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.card__desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.card__meta { display: flex; gap: 14px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 6px; justify-content: space-between; align-items: center; }
.card__meta b { color: var(--ink); }
.card__num { font-family: var(--f-mono); font-size: 10px; color: var(--ink-ghost); letter-spacing: 0.1em; }

.card--paired { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 4%, var(--paper)); position: relative; }
.card--paired::before { content: "PAIRED"; position: absolute; top: 12px; right: 12px; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; color: #fff; background: var(--accent); padding: 3px 7px; border-radius: 3px; line-height: 1; }
.card--paired .card__head { padding-right: 72px; }
.paired-req { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10px; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase; }
.paired-req::before { content: "▲"; color: var(--accent); }

.flagship { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 32px; position: relative; overflow: hidden; min-height: 480px; display: flex; flex-direction: column; }
.flagship__hash { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(247,244,236,0.025) 22px 23px); pointer-events: none; }
.flagship__eyebrow { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.flagship__title { font-size: 42px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 16px; }
.flagship__title em { font-style: normal; color: var(--accent); font-family: var(--f-hand); font-weight: 400; font-size: 1.05em; }
.flagship__desc { font-size: 15px; color: color-mix(in oklab, var(--paper) 75%, transparent); line-height: 1.5; margin: 0 0 24px; max-width: 42ch; }
.flagship__includes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.flagship__inc { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--paper); padding: 10px 12px; border: 1px solid rgba(247,244,236,0.15); border-radius: 8px; }
.flagship__inc::before { content: "✓"; color: var(--accent); font-weight: 700; }
.flagship__stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border-top: 1px solid rgba(247,244,236,0.15); padding-top: 20px; margin-top: auto; }
.flagship__stat { text-align: left; }
.flagship__stat-n { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }
.flagship__stat-l { font-family: var(--f-mono); font-size: 10px; color: color-mix(in oklab, var(--paper) 60%, transparent); margin-top: 6px; letter-spacing: 0.05em; text-transform: uppercase; }
.flagship__cta { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.lanes__note { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 8px; line-height: 1.5; }
.lanes__note b { color: var(--accent-ink); }

.rule { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 28px 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin: 24px 0 48px; }
.rule__mark { font-family: var(--f-hand); color: var(--accent); font-size: 72px; line-height: 0.9; }
.rule__text { font-family: var(--f-sans); font-size: 20px; letter-spacing: -0.01em; line-height: 1.35; color: var(--ink); }
.rule__text b { color: var(--accent-ink); }

.compare { margin-top: 80px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.2fr repeat(5, 1fr); align-items: center; }
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__row--head { background: var(--paper-2); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.compare__cell { padding: 16px 20px; font-size: 14px; border-left: 1px solid var(--line); }
.compare__cell:first-child { border-left: none; font-weight: 500; }
.compare__cell--hl { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.compare__row--head .compare__cell--hl { background: var(--accent); color: var(--paper); }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
details.q { border-bottom: 1px solid var(--line); padding: 18px 0; cursor: pointer; }
details.q summary { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); font-size: 18px; }
details.q[open] summary::after { content: "–"; }
details.q p { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.55; }

@media (max-width: 960px) {
  .page-hero__grid, .lanes, .faq { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__cell { border-left: none; border-top: 1px solid var(--line); }
  .rule { grid-template-columns: 1fr; text-align: left; }
}

/* ======= Service page — Facebook Ads ======= */
.sec-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: end; margin-bottom: 48px; }

.lab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.ad-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--paper); box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.ad-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ad-card__tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.ad-card__score { font-family: var(--f-mono); font-size: 11px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper-2); }
.ad-card__score--good { color: #0B8A4F; border-color: #0B8A4F33; background: #0B8A4F10; }
.ad-card__score--mid { color: #B8750C; border-color: #B8750C33; background: #B8750C10; }
.ad-card__score--bad { color: #B8402E; border-color: #B8402E33; background: #B8402E10; }

.phone { aspect-ratio: 9/16; border-radius: 22px; overflow: hidden; background: var(--paper-3); position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); }
.phone__meta { padding: 10px 12px; display: flex; align-items: center; gap: 8px; font-size: 11px; border-bottom: 1px solid var(--line); background: var(--paper); }
.phone__avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex-shrink: 0; }
.phone__meta b { font-weight: 600; font-size: 12px; }
.phone__meta span { color: var(--ink-soft); font-size: 10px; }
.phone__creative { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.phone__creative--a { background: linear-gradient(165deg, #1B1B1A 0%, #2A2825 100%); color: var(--paper); }
.phone__creative--b { background: linear-gradient(165deg, var(--accent) 0%, #00448F 100%); color: var(--paper); }
.phone__creative--c { background: linear-gradient(165deg, var(--paper-3) 0%, var(--paper-2) 100%); color: var(--ink); }
.phone__hook { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; padding: 24px 20px; text-align: center; }
.phone__hook em { font-family: var(--f-hand); font-weight: 400; font-style: normal; display: block; font-size: 30px; margin-top: 4px; }
.phone__cta { padding: 12px; background: var(--paper); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; color: var(--ink); }
.phone__cta b { font-weight: 600; }
.phone__cta-btn { background: var(--ink); color: var(--paper); padding: 6px 12px; border-radius: 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.ad-card__stats { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; font-family: var(--f-mono); font-size: 10px; color: var(--ink-soft); }
.ad-card__stats b { display: block; color: var(--ink); font-size: 15px; font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 1px; }
.ad-card__note { margin-top: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.ad-card__note .hand { font-family: var(--f-hand); color: var(--accent); font-size: 17px; }

.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; position: relative; }
.proc::before { content: ''; position: absolute; top: 22px; left: 5%; right: 5%; height: 1px; border-top: 1px dashed var(--line-2); z-index: 0; }
.pstep { position: relative; z-index: 1; }
.pstep__num { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-weight: 500; font-size: 13px; margin-bottom: 18px; }
.pstep--accent .pstep__num { background: var(--accent); color: #fff; border-color: var(--accent); }
.pstep__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.pstep__title { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 10px; }
.pstep__desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

.volume { margin-top: 48px; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 44px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.volume__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in oklab, var(--paper) 55%, transparent); margin-bottom: 8px; }
.volume__value { font-size: 42px; letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; }
.volume__value .acc { color: var(--accent); }
.volume__head { font-size: 30px; letter-spacing: -0.02em; font-weight: 500; line-height: 1.1; }

.cta-end { margin-top: 96px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; padding: 64px; }

@media (max-width: 960px) {
  .sec-head, .lab, .proc, .volume { grid-template-columns: 1fr; }
  .cta-end { padding: 40px 28px; }
  .cta-end > div { grid-template-columns: 1fr !important; }
  .proc::before { display: none; }
}

/* ======= Mobile density + overflow guards ======= */
img, svg, video { max-width: 100%; height: auto; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 44px 0; }
  .sys { padding: 72px 0 56px; }
  .hero { padding: 40px 0 32px; }
  .hero__cta { margin-top: 28px; gap: 10px; }
  .hero__cta .btn { padding: 13px 18px; font-size: 14px; }
  .footer { margin-top: 72px; padding: 40px 0 20px; }
  .footer__bottom { flex-direction: column; gap: 6px; align-items: flex-start; margin-top: 32px; }
  .sys__head { gap: 24px; margin-bottom: 40px; }
  .pipe__step { padding: 24px; min-height: 0; }
  .svc { padding: 22px; min-height: 0; }
  .quote { padding: 22px; }
  .cta-final { padding: 40px 24px; border-radius: 14px; margin-top: 24px; }
  .proof-bar__num { font-size: 30px; }
  .proof-bar__cell { padding: 22px 20px; }
  .inbox__head, .inbox__foot { padding: 12px 14px; }
  .msg { padding: 14px; gap: 10px; }
  .msg__preview { font-size: 12px; }
  .flagship { padding: 26px; min-height: 0; }
  .flagship__title { font-size: 32px; }
  .flagship__includes { grid-template-columns: 1fr; }
  .flagship__stats { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .rule { padding: 20px 22px; gap: 16px; margin: 20px 0 36px; }
  .rule__mark { font-size: 54px; }
  .rule__text { font-size: 16px; }
  .volume { padding: 28px 24px; gap: 20px; margin-top: 32px; }
  .volume__head { font-size: 24px; }
  .volume__value { font-size: 32px; }
  .cta-end { padding: 28px 22px; margin-top: 56px; }
  .lanes { padding: 32px 0 56px; }
  .page-hero { padding: 40px 0 24px; }
  .footer__grid { gap: 28px; }
  .logobar__inner { gap: 20px; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .svc__head, .pipe .row--between { flex-wrap: wrap; gap: 8px; }
  .phone__hook { font-size: 20px; padding: 18px 16px; }
}
