/* ==========================================================================
   Instda design system — v1 (2026-08-17)
   Replaces: Bootstrap 5.2.3 + Bootstrap Icons + Plus Jakarta Sans (Google Fonts)
   No third-party requests. Icons are inline SVG.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root{
  /* Neutrals — cool, biased a few degrees toward the teal accent so the
     greys read as chosen rather than inherited. */
  --ground:      #f2f5f6;
  --surface:     #ffffff;
  --surface-2:   #f7fafa;
  --surface-3:   #e9eff0;
  --line:        #d7e0e2;
  --line-soft:   #e6ecee;

  --ink:         #0c1618;
  --ink-2:       #44585c;
  --ink-3:       #6f8388;

  /* Single accent. Everything else stays quiet. */
  --accent:      #00776e;
  --accent-2:    #00958a;
  --accent-ink:  #ffffff;
  --accent-soft: #dcefed;
  --accent-line: #a8d5d0;

  --ok:          #17663f;
  --ok-bg:       #e3f3ea;
  --warn:        #8a5a0a;
  --warn-bg:     #fbf1dc;
  --danger:      #a3261c;
  --danger-bg:   #fbeae7;

  --chrome:      #0c1618;   /* footer / dark chrome ground */
  --chrome-ink:  #dfe9ea;
  --chrome-ink2: #8fa4a7;
  --chrome-line: #23383b;

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo,
          Consolas, monospace;

  --r:    4px;    /* base radius — crisp, not pill-soft */
  --r-lg: 8px;
  --shadow-1: 0 1px 2px rgba(12,22,24,.06), 0 1px 3px rgba(12,22,24,.04);
  --shadow-2: 0 4px 16px rgba(12,22,24,.08), 0 1px 3px rgba(12,22,24,.05);
  --shadow-3: 0 12px 40px rgba(12,22,24,.14);

  --maxw: 1120px;
  --readw: 68ch;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ground:      #0a1113;
    --surface:     #111b1e;
    --surface-2:   #162327;
    --surface-3:   #1d2c30;
    --line:        #26383c;
    --line-soft:   #1c2b2f;

    --ink:         #e6eeef;
    --ink-2:       #a7babd;
    --ink-3:       #7a8f93;

    --accent:      #2fb5a6;
    --accent-2:    #48cbbb;
    --accent-ink:  #04211e;
    --accent-soft: #0e2f2c;
    --accent-line: #1e514b;

    --ok:          #6cc795;
    --ok-bg:       #122b1f;
    --warn:        #e8b45f;
    --warn-bg:     #2c2110;
    --danger:      #ff9083;
    --danger-bg:   #2f1714;

    --chrome:      #070d0f;
    --chrome-ink:  #dfe9ea;
    --chrome-ink2: #82989c;
    --chrome-line: #1b2a2d;

    --shadow-1: 0 1px 2px rgba(0,0,0,.4);
    --shadow-2: 0 4px 16px rgba(0,0,0,.45);
    --shadow-3: 0 12px 40px rgba(0,0,0,.55);
  }
}

:root[data-theme="dark"]{
  --ground:#0a1113; --surface:#111b1e; --surface-2:#162327; --surface-3:#1d2c30;
  --line:#26383c; --line-soft:#1c2b2f;
  --ink:#e6eeef; --ink-2:#a7babd; --ink-3:#7a8f93;
  --accent:#2fb5a6; --accent-2:#48cbbb; --accent-ink:#04211e;
  --accent-soft:#0e2f2c; --accent-line:#1e514b;
  --ok:#6cc795; --ok-bg:#122b1f; --warn:#e8b45f; --warn-bg:#2c2110;
  --danger:#ff9083; --danger-bg:#2f1714;
  --chrome:#070d0f; --chrome-ink:#dfe9ea; --chrome-ink2:#82989c; --chrome-line:#1b2a2d;
  --shadow-1:0 1px 2px rgba(0,0,0,.4);
  --shadow-2:0 4px 16px rgba(0,0,0,.45);
  --shadow-3:0 12px 40px rgba(0,0,0,.55);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0; background:var(--ground); color:var(--ink);
  font-family:var(--sans); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  display:flex; flex-direction:column; min-height:100vh;
}
img,svg,video{display:block; max-width:100%;}
img{height:auto;}
button,input,select,textarea{font:inherit; color:inherit;}
a{color:var(--accent); text-decoration:none;}
a:hover{text-decoration:underline; text-underline-offset:2px;}
:focus-visible{outline:2px solid var(--accent-2); outline-offset:3px; border-radius:2px;}
h1,h2,h3,h4{margin:0; line-height:1.18; letter-spacing:-.02em; text-wrap:balance; font-weight:700;}
p{margin:0;}
ul,ol{margin:0; padding:0;}
main{flex:1 0 auto;}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important; animation-iteration-count:1!important;
    transition-duration:.01ms!important; scroll-behavior:auto!important;}
}

/* ---------- 3. Layout helpers -------------------------------------------- */
.wrap{width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:20px;}
.wrap--narrow{max-width:860px;}
.stack{display:flex; flex-direction:column;}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip{
  position:absolute; left:12px; top:-56px; z-index:100;
  background:var(--accent); color:var(--accent-ink); padding:10px 16px;
  border-radius:var(--r); font-weight:600; transition:top .16s ease;
}
.skip:focus{top:12px; text-decoration:none;}

/* ---------- 4. Header ---------------------------------------------------- */
.hdr{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
@supports not (backdrop-filter:blur(1px)){ .hdr{background:var(--surface);} }
.hdr__in{display:flex; align-items:center; gap:20px; height:60px;}
.brand{display:flex; align-items:center; gap:9px; font-weight:800; font-size:18px;
  letter-spacing:-.03em; color:var(--ink); flex:0 0 auto;}
.brand:hover{text-decoration:none;}
.brand__mark{
  width:28px; height:28px; border-radius:var(--r);
  background:linear-gradient(145deg, var(--accent-2), var(--accent));
  display:grid; place-items:center; color:var(--accent-ink); flex:0 0 auto;
}
.brand__mark svg{width:16px; height:16px;}

.nav{display:flex; align-items:center; gap:2px; margin-left:auto;}
.nav__link{
  display:flex; align-items:center; gap:5px;
  padding:8px 12px; border-radius:var(--r); font-size:14.5px; font-weight:550;
  color:var(--ink-2); background:none; border:0; cursor:pointer;
}
.nav__link:hover{background:var(--surface-3); color:var(--ink); text-decoration:none;}
.nav__link[aria-current="page"]{color:var(--accent); background:var(--accent-soft);}
.nav__link svg{width:13px; height:13px; opacity:.65;}

/* Tools dropdown */
.drop{position:relative;}
.drop__panel{
  position:absolute; top:calc(100% + 8px); right:0; z-index:60;
  width:min(94vw,420px); padding:8px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow-3);
  display:grid; grid-template-columns:1fr 1fr; gap:2px;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .14s ease, transform .14s ease, visibility .14s;
}
.drop[data-open="true"] .drop__panel{opacity:1; visibility:visible; transform:none;}
.drop__item{
  display:flex; align-items:center; gap:10px; padding:9px 10px;
  border-radius:var(--r); color:var(--ink-2); font-size:14px; font-weight:550;
}
.drop__item:hover{background:var(--surface-3); color:var(--ink); text-decoration:none;}
.drop__item svg{width:16px; height:16px; color:var(--accent); flex:0 0 auto;}

.icon-btn{
  display:grid; place-items:center; width:36px; height:36px; flex:0 0 auto;
  border:1px solid var(--line); border-radius:var(--r);
  background:var(--surface); color:var(--ink-2); cursor:pointer;
}
.icon-btn:hover{background:var(--surface-3); color:var(--ink);}
.icon-btn svg{width:16px; height:16px;}
.nav-toggle{display:none;}

@media (max-width:860px){
  .nav-toggle{display:grid;}
  .nav{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:2px; padding:10px 16px 16px;
    background:var(--surface); border-bottom:1px solid var(--line);
    box-shadow:var(--shadow-2); display:none;
  }
  .hdr[data-nav="open"] .nav{display:flex;}
  .drop__panel{
    position:static; width:auto; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:0; padding:2px 0 2px 12px; background:none;
    display:none;
  }
  .drop[data-open="true"] .drop__panel{display:grid;}
}

/* ---------- 5. Hero ------------------------------------------------------ */
.hero{padding:clamp(36px,6vw,68px) 0 clamp(28px,4vw,40px); text-align:center;}
.hero h1{font-size:clamp(30px,5.4vw,50px); letter-spacing:-.035em; margin-bottom:12px;}
.hero__sub{
  font-size:clamp(16px,2vw,18.5px); color:var(--ink-2);
  max-width:56ch; margin:0 auto 26px; text-wrap:pretty;
}

/* The paste field is the hero. Everything else gets out of its way. */
.getter{max-width:720px; margin:0 auto;}
.getter__row{
  display:flex; gap:8px; align-items:stretch;
  background:var(--surface); border:1.5px solid var(--line);
  border-radius:var(--r-lg); padding:7px;
  box-shadow:var(--shadow-2); transition:border-color .16s ease, box-shadow .16s ease;
}
.getter__row:focus-within{border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft), var(--shadow-2);}
.getter__field{position:relative; display:flex; align-items:center; flex:1 1 auto; min-width:0;}
.getter__input{
  width:100%; border:0; background:none; outline:none; padding:12px 8px 12px 14px;
  font-size:16px; color:var(--ink); min-width:0;
}
.getter__input::placeholder{color:var(--ink-3);}
.paste-btn{
  display:flex; align-items:center; gap:6px; flex:0 0 auto;
  margin-right:4px; padding:7px 11px; cursor:pointer;
  background:var(--surface-3); border:1px solid transparent; border-radius:var(--r);
  color:var(--ink-2); font-size:13px; font-weight:600;
}
.paste-btn:hover{color:var(--ink); border-color:var(--line);}
.paste-btn svg{width:14px; height:14px;}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border:1px solid transparent; border-radius:var(--r);
  font-size:15.5px; font-weight:650; cursor:pointer; white-space:nowrap;
  background:var(--accent); color:var(--accent-ink);
  transition:background .14s ease, transform .1s ease;
}
.btn:hover{background:var(--accent-2); text-decoration:none;}
.btn:active{transform:translateY(1px);}
.btn[disabled]{opacity:.6; cursor:not-allowed;}
.btn svg{width:16px; height:16px;}
.btn--ghost{background:none; color:var(--ink-2); border-color:var(--line);}
.btn--ghost:hover{background:var(--surface-3); color:var(--ink);}
@media (max-width:560px){
  .getter__row{flex-direction:column;}
  .btn{width:100%; padding:14px 20px;}
}

/* Trust chips — real claims only */
.trust{
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px 10px; margin-top:18px;
}
.trust li{list-style:none;}
.trust span{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:600; color:var(--ink-2);
  background:var(--surface); border:1px solid var(--line);
  padding:5px 11px; border-radius:100px;
}
.trust svg{width:12px; height:12px; color:var(--accent);}

/* Result panel target */
.result{margin-top:22px;}
.loader{margin-top:22px;}
.loader__bar{
  position:relative; height:5px; border-radius:100px; overflow:hidden;
  background:var(--surface-3);
}
.loader__bar::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
  animation:sweep 1.15s linear infinite;
}
@keyframes sweep{ from{transform:translateX(-100%);} to{transform:translateX(100%);} }
.loader__txt{margin-top:10px; font-size:14px; color:var(--ink-3);}
.alert{
  display:flex; gap:10px; align-items:flex-start; text-align:left;
  padding:13px 15px; border-radius:var(--r); font-size:14.5px;
  background:var(--danger-bg); color:var(--danger);
  border:1px solid color-mix(in srgb, var(--danger) 30%, transparent);
}
.alert svg{width:17px; height:17px; flex:0 0 auto; margin-top:1px;}

/* ---------- 6. Tool rail (renders on EVERY page) ------------------------- */
.rail{padding-bottom:8px;}
.rail__scroll{
  display:grid; grid-auto-flow:column; grid-auto-columns:minmax(112px,1fr);
  gap:8px; overflow-x:auto; padding-bottom:6px; scrollbar-width:thin;
}
.rail__item{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:15px 10px; text-align:center;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  color:var(--ink-2); font-size:13.5px; font-weight:600;
  transition:border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.rail__item:hover{
  text-decoration:none; color:var(--ink);
  border-color:var(--accent-line); transform:translateY(-2px); box-shadow:var(--shadow-2);
}
.rail__item[aria-current="page"]{
  border-color:var(--accent); background:var(--accent-soft); color:var(--accent);
}
.rail__ico{
  width:36px; height:36px; border-radius:50%; display:grid; place-items:center;
  background:var(--accent-soft); color:var(--accent);
}
.rail__item[aria-current="page"] .rail__ico{background:var(--accent); color:var(--accent-ink);}
.rail__ico svg{width:18px; height:18px;}
@media (max-width:760px){ .rail__scroll{grid-auto-columns:minmax(96px,1fr);} }

/* ---------- 7. Content --------------------------------------------------- */
.section{padding:clamp(38px,5vw,60px) 0;}
.section--alt{background:var(--surface-2); border-block:1px solid var(--line-soft);}
.section__head{max-width:var(--readw); margin-bottom:28px;}
.eyebrow{
  font-family:var(--mono); font-size:11.5px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--accent); font-weight:600; margin-bottom:10px;
}
h2{font-size:clamp(23px,3.2vw,31px); letter-spacing:-.025em;}
h3{font-size:19px; letter-spacing:-.015em;}
.prose{max-width:var(--readw);}
.prose > * + *{margin-top:16px;}
.prose p{color:var(--ink-2); text-wrap:pretty;}
.prose h2{margin-top:44px;}
.prose h3{margin-top:32px;}
.prose h2 + p, .prose h3 + p{margin-top:10px;}
.prose img{
  border-radius:var(--r-lg); border:1px solid var(--line); margin-block:22px; width:100%;
}
.prose ul{padding-left:22px;}
.prose li{margin-bottom:7px; color:var(--ink-2);}
.prose a{font-weight:550;}

/* Steps — numbered because this genuinely is a sequence */
.steps{display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); margin-top:8px;}
.step{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:20px; display:flex; flex-direction:column; gap:9px; overflow:hidden;
}
.step__img{
  width:calc(100% + 40px); margin:-20px -20px 8px; max-width:none;
  border-bottom:1px solid var(--line); background:var(--surface-3);
  aspect-ratio:1200/750; object-fit:cover;
}
.step__n{
  font-family:var(--mono); font-size:12px; font-weight:700; letter-spacing:.06em;
  color:var(--accent); background:var(--accent-soft);
  width:fit-content; padding:3px 9px; border-radius:100px;
}
.step h3{font-size:16.5px;}
.step p{font-size:14.5px; color:var(--ink-2);}

/* Feature grid (cross-sell) */
.grid{display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(248px,1fr));}
.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:20px; display:flex; flex-direction:column; gap:9px;
}
.card__ico{
  width:34px; height:34px; border-radius:var(--r); display:grid; place-items:center;
  background:var(--accent-soft); color:var(--accent); margin-bottom:2px;
}
.card__ico svg{width:17px; height:17px;}
.card h3{font-size:16.5px;}
.card p{font-size:14.5px; color:var(--ink-2); flex:1 0 auto;}
.card a{font-size:14px; font-weight:600;}

/* Contents box */
.toc{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:20px 22px; max-width:var(--readw);
}
.toc h2{font-size:13px; font-family:var(--mono); letter-spacing:.12em;
  text-transform:uppercase; color:var(--ink-3); margin-bottom:12px;}
.toc ol{padding-left:20px; font-size:14.5px;}
.toc li{margin-bottom:6px; color:var(--ink-2);}
.toc a{color:var(--ink-2);}
.toc a:hover{color:var(--accent);}

/* FAQ */
.faq{border-top:1px solid var(--line);}
.faq details{border-bottom:1px solid var(--line);}
.faq summary{
  display:flex; align-items:center; gap:14px; padding:17px 0;
  cursor:pointer; list-style:none; font-weight:600; font-size:16.5px; color:var(--ink);
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{
  content:""; margin-left:auto; flex:0 0 auto; width:10px; height:10px;
  border-right:2px solid var(--ink-3); border-bottom:2px solid var(--ink-3);
  transform:rotate(45deg) translate(-2px,-2px); transition:transform .18s ease;
}
.faq details[open] summary::after{transform:rotate(-135deg) translate(-3px,-3px);}
.faq details[open] summary{color:var(--accent);}
.faq .a{padding:0 0 19px; color:var(--ink-2); max-width:64ch;}

/* Breadcrumb */
.crumb{display:flex; flex-wrap:wrap; gap:7px; padding:16px 0 0; font-size:13.5px; color:var(--ink-3);}
.crumb li{list-style:none; display:flex; align-items:center; gap:7px;}
.crumb li+li::before{content:"/"; color:var(--ink-3); opacity:.6;}
.crumb a{color:var(--ink-3);}
.crumb a:hover{color:var(--accent);}
.crumb [aria-current="page"]{color:var(--ink-2);}

/* Ad slot — reserved height prevents layout shift */
.adslot{
  margin:22px auto; max-width:var(--maxw); padding-inline:20px;
  min-height:90px; display:grid; place-items:center;
}
.adslot:empty,.adslot:has(ins:empty){min-height:0; margin:0;}
.adslot > *{width:100%;}

/* ---------- 8. Footer ---------------------------------------------------- */
.ftr{background:var(--chrome); color:var(--chrome-ink2); margin-top:auto; padding:48px 0 30px;}
.ftr a{color:var(--chrome-ink2);}
.ftr a:hover{color:#fff;}
.ftr__grid{
  display:grid; gap:32px; grid-template-columns:1.6fr 1fr 1fr; padding-bottom:32px;
  border-bottom:1px solid var(--chrome-line);
}
@media (max-width:760px){ .ftr__grid{grid-template-columns:1fr 1fr;} .ftr__brand{grid-column:1/-1;} }
.ftr__brand .brand{color:#fff; margin-bottom:12px;}
.ftr__note{font-size:13px; line-height:1.65; max-width:46ch;}
.ftr h2{
  font-size:11.5px; font-family:var(--mono); letter-spacing:.14em; text-transform:uppercase;
  color:#fff; margin-bottom:14px; font-weight:600;
}
.ftr ul{display:flex; flex-direction:column; gap:9px; font-size:14px;}
.ftr li{list-style:none;}
.ftr__base{
  display:flex; flex-wrap:wrap; gap:10px 22px; align-items:center;
  padding-top:22px; font-size:13px;
}
.ftr__base p{margin-right:auto;}

/* ---------- 9. Download progress (server-rendered results) --------------- */
.dlbar{
  position:fixed; left:0; right:0; bottom:0; z-index:80;
  background:var(--surface); border-top:1px solid var(--line);
  padding:12px 20px; box-shadow:var(--shadow-3);
  display:none; align-items:center; gap:14px;
}
.dlbar[data-visible="true"]{display:flex;}
.dlbar progress{
  flex:1 1 auto; height:8px; appearance:none; border:0; border-radius:100px;
  background:var(--surface-3); overflow:hidden;
}
.dlbar progress::-webkit-progress-bar{background:var(--surface-3);}
.dlbar progress::-webkit-progress-value{background:var(--accent); border-radius:100px;}
.dlbar progress::-moz-progress-bar{background:var(--accent);}
.dlbar__label{
  font-family:var(--mono); font-size:13px; font-variant-numeric:tabular-nums;
  color:var(--ink-2); min-width:44px; text-align:right;
}

/* Styles for the server-rendered result markup injected into .result.
   NOTE: the exact markup could not be captured during the audit — verify
   against your Blade partial and extend here if the panel uses other classes. */
.result .download-btns,
.result .btn{ /* server templates commonly reuse .btn */ }
.download-btns{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 20px; border:1px solid transparent; border-radius:var(--r);
  background:var(--accent); color:var(--accent-ink);
  font-size:14.5px; font-weight:650; cursor:pointer;
}
.download-btns:hover{background:var(--accent-2);}
.download-btns[disabled]{opacity:.6; cursor:not-allowed;}
.result img,.result video{border-radius:var(--r-lg); border:1px solid var(--line);}

/* Sample result panel (preview only) — also a reference shape for the real one */
.res{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  overflow:hidden; text-align:left;}
.res__flag{padding:11px 16px; background:var(--warn-bg); color:var(--warn);
  font-size:13px; line-height:1.5; border-bottom:1px solid var(--line);}
.res__echo{padding:10px 16px; background:var(--surface-2); color:var(--ink-3);
  font-size:12.5px; border-bottom:1px solid var(--line-soft); overflow-wrap:anywhere;}
.res__echo code{font-family:var(--mono); font-size:12px; background:var(--surface-3);
  padding:1px 5px; border-radius:3px; color:var(--ink-2);}
.res__tag{font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--warn); background:var(--warn-bg); padding:3px 8px; border-radius:3px;
  vertical-align:3px; margin-left:6px;}
.res__body{display:flex; gap:20px; padding:20px;}
.res__thumb{width:158px; height:240px; object-fit:cover; flex:0 0 auto;}
.res__info{flex:1; min-width:0;}
.res__info h3{font-size:19px; margin-bottom:6px;}
.res__meta{font-family:var(--mono); font-size:12.5px; color:var(--ink-3); margin-bottom:18px;}
.res__opts{display:flex; flex-wrap:wrap; gap:10px;}
.res__group{margin-bottom:16px;}
.res__group:last-of-type{margin-bottom:0;}
.res__grouplabel{display:block; font-family:var(--mono); font-size:10.5px; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3); margin-bottom:8px;}
.res--partial{margin-top:14px; opacity:.92;}
.res__note{margin-top:16px; font-size:13px; color:var(--ink-3);}
.res__note a{font-weight:600;}
@media (max-width:560px){
  .res__body{flex-direction:column;}
  .res__thumb{width:100%; height:200px;}
}
.result .card,.result .media{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:18px; text-align:left;
}

/* ---------- 10. Print ---------------------------------------------------- */
@media print{
  .hdr,.rail,.adslot,.dlbar,.getter{display:none!important;}
  body{background:#fff; color:#000;}
}

/* ---------- 11. Interior page types (legal, blog index, article) ---------- */
.pagetitle{
  font-size:clamp(28px,4.4vw,42px); letter-spacing:-.03em; margin:14px 0 10px;
}
.lede{font-size:17.5px; color:var(--ink-2); max-width:62ch; margin:0 0 30px; text-wrap:pretty;}
.byline{
  font-family:var(--mono); font-size:12.5px; color:var(--ink-3);
  padding-bottom:20px; margin-bottom:26px; border-bottom:1px solid var(--line);
}
.backlink{margin-top:38px; padding-top:20px; border-top:1px solid var(--line); font-size:14.5px;}
.backlink a{font-weight:600;}

/* Real copy from the live site arrives as bare h2/h3/p/ul — give it rhythm */
.prose h2:first-child{margin-top:0;}
.prose h4{font-size:16.5px; margin-top:26px; margin-bottom:8px;}
.prose strong{color:var(--ink);}
.prose ol{padding-left:22px;}
.prose table{width:100%; border-collapse:collapse; font-size:14.5px; margin:20px 0;}
.prose th,.prose td{padding:9px 12px; border:1px solid var(--line); text-align:left;}
.prose th{background:var(--surface-2); font-weight:650; color:var(--ink);}
.blog-card h3 a{color:var(--ink);}
.blog-card h3 a:hover{color:var(--accent);}
.card h3 a{color:var(--ink); text-decoration:none;}
.card h3 a:hover{color:var(--accent); text-decoration:underline;}

/* ==========================================================================
   12. Atmosphere + motion
   Everything here is decorative and must degrade to nothing when the viewer
   asks for reduced motion. No layout depends on it.
   ========================================================================== */

/* ---------- Hero backdrop: slow-drifting aurora + fine grain ---------- */
.hero{position:relative; isolation:isolate; overflow:hidden;}
.hero__bg{
  position:absolute; inset:-20% -10% auto; height:150%; z-index:-1;
  pointer-events:none; contain:strict;
}
.hero__bg i{
  position:absolute; display:block; border-radius:50%;
  filter:blur(64px); opacity:.62; will-change:transform;
}
.hero__bg i:nth-child(1){
  width:46vw; height:46vw; min-width:380px; min-height:380px; left:2%; top:6%;
  background:radial-gradient(circle, var(--accent-2), transparent 68%);
  animation:drift-a 26s ease-in-out infinite alternate;
}
.hero__bg i:nth-child(2){
  width:38vw; height:38vw; min-width:320px; min-height:320px; right:4%; top:0%;
  background:radial-gradient(circle, #7fc9bf, transparent 66%);
  animation:drift-b 32s ease-in-out infinite alternate;
}
.hero__bg i:nth-child(3){
  width:30vw; height:30vw; min-width:260px; min-height:260px; left:38%; top:34%;
  background:radial-gradient(circle, #a9dcd4, transparent 70%);
  animation:drift-c 38s ease-in-out infinite alternate;
}
:root:not([data-theme="light"]) .hero__bg i{opacity:.22;}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .hero__bg i{opacity:.22;} }
:root[data-theme="dark"] .hero__bg i{opacity:.22;}

@keyframes drift-a{ to{ transform:translate3d(6%, 8%, 0) scale(1.12); } }
@keyframes drift-b{ to{ transform:translate3d(-8%, 5%, 0) scale(.9); } }
@keyframes drift-c{ to{ transform:translate3d(4%, -7%, 0) scale(1.08); } }

/* Grain keeps the gradient from looking like a plastic AI blur */
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.22;
  background-image:radial-gradient(currentColor .4px, transparent .5px);
  background-size:2px 2px; color:var(--ink-3);
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 85%);
          mask-image:linear-gradient(180deg,#000,transparent 85%);
}

/* ---------- Entrance: hero elements rise in on load ---------- */
@keyframes rise{ from{opacity:0; transform:translate3d(0,14px,0);} to{opacity:1; transform:none;} }
.js .hero h1,
.js .hero .hero__sub,
.js .hero .getter__row,
.js .hero .trust{ opacity:0; animation:rise .62s cubic-bezier(.22,.8,.28,1) forwards; }
.js .hero h1{ animation-delay:.04s; }
.js .hero .hero__sub{ animation-delay:.13s; }
.js .hero .getter__row{ animation-delay:.22s; }
.js .hero .trust{ animation-delay:.31s; }

/* ---------- Scroll reveal ---------- */
.js .reveal{
  opacity:0; transform:translate3d(0,20px,0);
  transition:opacity .6s cubic-bezier(.22,.8,.28,1), transform .6s cubic-bezier(.22,.8,.28,1);
  will-change:opacity, transform;
}
.js .reveal.is-in{ opacity:1; transform:none; will-change:auto; }
/* Children stagger inside a revealed group */
.js .reveal .step,
.js .reveal .card{
  opacity:0; transform:translate3d(0,16px,0);
  transition:opacity .5s cubic-bezier(.22,.8,.28,1), transform .5s cubic-bezier(.22,.8,.28,1);
}
.js .reveal.is-in .step,
.js .reveal.is-in .card{ opacity:1; transform:none; }
.js .reveal.is-in .step:nth-child(2),
.js .reveal.is-in .card:nth-child(2){ transition-delay:.07s; }
.js .reveal.is-in .step:nth-child(3),
.js .reveal.is-in .card:nth-child(3){ transition-delay:.14s; }
.js .reveal.is-in .card:nth-child(4){ transition-delay:.21s; }
.js .reveal.is-in .card:nth-child(5){ transition-delay:.28s; }
.js .reveal.is-in .card:nth-child(6){ transition-delay:.35s; }

/* ---------- Micro-interactions ---------- */
.card{transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;}
.card:hover{border-color:var(--accent-line); transform:translateY(-3px); box-shadow:var(--shadow-2);}
.card__ico{transition:transform .22s cubic-bezier(.34,1.4,.64,1), background .18s ease;}
.card:hover .card__ico{transform:scale(1.08) rotate(-4deg);}
.step__img{transition:transform .5s cubic-bezier(.22,.8,.28,1);}
.step:hover .step__img{transform:scale(1.025);}
.step{transition:border-color .18s ease, box-shadow .18s ease;}
.step:hover{border-color:var(--accent-line); box-shadow:var(--shadow-2);}
.btn{transition:background .16s ease, transform .1s ease, box-shadow .2s ease;}
.btn:hover{box-shadow:0 6px 20px color-mix(in srgb, var(--accent) 32%, transparent);}
.rail__ico{transition:transform .22s cubic-bezier(.34,1.4,.64,1);}
.rail__item:hover .rail__ico{transform:scale(1.1);}
.trust span{transition:border-color .18s ease, color .18s ease;}
.trust span:hover{border-color:var(--accent-line); color:var(--ink);}

/* ---------- FAQ: animate the disclosure ---------- */
.faq details::details-content{
  block-size:0; opacity:0;
  transition:block-size .34s cubic-bezier(.22,.8,.28,1), opacity .28s ease, content-visibility .34s allow-discrete;
  overflow:hidden;
}
.faq details[open]::details-content{ block-size:auto; opacity:1; }
@supports not (selector(::details-content)){
  /* Older engines: no height animation, just a soft fade of the answer */
  @keyframes faq-in{from{opacity:0;transform:translateY(-4px);}to{opacity:1;transform:none;}}
  .faq details[open] .a{animation:faq-in .26s ease both;}
}

/* ---------- Showcase figure ---------- */
.showcase{margin:38px 0 6px;}
.showcase img{
  width:100%; border-radius:var(--r-lg); border:1px solid var(--line);
  box-shadow:var(--shadow-2); background:var(--surface-3);
}
.showcase figcaption{
  margin-top:11px; font-size:13.5px; color:var(--ink-3); text-align:center;
}
.posthero{margin:0 0 30px;}
.posthero img{
  width:100%; border-radius:var(--r-lg); border:1px solid var(--line);
  box-shadow:var(--shadow-2); aspect-ratio:1200/500; object-fit:cover;
}

/* ---------- Honour the reduced-motion preference, completely ---------- */
@media (prefers-reduced-motion:reduce){
  .hero__bg{display:none;}
  .js .hero h1, .js .hero .hero__sub, .js .hero .getter__row, .js .hero .trust{
    opacity:1; animation:none;
  }
  .js .reveal, .js .reveal .step, .js .reveal .card{
    opacity:1; transform:none; transition:none;
  }
  .card:hover, .step:hover .step__img, .card:hover .card__ico,
  .rail__item:hover .rail__ico{ transform:none; }
}

/* Showcase breaks out of the reading measure — the figure wants presence,
   the prose around it still wants a comfortable line length. */
.prose .showcase{
  margin-inline:-96px; margin-block:40px 8px;
}
@media (max-width:940px){
  .prose .showcase{margin-inline:0;}
}
