  @font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('/fonts/fraunces.woff2') format('woff2');
  }
  @font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url('/fonts/fraunces-italic.woff2') format('woff2');
  }
  @font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/instrument-serif.woff2') format('woff2');
  }
  @font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/instrument-serif-italic.woff2') format('woff2');
  }
  @font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/fonts/jetbrains-mono.woff2') format('woff2');
  }

  :root {
    --paper:        #F1EADA;
    --paper-2:      #E8DFC9;
    --paper-3:      #DCD2B8;
    --ink:          #1C1A17;
    --ink-soft:     #423B33;
    --muted:        #8A7D6D;
    --rule:         #C9BFA8;
    --terracotta:   #C04E2C;
    --terracotta-d: #9A3D20;
    --highlighter:  #F0D85B;
    --claude:       #D97757;
  }

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

  html {
    scroll-behavior: smooth;
    overflow-x: clip;
  }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Fraunces", Georgia, serif;
    font-variation-settings: "opsz" 14, "SOFT" 30;
    font-feature-settings: "ss01", "ss02", "kern", "liga";
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }

  /* paper grain */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    background-image:
      radial-gradient(rgba(28,26,23,0.035) 1px, transparent 1px),
      radial-gradient(rgba(28,26,23,0.025) 1px, transparent 1px);
    background-size: 3px 3px, 5px 5px;
    background-position: 0 0, 1px 2px;
    mix-blend-mode: multiply;
    opacity: .8;
  }

  /* faint horizontal rule lines across whole page like a notebook */
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 49;
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 31px,
      rgba(28,26,23,0.045) 31px,
      rgba(28,26,23,0.045) 32px
    );
    mix-blend-mode: multiply;
    opacity: .45;
  }

  .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
  }

  /* ---------------- NAV ---------------- */
  nav.top {
    padding: 32px 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    font-family: "Instrument Serif", serif;
    font-size: 30px;
    font-style: italic;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
  }
  .logo .dot { color: var(--terracotta); }
  .logo .mark {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    transform: translateY(2px);
    position: relative;
  }
  .logo .mark::before,
  .logo .mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    background: var(--paper);
  }
  .logo .mark::before {
    transform: rotate(-7deg);
    background: var(--highlighter);
  }
  .logo .mark::after {
    transform: rotate(4deg) translate(2px, 1px);
    background: var(--paper);
  }
  .logo .beta-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: var(--terracotta);
    color: var(--paper);
    padding: 3px 7px 3px 8px;
    border-radius: 2px;
    margin-left: 10px;
    transform: rotate(-3deg) translateY(-9px);
    box-shadow: 1.5px 1.5px 0 var(--ink);
    display: inline-block;
    line-height: 1;
  }
  nav.top .signin {
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    transition: all .25s ease;
    background: transparent;
  }
  nav.top .signin:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
    letter-spacing: 0.20em;
  }

  /* ---- signed-in pill: hover slides to reveal "Sign out" ---- */
  nav.top .signin.signed-in {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    border-color: var(--terracotta);
    color: var(--terracotta);
    background: transparent;
    letter-spacing: normal;
    text-transform: none;
    transition: border-color .25s ease;
  }
  nav.top .signin.signed-in:hover {
    border-color: var(--terracotta);
    background: transparent;
    color: var(--terracotta);
    letter-spacing: normal;
  }
  nav.top .signin.signed-in .kc-email,
  nav.top .signin.signed-in .kc-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    white-space: nowrap;
    transition: transform .34s cubic-bezier(.55,.06,.22,1), opacity .22s ease;
  }
  nav.top .signin.signed-in .kc-email {
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  nav.top .signin.signed-in .kc-email .chev {
    width: 11px;
    height: 11px;
    opacity: .5;
    transition: transform .25s ease;
  }
  nav.top .signin.signed-in .kc-logout {
    position: absolute;
    inset: 0;
    justify-content: center;
    background: var(--terracotta);
    color: var(--paper);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  nav.top .signin.signed-in .kc-logout svg {
    width: 13px; height: 13px;
  }
  nav.top .signin.signed-in:hover .kc-email {
    transform: translateY(-110%);
    opacity: 0;
  }
  nav.top .signin.signed-in:hover .kc-logout {
    transform: translateY(0);
    opacity: 1;
  }
  nav.top .signin.signed-in:active .kc-logout {
    background: var(--terracotta-d);
  }

  /* ---------------- HERO ---------------- */
  .hero { padding: 60px 0 110px; position: relative; }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: start;
  }

  .eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--terracotta);
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }
  .eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--terracotta);
    display: inline-block;
  }

  .reveal {
    container-type: inline-size;
  }
  h1.headline {
    font-family: "Fraunces", serif;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: clamp(34px, 11.5cqi, 104px);
    line-height: 0.93;
    letter-spacing: -0.038em;
    font-weight: 380;
    margin-bottom: 36px;
    color: var(--ink);
  }
  h1.headline .line {
    display: block;
    white-space: nowrap;
  }
  h1.headline em {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta);
    letter-spacing: -0.01em;
  }
  h1.headline .scribble {
    position: relative;
    display: inline-block;
    white-space: nowrap;
  }
  h1.headline .scribble svg {
    position: absolute;
    left: -4%;
    bottom: -8px;
    width: 108%;
    height: 18px;
    pointer-events: none;
  }

  .subhead {
    font-size: clamp(18px, 2.1vw, 22px);
    color: var(--ink-soft);
    line-height: 1.45;
    max-width: 540px;
    margin-bottom: 40px;
    font-weight: 380;
    font-variation-settings: "opsz" 30;
  }
  .subhead .hl {
    color: var(--ink);
    border-bottom: 2px solid var(--highlighter);
    padding: 0 2px;
  }

  /* small "Step 01 · Sign in" label right above the hero CTA — mirrors the
     post-SSO eyebrow above the install button so the two screens read as
     one sequence. */
  .cta-step {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .cta-step::before {
    content: "";
    width: 34px; height: 1px;
    background: var(--terracotta);
  }
  .cta-step .num { color: var(--terracotta); font-weight: 500; }

  .cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: var(--paper);
    padding: 18px 24px 18px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-family: "Fraunces", serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.005em;
    border: 1px solid var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 4px 4px 0 var(--terracotta);
    position: relative;
  }
  .btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--terracotta);
  }
  .btn-primary:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--terracotta); }
  .btn-primary svg { width: 18px; height: 18px; }

  .cta-note {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.04em;
    max-width: 220px;
    line-height: 1.45;
  }

  /* ---- post-SSO install panel ---- */
  .install-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    max-width: 560px;
  }
  .install-eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .install-eyebrow .check {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
  }
  .install-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--claude);
    color: #fff;
    padding: 20px 28px 20px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-family: "Fraunces", serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.005em;
    border: 1px solid var(--claude);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .install-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
  }
  .install-cta:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
  .install-cta svg { width: 22px; height: 22px; }
  .install-link-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: #FCFBF8;
    border: 1px dashed var(--rule);
    border-radius: 4px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    overflow: hidden;
  }
  .install-link-label {
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--terracotta);
    font-size: 10px;
    padding: 12px 14px;
    border-right: 1px dashed var(--rule);
    align-self: center;
    background: rgba(192,78,44,0.05);
  }
  .install-link-url {
    flex: 1;
    min-width: 0;
    color: var(--ink);
    padding: 12px 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
  }
  .install-link-copy {
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-left: 1px dashed var(--rule);
    color: var(--ink-soft);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0 18px;
    cursor: pointer;
    transition: all .2s;
  }
  .install-link-copy:hover {
    background: var(--ink);
    color: var(--paper);
  }
  .install-link-copy.copied {
    background: var(--terracotta);
    color: var(--paper);
  }
  .install-microcopy {
    font-family: "Fraunces", serif;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.5;
    max-width: 44ch;
  }
  .install-microcopy strong {
    font-weight: 500;
    color: var(--ink);
    border-bottom: 2px solid var(--highlighter);
    padding: 0 2px;
  }

  /* ----------- CHAT MOCKUP — phone screenshot ----------- */
  .chat-card {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
  }
  .product-screen {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 28px;
    border: 1px solid rgba(28,26,23,0.06);
    box-shadow:
      0 1px 0 rgba(28,26,23,0.06),
      0 6px 16px rgba(28,26,23,0.06),
      0 28px 70px rgba(28,26,23,0.16);
    background: #FCFBF8;
  }

  /* Hero chat decorations: tape strips pinning the phone screenshot to paper. */
  .chat-card::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    margin-left: -120px;
    width: 64px;
    height: 20px;
    background: rgba(240,216,91,0.72);
    transform: rotate(-4deg);
    z-index: 3;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  }
  .chat-card::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    margin-left: 56px;
    width: 52px;
    height: 18px;
    background: rgba(192,78,44,0.32);
    transform: rotate(6deg);
    z-index: 3;
  }

  @media (min-width: 920px) {
    .hero-grid {
      grid-template-columns: 1.1fr 0.9fr;
      gap: 64px;
      align-items: center;
    }
    .product-screen {
      max-width: 340px;
    }
    .chat-card {
      transform: rotate(1.5deg);
    }
  }

  /* ---------------- HERO CHAT STACK ----------------
     Two phone screenshots overlapped as a cascade — "you ask, Claude builds
     the deck" (back) then "you practise" (front). Kept inside the hero so
     the landing stays one page. Each phone gets its own rotation, tape and
     a tiny chip caption naming its act. */
  .chat-stack {
    position: relative;
    width: 100%;
    max-width: 340px;
    min-height: 600px;
    margin: 0 auto;
  }
  .chat-stack .chat-card {
    position: absolute;
    display: block;
    /* Reset hero-card flex centering since each phone is positioned. */
  }
  .chat-stack .product-screen { max-width: 210px; }

  .chat-stack .chat-card--a {
    top: 0;
    left: 0;
    z-index: 1;
    transform: rotate(-2.2deg);
  }
  .chat-stack .chat-card--b {
    top: 96px;
    left: 116px;
    z-index: 2;
    transform: rotate(2.8deg);
  }

  /* Single distinct tape strip per phone — yellow on the "build" card,
     terracotta on the "practise" card. Overrides the centered tapes baked
     into .chat-card::before/::after. */
  .chat-stack .chat-card--a::after,
  .chat-stack .chat-card--b::before { display: none; }
  .chat-stack .chat-card--a::before {
    top: -10px;
    left: 22px;
    margin-left: 0;
    width: 58px;
    height: 19px;
    transform: rotate(-7deg);
  }
  .chat-stack .chat-card--b::after {
    top: -10px;
    left: auto;
    right: 22px;
    margin-left: 0;
    width: 56px;
    height: 19px;
    transform: rotate(7deg);
  }

  /* Tiny caption chip under each phone naming the act it shows. */
  .chat-card-tag {
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%) rotate(-1.5deg);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    padding: 5px 12px 5px 10px;
    box-shadow: 2px 2px 0 var(--terracotta);
    z-index: 4;
  }
  /* Phone A's chip lifts ABOVE the phone — phone B (front, in its own
     stacking context) covers phone A's bottom edge, so the chip would sit
     under it if pinned to the bottom. Sitting above phone B's bounding
     box keeps it fully visible regardless of z-index. */
  .chat-card--a .chat-card-tag {
    bottom: auto;
    top: -38px;
    transform: translateX(-50%) rotate(-3deg);
  }
  .chat-card--b .chat-card-tag {
    transform: translateX(-50%) rotate(1.5deg);
    box-shadow: 2px 2px 0 var(--claude);
  }
  .chat-card-tag-num {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: 18px;
    color: var(--terracotta);
    letter-spacing: -0.02em;
    text-transform: none;
    line-height: 1;
  }
  .chat-card--b .chat-card-tag-num { color: var(--claude); }

  /* Override the inherited rise+translate animation since translate would
     wipe out each phone's rotation. Fade in only, staggered between cards. */
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .chat-stack .chat-card {
    animation: fadeIn .9s cubic-bezier(.2,.7,.2,1) .55s both;
  }
  .chat-stack .chat-card--b { animation-delay: .85s; }

  @media (min-width: 560px) {
    .chat-stack { max-width: 380px; min-height: 660px; }
    .chat-stack .product-screen { max-width: 230px; }
    .chat-stack .chat-card--b { top: 108px; left: 132px; }
  }

  @media (min-width: 920px) {
    .chat-stack { max-width: 420px; min-height: 720px; }
    .chat-stack .product-screen { max-width: 250px; }
    .chat-stack .chat-card--b { top: 122px; left: 148px; }
    /* Reassert per-card rotation — defeats the @media .chat-card { rotate(1.5deg) } above. */
    .chat-stack .chat-card.chat-card--a { transform: rotate(-2.2deg); }
    .chat-stack .chat-card.chat-card--b { transform: rotate(2.8deg); }
  }

  /* ---------------- SHARED SECTION ---------------- */
  section { padding: 100px 0; position: relative; }

  .section-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .section-label .num { color: var(--terracotta); font-weight: 500; }
  .section-label::after {
    content: "";
    flex: 1; max-width: 80px;
    height: 1px;
    background: var(--rule);
    margin-left: 4px;
  }

  h2 {
    font-family: "Fraunces", serif;
    font-variation-settings: "opsz" 144, "SOFT" 60;
    font-size: clamp(40px, 5.6vw, 68px);
    line-height: 1.0;
    letter-spacing: -0.028em;
    font-weight: 380;
    max-width: 18ch;
    margin-bottom: 64px;
  }
  h2 em {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta);
  }

  /* ---------------- HOW IT WORKS ---------------- */
  .steps { display: grid; gap: 0; }

  .step {
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 60px 0;
    position: relative;
  }
  .step + .step::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--rule) 0 6px, transparent 6px 12px);
  }

  @media (min-width: 820px) {
    .step {
      grid-template-columns: 1fr 1.05fr;
      gap: 80px;
      padding: 80px 0;
    }
    .step.flip > .step-text { order: 2; }
    .step.flip > .step-visual { order: 1; }
  }

  .step-num {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: 110px;
    line-height: 0.9;
    color: var(--terracotta);
    letter-spacing: -0.05em;
    margin-bottom: 14px;
    display: inline-block;
  }
  .step-num sup {
    font-family: "JetBrains Mono", monospace;
    font-style: normal;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.1em;
    vertical-align: top;
    margin-left: 8px;
    text-transform: uppercase;
  }

  .step h3 {
    font-family: "Fraunces", serif;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.04;
    letter-spacing: -0.022em;
    font-weight: 400;
    margin-bottom: 18px;
    max-width: 14ch;
  }
  .step p {
    color: var(--ink-soft);
    font-size: 17.5px;
    line-height: 1.55;
    max-width: 44ch;
  }
  .step .step-meta {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .step .step-meta::before {
    content: ""; width: 18px; height: 1px; background: var(--terracotta);
  }

  /* ---------------- PERSONAL STORY ---------------- */
  .story {
    background: var(--ink);
    color: var(--paper);
    margin: 60px -1000px;
    padding: 130px 1000px 110px;
    position: relative;
    overflow: hidden;
  }
  .story::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(rgba(244,238,224,0.04) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
  }
  .story-inner {
    max-width: 740px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .story-quote-mark {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: 220px;
    color: var(--highlighter);
    line-height: 0.55;
    margin-bottom: -10px;
    opacity: 0.5;
    display: block;
  }
  .story p {
    font-family: "Fraunces", serif;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.4;
    color: var(--paper);
    margin-bottom: 22px;
    letter-spacing: -0.008em;
    font-weight: 380;
  }
  .story p em {
    font-style: italic;
    color: var(--highlighter);
    font-family: "Instrument Serif", serif;
    font-weight: 400;
  }
  .story .signature {
    margin-top: 44px;
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .story .signature-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--paper-2);
    box-shadow:
      0 0 0 1px var(--ink),
      0 0 0 2px var(--highlighter),
      0 10px 28px rgba(0,0,0,0.45);
    filter: saturate(0.92) contrast(1.04);
  }
  .story .signature-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
  }
  .story .signature-name {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.005em;
    color: var(--paper);
  }
  .story .signature-role {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(244,238,224,0.55);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .story .signature-role::before {
    content: ""; width: 22px; height: 1px; background: var(--highlighter);
  }

  /* ---------------- PRICING ---------------- */
  .pricing {
    background: var(--paper-2);
    margin: 0 -1000px;
    padding: 110px 1000px;
    position: relative;
  }
  .pricing::before, .pricing::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 6px;
    background-image: radial-gradient(circle, var(--paper-2) 2px, var(--paper) 2px);
    background-size: 14px 6px;
    background-repeat: repeat-x;
  }
  .pricing::before { top: -3px; }
  .pricing::after { bottom: -3px; }

  .pricing-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
  }
  @media (min-width: 900px) {
    .pricing-wrap { grid-template-columns: 1fr 1.1fr; gap: 80px; }
  }
  .pricing-copy h2 { margin-bottom: 28px; }
  .pricing-copy p {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.5;
    max-width: 38ch;
  }

  .price-card {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: 4px;
    padding: 40px 36px 36px;
    max-width: 520px;
    position: relative;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .price-stamp {
    position: absolute;
    top: -16px;
    right: 24px;
    background: var(--terracotta);
    color: var(--paper);
    padding: 6px 14px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transform: rotate(2deg);
    box-shadow: 2px 2px 0 var(--ink);
  }

  .price-main {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 6px;
  }
  .price-now {
    font-family: "Fraunces", serif;
    font-variation-settings: "opsz" 144;
    font-size: clamp(64px, 9vw, 88px);
    font-weight: 380;
    line-height: 0.9;
    letter-spacing: -0.045em;
  }
  .price-now .dollar {
    font-family: "Instrument Serif", serif;
    font-size: 0.6em;
    color: var(--terracotta);
    vertical-align: 0.15em;
    font-style: italic;
  }
  .price-was {
    font-family: "Fraunces", serif;
    font-size: 20px;
    color: var(--muted);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    font-weight: 400;
  }
  .price-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-soft);
    margin-bottom: 26px;
  }

  .price-divider {
    height: 1.5px;
    background: var(--ink);
    margin: 26px 0;
    position: relative;
    background-image: repeating-linear-gradient(to right, var(--ink) 0 5px, transparent 5px 10px);
    background-size: 10px 1.5px;
    background-color: transparent;
  }
  .price-divider::before, .price-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--paper-2);
    border: 1.5px solid var(--ink);
  }
  .price-divider::before { left: -43px; }
  .price-divider::after  { right: -43px; }

  .price-desc {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 38ch;
  }
  .price-desc strong { font-weight: 500; color: var(--ink); }

  .waitlist-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .waitlist-form input {
    flex: 1;
    min-width: 220px;
    padding: 16px 18px;
    border: 1.5px solid var(--ink);
    border-radius: 2px;
    background: #FCFBF8;
    font-family: "Fraunces", serif;
    font-size: 16px;
    color: var(--ink);
    font-variation-settings: "opsz" 14;
  }
  .waitlist-form input::placeholder { color: var(--muted); }
  .waitlist-form input:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(192,78,44,0.18);
  }
  .waitlist-form button {
    background: var(--ink);
    color: var(--paper);
    padding: 16px 24px;
    border: 1.5px solid var(--ink);
    border-radius: 2px;
    font-family: "Fraunces", serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    letter-spacing: -0.005em;
  }
  .waitlist-form button:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
  }

  .price-fine {
    margin-top: 18px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.55;
    letter-spacing: 0.02em;
  }

  /* ---------------- FAQ ---------------- */
  .faq-grid { max-width: 800px; }

  .faq-item {
    border-top: 1px solid var(--rule);
    padding: 30px 0 28px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 24px;
  }
  .faq-item:last-child { border-bottom: 1px solid var(--rule); }
  .faq-num {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--terracotta);
    padding-top: 9px;
    letter-spacing: 0.08em;
  }
  .faq-q {
    font-family: "Fraunces", serif;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 460;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.012em;
    color: var(--ink);
  }
  .faq-a {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 62ch;
  }
  .faq-a em { color: var(--terracotta); font-style: italic; font-family: "Instrument Serif", serif; }

  /* ---------------- FINAL CTA ---------------- */
  .final-cta {
    background: var(--paper-3);
    margin: 60px -1000px 0;
    padding: 100px 1000px 120px;
    text-align: center;
    position: relative;
  }
  .final-cta::before, .final-cta::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 6px;
    background-image: radial-gradient(circle, var(--paper-3) 2px, var(--paper) 2px);
    background-size: 14px 6px;
    background-repeat: repeat-x;
  }
  .final-cta::before { top: -3px; }
  .final-cta::after  { bottom: -3px; }
  .final-cta h2 {
    margin: 0 auto 40px;
    max-width: 24ch;
    text-align: center;
  }
  .final-cta .btn-primary { font-size: 18px; padding: 20px 28px; }

  /* ---------------- FOOTER ---------------- */
  footer {
    padding: 50px 0 50px;
    border-top: 1px solid var(--rule);
    color: var(--muted);
  }
  .footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px;
    letter-spacing: 0.04em;
  }
  footer .links a {
    color: var(--ink-soft);
    text-decoration: none;
    margin-right: 22px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: all .2s;
  }
  footer .links a:hover { color: var(--terracotta); border-color: var(--terracotta); }
  footer .credit { color: var(--muted); }
  footer .credit a.parent {
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1px;
    transition: color .2s ease, border-color .2s ease;
  }
  footer .credit a.parent:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
  }

  /* ---------------- POST-SSO SCREEN ---------------- */
  /* The landing is suppressed when the user is authenticated; only the install
     ticket and the footer remain (plus the nav, which morphs into a signed-in
     pill on its own). */
  .post-sso { display: none; }
  body.is-authenticated .landing { display: none !important; }
  body.is-authenticated .post-sso { display: block; }

  .post-sso {
    padding: 56px 0 96px;
    position: relative;
    z-index: 2;
  }
  .post-sso-wrap {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
  }

  .post-sso-card {
    background: #FCFBF8;
    border: 1.5px solid var(--ink);
    border-radius: 4px;
    box-shadow: 8px 8px 0 var(--ink);
    padding: 52px 56px 34px;
    position: relative;
    animation: postSsoRise .8s cubic-bezier(.2,.7,.2,1) both;
  }
  @keyframes postSsoRise {
    from { opacity: 0; transform: translateY(22px) rotate(-0.5deg); }
    to   { opacity: 1; transform: translateY(0) rotate(0); }
  }

  /* rubber-stamp "APPROVED" tilted in the corner */
  .post-sso-stamp {
    position: absolute;
    top: -14px;
    right: 30px;
    background: var(--terracotta);
    color: var(--paper);
    padding: 7px 14px 6px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    transform: rotate(2.5deg);
    box-shadow: 2.5px 2.5px 0 var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    z-index: 1;
  }
  .post-sso-stamp::before {
    content: "✓";
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .post-sso-eye {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .post-sso-eye::before {
    content: "";
    width: 34px; height: 1px;
    background: var(--terracotta);
  }
  .post-sso-eye .num { color: var(--terracotta); font-weight: 500; }

  .post-sso-h {
    font-family: "Fraunces", serif;
    font-variation-settings: "opsz" 144, "SOFT" 80;
    font-size: clamp(38px, 5.6vw, 58px);
    line-height: 1.0;
    letter-spacing: -0.028em;
    font-weight: 380;
    margin-bottom: 36px;
    color: var(--ink);
    max-width: 14ch;
  }
  .post-sso-h em {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta);
    letter-spacing: -0.01em;
  }

  .post-sso-install-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--claude);
    color: #fff;
    padding: 20px 30px 20px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-family: "Fraunces", serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.005em;
    border: 1px solid var(--claude);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
    margin-bottom: 26px;
  }
  .post-sso-install-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
  }
  .post-sso-install-cta:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--ink);
  }
  .post-sso-install-cta svg { width: 22px; height: 22px; }
  .post-sso-install-cta .arrow {
    opacity: .7;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    margin-left: 2px;
  }

  .post-sso-card .install-link-row { background: var(--paper); }

  .post-sso-microcopy {
    font-family: "Fraunces", serif;
    font-size: 16px;
    font-style: italic;
    font-variation-settings: "opsz" 14;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-top: 22px;
    max-width: 44ch;
  }
  .post-sso-microcopy strong {
    font-style: normal;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 2px solid var(--highlighter);
    padding: 0 2px;
  }

  /* --- manual install: secondary, technical path under the primary CTA --- */
  .manual-install {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .manual-install-rule {
    position: relative;
    text-align: center;
    margin-bottom: 2px;
  }
  .manual-install-rule::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-image: repeating-linear-gradient(to right, var(--rule) 0 4px, transparent 4px 8px);
    z-index: 0;
  }
  .manual-install-eye {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: #FCFBF8;
    padding: 0 14px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
  }
  .manual-install-lede {
    font-family: "Fraunces", serif;
    font-size: 15px;
    font-style: italic;
    font-variation-settings: "opsz" 14;
    color: var(--ink-soft);
    line-height: 1.5;
    max-width: 46ch;
    margin: 0;
  }
  .manual-install-note {
    font-family: "Fraunces", serif;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 52ch;
    margin: 4px 0 0;
  }
  .manual-install-note code {
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: var(--ink);
    background: var(--paper);
    padding: 2px 7px;
    border-radius: 2px;
    border: 1px solid var(--rule);
    white-space: nowrap;
  }
  .manual-install-docs {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1.5px solid currentColor;
    padding-bottom: 1px;
    transition: color .2s ease;
    white-space: nowrap;
  }
  .manual-install-docs:hover { color: var(--terracotta-d); }
  .manual-install-docs .arrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    line-height: 1;
    margin-left: 1px;
  }

  .post-sso-reserve {
    margin-top: 26px;
    padding: 18px 22px;
    background: rgba(192,78,44,0.05);
    border: 1px dashed var(--terracotta);
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .post-sso-reserve-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 32ch;
  }
  .post-sso-reserve-eye {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--terracotta);
  }
  .post-sso-reserve-copy p {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.45;
  }
  .post-sso-reserve-copy strong {
    font-weight: 500;
    color: var(--ink);
    border-bottom: 2px solid var(--highlighter);
    padding: 0 2px;
  }
  .post-sso-reserve-btn {
    background: var(--ink);
    color: var(--paper);
    padding: 12px 20px;
    border: 1.5px solid var(--ink);
    border-radius: 2px;
    font-family: "Fraunces", serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: -0.005em;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
  }
  .post-sso-reserve-btn:hover:not(:disabled) {
    background: var(--terracotta);
    border-color: var(--terracotta);
  }
  .post-sso-reserve-btn:disabled { cursor: default; }
  .post-sso-reserve-btn.reserved {
    background: transparent;
    color: var(--terracotta);
    border-color: var(--terracotta);
    opacity: 1;
  }

  /* perforated tear with circle "punch-outs" — same pattern as price card */
  .post-sso-perf {
    height: 1.5px;
    background-image: repeating-linear-gradient(to right, var(--ink) 0 5px, transparent 5px 10px);
    background-size: 10px 1.5px;
    background-color: transparent;
    position: relative;
    margin: 38px -56px 26px;
  }
  .post-sso-perf::before, .post-sso-perf::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--ink);
  }
  .post-sso-perf::before { left: -12px; }
  .post-sso-perf::after  { right: -12px; }

  .post-sso-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
  }
  .post-sso-foot .ident {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .post-sso-foot .ident-dot {
    width: 7px; height: 7px;
    background: #4DAE6E;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(77,174,110,0.18);
    animation: identPulse 2.6s ease-in-out infinite;
  }
  @keyframes identPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(77,174,110,0.18); }
    50%      { box-shadow: 0 0 0 6px rgba(77,174,110,0.08); }
  }
  .post-sso-foot .ident .email {
    color: var(--ink-soft);
    text-transform: none;
    letter-spacing: 0.02em;
  }
  .post-sso-foot .signout {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
  }
  .post-sso-foot .signout:hover { color: var(--terracotta); }
  .post-sso-foot .signout svg { width: 12px; height: 12px; opacity: .8; }

  /* ---------------- ENTRANCE ---------------- */
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .reveal > * { opacity: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .reveal > *:nth-child(1) { animation-delay: .10s; }
  .reveal > *:nth-child(2) { animation-delay: .22s; }
  .reveal > *:nth-child(3) { animation-delay: .34s; }
  .reveal > *:nth-child(4) { animation-delay: .46s; }
  .reveal > *:nth-child(5) { animation-delay: .58s; }
  .reveal > *:nth-child(6) { animation-delay: .70s; }

  .chat-card { animation: rise .9s cubic-bezier(.2,.7,.2,1) .55s both; }

  @media (prefers-reduced-motion: reduce) {
    .reveal > *, .chat-card { animation: none; opacity: 1; transform: none; }
    /* Per-phone rotation already on .chat-card--a/--b is preserved by specificity;
       just kill the fade-in animation for reduced-motion users. */
    .chat-stack .chat-card { animation: none; opacity: 1; }
  }

  /* ---------------- MOBILE: phones & small tablets ---------------- */
  @media (max-width: 720px) {
    .container { padding: 0 22px; }

    /* nav */
    nav.top { padding: 22px 0 6px; }
    .logo { font-size: 27px; }
    .logo .beta-tag {
      font-size: 8.5px;
      padding: 2px 6px;
      letter-spacing: 0.16em;
      margin-left: 8px;
    }
    nav.top .signin {
      padding: 8px 13px;
      font-size: 10.5px;
      letter-spacing: 0.14em;
    }

    /* hero */
    .hero { padding: 36px 0 64px; }
    .eyebrow { margin-bottom: 24px; }
    h1.headline {
      margin-bottom: 26px;
    }
    .subhead {
      font-size: 17px;
      margin-bottom: 30px;
      max-width: 100%;
    }
    .cta-step { margin-bottom: 14px; }
    .cta-row {
      gap: 16px;
      flex-direction: column;
      align-items: stretch;
    }
    .btn-primary {
      width: 100%;
      justify-content: center;
      padding: 17px 22px;
      font-size: 16px;
    }
    .cta-note { max-width: 100%; }
    /* The hero chat stack keeps its tilt + tape on mobile. */
    .chat-stack { margin-top: 12px; }

    /* sections */
    section { padding: 70px 0; }
    h2 {
      font-size: clamp(34px, 8.6vw, 54px);
      margin-bottom: 44px;
    }
    .section-label::after { max-width: 50px; }

    /* steps */
    .step { padding: 48px 0; gap: 26px; }
    .step-num { font-size: 84px; }
    .step h3 { font-size: clamp(24px, 6.6vw, 32px); max-width: 100%; }
    .step p { font-size: 16.5px; max-width: 100%; }
    .step .step-meta { margin-top: 18px; }

    /* story */
    .story { margin: 30px -1000px; padding: 88px 1000px 78px; }
    .story p { font-size: 19px; }
    .story-quote-mark { font-size: 150px; }
    .story .signature { margin-top: 32px; gap: 14px; }
    .story .signature-avatar { width: 50px; height: 50px; }
    .story .signature-name { font-size: 21px; }
    .story .signature-role { font-size: 10px; letter-spacing: 0.16em; gap: 8px; }
    .story .signature-role::before { width: 16px; }

    /* pricing */
    .pricing { padding: 80px 1000px; }
    .pricing-wrap { gap: 40px; }
    .pricing-copy h2 { margin-bottom: 20px; }
    .price-card {
      padding: 34px 26px 30px;
      box-shadow: 6px 6px 0 var(--ink);
    }
    .price-stamp {
      right: 14px;
      top: -13px;
      font-size: 9.5px;
      padding: 5px 11px;
      letter-spacing: 0.16em;
    }
    .price-main { gap: 14px; flex-wrap: wrap; }
    .price-now { font-size: clamp(58px, 16vw, 80px); }
    .price-was { font-size: 18px; }
    .price-divider { margin: 22px 0; }
    .price-divider::before { left: -33px; }
    .price-divider::after  { right: -33px; }
    .waitlist-form {
      flex-direction: column;
      gap: 10px;
    }
    .waitlist-form input,
    .waitlist-form button {
      width: 100%;
      min-width: 0;
    }

    /* faq */
    .faq-item {
      grid-template-columns: 1fr;
      gap: 8px;
      padding: 24px 0 22px;
    }
    .faq-num { padding-top: 0; }
    .faq-q { font-size: 20px; margin-bottom: 8px; }
    .faq-a { font-size: 16px; }

    /* final cta */
    .final-cta { margin: 30px -1000px 0; padding: 80px 1000px 90px; }
    .final-cta .btn-primary {
      font-size: 16px;
      padding: 17px 24px;
      width: auto;
      display: inline-flex;
    }

    /* footer */
    footer { padding: 38px 0; }
    .footer-grid {
      flex-direction: column;
      align-items: flex-start;
      gap: 18px;
    }
    footer .links { line-height: 2.1; }
    footer .links a { margin-right: 18px; }

    /* post-sso card */
    .post-sso { padding: 30px 0 60px; }
    .post-sso-card { padding: 44px 26px 28px; }
    .post-sso-perf { margin-left: -26px; margin-right: -26px; }
    .post-sso-stamp { right: 18px; top: -12px; font-size: 9.5px; padding: 6px 12px 5px; }
    .post-sso-h { font-size: clamp(30px, 8.4vw, 42px); }
    .post-sso-install-cta {
      width: 100%;
      justify-content: center;
      padding: 18px 22px;
      font-size: 16px;
    }
    .manual-install { margin-top: 24px; gap: 12px; }
    .manual-install-eye {
      font-size: 9.5px;
      letter-spacing: 0.18em;
      padding: 0 10px;
    }
    .manual-install-lede { font-size: 14.5px; }
    .manual-install-note { font-size: 14px; line-height: 1.6; }
    .manual-install-note code {
      white-space: normal;
      display: inline;
      font-size: 11px;
      padding: 2px 6px;
    }
    .install-link-row { flex-wrap: wrap; }
    .install-link-label {
      width: 100%;
      border-right: none;
      border-bottom: 1px dashed var(--rule);
      padding: 9px 12px;
      text-align: left;
    }
    .install-link-url {
      flex: 1 1 auto;
      width: auto;
      font-size: 11.5px;
      padding: 10px 12px;
    }
    .install-link-copy {
      border-left: 1px dashed var(--rule);
      padding: 0 16px;
    }
    .post-sso-microcopy { font-size: 15px; margin-top: 18px; }
    .post-sso-reserve {
      flex-direction: column;
      align-items: stretch;
      padding: 16px 18px;
    }
    .post-sso-reserve-copy { max-width: 100%; }
    .post-sso-reserve-btn { width: 100%; padding: 14px 20px; }
    .post-sso-foot {
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
    }
    .post-sso-foot .ident { flex-wrap: wrap; max-width: 100%; }
    .post-sso-foot .ident .email {
      word-break: break-all;
      font-size: 10.5px;
    }
    nav.top .signin.signed-in { max-width: 56vw; }
    nav.top .signin.signed-in .kc-email {
      font-size: 10.5px;
      padding: 8px 13px;
      overflow: hidden;
      max-width: 100%;
    }
    nav.top .signin.signed-in .kc-email .chev { flex-shrink: 0; }
  }

  /* ---------------- MOBILE: very small phones (≤380px) ---------------- */
  @media (max-width: 380px) {
    .container { padding: 0 18px; }

    .logo { font-size: 24px; }
    .logo .mark { width: 19px; height: 19px; margin-right: 8px; }
    .logo .beta-tag {
      font-size: 8px;
      padding: 2px 5px;
      margin-left: 6px;
      transform: rotate(-3deg) translateY(-7px);
    }
    nav.top .signin {
      padding: 7px 11px;
      font-size: 10px;
      letter-spacing: 0.1em;
    }

    h2 { font-size: clamp(28px, 8.4vw, 44px); margin-bottom: 36px; }

    .step-num { font-size: 72px; }
    .story-quote-mark { font-size: 130px; }
    .story p { font-size: 18px; }

    .price-card { padding: 28px 20px 24px; }
    .price-divider::before { left: -27px; }
    .price-divider::after  { right: -27px; }

    .post-sso-card { padding: 38px 22px 24px; }
    .post-sso-perf { margin-left: -22px; margin-right: -22px; }
    .post-sso-h { font-size: clamp(28px, 9vw, 38px); }
  }

  /* ====================================================================
     DOCS — long-form companion to the landing. Same visual language
     (paper, ink, terracotta, tape, perforations) but a quiet two-column
     manuscript layout: sticky index card on the left, stamped sections
     on the right. Lives alongside the landing styles so docs and home
     share tokens with zero duplication.
     ==================================================================== */

  .docs-hero {
    padding: 56px 0 36px;
    position: relative;
  }
  .docs-hero-eye {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
  }
  .docs-hero-eye::before {
    content: "";
    width: 34px; height: 1px;
    background: var(--terracotta);
  }
  .docs-hero-eye .slash {
    color: var(--muted);
    font-weight: 400;
    margin: 0 4px;
  }

  .docs-hero h1 {
    font-family: "Fraunces", serif;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: clamp(46px, 7vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 380;
    margin-bottom: 28px;
    color: var(--ink);
    max-width: 16ch;
  }
  .docs-hero h1 em {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta);
    letter-spacing: -0.012em;
  }

  .docs-hero-lede {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--ink-soft);
    line-height: 1.5;
    max-width: 60ch;
    margin-bottom: 30px;
    font-weight: 380;
    font-variation-settings: "opsz" 30;
  }
  .docs-hero-lede strong {
    font-weight: 500;
    color: var(--ink);
    border-bottom: 2px solid var(--highlighter);
    padding: 0 2px;
  }

  /* meta-strip beneath the hero — like a magazine masthead */
  .docs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    padding: 18px 0 22px;
    border-top: 1px dashed var(--rule);
    border-bottom: 1px dashed var(--rule);
    margin-bottom: 50px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
  }
  .docs-meta dt {
    display: inline;
    color: var(--terracotta);
    margin-right: 8px;
  }
  .docs-meta dd {
    display: inline;
    color: var(--ink-soft);
    margin: 0;
  }
  .docs-meta .item { display: inline-flex; align-items: baseline; }
  .docs-meta .item + .item::before {
    content: "·";
    color: var(--rule);
    margin-right: 32px;
    margin-left: -16px;
    align-self: center;
  }

  /* two-column manuscript layout */
  .docs-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: start;
    padding-bottom: 80px;
  }
  @media (min-width: 940px) {
    .docs-layout {
      grid-template-columns: 220px minmax(0, 1fr);
      gap: 64px;
    }
  }

  /* sticky index card — looks like a hand-typed contact card pinned with tape */
  .docs-toc { position: relative; }
  @media (min-width: 940px) {
    .docs-toc { position: sticky; top: 28px; }
  }
  .docs-toc-card {
    background: #FCFBF8;
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    padding: 22px 22px 18px;
    box-shadow: 5px 5px 0 var(--ink);
    position: relative;
  }
  .docs-toc-card::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 22px;
    width: 60px;
    height: 18px;
    background: rgba(240,216,91,0.72);
    transform: rotate(-5deg);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  }
  .docs-toc-eye {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--terracotta);
    margin-bottom: 14px;
    display: block;
  }
  .docs-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: tocnum;
  }
  .docs-toc li {
    counter-increment: tocnum;
    border-top: 1px dashed var(--rule);
    padding: 9px 0 9px 28px;
    position: relative;
    line-height: 1.3;
  }
  .docs-toc li:first-child { border-top: none; padding-top: 4px; }
  .docs-toc li::before {
    content: counter(tocnum, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 11px;
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    color: var(--terracotta);
    letter-spacing: 0.1em;
  }
  .docs-toc li:first-child::before { top: 6px; }
  .docs-toc a {
    font-family: "Fraunces", serif;
    font-size: 14.5px;
    color: var(--ink-soft);
    text-decoration: none;
    letter-spacing: -0.008em;
    transition: color .2s ease;
    display: inline-block;
  }
  .docs-toc a:hover { color: var(--terracotta); }
  .docs-toc-foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1.5px solid var(--ink);
    background-image: repeating-linear-gradient(to right, var(--ink) 0 4px, transparent 4px 8px);
    background-size: 8px 1.5px;
    background-repeat: no-repeat;
    background-position: top;
    background-color: transparent;
  }
  .docs-toc-foot a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--terracotta);
    text-decoration: none;
    transition: color .2s ease;
  }
  .docs-toc-foot a:hover { color: var(--terracotta-d); }
  .docs-toc-foot a .arrow { font-size: 11px; opacity: .8; }

  /* document body — sections stack like dossier pages */
  .docs-body { min-width: 0; }
  .docs-section + .docs-section {
    margin-top: 78px;
    padding-top: 0;
    position: relative;
  }
  .docs-section + .docs-section::before {
    content: "";
    display: block;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--rule) 0 5px, transparent 5px 11px);
    margin-bottom: 64px;
  }

  .docs-section-head {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 26px;
  }
  .docs-stamp {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #FCFBF8;
    transform: rotate(-3deg);
    box-shadow: 3px 3px 0 var(--terracotta);
    line-height: 1;
  }
  .docs-stamp .stamp-num {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: 28px;
    color: var(--terracotta);
    letter-spacing: -0.02em;
  }
  .docs-stamp .stamp-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 7.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 1px;
  }

  .docs-section h2 {
    font-family: "Fraunces", serif;
    font-variation-settings: "opsz" 144, "SOFT" 60;
    font-size: clamp(34px, 4.4vw, 50px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-weight: 400;
    margin: 0 0 6px;
    color: var(--ink);
    max-width: none;
  }
  .docs-section h2 em {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    color: var(--terracotta);
    font-weight: 400;
  }
  .docs-section .section-sub {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .docs-section .section-sub::before {
    content: "";
    width: 22px; height: 1px;
    background: var(--terracotta);
  }
  .docs-section-head-text { padding-top: 4px; }

  /* sub-heading used between groups in a section (replaces inline-styled h3) */
  .docs-h3 {
    font-family: "Fraunces", serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--ink);
    margin: 26px 0 10px;
    line-height: 1.25;
  }
  .docs-h3:first-of-type { margin-top: 18px; }

  .docs-section p,
  .docs-section ul,
  .docs-section ol {
    font-family: "Fraunces", serif;
    font-size: 17px;
    line-height: 1.62;
    color: var(--ink-soft);
    max-width: 64ch;
    margin-bottom: 18px;
  }
  .docs-section ul, .docs-section ol { padding-left: 0; list-style: none; }
  .docs-section ul li, .docs-section ol li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
  }
  .docs-section ul li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.62em;
    width: 8px;
    height: 1.5px;
    background: var(--terracotta);
  }
  .docs-section ol { counter-reset: docsol; }
  .docs-section ol li {
    counter-increment: docsol;
    padding-left: 38px;
  }
  .docs-section ol li::before {
    content: counter(docsol, decimal-leading-zero) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--terracotta);
    padding-top: 5px;
  }
  .docs-section strong {
    font-weight: 500;
    color: var(--ink);
  }
  .docs-section em {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    color: var(--terracotta);
    font-weight: 400;
  }
  .docs-section a {
    color: var(--terracotta);
    text-decoration: none;
    border-bottom: 1.5px solid currentColor;
    transition: color .2s ease;
    white-space: nowrap;
  }
  .docs-section a:hover { color: var(--terracotta-d); }
  .docs-section a .arrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    margin-left: 1px;
  }

  /* inline code */
  .docs-section code {
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    letter-spacing: 0;
    background: #FCFBF8;
    color: var(--ink);
    padding: 2px 7px;
    border-radius: 2px;
    border: 1px solid var(--rule);
    white-space: nowrap;
  }

  /* "URL chip" same family as the post-sso install-link-row */
  .docs-url-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 640px;
    background: #FCFBF8;
    border: 1px dashed var(--rule);
    border-radius: 4px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    overflow: hidden;
    margin: 22px 0 28px;
  }
  .docs-url-row .label {
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--terracotta);
    font-size: 10px;
    padding: 14px;
    border-right: 1px dashed var(--rule);
    align-self: center;
    background: rgba(192,78,44,0.05);
  }
  .docs-url-row .url {
    flex: 1;
    min-width: 0;
    color: var(--ink);
    padding: 14px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 13px;
  }
  .docs-url-row .copy {
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-left: 1px dashed var(--rule);
    color: var(--ink-soft);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0 18px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
  }
  .docs-url-row .copy:hover {
    background: var(--ink);
    color: var(--paper);
  }
  .docs-url-row .copy.copied {
    background: var(--terracotta);
    color: var(--paper);
  }

  /* a stamped "callout" block — used for compatibility / heads-up notes */
  .docs-callout {
    position: relative;
    background: rgba(192,78,44,0.05);
    border: 1px dashed var(--terracotta);
    border-radius: 3px;
    padding: 18px 22px 18px 64px;
    margin: 26px 0;
    max-width: 64ch;
    font-family: "Fraunces", serif;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink-soft);
  }
  .docs-callout::before {
    content: "!";
    position: absolute;
    left: 18px;
    top: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--terracotta);
    background: var(--paper);
    color: var(--terracotta);
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .docs-callout strong {
    color: var(--ink);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    font-family: "Fraunces", serif;
  }
  .docs-callout.note { border-color: var(--rule); background: #FCFBF8; }
  .docs-callout.note::before { color: var(--ink-soft); border-color: var(--ink-soft); }

  /* numbered install steps — feels like a checklist on graph paper.
     Selectors are prefixed with .docs-section ol.docs-steps so they outrank
     the generic .docs-section ol li rules (counter, padding-left, ::before). */
  .docs-section ol.docs-steps {
    counter-reset: stepnum;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    max-width: 64ch;
  }
  .docs-section ol.docs-steps li {
    counter-increment: stepnum;
    position: relative;
    padding: 22px 0 22px 76px;
    margin-bottom: 0;
    border-top: 1px dashed var(--rule);
    line-height: 1.55;
    font-family: "Fraunces", serif;
    font-size: 16.5px;
    color: var(--ink-soft);
  }
  .docs-section ol.docs-steps li:last-child { border-bottom: 1px dashed var(--rule); }
  .docs-section ol.docs-steps li::before {
    content: counter(stepnum, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    box-shadow: 2px 2px 0 var(--terracotta);
    padding-top: 0;
  }
  .docs-section ol.docs-steps li strong {
    font-weight: 500;
    color: var(--ink);
    display: inline;
  }
  .docs-section ol.docs-steps li .step-meta {
    display: block;
    margin-top: 6px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
  }
  .docs-section ol.docs-steps li code { font-size: 12px; }

  /* tool cards — a row of index cards with their stamps */
  .docs-tools {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    margin: 8px 0 24px;
  }
  @media (min-width: 660px) {
    .docs-tools { grid-template-columns: 1fr 1fr; }
  }
  .docs-tool-card {
    background: #FCFBF8;
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    padding: 22px 22px 20px;
    box-shadow: 4px 4px 0 var(--ink);
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .docs-tool-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--terracotta);
  }
  .docs-tool-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }
  .docs-tool-card .name {
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    color: var(--ink);
    letter-spacing: -0.005em;
    font-weight: 500;
  }
  .docs-tool-card .verb {
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--terracotta);
    padding: 3px 7px;
    border: 1px solid var(--terracotta);
    border-radius: 2px;
    background: rgba(192,78,44,0.05);
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .docs-tool-card .verb.read { color: var(--muted); border-color: var(--rule); background: transparent; }
  .docs-tool-card .verb.write { color: var(--terracotta); border-color: var(--terracotta); }
  .docs-tool-card p {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: none;
  }
  .docs-tool-card .args {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--rule);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.02em;
    line-height: 1.6;
  }
  .docs-tool-card .args .a-name { color: var(--ink); }
  .docs-tool-card .args .a-type { color: var(--terracotta); }
  .docs-tool-card .args .a-sep { color: var(--rule); margin: 0 6px; }

  /* faq-style troubleshooting items */
  .docs-faq { max-width: 64ch; margin: 0; }
  .docs-faq-item {
    border-top: 1px solid var(--rule);
    padding: 26px 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
  }
  .docs-faq-item:last-child { border-bottom: 1px solid var(--rule); }
  .docs-faq-marker {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: 30px;
    color: var(--terracotta);
    line-height: 0.85;
    padding-top: 4px;
  }
  .docs-faq-q {
    font-family: "Fraunces", serif;
    font-size: 20px;
    font-weight: 460;
    line-height: 1.32;
    margin-bottom: 8px;
    letter-spacing: -0.012em;
    color: var(--ink);
    max-width: none;
  }
  .docs-faq-a {
    font-family: "Fraunces", serif;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
    max-width: none;
  }
  .docs-faq-a code { font-size: 12px; }

  /* "send a postcard" support card — final flourish */
  .docs-support-card {
    margin: 30px 0 10px;
    background: #FCFBF8;
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    padding: 30px 32px;
    max-width: 64ch;
    box-shadow: 6px 6px 0 var(--ink);
    position: relative;
    display: grid;
    gap: 14px;
  }
  .docs-support-card::before {
    content: "";
    position: absolute;
    top: -14px;
    right: 28px;
    width: 64px;
    height: 22px;
    background: var(--terracotta);
    color: var(--paper);
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transform: rotate(3deg);
    box-shadow: 2px 2px 0 var(--ink);
  }
  .docs-support-card::after {
    content: "POST";
    position: absolute;
    top: -14px;
    right: 28px;
    width: 64px;
    height: 22px;
    color: var(--paper);
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transform: rotate(3deg);
    pointer-events: none;
  }
  .docs-support-card .label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .docs-support-card .label::before {
    content: "";
    width: 22px; height: 1px;
    background: var(--terracotta);
  }
  .docs-support-card h3 {
    font-family: "Fraunces", serif;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.018em;
    font-weight: 400;
    margin: 0;
    color: var(--ink);
  }
  .docs-support-card h3 em {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    color: var(--terracotta);
    font-weight: 400;
  }
  .docs-support-card p {
    font-family: "Fraunces", serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
    max-width: 52ch;
  }
  .docs-support-card .ways {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 6px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.02em;
  }
  .docs-support-card .ways a {
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--paper);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s ease, color .2s ease;
    white-space: nowrap;
  }
  .docs-support-card .ways a:hover {
    background: var(--ink);
    color: var(--paper);
  }
  .docs-support-card .ways .key {
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 9.5px;
  }

  /* docs mobile */
  @media (max-width: 720px) {
    .docs-hero { padding: 32px 0 22px; }
    .docs-meta { gap: 12px 22px; padding: 14px 0 16px; margin-bottom: 36px; }
    .docs-meta .item + .item::before { margin-right: 22px; margin-left: -12px; }
    .docs-layout { gap: 36px; padding-bottom: 64px; }
    .docs-section + .docs-section { margin-top: 56px; }
    .docs-section + .docs-section::before { margin-bottom: 44px; }
    .docs-section-head { gap: 16px; }
    .docs-stamp { width: 54px; height: 54px; }
    .docs-stamp .stamp-num { font-size: 24px; }
    .docs-stamp .stamp-tag { font-size: 7px; }
    .docs-section p, .docs-section ul, .docs-section ol { font-size: 16px; }
    .docs-url-row { flex-wrap: wrap; }
    .docs-url-row .label { width: 100%; border-right: none; border-bottom: 1px dashed var(--rule); padding: 9px 12px; }
    .docs-url-row .url { padding: 11px 12px; font-size: 12.5px; }
    .docs-url-row .copy { padding: 0 16px; }
    .docs-section ol.docs-steps li { padding: 18px 0 18px 64px; font-size: 15.5px; }
    .docs-section ol.docs-steps li::before { width: 40px; height: 40px; top: 16px; }
    .docs-tool-card { padding: 18px 18px 16px; }
    .docs-support-card { padding: 24px 22px; }
    .docs-support-card h3 { font-size: 24px; }
  }