/* ==========================================================================
   Case Timeline | bespoke flagship (casetimeline.org.au)
   "Evidence-room calm": deep indigo ink, inkwell-blue brand, one amber
   highlighter accent. Spectral (legal serif) + Inter Tight. A vertical
   timeline RAIL is the recurring motif and the literal output of the demo.
   Distinct from fallmonitoring (cream + Fraunces). No build step.
   ========================================================================== */
:root{
  --bg:        oklch(0.985 0.006 250);
  --bg-2:      oklch(0.965 0.010 255);
  --paper:     oklch(1 0 0);
  --ink:       oklch(0.26 0.040 268);
  --ink-soft:  oklch(0.40 0.035 268);
  --muted:     oklch(0.46 0.028 268);
  --brand:     oklch(0.50 0.130 262);
  --brand-ink: oklch(0.44 0.140 262);
  --brand-deep:oklch(0.28 0.080 266);
  --night:     oklch(0.22 0.055 266);
  --accent:    oklch(0.78 0.150 78);
  --accent-ink:oklch(0.55 0.120 60);
  --ok:        oklch(0.62 0.110 158);
  --ok-ink:    oklch(0.52 0.110 158);   /* sage for text on light (>=4.5:1) */
  --ok-soft:   oklch(0.94 0.030 158);
  --line:      oklch(0.90 0.012 262);
  --on-dark:   oklch(0.96 0.010 255);

  --tag-medical:  oklch(0.55 0.090 200);
  --tag-police:   oklch(0.50 0.110 275);
  --tag-message:  oklch(0.55 0.110 305);
  --tag-document: oklch(0.58 0.110 70);
  --tag-other:    oklch(0.52 0.030 268);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1140px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --radius: 16px; --radius-lg: 26px; --radius-sm: 10px;
  --shadow: 0 2px 6px oklch(0.28 0.06 266 / .06), 0 24px 60px -26px oklch(0.28 0.08 266 / .30);
  --shadow-sm: 0 1px 3px oklch(0.28 0.06 266 / .07), 0 10px 26px -16px oklch(0.28 0.08 266 / .24);

  --z-nav:200;
  --ease: cubic-bezier(.16,1,.3,1);
}
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:clamp(1.02rem,.99rem + .18vw,1.13rem); line-height:1.62;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{ max-width:100%; display:block; }
a{ color:var(--brand-ink); }
::selection{ background:oklch(0.78 0.150 78 / .55); }

h1,h2,h3{ font-family:var(--serif); font-weight:500; line-height:1.05;
  letter-spacing:-0.012em; text-wrap:balance; margin:0; color:var(--ink); }
h1{ font-size:clamp(2.5rem,1.7rem + 3.8vw,4.7rem); font-weight:500; }
h2{ font-size:clamp(1.95rem,1.4rem + 2.4vw,3.2rem); }
h3{ font-size:clamp(1.28rem,1.1rem + .8vw,1.65rem); }
p{ margin:0; text-wrap:pretty; }
.lead{ font-size:clamp(1.16rem,1.04rem + .55vw,1.45rem); line-height:1.5; color:var(--ink-soft); }
em{ font-style:italic; }

.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.measure{ max-width:62ch; }
.skip{ position:absolute; left:-999px; }
.skip:focus{ left:1rem; top:1rem; z-index:999; background:var(--ink); color:#fff; padding:.7rem 1rem; border-radius:8px; }
:where(a,button,summary,input,select,textarea):focus-visible{ outline:3px solid var(--brand); outline-offset:2px; border-radius:6px; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:.5rem; font-family:var(--sans); font-weight:600; white-space:nowrap;
  font-size:1rem; line-height:1; padding:.92rem 1.5rem; border-radius:999px; border:1.5px solid transparent;
  text-decoration:none; cursor:pointer; transition:transform .35s var(--ease), background-color .25s, box-shadow .4s, border-color .25s; }
.btn--primary{ background:var(--brand); color:var(--on-dark); box-shadow:0 8px 24px -10px oklch(0.50 0.130 262 / .55); }
.btn--primary:hover{ background:var(--brand-ink); transform:translateY(-2px); box-shadow:0 14px 34px -10px oklch(0.50 0.130 262 / .65); }
.btn--ghost{ background:transparent; color:var(--brand-ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--brand); transform:translateY(-2px); }
.btn--accent{ background:var(--accent); color:oklch(0.27 0.07 70); box-shadow:0 8px 24px -10px oklch(0.78 0.150 78 / .6); }
.btn--accent:hover{ background:oklch(0.82 0.150 80); transform:translateY(-2px); }
.btn--lg{ padding:1.08rem 1.85rem; font-size:1.06rem; }
.btn--on-dark{ background:var(--on-dark); color:var(--brand-deep); }
.btn--on-dark:hover{ background:#fff; }
.btn--sm{ padding:.6rem 1rem; font-size:.92rem; min-height:44px; }
.textlink{ color:var(--brand-ink); font-weight:600; text-decoration:none; border-bottom:2px solid oklch(0.78 0.150 78 / .55); padding-bottom:1px; transition:border-color .25s; }
.textlink:hover{ border-color:var(--brand); }
@media (prefers-reduced-motion: reduce){ .btn:hover{ transform:none; } }

/* ---------- header ---------- */
.nav{ position:sticky; top:0; z-index:var(--z-nav); background:oklch(0.985 0.006 250 / .82); backdrop-filter:blur(12px) saturate(1.3);
  border-bottom:1px solid transparent; transition:border-color .3s, background-color .3s; }
.nav.is-stuck{ border-color:var(--line); }
.nav__in{ display:flex; align-items:center; justify-content:space-between; min-height:70px; gap:1rem; }
.brand{ display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--ink); font-family:var(--serif); font-weight:600; font-size:1.28rem; letter-spacing:-0.01em; }
.brand svg{ width:30px; height:30px; flex:none; }
.nav__links{ display:flex; align-items:center; gap:1.4rem; }
.nav__links a:not(.btn){ color:var(--ink-soft); text-decoration:none; font-weight:500; font-size:.96rem; }
.nav__links a:not(.btn):hover{ color:var(--brand-ink); }
.nav__toggle{ display:none; }
@media (max-width:720px){
  /* This site had NO mobile nav: the rule replaced here hid every non-button nav
     link below 720px, and no toggle existed in the markup, the CSS or the JS, so
     only the CTA button survived. Same pattern now used across the estate.
     `:not([hidden])` keeps the control honest: the script strips `hidden` as it
     attaches the handler, so the button never appears unless it actually works. */
  .nav__toggle:not([hidden]){ display:inline-flex; align-items:center; gap:.4rem; font-family:var(--sans); font-weight:600; font-size:.95rem;
    background:var(--paper); color:var(--brand-ink); border:1.5px solid var(--line); border-radius:999px; padding:.55rem .95rem; cursor:pointer; min-height:44px; flex:none; }
  .nav__links{ position:absolute; top:100%; right:var(--gutter); left:var(--gutter); flex-direction:column; align-items:stretch; gap:.3rem;
    background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); margin-top:.4rem;
    max-height:0; overflow:hidden; opacity:0; pointer-events:none; padding:0 .7rem;
    /* visibility, not opacity alone: a collapsed drawer that is merely transparent
       still leaves its links in the tab order. Untransitioned so closing is instant. */
    visibility:hidden; transition:max-height .3s var(--ease), opacity .25s; }
  .nav__links[data-open="true"]{ max-height:380px; overflow:auto; opacity:1; pointer-events:auto; padding:.7rem; visibility:visible; }
  .nav__links a:not(.btn){ display:flex; align-items:center; min-height:44px; padding:.55rem .7rem; border-radius:10px; font-size:1rem; }
  .nav__links a:not(.btn):hover{ background:var(--bg-2); }
  .nav__links .btn{ justify-content:center; min-height:44px; }
}
@media (max-width:720px) and (prefers-reduced-motion: reduce){
  .nav__links, .nav__links[data-open="true"]{ transition:none; }
}
@media (max-width:380px){
  .nav__in{ gap:.6rem; }
  .brand{ font-size:1.1rem; }
  .brand svg{ width:26px; height:26px; }
  .nav__links{ gap:.8rem; }
  .nav__links .btn{ padding:.55rem .8rem; font-size:.88rem; }
}

/* ---------- hero ---------- */
.hero{ position:relative; padding:clamp(3rem,2.5rem + 5vw,6.5rem) 0 clamp(2.5rem,2rem + 4vw,5rem); overflow:hidden; }
.hero::before{ content:""; position:absolute; inset:-25% -10% auto -10%; height:85%; z-index:-1;
  background:radial-gradient(55% 65% at 78% 14%, oklch(0.78 0.150 78 / .28), transparent 70%),
             radial-gradient(50% 60% at 8% 4%, oklch(0.50 0.130 262 / .16), transparent 66%);
  filter:blur(6px); }
.hero__in{ display:grid; grid-template-columns:1.08fr .92fr; gap:clamp(2rem,4vw,4.5rem); align-items:center; }
@media (max-width:940px){ .hero__in{ grid-template-columns:1fr; } }
.hero__eyebrow{ display:inline-flex; align-items:center; gap:.5rem; font-weight:600; font-size:.9rem; letter-spacing:.01em;
  color:var(--brand-ink); background:var(--bg-2); border:1px solid var(--line); border-radius:999px; padding:.4rem .9rem; margin-bottom:1.3rem; }
.hero__eyebrow svg{ width:16px; height:16px; color:var(--accent-ink); }
.hero h1{ margin-bottom:1.2rem; }
.hero h1 em{ color:var(--brand-ink); position:relative; white-space:nowrap; }
.hero h1 em::after{ content:""; position:absolute; left:-.04em; right:-.04em; bottom:.08em; height:.34em; z-index:-1;
  background:oklch(0.78 0.150 78 / .55); border-radius:3px; }
.hero .lead{ max-width:40ch; margin-bottom:1.9rem; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:.9rem; align-items:center; }
.hero__reassure{ margin-top:1.9rem; display:flex; flex-wrap:wrap; gap:.55rem 1.3rem; color:var(--muted); font-size:.95rem; font-weight:500; }
.hero__reassure span{ display:inline-flex; align-items:center; gap:.45rem; }
.hero__reassure svg{ width:18px; height:18px; color:var(--ok); flex:none; }

/* hero art: a quiet timeline rail with three nodes drawing in */
.railart{ position:relative; justify-self:center; width:min(100%,420px); background:var(--paper);
  border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:1.6rem 1.5rem 1.7rem; }
.railart__hd{ font-family:var(--sans); font-weight:600; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:1.2rem; display:flex; align-items:center; gap:.5rem; }
.railart__hd span{ width:8px; height:8px; border-radius:50%; background:var(--ok); }
.railnode{ position:relative; padding:0 0 1.25rem 2.1rem; }
.railnode:last-child{ padding-bottom:0; }
.railnode::before{ content:""; position:absolute; left:7px; top:18px; bottom:-2px; width:2px; background:var(--line); }
.railnode:last-child::before{ display:none; }
.railnode::after{ content:""; position:absolute; left:0; top:5px; width:16px; height:16px; border-radius:50%;
  background:var(--paper); border:3px solid var(--brand); }
.railnode.is-mark::after{ border-color:var(--accent-ink); background:var(--accent); }
.railnode time{ font-family:var(--sans); font-weight:600; font-size:.82rem; color:var(--brand-ink); display:block; margin-bottom:.15rem; }
.railnode b{ font-family:var(--sans); font-weight:600; font-size:1rem; color:var(--ink); display:block; }
.railnode small{ color:var(--muted); font-size:.86rem; }
.railart .draw{ opacity:0; transform:translateX(8px); animation:drawin .6s var(--ease) forwards; }
.railart .draw.d1{ animation-delay:.15s; } .railart .draw.d2{ animation-delay:.4s; } .railart .draw.d3{ animation-delay:.65s; }
@keyframes drawin{ to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .railart .draw{ opacity:1; transform:none; animation:none; } }

/* ---------- section rhythm ---------- */
.section{ padding:clamp(3.5rem,3rem + 4vw,7rem) 0; }
.section--tint{ background:var(--bg-2); }
.section__lead{ max-width:42ch; margin-bottom:clamp(2rem,4vw,3rem); }
.section__lead h2{ margin-bottom:1rem; }
.section__lead p{ color:var(--ink-soft); font-size:1.16rem; }
.section__lead.center{ margin-inline:auto; text-align:center; }

/* ---------- the demo (centrepiece) ---------- */
.demo{ position:relative; }
.demo__head{ max-width:46ch; margin-bottom:1.8rem; }
.demo__head h2{ margin-bottom:.7rem; }
.demo__head p{ color:var(--ink-soft); }
.demo__grid{ display:grid; grid-template-columns:.92fr 1.08fr; gap:clamp(1.4rem,3vw,2.6rem); align-items:start; }
@media (max-width:880px){ .demo__grid{ grid-template-columns:1fr; } }

.builder{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:clamp(1.3rem,2.4vw,1.9rem); position:sticky; top:88px; }
@media (max-width:880px){ .builder{ position:static; } }
.builder h3{ font-size:1.25rem; margin-bottom:.3rem; }
.builder__sub{ color:var(--muted); font-size:.92rem; margin-bottom:1.2rem; }
.field{ margin-bottom:.95rem; }
.field label{ display:block; font-weight:600; font-size:.86rem; color:var(--ink-soft); margin-bottom:.35rem; }
.field input,.field textarea,.field select{ width:100%; font-family:var(--sans); font-size:1rem; color:var(--ink);
  background:var(--bg); border:1.5px solid var(--line); border-radius:var(--radius-sm); padding:.7rem .8rem; transition:border-color .2s, box-shadow .2s; }
.field input:focus,.field textarea:focus,.field select:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px oklch(0.50 0.130 262 / .14); }
.field input::placeholder,.field textarea::placeholder{ color:var(--muted); opacity:1; }
.field textarea{ resize:vertical; min-height:62px; }
.field--row{ display:grid; grid-template-columns:1fr 1fr; gap:.8rem; }
@media (max-width:420px){ .field--row{ grid-template-columns:1fr; } }
.builder__actions{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:.4rem; }
.builder__msg{ min-height:1.2rem; font-size:.86rem; color:var(--accent-ink); font-weight:600; margin-top:.6rem; }
.builder__msg.is-ok{ color:var(--ok-ink); }

.tline{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:clamp(1.2rem,2.4vw,1.8rem); min-height:280px; }
.tline__bar{ display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1.2rem; }
.tline__bar h3{ font-size:1.2rem; }
.tline__count{ font-family:var(--sans); font-size:.86rem; color:var(--muted); font-weight:500; }
.tline__tools{ display:flex; gap:.5rem; flex-wrap:wrap; }
.tline__list{ list-style:none; margin:0; padding:0; }
.tline__empty{ color:var(--muted); text-align:center; padding:2.5rem 1rem; }
.tline__empty svg{ width:42px; height:42px; color:var(--line); margin:0 auto .8rem; }
.yearhd{ font-family:var(--sans); font-weight:700; font-size:.8rem; letter-spacing:.06em; color:var(--muted); text-transform:uppercase; margin:1.1rem 0 .6rem; padding-left:2rem; }
.yearhd:first-child{ margin-top:0; }

.ev{ position:relative; padding:0 0 1rem 2rem; }
.ev::before{ content:""; position:absolute; left:6px; top:20px; bottom:-2px; width:2px; background:var(--line); }
.ev:last-child::before{ display:none; }
.ev__dot{ position:absolute; left:0; top:5px; width:15px; height:15px; border-radius:50%; background:var(--paper);
  border:3px solid var(--brand); }
.ev__card{ background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:.75rem .9rem; }
.ev__top{ display:flex; align-items:baseline; justify-content:space-between; gap:.6rem; }
.ev time{ font-family:var(--sans); font-weight:600; font-size:.84rem; color:var(--brand-ink); }
.ev__title{ font-weight:600; font-size:1.02rem; color:var(--ink); margin:.15rem 0; overflow-wrap:anywhere; }
.ev__note{ color:var(--ink-soft); font-size:.92rem; overflow-wrap:anywhere; }
.ev__src{ color:var(--muted); font-size:.84rem; overflow-wrap:anywhere; margin-bottom:.25rem; }
.ev__tag{ display:inline-flex; align-items:center; gap:.35rem; font-size:.74rem; font-weight:700; letter-spacing:.02em;
  text-transform:uppercase; color:#fff; padding:.18rem .5rem; border-radius:999px; }
.ev__tag::before{ content:""; width:6px; height:6px; border-radius:50%; background:oklch(1 0 0 / .8); }
.ev__rm{ background:none; border:0; color:var(--muted); cursor:pointer; font-size:.82rem; padding:.2rem .3rem; border-radius:6px; transition:color .2s, background-color .2s; flex:none; display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; margin:-.7rem -.3rem; }
.ev__rm:hover{ color:oklch(0.55 0.16 25); background:oklch(0.55 0.16 25 / .08); }
/* FLIP-friendly enter/leave */
.ev.is-enter{ animation:evin .5s var(--ease); }
.ev.is-leave{ animation:evout .35s var(--ease) forwards; }
@keyframes evin{ from{ opacity:0; transform:translateY(14px) scale(.98); } to{ opacity:1; transform:none; } }
@keyframes evout{ to{ opacity:0; transform:translateX(18px); } }
@media (prefers-reduced-motion: reduce){ .ev.is-enter,.ev.is-leave{ animation:none; } }
.demo__note{ margin-top:1.1rem; display:flex; gap:.6rem; align-items:flex-start; color:var(--muted); font-size:.9rem; max-width:62ch; }
.demo__note svg{ width:18px; height:18px; color:var(--ok); flex:none; margin-top:.15rem; }

/* ---------- how it works (rail of steps) ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.4rem,3vw,2.6rem); margin-top:clamp(2rem,4vw,3rem); counter-reset:s; }
@media (max-width:820px){ .steps{ grid-template-columns:1fr; gap:0; } }
.step{ counter-increment:s; position:relative; padding-top:2.6rem; }
.step::before{ content:none; position:absolute; top:0; left:0; width:42px; height:42px; border-radius:50%;
  display:grid; place-items:center; font-family:var(--serif); font-size:1.25rem; font-weight:600; color:var(--brand-ink);
  background:var(--bg-2); border:2px solid var(--brand); }
@media (max-width:820px){ .step{ padding:1.5rem 0 1.5rem 3.4rem; } .step + .step{ border-top:1px solid var(--line); } .step::before{ top:1.5rem; } }
.step h3{ font-size:1.28rem; margin:.2rem 0 .5rem; }
.step p{ color:var(--ink-soft); }

/* ---------- use cases ---------- */
.uses{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1.1rem; margin-top:clamp(1.8rem,3vw,2.6rem); }
.use{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); padding:1.4rem 1.3rem;
  transition:transform .35s var(--ease), box-shadow .4s, border-color .25s; }
.use:hover{ transform:translateY(-3px); box-shadow:var(--shadow-sm); border-color:oklch(0.84 0.03 262); }
.use__ic{ width:46px; height:46px; border-radius:13px; background:var(--bg-2); display:grid; place-items:center; color:var(--brand); margin-bottom:.9rem; }
.use__ic svg{ width:24px; height:24px; }
.use h3{ font-size:1.18rem; line-height:1.3; margin-bottom:.55rem; }
/* card titles are not inline-prose links: no border-bottom (which strikes through wrapped 2-line titles) */
.use h3 a{ color:var(--brand-ink); font-weight:600; text-decoration:none; border-bottom:0; padding-bottom:0; }
.use h3 a:hover{ color:var(--brand); text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:3px; }
.use p{ color:var(--ink-soft); font-size:.97rem; }
@media (prefers-reduced-motion: reduce){ .use:hover{ transform:none; } }

/* ---------- privacy band ---------- */
.privacy{ background:linear-gradient(135deg, var(--brand), var(--brand-deep)); color:var(--on-dark); border-radius:var(--radius-lg); padding:clamp(2.2rem,2rem + 3.5vw,4rem); position:relative; overflow:hidden; }
.privacy::after{ content:""; position:absolute; right:-8%; top:-30%; width:46%; aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle, oklch(0.78 0.150 78 / .26), transparent 68%); }
.privacy__in{ position:relative; display:grid; grid-template-columns:auto 1fr; gap:1.6rem; align-items:start; }
@media (max-width:640px){ .privacy__in{ grid-template-columns:1fr; } }
.privacy__lock{ width:60px; height:60px; flex:none; border-radius:17px; background:oklch(1 0 0 / .14); border:1px solid oklch(1 0 0 / .24); display:grid; place-items:center; color:var(--on-dark); }
.privacy__lock svg{ width:30px; height:30px; }
.privacy h2{ color:var(--on-dark); margin-bottom:.9rem; max-width:20ch; }
.privacy p{ color:oklch(0.92 0.02 255); max-width:56ch; font-size:1.12rem; }
.privacy__chips{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.5rem; }
.privacy__chips span{ background:oklch(1 0 0 / .14); border:1px solid oklch(1 0 0 / .24); border-radius:999px; padding:.45rem 1rem; font-size:.9rem; font-weight:500; display:inline-flex; align-items:center; gap:.45rem; }
.privacy__chips svg{ width:15px; height:15px; }

/* ---------- disclaimer ---------- */
.disclaim{ display:grid; grid-template-columns:auto 1fr; gap:1.1rem; align-items:start;
  background:var(--ok-soft); border:1px solid oklch(0.80 0.06 158); border-radius:var(--radius-lg); padding:clamp(1.3rem,2.4vw,1.8rem); }
@media (max-width:560px){ .disclaim{ grid-template-columns:1fr; } }
.disclaim__ic{ width:44px; height:44px; flex:none; border-radius:12px; background:var(--paper); display:grid; place-items:center; color:var(--ok); box-shadow:var(--shadow-sm); }
.disclaim__ic svg{ width:24px; height:24px; }
.disclaim h3{ font-size:1.2rem; margin-bottom:.3rem; }
.disclaim p{ color:var(--ink-soft); font-size:.98rem; max-width:64ch; }

/* ---------- faq ---------- */
.faq{ max-width:760px; margin-top:2.2rem; }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; padding:1.3rem 2.5rem 1.3rem 0; position:relative; font-family:var(--serif); font-weight:600; font-size:1.18rem; color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:""; position:absolute; right:.3rem; top:50%; width:12px; height:12px; margin-top:-7px;
  border-right:2px solid var(--brand); border-bottom:2px solid var(--brand); transform:rotate(45deg); transition:transform .3s var(--ease); }
.faq details[open] summary::after{ transform:rotate(225deg); }
.faq p{ color:var(--ink-soft); padding-bottom:1.3rem; max-width:66ch; }

/* ---------- closing CTA ---------- */
.close{ text-align:center; position:relative; overflow:hidden; }
.close::before{ content:""; position:absolute; inset:auto -10% -40% -10%; height:70%; z-index:-1;
  background:radial-gradient(50% 100% at 50% 100%, oklch(0.78 0.150 78 / .4), transparent 72%); }
.close h2{ max-width:20ch; margin:0 auto 1.1rem; }
.close p{ max-width:48ch; margin:0 auto 1.9rem; color:var(--ink-soft); font-size:1.16rem; }
.close__cta{ display:flex; gap:.9rem; justify-content:center; flex-wrap:wrap; }

/* ---------- generic prose (guide / contact) ---------- */
.prose{ max-width:70ch; }
.prose h2{ margin:2.4rem 0 .9rem; }
.prose h3{ margin:1.8rem 0 .6rem; }
.prose p{ color:var(--ink-soft); margin-bottom:1rem; }
.prose ul,.prose ol{ color:var(--ink-soft); margin:0 0 1.2rem; padding-left:1.3rem; }
.prose li{ margin-bottom:.5rem; }
.prose strong{ color:var(--ink); }
.callout{ position:relative; background:oklch(0.965 0.026 80); border:1px solid oklch(0.86 0.06 78); border-radius:var(--radius); padding:1.1rem 1.3rem 1.1rem 2.9rem; margin:1.6rem 0; }
.callout::before{ content:""; position:absolute; left:1.15rem; top:1.35rem; width:9px; height:9px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px oklch(0.78 0.150 78 / .22); }
.callout p{ margin:0; color:var(--ink-soft); }

/* ---------- contact ---------- */
.contact__grid{ display:grid; grid-template-columns:1fr .85fr; gap:clamp(2rem,4vw,3.5rem); align-items:start; }
@media (max-width:820px){ .contact__grid{ grid-template-columns:1fr; } }
.form{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:clamp(1.4rem,2.6vw,2rem); }
.form .field--row{ grid-template-columns:1fr 1fr; }
@media (max-width:520px){ .form .field--row{ grid-template-columns:1fr; } }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.aside-card{ background:var(--bg-2); border:1px solid var(--line); border-radius:var(--radius-lg); padding:1.5rem; margin-bottom:1.2rem; }
.aside-card h3{ font-size:1.15rem; margin-bottom:.5rem; }
.aside-card p{ color:var(--ink-soft); font-size:.97rem; }
.aside-card a{ font-weight:600; }

/* ---------- footer ---------- */
.foot{ background:var(--night); color:oklch(0.82 0.02 255); padding:clamp(3rem,2rem + 3vw,4.5rem) 0 2.4rem; }
.foot a{ color:oklch(0.9 0.02 255); }
.foot__top{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:2.5rem; }
.foot__brand{ max-width:32ch; }
.foot__brand .brand{ color:var(--on-dark); }
.foot__brand p{ margin-top:.9rem; color:oklch(0.76 0.02 255); font-size:.95rem; }
.foot__cols{ display:flex; flex-wrap:wrap; gap:2.5rem 3.5rem; }
.foot__col h4{ font-family:var(--sans); font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; color:var(--accent); margin:0 0 .9rem; }
.foot__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.foot__col a{ text-decoration:none; font-size:.95rem; }
.foot__col a:hover{ color:#fff; }
.foot__bottom{ border-top:1px solid oklch(1 0 0 / .12); margin-top:2.6rem; padding-top:1.5rem; display:flex; flex-wrap:wrap; gap:.6rem 1.6rem; justify-content:space-between; color:oklch(0.68 0.02 255); font-size:.85rem; }
.foot__bottom a{ color:oklch(0.8 0.02 255); }
.foot__disclaim{ margin-top:1rem; color:oklch(0.66 0.02 255); font-size:.82rem; max-width:70ch; }

/* ---------- reveal motion ---------- */
.reveal{ transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-pending{ opacity:0; transform:translateY(22px); }
@media (prefers-reduced-motion: reduce){ .reveal.is-pending{ opacity:1; transform:none; } }

/* print-friendly export view */
@media print{
  .nav,.foot,.builder,.demo__note,.tline__tools,.ev__rm,.hero__cta,.close{ display:none !important; }
  body{ background:#fff; color:#000; }
  .tline{ border:0; box-shadow:none; }
}

/* --- Emil press-feedback: buttons respond to press (2026-07-21) --- */
.btn{transition:transform .16s cubic-bezier(.16,1,.3,1),background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.btn:active{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){.btn{transition:background-color .16s ease,border-color .16s ease,color .16s ease}.btn:active{transform:none}}
