/* Torna landing page. Layout: a 72rem column; the hero is centred, every later section is left-aligned text
   beside a grey "screen" panel (the site the host gets), and the questions and contact form sit on one black band. */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url(assets/fonts/instrument-sans-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url(assets/fonts/instrument-sans-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #ffffff;
  --ink: #15171a;
  --mute: #747980;
  --soft: #4b5056;
  --wash: #f3f4f5;
  --line: #e4e6e9;
  --black: #000000;
  --sea: #0c5d66;      /* the Tyrrhenian off Sorrento: links, focus, "you keep" */
  --sea-wash: #e3f0f1;
  --lemon: #f3d55b;    /* Sorrento lemons: the founding offer only */
  --error: #b42318;
  --on-black: #f5f5f4;
  --on-black-mute: #9b9fa5;
  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --col: 72rem;
  --radius-panel: 20px;
  --radius-pill: 999px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
[id] { scroll-margin-top: 5rem }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block }
a { color: inherit }
h1, h2, h3, p { margin: 0 }
h1, h2, h3 { text-wrap: balance; font-weight: 560; letter-spacing: -0.02em }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

.wrap {
  max-width: var(--col);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)) } }

/* Two-tone headings: the first line states the problem, the second (grey) the answer or the detail. */
.title { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.06; font-stretch: 92% }
.title span { display: block; color: var(--mute) }
.lead { color: var(--soft); font-size: 1.125rem; max-width: 34rem }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: 0 1.25rem; border-radius: var(--radius-pill); border: 0;
  font: 500 .975rem/1 var(--font); text-decoration: none; cursor: pointer;
  background: var(--black); color: #fff; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: #2a2c30 }
.btn:active { transform: scale(.98) }
.btn.quiet { background: var(--wash); color: var(--ink) }
.btn.quiet:hover { background: var(--line) }
.btn.light { background: #fff; color: var(--black) }
.btn.light:hover { background: #e9e9e7 }
@media (prefers-reduced-motion: reduce) { .btn { transition: none } .btn:active { transform: none } }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper) }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem }
/* The logo (brand/logo/torna-logo-horizontal-black.svg); never narrower than its 96 px minimum */
.brand { display: inline-flex; align-items: center; color: var(--black); text-decoration: none }
.brand svg { height: 1.6rem; width: auto; aspect-ratio: 685 / 159 }
.top nav { display: flex; align-items: center; gap: 1.5rem }
.top nav a:not(.btn) { text-decoration: none; color: var(--soft); font-size: .95rem }
.top nav a:not(.btn):hover { color: var(--ink) }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none } }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) 0; text-align: center; overflow-x: clip }
.hero .title { font-size: clamp(2.35rem, 6.2vw, 4.5rem); max-width: 15ch; margin: 0 auto }
.hero .title span { color: var(--ink) }
.hero .title .was { color: var(--mute) }
.hero .lead { margin: 1.4rem auto 0; max-width: 38rem }
.hero .actions { margin-top: 2rem; display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap }
.works { margin: clamp(1.5rem, 3vw, 2rem) auto 0; display: flex; justify-content: center; align-items: flex-start; gap: .55rem; color: var(--soft); font-size: .9rem; max-width: 30rem; text-align: left }
.works b { font-weight: 600; color: var(--ink) }
.works span { text-wrap: balance }
.works .dot { flex: none; width: .5rem; height: .5rem; margin-top: .45em; border-radius: 50%; background: #2fa36b; box-shadow: 0 0 0 3px #dff3e8 }

/* The film: a minute of what Torna does. It plays muted with captions while it's on screen, until the visitor asks
   for sound; with reduced motion or Save-Data it waits on its poster for a click. */
.stage { margin-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative }
.stage::before { content: ""; position: absolute; inset: 18% -50vw 0; background: linear-gradient(#fff, var(--wash) 40%); z-index: -1 }
.film { position: relative; max-width: 64rem; margin: 0 auto }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #f6f6f5; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(20 30 40 / .28), 0 2px 6px rgb(20 30 40 / .05); cursor: pointer }
.film video::cue { font: 500 .8em/1.35 'Instrument Sans', ui-sans-serif, system-ui, sans-serif; color: #fff; background: rgb(21 23 26 / .8) }
.sound {
  position: absolute; right: clamp(.6rem, 1.6vw, 1rem); bottom: clamp(.6rem, 1.6vw, 1rem);
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 50%;
  background: rgb(21 23 26 / .72); color: #fff; cursor: pointer; transition: background-color .15s ease;
}
.sound:hover { background: var(--black) }
.sound[hidden] { display: none }
.sound svg { width: 1.2rem; height: 1.2rem; grid-area: 1 / 1 }
.sound .i-play, .sound .i-sound, .film[data-state="sound"] .i-muted, .film[data-state="still"] .i-muted { display: none }
.film[data-state="sound"] .i-sound, .film[data-state="still"] .i-play { display: block }
.film:not([data-state="still"]) .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.film[data-state="still"] .sound {
  right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: .55rem; width: auto; height: auto; min-height: 3rem; padding: 0 1.35rem 0 1.1rem; border-radius: var(--radius-pill);
  background: var(--black); font: 500 1rem/1 var(--font); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5);
}
.film[data-state="still"] .sound:hover { background: #2a2c30 }
@media (prefers-reduced-motion: reduce) { .sound { transition: none } }
/* On a phone the corner would cover the captions: the button sits under the film, with its words */
@media (max-width: 640px) {
  .film video { border-radius: 12px }
  .film video::cue { font-size: 1em }
  .film .sound, .film[data-state="still"] .sound {
    position: static; transform: none; display: flex; gap: .5rem; width: fit-content; height: auto; min-height: 2.75rem;
    margin: 1rem auto 0; padding: 0 1.25rem 0 1rem; border-radius: var(--radius-pill); background: var(--black); font: 500 .975rem/1 var(--font); box-shadow: none;
  }
  .film:not([data-state="still"]) .sound-label { position: static; width: auto; height: auto; overflow: visible; clip: auto }
}
.bar { display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: #fafafa }
.bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #dcdee1; display: inline-block; margin-right: .3rem }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem }
.chip { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .3rem .7rem; font-size: .8rem; color: var(--soft); background: #fff }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem) 0 }
.section > .wrap > header { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem) }

/* Your number: the calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr) } }
.fields { display: grid; gap: 1.25rem }
.field { display: grid; gap: .45rem }
.field label, .field .label { font-weight: 500; font-size: .95rem }
.field .hint { color: var(--mute); font-size: .85rem }
.money { position: relative }
.money span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--mute) }
.money input { padding-left: 1.9rem }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 3rem;
  border: 1px solid var(--line); border-radius: 12px; padding: .65rem .95rem; background: #fff;
  font-variant-numeric: tabular-nums;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--sea); outline-offset: 0; border-color: transparent }
input[type="range"] { padding: 0; border: 0; min-height: 1.5rem; accent-color: var(--sea); background: transparent }
.range-row { display: flex; align-items: center; gap: 1rem }
.range-row output { min-width: 3.2rem; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums }
.result { background: var(--wash); border-radius: var(--radius-panel); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem }
.result .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-variant-numeric: tabular-nums }
.result .row span:first-child { color: var(--soft) }
.result .row b { font-weight: 600; white-space: nowrap }
.result .net { border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: .35rem }
.result .net p { color: var(--soft) }
.big { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; font-stretch: 90% }
.big.good { color: var(--sea) }
.big.short { color: var(--ink) }
.result .small { color: var(--mute); font-size: .82rem }
@media (max-width: 520px) { .result .row { font-size: .92rem } }

/* Feature rows: text beside a grey screen panel */
.rows { display: grid; gap: clamp(1.5rem, 3vw, 2rem) }
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr) } }
.feature h3 { font-size: 1.45rem; margin-bottom: .6rem }
.feature p { color: var(--soft); max-width: 28rem }
.panel { background: var(--wash); border-radius: var(--radius-panel); min-height: 18rem; display: grid; place-items: center; padding: clamp(1.25rem, 3vw, 2.5rem); overflow: hidden }
.card { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgb(20 30 40 / .06), 0 12px 30px -20px rgb(20 30 40 / .35); width: 100%; max-width: 26rem }

.import { padding: 1rem }
.import .conn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font-size: .9rem }
.import .conn b { display: flex; align-items: center; gap: .5rem; font-weight: 600 }
.import .ok { color: #1f7a4d; font-size: .82rem; display: flex; align-items: center; gap: .35rem }
.import .ok::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #2fa36b }
.import ul { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .5rem }
.import li { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; font-size: .88rem }
.import li svg { width: 3rem; height: 2.25rem; border-radius: 6px }
.import li small { display: block; color: var(--mute); font-size: .78rem }
.import li em { font-style: normal; color: var(--soft); font-variant-numeric: tabular-nums; font-size: .82rem }

.cal { padding: 1rem; font-size: .8rem }
.cal-head { display: flex; justify-content: space-between; font-weight: 600; font-size: .9rem; margin-bottom: .6rem }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .2rem; text-align: center; font-variant-numeric: tabular-nums }
.cal-grid .dow { color: var(--mute); font-size: .7rem; padding-bottom: .2rem }
.cal-grid span { padding: .4rem 0; border-radius: 8px }
.cal-grid .off { color: #b9bdc2; text-decoration: line-through }
.cal-grid .in { background: var(--sea-wash); color: var(--sea); border-radius: 0 }
.cal-grid .end { background: var(--black); color: #fff }
.cal-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: .75rem; padding-top: .7rem; font-size: .85rem; font-variant-numeric: tabular-nums }
.cal-foot b { font-weight: 600 }

.map { position: relative; width: 100%; max-width: 30rem; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #e9eef0 }
.map svg.streets { position: absolute; inset: 0; width: 100%; height: 100% }
.pin { position: absolute; background: #fff; border-radius: var(--radius-pill); padding: .25rem .6rem; font-size: .78rem; font-weight: 600; box-shadow: 0 2px 8px rgb(20 30 40 / .18); font-variant-numeric: tabular-nums; transform: translate(-50%, -50%) }
.pin.on { background: var(--black); color: #fff }
.map .chips { position: absolute; top: .75rem; left: .75rem; right: .75rem; margin: 0 }

.serp { padding: 1.1rem 1.2rem; font-size: .88rem }
.serp .src { display: flex; align-items: center; gap: .6rem }
.serp .src i { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: radial-gradient(circle at 50% 120%, #e3a65b 45%, #f4dcb1 46%); display: inline-block }
.serp .src small { display: block; color: var(--mute); font-size: .78rem }
.serp .src b { font-weight: 500 }
.serp h4 { margin: .55rem 0 .2rem; font-size: 1.12rem; font-weight: 500; color: #1a4fb4 }
.serp .rate { color: var(--soft); font-size: .82rem }
.serp .rate b { color: #e1a100; letter-spacing: .05em; font-weight: 400 }
.serp p { color: var(--soft); margin-top: .3rem; font-size: .85rem }

.extras { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; list-style: none; padding: 0 }
@media (max-width: 860px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .extras { grid-template-columns: minmax(0, 1fr) } }
.extras li { border-top: 1px solid var(--line); padding-top: .9rem; color: var(--soft); font-size: .95rem }
.extras b { display: block; color: var(--ink); font-weight: 560; margin-bottom: .2rem }

/* Found by AI assistants: the facts a home page states, and an assistant's answer repeating them. The matching phrase
   is marked the same way in both, which is the whole point of the picture. */
.ai { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center }
@media (max-width: 920px) { .ai { grid-template-columns: minmax(0, 1fr) } }
.ai-text { display: grid; gap: 1rem; align-content: start }
.ai-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem }
@media (max-width: 520px) { .ai-list { grid-template-columns: minmax(0, 1fr) } }
.ai-list li { border-top: 1px solid var(--line); padding-top: .8rem; color: var(--soft); font-size: .93rem }
.ai-list b { display: block; color: var(--ink); font-weight: 560; margin-bottom: .15rem }
.ai-note { color: var(--mute); font-size: .88rem; max-width: 34rem }
.ai-panel { margin: 0; min-height: 0; display: grid; gap: 0; padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.75rem) }
.ai-page, .ai-chat { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgb(20 30 40 / .06), 0 12px 30px -20px rgb(20 30 40 / .35) }
.ai-page { width: min(100%, 25rem); padding: 1rem 1.1rem 1.2rem; font-size: .86rem; color: var(--soft); transform: rotate(-1.2deg) }
.ai-page h3 { font-size: 1.05rem; color: var(--ink); margin: .35rem 0 .3rem }
.ai-url { font-size: .74rem; color: var(--mute) }
.ai-chat { width: min(100%, 27rem); justify-self: end; margin-top: -1.4rem; padding: 1rem; display: grid; gap: .8rem; font-size: .9rem; position: relative }
.ai-chat .ask { justify-self: end; max-width: 85%; background: var(--wash); border-radius: 14px 14px 4px 14px; padding: .55rem .8rem }
.answer { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .65rem; align-items: start }
.answer p { color: var(--ink) }
.ai-mark { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: conic-gradient(from 210deg, #15171a, #747980, #15171a) }
.cite { margin-top: .55rem; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .2rem .65rem .2rem .3rem; font-size: .76rem; color: var(--soft) !important }
.cite i { width: 1rem; height: 1rem; border-radius: 50%; background: radial-gradient(circle at 50% 120%, #e3a65b 45%, #f4dcb1 46%) }
.ai-panel mark { background: var(--sea-wash); color: var(--sea); border-radius: 4px; padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone }

/* Results: the host's dashboard. The sentence on top uses the page's two-tone heading; sources are one bar that adds
   up to all visits (parts of a whole), and the funnel narrows because it is a sequence. Sea marks AI assistants and
   what the host keeps, as it does everywhere else on the page. */
.dash { margin: 0; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(20 30 40 / .28), 0 2px 6px rgb(20 30 40 / .05); overflow: hidden }
.dash .bar { justify-content: space-between }
.dash-title { font-size: .85rem; font-weight: 500; color: var(--soft) }
.periods { display: flex; gap: .3rem; font-size: .75rem }
.periods span { border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .15rem .55rem; color: var(--soft); background: #fff }
.periods .on { background: var(--black); border-color: var(--black); color: #fff }
@media (max-width: 560px) { .dash-title { display: none } .periods span:not(.on) { display: none } }
.dash-body { padding: clamp(1.1rem, 3vw, 2.25rem); display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); font-variant-numeric: tabular-nums }
.dash-head { font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.12; font-weight: 560; letter-spacing: -0.02em; font-stretch: 92%; text-wrap: balance }
.dash-head span { display: block; color: var(--mute) }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.stats div { padding: .9rem 1rem .95rem; display: grid; gap: .15rem; align-content: start }
.stats div + div { border-left: 1px solid var(--line) }
.stats div:first-child { padding-left: 0 }
.stats small { color: var(--mute); font-size: .78rem }
.stats b { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 600; letter-spacing: -0.03em; font-stretch: 90%; line-height: 1.1 }
.stats b.keep { color: var(--sea) }
.stats em { font-style: normal; color: var(--soft); font-size: .78rem }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .stats div:nth-child(3) { border-left: 0; padding-left: 0 }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line) }
}
.days-label { color: var(--mute); font-size: .78rem; margin-bottom: -.85rem }
.days { height: 4.5rem; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end }
.days i { height: var(--h); background: #c3c7cc; border-radius: 3px 3px 1px 1px; transform-origin: bottom }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem) }
@media (max-width: 760px) { .dash-cols { grid-template-columns: minmax(0, 1fr) } }
.dash-cols h3 { font-size: .95rem; font-weight: 560; margin-bottom: .75rem; letter-spacing: -0.01em }
.ribbon { display: flex; height: .9rem; border-radius: var(--radius-pill); overflow: hidden; gap: 2px; margin-bottom: .9rem }
.ribbon i { flex: var(--n) 1 0; background: var(--c); transform-origin: left }
.ribbon i:nth-child(1), .sw.s1 { --c: #15171a }
.ribbon i:nth-child(2), .sw.s2 { --c: #4b5056 }
.ribbon i:nth-child(3), .sw.s3 { --c: #747980 }
.ribbon i:nth-child(4), .sw.s4 { --c: #a3a8ae }
.ribbon i:nth-child(5), .sw.s5 { --c: #c9cdd1 }
.ribbon .ai, .sw.ai { --c: var(--sea) }
.sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; font-size: .86rem }
.sources li { display: grid; grid-template-columns: .7rem minmax(0, 1fr) 3rem 4.6rem; gap: .55rem; align-items: center; padding: .28rem 0; color: var(--soft) }
.sources li b { text-align: right; color: var(--ink); font-weight: 600 }
.sources li em { font-style: normal; text-align: right; color: var(--mute); font-size: .78rem }
.sw { width: .7rem; height: .7rem; border-radius: 3px; background: var(--c) }
.sources .ai-row { color: var(--sea); font-weight: 560; border-top: 1px solid var(--line); margin-top: .2rem; padding-top: .5rem }
.sources .ai-row b, .sources .sub b { color: var(--sea) }
.sources .sub { padding: .12rem 0; font-size: .82rem }
.sources .sub::before { content: ""; grid-column: 1; width: 1px; height: 100%; justify-self: center; background: var(--sea-wash) }
.funnel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem }
.funnel li { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .7rem; font-size: .86rem; border-radius: 8px; isolation: isolate }
.funnel li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: max(var(--w), .5rem); background: var(--wash); border-radius: 8px; z-index: -1; transform-origin: left }
.funnel li span { color: var(--soft) }
.funnel li b { font-weight: 600 }
.funnel .booked::before { background: var(--sea-wash) }
.funnel .booked b, .funnel .booked span { color: var(--sea) }

/* The one moment of motion: the dashboard's bars grow once when it scrolls into view. Without script or with reduced
   motion nothing is "armed", so the final state shows. */
.dash.armed .days i { transform: scaleY(.04) }
.dash.armed .ribbon i { transform: scaleX(0) }
.dash.armed .funnel li::before { transform: scaleX(0) }
.dash.shown .days i, .dash.shown .ribbon i, .dash.shown .funnel li::before { transform: none; transition: transform .9s cubic-bezier(.2, .7, .2, 1) }
.dash.shown .days i { transition-delay: calc(var(--i, 0) * 18ms) }
.dash.shown .ribbon i { transition-delay: .35s }
.dash.shown .funnel li::before { transition-delay: .55s }

.extras.four { grid-template-columns: repeat(4, minmax(0, 1fr)) }
@media (max-width: 980px) { .extras.four { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .extras.four { grid-template-columns: minmax(0, 1fr) } }

/* Try it */
.try { background: var(--sea); color: #fff; border-radius: var(--radius-panel); padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center }
@media (max-width: 760px) { .try { grid-template-columns: minmax(0, 1fr) } }
.try h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12 }
.try p { color: rgb(255 255 255 / .82); margin-top: .6rem; max-width: 36rem }
.try .btn { justify-self: start }

/* Steps: a real sequence, so they are numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 0; counter-reset: step }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr) } }
.steps li { counter-increment: step; display: grid; gap: .5rem; align-content: start }
.steps li::before { content: counter(step); width: 1.9rem; height: 1.9rem; border-radius: 8px; background: var(--black); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9rem; margin-bottom: .4rem }
.steps h3 { font-size: 1.2rem }
.steps p { color: var(--soft) }

/* Trust pair */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem }
@media (max-width: 760px) { .pair { grid-template-columns: minmax(0, 1fr) } }
.pair article { background: var(--wash); border-radius: var(--radius-panel); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: .75rem; align-content: start }
.pair h3 { font-size: 1.35rem }
.pair p { color: var(--soft) }

/* Prices */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .plans { grid-template-columns: minmax(0, 1fr) } }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: grid; gap: .35rem; align-content: start }
.plan h3 { font-size: 1rem; font-weight: 500; color: var(--soft); letter-spacing: 0 }
.plan .amount { color: var(--ink); font-size: 2.4rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums }
.plan .amount small { font-size: 1rem; font-weight: 400; color: var(--mute); letter-spacing: 0 }
.plan p { color: var(--mute); font-size: .88rem }
.terms { margin-top: 1.25rem; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem }
@media (max-width: 860px) { .terms { grid-template-columns: minmax(0, 1fr) } }
.founding { background: var(--lemon); border-radius: 16px; padding: 1.4rem 1.5rem; display: grid; gap: .5rem }
.founding h3 { font-size: 1.25rem }
.founding p { color: #3d3410 }
.all { border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.5rem; list-style: none; margin: 0; display: grid; gap: .6rem }
.all li { display: flex; justify-content: space-between; gap: 1rem; color: var(--soft); font-variant-numeric: tabular-nums }
.all li b { color: var(--ink); font-weight: 600; white-space: nowrap }
.note { color: var(--mute); font-size: .85rem; margin-top: 1rem }

/* Who we are + coming next */
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start }
@media (max-width: 860px) { .who { grid-template-columns: minmax(0, 1fr) } }
.who p { color: var(--soft); max-width: 32rem }
.who p + p { margin-top: 1rem }
.next { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem }
.next li { background: var(--wash); border-radius: 14px; padding: 1rem 1.15rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; align-items: start }
.next b { font-weight: 560 }
.next span { color: var(--soft); font-size: .92rem; grid-column: 1 }
.next em { font-style: normal; grid-column: 2; grid-row: 1; font-size: .78rem; font-weight: 600; color: var(--sea); background: var(--sea-wash); border-radius: var(--radius-pill); padding: .15rem .55rem }
.next-cta { margin-top: 1rem; color: var(--soft); font-size: .95rem }
.next-cta a { color: var(--sea); font-weight: 500 }

/* The black band: questions + contact */
.dark { background: var(--black); color: var(--on-black); margin-top: clamp(4rem, 9vw, 7.5rem); padding-block: clamp(4rem, 8vw, 6.5rem) }
.dark .title span { color: var(--on-black-mute) }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem) }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr) } }
.faq details { border-bottom: 1px solid #2b2d31 }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-size: 1.15rem; font-weight: 500 }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ""; flex: none; width: 1rem; height: 1rem; margin-top: .3rem; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .2s ease }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { color: var(--on-black-mute); padding: 0 2rem 1.25rem 0; max-width: 40rem }
.faq :focus-visible { outline-color: var(--on-black) }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none } }

.contact { margin-top: clamp(4rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem) }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr) } }
.contact .lead { color: var(--on-black-mute); margin-top: 1rem }
.contact form { background: #141518; border: 1px solid #26282c; border-radius: var(--radius-panel); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem }
@media (max-width: 560px) { .two { grid-template-columns: minmax(0, 1fr) } }
.contact .field label { color: var(--on-black) }
.contact .field .hint { color: var(--on-black-mute) }
.contact input, .contact select, .contact textarea { background: #0b0b0c; border-color: #2f3236; color: var(--on-black); color-scheme: dark }
.contact input::placeholder, .contact textarea::placeholder { color: #6f747a }
.contact textarea { min-height: 7rem; resize: vertical }
.contact input:focus-visible, .contact select:focus-visible, .contact textarea:focus-visible { outline-color: var(--on-black) }
.contact [aria-invalid="true"] { border-color: #f08b80 }
.err { color: #f6a49b; font-size: .85rem }
.check { display: flex; gap: .65rem; align-items: flex-start; color: var(--on-black); font-size: .95rem; cursor: pointer }
.check input { width: 1.15rem; height: 1.15rem; min-height: 0; margin: .2rem 0 0; accent-color: #fff; flex: none }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden }
.send { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap }
.send p { color: var(--on-black-mute); font-size: .85rem }
.form-status { font-size: .95rem; color: #f6a49b }
.form-status:empty { display: none }
.thanks { background: #141518; border: 1px solid #26282c; border-radius: var(--radius-panel); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: .6rem; align-content: start }
.thanks h3 { font-size: 1.6rem }
.thanks p { color: var(--on-black-mute) }
.btn[disabled] { opacity: .6; cursor: progress }

/* Footer */
.foot { padding-block: 2.5rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .85rem }
.foot .wrap { display: grid; gap: 1.25rem }
.foot .line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center }
.foot .brand svg { height: 1.45rem }
.foot p { max-width: 52rem }
.foot-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem }
.foot-nav a { color: var(--soft); text-decoration: none; font-size: .92rem }
.foot-nav a:hover { color: var(--ink); text-decoration: underline }

/* About and Privacy: one readable column under the two-tone heading */
.doc { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6.5rem) }
.doc article { max-width: 42rem }
.doc .lead { margin-top: 1.25rem; max-width: none }
.doc h2 { font-size: 1.375rem; line-height: 1.25; margin: clamp(2.25rem, 4vw, 3rem) 0 .75rem }
.doc p, .doc ul { color: var(--soft); margin: 0 0 1rem }
.doc ul { padding-left: 1.15rem }
.doc li { margin-bottom: .45rem }
.doc li::marker { color: var(--mute) }
.doc b { color: var(--ink); font-weight: 600 }
.doc a:not(.btn) { color: var(--sea); text-underline-offset: .15em }
.doc .updated { color: var(--mute); font-size: .92rem; margin-top: 2.5rem }
.doc .cta { margin-top: clamp(2.25rem, 4vw, 3rem) }
.doc pre { margin: 0 0 1rem; padding: .9rem 1.1rem; overflow-x: auto; background: var(--wash); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: .84rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em }
.doc :not(pre) > code { padding: .1em .35em; border-radius: 6px; background: var(--wash); color: var(--ink); overflow-wrap: anywhere }
.doc .table { margin: 0 0 1rem; overflow-x: auto }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem }
.doc th, .doc td { padding: .6rem 1rem .6rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--soft) }
.doc th { color: var(--ink); font-weight: 600 }
