/* ==========================================================================
   Biz in a Box | bespoke landing identity (bizinabox.com.au)
   "Everything your new business needs, switched on."
   Fresh, confident, modern-startup energy. Distinct from the niche framework
   and from the sister sites: geometric display (Space Grotesk) + Inter,
   crisp cool paper, electric-indigo accent + spring-green "live" signal,
   a scroll-driven "switch-on" console centrepiece. No dashboard template.
   ========================================================================== */
:root{
  --bg:        oklch(0.984 0.006 255);
  --bg-2:      oklch(0.962 0.012 258);
  --paper:     oklch(1 0 0);
  --ink:       oklch(0.26 0.035 268);
  --ink-soft:  oklch(0.40 0.030 266);
  --muted:     oklch(0.52 0.026 264);
  --brand:     oklch(0.52 0.21 270);   /* electric indigo */
  --brand-ink: oklch(0.45 0.21 270);
  --brand-deep:oklch(0.27 0.10 272);
  --brand-soft:oklch(0.94 0.035 268);
  --night:     oklch(0.205 0.052 272);
  --night-2:   oklch(0.165 0.045 272);
  --live:      oklch(0.74 0.18 152);   /* spring green = online/live */
  --live-ink:  oklch(0.50 0.15 153);   /* darkened from 0.56 for AA on --live-soft (3.80:1 -> 4.81:1) */
  --live-soft: oklch(0.95 0.05 158);
  --sky:       oklch(0.88 0.07 240);
  --line:      oklch(0.90 0.013 262);
  --line-soft: oklch(0.94 0.010 262);
  --err:       oklch(0.50 0.20 27);    /* form error text/border — 6.4:1 on bg (AA) */
  --on-dark:   oklch(0.97 0.012 260);

  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 16px; --radius-lg: 26px; --radius-sm: 11px;
  --shadow: 0 2px 6px oklch(0.27 0.06 270 / .06), 0 26px 60px -28px oklch(0.27 0.10 270 / .30);
  --shadow-sm: 0 1px 3px oklch(0.27 0.06 270 / .07), 0 12px 26px -18px oklch(0.27 0.10 270 / .22);

  --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.64;
  -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.74 0.18 152 / .35); }

h1,h2,h3,h4{ font-family:var(--display); font-weight:600; line-height:1.05;
  letter-spacing:-0.02em; text-wrap:balance; margin:0; color:var(--ink); }
h1{ font-size:clamp(2.5rem,1.6rem + 4vw,4.7rem); letter-spacing:-0.03em; }
h2{ font-size:clamp(1.95rem,1.4rem + 2.5vw,3.2rem); }
h3{ font-size:clamp(1.22rem,1.06rem + .8vw,1.55rem); }
p{ margin:0; text-wrap:pretty; overflow-wrap:break-word; }
.lead{ font-size:clamp(1.15rem,1.04rem + .55vw,1.45rem); line-height:1.5; color:var(--ink-soft); }

.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,textarea):focus-visible{ outline:3px solid var(--brand); outline-offset:3px; border-radius:6px; }

/* ---------- kicker ---------- */
.kicker{ font-family:var(--sans); font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  font-size:.8rem; color:var(--brand-ink); margin:0 0 1rem; display:inline-flex; gap:.5rem; align-items:center; }
.kicker::before{ content:""; width:24px; height:2px; border-radius:2px; background:var(--brand); flex:none; }

/* ---------- 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:12px; border:1.5px solid transparent;
  text-decoration:none; cursor:pointer; transition:transform .4s var(--ease), background-color .25s, box-shadow .4s, border-color .25s; }
.btn--primary{ background:var(--brand); color:var(--on-dark); box-shadow:0 10px 26px -10px oklch(0.52 0.21 270 / .65); }
.btn--primary:hover{ background:var(--brand-ink); transform:translateY(-2px); box-shadow:0 16px 36px -12px oklch(0.52 0.21 270 / .72); }
.btn--ghost{ background:var(--paper); color:var(--brand-ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--brand); transform:translateY(-2px); }
.btn--lg{ padding:1.06rem 1.85rem; font-size:1.06rem; }
.btn--on-dark{ background:var(--on-dark); color:var(--brand-deep); }
.btn--on-dark:hover{ background:#fff; }
@media (prefers-reduced-motion: reduce){ .btn:hover{ transform:none; } }

/* ---------- header ---------- */
.site{ position:sticky; top:0; z-index:var(--z-nav); background:oklch(0.984 0.006 255 / .82);
  backdrop-filter:blur(12px) saturate(1.4); border-bottom:1px solid transparent; transition:border-color .3s, background-color .3s; }
.site.is-stuck{ border-color:var(--line); }
.site__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(--display); font-weight:600; font-size:1.22rem; letter-spacing:-0.02em; }
.brand__mark{ width:30px; height:30px; flex:none; }
.nav{ display:flex; align-items:center; gap:1.5rem; }
.nav a:not(.btn){ color:var(--ink-soft); text-decoration:none; font-weight:500; font-size:.96rem; }
.nav a:not(.btn):hover,.nav a[aria-current="page"]{ color:var(--brand-ink); }
.nav__toggle{ display:none; font-family:var(--sans); font-weight:600; font-size:.92rem; background:var(--paper);
  border:1.5px solid var(--line); color:var(--ink); padding:.5rem .85rem; border-radius:10px; cursor:pointer; }
@media (max-width:760px){
  .nav__toggle{ display:inline-block; }
  .nav{ position:absolute; top:100%; right:var(--gutter); left:var(--gutter); flex-direction:column; align-items:stretch;
    gap:.4rem; background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:.7rem;
    box-shadow:var(--shadow); display:none; }
  .nav[data-open="true"]{ display:flex; }
  .nav a:not(.btn){ padding:.6rem .7rem; border-radius:9px; }
  .nav a:not(.btn):hover{ background:var(--bg-2); }
  .nav .btn{ justify-content:center; margin-top:.2rem; }
}

/* ---------- hero ---------- */
.hero{ position:relative; padding:clamp(3rem,2.4rem + 5vw,6.5rem) 0 clamp(2.5rem,2rem + 4vw,5rem); overflow:hidden; }
.hero::before{ content:""; position:absolute; inset:-30% -10% auto -10%; height:88%; z-index:-1;
  background:radial-gradient(58% 70% at 78% 14%, oklch(0.88 0.07 240 / .75), transparent 68%),
             radial-gradient(52% 62% at 8% 4%, oklch(0.94 0.035 268 / .9), transparent 64%),
             radial-gradient(40% 50% at 60% 90%, oklch(0.95 0.05 158 / .6), transparent 70%);
  filter:blur(6px); }
.hero__grid{ display:grid; grid-template-columns:1.08fr .92fr; gap:clamp(2rem,4vw,4.5rem); align-items:center; }
@media (max-width:920px){ .hero__grid{ grid-template-columns:1fr; } }
.hero h1{ margin-bottom:1.2rem; }
.hero h1 em{ font-style:normal; color:var(--brand-ink); }
.hero .lead{ max-width:40ch; margin-bottom:1.9rem; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:.9rem; align-items:center; }
.hero__note{ margin-top:1.8rem; color:var(--muted); font-size:.96rem; max-width:46ch;
  padding-left:.9rem; border-left:3px solid var(--live); }

/* hero figure: the "handed over today" setup card */
.hero__fig{ justify-self:center; width:min(100%,440px); }
.dash{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  box-shadow:var(--shadow); padding:1.2rem; position:relative; overflow:hidden; }
.dash::after{ content:""; position:absolute; inset:0 0 auto 0; height:4px;
  background:linear-gradient(90deg, var(--brand), var(--live)); }
.dash__bar{ display:flex; align-items:center; gap:.55rem; font-family:var(--sans); font-weight:600;
  font-size:.86rem; color:var(--brand-ink); margin:.3rem 0 1.1rem; }
.dash__dot{ width:9px; height:9px; border-radius:50%; background:var(--live); flex:none;
  box-shadow:0 0 0 4px oklch(0.74 0.18 152 / .22); }
.dash__rows{ display:grid; gap:.55rem; }
.dashrow{ display:flex; align-items:center; gap:.8rem; background:var(--bg); border:1px solid var(--line-soft);
  border-radius:12px; padding:.7rem .85rem; min-width:0; }
.dashrow__tick{ width:26px; height:26px; flex:none; border-radius:8px; background:var(--live-soft);
  color:var(--live-ink); display:grid; place-items:center; }
.dashrow__tick svg{ width:16px; height:16px; }
.dashrow__lbl{ display:block; font-weight:600; font-size:.94rem; color:var(--ink); }
.dashrow__meta{ display:block; font-size:.8rem; color:var(--muted); overflow-wrap:anywhere; }
.dashrow--next .dashrow__tick{ background:var(--brand-soft); color:var(--brand-ink); }
.dash__alert{ display:flex; align-items:center; gap:.5rem; margin-top:1rem; padding:.7rem .85rem;
  background:var(--live-soft); color:var(--live-ink); border-radius:11px; font-weight:600; font-size:.9rem; }
.dash__alert svg{ flex:none; }

/* ---------- section rhythm ---------- */
.section{ padding:clamp(3.5rem,2.6rem + 4.5vw,7rem) 0; }
.panel{ background:var(--bg-2); }
.section__head{ max-width:46ch; margin-bottom:clamp(1.8rem,3vw,2.8rem); }
.section__head h2{ margin-bottom:.8rem; }
.section__head p{ color:var(--ink-soft); font-size:1.12rem; }

/* ---------- pains grid ---------- */
.pains{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1rem,2.4vw,1.8rem); }
@media (max-width:680px){ .pains{ grid-template-columns:1fr; } }
.pain{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:clamp(1.3rem,2.4vw,1.8rem); box-shadow:var(--shadow-sm); }
.pain h3{ display:flex; align-items:center; gap:.6rem; font-size:1.18rem; margin-bottom:.5rem; }
.pain h3 .x{ width:26px; height:26px; flex:none; border-radius:8px; background:var(--brand-soft);
  color:var(--brand-ink); display:grid; place-items:center; font-family:var(--display); font-weight:700; font-size:1rem; }
.pain p{ color:var(--ink-soft); }

/* ---------- features ---------- */
.feats{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2.4vw,1.8rem); }
@media (max-width:900px){ .feats{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .feats{ grid-template-columns:1fr; } }
.feat{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:clamp(1.3rem,2.4vw,1.7rem); box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:.3rem;
  transition:transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.feat:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:oklch(0.85 0.04 268); }
.feat__ic{ width:30px; height:30px; color:var(--brand); margin-bottom:.55rem; }
.feat h3{ font-size:1.18rem; margin-bottom:.2rem; }
.feat p{ color:var(--ink-soft); font-size:.99rem; }
.feat > div{ min-width:0; }     /* solutions.html wraps icon + text */

/* ---------- compare ---------- */
.compare{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,5vw,4rem); align-items:center; }
@media (max-width:840px){ .compare{ grid-template-columns:1fr; } }
.compare h2{ margin-bottom:1rem; }
.yoy{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(1.6rem,3vw,2.2rem); box-shadow:var(--shadow); min-width:0; }
.yoy__row{ display:flex; align-items:center; gap:.9rem; margin-bottom:.55rem; }
.yoy__yr{ font-family:var(--display); font-weight:700; font-size:.85rem; color:var(--muted); width:38px; flex:none; }
.yoy__track{ flex:1 1 0; min-width:0; height:14px; background:var(--bg-2); border-radius:99px; overflow:hidden; }
.yoy__track i{ display:block; height:100%; border-radius:99px; background:oklch(0.78 0.04 30); }
.yoy__track.now i{ background:linear-gradient(90deg, var(--brand), var(--live)); }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.4rem,3vw,2.6rem); counter-reset:s; }
@media (max-width:780px){ .steps{ grid-template-columns:1fr; gap:0; } }
.step{ counter-increment:s; position:relative; padding-top:1.5rem; border-top:2px solid var(--brand); }
@media (max-width:780px){ .step{ padding:1.5rem 0; border-top:0; } .step + .step{ border-top:1px solid var(--line); } }
.step::before{ content:counter(s); position:absolute; top:-.95rem; left:0; width:1.9rem; height:1.9rem;
  background:var(--brand); color:var(--on-dark); border-radius:9px; display:grid; place-items:center;
  font-family:var(--display); font-weight:700; font-size:1rem; box-shadow:0 6px 16px -6px oklch(0.52 0.21 270 / .6); }
@media (max-width:780px){ .step::before{ position:static; margin-bottom:.7rem; } }
.step h3{ font-size:1.22rem; margin:.6rem 0 .45rem; }
.step p{ color:var(--ink-soft); }

/* ---------- switch-on console (scroll centrepiece) ---------- */
.switch{ background:var(--night); color:var(--on-dark); position:relative; overflow:hidden; }
.switch::before{ content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(42% 34% at 82% 6%, oklch(0.52 0.21 270 / .40), transparent 70%),
             radial-gradient(44% 36% at 8% 96%, oklch(0.74 0.18 152 / .26), transparent 72%); }
.switch .wrap{ position:relative; z-index:1; }
.switch__intro{ max-width:42ch; margin-bottom:clamp(1.6rem,3vw,2.6rem); }
.switch__intro .tag{ font-family:var(--sans); font-weight:600; letter-spacing:.03em; color:var(--sky);
  font-size:.85rem; margin-bottom:.9rem; display:inline-flex; gap:.5rem; align-items:center; text-transform:uppercase; }
.switch__intro h2{ color:var(--on-dark); margin-bottom:.8rem; }
.switch__intro p{ color:oklch(0.84 0.02 260); font-size:1.12rem; }

.switch__cols{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(2rem,5vw,5rem); align-items:start; }
@media (max-width:900px){ .switch__cols{ grid-template-columns:1fr; } }
.switch__stage{ position:sticky; top:12vh; }
@media (max-width:900px){ .switch__stage{ position:sticky; top:64px; } }

/* the console */
.console{ background:linear-gradient(180deg, oklch(0.24 0.05 272), oklch(0.185 0.045 272));
  border:1px solid oklch(1 0 0 / .10); border-radius:22px; padding:1.3rem; box-shadow:0 40px 90px -40px #000; min-width:0; }
.console__head{ display:flex; align-items:center; justify-content:space-between; gap:.8rem;
  padding-bottom:1rem; border-bottom:1px solid oklch(1 0 0 / .10); margin-bottom:1rem; }
.console__head b{ font-family:var(--display); font-weight:600; font-size:.98rem; color:var(--on-dark); }
.console__power{ display:inline-flex; align-items:center; gap:.45rem; font-size:.78rem; font-weight:600;
  letter-spacing:.04em; text-transform:uppercase; color:oklch(0.7 0.03 260); padding:.35rem .7rem;
  border-radius:99px; border:1px solid oklch(1 0 0 / .14); transition:color .5s, border-color .5s, background-color .5s; }
.console__power .led{ width:8px; height:8px; border-radius:50%; background:oklch(0.5 0.02 260); transition:background-color .5s, box-shadow .5s; }
.console.is-live .console__power{ color:oklch(0.92 0.12 152); border-color:oklch(0.74 0.18 152 / .5); background:oklch(0.74 0.18 152 / .12); }
.console.is-live .console__power .led{ background:var(--live); box-shadow:0 0 0 4px oklch(0.74 0.18 152 / .3), 0 0 14px oklch(0.74 0.18 152 / .8); }
.console__rows{ display:grid; gap:.6rem; }
.sw{ display:flex; align-items:center; gap:.85rem; padding:.85rem .9rem; border-radius:13px;
  background:oklch(1 0 0 / .04); border:1px solid oklch(1 0 0 / .07); min-width:0;
  transition:background-color .55s var(--ease), border-color .55s var(--ease); }
.sw__ic{ width:34px; height:34px; flex:none; border-radius:10px; background:oklch(1 0 0 / .07);
  color:oklch(0.72 0.04 260); display:grid; place-items:center; transition:background-color .55s, color .55s; }
.sw__ic svg{ width:19px; height:19px; }
.sw__txt{ min-width:0; flex:1 1 auto; }
.sw__txt b{ display:block; font-family:var(--sans); font-weight:600; font-size:.96rem; color:var(--on-dark); }
.sw__txt small{ display:block; font-size:.8rem; color:oklch(0.7 0.02 260); overflow-wrap:anywhere; transition:color .55s; }
.sw__state{ flex:none; display:inline-flex; align-items:center; gap:.35rem; font-size:.74rem; font-weight:700;
  letter-spacing:.03em; text-transform:uppercase; color:oklch(0.62 0.02 260); transition:color .55s; }
.sw__state .pip{ width:18px; height:18px; border-radius:50%; border:2px solid oklch(0.5 0.02 260);
  display:grid; place-items:center; transition:border-color .55s, background-color .55s; }
.sw__state .pip svg{ width:11px; height:11px; opacity:0; transform:scale(.5); transition:opacity .45s var(--ease) .1s, transform .45s var(--ease) .1s; color:var(--night); }
.sw.is-on{ background:oklch(0.74 0.18 152 / .12); border-color:oklch(0.74 0.18 152 / .35); }
.sw.is-on .sw__ic{ background:oklch(0.74 0.18 152 / .2); color:oklch(0.85 0.14 152); }
.sw.is-on .sw__state{ color:oklch(0.86 0.14 152); }
.sw.is-on .sw__state .pip{ background:var(--live); border-color:var(--live); }
.sw.is-on .sw__state .pip svg{ opacity:1; transform:none; }
.console__foot{ margin-top:1.1rem; padding-top:1rem; border-top:1px solid oklch(1 0 0 / .10);
  display:flex; align-items:center; gap:.6rem; font-size:.86rem; color:oklch(0.74 0.02 260); transition:color .5s; }
.console.is-live .console__foot{ color:oklch(0.88 0.1 152); }
.console__foot .bar{ flex:1 1 0; min-width:0; height:6px; border-radius:99px; background:oklch(1 0 0 / .1); overflow:hidden; }
.console__foot .bar i{ display:block; height:100%; width:0; border-radius:99px;
  background:linear-gradient(90deg, var(--brand), var(--live)); transition:width .6s var(--ease); }

/* the scrolling beats that drive the console */
.swbeats{ display:grid; gap:0; }
.swbeat{ min-height:58vh; display:flex; flex-direction:column; justify-content:center; max-width:34ch; }
.swbeat__n{ font-family:var(--display); font-weight:700; font-size:.86rem; letter-spacing:.06em;
  color:var(--sky); margin-bottom:.7rem; text-transform:uppercase; }
.swbeat.is-live-beat .swbeat__n{ color:oklch(0.82 0.14 152); }
.swbeat h3{ color:var(--on-dark); font-size:clamp(1.45rem,1.15rem + 1.4vw,2.2rem); margin-bottom:.7rem; }
.swbeat p{ color:oklch(0.82 0.02 260); font-size:1.06rem; }
@media (max-width:900px){ .swbeat{ min-height:46vh; max-width:none; } }

/* ---------- proof ---------- */
.proof{ max-width:62ch; }
.proof h2{ margin-bottom:1rem; }
.proof p{ color:var(--ink-soft); }
.stats{ display:flex; flex-wrap:wrap; gap:1rem; margin-top:2rem; }
.stat{ flex:1 1 180px; min-width:0; background:var(--paper); border:1px solid var(--line);
  border-radius:var(--radius); padding:1.2rem 1.3rem; box-shadow:var(--shadow-sm); }
.stat b{ display:block; font-family:var(--display); font-weight:700; font-size:1.6rem; color:var(--brand-ink); letter-spacing:-0.02em; }
.stat span{ display:block; color:var(--muted); font-size:.92rem; margin-top:.25rem; overflow-wrap:break-word; }

/* ---------- faq ---------- */
.faq{ max-width:760px; }
.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(--display); font-weight:600; font-size:1.14rem; 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:-8px;
  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; }

/* ---------- guide tables ---------- */
.section table{ font-family:var(--sans); }
.section th{ font-family:var(--display); font-weight:600; }

/* ---------- cta band ---------- */
.cta{ position:relative; overflow:hidden; }
.cta .wrap{ position:relative; z-index:1; background:linear-gradient(135deg, var(--brand-deep), oklch(0.30 0.13 272));
  color:var(--on-dark); border-radius:var(--radius-lg); padding:clamp(2.4rem,2rem + 4vw,4.2rem);
  text-align:center; overflow:hidden; }
.cta .wrap::before{ content:""; position:absolute; inset:auto -10% -50% -10%; height:80%; z-index:0;
  background:radial-gradient(50% 100% at 50% 100%, oklch(0.74 0.18 152 / .4), transparent 72%); }
.cta h2, .cta p, .cta a{ position:relative; z-index:1; }
.cta h2{ color:var(--on-dark); max-width:20ch; margin:0 auto 1rem; }
.cta p{ color:oklch(0.88 0.02 260); max-width:48ch; margin:0 auto 1.8rem; font-size:1.12rem; }
.cta .btn--primary{ background:var(--on-dark); color:var(--brand-deep); }
.cta .btn--primary:hover{ background:#fff; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(2rem,4vw,3.5rem); align-items:start; }
@media (max-width:840px){ .contact-grid{ grid-template-columns:1fr; } }
.form{ display:grid; gap:1.1rem; margin-top:1.4rem; }
.form__honey{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.field{ display:grid; gap:.4rem; min-width:0; }
.field label{ font-weight:600; font-size:.94rem; color:var(--ink); }
.field .opt{ font-weight:400; color:var(--muted); }
.field input,.field textarea{ font-family:var(--sans); font-size:1rem; color:var(--ink); background:var(--paper);
  border:1.5px solid var(--line); border-radius:12px; padding:.85rem .95rem; width:100%; min-width:0;
  transition:border-color .2s, box-shadow .2s; }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 4px oklch(0.52 0.21 270 / .14); }
.field textarea{ min-height:140px; resize:vertical; }
.form__note{ color:var(--muted); font-size:.86rem; }
.field__err{ color:var(--err); font-size:.84rem; font-weight:600; min-height:0; }
.field__err:empty{ display:none; }
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{ border-color:var(--err); }
.field input[aria-invalid="true"]:focus,.field textarea[aria-invalid="true"]:focus{ box-shadow:0 0 0 4px oklch(0.50 0.20 27 / .14); }
.btn[aria-busy="true"]{ opacity:.85; cursor:progress; }
.aside{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(1.6rem,3vw,2.2rem); box-shadow:var(--shadow-sm); min-width:0; }
.aside h2{ font-size:1.35rem; margin-bottom:1rem; }
.aside dl{ margin:0; display:grid; gap:.2rem; }
.aside dt{ font-weight:700; color:var(--ink); margin-top:.9rem; }
.aside dt:first-of-type{ margin-top:0; }
.aside dd{ margin:0; color:var(--ink-soft); font-size:.96rem; }

/* ---------- footer ---------- */
.foot{ background:var(--night); color:oklch(0.8 0.02 260); padding:clamp(3rem,2rem + 3vw,4.5rem) 0 2.4rem; }
.foot a{ color:oklch(0.86 0.02 260); text-decoration:none; }
.foot a:hover{ color:#fff; }
.foot__top{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:2.2rem; }
.foot__promise{ font-family:var(--display); font-weight:600; font-size:1.5rem; color:var(--on-dark);
  max-width:14ch; line-height:1.1; }
.foot__cols{ display:flex; flex-wrap:wrap; gap:2rem 3rem; }
.foot__col h4{ font-family:var(--sans); font-size:.76rem; text-transform:uppercase; letter-spacing:.08em;
  color:var(--sky); margin:0 0 .85rem; }
.foot__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:.5rem; }
.foot__col li{ font-size:.95rem; color:oklch(0.74 0.02 260); }
.foot__col a{ font-size:.95rem; }
.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.66 0.02 260); font-size:.85rem; }
.foot__bottom a{ color:oklch(0.78 0.02 260); }

/* ---------- reveal motion (visible by default; JS hides only below-fold) ---------- */
.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; }
  .sw, .console__power, .sw__state .pip svg, .console__foot .bar i{ transition:none; }
}

/* ==========================================================================
   .prose — reusable long-form reading layer for article pages
   Same tokens, fonts and palette as the rest of the site; nothing new.
   Centred ~68ch measure, generous rhythm, accessible links + lists,
   styled <details> FAQ, lead treatment. Body text uses --ink-soft on --bg
   (8.81:1, AA+); muted captions/leads stay >= 4.5:1.
   ========================================================================== */
.prose{
  --prose-measure: 68ch;
  max-width: var(--prose-measure);
  margin-inline: auto;
  color: var(--ink-soft);
  font-family: var(--sans);
  line-height: 1.7;
  font-size: clamp(1.04rem, 1.0rem + .2vw, 1.16rem);
  padding-block: clamp(2.5rem, 2rem + 4vw, 4.5rem);
}

/* paragraphs + measure-bound flow */
.prose > * { max-width: var(--prose-measure); }
.prose p{ margin: 0 0 1.1em; color: var(--ink-soft); }
.prose > :first-child{ margin-top: 0; }
.prose > :last-child{ margin-bottom: 0; }

/* lead / first-paragraph treatment — slightly larger, muted, calmer */
.prose > .lead,
.prose > p:first-of-type{
  font-size: clamp(1.18rem, 1.06rem + .55vw, 1.42rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.6em;
}
.prose > .lead{ color: var(--ink-soft); }

/* heading rhythm — display font, generous top, tighter bottom, balanced */
.prose h2,
.prose h3,
.prose h4{
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.prose h2{
  font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.4rem);
  margin: 2.4em 0 .55em;
}
.prose h3{
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.55rem);
  margin: 1.9em 0 .5em;
}
.prose h4{
  font-size: 1.15rem;
  margin: 1.6em 0 .45em;
}
.prose h2 + p,
.prose h3 + p,
.prose h4 + p{ margin-top: 0; }

/* lists — proper indent, accent marker, comfortable li spacing */
.prose ul,
.prose ol{
  margin: 0 0 1.3em;
  padding-left: 1.5em;
}
.prose li{ margin-bottom: .55em; padding-left: .2em; }
.prose li:last-child{ margin-bottom: 0; }
.prose li::marker{ color: var(--brand-ink); font-weight: 600; }
.prose ul li::marker{ color: var(--brand); }
.prose li > ul,
.prose li > ol{ margin: .55em 0 .2em; }

/* links — visible accent, accessible underline with offset */
.prose a{
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: oklch(0.52 0.21 270 / .4);
  text-underline-offset: 3px;
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.prose a:hover{
  color: var(--brand);
  text-decoration-color: currentColor;
}

/* emphasis */
.prose strong{ color: var(--ink); font-weight: 600; }

/* blockquote */
.prose blockquote{
  margin: 1.6em 0;
  padding: .35em 0 .35em 1.25em;
  border-left: 3px solid var(--brand);
  color: var(--ink-soft);
  font-size: 1.08em;
}
.prose blockquote p:last-child{ margin-bottom: 0; }

/* inline + block code */
.prose code{
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .12em .4em;
  color: var(--ink);
}
.prose pre{
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  margin: 0 0 1.3em;
}
.prose pre code{ background: none; border: 0; padding: 0; font-size: .92em; }

/* horizontal rule between major sections */
.prose hr{
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.6em 0;
}

/* styled <details>/<summary> FAQ — rounded, hairline border, open state */
.prose details{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0 1.2rem;
  margin: 0 0 .8rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease);
}
.prose details[open]{ border-color: oklch(0.85 0.04 268); }
.prose summary{
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.15rem 2.4rem 1.15rem 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.08rem, 1.02rem + .3vw, 1.22rem);
  color: var(--ink);
  line-height: 1.3;
  text-wrap: balance;
}
.prose summary::-webkit-details-marker{ display: none; }
.prose summary::after{
  content: "";
  position: absolute;
  right: .35rem;
  top: 1.5rem;
  width: 11px; height: 11px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.prose details[open] summary::after{ transform: rotate(225deg); }
.prose details > :not(summary){ margin-top: 0; }
.prose details > p:last-child{ padding-bottom: 1.2rem; margin-bottom: 0; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .prose a,
  .prose details,
  .prose summary::after{ transition: none; }
}
