/* ============================================================
   NoteHand - product site
   The line: a vertical rule runs the page. Left is your Mac, where every
   surface lives. Right is outside, empty unless you send text across.
   Colour carries meaning: red records, teal means on this Mac, indigo acts.
   ============================================================ */

:root {
  --ink: #12162B;
  --ink-2: #5A6075;
  --ink-3: #8F94A8;
  --paper: #F7F7FB;
  --white: #FFFFFF;
  --tint: #EEF0F6;
  --line: #E1E4EE;
  --line-strong: #12162B;
  --act: #3B47E5;
  --act-hover: #2F3AC4;
  --act-tint: rgba(59,71,229,0.08);
  --act-line: rgba(59,71,229,0.3);
  --local: #12A594;
  --local-tint: rgba(18,165,148,0.10);
  --rec: #E5484D;
  --rec-tint: rgba(229,72,77,0.10);
  --maybe: #B7791F;
  --maybe-tint: rgba(183,121,31,0.10);
  --display: 'Manrope', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --outside-w: 280px;
  --gutter: 48px;
}

html, body { margin: 0; padding: 0; background: var(--paper); }
body { -webkit-font-smoothing: antialiased; color: var(--ink); font-family: var(--body); font-size: 16.5px; line-height: 1.6; }
* { box-sizing: border-box; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--act); }
:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; border-radius: 4px; }
button { font-family: inherit; cursor: pointer; appearance: none; -webkit-appearance: none; color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, pre { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; }
section[id] { scroll-margin-top: 72px; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- Type ---------- */
h1, h2, .display { font-family: var(--display); letter-spacing: -0.025em; }
h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.0; font-weight: 600; max-width: 14ch; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; max-width: 20ch; margin-top: 10px; }
h3 { font-family: var(--display); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); text-transform: uppercase; }
.lead { margin-top: 24px; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.lead--sm { font-size: 17px; max-width: 58ch; margin-top: 18px; }
.meta { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Buttons, pills, dots ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; line-height: 1; padding: 15px 22px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; transition: background 150ms ease, border-color 150ms ease, color 150ms ease; white-space: nowrap; }
.btn--primary { background: var(--act); color: #FFF; box-shadow: inset 0 1px 0 rgba(255,255,255,0.14); }
.btn--primary:hover { background: var(--act-hover); color: #FFF; }
.btn--quiet { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--quiet:hover { border-color: var(--ink); }
.btn--sm { font-size: 14px; padding: 10px 14px; border-radius: 8px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 999px; line-height: 1.3; }
.pill--local { background: var(--local-tint); color: #0B7A6E; }
.pill--rec { background: var(--rec-tint); color: #B32B30; }
.pill--maybe { background: var(--maybe-tint); color: #8A5A12; }
.dot { width: 7px; height: 7px; border-radius: 100px; display: inline-block; flex-shrink: 0; }
.dot--local { background: var(--local); }
.dot--rec { background: var(--rec); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(247,247,251,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }
.brand__name { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.site-header .btn { flex-shrink: 0; }
.site-header--simple .back { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.site-header--simple .back:hover { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 8px; }
.nav-toggle span { width: 20px; height: 1.5px; background: var(--ink); display: block; transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 59; background: var(--paper); padding: 8px 40px 32px; flex-direction: column; overflow: auto; }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a:not(.btn) { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 28px; align-self: flex-start; }
body.nav-open { overflow: hidden; }

/* ---------- The line: page grid ---------- */
.band { padding: 0; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--outside-w); }
.inside { padding: 96px var(--gutter) 96px 0; border-right: 1px solid var(--line-strong); min-width: 0; }
.outside { padding: 96px 0 96px 32px; position: relative; }
.band--hero .inside, .band--hero .outside { padding-top: 72px; }
.side-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 28px; }
.side-label--out { color: var(--ink-3); }
.outside__note { font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 28ch; position: sticky; top: 96px; }
.band--hero .outside__note { position: static; }

/* ---------- Surfaces ---------- */
.surface { margin-top: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(18,22,43,0.04), 0 16px 40px rgba(18,22,43,0.06); }
.surface__bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.surface__bar b { color: var(--ink); font-weight: 600; }
.surface__bar .mono { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.surface__bar .surface__time { color: var(--ink); font-weight: 500; }
.surface__hint { padding: 10px 18px; border-top: 1px solid var(--line); background: var(--paper); font-size: 12.5px; color: var(--ink-3); }

/* Surface 1: menu bar and popover */
.surface--menubar { max-width: 640px; background: linear-gradient(180deg, #E4E7F1 0%, #ECEEF6 100%); }
.surface--menubar .surface__hint { background: var(--white); }
.menubar { display: flex; align-items: center; gap: 18px; height: 30px; padding: 0 14px; background: rgba(255,255,255,0.7); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.menubar__apple { width: 12px; height: 14px; border-radius: 4px 4px 5px 5px; background: var(--ink); opacity: 0.8; }
.menubar__app { font-weight: 600; color: var(--ink); }
.menubar__items { display: flex; gap: 14px; }
.menubar__right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 11.5px; }
.menubar__ci { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.menubar__glyph { width: 15px; height: 15px; fill: var(--ink); display: block; }
#menubar-demo[data-state="recording"] .menubar__glyph { fill: var(--rec); }
.popover { width: 320px; margin: 8px 0 22px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(18,22,43,0.12); padding: 6px; font-size: 13.5px; }
.pop__detected { display: flex; align-items: center; gap: 8px; padding: 8px 10px 6px; font-size: 12px; color: var(--ink-3); }
.pop__record { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: var(--act-tint); color: var(--ink); font-weight: 600; font-size: 13.5px; text-align: left; transition: background 150ms ease; }
.pop__record:hover { background: rgba(59,71,229,0.14); }
.pop__recdot { width: 10px; height: 10px; border-radius: 100px; border: 2px solid var(--rec); display: inline-block; flex-shrink: 0; }
#menubar-demo[data-state="recording"] .pop__recdot { background: var(--rec); border-color: var(--rec); }
#menubar-demo[data-state="recording"] .pop__record { background: var(--rec-tint); }
#menubar-demo[data-state="writing"] .pop__record { background: var(--tint); color: var(--ink-2); cursor: default; }
.pop__label { flex: 1; }
.pop__key { font-size: 11px; color: var(--ink-3); }
.pop__live:not([hidden]), .pop__done:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px 4px; }
.pop__done .pop__file { font-size: 11.5px; color: var(--ink-2); text-decoration-color: var(--line); }
.pop__done .pop__file:hover { color: var(--act); text-decoration-color: var(--act); }
.pop__sep { height: 1px; background: var(--line); margin: 6px 4px; }
.pop__group { padding: 4px 10px 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.pop__row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; color: var(--ink-2); }
.pop__row .pop__label { color: var(--ink); }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.wave i { width: 2px; height: 100%; border-radius: 1px; background: var(--rec); display: block; transform-origin: center; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .12s } .wave i:nth-child(3) { animation-delay: .24s } .wave i:nth-child(4) { animation-delay: .36s } .wave i:nth-child(5) { animation-delay: .48s } .wave i:nth-child(6) { animation-delay: .6s } .wave i:nth-child(7) { animation-delay: .72s }
@keyframes wave { 0%, 100% { transform: scaleY(.25) } 50% { transform: scaleY(1) } }
.wave--sm { height: 12px; }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; transform: scaleY(.6); } }

/* Surface 2: transcript + Coach on one timeline */
.call { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.tx { list-style: none; margin: 0; padding: 10px 18px; height: 340px; overflow-y: auto; border-right: 1px solid var(--line); scrollbar-width: thin; }
.tx li { display: grid; grid-template-columns: 56px 42px minmax(0, 1fr); gap: 8px; padding: 6px 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); transition: color 200ms ease; }
.tx li.is-past { color: var(--ink); }
.tx li.is-past .tx__t, .tx li.is-past .tx__s { color: var(--ink-3); }
.tx__t, .tx__s { font-size: 11.5px; color: var(--line); padding-top: 3px; }
.tx li:not(.is-past) .tx__b { color: var(--line); }
.coach { padding: 16px 18px 18px; background: var(--paper); }
.coach__head { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); }
.coach__head b { color: var(--ink); font-weight: 600; }
.coach__cycle { margin-left: auto; font-size: 11.5px; color: var(--ink-3); }
.coach__say { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--act-tint); border: 1px solid var(--act-line); }
.coach__say b { display: block; font-size: 12px; font-weight: 600; color: var(--act); }
.coach__say p { margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 1.45; }
.coach__say p + p { margin-top: 6px; }
.coach__wait { color: var(--ink-3) !important; font-weight: 400 !important; }
.coach__sum { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.coach__sum b { display: block; color: var(--ink); font-weight: 600; font-size: 12px; margin-bottom: 4px; }
.is-early .coach__say { background: var(--tint); border-color: var(--line); }
.is-early .coach__say b { color: var(--ink-3); }
.scrub { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--white); }
.scrub__play { width: 32px; height: 32px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.scrub__play:hover { border-color: var(--ink); }
.scrub__play .i-pause { display: none; }
.is-playing .scrub__play .i-play { display: none; }
.is-playing .scrub__play .i-pause { display: block; }
.scrub__track { position: relative; flex: 1; height: 24px; }
.scrub__track input { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; position: relative; z-index: 2; cursor: pointer; }
.scrub__track input::-webkit-slider-runnable-track { height: 2px; background: var(--line); border-radius: 2px; }
.scrub__track input::-moz-range-track { height: 2px; background: var(--line); border-radius: 2px; }
.scrub__track input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 100px; background: var(--ink); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--ink); margin-top: -6px; }
.scrub__track input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 100px; background: var(--ink); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--ink); }
.scrub__marks { position: absolute; left: 7px; right: 7px; top: 11px; height: 2px; pointer-events: none; z-index: 1; }
.scrub__marks span { position: absolute; top: -3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 100px; background: var(--act); }
.scrub__legend { font-size: 11px; color: var(--act); white-space: nowrap; }
.scrub__legend::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 100px; background: var(--act); margin-right: 6px; vertical-align: 0; }

/* Surface 3: the note */
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.seg button { font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; border-radius: 6px; padding: 5px 10px; transition: background 150ms ease, color 150ms ease; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(18,22,43,0.08); }
.surface--note .surface__bar .mono { margin-left: 0; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-r { padding: 26px 30px 28px; max-width: 70ch; }
.note-r h3 { font-size: 26px; }
.note-r__meta { margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }
.note-r h4 { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.note-r p, .note-r li { font-size: 15px; line-height: 1.6; color: var(--ink); }
.note-r h4 + p { margin-top: 6px; }
.note-r ul { margin-top: 6px; padding-left: 18px; }
.note-r ul.todo { list-style: none; padding-left: 0; }
.note-r ul.todo li { padding-left: 24px; position: relative; }
.note-r ul.todo li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border: 1.5px solid var(--ink-3); border-radius: 3px; }
.note-r__tx { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.note-r__tx summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.note-r__tx summary::-webkit-details-marker { display: none; }
.note-r__tx summary::before { content: "›"; display: inline-block; width: 14px; color: var(--ink-3); transition: transform 150ms ease; }
.note-r__tx[open] summary::before { transform: rotate(90deg); }
.note-r__tx p { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.note-m { padding: 22px 26px 26px; font-size: 12.5px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; overflow-x: auto; }
.note__provider { color: var(--act); font-weight: 500; }
.provider { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
.seg--provider { flex-wrap: wrap; }
.provider__label { font-size: 13.5px; color: var(--ink-2); }
.provider__note { flex-basis: 100%; font-size: 13.5px; color: var(--ink-3); }
#note-demo[data-provider="none"] .note-r h4, #note-demo[data-provider="none"] .note-r h4 + p, #note-demo[data-provider="none"] .note-r ul { opacity: 0.3; }
#note-demo[data-provider="none"] .note-r__tx { opacity: 1; }

/* The crossing: the only thing that ever goes over the line */
.outside--after { position: relative; }
.cross { position: sticky; top: 96px; }
.cross__line { position: absolute; left: calc(-1 * (32px + 1px)); top: 18px; width: 32px; border-top: 2px dashed var(--act); }
.cross__line::before { content: ""; position: absolute; left: -49px; top: -2px; width: 49px; border-top: 2px dashed var(--act); }
.cross__line::after { content: ""; position: absolute; right: -2px; top: -5px; width: 8px; height: 8px; border-radius: 100px; background: var(--act); }
.cross__chip { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--act-line); border-radius: 10px; background: var(--act-tint); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.cross__chip b { color: var(--ink); font-weight: 600; }

/* Surface 4: dictation */
.surface--dict { max-width: 640px; }
.dict__body { padding: 22px 22px 8px; font-size: 15.5px; line-height: 1.6; min-height: 92px; }
.caret { display: inline-block; width: 1.5px; height: 1em; background: var(--act); vertical-align: -0.15em; margin-left: 1px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0 } }
#dict-demo[data-state="inserting"] .caret { animation: none; }
.dict__hud { display: inline-flex; align-items: center; gap: 10px; margin: 8px 22px 18px; padding: 6px 10px 6px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.dict__state { font-weight: 600; color: var(--ink); }
.dict__hint { font-size: 11px; color: var(--ink-3); }
#dict-demo[data-state="idle"] .dict__hud .dot, #dict-demo[data-state="done"] .dict__hud .dot { background: var(--ink-3); }
#dict-demo[data-state="idle"] .wave i, #dict-demo[data-state="done"] .wave i, #dict-demo[data-state="inserting"] .wave i { animation: none; transform: scaleY(.25); background: var(--ink-3); }
#dict-demo[data-state="listening"] .dict__hud { border-color: var(--rec); }
#dict-demo[data-state="done"] .dict__state { color: #0B7A6E; }
.dict__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.dict__hold { user-select: none; -webkit-user-select: none; touch-action: none; }
#dict-demo[data-state="listening"] .dict__hold { background: var(--ink); }
.dict__status { font-size: 12.5px; color: var(--ink-3); }

/* ---------- The line, in detail ---------- */
.crossing { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; }
.crossing th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 10px; border-bottom: 1px solid var(--line-strong); }
.crossing td { padding: 14px 24px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.crossing td:last-child { padding-right: 0; }
.crossing .pill { font-size: 12.5px; padding: 5px 10px; }
.rows { margin-top: 56px; }
.row { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: 32px; padding: 22px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row p { color: var(--ink-2); font-size: 15.5px; }
.policy { margin-top: 28px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Pricing ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.price__facts { display: grid; gap: 18px; padding-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.price__facts dt { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.price__facts dd { margin-top: 3px; }
.price__facts dt:not(:first-child) { margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; max-width: 760px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 16px; padding: 18px 0; font-size: 16.5px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+"; color: var(--act); font-weight: 400; width: 14px; flex-shrink: 0; }
.faq-item[open] summary::before { content: "–"; }
.faq-item p { margin: 0 0 22px 30px; color: var(--ink-2); max-width: 60ch; font-size: 15.5px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-strong); padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__grid h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.footer__grid nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__grid nav a { color: var(--ink-2); text-decoration: none; }
.footer__grid nav a:hover { color: var(--ink); }
.footer__about p { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 34ch; }
.footer__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }
.footer--simple { padding: 32px 0; }
.footer--simple .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.footer--simple img { height: 18px; width: auto; display: block; }
.footer--simple a { color: var(--ink-2); text-decoration: none; }
.footer--simple a:hover { color: var(--ink); }
.footer--simple .right { margin-left: auto; }

/* ---------- Sub-pages ---------- */
.page { padding: 72px 40px 112px; margin: 0 auto; }
.page--privacy { max-width: 820px; }
.page--support { max-width: 880px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.page__title { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -0.025em; margin: 14px 0 0; }
.page__lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 22px 0 0; }
.page__updated { font-size: 13px; color: var(--ink-3); margin-top: 18px; }
.page h2 { font-size: 26px; margin: 48px 0 0; max-width: none; }
.page p.body { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin: 14px 0 0; }
.callout { margin-top: 44px; border: 1px solid var(--line); border-left: 3px solid var(--local); border-radius: 0 12px 12px 0; padding: 24px 28px; background: var(--white); }
.callout__title { font-size: 17px; font-weight: 600; }
.checks { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.checks > div { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.checks > div > span:first-child { color: var(--local); }
.providers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.provider-card, .provider:not(.provider--switch) { }
.providers .provider { display: block; margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--white); }
.providers .provider b { font-size: 16px; font-weight: 600; display: block; }
.providers .provider p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 6px 0 0; }
.perms { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.perms__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.perms__row:last-child { border-bottom: none; }
.perms__row b { font-size: 15.5px; font-weight: 600; }
.perms__row p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.support-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.support-card { border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; background: var(--white); }
.support-card__title { font-size: 17px; font-weight: 600; }
.support-card p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); margin: 8px 0 18px; }
.support-card .mono { font-size: 12.5px; color: var(--ink-3); }
.page h2.trouble { margin: 56px 0 8px; }
.faq-item--support summary { font-size: 16px; }
.bugreport { margin-top: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; background: var(--white); }
.bugreport p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 10px 0 0; }
.kbd { color: var(--ink); font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --outside-w: 220px; --gutter: 36px; }
  .call { grid-template-columns: minmax(0, 1fr); }
  .tx { height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .price { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .inside { border-right: 0; padding: 72px 0 24px; }
  .outside { padding: 0 0 72px; }
  .outside:empty { display: none; }
  .outside__note { position: static; max-width: none; padding: 12px 14px; border-left: 2px solid var(--line-strong); }
  .outside__note::before { content: "Outside your Mac: "; font-weight: 600; color: var(--ink-2); }
  .band--hero .inside { padding-top: 48px; }
  .side-label--out { display: none; }
  .cross { position: static; }
  .cross__line { display: none; }
  .cross__chip { margin-bottom: 12px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-cards, .providers { grid-template-columns: minmax(0, 1fr); }
  .perms__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 560px) {
  .wrap, .page, .mobile-nav { padding-left: 20px; padding-right: 20px; }
  .site-header .btn--sm { display: none; }
  .actions .btn { width: 100%; }
  .popover { width: auto; margin: 8px 12px 16px; }
  .menubar__items { display: none; }
  .tx li { grid-template-columns: 50px minmax(0, 1fr); }
  .tx__s { display: none; }
  .crossing td { display: block; padding: 6px 0; border-bottom: 0; }
  .crossing td:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .crossing thead { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .scrub__legend { display: none; }
  .surface__bar .pill { display: none; }
}
@media (prefers-reduced-motion: reduce) { .btn, .nav-toggle span, .seg button, .tx li { transition: none; } .caret { animation: none; } }

/* ---------- Menu bar surface: every control works ---------- */
.desk { position: relative; min-height: 420px; }
.menubar__ci { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 6px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); }
.menubar__ci:hover, .menubar__ci[aria-expanded="true"] { background: rgba(18,22,43,0.08); }
.menubar__rec { font-size: 11px; color: var(--rec); }
.menubar__items span { padding: 2px 0; }
.dot--off { background: var(--ink-3); }
.pop__detected { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px 6px; border: 0; background: transparent; font-size: 12px; color: var(--ink-3); text-align: left; border-radius: 7px; }
.pop__detected:hover { color: var(--ink-2); }
.pop__detected .pop__key { margin-left: auto; opacity: 0; transition: opacity 150ms ease; }
.pop__detected:hover .pop__key, .pop__detected:focus-visible .pop__key { opacity: 1; }
button.pop__row { width: 100%; border: 0; background: transparent; text-align: left; font-size: 13.5px; font-family: inherit; transition: background 120ms ease; }
button.pop__row:hover { background: var(--tint); }
.pop__file { border: 0; background: transparent; padding: 0; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.pop__file:hover { color: var(--act); text-decoration-color: var(--act); }
.panel { width: 360px; margin: 8px 0 22px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(18,22,43,0.12); font-size: 13.5px; overflow: hidden; }
.panel__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.panel__head b { font-weight: 600; }
.panel__head .mono { margin-left: auto; font-size: 11.5px; color: var(--ink-3); }
.panel__back { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); font-size: 16px; line-height: 1; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
.panel__back:hover { border-color: var(--ink); color: var(--ink); }
.panel__search { display: block; padding: 10px 12px 6px; }
.panel__search input { width: 100%; font: inherit; font-size: 13px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); }
.panel__search input:focus { outline: none; border-color: var(--act); }
.lib__list { padding: 4px 6px 8px; max-height: 300px; overflow-y: auto; }
.lib__item { display: grid; gap: 2px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; text-align: left; font-family: inherit; }
.lib__item:hover { background: var(--tint); }
.lib__title { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.lib__meta { font-size: 11px; color: var(--ink-3); }
.lib__empty { padding: 14px 12px; font-size: 12.5px; color: var(--ink-3); }
.set { padding: 8px 12px 12px; display: grid; gap: 14px; }
.set__group--row { display: flex; align-items: center; justify-content: space-between; }
.set__label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.set__group--row .set__label { margin-bottom: 0; }
.set__opts { display: grid; gap: 3px; }
.set__opts button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px 7px 30px; position: relative; border: 1px solid transparent; border-radius: 7px; background: transparent; text-align: left; font-size: 13px; color: var(--ink); font-family: inherit; }
.set__opts button.mono { font-size: 12px; }
.set__opts button:hover { background: var(--tint); }
.set__opts button::before { content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 100px; border: 1.5px solid var(--ink-3); }
.set__opts button[aria-checked="true"] { background: var(--act-tint); border-color: var(--act-line); }
.set__opts button[aria-checked="true"]::before { border-color: var(--act); background: radial-gradient(circle, var(--act) 0 3px, transparent 3.5px); }
.set__note { margin-top: 6px; font-size: 11.5px; color: var(--ink-3); }
.set__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; }
.set__checks label { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 5px 4px; border-radius: 6px; cursor: pointer; }
.set__checks label:hover { background: var(--tint); }
.set__checks input { accent-color: var(--act); width: 14px; height: 14px; margin: 0; }
.set__kbd { font-size: 12px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.note-r__none { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
@keyframes note-in { from { box-shadow: 0 0 0 3px var(--act-line); } to { box-shadow: 0 1px 2px rgba(18,22,43,0.04), 0 16px 40px rgba(18,22,43,0.06); } }
.surface--note.is-opened { animation: note-in 1.2s ease-out; }
@media (max-width: 560px) {
  .panel { width: auto; margin: 8px 12px 16px; }
  .desk { min-height: 0; }
  .set__checks { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .surface--note.is-opened { animation: none; } }

/* ============================================================
   Homepage
   ============================================================ */
.home-hero { padding: 72px 0 40px; overflow: hidden; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 56px; align-items: center; }
.home-hero__copy h1 { max-width: 14ch; }
.page-h1 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.0; max-width: 16ch; margin-top: 10px; }

/* The scene: art behind, a call window, a transcript card, and what the app understood */
.scene { position: relative; min-height: 560px; }
.scene__art { position: absolute; inset: 24px -8px 40px 40px; border-radius: 26px; background: url("assets/art/pulse.jpg") center left / cover no-repeat; opacity: 0.9; }
.scene__art::after { content: ""; position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(90deg, rgba(247,247,251,0.35), rgba(247,247,251,0) 40%); }
.callwin { position: absolute; left: 0; top: 64px; width: 300px; padding: 10px; border-radius: 18px; background: #1B1F2E; box-shadow: 0 24px 60px rgba(18,22,43,0.28); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.callwin__tile { position: relative; border-radius: 12px; overflow: hidden; background: #2A3044; }
.callwin__tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.callwin__tile--main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.callwin__tile--small { aspect-ratio: 4 / 3; }
.callwin__tile--you { display: grid; place-items: center; background: #3B47E5; }
.callwin__initial { font-family: var(--display); font-weight: 700; color: #FFF; font-size: 15px; }
.callwin__name { position: absolute; left: 8px; bottom: 7px; font-size: 11px; font-weight: 500; color: #FFF; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.callwin__ci { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: rgba(18,22,43,0.78); color: #FFF; font-size: 10.5px; font-family: var(--mono); }
.txcard { position: absolute; left: 240px; top: 30px; width: min(420px, 62%); padding: 22px 22px 26px; border-radius: 18px; background: var(--white); box-shadow: 0 24px 60px rgba(18,22,43,0.18); }
.txcard__line { position: relative; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--tint); font-size: 14px; line-height: 1.5; color: var(--ink); max-width: 92%; }
.txcard__line--you { margin-left: auto; background: var(--act-tint); }
.txcard__line:last-of-type { margin-bottom: 0; }
.txcard__who { display: block; font-size: 11px; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.txcard mark { background: rgba(18,165,148,0.22); color: inherit; border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tag { position: absolute; left: var(--x); top: var(--y); transform: translate(-10%, 0); display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px 7px 8px; border-radius: 999px; background: var(--ink); color: #FFF; font-size: 12.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 8px 24px rgba(18,22,43,0.25); }
.tag b { font-weight: 600; padding: 1px 6px; border: 1px solid rgba(255,255,255,0.35); border-radius: 6px; }
.tag__glyph { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #12A594, #3B47E5); display: inline-block; position: relative; }
.tag__glyph::after { content: ""; position: absolute; left: 4px; right: 4px; top: 5px; bottom: 5px; border-left: 1.5px solid #FFF; border-right: 1.5px solid #FFF; }
.tag--decision::before, .tag--action::before { content: ""; position: absolute; left: 22px; top: -12px; height: 12px; border-left: 1.5px solid var(--ink); }
.coachchip { position: absolute; right: 8px; bottom: 74px; width: 260px; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--act-line); box-shadow: 0 16px 40px rgba(18,22,43,0.14); }
.coachchip__label { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--act); }
.coachchip p { margin-top: 6px; font-size: 14px; font-weight: 500; line-height: 1.4; }

/* Works with: tiles on transcript paper */
.works { padding: 56px 0 0; }
.paper { position: relative; border-radius: 22px; border: 1px solid var(--line); background: var(--white) repeating-linear-gradient(180deg, transparent 0 31px, var(--line) 31px 32px); background-position: 0 14px; overflow: hidden; }
.paper__margin { position: absolute; left: 22px; top: 22px; bottom: 22px; display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--line-2); }
.works__inner { padding: 36px 40px 40px 120px; }
.works__lead { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tiles { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 28px; }
.tiles li { display: grid; gap: 10px; justify-items: center; font-size: 12.5px; color: var(--ink-2); }
.tile { width: 84px; height: 84px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(18,22,43,0.08); display: grid; place-items: center; }
.tile img { width: 40px; height: 40px; display: block; }
.tile--key { font-size: 14px; color: var(--ink); background: var(--tint); }

/* Art cards */
.statement-art { padding: 96px 0 0; }
.artcard { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; display: grid; align-items: center; padding: 48px; }
.artcard--pulse { background: url("assets/art/pulse.jpg") center / cover no-repeat; }
.artcard--bars { background: url("assets/art/bars.jpg") center / cover no-repeat; }
.artcard__panel { max-width: 560px; padding: 44px 44px 40px; border-radius: 20px; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 24px 60px rgba(18,22,43,0.18); }
.artcard__panel .display { font-size: clamp(34px, 4vw, 54px); line-height: 1.0; letter-spacing: -0.03em; max-width: none; margin: 0; }
.artcard__panel p { margin-top: 18px; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.artcard__panel .btn, .artcard__panel .actions { margin-top: 26px; }
.artcard--bars .artcard__panel { margin-left: auto; }

/* Product section: the line, scoped to the product */
.product { padding: 112px 0 0; }
.product > .wrap:first-child { padding-bottom: 24px; }
.product .inside { padding-top: 24px; }
.product .outside { padding-top: 24px; }
.walk-item { padding-bottom: 96px; }
.walk-item h3 { font-size: 30px; letter-spacing: -0.02em; max-width: 22ch; }
.walk-item > .lead { margin-top: 14px; }
.walk-item .surface { margin-top: 36px; }

/* Consent band */
.consent { padding: 40px 0 0; }
.consent__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.consent__scene { position: relative; min-height: 420px; }
.consent__photo { position: absolute; inset: 0 90px 0 0; border-radius: 22px; overflow: hidden; }
.consent__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat { position: absolute; right: 0; bottom: 28px; width: 320px; padding: 16px 18px 18px; border-radius: 16px; background: var(--white); box-shadow: 0 24px 60px rgba(18,22,43,0.18); }
.chat__meta { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: var(--ink-3); margin: 0 0 6px; }
.chat__meta b { color: var(--ink); font-weight: 600; }
.chat__meta--them { margin-top: 12px; }
.chat__bubble { margin: 0; padding: 10px 14px; border-radius: 12px 12px 12px 4px; background: var(--act); color: #FFF; font-size: 14px; line-height: 1.5; }
.chat__bubble--them { background: var(--tint); color: var(--ink); border-radius: 12px 12px 4px 12px; display: inline-block; }

/* CTA */
.cta { padding: 112px 0 96px; }

/* Pricing page */
.pricing-page { padding: 80px 0 112px; }
.pricing-page .lead { max-width: 58ch; }
.get { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; max-width: 900px; }
.get__option { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.get__option h3 { font-size: 24px; }
.get__option p { color: var(--ink-2); font-size: 15.5px; }
.get__option .btn { justify-self: start; margin-top: 6px; }
.get__sub { font-size: 11.5px; color: var(--ink-3); }
.price__facts--wide { margin-top: 48px; max-width: 760px; }
.faq-h2 { margin-top: 80px; }
.pricing-page .faq { max-width: 760px; }

/* Responsive */
@media (max-width: 1100px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .scene { min-height: 520px; max-width: 720px; }
  .consent__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .product .outside { padding-top: 0; }
  .artcard { padding: 24px; min-height: 0; }
  .artcard__panel { padding: 32px 28px; }
  .works__inner { padding: 28px 24px 32px 88px; }
}
@media (max-width: 700px) {
  .scene { min-height: 0; padding-bottom: 28px; }
  .scene__art { inset: 0; border-radius: 22px; }
  .callwin, .txcard, .coachchip { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; }
  .callwin { margin: 24px 16px 0; grid-template-columns: 1fr 1fr; }
  .callwin__tile--main { aspect-ratio: 16 / 10; }
  .txcard { margin: 16px 16px 0; max-width: none; padding-bottom: 22px; }
  .tag { position: static; transform: none; display: inline-flex; margin: 10px 8px 0 0; white-space: normal; }
  .tag::before { display: none; }
  .coachchip { margin: 16px 16px 24px; }
  .paper__margin { display: none; }
  .works__inner { padding: 24px 20px 28px; }
  .tile { width: 64px; height: 64px; border-radius: 18px; }
  .tile img { width: 30px; height: 30px; }
  .consent__scene { min-height: 0; }
  .consent__photo { position: relative; inset: auto; aspect-ratio: 16 / 10; }
  .chat { position: relative; width: auto; margin: -40px 12px 0; bottom: auto; }
  .get { grid-template-columns: minmax(0, 1fr); }
  .walk-item h3 { font-size: 26px; }
}
.walk-item:last-child { padding-bottom: 0; }
.product .inside { padding-bottom: 80px; }
.product .outside { padding-bottom: 80px; }
.txcard { overflow: visible; }
.tag--decision::before { left: 26px; top: -16px; height: 16px; }
.tag--action::before { left: 26px; top: -18px; height: 18px; }

/* Proof rows */
.proof { padding: 48px 0 0; }
.proof__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.proof__list li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.proof__list li b { color: var(--ink); font-weight: 600; }
.proof__list svg { flex-shrink: 0; color: var(--ink); }
.btn--dark { background: var(--ink); color: #FFF; }
.btn--dark:hover { background: #000; color: #FFF; }
.callwin__ci { right: auto; left: 8px; }
.callwin__tile--main .callwin__name { display: none; }

/* ============================================================
   Homepage additions: badge, before-the-call, Library, files, how you work, made by
   ============================================================ */
.badge-new { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; margin-bottom: 26px; box-shadow: 0 1px 2px rgba(18,22,43,0.05); }
.badge-new span { padding: 3px 8px; border-radius: 999px; background: var(--local-tint); color: #0B7A6E; font-size: 11.5px; font-weight: 600; }
.badge-new i { font-style: normal; color: var(--ink-3); transition: transform 150ms ease; }
.badge-new:hover { border-color: var(--ink-2); color: var(--ink); }
.badge-new:hover i { transform: translateX(2px); }

/* Before the call */
.precall { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.precall__field { display: block; padding: 16px 18px 18px; border-right: 1px solid var(--line); }
.precall__label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.precall textarea { width: 100%; resize: vertical; min-height: 128px; font: inherit; font-size: 14px; line-height: 1.55; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.precall textarea:focus { outline: none; border-color: var(--act); box-shadow: 0 0 0 3px var(--act-tint); }
.precall__preview { padding: 16px 18px 18px; background: var(--paper); }
.precall__topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.precall__topics li { padding: 6px 10px; border-radius: 999px; background: var(--act-tint); border: 1px solid var(--act-line); color: var(--ink); font-size: 13px; }
.precall__topics li.precall__people { background: var(--tint); border-color: var(--line); color: var(--ink-2); }
.precall__topics li.precall__none { background: transparent; border-style: dashed; color: var(--ink-3); }
.precall__hint { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
.coach__fromyou { color: var(--act); }
.coach__fromyou::before { content: "↳ "; }

/* Library surface */
.libsurf { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 380px; }
.libsurf__side { border-right: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.libsurf__search { display: block; padding: 12px 12px 6px; }
.libsurf__search input { width: 100%; font: inherit; font-size: 13px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.libsurf__search input:focus { outline: none; border-color: var(--act); }
.libsurf__list { padding: 4px 8px 10px; overflow-y: auto; max-height: 340px; }
.libsurf__item { display: grid; gap: 2px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; text-align: left; font-family: inherit; }
.libsurf__item:hover { background: var(--tint); }
.libsurf__item.is-active { background: var(--act-tint); }
.libsurf__title { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.libsurf__sub { font-size: 11px; color: var(--ink-3); }
.libsurf__empty { padding: 14px 12px; font-size: 12.5px; color: var(--ink-3); }
.libsurf__detail { padding: 22px 26px 24px; }
.libsurf__detail h4 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.libsurf__meta { margin-top: 6px; font-size: 11.5px; color: var(--ink-3); }
.libsurf__detail h5 { margin: 18px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.libsurf__detail p, .libsurf__detail li { font-size: 14px; line-height: 1.55; color: var(--ink); }
.libsurf__detail h5 + p { margin-top: 6px; }
.libsurf__detail ul { margin-top: 6px; padding-left: 18px; }
.libsurf__detail ul.todo { list-style: none; padding-left: 0; }
.libsurf__detail ul.todo li { padding-left: 22px; position: relative; }
.libsurf__detail ul.todo li::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border: 1.5px solid var(--ink-3); border-radius: 3px; }
.libsurf__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.libsurf__foot .mono { font-size: 11.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* Files everywhere */
.files { padding: 112px 0 0; }
.files h2 { max-width: 22ch; }
.files .paper { margin-top: 40px; }
.paper--files .works__inner { padding-top: 30px; padding-bottom: 34px; }
.surface--grep { margin-top: 20px; }
.grep { padding: 18px 20px 20px; background: #12162B; color: #E7E9F2; }
.grep__cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 0; font-size: 13px; }
.grep__prompt { color: #12A594; margin-right: 8px; }
.grep__input { font: inherit; font-size: 13px; color: #FFF; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 6px; padding: 3px 8px; width: 12ch; min-width: 6ch; }
.grep__input:focus { outline: none; border-color: #12A594; }
.grep__out { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: rgba(231,233,242,0.82); white-space: pre-wrap; min-height: 6em; }
.surface--grep .surface__hint { background: var(--white); }

/* How you work */
.how { padding: 112px 0 0; }
.inperson { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.inperson__photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.inperson__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inperson__key { margin-top: 22px; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.maconly { margin-top: 72px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; padding: 32px 0 0; border-top: 1px solid var(--line); }
.maconly__mark { display: none; }
.maconly h3 { font-size: 24px; }
.maconly p { margin-top: 10px; color: var(--ink-2); max-width: 64ch; }

/* Made by */
.madeby { padding: 112px 0 0; }
.madeby__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; padding: 48px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.madeby h2 { max-width: 20ch; }
.madeby__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.madeby .facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.madeby .facts li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.madeby .facts li:last-child { border-bottom: 1px solid var(--line); }
.madeby .facts b { font-weight: 600; font-size: 15.5px; }
.madeby .facts span { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.consent { padding-top: 112px; }

/* Footer wordmark */
.footer__mark { margin-top: 48px; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 9.6vw, 140px); line-height: 0.9; letter-spacing: -0.045em; color: var(--ink); white-space: nowrap; overflow: hidden; display: flex; align-items: center; gap: 0.18em; }

/* Teams page */
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 64px; }
.h2-sm { font-size: 26px; }
.rows--tight { margin-top: 20px; }
.rows--tight .row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
.rows--tight .row h3 { font-size: 18px; }
.rows--tight .row p { font-size: 15px; }
.artcard--compact { margin-top: 72px; min-height: 0; }

@media (max-width: 1000px) {
  .precall { grid-template-columns: minmax(0, 1fr); }
  .precall__field { border-right: 0; border-bottom: 1px solid var(--line); }
  .libsurf { grid-template-columns: minmax(0, 1fr); }
  .libsurf__side { border-right: 0; border-bottom: 1px solid var(--line); }
  .libsurf__list { max-height: 220px; }
  .inperson, .madeby__grid, .twocol { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .maconly { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .files, .how, .madeby, .consent { padding-top: 80px; }
  .madeby__grid { padding: 28px 22px; }
  .grep__input { width: 10ch; }
}
.maconly { grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); }
.maconly p { margin-top: 0; }
@media (max-width: 1000px) { .maconly { grid-template-columns: minmax(0, 1fr); } .maconly p { margin-top: 8px; } }

/* ============================================================
   Homepage rhythm. One chapter template, one measure, one opener.
   ============================================================ */
:root { --chapter: 128px; --item: 88px; }
.home .chapter { padding: var(--chapter) 0; background: var(--paper); }
.home .chapter--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home .chapter--white + .chapter--white { border-top: 0; }
.home .chapter--hero { padding: 72px 0 96px; overflow: hidden; }
.home .chapter--band { padding: var(--chapter) 0; }
.home .chapter--close { padding-top: 0; }
.chapter__head { display: grid; grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr); gap: 48px; align-items: end; margin-bottom: 64px; }
.chapter__head h2 { max-width: 20ch; margin-top: 10px; }
.chapter__lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 44ch; padding-bottom: 6px; }

/* Neutralise the older one-off section paddings on the homepage */
.home .works, .home .proof, .home .statement-art, .home .product, .home .files, .home .how, .home .madeby, .home .consent, .home .cta { padding: 0; }
.home .paper { margin-top: 0; }
.proof__list--cols { margin-top: 40px; border-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.proof__list--cols li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 0 0; border-bottom: 0; border-top: 1px solid var(--line-strong); font-size: 15.5px; }

/* Product features: copy left, interface right, same grid every time */
.feature { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr); gap: 56px; align-items: start; padding: var(--item) 0; border-top: 1px solid var(--line); }
.feature--last { padding-bottom: 0; }
.feature__copy { position: sticky; top: 96px; }
.feature__num { display: inline-block; font-size: 12px; color: var(--ink-3); margin-bottom: 14px; }
.feature__copy h3 { font-size: 26px; letter-spacing: -0.02em; }
.feature__copy p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.feature__copy .provider { margin-top: 22px; display: grid; gap: 8px; }
.seg--stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; border-radius: 12px; }
.seg--stack button { text-align: left; padding: 8px 12px; }
.feature__media .surface { margin-top: 0; }
.feature__media--line { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 0; align-items: start; }
.outside-strip { position: relative; border-left: 1px solid var(--line-strong); margin-left: 24px; padding-left: 20px; min-height: 240px; }
.outside-strip .side-label { margin-bottom: 14px; }
.outside-strip .outside__note { position: static; max-width: none; font-size: 13px; }
.outside-strip .cross { position: static; }
.outside-strip .cross__line { left: -45px; top: 18px; width: 44px; }
.outside-strip .cross__line::before { left: -24px; width: 24px; }
.outside-strip .cross__chip { font-size: 12.5px; }
.surface--menubar { max-width: none; }
.surface--dict { max-width: none; }

/* Files chapter */
.home .surface--grep { margin-top: 20px; }

/* Stories: photo and copy, alternating */
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.story--flip .story__photo { order: 2; }
.story__photo { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__photo--chat { overflow: visible; }
.story__photo--chat img { border-radius: 22px; }
.story__photo--chat .chat { position: absolute; right: -24px; bottom: -24px; width: 300px; }
.story__copy h3 { font-size: 26px; letter-spacing: -0.02em; }
.story__copy p { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.story__key { margin-top: 20px; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.home .maconly { margin-top: 0; padding: 56px 0 0; border-top: 1px solid var(--line); }

/* Made by, on paper */
.home .madeby__grid { padding: 0; background: transparent; border: 0; border-radius: 0; gap: 72px; }

@media (max-width: 1000px) {
  :root { --chapter: 96px; --item: 64px; }
  .chapter__head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 44px; }
  .chapter__lead { padding-bottom: 0; max-width: 60ch; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature__copy { position: static; }
  .feature__media--line { grid-template-columns: minmax(0, 1fr); }
  .outside-strip { border-left: 0; margin: 16px 0 0; padding: 12px 14px; min-height: 0; border-left: 2px solid var(--line-strong); }
  .outside-strip .cross__line { display: none; }
  .proof__list--cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .proof__list--cols li { border-top: 1px solid var(--line); padding: 16px 0; }
  .story, .story--flip { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0; }
  .story--flip .story__photo { order: 0; }
  .story__photo--chat .chat { position: relative; right: auto; bottom: auto; width: auto; margin: -32px 12px 0; }
}
@media (max-width: 700px) {
  :root { --chapter: 72px; --item: 48px; }
  .home .chapter--hero { padding: 48px 0 56px; }
}
.home .facts { list-style: none; margin: 0; padding: 0; display: grid; }
.home .facts li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.home .facts li:last-child { border-bottom: 1px solid var(--line); }
.home .facts b { font-weight: 600; font-size: 15.5px; }
.home .facts span { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.story__photo--chat .chat { right: 16px; bottom: -28px; }

/* ============================================================
   Features dropdown (header) and feature pages
   ============================================================ */
.nav { align-items: center; }
.nav__dd { position: relative; }
.nav__dd-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 0; margin: 0; font: inherit; color: var(--ink-2); cursor: pointer; }
.nav__dd-btn svg { transition: transform 150ms ease; }
.nav__dd-btn:hover, .nav__dd.is-open .nav__dd-btn { color: var(--ink); }
.nav__dd.is-open .nav__dd-btn svg { transform: rotate(180deg); }
.nav__dd-panel { position: absolute; top: calc(100% + 18px); left: -16px; display: none; grid-template-columns: 320px 232px; gap: 8px; padding: 8px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(18,22,43,0.16); }
.nav__dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__dd.is-open .nav__dd-panel { display: grid; }
.nav__dd-list { display: grid; }
.nav__dd-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav__dd-item:hover { background: var(--tint); }
.nav__dd-item > span:last-child { display: grid; gap: 2px; }
.nav__dd-item b { font-weight: 600; font-size: 14px; }
.nav__dd-item span span { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); font-weight: 400; }
.nav__dd-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--ink); }
.nav__dd-item[aria-current="page"] .nav__dd-ico { background: var(--act-tint); color: var(--act); }
.nav__dd-feat { display: grid; gap: 6px; align-content: start; padding: 10px 12px 12px 16px; border-left: 1px solid var(--line); text-decoration: none; color: var(--ink); border-radius: 0 10px 10px 0; }
.nav__dd-feat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 6px; }
.nav__dd-feat b { font-weight: 600; font-size: 14px; }
.nav__dd-feat span { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); font-weight: 400; }
.nav__dd-feat:hover b { color: var(--act); }
.mobile-nav__group { display: grid; padding: 12px 0 6px; border-bottom: 1px solid var(--line); }
.mobile-nav__label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 6px; }
.mobile-nav .mobile-nav__group a:not(.btn) { font-size: 20px; padding: 9px 0 9px 16px; border-bottom: 0; }
.mobile-nav .mobile-nav__group a[aria-current="page"] { color: var(--act); }

.fpage .chapter { padding: var(--chapter) 0; background: var(--paper); }
.fpage .chapter--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fpage .chapter--white + .chapter--white { border-top: 0; }
.fpage .chapter--band { padding-top: 0; }
.fpage .chapter__head { margin-bottom: 48px; grid-template-columns: minmax(0, 1fr); }
.fhero { padding: 40px 0 0; }
.fhero__card { border-radius: 28px; background: var(--white); border: 1px solid var(--line); padding: 64px 64px 56px; }
.fhero__card h1 { max-width: 15ch; margin-top: 14px; }
.fhero__card .lead { max-width: 58ch; }
.fdemo { padding: 40px 0 0; }
.fdemo .surface, .fdemo .feature__media--line .surface { margin-top: 0; }
.fdemo .surface--menubar, .fdemo .surface--dict { max-width: none; }
.fdemo__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 18px; }
.fdemo__controls .provider { margin-top: 0; }
.fdemo__hint { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.fsplit { display: grid; grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr); gap: 64px; align-items: center; }
.fsplit h2 { max-width: 16ch; }
.fsplit p { margin-top: 18px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 50ch; }
.fsplit__photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.fsplit__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fit--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .fit--three { grid-template-columns: 1fr; } }
.fit > div { padding: 32px 32px 34px; border-radius: 18px; background: var(--tint); }
.fit > .fit--act { background: var(--act-tint); }
.fit > .fit--local { background: var(--local-tint); }
.fit > .fit--maybe { background: var(--maybe-tint); }
.fit > .fit--paper { background: var(--paper); border: 1px solid var(--line); }
.fit h3 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; }
.fit p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.whatis { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: 48px; align-items: start; }
.whatis h2 { max-width: 14ch; }
.whatis p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.whatis p + p { margin-top: 16px; }
.compare__scroll { overflow-x: auto; }
.compare { width: 100%; max-width: 900px; border-collapse: collapse; font-size: 15.5px; }
.compare th { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; text-align: center; padding: 0 12px 14px; border-bottom: 1px solid var(--line-strong); color: var(--ink-2); white-space: nowrap; }
.compare th:first-child { text-align: left; padding-left: 0; }
.compare th:last-child { color: var(--ink); }
.compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; color: var(--ink-3); vertical-align: middle; }
.compare td:first-child { text-align: left; padding-left: 0; color: var(--ink); font-weight: 500; }
.compare td:not(:first-child) { width: 180px; }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.mark--yes { background: var(--local-tint); color: #0B7A6E; }
.mark--no { background: var(--tint); color: var(--ink-3); }
.mark--text { font-size: 14.5px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards3 > div { padding: 28px 28px 30px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.cards3 .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; margin-bottom: 20px; color: var(--ink); }
.cards3 h3 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.cards3 p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.fpage .faq { margin-top: 0; }
.findex { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.findex--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.findex a { display: grid; gap: 10px; align-content: start; padding: 18px 18px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color 150ms ease, transform 150ms ease; }
.findex a:hover { border-color: var(--ink); transform: translateY(-2px); }
.findex .mono { font-size: 11px; color: var(--ink-3); }
.findex b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.findex span:last-child { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1000px) {
  .fhero__card { padding: 44px 36px 40px; }
  .fsplit { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fsplit__photo { order: -1; }
  .whatis { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cards3 { grid-template-columns: minmax(0, 1fr); }
  .findex, .findex--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fhero { padding-top: 20px; }
  .fhero__card { padding: 32px 22px 30px; border-radius: 20px; }
  .fit { grid-template-columns: minmax(0, 1fr); }
  .fit > div { padding: 24px; }
  .findex, .findex--4 { grid-template-columns: minmax(0, 1fr); }
  .compare { min-width: 520px; font-size: 14px; }
  .compare td:not(:first-child) { width: 120px; }
  .fpage .feature__media--line { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .nav__dd-btn svg, .findex a { transition: none; } }

/* ---------- Feature hero scenes (animated), photo panels, people strips ---------- */
.fhero__grid { display: grid; grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr); gap: 48px; align-items: center; padding: 48px 48px 48px 64px; }
.fhero__copy h1 { max-width: 13ch; }
.hscene { position: relative; min-height: 460px; }
.hscene__art { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; }
.hscene--pulse .hscene__art { background: url("assets/art/pulse.jpg") center / cover no-repeat; }
.hscene--bars .hscene__art { background: url("assets/art/bars.jpg") center / cover no-repeat; }
.hscene__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,247,251,0.55), rgba(247,247,251,0.15) 60%, rgba(247,247,251,0.55)); }
.hphoto { position: absolute; border-radius: 16px; overflow: hidden; background: #2A3044; box-shadow: 0 20px 50px rgba(18,22,43,0.28); }
.hphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hphoto--main { left: 24px; top: 28px; width: 46%; aspect-ratio: 4 / 3; }
.hphoto--low { left: 24px; top: auto; bottom: 28px; width: 44%; }
.hphoto--small { left: 24px; top: calc(28px + 46% * 0.75 + 12px); width: 26%; aspect-ratio: 4 / 3; }
.hphoto--tr { left: auto; right: 24px; top: 28px; width: 30%; }
.hphoto--tall { left: 24px; top: 28px; bottom: 28px; width: 34%; }
.hphoto__pill { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(18,22,43,0.8); color: #FFF; font-size: 10.5px; font-family: var(--mono); white-space: nowrap; }
.hphoto__pill > span[data-from] { display: inline-flex; align-items: center; gap: 6px; }
.hphoto__pill .dot { width: 6px; height: 6px; }
.hphoto__name { position: absolute; left: 8px; bottom: 7px; font-size: 11px; font-weight: 500; color: #FFF; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.hwin { position: absolute; border-radius: 16px; background: var(--white); box-shadow: 0 24px 60px rgba(18,22,43,0.18); padding: 14px 16px 16px; font-size: 13px; line-height: 1.45; color: var(--ink); }
.hwin__bar { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12.5px; color: var(--ink); margin-bottom: 10px; }
.hwin__bar .dot { width: 7px; height: 7px; }
.hwin__meta { margin-left: auto; font-weight: 400; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.hwin__label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin: 10px 0 4px; }
.hwin__wait, .hwin__sum, .hwin__p { margin: 0; color: var(--ink-2); }
.hwin__list { margin: 0; padding-left: 16px; }
.hwin__list li { margin: 3px 0; }
.hwin__list--todo { list-style: none; padding-left: 0; }
.hwin__list--todo li { padding-left: 20px; position: relative; }
.hwin__list--todo li::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border: 1.5px solid var(--ink-3); border-radius: 3px; }
.hwin h4 { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 2px; }
.hwin--coach { right: 24px; top: 40px; width: 52%; }
.hwin--coach .hwin__bar .dot--rec { animation: rec-blink 1.6s ease-in-out infinite; }
.hwin--note { right: 24px; top: 28px; bottom: 60px; width: 56%; overflow: hidden; }
.hwin--note .hwin__bar { font-size: 11px; color: var(--ink-3); font-weight: 400; }
.hwin--lib { left: 24px; top: 28px; width: 58%; padding: 12px; }
.hwin__search { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 13px; min-height: 36px; }
.hwin__search-ico { width: 12px; height: 12px; border: 1.5px solid var(--ink-3); border-radius: 50%; position: relative; flex-shrink: 0; }
.hwin__search-ico::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 5px; border-top: 1.5px solid var(--ink-3); transform: rotate(45deg); }
.hwin__rows { list-style: none; margin: 8px 0 0; padding: 0; }
.hwin__rows li { display: grid; gap: 1px; padding: 7px 8px; border-radius: 8px; }
.hwin__rows li:first-child { background: var(--act-tint); }
.hwin__rows b { font-weight: 500; font-size: 13px; }
.hwin__rows .mono { font-size: 10.5px; color: var(--ink-3); }
.hwin__count { margin: 8px 0 0 8px; font-size: 10.5px; color: var(--ink-3); }
.hwin--match { right: 24px; bottom: 28px; width: 50%; }
.hwin__tx { margin: 6px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
.hwin__tx mark { background: rgba(18,165,148,0.22); color: inherit; border-radius: 3px; padding: 0 2px; }
.hwin--mail { right: 24px; top: 56px; width: 58%; padding-bottom: 14px; }
.hwin__body { margin: 0; font-size: 14px; line-height: 1.55; min-height: 88px; }
.hwin__hud { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 12px; color: var(--ink-2); min-height: 30px; }
.hwin__hud > span[data-from] { display: inline-flex; align-items: center; gap: 7px; }
.hwin__hud .wave--sm { height: 12px; }
.hmenubar { position: absolute; left: 24px; right: 24px; top: 28px; height: 28px; display: flex; align-items: center; gap: 14px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,0.86); backdrop-filter: blur(6px); font-size: 12px; color: var(--ink-2); }
.hmenubar b { color: var(--ink); font-weight: 600; }
.hmenubar__apple { width: 11px; height: 11px; border-radius: 3px 3px 5px 5px; background: var(--ink); display: inline-block; }
.hmenubar__right { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; }
.hwin--pop { right: 24px; top: 68px; width: 52%; padding: 8px; }
.hwin__row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.hwin__row--quiet { color: var(--ink-3); font-size: 12px; }
.hwin__row--act { background: var(--tint); font-weight: 500; }
.hwin__row .pill { font-size: 11px; padding: 3px 8px; }
.hwin__file { font-size: 11px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hwin__sep { height: 1px; background: var(--line); margin: 6px 4px; }
.hwin__group { padding: 4px 10px 2px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.hscene__tag { left: auto; right: 24px; bottom: 28px; transform: none; }
.hscene .tag::before { display: none; }
.hscene [data-from] { opacity: 0; transform: translateY(6px); transition: opacity 320ms ease, transform 320ms ease; }
.hscene [data-from].is-on { opacity: 1; transform: none; }
.hscene [data-collapse]:not(.is-on) { display: none; }
@keyframes rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.fsplit .fpanel { align-self: stretch; }
.fpanel { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; background: var(--tint); }
.fpanel--act { background: var(--act-tint); }
.fpanel--local { background: var(--local-tint); }
.fpanel--maybe { background: var(--maybe-tint); }
.fpanel::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed rgba(18,22,43,0.18); }
.fpanel__photo { position: absolute; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(18,22,43,0.22); }
.fpanel__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fpanel__photo--a { left: 28px; top: 28px; width: 52%; aspect-ratio: 4 / 3; }
.fpanel__photo--b { right: 28px; bottom: 28px; width: 44%; aspect-ratio: 4 / 3; }
.fpanel__chip { position: absolute; left: 28px; bottom: 36px; max-width: 46%; }
.fpanel__chip .coachchip { position: static; width: auto; }
.fpanel__chip .tag { position: static; transform: none; white-space: normal; }
.fpanel__chip .tag::before { display: none; }
.coachchip--plain { border-color: var(--line); }
.coachchip--plain .coachchip__label { color: var(--ink-2); }

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.people figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.people img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.people figcaption { display: grid; gap: 4px; padding: 16px 18px 18px; }
.people b { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.people span { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 1000px) {
  .fhero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 32px 32px; }
  .hscene { min-height: 440px; max-width: 640px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .people img { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .fhero__grid { padding: 28px 20px 24px; }
  .hscene { min-height: 0; padding: 16px 12px 20px; }
  .hscene__art { border-radius: 18px; }
  .hscene .hphoto, .hscene .hwin, .hscene .hmenubar, .hscene .hscene__tag { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin: 12px 0 0; }
  .hscene .hphoto { aspect-ratio: 16 / 10; }
  .hphoto--small, .hphoto--tr, .hphoto--tall { display: none; }
  .hscene .hscene__tag { display: inline-flex; white-space: normal; }
  .hwin--note { max-height: none; }
  .fpanel { min-height: 0; padding: 20px 16px 16px; }
  .fpanel::before { display: none; }
  .fpanel__photo, .fpanel__chip { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; max-width: none; }
  .fpanel__photo--b { margin-top: 12px; }
  .fpanel__chip { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hscene [data-from] { transition: none; } .hwin--coach .hwin__bar .dot--rec { animation: none; } }
.hwin__meta > [data-from]:not(.is-on), .hphoto__pill > [data-from]:not(.is-on), .hwin__hud > [data-from]:not(.is-on) { display: none; }
.hwin--note { bottom: 84px; }
.hscene--notes .hphoto--main { width: 42%; }
.hscene--notes .hwin--note { width: 50%; }

/* ---------- Pricing page ---------- */
.phero { padding: 56px 0 0; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr); gap: 56px; align-items: center; }
.phero__copy h1 { max-width: 12ch; margin-top: 14px; }
.phero__copy .lead { max-width: 50ch; }
.phero__copy { padding-bottom: 40px; }
.pricecard { position: relative; min-height: 520px; display: grid; place-items: center; padding: 32px; }
.pricecard__art { position: absolute; inset: 0; border-radius: 26px; background: url("assets/art/pulse.jpg") center / cover no-repeat; }
.pricecard__art::after { content: ""; position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(180deg, rgba(247,247,251,0.35), rgba(247,247,251,0.1)); }
.pricecard__panel { position: relative; width: min(100%, 380px); padding: 32px 32px 28px; border-radius: 22px; background: var(--white); box-shadow: 0 28px 70px rgba(18,22,43,0.22); display: grid; gap: 6px; }
.pricecard__label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.pricecard__price { font-family: var(--display); font-weight: 600; font-size: 104px; line-height: 0.95; letter-spacing: -0.05em; color: var(--ink); display: flex; align-items: flex-start; gap: 2px; margin-top: 4px; }
.pricecard__cur { font-size: 40px; line-height: 1; margin-top: 12px; letter-spacing: -0.02em; color: var(--ink-2); }
.pricecard__once { font-family: var(--mono); font-size: 13px; color: var(--act); margin-top: 2px; }
.pricecard__list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.pricecard__list li { display: flex; align-items: center; gap: 10px; }
.pricecard__list .mark { width: 22px; height: 22px; font-size: 11px; flex-shrink: 0; }
.pricecard__panel .btn { margin-top: 20px; justify-self: stretch; text-align: center; }
.pricecard__fine { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 12px; align-items: end; }
.years__col { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 0 0 12px; border-bottom: 1px solid var(--line-strong); }
.years__bar { width: 100%; height: 12px; border-radius: 6px 6px 0 0; background: var(--tint); }
.years__col--paid .years__bar { height: 160px; background: var(--act); }
.years__col b { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.years__col--paid b { color: var(--act); }
.years__col span:last-child { font-size: 12.5px; color: var(--ink-3); }
.years__total { display: grid; gap: 6px; padding: 20px 24px; border-radius: 16px; background: var(--ink); color: #FFF; align-self: stretch; align-content: end; }
.years__total b { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.years__total span { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.years__note { margin-top: 28px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }
.inout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inout__col { padding: 32px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.inout__col--never { background: var(--tint); border-color: transparent; }
.inout__col h3 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; margin-bottom: 14px; }
.inout__list { list-style: none; margin: 0; padding: 0; }
.inout__list li { display: grid; gap: 3px; padding: 14px 0; border-top: 1px solid var(--line); }
.inout__col--never .inout__list li { border-top-color: rgba(18,22,43,0.1); }
.inout__list b { font-weight: 600; font-size: 15px; }
.inout__list span { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.pricing .get { margin-top: 0; max-width: none; }
.pricing .price__facts--wide { margin-top: 40px; max-width: 820px; }
.pricing .chapter--band { padding-top: 0; }
@media (max-width: 1000px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pricecard { min-height: 0; padding: 24px; }
  .years { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .years__total { grid-column: 1 / -1; }
  .inout { grid-template-columns: minmax(0, 1fr); }
  .get { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .pricecard__price { font-size: 84px; }
  .years__col--paid .years__bar { height: 96px; }
  .years__col b { font-size: 20px; }
  .inout__col { padding: 22px; }
}

/* ---------- Support page ---------- */
.contactcard .pricecard__art { background-image: url("assets/art/bars.jpg"); }
.contactcard__mail { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; margin-top: 6px; }
.contactcard__mail:hover { color: var(--act); }
.contactcard__sub { font-size: 13.5px; color: var(--ink-2); }
.contactcard .pricecard__list { margin-top: 16px; }
.fixes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fix { padding: 28px 28px 30px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.fix__head { display: flex; align-items: center; gap: 12px; }
.fix__head h3 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.fix__num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: var(--act); color: #FFF; font-size: 13px; }
.fix__symptom { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.fix__symptom b { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.fix__why { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: var(--paper); }
.steps li b { color: var(--ink); font-weight: 600; }
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; vertical-align: middle; }
.path kbd { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--ink); padding: 2px 8px; border-radius: 6px; background: var(--tint); border: 1px solid var(--line); white-space: nowrap; }
.path i { font-style: normal; color: var(--ink-3); font-size: 13px; }
@media (max-width: 1000px) { .fixes { grid-template-columns: minmax(0, 1fr); } }
.topics { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.tnav { position: sticky; top: 88px; display: grid; gap: 2px; }
.tnav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.tnav a:hover { color: var(--ink); background: var(--tint); }
.tnav a[aria-current="true"] { color: var(--ink); background: var(--white); box-shadow: 0 1px 2px rgba(18,22,43,0.08); }
.tgroups { display: grid; gap: 40px; }
.tgroup h3 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; margin-bottom: 8px; }
.tgroup .faq { max-width: 760px; }
.tgroup .faq-item summary { font-size: 16px; }
.support .chapter--band { padding-top: 0; }
@media (max-width: 900px) {
  .topics { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tnav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .tnav a { border: 1px solid var(--line); background: var(--white); }
}

/* ---------- Security page: awareness ---------- */
.seg button[aria-checked="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(18,22,43,0.08); }
.shero { padding: 56px 0 0; }
.shero__copy h1 { max-width: 15ch; margin-top: 14px; }
.shero__copy .lead { max-width: 54ch; }
.trace { margin-top: 40px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); padding: 20px 28px 22px; }
.trace__controls { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.trace__controls button { font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; border-radius: 7px; padding: 8px 14px; cursor: pointer; }
.trace__controls button[aria-pressed="true"] { background: var(--ink); color: #FFF; }
.trace__stage { display: grid; grid-template-columns: minmax(0, 0.9fr) 120px minmax(0, 1.1fr); gap: 0; align-items: start; margin-top: 24px; min-height: 420px; }
.trace__mac { position: relative; padding-right: 8px; }
.trace__photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 20px 50px rgba(18,22,43,0.2); }
.trace__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trace__said { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.94); box-shadow: 0 10px 30px rgba(18,22,43,0.2); }
.trace__who { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.trace__said p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; font-weight: 500; }
.trace__folder { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--local-line, var(--line)); background: var(--local-tint); display: grid; gap: 3px; font-size: 13px; opacity: 0; transform: translateY(8px); transition: opacity 400ms ease 300ms, transform 400ms ease 300ms; }
.trace__folder .mono { font-size: 11px; color: var(--ink-3); }
.trace__folder .pill { justify-self: start; margin-top: 4px; }
.trace[data-state="ci"] .trace__folder { opacity: 1; transform: none; }
.trace__line { position: relative; align-self: stretch; }
.trace__line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid var(--line-strong); }
.trace__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); background: var(--white); padding: 4px 8px; }
.trace__dot { position: absolute; top: 34%; left: -8px; width: 12px; height: 12px; border-radius: 999px; opacity: 0; }
.trace__dot--audio { background: var(--rec); }
.trace__dot--text { background: var(--act); top: 46%; }
.trace[data-state="bot"] .trace__dot { animation: trace-cross 2.4s ease-in-out infinite; }
.trace[data-state="bot"] .trace__dot--text { animation-delay: 0.8s; }
@keyframes trace-cross { 0% { left: -8px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }
.trace[data-state="bot"] .trace__line::before { border-left-style: dashed; border-color: var(--rec); }
.trace__outside { padding-left: 8px; }
.trace__hops { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: hop; }
.trace__hops li { position: relative; padding: 12px 14px 12px 42px; border-radius: 12px; background: var(--rec-tint); border: 1px solid rgba(229,72,77,0.18); display: grid; gap: 2px; font-size: 13.5px; line-height: 1.5; opacity: 0; transform: translateX(10px); transition: opacity 350ms ease, transform 350ms ease; }
.trace__hops li::before { counter-increment: hop; content: counter(hop); position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 999px; background: var(--rec); color: #FFF; font-family: var(--mono); font-size: 11px; display: grid; place-items: center; }
.trace__hops li b { font-weight: 600; color: var(--ink); }
.trace__hops li span { color: var(--ink-2); }
.trace[data-state="bot"] .trace__hops li { opacity: 1; transform: none; }
.trace[data-state="bot"] .trace__hops li:nth-child(2) { transition-delay: 250ms; }
.trace[data-state="bot"] .trace__hops li:nth-child(3) { transition-delay: 500ms; }
.trace[data-state="bot"] .trace__hops li:nth-child(4) { transition-delay: 750ms; }
.trace[data-state="ci"] .trace__hops { display: none; }
.trace__nothing { display: none; padding: 22px 24px; border-radius: 16px; background: var(--local-tint); gap: 10px; }
.trace[data-state="ci"] .trace__nothing { display: grid; animation: fade-up 400ms ease both; }
.trace__nothing b { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #0B7A6E; }
.trace__nothing span { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.trace__opt { padding-top: 10px; border-top: 1px solid rgba(18,165,148,0.25); font-size: 13.5px; }
.trace__opt a { color: var(--act); }
.trace__caption { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.security .chapter__head { grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr); }
.moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.moment { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); }
.moment img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms ease; }
.moment:hover img { transform: scale(1.04); }
.moment figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(180deg, rgba(18,22,43,0) 0%, rgba(18,22,43,0.85) 55%); color: #FFF; display: grid; gap: 6px; }
.moment__tag { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.moment b { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.2; letter-spacing: -0.015em; }
.moment figcaption > span:last-child { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.8); }

.linedemo { border-radius: 22px; background: var(--white); border: 1px solid var(--line); padding: 22px 28px 28px; }
.linedemo__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.linedemo__label { font-size: 13.5px; color: var(--ink-2); }
.linedemo__state { display: none; flex-basis: 100%; font-size: 13.5px; color: var(--ink-3); }
.linedemo[data-provider="local"] .linedemo__state--local, .linedemo[data-provider="api"] .linedemo__state--api, .linedemo[data-provider="none"] .linedemo__state--none { display: block; }
.linedemo__stage { display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr); margin-top: 24px; align-items: start; }
.linedemo__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.linedemo__items li { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; transition: background 300ms ease, border-color 300ms ease; }
.linedemo__items li b { font-weight: 600; }
.linedemo__items li span { font-size: 12px; color: var(--ink-3); }
.linedemo[data-provider="api"] .linedemo__items li[data-item="transcript"] { background: var(--act-tint); border-color: var(--act-line); }
.linedemo[data-provider="none"] .linedemo__items li[data-item="notes"] { opacity: 0.45; text-decoration: line-through; }
.linedemo__line { position: relative; align-self: stretch; min-height: 240px; }
.linedemo__line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid var(--line-strong); }
.linedemo__cross { position: absolute; left: 8px; right: 8px; height: 2px; border-top: 2px dashed var(--act); opacity: 0; transition: opacity 300ms ease; }
.linedemo__cross--out { top: 88px; }
.linedemo__cross--in { top: 150px; }
.linedemo__cross i { position: absolute; top: -5px; width: 8px; height: 8px; border-radius: 999px; background: var(--act); }
.linedemo__cross--out i { right: -2px; }
.linedemo__cross--in i { left: -2px; }
.linedemo[data-provider="api"] .linedemo__cross { opacity: 1; }
.linedemo[data-provider="api"] .linedemo__cross--out i { animation: slide-out 1.8s ease-in-out infinite; }
.linedemo[data-provider="api"] .linedemo__cross--in i { animation: slide-in 1.8s ease-in-out infinite 0.9s; }
@keyframes slide-out { from { right: calc(100% - 8px); } to { right: -2px; } }
@keyframes slide-in { from { left: calc(100% - 8px); } to { left: -2px; } }
.linedemo__side--out { padding-left: 8px; }
.linedemo__dest { display: none; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--act-line); background: var(--act-tint); gap: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: 64px; }
.linedemo__dest b { color: var(--ink); font-weight: 600; }
.linedemo[data-provider="api"] .linedemo__dest { display: grid; }
.linedemo[data-provider="api"] .linedemo__none { display: none; }
.linedemo__none { font-size: 14px; color: var(--ink-3); max-width: 28ch; margin-top: 64px; }
.crossing--live { margin-top: 32px; }
.crossing--live td[data-row] .pill { transition: background 300ms ease; }

.asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ask { position: relative; text-align: left; min-height: 220px; padding: 0; border: 0; background: transparent; border-radius: 18px; cursor: pointer; perspective: 1200px; font: inherit; color: inherit; }
.ask__front, .ask__back { position: absolute; inset: 0; padding: 24px; border-radius: 18px; display: grid; align-content: start; gap: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.ask__front { background: var(--paper); border: 1px solid var(--line); }
.ask__back { background: var(--ink); color: #FFF; transform: rotateY(180deg); }
.ask[aria-expanded="true"] .ask__front { transform: rotateY(180deg); }
.ask[aria-expanded="true"] .ask__back { transform: rotateY(0); }
.ask__num { font-size: 11px; color: var(--ink-3); }
.ask__q { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.ask__hint { margin-top: auto; font-size: 12.5px; color: var(--act); font-weight: 500; }
.ask__label { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.ask__a { font-size: 14.5px; line-height: 1.5; }
.ask__look { font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.7); padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.15); }
.ask:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; }

.perms { border-radius: 22px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.perms__tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--paper); }
.perms__tabs button { flex: 1; padding: 16px 18px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.perms__tabs button[aria-selected="true"] { color: var(--ink); background: var(--white); border-bottom-color: var(--act); }
.perms__panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px; }
.perms__panel[hidden] { display: none; }
.perms__k { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.perms__panel p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.perms__what .perms__k { color: #0B7A6E; }
.perms__not .perms__k { color: #B32B30; }
.security .chapter--band { padding-top: 0; }

@media (max-width: 1000px) {
  .security .chapter__head { grid-template-columns: minmax(0, 1fr); }
  .trace__stage { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .trace__line { min-height: 64px; }
  .trace__line::before { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1px solid var(--line-strong); }
  .trace[data-state="bot"] .trace__line::before { border-top-style: dashed; border-color: var(--rec); }
  .trace__label { transform: translate(-50%, -50%); }
  .trace__dot { display: none; }
  .trace__outside { padding-left: 0; }
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .linedemo__stage { grid-template-columns: minmax(0, 1fr); }
  .linedemo__line { min-height: 56px; }
  .linedemo__line::before { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1px solid var(--line-strong); }
  .linedemo__cross { display: none; }
  .linedemo__side--out { padding-left: 0; }
  .linedemo__dest, .linedemo__none { margin-top: 0; }
  .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perms__panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .trace { padding: 16px; }
  .trace__controls { display: grid; width: 100%; }
  .moments { grid-template-columns: minmax(0, 1fr); }
  .moment { aspect-ratio: 4 / 3; }
  .asks { grid-template-columns: minmax(0, 1fr); }
  .ask { min-height: 200px; }
  .perms__tabs { flex-direction: column; }
  .linedemo { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .trace__dot, .linedemo__cross i, .moment img { animation: none; transition: none; } .ask__front, .ask__back { transition: none; } }
.trace__label { white-space: nowrap; }
.linedemo__cross--out { top: 132px; }
.linedemo__cross--in { top: 198px; }
.linedemo__dest { margin-top: 100px; }
.linedemo__none { margin-top: 100px; }
.ask__front { grid-template-rows: auto 1fr auto; }

/* ---------- Legal pages (privacy, terms, what's new), teams planner, 404 ---------- */
.lhero { padding: 56px 0 48px; }
.lhero h1 { max-width: 16ch; margin-top: 14px; }
.lhero .lead { max-width: 58ch; }
.lhero__ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; max-width: 640px; }
.lhero__ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lhero__ticks li b { color: var(--ink); font-weight: 600; }
.lhero__ticks .mark { flex-shrink: 0; margin-top: 1px; }
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal__body { max-width: 720px; display: grid; gap: 40px; }
.legal__body h2 { font-size: 26px; max-width: none; margin: 0 0 12px; }
.legal__body p { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal__body p + p { margin-top: 12px; }
.legal__body p b { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--act); }
.legal__body .providers { margin: 20px 0; }
.legal__dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal__dl dt { font-weight: 600; font-size: 15.5px; padding-top: 14px; }
.legal__dl dd { margin: 4px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.legalpage .chapter--white { border-bottom: 0; }
.releases { display: grid; gap: 32px; max-width: 900px; }
.release { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.release__meta { display: grid; gap: 8px; align-content: start; justify-items: start; }
.release__ver { font-size: 22px; color: var(--ink); }
.release__date { font-size: 14px; color: var(--ink-3); }
.release__body h2 { font-size: 28px; margin: 0 0 12px; }
.release__line { padding: 12px 14px; border-radius: 10px; background: var(--local-tint); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.release__line b { color: #0B7A6E; font-weight: 600; }
.release__body ul { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.release__body h3 { font-size: 15px; font-weight: 600; margin: 22px 0 0; color: var(--ink-2); }
.release__note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.notfound__hero { padding-bottom: 96px; }
.notfound__links { margin-top: 40px; }

.planner { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: 20px; align-items: start; }
.planner__controls { display: grid; gap: 22px; padding: 26px 28px 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.planner__field { display: grid; gap: 10px; }
.planner__field label, .planner__label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); }
.planner__range { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 14px; align-items: center; }
.planner__range input[type="range"] { width: 100%; accent-color: var(--act); }
.planner__range output { font-size: 22px; color: var(--ink); text-align: right; }
.planner__checks { display: flex; flex-wrap: wrap; gap: 8px; }
.planner__checks label { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; cursor: pointer; }
.planner__checks label:has(input:checked) { border-color: var(--act-line); background: var(--act-tint); color: var(--ink); }
.planner__checks input { accent-color: var(--act); margin: 0; }
.sheet { border-radius: 20px; background: var(--ink); color: #FFF; padding: 26px 28px 28px; display: grid; gap: 18px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__head .kicker { color: rgba(255,255,255,0.6); }
.sheet__meta { font-size: 12.5px; color: rgba(255,255,255,0.7); }
.sheet__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sheet__card { padding: 16px 18px 18px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: grid; gap: 8px; align-content: start; }
.sheet__card--cost { background: var(--act); border-color: transparent; }
.sheet__k { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.sheet__big { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.sheet__sub { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.7); }
.sheet__card p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.9); }
.sheet__list { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.9); display: grid; gap: 4px; }
.sheet__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 6px; }
.sheet__foot .btn--primary { background: #FFF; color: var(--ink); }
.sheet__foot .btn--primary:hover { background: var(--paper); }
.teams .chapter--band { padding-top: 0; }
@media (max-width: 1000px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .release { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .release__meta { grid-auto-flow: column; align-items: center; }
  .planner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .sheet__grid { grid-template-columns: minmax(0, 1fr); }
  .sheet, .planner__controls { padding: 18px; }
  .release__meta { grid-auto-flow: row; }
}
.fpage .chapter--white + .chapter--band, .fpage.pricing .chapter--white + .chapter--band, .fpage.support .chapter--white + .chapter--band, .fpage.security .chapter--white + .chapter--band, .fpage.teams .chapter--white + .chapter--band { padding-top: var(--chapter); }
/* Brand lockup: icon beside the NoteHand wordmark, no prefix */
.brand { gap: 12px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand__name { gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.footer--simple .brand img { width: 26px; height: 26px; border-radius: 7px; }
.footer--simple .brand__name { font-size: 15px; }
@media (max-width: 600px) { .brand img { width: 30px; height: 30px; } .brand__name { font-size: 16px; } }
/* Brand wordmark: NoteHand in the display face at 800, tighter tracking, per the lockup */
.brand { gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 0; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.03em; gap: 0; color: var(--ink); }
.footer--simple .brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer--simple .brand__name { font-size: 14.5px; }
@media (max-width: 600px) { .brand img { width: 30px; height: 30px; } .brand__name { font-size: 15.5px; } }
.brand__name { gap: 0; }

/* ------------------------------------------------------------------ Motion
   Entrance only, ease-out, under 600 ms. Every rule here is gated twice: the
   inline head script stamps html.js (so no-script visitors, crawlers and
   screenshot tools see the full page), and the reduced-motion preference turns
   the whole block off. Nothing moves after it has arrived. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  /* Hero: copy lines arrive in a quick stagger, the visual follows. */
  .js :where(.home-hero__copy, .fhero__copy, .phero__copy, .shero__copy, .lhero > .wrap) > * { animation: rise-in 560ms cubic-bezier(.2, .7, .2, 1) both; }
  .js :where(.home-hero__copy, .fhero__copy, .phero__copy, .shero__copy, .lhero > .wrap) > :nth-child(1) { animation-delay: 40ms; }
  .js :where(.home-hero__copy, .fhero__copy, .phero__copy, .shero__copy, .lhero > .wrap) > :nth-child(2) { animation-delay: 110ms; }
  .js :where(.home-hero__copy, .fhero__copy, .phero__copy, .shero__copy, .lhero > .wrap) > :nth-child(3) { animation-delay: 180ms; }
  .js :where(.home-hero__copy, .fhero__copy, .phero__copy, .shero__copy, .lhero > .wrap) > :nth-child(4) { animation-delay: 250ms; }
  .js :where(.home-hero__copy, .fhero__copy, .phero__copy, .shero__copy, .lhero > .wrap) > :nth-child(n + 5) { animation-delay: 320ms; }
  .js :where(.scene, .hscene, .phero__grid > :not(.phero__copy)) { animation: rise-in 720ms cubic-bezier(.2, .7, .2, 1) 240ms both; }

  /* Scroll reveal: each block directly inside a chapter sits low and quiet
     until it enters the viewport, then settles once. Grids reveal their
     children in a stagger instead of arriving as a slab. */
  .js :where(.chapter:not(.chapter--hero), .fdemo) > .wrap > :where(:not(.cards3):not(.fit):not(.findex):not(.people):not(.faq)) { opacity: 0; transform: translateY(14px); transition: opacity 560ms cubic-bezier(.2, .7, .2, 1), transform 560ms cubic-bezier(.2, .7, .2, 1); }
  .js :where(.chapter:not(.chapter--hero), .fdemo) > .wrap > .is-in { opacity: 1; transform: none; }
  .js :where(.cards3, .fit, .findex, .people, .faq) > * { opacity: 0; transform: translateY(12px); transition: opacity 520ms cubic-bezier(.2, .7, .2, 1), transform 520ms cubic-bezier(.2, .7, .2, 1); }
  .js :where(.cards3, .fit, .findex, .people, .faq).is-in > * { opacity: 1; transform: none; }
  .js :where(.cards3, .fit, .findex, .people, .faq).is-in > :nth-child(2) { transition-delay: 70ms; }
  .js :where(.cards3, .fit, .findex, .people, .faq).is-in > :nth-child(3) { transition-delay: 140ms; }
  .js :where(.cards3, .fit, .findex, .people, .faq).is-in > :nth-child(4) { transition-delay: 210ms; }
  .js :where(.cards3, .fit, .findex, .people, .faq).is-in > :nth-child(5) { transition-delay: 280ms; }
  .js :where(.cards3, .fit, .findex, .people, .faq).is-in > :nth-child(n + 6) { transition-delay: 350ms; }

  /* Sticky header: a hairline lift once the hero has scrolled away. */
  .site-header { transition: box-shadow 200ms ease, background-color 200ms ease; }
  .site-header.is-scrolled { background: rgba(247, 247, 251, 0.94); box-shadow: 0 8px 24px rgba(18, 22, 43, 0.06); }

  /* Page to page: a short crossfade where the browser supports it. */
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }
}

/* ------------------------------------------------------------ Hero type scale
   The homepage headline is eight words. Give it a wider measure on desktop so it
   sets in three lines, and on phones drop the size and let it use the full
   column instead of wrapping to five lines at the desktop minimum. */
.home-hero__copy h1 { font-size: clamp(40px, 3.9vw, 56px); letter-spacing: -0.03em; max-width: 16ch; }
@media (max-width: 1000px) {
  .home-hero__copy h1 { font-size: clamp(36px, 6vw, 52px); max-width: 18ch; }
}
@media (max-width: 600px) {
  .home-hero__copy h1 { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.04; letter-spacing: -0.03em; max-width: none; }
  .home-hero__copy .lead { font-size: 17px; margin-top: 18px; }
  .home-hero__copy .meta { font-size: 13px; }
}

/* Our story page */
.story-page .story--first { border-top: 0; padding-top: 0; }
.story-page .chapter__head--tight { margin-top: 64px; }
.inout--story { margin-top: 56px; }
.letter { max-width: 720px; margin: 0 auto; padding: 48px 52px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(18,22,43,0.08); }
.letter p { font-size: 18px; line-height: 1.65; color: var(--ink-2); margin-top: 16px; }
.letter p:first-child { margin-top: 0; }
.letter__salute { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.letter p.letter__salute { color: var(--ink); }
.letter__sign { margin-top: 28px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.letter p.letter__sign { color: var(--ink); }
.letter__note { margin-top: 20px; text-align: center; font-size: 13px; color: var(--ink-3); }
@media (max-width: 560px) { .letter { padding: 32px 24px; } }

.memo { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 18px 12px 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(18,22,43,0.08); }
.memo__body { display: grid; gap: 2px; }
.memo__body b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.memo__body span { font-size: 12.5px; color: var(--ink-3); }
.memo .wave { margin-left: 6px; }
