/* Miotownik — landing styles. Warm "Stud-Book Editorial" identity.
   Museumcore pass: hang the product flat in a hairline mat under one soft light,
   caption like a wall label, let canvas-colored air divide, anchor with giant
   ember chapter-numerals. Hairlines over 2px borders; rationed ember spark. */

/* Metric-matched fallback for Fraunces so the async-font swap doesn't reflow the
   oversized display headline (keeps CLS ~0 while fonts load non-render-blocking). */
@font-face{font-family:'Fraunces Fallback'; src:local('Georgia'),local('Times New Roman');
  font-weight:500 900; font-style:normal;
  ascent-override:92%; descent-override:24%; line-gap-override:0%; size-adjust:104%}
@font-face{font-family:'Fraunces Fallback'; src:local('Georgia Italic'),local('Georgia'),local('Times New Roman');
  font-weight:500 600; font-style:italic;
  ascent-override:92%; descent-override:24%; line-gap-override:0%; size-adjust:104%}

:root{
  --canvas:#EFE7D6; --surface:#FDFAF3; --surface-alt:#F5EEDE; --sunken:#E4D9C8;
  --ink:#2B2418; --ink-soft:#5B5142; --ink-faint:#8C8270;
  --pine:#1C4837; --pine-soft:#E8F0E6; --pine-deep:#143528;
  --ember:#BC5B3C; --ember-deep:#9C4326; --ember-bg:#F3E6DC;
  --line:#DBCFB6; --line-strong:#C2B392; --ok:#3B7A4E;
  --shadow-1:0 6px 18px rgba(61,42,15,.10);
  --shadow-2:0 24px 60px rgba(31,42,28,.28);
  --shadow-frame:0 40px 80px -48px rgba(20,40,30,.30); /* one even overhead light */
  --radius:18px; --radius-sm:12px; --maxw:1080px;
  /* derived spacing rhythm — generous "room" vs compact "close" */
  --space-room:clamp(96px,13vh,168px); --space-close:clamp(72px,9vh,112px);
  --hair:1px solid var(--line); --hair-strong:1px solid var(--line-strong);
  --serif:'Fraunces','Fraunces Fallback',Georgia,'Times New Roman',serif;
  --sans:'Hanken Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans); color:var(--ink); background:var(--canvas);
  line-height:1.5; -webkit-font-smoothing:antialiased; font-size:17px; overflow-x:hidden}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 20px}
@media(min-width:768px){.wrap{padding:0 32px}}
@media(min-width:1024px){.wrap{padding:0 40px}}
a{color:var(--pine); text-decoration:none}
a:hover{text-decoration:underline}
/* a11y: visible keyboard focus + skip link */
a:focus-visible,.btn:focus-visible,button:focus-visible{outline:3px solid var(--pine-deep);
  outline-offset:3px; border-radius:6px}
@media (forced-colors: active){
  /* Thin decorative bars are painted with `background` only, so the UA strips them
     to Canvas and they vanish. Repaint with a system color and opt these (and ONLY
     these) out of the forced palette. Never set forced-color-adjust:none on :root. */
  .feat h3::before,
  .steps::before,
  .step::before{
    forced-color-adjust:none;
    background:CanvasText !important;
  }
  /* Pseudo-element check/dot marks that rely on a tinted background tile. */
  .hero-trust li::before{background:CanvasText !important}
  .band li::before{
    forced-color-adjust:none;
    color:CanvasText; border-color:CanvasText !important;
  }
  /* Focus ring uses a brand custom-prop color that isn't reliably mapped; pin to the
     system focus color so keyboard focus stays visible. */
  a:focus-visible,.btn:focus-visible,button:focus-visible{outline-color:Highlight !important}
}
.skip{position:absolute; left:8px; top:-48px; z-index:200; background:var(--pine);
  color:#fff; font-weight:800; padding:10px 16px; border-radius:0 0 10px 10px;
  transition:top .15s}
.skip:focus{top:0; text-decoration:none}
.serif{font-family:var(--serif)}
.italic{font-family:var(--serif); font-style:italic; color:var(--pine)}
.kicker{font-size:.72rem; letter-spacing:1.8px; text-transform:uppercase;
  font-weight:800; color:var(--ember-deep)}

/* Buttons + CTA */
.cta-row{display:flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap}
.btn{display:inline-flex; align-items:center; gap:8px; font-family:var(--sans);
  font-weight:800; font-size:.98rem; padding:16px 26px; border-radius:var(--radius-sm);
  border:1px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s}
.btn:hover,.btn:focus-visible{text-decoration:none; transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.985)}
.btn-primary,.btn-notify{background:var(--pine-deep); color:var(--surface);
  border-top:1px solid rgba(255,255,255,.16); box-shadow:0 8px 20px -10px rgba(20,53,40,.42)}
.btn-notify:hover{box-shadow:0 14px 28px -10px rgba(20,53,40,.46)}
.btn-ghost{background:rgba(253,250,243,.6); color:var(--pine); border:1px solid var(--line); backdrop-filter:blur(4px)}
/* App Store badge — the single CTA */
.app-store-badge{display:inline-block; transition:transform .15s ease, opacity .15s}
.app-store-badge:hover{transform:translateY(-2px); opacity:.9; text-decoration:none}
.app-store-badge:active{transform:translateY(0) scale(.985)}
.app-store-badge img{display:block}

/* ============ HERO — the framed plate under museum light ============ */
.hero{position:relative; display:flex; flex-direction:column;
  align-items:center; text-align:center; overflow:hidden; padding:0 24px 0}
.hero-bg{position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(120% 78% at 50% -12%, var(--pine-soft) 0%, transparent 55%),
    linear-gradient(180deg,#F7F1E4 0%, var(--canvas) 58%, #E7DCC8 100%);}
.grain{position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.42; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");}

.hero-nav{position:fixed; top:0; left:0; right:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  max-width:var(--maxw); margin:0 auto; padding:16px 24px; width:100%;
  transition:background .25s, box-shadow .25s, padding .25s}
.hero-nav.scrolled{background:rgba(239,231,214,.92); backdrop-filter:blur(10px);
  box-shadow:0 1px 0 var(--line); padding:10px 24px}
.nav-badge{opacity:0; pointer-events:none; transition:opacity .25s}
.hero-nav.scrolled .nav-badge{opacity:1; pointer-events:auto}
.nav-badge img{height:32px; width:auto}
.hero-nav .n-brand{display:flex; align-items:center; gap:8px; font-family:var(--serif);
  font-weight:700; font-size:1.05rem; color:var(--ink); opacity:.78}
.hero-nav .n-brand img{width:26px; height:26px; border-radius:7px}

.hero-content{margin-top:clamp(72px,9vh,108px); max-width:600px; display:flex;
  flex-direction:column; align-items:center; gap:14px; z-index:2; flex:0 0 auto}
/* oversized Fraunces display — large but LIGHT (museumcore restraint) */
.hero-headline{font-family:var(--serif); font-weight:600; font-size:clamp(2.6rem,7.5vw,4.8rem);
  letter-spacing:-.03em; color:var(--ink); max-width:16ch; line-height:1.0; text-wrap:balance}
.hero-headline .italic{font-weight:600}
.hero-sub{font-size:1.08rem; line-height:1.5; color:var(--ink-soft); max-width:44ch}
.hero-cta{margin-top:10px; display:flex; align-items:center; justify-content:center}
@media(min-width:860px){.hero-cta{justify-content:flex-start}}
/* concrete trust micro-badges */
.hero-trust{list-style:none; display:flex; gap:8px 18px; flex-wrap:wrap; justify-content:center;
  margin-top:6px; padding:0}
.hero-trust li{display:flex; align-items:center; gap:7px; font-size:.85rem; font-weight:600; color:var(--ink)}
@media(max-width:480px){.hero-trust{flex-direction:column; align-items:center; gap:7px}}
.hero-trust li::before{content:''; width:7px; height:7px; border-radius:50%; background:var(--ok); flex:0 0 auto}

/* product scene — flat-square plate in a hairline mat under one soft light */
.hero-stage{position:relative; margin-top:32px; flex:0 0 auto; display:flex;
  flex-direction:column; align-items:center; z-index:1}
.hero-glow{position:absolute; inset:2% -14% 18% -14%; z-index:0; pointer-events:none;
  background:radial-gradient(58% 50% at 60% 40%, rgba(28,72,55,.16), transparent 72%);
  filter:blur(40px)}
.hero-device{position:relative; width:min(316px,62vw); flex:0 0 auto;
  border-radius:38px; padding:11px; background:var(--ink); z-index:1;
  box-shadow:var(--shadow-frame), inset 0 1px 0 rgba(255,255,255,.12);
  opacity:1; translate:0 22px;
  animation:riseT .6s cubic-bezier(.2,.7,.2,1) .1s forwards, floatT 9s ease-in-out 1.5s infinite}
.hero-device img{width:100%; height:auto; display:block; border-radius:28px}
/* museum wall-label caption — replaces decorative floating pills (carries meaning) */
.hero-caption{margin-top:22px; text-align:center; color:var(--ink-soft);
  font-size:.8rem; letter-spacing:.14em; text-transform:uppercase}
@media(max-width:560px){
  .hero-content{margin-top:68px; gap:12px}
  .hero-stage{margin-top:22px}
  /* crop device on mobile — show top 55% of the phone */
  .hero-device{width:70vw; overflow:hidden; border-radius:32px; translate:0 0}
  .hero-device img{height:95vw; object-fit:cover; object-position:top; border-radius:22px}
  .hero-caption{margin-top:16px}
}

/* Desktop: two-column hero — oversized type left, flat-square plate right */
@media(min-width:860px){
  /* full-bleed atmospheric bg: hero spans the viewport; content stays centered
     (capped by .hero-content/.hero-stage max-widths) so no side color bands appear */
  .hero{flex-direction:row; align-items:center; justify-content:center; text-align:left;
    gap:clamp(56px,7vw,120px); padding:96px 24px 0; min-height:100svh}
  .hero-content{margin-top:0; align-items:flex-start; text-align:left; max-width:480px; flex:1 1 0}
  .hero-content .cta-row{justify-content:flex-start}
  .hero-trust{justify-content:flex-start}
  .hero-headline{max-width:14ch}
  .hero-sub{max-width:42ch}
  .hero-stage{margin:0; align-self:center}
  .hero-device{margin:0; width:min(322px,32vw); transform:rotateZ(-1.5deg); transform-origin:center}
}

/* ============ MOTION ============ */
/* The hero idle float is the only >5s continuous animation (WCAG 2.2.2). It is decorative,
   translate-only (conveys nothing), and fully disabled by the prefers-reduced-motion block
   below — keep .hero-device in that block and keep floatT translate-only. */
@keyframes floatT{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes riseT{to{opacity:1; translate:0 0}}
.up{opacity:0; transform:translateY(20px); animation:rise .6s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes rise{to{opacity:1; transform:none}}
.d1{animation-delay:.04s}.d2{animation-delay:.12s}.d3{animation-delay:.20s}
.d4{animation-delay:.30s}.d5{animation-delay:.40s}
.reveal{opacity:0; transform:translateY(24px);
  transition:opacity .6s ease var(--rd,0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--rd,0ms)}
.reveal.in{opacity:1; transform:none}
/* step numeral settles (not pops) as each step reveals */
.step .n{transform:scale(.92); opacity:.3;
  transition:transform .5s cubic-bezier(.13,.65,.35,1) var(--rd,0ms), opacity .5s ease var(--rd,0ms)}
.reveal.in .n{transform:scale(1); opacity:1}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .up,.reveal,.reveal .n,.hero-device{animation:none!important; transition:none!important;
    opacity:1!important; transform:none!important; translate:0!important}
  .hero-device{transform:none!important}
  /* decorative micro-motions settle instantly */
  .feat h3::before,.skip{transition:none!important}
  /* keep functional button feedback; drop the focus lift (reads as motion) */
  .btn:active{transform:scale(.985)!important}
  .btn:focus-visible{transform:none!important}}

/* ============ SECTIONS — one job each, no cards ============ */
section{padding:var(--space-close) 0}
#funkcje{padding:var(--space-room) 0}
@media(max-width:560px){section{padding:60px 0} #funkcje{padding:64px 0} .section-head{margin-bottom:36px}}
.section-head{text-align:center; max-width:44ch; margin:0 auto 48px}
.section-head h2{font-family:var(--serif); font-weight:900; font-size:clamp(2rem,5vw,2.6rem);
  letter-spacing:-.6px; line-height:1.1; margin:0 0 16px; text-wrap:balance}
.section-head p{color:var(--ink-soft)}

/* Proof strip — engraved plinth line: air divides, no border-left dividers */
.proof{padding:clamp(56px,7vh,80px) 0; background:var(--surface-alt); border-top:var(--hair);
  border-bottom:var(--hair)}
.proof-grid{list-style:none; display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(40px,6vw,80px); text-align:center; margin:0; padding:0}
.proof-grid li{display:flex; flex-direction:column; gap:6px; align-items:center}
.proof-grid b{font-family:var(--serif); font-weight:700; font-size:1.85rem; color:var(--pine);
  line-height:1; letter-spacing:-.02em}
/* one ember spark — the #1 trust objection (no account) gets the differentiated position */
.proof-grid li:first-child b{color:var(--ember)}
.proof-grid span{font-size:.86rem; color:var(--ink); line-height:1.35; max-width:22ch}
@media(max-width:680px){.proof-grid{grid-template-columns:1fr; gap:24px}}
@media(max-width:560px){.proof{padding:32px 0}}

/* Features — wall labels in a quiet grid: engraved index tick, NOT cards */
.features{display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(48px,6vw,88px) clamp(40px,4vw,64px)}
@media(max-width:820px){.features{grid-template-columns:1fr 1fr; gap:48px 32px}}
@media(max-width:540px){.features{grid-template-columns:1fr; gap:32px}}
.feat{padding-top:0; border-top:0}
.feat h3{position:relative; padding-top:18px; font-family:var(--serif); font-size:1.35rem;
  font-weight:700; margin-bottom:10px; color:var(--ink)}
.feat h3::before{content:''; position:absolute; top:0; left:0; width:28px; height:1px;
  background:var(--line-strong); transition:width .25s ease, background .25s ease}
.feat:hover h3::before{width:44px; background:var(--pine)}
.feat.accent h3::before{background:var(--pine); width:40px}
.feat p{color:var(--ink-soft); font-size:.99rem}

/* How it works — giant ember chapter-numerals on a hairline rail */
.jak-bg{background:var(--surface-alt)}
#jak{border-top:var(--hair-strong)}
.steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:40px; position:relative}
.steps::before{content:''; position:absolute; top:54px; left:17%; right:17%; height:1px;
  background:var(--line-strong); z-index:0}
@media(max-width:680px){.steps{grid-template-columns:1fr; gap:0} .steps::before{display:none}}
.step{position:relative; z-index:1; text-align:center}
.step .n{display:block; font-family:var(--serif); font-weight:700;
  font-size:clamp(4.5rem,7vw,6.5rem); color:var(--ember); line-height:1;
  margin-bottom:8px; padding:0; background:none; text-shadow:0 6px 24px rgba(188,91,60,.14)}
.step h3{font-family:var(--serif); font-size:1.25rem; margin:0 0 7px}
.step p{color:var(--ink-soft); font-size:.99rem; max-width:30ch; margin-inline:auto}
/* mobile: threaded timeline — numerals hung in a left gutter on a vertical rail */
@media(max-width:680px){
  .steps{text-align:left}
  .step{padding:0 0 32px 78px; min-height:1px}
  .step::before{content:''; position:absolute; left:30px; top:14px; bottom:-6px; width:2px;
    background:var(--line-strong); z-index:0}
  .step:last-child::before{display:none}
  .step .n{position:absolute; left:0; top:-8px; width:60px; text-align:center; margin:0;
    font-size:clamp(3.2rem,16vw,4.2rem); z-index:1}
  .step h3{padding-top:6px}
  .step p{max-width:none; margin-inline:0}
}

/* Privacy band — the dark gallery room */
.band{background:linear-gradient(160deg,var(--pine) 0%, var(--pine-deep) 100%); color:#EAF0E9}
.band .kicker{color:var(--pine-soft)}
.band .wrap{display:grid; grid-template-columns:1.3fr .7fr; gap:clamp(40px,4vw,56px);
  align-items:center; padding:var(--space-room) 24px}
.band h2{font-family:var(--serif); color:#fff; font-size:clamp(1.9rem,4.6vw,2.4rem);
  font-weight:600; letter-spacing:-.5px; line-height:1.1; margin-bottom:14px; text-wrap:balance}
.band p{opacity:.94; line-height:1.5}
.band ul{list-style:none; margin-top:20px; display:grid; gap:13px}
.band li{display:flex; gap:12px; align-items:flex-start; line-height:1.5}
/* branded affirm marks — glyph in a small tile */
.band li::before{content:'✓'; display:inline-flex; align-items:center; justify-content:center;
  width:18px; height:18px; flex:0 0 auto; margin-top:2px; font-size:.62rem; font-weight:800;
  color:var(--pine-soft); background:rgba(232,240,230,.12);
  border:1px solid rgba(169,214,182,.25); border-radius:4px}
.band a:hover{text-decoration:none}
.privacy-icon{display:none}
.band-device{justify-self:center; width:min(330px,78vw); border-radius:38px; padding:10px;
  background:#0E211A; border:1px solid rgba(169,214,182,.22); margin-top:-24px;
  box-shadow:0 40px 80px -48px rgba(0,0,0,.40), inset 0 1px 0 rgba(169,214,182,.20)}
.band-device img{width:100%; height:auto; display:block; border-radius:28px}
@media(max-width:760px){.band .wrap{grid-template-columns:1fr; text-align:left; padding:clamp(52px,8vh,72px) 24px}
  .band-device{margin-top:24px; width:min(260px,68vw)}}
@media(max-width:560px){.band .wrap{padding:48px 24px}
  .band-device{display:none}
  .privacy-icon{display:block; margin:0 auto 20px; width:60px; height:60px; color:var(--pine-soft)}}

/* Price section — objection killer */
.price-section{padding:var(--space-room) 0; text-align:center}
.price-card{max-width:420px; margin:0 auto; background:var(--surface); border:var(--hair-strong);
  border-radius:var(--radius); padding:clamp(40px,6vw,56px) clamp(28px,4vw,48px);
  box-shadow:var(--shadow-1)}
.price-amount{font-family:var(--serif); font-weight:900; font-size:clamp(3.4rem,9vw,5rem);
  color:var(--pine); line-height:1; letter-spacing:-.04em; margin:12px 0 4px}
.price-once{font-size:1.08rem; font-weight:600; color:var(--ink-soft); margin-bottom:24px}
.price-list{list-style:none; text-align:left; max-width:280px; margin:0 auto 28px; padding:0;
  display:grid; gap:10px}
.price-list li{display:flex; align-items:center; gap:10px; font-size:.97rem; color:var(--ink)}
.price-list li::before{content:'✓'; display:inline-flex; align-items:center; justify-content:center;
  width:20px; height:20px; flex:0 0 auto; font-size:.65rem; font-weight:800;
  color:var(--pine); background:var(--pine-soft); border-radius:50%}

/* FAQ — semantic accordion */
#faq{padding:var(--space-close) 0; border-top:var(--hair)}
.faq-list{max-width:640px; margin:0 auto}
.faq{border-bottom:var(--hair); overflow:hidden}
.faq summary{display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:18px 4px; font-family:var(--serif); font-weight:600; font-size:1.08rem;
  cursor:pointer; color:var(--ink); list-style:none; min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+'; font-family:var(--sans); font-weight:400; font-size:1.4rem;
  color:var(--ink-faint); flex:0 0 auto; transition:transform .2s}
.faq[open] summary::after{content:'\2212'; transform:rotate(180deg)}
.faq p{padding:0 4px 18px; color:var(--ink-soft); font-size:.97rem; line-height:1.55}

/* Final CTA — the closing label */
.final{text-align:center; position:relative; overflow:hidden; border-top:var(--hair-strong);
  background:linear-gradient(180deg,#F3ECDB 0%, var(--sunken) 100%)}
.final .wrap{position:relative; z-index:1; max-width:34rem; display:flex; flex-direction:column;
  align-items:center; gap:16px}
.final h2{font-family:var(--serif); font-size:clamp(2rem,5.5vw,2.8rem); font-weight:600;
  letter-spacing:-.6px; line-height:1.1; max-width:18ch; margin-inline:auto; text-wrap:balance}
.final-sub{color:var(--ink-soft); font-size:.95rem; font-weight:600}
.app-store-badge-lg img{height:60px; width:auto}

/* Footer — the colophon */
footer{border-top:var(--hair-strong); padding:40px 0; color:var(--ink-soft); font-size:.92rem; background:var(--sunken)}
footer .wrap{display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap}
footer .brand{display:flex; align-items:center; gap:9px; font-family:var(--serif); font-weight:700; font-size:1.1rem; color:var(--ink)}
footer .brand img{width:28px; height:28px; border-radius:8px}
footer a{color:var(--ink-soft); font-weight:600; transition:color .15s ease;
  display:inline-flex; align-items:center; min-height:44px; padding:6px 8px}
footer a:hover{color:var(--pine); text-decoration:none}
footer .fnav{display:flex; gap:24px; margin:-6px 0}
@media(max-width:560px){
  footer .wrap{flex-direction:column; align-items:flex-start; gap:20px}
  footer .fnav{flex-wrap:wrap; gap:16px 20px}
}

/* ============ Doc pages (privacy / support / terms) ============ */
header.nav{position:sticky; top:0; z-index:20; background:rgba(239,231,214,.86);
  backdrop-filter:blur(10px); border-bottom:1px solid var(--line)}
.nav .wrap{display:flex; align-items:center; justify-content:space-between; height:64px}
.nav .brand{display:inline-flex; align-items:center; gap:10px; min-height:44px; font-family:var(--serif); font-weight:700; font-size:1.3rem; color:var(--ink)}
.nav .brand img{width:34px; height:34px; border-radius:9px}
.nav-links{display:flex; gap:22px; align-items:center; font-size:.95rem}
.nav-links a{display:inline-flex; align-items:center; min-height:44px; padding:0 4px; color:var(--ink-soft); font-weight:600}
.doc{max-width:760px; margin:0 auto; padding:48px 24px 72px}
.doc h1{font-family:var(--serif); font-weight:900; font-size:2.4rem; letter-spacing:-.5px; margin-bottom:6px}
.doc .updated{color:var(--ink-soft); font-size:.9rem; margin-bottom:28px}
.doc h2{font-family:var(--serif); font-size:1.4rem; margin:30px 0 8px}
.doc h3{font-size:1.05rem; margin:22px 0 6px}
.doc p,.doc li{color:var(--ink-soft); margin-bottom:10px}
.doc ul{padding-left:22px}
.doc .lead{font-size:1.12rem; color:var(--ink); background:var(--surface);
  border:1.5px solid var(--line); border-left:4px solid var(--pine);
  border-radius:var(--radius-sm); padding:18px 20px; margin-bottom:26px}
.doc .back{display:inline-flex; align-items:center; min-height:44px; padding:6px 4px; margin-bottom:18px; font-weight:700}

/* ============ FORCED COLORS (Windows High Contrast, etc.) ============ */
@media (forced-colors: active){
  /* decorative atmospheric layers must not paint as opaque blocks */
  .hero-bg,.grain,.hero-glow{display:none}
  /* background-painted hairlines/ticks → repaint with a system color */
  .feat h3::before,.feat:hover h3::before,.feat.accent h3::before,
  .steps::before,.step::before{forced-color-adjust:none; background:CanvasText !important}
  .hero-trust li::before{background:CanvasText !important}
  .proof{border-top-color:CanvasText; border-bottom-color:CanvasText}
  /* privacy-band affirm tiles: tinted bg collapses to Canvas — re-bound them */
  .band li::before{forced-color-adjust:none; color:CanvasText; background:Canvas; border:1px solid CanvasText}
  .step .n{color:CanvasText}
  /* price-list affirm marks */
  .price-list li::before{forced-color-adjust:none; color:CanvasText; background:Canvas; border:1px solid CanvasText}
  /* CTA keeps a visible edge once its brand fill is system-mapped */
  .btn{border:1px solid}
  a:focus-visible,.btn:focus-visible,button:focus-visible{outline-color:Highlight !important}
}

/* ============ PREFERS-CONTRAST: MORE (opt-in AAA boost) ============ */
@media (prefers-contrast: more){
  :root{
    --ink-soft:#4A4138;       /* darker warm brown, ~9.6:1 on --surface */
    --line:#B8A878; --line-strong:#9A8560;
    --hair:1px solid var(--line-strong);
  }
  .proof-grid b{color:var(--pine-deep)}
  .step::before{background:var(--pine-deep)}
  a:focus-visible,.btn:focus-visible,button:focus-visible{outline-width:4px}
}
