/* Outer Sunset — shared styles. Extracted verbatim from the Claude Design prototype.
   Edit here; both index.html, about.html and privacy.html consume this file. */

  :root {
    /* ─────────────────────────────────────────────────────────────
       Outer Sunset design-system tokens (sunburst brand, amber #F15002,
       Archivo display). Primitive ramps + semantic aliases below; legacy
       alias names (--bg, --ink, --accent …) are remapped to the new
       palette so existing rules pick up the rebrand. */

    /* Amber (primary / brand) */
    --amber-50:  rgb(255, 248, 245);
    --amber-100: rgb(248, 226, 217);
    --amber-200: rgb(242, 194, 184);
    --amber-400: rgb(239, 125, 104);
    --amber-500: rgb(241, 80, 2);     /* THE Outer Sunset orange */
    --amber-600: rgb(178, 73, 48);
    --amber-700: rgb(129, 59, 45);

    /* Blue (accent, used sparingly) */
    --blue-500: rgb(0, 31, 189);
    --blue-600: rgb(31, 38, 129);

    /* Dusk (warm dark neutral — ink) */
    --dusk-500: rgb(33, 24, 20);
    --dusk-700: rgb(21, 15, 14);

    /* Neutral (true greyscale) */
    --neutral-50:  rgb(247, 246, 246);
    --neutral-100: rgb(239, 238, 237);
    --neutral-200: rgb(220, 217, 216);
    --neutral-300: rgb(204, 200, 198);
    --neutral-600: rgb(132, 128, 126);
    --neutral-700: rgb(99, 96, 94);
    --neutral-800: rgb(66, 63, 62);
    --neutral-900: rgb(37, 35, 35);

    /* Status */
    --green-50:  rgb(224, 254, 227);
    --green-200: rgb(128, 255, 150);
    --green-600: rgb(37, 163, 64);
    --green-700: rgb(24, 120, 45);

    /* Semantic aliases */
    --brand:        var(--amber-500);
    --brand-hover:  var(--amber-600);
    --on-brand:     #fff;
    --canvas:       #F5F4EF;
    --canvas-elev:  #FBFAF6;
    --text-ink:     var(--dusk-700);
    --focus-ring:   rgba(241, 80, 2, 0.30);

    /* Legacy aliases → new palette */
    --bg: var(--canvas);
    --bg-elev: var(--canvas-elev);
    --ink: var(--dusk-700);
    --ink-2: var(--neutral-900);
    --muted: var(--neutral-700);
    --muted-2: var(--neutral-600);
    --line: rgba(21, 15, 14, 0.10);
    --line-soft: rgba(21, 15, 14, 0.06);
    --line-strong: rgba(21, 15, 14, 0.16);
    --accent: var(--amber-500);      /* outer sunset amber */
    --accent-soft: var(--amber-500); /* solid amber chips */
    --accent-ink: var(--on-brand);   /* white text on solid amber */

    /* Type */
    --font-display: "Archivo", "Elms Sans", system-ui, sans-serif;
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --fs-12: 12px;
    --fs-13: 13px;
    --fs-14: 14px;
    --fs-15: 15px;
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-20: 20px;
    --fs-24: 24px;
    --fs-32: 32px;
    --fs-44: 44px;
    --fs-64: clamp(40px, 7vw, 84px);
    --fs-stat: clamp(48px, 6vw, 80px);

    /* Spacing */
    --pad-x: clamp(20px, 5vw, 64px);
    --maxw: 1240px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 999px;
  }

  /* Display headlines use Archivo; body/UI stays Inter, eyebrows JetBrains Mono. */
  h1, h2, h3 { font-family: var(--font-display); }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  /* Smooth in-page anchor scrolling; offset for the sticky header so
     targeted sections don't land underneath it. Honor reduced-motion. */
  html { scroll-padding-top: 84px; }
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
  }
  body {
    font-family: var(--font-sans);
    font-size: var(--fs-16);
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }

  .container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad-x);
  }

  /* ─── Announcement bar ─── */
  .announce {
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    font-size: var(--fs-13);
    color: var(--muted);
  }
  .announce .row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px var(--pad-x);
    letter-spacing: 0.005em;
  }
  .announce .msg { display: inline; }
  .announce .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    flex: none;
    vertical-align: middle;
    margin-right: 8px;
  }
  .announce a {
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 1px;
  }
  .announce a:hover { border-color: var(--ink); }
  .announce .arrow { display: inline-block; transform: translateY(-1px); }
  /* On phones the message + link can't share one row — stack them with room. */
  @media (max-width: 600px) {
    .announce { font-size: 11px; letter-spacing: 0; }
    .announce .row {
      flex-direction: column;
      gap: 5px;
      padding: 9px 12px;
      text-align: center;
    }
    .announce .dot { margin-right: 7px; }
  }

  /* ─── Nav ─── */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in oklch, var(--bg) 92%, transparent);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .nav-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 68px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: var(--fs-16);
    line-height: 1;
  }
  /* Full lockup — sunburst mark + "Outer Sunset" wordmark */
  .brand-logo { display: block; height: 30px; width: auto; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-self: center;
  }
  /* Primary nav links share the ghost-button treatment */
  .nav-links > a {
    display: inline-flex;
    align-items: center;
    font-size: var(--fs-14);
    color: var(--ink);
    font-weight: 500;
    line-height: 1;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    background: transparent;
    transition: background .15s ease, color .15s ease;
  }
  .nav-links > a:hover { background: rgba(21, 15, 14, 0.05); }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
  }

  /* Pill buttons. Primary is amber and inverts to ink on hover; secondary is
     solid ink; tertiary is outlined. Press = slight scale-down; focus = amber ring. */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: var(--fs-14);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    border: 1.5px solid transparent;
    transition: background .18s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1),
      border-color .18s cubic-bezier(.4,0,.2,1), box-shadow .18s cubic-bezier(.4,0,.2,1), transform .12s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
  }
  .btn:active { transform: translateY(0.5px) scale(0.985); }
  .btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }

  /* Primary — amber, hovers to ink with amber label */
  .btn-primary {
    color: var(--on-brand);
    background: var(--brand);
    border-color: var(--brand);
  }
  .btn-primary:hover {
    color: var(--brand);
    background: var(--dusk-700);
    border-color: var(--dusk-700);
  }
  /* Secondary — solid ink */
  .btn-dark {
    color: #fff;
    background: var(--dusk-700);
    border-color: var(--dusk-700);
  }
  .btn-dark:hover { background: var(--neutral-700); border-color: var(--neutral-700); }
  /* Tertiary — outlined */
  .btn-ghost {
    color: var(--ink);
    background: transparent;
    border-color: transparent;
  }
  .btn-ghost:hover { background: rgba(21,15,14,0.05); }
  .btn-outline {
    color: var(--ink);
    background: transparent;
    border-color: var(--line-strong);
  }
  .btn-outline:hover { border-color: var(--ink); background: rgba(21,15,14,0.04); }
  .btn-lg {
    padding: 14px 26px;
    font-size: var(--fs-15);
  }
  .btn .arrow {
    display: inline-block;
    transition: transform .15s ease;
  }
  .btn:hover .arrow { transform: translateX(2px); }

  /* ─── Hero ─── */
  .hero {
    position: relative;
    padding: 96px 0 32px;
    overflow: hidden;
  }
  /* Dot grid background — subtle warm dots at each intersection, no lines */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(241, 80, 2, 0.16) 1px, transparent 1.7px);
    background-size: 54px 54px;
    background-position: center top;
    mask-image: radial-gradient(ellipse 95% 80% at 50% 30%, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 30%, black 30%, transparent 90%);
    pointer-events: none;
  }
  .hero-inner {
    position: relative;
    text-align: center;
  }
  .hero-eyebrow {
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--amber-700);
    background: var(--amber-50);
    border: 1px solid var(--amber-100);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 28px;
    white-space: nowrap;
  }
  .hero-eyebrow .eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    display: inline-block;
  }
  .hero h1 {
    margin: 0 auto;
    font-size: var(--fs-64);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.02;
    max-width: 14ch;
    text-wrap: balance;
  }
  .hero h1 em {
    font-style: normal;
    font-weight: 800;
    color: var(--muted-2);
  }
  .hero .sub {
    margin: 28px auto 36px;
    max-width: 60ch;
    font-size: var(--fs-18);
    line-height: 1.55;
    color: var(--muted);
    text-wrap: pretty;
  }
  .hero-cta {
    display: inline-flex;
    gap: 12px;
    margin-bottom: 56px;
  }

  /* ─── Hero diagram: System architecture style ─── */
  .diagram {
    position: relative;
    margin: 32px auto 0;
    max-width: 1080px;
    aspect-ratio: 1080 / 440;
    user-select: none;
  }

  /* Orthogonal connector lines */
  .routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
  }
  .routes .line {
    fill: none;
    stroke: var(--ink);
    stroke-opacity: 0.16;
    stroke-width: 1;
    stroke-linecap: square;
    stroke-linejoin: miter;
    opacity: 0;
    animation: lineIn 0.35s ease-out forwards;
    animation-delay: var(--d, 1.2s);
  }
  @keyframes lineIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Traveling dots — quiet, looping */
  .routes .dot {
    opacity: 0;
    animation: dotIn 0.3s ease-out forwards;
    animation-delay: var(--db, 2.1s);
  }
  @keyframes dotIn {
    from { opacity: 0; }
    to   { opacity: 0.9; }
  }

  /* Chips — small, solid accent-tinted, sentence case */
  .pill {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    z-index: 2;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.003em;
    color: var(--ink);
    background: var(--amber-50);
    border: 1px solid rgba(241, 80, 2, 0.30);
    border-radius: 5px;
    padding: 5px 10px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    animation-duration: 0.35s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    animation-delay: var(--d, 0.4s);
  }
  .pill.in  { animation-name: chipInL; }
  .pill.out { animation-name: chipInR; }

  @keyframes chipInL {
    from { opacity: 0; transform: translate(calc(-50% - 12px), -50%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
  }
  @keyframes chipInR {
    from { opacity: 0; transform: translate(calc(-50% + 12px), -50%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
  }

  /* Center hub — dark rounded square with logomark */
  .hub-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    z-index: 3;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background: var(--ink);
    display: grid;
    place-items: center;
    color: var(--bg);
    opacity: 0;
    box-shadow: 0 12px 32px rgba(21, 15, 14, 0.18);
    animation: hubIn 0.4s ease-out forwards;
  }
  .hub-node svg { width: 46px; height: auto; display: block; fill: var(--brand); }
  @keyframes hubIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }

  @media (max-width: 880px) {
    .diagram { aspect-ratio: 1080 / 620; max-width: 100%; }
    .pill { font-size: 10px; padding: 4px 7px; border-radius: 3px; }
    .hub-node { width: 64px; height: 64px; border-radius: 10px; }
    .hub-node svg { width: 32px; height: auto; }
  }

  /* ─── Section base ─── */
  .sec {
    padding: 88px 0;
    border-top: 1px solid var(--line);
  }
  .sec-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
  }
  .kicker {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: var(--fs-12);
    letter-spacing: 0.14em;
    color: var(--amber-600);
    margin-bottom: 14px;
  }
  .sec h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-wrap: balance;
  }
  .sec h2 em { font-style: normal; color: var(--muted-2); }
  .sec p.lede {
    margin: 18px auto 0;
    max-width: 56ch;
    color: var(--muted);
    font-size: var(--fs-18);
  }

  /* ─── Social proof ─── */
  .proof {
    padding: 56px 0 32px;
    border-top: 1px solid var(--line);
  }
  .proof-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted-2);
    margin-bottom: 28px;
  }
  .logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    align-items: center;
  }
  .logo-cell {
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 600;
    font-size: var(--fs-15);
    letter-spacing: -0.01em;
    opacity: 0.7;
  }
  .logo-cell svg { display: block; height: 22px; }
  .logo-cell .pair {
    display: inline-flex; align-items: center; gap: 8px;
  }
  @media (max-width: 880px) {
    .logos { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  }

  /* ─── Features ─── */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
  }
  .feature {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 280px;
    transition: border-color .2s ease, transform .2s ease;
  }
  .feature:hover {
    border-color: var(--line-strong);
  }
  .feat-icon {
    width: 42px; height: 42px;
    border-radius: 9px;
    background: var(--bg);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--ink);
  }
  .feat-icon svg { width: 22px; height: 22px; }
  .feature h3 {
    margin: 0;
    font-size: var(--fs-20);
    font-weight: 700;
    letter-spacing: -0.012em;
  }
  .feature p {
    margin: 0;
    color: var(--muted);
    font-size: var(--fs-15);
    line-height: 1.55;
  }
  .feature .tag {
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 4px 9px;
    white-space: nowrap;
  }

  /* ─── Stats ─── */
  .stats {
    padding: 96px 0;
    border-top: 1px solid var(--line);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  @media (max-width: 760px) {
    .stats-grid { grid-template-columns: 1fr; }
  }
  .stat {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 4px;
    text-align: left;
  }
  .stat .num {
    font-size: var(--fs-stat);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .stat .num sup {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--muted-2);
    margin-left: 2px;
  }
  .stat .lbl {
    margin-top: 14px;
    color: var(--muted);
    font-size: var(--fs-15);
  }
  .stat .meta {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: var(--fs-12);
    letter-spacing: 0.12em;
    color: var(--accent-ink);
    margin-bottom: 14px;
  }

  /* ─── Pricing ─── */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  @media (max-width: 960px) {
    .pricing-grid { grid-template-columns: 1fr; }
  }
  .tier {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .tier.feat {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    transform: translateY(-8px);
    position: relative;
  }
  .tier.feat .price-num,
  .tier.feat .tier-name { color: var(--bg); }
  .tier.feat .tier-sub,
  .tier.feat .price-per { color: rgba(245,244,239,0.6); }
  .tier.feat li { color: rgba(245,244,239,0.85); }
  .tier.feat li::before { background: var(--bg); }
  .tier.feat .btn-outline {
    color: var(--bg);
    border-color: rgba(245,244,239,0.3);
  }
  .tier.feat .btn-outline:hover { border-color: var(--bg); background: rgba(245,244,239,0.06); }
  .tier.feat .feat-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .tier-head { display: flex; flex-direction: column; gap: 6px; }
  .tier-name {
    font-size: var(--fs-18);
    font-weight: 700;
    letter-spacing: -0.005em;
  }
  .tier-sub {
    color: var(--muted);
    font-size: var(--fs-14);
  }
  .price {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .price-num {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .price-per {
    color: var(--muted);
    font-size: var(--fs-14);
  }
  .tier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }
  .tier li {
    position: relative;
    padding-left: 22px;
    font-size: var(--fs-14);
    color: var(--ink-2);
    line-height: 1.5;
  }
  .tier li::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 12px; height: 1px;
    background: var(--ink);
  }
  .tier .btn { width: 100%; justify-content: center; }

  /* ─── Single-card product feature ─── */
  .product-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 56px;
    align-items: center;
  }
  @media (max-width: 880px) {
    .product-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  }
  .product-card .meta {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: var(--fs-12);
    letter-spacing: 0.14em;
    color: var(--amber-700);
    background: var(--amber-50);
    border: 1px solid var(--amber-100);
    padding: 5px 11px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 18px;
    white-space: nowrap;
  }
  .product-card h3 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.08;
  }
  .product-card p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: var(--fs-16);
    line-height: 1.6;
  }
  .product-card .learn {
    color: var(--ink);
    font-weight: 500;
    font-size: var(--fs-14);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .product-card .learn:hover { border-color: var(--ink); }
  .product-card .learn .arrow { transition: transform .15s ease; }
  .product-card .learn:hover .arrow { transform: translateX(2px); }

  /* Product diagram preview (right column) */
  .product-preview {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
  }
  .product-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(21,15,14,0.10) 1px, transparent 1.2px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
  }
  .product-preview .pp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    position: relative;
    z-index: 1;
    white-space: nowrap;
  }
  .product-preview .pp-row .lbl {
    color: var(--ink);
    letter-spacing: -0.005em;
    flex: 0 0 auto;
  }
  .product-preview .pp-row .val {
    color: var(--muted);
    flex: 1 1 auto;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-preview .pp-row .badge {
    font-size: 10px;
    padding: 2px 6px;
    background: var(--accent);
    color: var(--on-brand);
    border-radius: 3px;
    letter-spacing: 0.04em;
  }
  .product-after {
    margin: 28px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: var(--fs-15);
    max-width: 56ch;
  }

  /* ─── Trust signals ─── */
  .trust-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 820px;
    display: flex;
    flex-direction: column;
  }
  .trust-list li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-16);
    line-height: 1.55;
    color: var(--ink-2);
  }
  .trust-list li:first-child { border-top: 1px solid var(--line); }
  .trust-list li .idx {
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    letter-spacing: 0.12em;
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-radius: 3px;
    padding: 3px 6px;
    line-height: 1;
    align-self: center;
    text-align: center;
  }

  /* ─── CTA block (dark) ─── */
  .cta-block {
    background: var(--ink);
    color: var(--bg);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
  }
  @media (max-width: 540px) {
    .cta-block { padding: 44px 28px; }
  }
  .cta-block h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-wrap: balance;
    color: var(--bg);
  }
  .cta-block p {
    margin: 0 auto 32px;
    color: rgba(245,244,239,0.65);
    font-size: var(--fs-16);
    line-height: 1.6;
    max-width: 58ch;
  }
  .cta-block .cta-row {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .cta-block .btn-onlight {
    color: var(--ink);
    background: var(--bg);
    border-color: var(--bg);
  }
  .cta-block .btn-onlight:hover { background: #fff; }
  .cta-block .btn-onink {
    color: var(--bg);
    background: transparent;
    border-color: rgba(245,244,239,0.3);
  }
  .cta-block .btn-onink:hover { border-color: var(--bg); background: rgba(245,244,239,0.06); }

  /* ─── Contact ─── */
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
  }
  @media (max-width: 880px) {
    .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  }
  .contact-left .kicker { margin-bottom: 18px; }
  .contact-left h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-wrap: balance;
  }
  .contact-left p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: var(--fs-18);
    line-height: 1.55;
    max-width: 38ch;
  }

  .form {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-width: 0;
  }
  @media (max-width: 540px) {
    .form { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
  }
  .field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
  .field label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
  }
  .field label .opt {
    color: var(--muted-2);
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-sans);
    font-size: 12px;
    margin-left: 4px;
  }
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    padding: 11px 13px;
    font: 400 15px/1.4 var(--font-sans);
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
  }
  .field textarea {
    min-height: 96px;
    resize: vertical;
    font-family: var(--font-sans);
  }
  .field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23150F0E' stroke-width='1.4' fill='none' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
  }
  .field input::placeholder,
  .field textarea::placeholder {
    color: var(--muted-2);
  }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(241, 80, 2, 0.18);
  }
  .form .btn-submit {
    margin-top: 6px;
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: var(--fs-15);
    border-radius: 7px;
  }
  .form-note {
    font-size: 13px;
    color: var(--muted-2);
    margin: 0;
    line-height: 1.5;
  }

  .form-success {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    display: none;
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .form-success.show { display: flex; }
  .form-success .check {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
    color: var(--on-brand);
  }
  .form-success h3 {
    margin: 0;
    font-size: var(--fs-24);
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .form-success p {
    margin: 0;
    color: var(--muted);
    font-size: var(--fs-16);
    max-width: 38ch;
  }

  /* ─── Footer ─── */
  footer {
    background: var(--ink);
    color: var(--bg);
    margin-top: 0;
  }
  .foot-inner {
    padding: 80px var(--pad-x) 32px;
    max-width: var(--maxw);
    margin: 0 auto;
  }
  .foot-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(245,244,239,0.12);
  }
  @media (max-width: 880px) {
    .foot-top { grid-template-columns: 1fr 1fr; }
  }
  .foot-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 280px;
  }
  .foot-brand .brand { color: var(--bg); }
  .foot-brand p {
    margin: 0;
    color: rgba(245,244,239,0.55);
    font-size: var(--fs-14);
    line-height: 1.55;
  }
  .foot-col h4 {
    margin: 0 0 16px;
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(245,244,239,0.55);
    font-weight: 500;
  }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .foot-col a {
    color: rgba(245,244,239,0.85);
    font-size: var(--fs-14);
  }
  .foot-col a:hover { color: var(--bg); }
  .foot-col .foot-soon {
    color: rgba(245,244,239,0.4);
    font-size: var(--fs-14);
    cursor: default;
  }
  .foot-col .foot-soon em { font-style: normal; opacity: 0.75; }
  .foot-bot {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(245,244,239,0.45);
    font-size: var(--fs-13);
  }
  .foot-bot .meta {
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
  }

  /* ─── Editorial list (Why) ─── */
  .editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 48px;
    max-width: 1080px;
    margin: 0 auto;
  }
  @media (max-width: 900px) {
    .editorial-grid { grid-template-columns: 1fr; gap: 48px; }
  }
  .editorial-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 22px;
    position: relative;
  }
  .editorial-item .num {
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 500;
  }
  .editorial-item .num::before {
    content: "";
    display: block;
    width: 36px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 12px;
  }
  .editorial-item h3 {
    margin: 0;
    font-size: var(--fs-20);
    font-weight: 700;
    letter-spacing: -0.012em;
    line-height: 1.2;
  }
  .editorial-item p {
    margin: 0;
    color: var(--muted);
    font-size: var(--fs-15);
    line-height: 1.6;
  }

  /* ─── Who we work with ─── */
  .who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (max-width: 900px) {
    .who-grid { grid-template-columns: 1fr; }
  }
  .who-card {
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 320px;
    border: 1px solid rgba(21, 15, 14, 0.04);
  }
  .who-card.tone-taupe { background: #E5DCC9; }
  .who-card.tone-slate { background: #D7DAE0; }
  .who-card.tone-clay  { background: #E5D0C2; }
  .who-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    display: grid;
    place-items: center;
    color: var(--accent);
  }
  .who-card .icon svg { width: 22px; height: 22px; display: block; }
  .who-card h3 {
    margin: 0;
    font-size: var(--fs-20);
    font-weight: 700;
    letter-spacing: -0.012em;
    line-height: 1.2;
  }
  .who-card p {
    margin: 0;
    color: var(--ink-2);
    font-size: var(--fs-15);
    line-height: 1.6;
  }

  /* ─── Product suite 2x2 grid ─── */
  .suite-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
  }
  @media (max-width: 820px) {
    .suite-grid { grid-template-columns: 1fr; }
  }
  .suite-card {
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 240px;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
  }
  a.suite-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
  }
  .suite-card .tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    line-height: 1;
  }
  .suite-card .tag.tag-active {
    background: var(--brand);
    color: var(--on-brand);
  }
  .suite-card .tag.tag-soon {
    background: var(--neutral-100);
    color: var(--muted);
  }
  .suite-card h3 {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
  }
  .suite-card p {
    margin: 0;
    color: var(--muted);
    font-size: var(--fs-15);
    line-height: 1.6;
  }
  .suite-card .learn {
    margin-top: auto;
    align-self: flex-start;
    color: var(--accent);
    font-weight: 500;
    font-size: var(--fs-14);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .suite-card .learn .arrow { transition: transform .15s ease; }
  a.suite-card:hover .learn .arrow { transform: translateX(2px); }

  /* Muted variants */
  .suite-card.is-soon {
    border-color: var(--line);
  }
  .suite-card.is-soon h3 { color: var(--ink-2); }
  .suite-card.is-soon p  { color: var(--muted-2); }

  .suite-card.is-dashed {
    border-style: dashed;
    border-color: rgba(21, 15, 14, 0.18);
    background: transparent;
  }
  .suite-card.is-dashed h3 { color: var(--muted); }
  .suite-card.is-dashed p  { color: var(--muted-2); }

  /* small responsive tweaks */
  @media (max-width: 720px) {
    /* Top nav collapses to logo + CTA; the primary links detach into a
       floating pill anchored to the bottom of the viewport (thumb-reach).
       Drop sticky + backdrop-filter on the header: filtered ancestors
       become the containing block for fixed children, which would pin the
       pill to the header instead of the viewport. */
    .nav {
      position: static;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    .nav-row { grid-template-columns: 1fr auto; }
    .nav-links {
      position: fixed;
      left: 50%;
      bottom: calc(16px + env(safe-area-inset-bottom, 0px));
      transform: translateX(-50%);
      z-index: 60;
      max-width: calc(100vw - 24px);
      padding: 6px;
      gap: 2px;
      background: color-mix(in oklch, var(--bg) 75%, transparent);
      backdrop-filter: saturate(140%) blur(10px);
      -webkit-backdrop-filter: saturate(140%) blur(10px);
      border: 1px solid var(--line);
      border-radius: var(--radius-full);
      box-shadow: 0 8px 28px rgba(21, 15, 14, 0.16);
    }
    /* Clear room so the pill never covers the footer's last line. */
    .foot-inner { padding-bottom: calc(32px + 72px + env(safe-area-inset-bottom, 0px)); }
    .hero { padding-top: 64px; }
    .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; }
    .diagram { transform: scale(0.85); transform-origin: center top; }
  }

  /* ─── About page overrides ─── */
  #page-about .hero {
    padding: 120px 0 64px;
    text-align: left;
  }
  @media (max-width: 720px) {
    #page-about .hero { padding-top: 80px; }
  }
  #page-about .hero::before {
    mask-image: radial-gradient(ellipse 95% 80% at 30% 30%, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 95% 80% at 30% 30%, black 30%, transparent 90%);
  }
  #page-about .hero-inner { text-align: left; max-width: 920px; margin: 0; }
  #page-about .hero .eyebrow {
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 22px;
  }
  #page-about .hero h1 {
    margin: 0;
    max-width: 18ch;
    line-height: 1.04;
    text-align: left;
  }
  #page-about .hero h1 .accent { color: var(--brand); font-style: normal; font-weight: 800; }
  #page-about .hero .sub {
    margin: 28px 0 0;
    max-width: 64ch;
    text-align: left;
  }

  /* About — two-column content sections */
  .sec-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 64px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
  }
  @media (max-width: 880px) {
    .sec-grid { grid-template-columns: 1fr; gap: 24px; }
  }
  .sec-grid .kicker { margin-bottom: 14px; }
  .sec-grid h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.1;
    text-wrap: balance;
    text-align: left;
  }
  .sec-grid .body {
    color: var(--ink-2);
    font-size: var(--fs-18);
    line-height: 1.65;
  }
  .sec-grid .body p { margin: 0 0 18px; }
  .sec-grid .body p:last-child { margin: 0; }
  .sec-grid .body em { color: var(--ink); font-style: normal; font-weight: 600; }

  /* About CTA section */
  .cta-section {
    padding: 88px 0 120px;
    border-top: 1px solid var(--line);
  }
  @media (max-width: 540px) {
    .cta-section { padding: 56px 0 80px; }
  }

  /* ─── Additions for the live site (not in the prototype) ─── */

  /* Cloudflare Turnstile widget — sits between the message field and submit */
  .field-turnstile {
    min-height: 65px;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .cf-turnstile { min-height: 65px; }

  /* Honeypot — visually and programmatically hidden, off the tab order */
  .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  /* Recoverable error state below the submit button */
  .form-error {
    display: none;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(241, 80, 2, 0.40);
    background: var(--amber-50);
    border-radius: var(--radius-md);
    color: var(--ink);
    font-size: 13px;
    line-height: 1.5;
  }
  .form-error.show { display: flex; }

  /* Submit button busy state */
  .btn-submit[aria-busy="true"] { opacity: 0.65; pointer-events: none; }

  /* ─── Legal / prose page (privacy) ─── */
  .legal {
    padding: 96px 0 64px;
    border-top: 1px solid var(--line);
  }
  @media (max-width: 720px) {
    .legal { padding: 72px 0 48px; }
  }
  .legal .prose {
    max-width: 720px;
    margin: 0 auto;
  }
  .legal .prose .kicker { margin-bottom: 14px; }
  .legal .prose h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
  }
  .legal .prose .updated {
    font-family: var(--font-mono);
    font-size: var(--fs-13);
    color: var(--muted-2);
    margin: 0 0 40px;
  }
  .legal .prose h2 {
    margin: 40px 0 12px;
    font-size: var(--fs-24);
    font-weight: 700;
    letter-spacing: -0.012em;
    line-height: 1.2;
  }
  .legal .prose p,
  .legal .prose li {
    color: var(--ink-2);
    font-size: var(--fs-16);
    line-height: 1.65;
  }
  .legal .prose p { margin: 0 0 16px; }
  .legal .prose ul {
    margin: 0 0 16px;
    padding-left: 22px;
  }
  .legal .prose li { margin: 0 0 8px; }
  .legal .prose a {
    color: var(--ink);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 1px;
  }
  .legal .prose a:hover { border-color: var(--ink); }
