/* dotanote — one-page site. Direction 06, "hands first" (design/landing-refresh/06-hands-first.html). */
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #fdfdfc; --bg-2: #f4f4f5; --line: #e4e4e7; --line-2: #d4d4d8;
  --ink: #09090b; --ink-2: #3f3f46; --ink-3: #5f5f69; --solid-hover: #27272a;
  --accent: #7c3aed; --accent-text: #6d28d9; --accent-soft: #ede9fe;
  --panel: #18181b; --panel-ink: #fafafa; --panel-ink-2: #d4d4d8; --panel-accent: #c4b5fd;
  --app-bg: #0a0a0a; --app-card: #131315; --app-line: #27272a; --app-line-2: #3f3f46;
  --app-ink: #fafafa; --app-ink-2: #d4d4d8; --app-ink-3: #a1a1aa;
  --app-rec: #e5141b; --app-magic: #c084fc; --app-magic-bg: #24163a; --app-magic-line: #4c2a7a;
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --block: 1200px; --gutter: 24px; --r: 10px; --r-lg: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0b0c; --bg-2: #161618; --line: #27272a; --line-2: #3f3f46;
  --ink: #fafafa; --ink-2: #d4d4d8; --ink-3: #a1a1aa; --solid-hover: #e4e4e7;
  --accent: #8b5cf6; --accent-text: #c4b5fd; --accent-soft: #3b1d7a;
  --panel: #161618;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.1875rem; line-height: 1.6; transition: background-color .3s, color .3s; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; letter-spacing: -0.025em; font-weight: 600; }
p, li { color: var(--ink-2); text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
time, .pill, .clock { font-variant-numeric: tabular-nums; }
img, video, svg { display: block; max-width: 100%; }
kbd { display: inline-block; min-width: 1.9em; padding: 0 .5em; font: 500 .72em/1.7 var(--mono); text-align: center; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: .35em; box-shadow: 0 1px 0 var(--line-2); vertical-align: .12em; white-space: nowrap; }
.keys { white-space: nowrap; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-2) var(--bg); }
.wrap { width: min(var(--block), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--bg-2); color: var(--ink); padding: 14px 18px; border-radius: var(--r); font-weight: 600; }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons: one pair, 52px tall, generous hit area */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: var(--r); font: 600 1.0625rem/1.3 var(--font); text-align: center; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--solid-hover); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink-3); }
.btn .ico { width: 20px; height: 20px; }

/* Header: three links, the theme switch and one action */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.mark { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; min-height: 48px; }
.mark span { color: var(--accent); }
.top nav ul { list-style: none; display: flex; gap: 8px; }
.top nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: var(--r); color: var(--ink-2); font-size: 1.0625rem; transition: color .2s, background-color .2s; }
.top nav a:hover { color: var(--ink); background: var(--bg-2); }
.top__end { display: flex; align-items: center; gap: 8px; }
.theme { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.theme:hover { border-color: var(--ink-3); }
.theme .ico { width: 20px; height: 20px; }
:root[data-theme="dark"] .theme__moon, :root:not([data-theme="dark"]) .theme__sun { display: none; }

section { padding: 120px 0; }
.h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.lede { margin-top: 18px; font-size: 1.25rem; max-width: 52ch; }

/* Hero */
.hero { padding: 72px 0 112px; min-height: calc(100svh - 72px); display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5.5fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); letter-spacing: -0.035em; line-height: 1.02; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero__lead { margin-top: 28px; font-size: 1.3125rem; color: var(--ink); max-width: 34ch; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__note { margin-top: 16px; font-size: 1rem; color: var(--ink-3); max-width: 44ch; }
.trust { list-style: none; margin-top: 40px; display: grid; gap: 14px; }
.trust li { display: flex; gap: 14px; align-items: center; color: var(--ink); font-size: 1.125rem; font-weight: 500; }
.trust .ico { color: var(--accent-text); }
[data-enter] > * { animation: enter .9s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .12s; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }

/* App mock, always dark: mirrors references/app/02-recording.png */
.app { position: relative; background: var(--app-bg); color: var(--app-ink); border: 1px solid var(--app-line-2); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(9, 9, 11, .35); }
:root[data-theme="dark"] .app { box-shadow: none; }
.app p { color: inherit; }
.app__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--app-line); }
.app__title { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.app__title small { display: block; font-weight: 400; font-size: .8125rem; color: var(--app-ink-3); letter-spacing: 0; }
.app__rec { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 16px; font-size: .8125rem; font-weight: 600; background: var(--app-ink); color: var(--app-bg); transition: background-color .3s, color .3s; }
.app__rec svg { width: 14px; height: 14px; }
.app[data-state="rec"] .app__rec { background: var(--app-rec); color: var(--app-ink); }
.app__list { padding: 18px 22px 96px; display: grid; gap: 12px; }
.note { background: var(--app-card); border: 1px solid var(--app-line); border-radius: 12px; padding: 14px 16px; }
.note__head { display: flex; justify-content: space-between; align-items: center; }
.note time { font-size: .75rem; color: var(--app-ink-3); }
.note__copy { font-family: var(--mono); font-size: .75rem; color: var(--app-ink-3); border: 1px solid var(--app-line-2); border-radius: 6px; padding: 4px 10px; transition: color .2s, border-color .2s; }
.note__copy[data-done] { color: var(--app-ink); border-color: var(--app-ink-3); }
.note p { color: var(--app-ink); font-size: 1.0625rem; line-height: 1.55; margin-top: 6px; min-height: 3.2em; }
.note--old p { color: var(--app-ink-2); font-size: .9375rem; min-height: 0; }
.note__tag { display: inline-block; margin-top: 10px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .04em; color: var(--app-ink-3); border: 1px solid var(--app-line-2); border-radius: 999px; padding: 4px 10px; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.18em; background: var(--app-ink); animation: blink 1s steps(1) infinite; }
.app[data-state="done"] .caret { visibility: hidden; }
.app[data-paused] .caret, .app[data-paused] .meter i { animation: none; transition: none; }
@keyframes blink { 50% { opacity: 0; } }
.pill { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; background: #18181b; border: 1px solid var(--app-line-2); border-radius: 999px; padding: 4px 4px 4px 6px; font-family: var(--mono); font-size: .8125rem; }
.pill__lang { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--app-line-2); font-size: .6875rem; }
.pill__dot { color: var(--app-rec); }
.app[data-state="done"] .pill__dot { color: var(--app-ink-3); }
.meter { display: inline-flex; gap: 2px; align-items: center; height: 18px; }
.meter i { width: 3px; height: 3px; border-radius: 2px; background: var(--app-rec); transition: height 70ms linear; }
.app[data-state="done"] .meter i { background: var(--app-ink-3); }
.pause { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--app-line-2); background: transparent; color: var(--app-ink-2); display: grid; place-items: center; cursor: pointer; transition: border-color .2s; }
.pause:hover { border-color: var(--app-ink-3); }
.pause svg { width: 14px; height: 14px; }
.pause:focus-visible { outline-color: var(--app-magic); border-radius: 50%; }

/* Why */
.why { background: var(--bg-2); }
.why .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.why__list { list-style: none; margin-top: 32px; display: grid; gap: 14px; }
.why__list li { display: flex; gap: 14px; align-items: baseline; color: var(--ink); }
.why__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-3px); }
.frame { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--line); aspect-ratio: 16 / 10; }
.frame video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.frame:hover video { transform: scale(1.025); }
.media__credit { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(9, 9, 11, .78); color: #fafafa; font-size: .8125rem; white-space: nowrap; pointer-events: none; }
.media__licence { pointer-events: auto; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.media__licence:focus-visible { outline: 2px solid #f4f4f5; outline-offset: 2px; }
.media { position: relative; }
.media__pause { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(9, 9, 11, .78); color: #fafafa; cursor: pointer; transition: background-color .2s; }
.media__pause:hover { background: rgba(9, 9, 11, .92); }
.media__pause svg { width: 14px; height: 14px; }
.media__pause[aria-pressed="true"] .i-pause, .media__pause:not([aria-pressed="true"]) .i-play { display: none; }
.media__pause[hidden] { display: none; }

/* How it works: a real sequence, so the steps carry their number */
.steps { list-style: none; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent-text); font-weight: 700; font-size: 1.125rem; margin-bottom: 22px; }
.steps h3 { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); }
.steps p { margin-top: 10px; max-width: 32ch; }

/* Magic Format */
.magic .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.formats { margin-top: 32px; display: grid; gap: 6px; max-width: 380px; }
.formats button { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; font: 500 1.125rem/1.2 var(--font); color: var(--ink-2); background: transparent; border: 0; border-radius: var(--r); min-height: 56px; padding: 0 18px; cursor: pointer; transition: background-color .2s, color .2s; }
.formats button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity .2s; }
.formats button:hover, .formats button[aria-selected="true"] { color: var(--ink); background: var(--bg-2); }
.formats button[aria-selected="true"]::after { opacity: 1; }
.magic__note { margin-top: 20px; font-size: 1rem; color: var(--ink-3); max-width: 44ch; }
.mnote { background: var(--app-bg); color: var(--app-ink); border: 1px solid var(--app-line-2); border-radius: 16px; padding: 26px; }
.mnote p, .mnote li { color: inherit; }
.mnote time { font-size: .75rem; color: var(--app-ink-3); }
.mnote__said { font-style: italic; color: var(--app-ink-3) !important; font-size: 1.0625rem; line-height: 1.6; margin-top: 8px; }
.mnote .note__tag { margin-top: 12px; }
.magic-out { margin-top: 18px; background: var(--app-magic-bg); border: 1px solid var(--app-magic-line); border-radius: 12px; padding: 20px 22px; min-height: 220px; }
.magic-out__label { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--app-magic) !important; }
.magic-out__label svg { width: 16px; height: 16px; }
.out { margin-top: 12px; font-size: 1.125rem; }
.out[hidden] { display: none; }
.out p + p { margin-top: 10px; }
.out ul { list-style: none; display: grid; gap: 6px; margin-top: 6px; }
.out li::before { content: "– "; color: var(--app-ink-3); }

/* Privacy routes */
.routes { margin-top: 48px; display: grid; gap: 16px; }
.route { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 36px; border-radius: var(--r-lg); background: var(--bg-2); align-items: center; }
.route h3 { font-size: 1.375rem; letter-spacing: -0.015em; color: var(--ink); }
.route p { margin-top: 8px; }
.path { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; font-size: 1rem; color: var(--ink-2); }
.path span { border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 12px 16px; white-space: nowrap; background: var(--bg); }
.path span.hub { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.path i { height: 1.5px; background: var(--line-2); position: relative; overflow: hidden; }
.path i::after { content: ""; position: absolute; top: -1px; left: -30%; width: 30%; height: 3.5px; background: var(--accent); border-radius: 2px; animation: pulse 3s linear 4; }
.path i + span + i::after { animation-delay: 1.5s; }
@keyframes pulse { to { left: 100%; } }

/* For clinics and therapists: dark panel, same as the live site's models panel */
.panel { background: var(--panel); color: var(--panel-ink); border-radius: 24px; padding: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.panel p, .panel li { color: var(--panel-ink-2); }
.panel .lede { color: var(--panel-ink-2); }
.panel .btn--solid { background: var(--panel-ink); color: #09090b; margin-top: 36px; }
.panel .btn--solid:hover { background: #e4e4e7; }
.panel :focus-visible { outline-color: var(--panel-accent); }
.gives { list-style: none; display: grid; gap: 32px; }
.gives li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; }
.gives .ico { color: var(--panel-accent); margin-top: 3px; }
.gives h3 { font-size: 1.25rem; letter-spacing: -0.015em; color: var(--panel-ink); }
.gives p { margin-top: 6px; }

/* Status */
.status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.status div { padding: 32px; border-radius: var(--r-lg); background: var(--bg-2); }
.status h3 { font-size: 1.25rem; letter-spacing: -0.015em; color: var(--ink); }
.status div:first-child h3 { color: var(--accent-text); }
.status ul { list-style: none; margin-top: 16px; display: grid; gap: 12px; }
.status li { padding-left: 20px; position: relative; }
.status li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--ink-3); }

/* Close */
.close { padding: 152px 0; }
.close h2 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); letter-spacing: -0.035em; line-height: 1.02; font-weight: 700; }
.close p { margin-top: 22px; font-size: 1.25rem; max-width: 46ch; }
.close .hero__actions { margin-top: 36px; }

footer { padding: 24px 0 64px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
footer p { color: var(--ink-3); font-size: 1rem; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-inline: -12px; }
footer a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: var(--r); color: var(--ink-2); font-size: 1rem; transition: color .2s, background-color .2s; }
footer a:hover { color: var(--ink); background: var(--bg-2); }

@media (max-width: 1080px) {
  .top nav { display: none; }
  .hero { min-height: 0; }
  .hero .wrap, .why .wrap, .magic .wrap, .route, .panel { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .steps, .status { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  body { font-size: 1.125rem; }
  section { padding: 88px 0; }
  .close { padding: 96px 0 72px; }
  footer .wrap { flex-direction: column-reverse; align-items: center; text-align: center; gap: 4px; }
  footer ul { justify-content: center; }
  .hero { padding: 40px 0 80px; }
  .top .btn { padding: 0 16px; }
  .hero__actions .btn { width: 100%; }
  .app__bar { padding: 14px 16px; }
  .app__list { padding: 14px 16px 88px; }
  .note--old:nth-of-type(n+3) { display: none; }
  .panel { padding: 32px 22px; }
  .mnote, .route, .status div { padding: 24px; }
  .formats { max-width: none; }
  .path { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .path i { width: 1.5px; height: 20px; margin-left: 22px; }
  .path i::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
