/* ==========================================================================
   Simpletenders v2
   Colour review design: the four bid review colours (blue, pink, red, gold)
   on deep navy and white. Bricolage Grotesque for headings, Public Sans for text.
   Follows the visitor's light/dark setting.

   Contents
   1. Fonts and tokens       5. Homepage: hero and simplify
   2. Base                   6. Homepage: review stages
   3. Header and footer      7. Homepage: start, guides, newsletter
   4. Buttons and links      8. Inner pages
                             9. Responsive and reduced motion
   ========================================================================== */

/* 1. Fonts and tokens ---------------------------------------------------- */
@font-face{font-family:Bricolage;font-style:normal;font-weight:200 800;font-display:swap;src:url('../fonts/bricolage.woff2') format('woff2')}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/public-sans.ttf') format('truetype')}

:root{
  /* Review colours */
  --blue:#1f3bd6;--pink:#ff9ec7;--red:#d42a22;--gold:#f5b800;
  --navy:#0d1330;--navy-deep:#070b1f;--white:#fff;
  /* Highlighter tints for the simplify phrases */
  --hl-blue:#b9c4ff;--hl-pink:#ffc2dc;--hl-red:#ffb3ad;--hl-gold:#ffe08a;

  /* Roles (light) */
  --bg:var(--white);--surface:#f3f4fa;--ink:var(--navy);--muted:#454b66;
  --line:#d9dcea;--line-strong:var(--navy);--link:var(--blue);--focus:var(--red);
  --action-bg:var(--navy);--action-text:var(--white);--action-hover:var(--blue);
  --input-bg:var(--white);--input-border:#8d92ab;
  --error-bg:#fff0ef;--error-line:#a73333;--error-heading:#862323;--error-text:#692323;

  --display:Bricolage,system-ui,sans-serif;--body:'Public Sans',system-ui,sans-serif;
  --radius:6px;--header-h:78px;--ease:cubic-bezier(.16,1,.3,1);
  color-scheme:light;scroll-behavior:smooth;scroll-padding-top:110px;
}
@media(prefers-color-scheme:dark){
  :root{
    --bg:var(--navy);--surface:#161d42;--ink:#f4f5ff;--muted:#b9bed8;
    --line:#2b3463;--line-strong:#f4f5ff;--link:#9fb0ff;--focus:var(--gold);
    --action-bg:#f4f5ff;--action-text:var(--navy);--action-hover:var(--gold);
    --input-bg:#0f1638;--input-border:#5d679c;
    --error-bg:#351e2a;--error-line:#dd7891;--error-heading:#ffdae1;--error-text:#ffc5d0;
    color-scheme:dark;
  }
}

/* 2. Base ---------------------------------------------------------------- */
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
::selection{background:var(--gold);color:var(--navy)}
a{color:var(--link);text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
button,input,textarea,select{font:inherit;caret-color:var(--link)}
button{cursor:pointer}
svg{display:block;flex-shrink:0}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:760;letter-spacing:-.035em;line-height:.98;text-wrap:balance;font-variation-settings:"opsz" 96}
h3{letter-spacing:-.02em;line-height:1.1}
p{max-width:68ch;text-wrap:pretty}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
#main-content:focus{outline:none}
.container{width:min(calc(100% - 80px),1240px);margin-inline:auto}
.skip-link{position:fixed;top:12px;left:12px;z-index:50;padding:12px 20px;background:var(--bg);color:var(--ink);border:2px solid var(--ink);transform:translateY(-180%)}
.skip-link:focus{transform:none}
.section{padding:110px 0}
.lead{font-size:1.18rem;line-height:1.6;color:var(--muted)}
.price{font-family:var(--display);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.04em}

/* 3. Header and footer --------------------------------------------------- */
.site-header{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:var(--header-h)}
.brand{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;text-decoration:none}
.brand picture{display:block}
.brand img{display:block;width:200px;max-width:100%;height:auto}
.nav{display:flex;align-items:center;gap:26px}
.nav a{color:var(--ink);font-family:var(--display);font-weight:600;font-size:1rem;text-decoration:none;padding-block:10px;white-space:nowrap}
.nav a:hover,.nav a[aria-current]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.35em}
.nav .nav-contact{padding:10px 18px;background:var(--action-bg);color:var(--action-text);border-radius:4px}
.nav .nav-contact:hover{background:var(--action-hover);text-decoration:none}
.menu-toggle{display:none;align-items:center;gap:10px;min-height:44px;padding:8px 14px;border:1.5px solid var(--ink);border-radius:4px;color:var(--ink);background:transparent;font-weight:600}
.menu-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}

.footer{padding-top:64px;background:var(--navy);color:#c6cae0;border-top:1px solid #2b3463}
.footer a{color:var(--white)}
.footer :focus-visible{outline-color:var(--gold)}
.footer .brand{background:var(--white);padding:10px 14px;border-radius:4px}
.footer-main{display:grid;grid-template-columns:1.3fr 1fr auto;gap:48px;padding-bottom:52px}
.footer-main p,.footer-main a:not(.brand){font-size:.95rem}
.footer-tagline{margin-top:18px;font-family:var(--display);font-size:1.5rem!important;font-weight:700;color:var(--white);letter-spacing:-.02em}
.footer-main nav{display:flex;flex-direction:column;gap:4px}
.footer-main nav a{min-height:36px;display:flex;align-items:center;text-decoration:none;font-weight:600}
.footer-main nav a:hover{text-decoration:underline}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:22px 0 30px;border-top:1px solid #2b3463}
.footer-bottom p{font-size:.85rem}
@media(prefers-color-scheme:dark){.footer{background:var(--navy-deep)}.footer .brand{background:none;padding:0}}

/* 4. Buttons and links --------------------------------------------------- */
.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:13px 22px;background:var(--action-bg);color:var(--action-text);border:2px solid transparent;border-radius:4px;text-decoration:none;font-family:var(--display);font-size:1rem;font-weight:700;line-height:1.3;transition:background-color .2s var(--ease),color .2s}
.button:hover{background:var(--action-hover);text-decoration:none}
.button:disabled{opacity:.6;cursor:wait}
.button-light{background:var(--white);color:var(--navy)}
.button-light:hover{background:var(--gold);color:var(--navy)}
.text-link{display:inline-flex;align-items:center;gap:10px;font-weight:650;font-size:1rem;line-height:1.5;text-decoration:underline}

/* 5. Homepage: hero and simplify ----------------------------------------- */
.hero{background:var(--navy);color:var(--white);padding-top:clamp(56px,9vw,120px);overflow:hidden}
.hero :focus-visible{outline-color:var(--gold)}
.hero-top{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(32px,5vw,80px);align-items:end}
.hero h1{font-size:clamp(3.2rem,7.6vw,7.8rem);max-width:9ch;font-weight:800;letter-spacing:-.045em;line-height:.9}
.hero-copy{font-size:1.22rem;line-height:1.55;max-width:50ch;color:#c6cae0}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:28px}
.hero .text-link{color:var(--white)}
@media(prefers-color-scheme:dark){.hero{background:var(--navy-deep)}}

/* The example tender. It is always a white sheet, in light and dark mode. */
.sm-doc{position:relative;margin:clamp(40px,5vw,64px) 0 56px;background:var(--white);color:var(--navy);border-radius:var(--radius);padding:clamp(22px,3vw,40px) clamp(22px,3.5vw,52px) clamp(26px,3.5vw,48px);box-shadow:0 30px 60px -30px rgba(5,10,40,.6)}
.sm-doc :focus-visible{outline-color:var(--red)}
.sm-doc.is-done{box-shadow:0 0 0 4px var(--gold),0 30px 60px -30px rgba(5,10,40,.6)}
.sm-doc-head{display:flex;justify-content:space-between;align-items:center;gap:16px 28px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid #d9dcea}
.sm-doc-title{font-family:var(--display);font-weight:650;font-size:1rem;color:#454b66;max-width:none}
.sm-doc-title span{font-weight:500;opacity:.8}
.sm-hint{margin-top:16px;max-height:6em;overflow:hidden;font-size:.98rem;color:#454b66;transition:opacity .4s,max-height .5s var(--ease),margin .5s var(--ease)}
.sm-hint.is-gone{opacity:0;max-height:0;margin-top:0}
.sm-doc:not(.is-live) .sm-hint{display:none}
.sm-text{margin-top:14px}
.sm-text p{max-width:none;font-family:var(--display);font-weight:500;font-size:clamp(1.3rem,2.4vw,2.15rem);line-height:1.38;letter-spacing:-.018em;color:var(--navy)}
.sm-text p+p{margin-top:.7em}

/* Switch: Tender-speak / Plain English */
.sm-switch{display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:6px 8px 6px 16px;border:2px solid var(--navy);border-radius:999px;background:var(--white);color:var(--navy);font-family:var(--display);font-weight:700;font-size:1rem;white-space:nowrap}
.sm-switch:hover{background:#f3f4fa}
.sm-switch-track{position:relative;width:56px;height:30px;border-radius:999px;background:#d9dcea;transition:background .3s var(--ease)}
.sm-switch-knob{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:var(--white);box-shadow:0 1px 3px rgba(13,19,48,.4);transition:transform .35s var(--ease)}
.sm-switch[aria-pressed=true] .sm-switch-track{background:var(--blue)}
.sm-switch[aria-pressed=true] .sm-switch-knob{transform:translateX(26px)}
.sm-switch-label{transition:opacity .2s}
.sm-switch[aria-pressed=false] .sm-switch-on,.sm-switch[aria-pressed=true] .sm-switch-off{opacity:.45}
.sm-switch.is-nudging .sm-switch-knob{animation:nudge 1.1s var(--ease) 2}
@keyframes nudge{0%,100%{transform:none}35%{transform:translateX(14px)}60%{transform:translateX(4px)}}

/* Phrases. Without JavaScript the plain English shows in brackets after the jargon. */
.jg-p{font-weight:700}
.jg-p::before{content:" ("}.jg-p::after{content:")"}
.c-blue{--hl:var(--hl-blue)}.c-pink{--hl:var(--hl-pink)}.c-red{--hl:var(--hl-red)}.c-gold{--hl:var(--hl-gold)}
.is-live .jg{cursor:pointer;border-radius:4px}
.is-live .jg-p::before,.is-live .jg-p::after{content:none}
.is-live .jg .jg-j{color:#3c4363;text-decoration:underline dotted 2px #9aa0bd;text-underline-offset:.2em;transition:color .2s}
.is-live .jg:hover .jg-j{color:var(--navy);text-decoration-style:solid;text-decoration-color:var(--navy)}
.is-live .jg .jg-p{display:none}
.is-live .jg.is-plain .jg-j{display:none}
.is-live .jg.is-plain .jg-p{display:inline;color:var(--navy);padding:0 .08em;background:linear-gradient(var(--hl),var(--hl)) no-repeat 0 88%/100% .5em;animation:wipe .55s var(--ease) both}
.is-live .jg.is-plain:hover .jg-p{filter:brightness(.97)}
.jg:focus-visible{outline:3px solid var(--red);outline-offset:3px}
@keyframes wipe{from{background-size:0% .5em;opacity:.2;filter:blur(3px)}60%{opacity:1;filter:none}to{background-size:100% .5em}}

.sm-done{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;flex-wrap:wrap;margin-top:28px;padding:22px 26px;border-radius:var(--radius);background:var(--gold);color:var(--navy);animation:rise .6s var(--ease)}
.sm-done p{font-size:1.15rem;max-width:60ch}
.sm-done .button{background:var(--navy);color:var(--white)}
.sm-done .button:hover{background:var(--blue)}
@keyframes rise{from{opacity:0;transform:translateY(10px)}}

/* The coloured edges of the stack, peeking out under the hero */
.deck{display:grid;justify-items:center}
.deck span{display:block;height:14px;border-radius:14px 14px 0 0}
.d-gold{width:88%;background:var(--gold)}.d-red{width:92%;background:var(--red)}.d-pink{width:96%;background:var(--pink)}.d-blue{width:100%;height:18px!important;background:var(--blue)}

/* 6. Homepage: review stages (each card sticks, the next slides over it) -- */
.stack{position:relative;background:var(--navy)}
@media(prefers-color-scheme:dark){.stack{background:var(--navy-deep)}}
.stage{position:sticky;top:var(--header-h);min-height:calc(100vh - var(--header-h));display:flex;align-items:center;padding:clamp(80px,10vw,140px) 0;border-radius:28px 28px 0 0;box-shadow:0 -24px 48px -18px rgba(5,8,30,.55)}
.stage:first-child{border-radius:0}
.stage:last-child{position:relative;min-height:auto}
.stage>.container{width:min(calc(100% - 80px),1240px)}
.stage a{color:inherit}
.s-blue{background:var(--blue);color:var(--white)}.s-pink{background:var(--pink);color:var(--navy)}
.s-red{background:var(--red);color:var(--white)}.s-gold{background:var(--gold);color:var(--navy)}
.s-blue :focus-visible,.s-red :focus-visible{outline-color:var(--white)}
.s-pink :focus-visible,.s-gold :focus-visible{outline-color:var(--navy)}
.stage-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(48px,7vw,110px);align-items:start}
.stage-tag{display:inline-block;margin-bottom:28px;padding:5px 12px;border:2px solid currentColor;border-radius:999px;font-family:var(--display);font-weight:600;font-size:1rem}
.stage-tag span{margin-left:6px;font-weight:500;opacity:.7}
.stage h2{font-size:clamp(2.6rem,5.4vw,5.2rem)}
.stage-lead{margin-top:28px;font-size:1.2rem;line-height:1.55;max-width:44ch}
.stage-head .text-link{margin-top:28px}
.stage-head-wide{display:grid;grid-template-columns:auto 1fr;column-gap:60px;align-items:end;margin-bottom:64px}
.stage-head-wide .stage-tag{grid-column:1 / -1;justify-self:start}
.stage-head-wide .stage-lead{margin:0;justify-self:end;text-align:right}

.defs{margin:0;display:grid}
.defs div{padding:26px 0;border-top:2px solid currentColor}
.defs div:last-child{border-bottom:2px solid currentColor}
.defs dt{font-family:var(--display);font-weight:760;font-size:1.7rem;letter-spacing:-.025em;line-height:1.1}
.defs dd{margin:8px 0 0;font-size:1.05rem;max-width:46ch;opacity:.9}

.steps{list-style:none;margin:0;padding:0;counter-reset:s}
.steps li{counter-increment:s;display:grid;grid-template-columns:auto 1fr;column-gap:26px;padding:26px 0;border-top:2px solid currentColor}
.steps li:last-child{border-bottom:2px solid currentColor}
.steps li::before{content:counter(s);grid-row:1 / 3;font-family:var(--display);font-weight:800;font-size:4.2rem;line-height:.8;letter-spacing:-.05em}
.steps strong{font-family:var(--display);font-size:1.8rem;letter-spacing:-.025em;line-height:1.1}
.steps span{margin-top:6px;font-size:1.05rem}

.redline{margin:0;padding:clamp(26px,3.5vw,44px);background:var(--white);color:var(--navy);border-radius:var(--radius);box-shadow:16px 16px 0 #8f1813}
.redline a{color:var(--blue)}
.redline-q{padding-bottom:16px;border-bottom:1px solid #d9dcea;font-family:var(--display);font-weight:700;font-size:1.05rem;color:#454b66}
.redline-text{margin-top:22px;max-width:none;font-family:var(--display);font-weight:500;font-size:clamp(1.35rem,2.2vw,1.85rem);line-height:1.35;letter-spacing:-.015em}
.redline del{color:#b3241d;text-decoration-thickness:3px;text-decoration-color:var(--red)}
.redline ins{text-decoration:none;background:linear-gradient(var(--hl-gold),var(--hl-gold)) no-repeat 0 85%/100% .5em}
.redline figcaption{margin-top:22px;font-size:.92rem;color:#454b66}

.offers{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(24px,3vw,48px)}
.offer{position:relative;padding-top:26px;border-top:3px solid currentColor}
.offer .price{font-size:clamp(2.8rem,4.6vw,4.4rem);line-height:1;font-weight:800;letter-spacing:-.05em}
.offer h3{margin-top:18px;font-size:1.65rem}
.offer h3 a{text-decoration:none}
.offer h3 a::after{content:"";position:absolute;inset:0}
.offer:hover h3 a{text-decoration:underline;text-decoration-thickness:3px}
.offer:has(a:focus-visible){outline:3px solid var(--navy);outline-offset:8px}
.offer a:focus-visible{outline:none}
.offer p:last-child{margin-top:12px;font-size:1.02rem}
.offers-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;max-width:none;margin-top:56px}

/* 7. Homepage: start, guides, newsletter --------------------------------- */
.start{padding:110px 0}
.start-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:80px;align-items:start}
.start h2{font-size:clamp(2.4rem,4.4vw,4rem);max-width:11ch}
.start-note{margin-top:28px;color:var(--muted);max-width:40ch}
.start-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.start-options a{display:flex;align-items:flex-end;min-height:92px;padding:14px 16px;border:2px solid var(--line-strong);border-radius:var(--radius);color:var(--ink);font-family:var(--display);font-weight:700;font-size:1.12rem;line-height:1.1;letter-spacing:-.015em;text-decoration:none;transition:background-color .2s,color .2s}
.start-options a:hover{background:var(--surface)}
.start-options a[aria-selected=true]{border-color:var(--sel);background:var(--sel);color:var(--sel-ink)}
.opt-blue{--sel:var(--blue);--sel-ink:var(--white)}.opt-pink{--sel:var(--pink);--sel-ink:var(--navy)}
.opt-red{--sel:var(--red);--sel-ink:var(--white)}.opt-gold{--sel:var(--gold);--sel-ink:var(--navy)}
.start-panel{padding-top:30px}
.start-panel+.start-panel{margin-top:30px;border-top:2px solid var(--line-strong)}
.js .start-panel+.start-panel{margin-top:0;border-top:0}
.start-panel h3{font-size:2rem}
.start-panel p{margin-top:12px;color:var(--muted)}
.start-panel ul{margin:18px 0 26px;padding-left:20px}
.start-panel li{margin:6px 0}

.guides-head{display:grid;grid-template-columns:auto 1fr auto;gap:48px;align-items:end;margin-bottom:44px}
.guides-head h2{font-size:clamp(2.4rem,4.4vw,4rem)}
.guides-head p{color:var(--muted);max-width:44ch}
.guide-list{display:grid;border-top:2px solid var(--line-strong)}
.guide-row{position:relative;display:grid;grid-template-columns:1.2fr 1fr 52px;gap:44px;align-items:center;padding:30px 0;border-bottom:2px solid var(--line-strong)}
.guide-row h2,.guide-row h3{font-size:clamp(1.35rem,2vw,1.7rem);font-weight:700;line-height:1.2}
.guide-row h2 a,.guide-row h3 a{color:var(--ink);text-decoration:none}
.guide-row h2 a::after,.guide-row h3 a::after{content:"";position:absolute;inset:0}
.guide-row:has(a:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.guide-row a:focus-visible{outline:none}
.guide-row p{color:var(--muted);font-size:1rem}
.guide-arrow{display:grid;place-items:center;width:52px;height:52px;border:1.5px solid var(--line-strong);border-radius:50%;color:var(--ink);transition:background .25s,color .25s,transform .3s var(--ease)}
.guide-arrow .arrow{width:20px;height:20px}
.guide-row:hover .guide-arrow{background:var(--action-bg);color:var(--action-text);border-color:transparent;transform:translateX(4px)}

.news{padding:96px 0;background:var(--navy);color:var(--white)}
.news :focus-visible{outline-color:var(--gold)}
.news-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end}
.news h2{font-size:clamp(2.6rem,5vw,4.6rem)}
.news p{margin-top:16px;color:#c6cae0}
.newsletter-form label{display:block;margin-bottom:12px;font-size:.95rem;font-weight:600}
.newsletter-fields{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.newsletter-fields input{flex:1 1 220px;min-width:0;min-height:54px;padding:13px 18px;border:0;border-radius:4px;background:var(--white);color:var(--navy);font-size:1rem}
.newsletter-fields input::placeholder{color:#5d6380}
.news .button{background:var(--gold);color:var(--navy)}
.news .button:hover{background:var(--white)}
.newsletter-meta{margin-top:14px;font-size:.88rem}
@media(prefers-color-scheme:dark){.news{background:var(--navy-deep)}}

/* 8. Inner pages ---------------------------------------------------------- */
.page-section{padding-top:72px}
.page-heading{max-width:920px;margin-bottom:56px}
.page-heading::after{content:"";display:block;height:10px;margin-top:40px;background:linear-gradient(90deg,var(--blue) 0 25%,var(--pink) 25% 50%,var(--red) 50% 75%,var(--gold) 75%)}
.page-heading h1,.article-heading h1{font-size:clamp(2.6rem,5vw,4.4rem);font-weight:800;letter-spacing:-.045em;line-height:.95;max-width:18ch}
.page-heading .lead,.article-heading .lead{margin-top:24px}

.service-list{display:grid;border-top:2px solid var(--line-strong)}
.service-row{display:grid;grid-template-columns:1fr 1.3fr .8fr;gap:40px;align-items:start;padding:36px 0;border-bottom:2px solid var(--line-strong)}
.service-row h2{font-size:clamp(1.6rem,2.4vw,2.1rem);line-height:1.1}
.service-row h2 a{color:var(--ink);text-decoration:none}
.service-row h2 a:hover{text-decoration:underline}
.service-summary p{color:var(--muted);font-size:1rem}
.service-summary p+p{margin-top:14px}
.service-summary strong{color:var(--ink)}
.service-choice{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.service-choice .price{font-size:2.2rem;color:var(--ink)}
.page-invitation{margin-top:48px;padding:44px;background:var(--blue);color:var(--white);border-radius:var(--radius)}
.page-invitation h2{font-size:2rem}
.page-invitation p{margin-top:14px;color:#e6eaff}
.page-invitation .button{margin-top:24px;background:var(--white);color:var(--navy)}
.page-invitation .button:hover{background:var(--gold)}
.page-invitation :focus-visible{outline-color:var(--gold)}

.article-layout{display:grid;grid-template-columns:minmax(0,740px) minmax(260px,1fr);gap:80px;align-items:start}
.article-main{min-width:0}
.article-heading{margin:26px 0 44px}
.back-link{font-weight:600;font-size:.92rem}
.article-date{margin-top:20px;font-size:.88rem;color:var(--muted)}
.article-aside{position:sticky;top:120px}
.aside-content{padding:30px;background:var(--surface);border-top:10px solid var(--gold);border-radius:var(--radius)}
.aside-content h2{font-size:1.7rem;line-height:1.15}
.aside-content p{margin-top:14px;color:var(--muted);font-size:.98rem}
.aside-content .price{margin:0 0 16px;font-size:2.8rem;color:var(--ink)}
.aside-content h2+p+.price{margin-top:20px}
.aside-content .button,.aside-content .text-link{margin-top:22px}
.aside-content .button{width:100%;justify-content:space-between}
.aside-content .aside-note{font-size:.85rem}
.article-toc{margin-bottom:40px;padding:22px 26px;background:var(--surface);border-radius:var(--radius)}
.article-toc h2{margin-bottom:10px;font-size:1rem}
.article-toc ul{margin:0;padding-left:18px}
.article-toc li{margin-top:6px;line-height:1.5;font-size:.95rem}

.rich-text{max-width:68ch;font-size:1.06rem}
.rich-text p{margin-bottom:22px;color:var(--muted)}
.rich-text h2{margin:52px 0 18px;font-size:clamp(1.7rem,2.6vw,2.3rem);line-height:1.12}
.rich-text h3{margin:32px 0 12px;font-size:1.3rem;line-height:1.25}
.rich-text ul,.rich-text ol{margin:18px 0 28px;padding-left:24px;color:var(--muted)}
.rich-text li{margin-bottom:12px;padding-left:6px}
.rich-text li::marker{color:var(--ink)}
.rich-text strong{color:var(--ink)}
.rich-text.lead p{margin-bottom:0}

.contact-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px;align-items:start}
.contact-intro h2{font-size:2rem;line-height:1.1;max-width:14ch}
.contact-intro h3{margin-top:34px;font-size:1.2rem}
.contact-intro p{margin-top:14px;color:var(--muted)}
.contact-form{position:relative;display:grid;gap:24px;padding:36px;background:var(--surface);border:2px solid var(--line-strong);border-radius:var(--radius)}
.contact-form label{display:flex;flex-direction:column;gap:8px;font-size:.98rem;font-weight:600}
.contact-form .required,.contact-form .optional{display:contents;color:var(--muted);font-size:.82rem;font-weight:400}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;min-height:52px;padding:12px 14px;border:1.5px solid var(--input-border);border-radius:4px;background:var(--input-bg);color:var(--ink);font-size:1rem;font-weight:400;line-height:1.5}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--ink)}
.contact-form textarea{min-height:150px;resize:vertical}
.contact-form button{justify-self:start}
.contact-form ::placeholder{color:var(--muted);opacity:.85}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.field-hint{font-size:.85rem;font-weight:400;line-height:1.5;color:var(--muted)}
.form-instruction,.form-meta{color:var(--muted);font-size:.86rem}
.form-error{padding:20px;background:var(--error-bg);border:1px solid var(--error-line);border-radius:4px}
.form-error h2{font-size:1.15rem;color:var(--error-heading)}
.form-error p{margin-top:10px;font-size:.92rem;color:var(--error-text)}
.field-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* 9. Responsive and reduced motion ---------------------------------------- */
@media(max-width:1100px){
  .container,.stage>.container{width:calc(100% - 64px)}
  .nav{gap:18px}
  .article-layout,.contact-layout{gap:50px}
}
@media(max-width:1000px){
  :root{--header-h:70px}
  .header-inner{flex-wrap:wrap;gap:0}
  .brand img{width:170px}
  .menu-toggle{display:inline-flex}
  .nav{width:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px 0 20px}
  .js .nav{display:none}
  .js[data-menu-open=true] .nav{display:flex}
  .nav a{min-height:44px;padding:13px 0;font-size:1.1rem;border-bottom:1px solid var(--line)}
  .nav .nav-contact{margin-top:14px;padding:13px 18px;border:0}
  /* Cards are taller than the screen here, so they scroll normally. */
  .stage{position:relative;top:auto;min-height:0;display:block}
  .stage-grid,.start-layout,.news-layout{grid-template-columns:1fr;gap:44px}
  .offers{grid-template-columns:1fr}
  .stage-head-wide{display:block}
  .stage-head-wide .stage-lead{margin-top:20px;text-align:left}
  .guides-head{grid-template-columns:1fr;gap:16px}
}
@media(max-width:900px){
  .hero-top{grid-template-columns:1fr;gap:24px}
  .sm-doc-head{align-items:flex-start}
}
@media(max-width:800px){
  .container,.stage>.container{width:calc(100% - 40px)}
  .section,.start{padding:76px 0}
  .start-options{grid-template-columns:1fr}
  .start-options a{min-height:60px;align-items:center}
  .service-row{grid-template-columns:1fr;gap:16px}
  .service-choice{flex-direction:row;align-items:center;justify-content:space-between;width:100%}
  .guide-row{grid-template-columns:1fr 48px;gap:10px 20px}
  .guide-row p{grid-column:1}
  .guide-arrow{grid-column:2;grid-row:1 / 3;width:48px;height:48px}
  .article-layout,.contact-layout{grid-template-columns:1fr;gap:40px}
  .article-aside{position:static}
  .footer-main{grid-template-columns:1fr 1fr}
  .footer-main nav{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap;gap:26px}
  .page-section{padding-top:48px}
  .page-heading{margin-bottom:36px}
  .page-invitation{padding:30px 24px}
}
@media(max-width:480px){
  body{font-size:16.5px}
  .brand img{width:150px}
  .section,.start{padding:60px 0}
  .lead{font-size:1.06rem}
  .hero h1{font-size:3.1rem}
  .steps li::before{font-size:3rem}
  .redline{box-shadow:8px 8px 0 #8f1813}
  .sm-switch{gap:8px;padding:4px 6px 4px 12px;font-size:.88rem}
  .sm-switch-track{width:48px;height:26px}
  .sm-switch-knob{width:20px;height:20px}
  .sm-switch[aria-pressed=true] .sm-switch-knob{transform:translateX(22px)}
  .contact-form{padding:24px 18px}
  .field-grid{grid-template-columns:1fr}
  .newsletter-fields{flex-direction:column}
  .footer-main{grid-template-columns:1fr;gap:26px}
  .footer-bottom{flex-direction:column;gap:6px}
  .page-heading h1,.article-heading h1{font-size:2.5rem}
}
@media(prefers-reduced-motion:reduce){
  :root{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
