/* PromptClean site: the "Teal" palette (soft teal-white, deep teal for actions and good outcomes, near-black
   teal ink and band). System fonts only and no scripts, so the site makes no requests to anyone else.

   Motion is CSS only and never hides content: the page is complete at rest. Scroll-linked motion only
   slides elements a little, and only where the browser supports it and the reader has not asked for
   less motion. */
:root {
  --bg: #f2f9f8; --surface: #ffffff; --ink: #0c2a29; --muted: #4a6866; --line: #cde5e2;
  --accent: #0f766e; --accent-ink: #ffffff; --mint: #d9f0ec; --mint-deep: #b4e0d9; --risk: #a4482a; --risk-bg: #fbeee7;
  --ok: #0f766e; --ok-bg: #dcf4f0;
  --band: #0b3b3a; --band-ink: #e4f5f2; --band-muted: #a6cdc8; --band-line: #1f5553; --band-accent: #5eead4;
  --code-bg: #f5faf9; --todo: #fff1c2;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 16px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--mint); padding: 0.1em 0.4em; border-radius: 6px; }
.todo { background: var(--todo); padding: 0 0.3em; border-radius: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.prose { max-width: 66ch; }

h1, h2, h3 { line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); letter-spacing: -0.03em; font-weight: 750; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; font-weight: 720; }
h3 { font-size: 1.14rem; letter-spacing: -0.005em; font-weight: 650; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.18rem; color: var(--muted); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }

section { padding-block: 88px; }
section + section { border-top: 1px solid var(--line); }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.2) blur(8px); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- buttons ---------- */
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px var(--accent); }
.btn:hover { border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform 160ms ease-out, filter 160ms ease-out, border-color 160ms ease-out; } .btn:active { transform: scale(0.98); } }

/* ---------- keycaps ---------- */
kbd { font: 600 0.82em var(--mono); display: inline-block; min-width: 1.9em; padding: 0.24em 0.55em; text-align: center; border-radius: 7px; border: 1px solid var(--line); border-bottom-width: 3px; background: var(--surface); color: var(--ink); }
.combo { display: inline-flex; align-items: center; gap: 6px; }
.combo .plus { color: var(--muted); font-size: 0.85em; }

/* ---------- hero ---------- */
.hero { padding-block: 72px 80px; background:
  radial-gradient(900px 480px at 85% -8%, var(--mint-deep), transparent 62%),
  radial-gradient(640px 360px at -5% 105%, var(--mint), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 mark { background: linear-gradient(transparent 60%, var(--mint-deep) 60% 92%, transparent 92%); color: inherit; padding: 0 0.06em; border-radius: 2px; }
.hero-shortcut { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.facts-strip { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.facts-strip span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 6px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

/* the before/after, drawn in HTML so it stays readable at any width */
.demo { display: flex; flex-direction: column; gap: 12px; }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px -30px rgba(12, 42, 41, 0.5); }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.pane-head .file { font: 500 12.5px var(--mono); letter-spacing: 0; text-transform: none; color: var(--muted); }
.pane.before .pane-head { color: var(--risk); }
.pane.after .pane-head { color: var(--ok); }
.pane pre { margin: 0; padding: 16px; font: 13.5px/1.75 var(--mono); background: var(--code-bg); overflow-x: auto; color: var(--ink); }
.pane .dim { color: var(--muted); }
.pane .exposed { color: var(--ink); text-decoration: underline 2px var(--risk); text-underline-offset: 3px; }
.pane .ph { background: var(--accent); color: var(--accent-ink); border-radius: 6px; padding: 0.05em 0.45em; font-weight: 650; display: inline-block; transform-origin: left center; }
.pane .collapsed { color: var(--accent); font-weight: 650; }
.pane-foot { padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--ok); border-top: 1px solid var(--line); background: var(--ok-bg); }
.demo-arrow { align-self: center; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; color: var(--accent); letter-spacing: 0.02em; }
.demo-arrow::before { content: "↓"; font-size: 18px; }

/* ---------- how it works: three small scenes from the real interface ---------- */
.flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 960px) {
  /* each step spans two rows of the grid, so the three scenes share one height and the three titles one baseline */
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 32px; row-gap: 0; }
  .flow .flow-step { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 22px; }
}
.flow-step { display: flex; flex-direction: column; gap: 22px; position: relative; }
.flow-ui { background: linear-gradient(160deg, var(--mint) 0%, var(--bg) 100%); border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-height: 280px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 36px -24px rgba(12, 42, 41, 0.5); }
.composer { padding: 14px 16px; }
.draft { font: 12.5px/1.75 var(--mono); color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.draft .u { text-decoration: underline 2px var(--risk); text-underline-offset: 3px; }
.draft .ph { background: var(--accent); color: var(--accent-ink); border-radius: 5px; padding: 0.04em 0.4em; font-weight: 650; }
.mock-floats { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hint-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--risk-bg); color: var(--ink); border: 1px solid color-mix(in srgb, var(--risk) 35%, transparent); border-radius: 12px; padding: 8px 12px; font-size: 12.5px; }
.hint-chip i { font-style: normal; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--risk); color: #fff; font: 700 11px/16px var(--sans); text-align: center; }
.fab-pill { display: inline-flex; align-items: center; gap: 8px; background: #0b3b3a; color: #fff; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 5px 15px 5px 5px; font-weight: 650; font-size: 13px; box-shadow: 0 1px 2px rgba(6, 30, 29, 0.3), 0 8px 24px -8px rgba(6, 30, 29, 0.5); }
.fab-pill .mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #99f6e4; color: #0b3b3a; }
.panel { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.p-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.p-head img { border-radius: 5px; }
.p-head strong { font-weight: 650; letter-spacing: -0.01em; }
.p-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: var(--accent); background: var(--mint); border-radius: 999px; padding: 2px 8px 2px 6px; }
.p-x { margin-left: auto; color: var(--muted); display: grid; place-items: center; width: 22px; height: 22px; }
.p-pill svg, .p-x svg, .p-tabs svg, .p-rows svg, .fab-pill svg { flex: none; display: block; }
.p-tabs { display: flex; gap: 2px; padding: 3px; background: var(--mint); border-radius: 11px; font-size: 12.5px; font-weight: 600; }
.p-tabs span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; border-radius: 8px; color: var(--muted); }
.p-tabs .on { background: var(--surface); color: var(--accent); box-shadow: 0 1px 2px rgba(12, 42, 41, 0.14), 0 0 0 1px var(--line); }
.p-intro { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.p-card { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--surface); }
.p-count { font-size: 12px; font-weight: 650; margin: 0 0 4px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.p-rows { list-style: none; margin: 0; padding: 0; }
.p-rows li { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.p-rows li:first-child { border-top: 0; }
.p-rows b { flex: 1; font-weight: 500; }
.p-rows em { color: var(--muted); display: grid; }
.cb { flex: none; width: 15px; height: 15px; border-radius: 4px; background: var(--accent); position: relative; }
.cb::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.p-btn { background: var(--accent); color: var(--accent-ink); text-align: center; border-radius: 10px; padding: 9px; font-weight: 650; font-size: 13.5px; }
.c-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.send { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; box-shadow: 0 0 0 4px var(--mint-deep); }
.ok-line { margin: 0; color: var(--ok); font-size: 12.5px; font-weight: 650; }
.flow-text { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; align-items: start; align-content: start; }
.flow-n { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 15px var(--mono); display: grid; place-items: center; box-shadow: 0 8px 18px -10px var(--accent); }
.flow-text h3 { font-size: 1.18rem; align-self: center; }
.flow-text p { color: var(--muted); grid-column: 2; }
/* an arrow in the gap between the scenes, on wide screens only */
@media (min-width: 960px) {
  .flow-step:not(:last-child)::after { content: "→"; position: absolute; top: 137px; right: -29px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--accent); display: grid; place-items: center; font-size: 13px; z-index: 2; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .flow-ui { transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
  .flow-step:hover .flow-ui { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(12, 42, 41, 0.55); }
}

/* ---------- the moment it matters: switch the log between three states ----------
   A segmented control (radio buttons, so keyboard and touch work) drives the log with :has(); every
   change is a transition, and there is no scroll-jacking. */
@property --lines { syntax: "<integer>"; inherits: false; initial-value: 202; }
@property --sec { syntax: "<integer>"; inherits: false; initial-value: 0; }
.moment { background: var(--band); color: var(--band-ink); border-top: none !important; padding-block: 88px; }
.moment + section { border-top: none; }
.moment .eyebrow { color: var(--band-accent); }
.moment-stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 899px) {
  /* on small screens the log comes right after the heading, and the three steps after it */
  .moment-stage { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .moment .moment-copy { display: contents; }
  .moment-demo { order: 1; }
  .moment-steps { order: 2; margin-top: 12px; }
}
/* the control stays where it is while the log below it shrinks */
@media (min-width: 900px) { .moment-demo { align-self: start; margin-top: 110px; } }
.moment-copy { display: flex; flex-direction: column; gap: 28px; }
.story-text { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 720; max-width: 22ch; text-wrap: balance; margin: 0; }
.story-text .soft { color: var(--band-muted); }
.moment-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.moment-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; align-items: start; }
.moment-steps .n { font: 600 13px var(--mono); color: var(--band-accent); padding-top: 4px; }
.moment-steps h3 { font-size: 1.08rem; }
.moment-steps p { color: var(--band-muted); font-size: 15.5px; margin-top: 4px; }
.moment .pane-head { color: var(--accent); }
/* this foot starts in the exposed state ("Secrets hidden: 0"), so it stays violet rather than the teal "all clear" */
.moment .pane-foot { font-variant-numeric: tabular-nums; color: var(--accent); background: var(--mint); }

.seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--band-line); border-radius: 999px; background: rgba(255, 255, 255, 0.04); margin-bottom: 18px; }
.seg input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; }
.seg label { padding: 9px 16px; border-radius: 999px; font-weight: 650; font-size: 14px; color: var(--band-muted); cursor: pointer; }
.seg input:checked + label { background: var(--band-accent); color: #0b3b3a; }
.seg input:focus-visible + label { outline: 3px solid var(--band-accent); outline-offset: 2px; }

.lp-body { padding: 16px; font: 13.5px/1.75 var(--mono); background: var(--code-bg); color: var(--ink); contain: layout paint; }
.lpl { white-space: nowrap; overflow: hidden; }
.lp-body .dim { color: var(--muted); }
.cnote { color: var(--accent); font-weight: 650; }
.val2 { display: inline-grid; }
.val2 > * { grid-area: 1 / 1; justify-self: start; }
.ph2 { background: var(--accent); color: var(--accent-ink); border-radius: 6px; padding: 0.05em 0.45em; font-weight: 650; transform-origin: left center; opacity: 0; transform: scale(0.92); }
.raw2 { text-decoration: underline 2px var(--risk); text-underline-offset: 3px; border-radius: 4px; }
.rep, .note-wrap { display: grid; }
.rep > *, .note-wrap > * { overflow: hidden; min-height: 0; }
.rep { grid-template-rows: 1fr; opacity: 1; }
.note-wrap { grid-template-rows: 0fr; opacity: 0; }
.m-lines { --lines: 202; counter-reset: l var(--lines); }
.m-lines::before { content: counter(l); }
.m-sec { --sec: 0; counter-reset: s var(--sec); }
.m-sec::before { content: counter(s); }
@media (max-width: 480px) { .lp-body { font-size: 11.5px; padding: 14px 12px; } }

/* state 2: redacted. state 3: redacted and compressed. */
.moment:has(#st-2:checked) .raw2, .moment:has(#st-3:checked) .raw2 { opacity: 0; }
.moment:has(#st-2:checked) .ph2, .moment:has(#st-3:checked) .ph2 { opacity: 1; transform: none; }
.moment:has(#st-2:checked) .m-sec, .moment:has(#st-3:checked) .m-sec { --sec: 2; }
.moment:has(#st-3:checked) .rep { grid-template-rows: 0fr; opacity: 0; }
.moment:has(#st-3:checked) .note-wrap { grid-template-rows: 1fr; opacity: 1; }
.moment:has(#st-3:checked) .m-lines { --lines: 4; }
/* the three beats on the left follow the chosen state */
@supports selector(:has(*)) {
  .moment-steps li { opacity: 0.4; }
  .moment:has(#st-1:checked) .moment-steps li:nth-child(1), .moment:has(#st-2:checked) .moment-steps li:nth-child(2), .moment:has(#st-3:checked) .moment-steps li:nth-child(3) { opacity: 1; transform: translateX(6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .raw2 { transition: opacity 260ms var(--ease-out); }
  .ph2 { transition: opacity 280ms var(--ease-out) 60ms, transform 280ms var(--ease-out) 60ms; }
  .rep, .note-wrap { transition: grid-template-rows 420ms var(--ease-out), opacity 320ms ease; }
  .r2 { transition-delay: 40ms; } .r3 { transition-delay: 80ms; } .r4 { transition-delay: 120ms; }
  .m-lines { transition: --lines 700ms var(--ease-out); } .m-sec { transition: --sec 500ms var(--ease-out); }
  .moment-steps li { transition: opacity 240ms ease, transform 240ms var(--ease-out); }
}

/* ---------- shortcuts ---------- */
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 44px; }
.key-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(12, 42, 41, 0.35); }
.key-card .combo { font-size: 22px; }
.key-card kbd { background: var(--mint); color: var(--ink); border-color: var(--mint-deep); }
.key-card h3 { font-size: 1.4rem; }
.key-card p { color: var(--muted); }
.swap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 13.5px var(--mono); padding-top: 16px; border-top: 1px dashed var(--line); }
.swap .from { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--risk); }
.swap .to { color: var(--accent-ink); background: var(--accent); border-radius: 6px; padding: 0.12em 0.5em; font-weight: 650; }
.swap .arrow { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .key-card:hover kbd { transform: translateY(2px); border-bottom-width: 1px; } .key-card kbd { transition: transform 120ms ease-out, border-bottom-width 120ms ease-out; } }
.shortcut-note { margin-top: 26px; font-size: 15px; color: var(--muted); }

/* ---------- audiences ---------- */
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 44px; }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.aud .quote { font-size: 1.4rem; font-weight: 680; line-height: 1.25; letter-spacing: -0.01em; }
.aud dl { margin: 0; display: grid; grid-template-columns: 76px 1fr; gap: 10px 14px; font-size: 15.5px; }
.aud dt { font-weight: 700; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; padding-top: 3px; }
.aud dd { margin: 0; }

/* ---------- what it catches (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; grid-column: span 2; }
.tile.wide { grid-column: span 4; background: var(--mint); border-color: var(--mint-deep); }
.tile.full { grid-column: span 6; }
.tile .big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
.tile p.small { color: var(--muted); font-size: 15px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); }
.tile.wide .chips li { background: var(--surface); }
.chips li.suggest { background: transparent; border: 1px dashed var(--accent); }
@media (max-width: 860px) { .bento .tile, .bento .tile.wide, .bento .tile.full { grid-column: 1 / -1; } }
.note { font-size: 15px; color: var(--muted); border-left: 3px solid var(--mint-deep); padding-left: 14px; margin-top: 34px; max-width: 70ch; }

/* ---------- for IT ---------- */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 44px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
.trio > div { padding: 30px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--line); }
.trio > div:first-child { border-left: none; }
.trio-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.trio-big { font-size: 1.75rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
.trio .nothing .trio-big { color: var(--ok); font-size: 2.5rem; }
.trio p:last-child { color: var(--muted); font-size: 15.5px; }
@media (max-width: 780px) { .trio > div { border-left: none; border-top: 1px solid var(--line); } .trio > div:first-child { border-top: none; } }
.it-more { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.it-line { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); }
.it-line strong { color: var(--ink); }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
summary { cursor: pointer; padding: 15px 20px; font-weight: 650; }
details[open] summary { border-bottom: 1px solid var(--line); }
.perm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.perm-table th, .perm-table td { text-align: left; vertical-align: top; padding: 13px 20px; border-top: 1px solid var(--line); }
.perm-table tr:first-child th, .perm-table tr:first-child td { border-top: none; }
.perm-table th { width: 34%; font-weight: 600; }
.perm-table td { color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* ---------- closing band ---------- */
.cta-band { background: var(--mint); border-top: 1px solid var(--mint-deep); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band .stack { display: flex; flex-direction: column; gap: 12px; }
.cta-band h2 { max-width: 18ch; }

/* ---------- privacy page ---------- */
.policy { padding-block: 56px 80px; }
.policy h1 { font-size: clamp(2.1rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.policy h2 { font-size: 1.32rem; margin-top: 44px; }
.policy h2 + p { margin-top: 12px; }
.policy ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; }
.summary { background: var(--mint); border-radius: 14px; padding: 22px 24px; margin-top: 26px; }
.meta { color: var(--muted); font-size: 15px; margin-top: 12px; }
.after-list { margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; gap: 12px 28px; flex-wrap: wrap; padding-block: 28px; }
.site-footer .wrap > :first-child { margin-right: auto; font-weight: 750; color: var(--ink); }

/* ---------- scroll motion: slide only, never hide ----------
   Only where scroll-linked animations are supported and the reader has not asked for less motion.
   Elements keep full opacity throughout, so nothing is missing before the reader reaches it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    .pop .ph { animation: pop linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  }
}
@keyframes rise { from { transform: translateY(34px); } to { transform: translateY(0); } }
@keyframes pop { from { transform: scale(0.92); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* skip link: hidden until a keyboard user tabs to it */
.skip { position: absolute; left: 12px; top: -48px; z-index: 20; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 650; text-decoration: none; }
.skip:focus { top: 12px; }

/* narrow screens: keep the demo log lines inside the pane without sideways scrolling */
@media (max-width: 480px) { .pane pre { font-size: 11.5px; line-height: 1.7; padding: 14px 12px; } }

/* ---------- headline: a redaction bar sweeps across the word, then lifts ---------- */
.hero h1 .rw { position: relative; display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .rw::after { content: ""; position: absolute; left: -0.05em; right: -0.05em; top: 0.14em; bottom: 0.08em; background: var(--ink); border-radius: 4px; transform: scaleX(0); transform-origin: left; pointer-events: none; animation: tape 1.9s var(--ease-out) 0.6s both; }
}
@keyframes tape {
  0% { transform: scaleX(0); transform-origin: left; }
  34% { transform: scaleX(1); transform-origin: left; }
  60% { transform: scaleX(1); transform-origin: left; }
  60.1% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ---------- chips: hover to see the placeholder each kind of value becomes ---------- */
@media (hover: hover) and (pointer: fine) {
  .chips li[data-after] { position: relative; cursor: default; }
  .chips li[data-after]::after { content: "→ " attr(data-after); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); white-space: nowrap; font: 600 12.5px var(--mono); background: var(--ink); color: var(--bg); padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; z-index: 5; }
  .chips li[data-after]:hover::after { opacity: 1; transform: translate(-50%, 0); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .chips li[data-after]::after { transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out); }
}

/* small screens: the header scrolls away instead of covering a fifth of the screen */
@media (max-width: 720px) {
  .site-header { position: static; }
  html { scroll-padding-top: 12px; }
}

/* ---------- gradients: soft teal swooshes in the hero, a deep teal gradient with faint curved light in the dark
   band, and gradient buttons, step numbers and highlights. CSS and inline SVG only (no image requests). ---------- */
:root { --grad-accent: linear-gradient(135deg, #0d7d73 0%, var(--accent) 52%, #0b5f58 100%); --grad-soft: linear-gradient(90deg, var(--ok-bg), #c3efe8); }
.hero { position: relative; overflow: hidden; background:
  radial-gradient(760px 420px at 88% -6%, rgba(94, 234, 212, 0.38), transparent 62%),
  radial-gradient(560px 340px at -4% 108%, rgba(153, 246, 228, 0.5), transparent 62%),
  linear-gradient(180deg, #fcfefd 0%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 760' preserveAspectRatio='xMaxYMid slice'%3E %3Cdefs%3E %3ClinearGradient id='a' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%232dd4bf' stop-opacity='.34'/%3E%3Cstop offset='1' stop-color='%230f766e' stop-opacity='.05'/%3E%3C/linearGradient%3E %3ClinearGradient id='b' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2399f6e4' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%235eead4' stop-opacity='.06'/%3E%3C/linearGradient%3E %3C/defs%3E %3Cpath d='M1440 0 C1250 40 1090 150 1040 330 C990 520 1160 700 1440 690 Z' fill='url(%23a)'/%3E %3Cpath d='M1440 120 C1300 150 1180 250 1170 380 C1160 520 1280 620 1440 610 Z' fill='url(%23b)'/%3E %3Cpath d='M-20 640 C180 560 330 640 470 740 L-20 760 Z' fill='url(%23b)' opacity='.7'/%3E %3C/svg%3E") right center / cover no-repeat; pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 mark { background: linear-gradient(90deg, #a7f0e3, #6fe6d3) 0 90% / 100% 34% no-repeat; }
.btn.primary { background: var(--grad-accent); border-color: transparent; box-shadow: 0 12px 26px -12px rgba(15, 118, 110, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.flow-n { background: var(--grad-accent); }
.p-btn { background: var(--grad-accent); }
.pane-foot { background: var(--grad-soft); }
.flow-ui { background: radial-gradient(260px 200px at 100% 0%, rgba(94, 234, 212, 0.32), transparent 70%), linear-gradient(160deg, var(--mint) 0%, var(--bg) 100%); }
.moment { position: relative; overflow: hidden; background:
  radial-gradient(820px 460px at 6% 0%, rgba(45, 212, 191, 0.22), transparent 62%),
  radial-gradient(760px 520px at 100% 100%, rgba(20, 184, 166, 0.2), transparent 62%),
  linear-gradient(165deg, #0d4a47 0%, var(--band) 48%, #072a2a 100%); }
.moment::before { content: ""; position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 34%, #000 62%); mask-image: linear-gradient(90deg, transparent 0, transparent 34%, #000 62%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 760' preserveAspectRatio='xMidYMid slice' fill='none'%3E %3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%235eead4' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%235eead4' stop-opacity='.38'/%3E%3Cstop offset='1' stop-color='%235eead4' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cpath d='M-40 560 C260 430 520 700 820 560 S1260 360 1500 470' stroke='url(%23l)' stroke-width='1.5'/%3E %3Cpath d='M-40 610 C300 470 560 760 880 610 S1280 420 1500 520' stroke='url(%23l)' stroke-width='1.2' opacity='.7'/%3E %3Cpath d='M-40 660 C320 520 600 800 940 660 S1300 480 1500 570' stroke='url(%23l)' stroke-width='1' opacity='.5'/%3E %3Cpath d='M-60 120 C200 40 420 220 700 120 S1180 -20 1500 90' stroke='url(%23l)' stroke-width='1.2' opacity='.5'/%3E %3C/svg%3E") center / cover no-repeat; pointer-events: none; }
.moment > .wrap { position: relative; }
.moment .pane-foot { background: var(--grad-soft); }
.seg input:checked + label { background: linear-gradient(135deg, #99f6e4, #5eead4); }

/* ---------- the end of the page: a brighter teal gradient with the same curved light, flowing into a deep footer ---------- */
.cta-band { position: relative; overflow: hidden; border-top: none; color: var(--band-ink); background:
  radial-gradient(700px 380px at 92% 0%, rgba(94, 234, 212, 0.34), transparent 62%),
  radial-gradient(620px 360px at 0% 100%, rgba(45, 212, 191, 0.22), transparent 62%),
  linear-gradient(135deg, #0f8277 0%, #0d6560 46%, #0a4443 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 30%, #000 60%); mask-image: linear-gradient(90deg, transparent 0, transparent 30%, #000 60%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 760' preserveAspectRatio='xMidYMid slice' fill='none'%3E %3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%235eead4' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%235eead4' stop-opacity='.38'/%3E%3Cstop offset='1' stop-color='%235eead4' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cpath d='M-40 560 C260 430 520 700 820 560 S1260 360 1500 470' stroke='url(%23l)' stroke-width='1.5'/%3E %3Cpath d='M-40 610 C300 470 560 760 880 610 S1280 420 1500 520' stroke='url(%23l)' stroke-width='1.2' opacity='.7'/%3E %3Cpath d='M-40 660 C320 520 600 800 940 660 S1300 480 1500 570' stroke='url(%23l)' stroke-width='1' opacity='.5'/%3E %3Cpath d='M-60 120 C200 40 420 220 700 120 S1180 -20 1500 90' stroke='url(%23l)' stroke-width='1.2' opacity='.5'/%3E %3C/svg%3E") center / cover no-repeat; pointer-events: none; }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #ffffff; }
.cta-band .lede { color: var(--band-ink); }
.cta-band .btn.primary { background: linear-gradient(135deg, #d6fbf3, #5eead4); color: #0b3b3a; border-color: transparent; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.site-footer { border-top: none; background: linear-gradient(180deg, #0a3d3b 0%, #062527 100%); color: var(--band-muted); }
.site-footer .wrap > :first-child { color: #ffffff; }
.site-footer a { color: var(--band-accent); }
