
:root{
  --bg:#f5f3ee;
  --paper:#fffdf9;
  --paper-2:#f0eee8;
  --ink:#16212b;
  --muted:#66727d;
  --line:#dcd8cf;
  --brand:#173b57;
  --brand-2:#245e80;
  --mint:#7bb8a8;
  --mint-soft:#dcebe5;
  --amber:#d9a04a;
  --coral:#c96f5a;
  --success:#2f7b66;
  --max:1180px;
  --radius:22px;
  --shadow:0 18px 60px rgba(28,35,42,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    linear-gradient(rgba(22,33,43,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(22,33,43,.032) 1px,transparent 1px),
    var(--bg);
  background-size:34px 34px;
  color:var(--ink);
  font:16px/1.62 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
img{max-width:100%;display:block}
.container{width:min(calc(100% - 36px),var(--max));margin-inline:auto}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(245,243,238,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(22,33,43,.08);
}
.nav{
  height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px
}
.brand{display:flex;align-items:center;gap:12px;font-weight:850;letter-spacing:-.03em}
.brand img{width:36px;height:36px}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-text strong{font-size:21px}
.brand-text small{
  margin-top:5px;color:var(--muted);font-size:10px;font-weight:700;
  text-transform:uppercase;letter-spacing:.12em
}
.nav-links{display:flex;align-items:center;gap:22px}
.nav-links>a:not(.btn){font-size:14px;font-weight:650;color:#34424e}
.nav-links>a:not(.btn):hover{color:var(--brand)}
.menu-btn{display:none;border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:9px 12px}
.mobile-nav{display:none;padding:0 0 16px}
.mobile-nav.open{display:grid;gap:8px}
.mobile-nav a{padding:8px 2px;font-weight:650;color:#34424e}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 18px;border-radius:14px;
  font-weight:780;border:1px solid transparent;cursor:pointer;transition:.18s ease
}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 10px 28px rgba(23,59,87,.16)}
.btn-primary:hover{background:#102f48;transform:translateY(-1px)}
.btn-secondary{background:var(--paper);border-color:var(--line)}
.btn-secondary:hover{background:#f9f7f2}
.btn-link{padding:0;min-height:auto;color:var(--brand);font-weight:800}

.hero{padding:88px 0 64px}
.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:54px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  padding:7px 11px;border-radius:999px;
  background:var(--mint-soft);border:1px solid #cfe0d8;
  color:#285f50;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase
}
.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--success)}
h1,h2,h3{margin:0;line-height:1.08;letter-spacing:-.04em}
h1{font-size:clamp(46px,7vw,78px);max-width:760px}
h2{font-size:clamp(32px,4.7vw,52px)}
h3{font-size:22px}
.hero-copy{margin:22px 0 28px;max-width:690px;color:var(--muted);font-size:19px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-note{margin-top:15px;font-size:13px;color:#7a848d}
.hero-note strong{color:var(--ink)}

.hero-stage{
  position:relative;min-height:510px;
  border:1px solid var(--line);border-radius:28px;background:var(--paper);
  box-shadow:var(--shadow);overflow:hidden
}
.hero-stage:before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle at 82% 15%,rgba(123,184,168,.22),transparent 27%),
    radial-gradient(circle at 5% 95%,rgba(36,94,128,.10),transparent 28%)
}
.stage-top{position:relative;display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}
.stage-title{font-size:13px;font-weight:850;text-transform:uppercase;letter-spacing:.1em;color:#56636e}
.stage-chip{padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:#faf8f3;font-size:11px;color:#66727d}
.stage-query{
  position:relative;margin:20px;border:1px solid #d4d0c7;border-radius:18px;background:#faf9f6;padding:16px 17px
}
.stage-query small{display:block;color:#7b858f;font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;margin-bottom:6px}
.stage-query strong{font-size:17px;line-height:1.35}
.product-card{
  position:relative;margin:0 20px 16px;padding:18px;border:1px solid #e0ddd6;border-radius:18px;background:#fff;
  display:grid;grid-template-columns:64px 1fr auto;gap:15px;align-items:center
}
.product-thumb{
  width:64px;height:64px;border-radius:14px;background:
  linear-gradient(135deg,#dfe6eb,#f3f5f6);
  border:1px solid #d7dde1;position:relative
}
.product-thumb:before{
  content:"";position:absolute;width:28px;height:28px;border-radius:8px;
  border:7px solid var(--brand);left:17px;top:16px;border-right-width:4px
}
.product-name{font-weight:820;font-size:15px}
.product-meta{font-size:12px;color:var(--muted);margin-top:4px}
.signal{
  width:12px;height:12px;border-radius:50%
}
.signal.good{background:var(--success)}
.signal.warn{background:var(--amber)}
.signal.bad{background:var(--coral)}
.issue-bar{
  position:relative;margin:0 20px 20px;padding:17px 18px;border-radius:18px;
  background:var(--brand);color:#fff
}
.issue-bar-top{display:flex;justify-content:space-between;gap:15px;align-items:center}
.issue-bar strong{font-size:18px}
.issue-bar small{color:#cbd9e4}
.issue-progress{height:7px;border-radius:999px;background:rgba(255,255,255,.18);margin-top:13px;overflow:hidden}
.issue-progress span{display:block;height:100%;width:68%;background:var(--mint);border-radius:999px}

.trust-strip{padding:4px 0 0}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.trust-item{
  padding:16px 17px;border:1px solid var(--line);border-radius:16px;background:rgba(255,253,249,.72)
}
.trust-item strong{display:block;font-size:15px}
.trust-item span{font-size:12px;color:var(--muted)}

.section{padding:84px 0}
.section-sm{padding:54px 0}
.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:32px}
.section-head p{margin:0;max-width:610px;color:var(--muted)}
.overline{
  display:block;margin-bottom:10px;font-size:12px;font-weight:850;
  color:var(--brand-2);text-transform:uppercase;letter-spacing:.12em
}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.card{
  border:1px solid var(--line);border-radius:22px;background:var(--paper);padding:26px;
  box-shadow:0 9px 28px rgba(29,38,46,.035)
}
.card-index{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:24px
}
.card-index span:first-child{
  font-size:12px;font-weight:850;color:var(--brand-2);letter-spacing:.11em;text-transform:uppercase
}
.card-index span:last-child{width:36px;height:1px;background:#cfd2d4}
.card p{color:var(--muted);margin:10px 0 0}

.method{
  display:grid;grid-template-columns:.82fr 1.18fr;gap:18px
}
.method-aside{
  background:var(--brand);color:#fff;border-radius:24px;padding:30px;display:flex;flex-direction:column;justify-content:space-between
}
.method-aside p{color:#c9d6df}
.method-aside .big-number{font-size:76px;line-height:1;font-weight:900;letter-spacing:-.06em;color:#fff}
.method-list{display:grid;gap:12px}
.method-row{
  background:var(--paper);border:1px solid var(--line);border-radius:19px;padding:20px;
  display:grid;grid-template-columns:42px 1fr;gap:15px
}
.method-row .n{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  background:#e9eef3;color:var(--brand);font-weight:900
}
.method-row p{margin:6px 0 0;color:var(--muted)}

.compare{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.compare-box{border:1px solid var(--line);border-radius:22px;background:var(--paper);padding:26px}
.compare-label{
  display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:850;
  text-transform:uppercase;letter-spacing:.09em
}
.compare-box.bad-side .compare-label{background:#f5e3df;color:#9f4c3d}
.compare-box.good-side .compare-label{background:#deece7;color:#2f6d5b}
.compare-box strong{display:block;margin:16px 0 10px;font-size:20px;line-height:1.35}
.compare-box p{color:var(--muted);margin:0}

.no-fake{
  border:1px dashed #bfc5c9;border-radius:22px;background:rgba(255,253,249,.62);
  padding:24px;display:flex;justify-content:space-between;gap:25px;align-items:center
}
.no-fake p{margin:0;color:var(--muted);max-width:780px}

.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.plan{
  position:relative;border:1px solid var(--line);border-radius:24px;background:var(--paper);padding:28px
}
.plan.featured{border-color:#aebdcc;box-shadow:0 18px 44px rgba(23,59,87,.08)}
.plan-tag{
  position:absolute;right:22px;top:22px;padding:5px 8px;border-radius:999px;
  background:#e7edf2;color:var(--brand);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.09em
}
.price{font-size:40px;font-weight:900;letter-spacing:-.05em;color:var(--brand);margin:15px 0 2px}
.price-sub{font-size:13px;color:var(--muted)}
.feature-list{list-style:none;padding:0;margin:22px 0 28px;display:grid;gap:10px}
.feature-list li{padding-left:21px;position:relative;color:#37444f}
.feature-list li:before{
  content:"";position:absolute;left:0;top:.68em;width:8px;height:8px;border-radius:50%;background:var(--mint)
}

.cta{
  display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;
  border:1px solid #bbc9d4;border-radius:28px;background:
  linear-gradient(135deg,#fdfcf8 0%,#edf3f6 100%);
  padding:34px 36px;box-shadow:var(--shadow)
}
.cta p{margin:10px 0 0;color:var(--muted);max-width:720px}

.page-hero{padding:82px 0 38px}
.page-hero p{max-width:760px;color:var(--muted);font-size:18px;margin:18px 0 0}
.page-title-grid{display:grid;grid-template-columns:1fr .48fr;gap:38px;align-items:end}
.page-side-note{
  border-left:2px solid var(--brand-2);padding-left:18px;color:#52606b;font-size:14px
}

.form{
  max-width:840px;border:1px solid var(--line);border-radius:24px;background:var(--paper);padding:28px;box-shadow:var(--shadow)
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-group{display:grid;gap:8px;margin-bottom:14px}
label{font-size:13px;font-weight:750;color:#34424e}
input,select,textarea{
  width:100%;border:1px solid #d0cdc5;border-radius:14px;background:#fffdfa;color:var(--ink);
  padding:14px;outline:none
}
input:focus,select:focus,textarea:focus{border-color:#8ea5b5;box-shadow:0 0 0 4px rgba(36,94,128,.08)}
textarea{min-height:140px;resize:vertical}
.form-note{font-size:12px;color:var(--muted);margin-top:10px}

.faq{display:grid;gap:12px}
.faq details{
  border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:17px 19px
}
.faq summary{cursor:pointer;font-weight:800}
.faq p{color:var(--muted);margin:10px 0 0}

.footer{margin-top:76px;border-top:1px solid rgba(22,33,43,.09);padding:42px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:30px}
.footer p,.footer a{color:var(--muted);font-size:14px}
.footer-links{display:grid;gap:8px}
.footer-bottom{
  margin-top:30px;padding-top:18px;border-top:1px solid rgba(22,33,43,.08);
  display:flex;justify-content:space-between;gap:18px;color:#8b949c;font-size:12px
}
.legal{max-width:860px}
.legal h2{font-size:28px;margin-top:34px}
.legal p{color:#4e5a64}
.small{font-size:13px;color:var(--muted)}

@media(max-width:980px){
  .nav-links{display:none}
  .menu-btn{display:block}
  .hero-grid,.grid-3,.grid-2,.method,.compare,.pricing,.footer-grid,.page-title-grid{grid-template-columns:1fr}
  .hero-stage{min-height:auto}
  .trust-grid{grid-template-columns:1fr 1fr}
  .section-head{align-items:start;flex-direction:column}
  .cta{grid-template-columns:1fr}
}
@media(max-width:640px){
  .container{width:min(calc(100% - 24px),var(--max))}
  .hero{padding-top:56px}
  h1{font-size:46px}
  .hero-copy{font-size:17px}
  .hero-actions{display:grid}
  .btn{width:100%}
  .trust-grid{grid-template-columns:1fr}
  .product-card{grid-template-columns:54px 1fr}
  .product-card .signal{grid-column:2}
  .form-grid{grid-template-columns:1fr}
  .no-fake{align-items:flex-start;flex-direction:column}
  .footer-bottom{flex-direction:column}
}


/* =========================================================
   FINDMERCE PREMIUM PAGE REVEAL
   ========================================================= */
html.js body{
  --reveal-ease:cubic-bezier(.22,.78,.24,1);
}

.page-reveal{
  position:fixed;
  inset:0;
  z-index:9999;
  pointer-events:none;
  display:none;
}

html.js body.intro-active .page-reveal{
  display:block;
}

.page-reveal__panel{
  position:absolute;
  top:0;
  bottom:0;
  width:50.2%;
  background:#173b57;
  will-change:transform;
  transition:transform .92s var(--reveal-ease);
}

.page-reveal__panel--left{
  left:0;
  transform-origin:left center;
}

.page-reveal__panel--right{
  right:0;
  transform-origin:right center;
}

.page-reveal__brand{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  z-index:2;
  opacity:0;
  transform:scale(.94);
  transition:
    opacity .36s ease .10s,
    transform .58s var(--reveal-ease) .08s;
}

.page-reveal__brand img{
  width:74px;
  height:74px;
  filter:drop-shadow(0 14px 28px rgba(0,0,0,.16));
}

body.intro-active .page-reveal__brand{
  opacity:1;
  transform:scale(1);
}

body.intro-leaving .page-reveal__brand{
  opacity:0;
  transform:scale(.98);
  transition-delay:0s;
}

body.intro-leaving .page-reveal__panel--left{
  transform:translateX(-101%);
}

body.intro-leaving .page-reveal__panel--right{
  transform:translateX(101%);
}

/* Initial content state only when JS is available */
html.js body:not(.content-ready) .site-header{
  opacity:0;
  transform:translateY(-10px);
}

html.js body:not(.content-ready) main{
  opacity:0;
}

html.js body.content-ready .site-header{
  animation:fmHeaderIn .72s var(--reveal-ease) both;
}

html.js body.content-ready main{
  animation:fmMainIn .68s ease both;
}

/* First-page hero staging */
html.js body.content-ready .hero .eyebrow,
html.js body.content-ready .hero h1,
html.js body.content-ready .hero .hero-copy,
html.js body.content-ready .hero .hero-actions,
html.js body.content-ready .hero .hero-note,
html.js body.content-ready .hero-stage,
html.js body.content-ready .page-hero .overline,
html.js body.content-ready .page-hero h1,
html.js body.content-ready .page-hero p,
html.js body.content-ready .page-side-note{
  animation:fmRevealUp .78s var(--reveal-ease) both;
}

html.js body.content-ready .hero h1,
html.js body.content-ready .page-hero h1{animation-delay:.06s}

html.js body.content-ready .hero .hero-copy,
html.js body.content-ready .page-hero p{animation-delay:.12s}

html.js body.content-ready .hero .hero-actions{animation-delay:.17s}
html.js body.content-ready .hero .hero-note{animation-delay:.21s}
html.js body.content-ready .hero-stage,
html.js body.content-ready .page-side-note{animation-delay:.14s}

/* Scroll reveal for sections */
html.js .reveal-on-scroll{
  opacity:0;
  transform:translateY(24px);
  transition:
    opacity .72s ease,
    transform .84s var(--reveal-ease);
}

html.js .reveal-on-scroll.is-visible{
  opacity:1;
  transform:none;
}

html.js .reveal-on-scroll[data-delay="1"]{transition-delay:.06s}
html.js .reveal-on-scroll[data-delay="2"]{transition-delay:.12s}
html.js .reveal-on-scroll[data-delay="3"]{transition-delay:.18s}

/* Very subtle depth on cards, no flashy AI glow */
@media (hover:hover) and (pointer:fine){
  .card,
  .plan,
  .compare-box,
  .method-row,
  .trust-item{
    transition:
      transform .28s var(--reveal-ease),
      box-shadow .28s ease,
      border-color .28s ease;
  }

  .card:hover,
  .plan:hover,
  .compare-box:hover,
  .method-row:hover,
  .trust-item:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 42px rgba(23,59,87,.07);
    border-color:#c8c3b8;
  }
}

@keyframes fmHeaderIn{
  from{opacity:0;transform:translateY(-10px)}
  to{opacity:1;transform:none}
}

@keyframes fmMainIn{
  from{opacity:0}
  to{opacity:1}
}

@keyframes fmRevealUp{
  from{
    opacity:0;
    transform:translateY(22px);
  }
  to{
    opacity:1;
    transform:none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion:reduce){
  .page-reveal{display:none!important}
  html.js body,
  html.js body *{
    animation-duration:.01ms!important;
    animation-delay:0ms!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
  html.js .reveal-on-scroll{
    opacity:1!important;
    transform:none!important;
  }
}


/* =========================================================
   FINDMERCE THEME + COOKIE UI
   ========================================================= */

html{
  color-scheme:light;
}

html[data-theme="dark"]{
  color-scheme:dark;
}

.theme-toggle{
  width:44px;
  height:44px;
  padding:0;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--paper);
  color:var(--ink);
  display:inline-grid;
  place-items:center;
  cursor:pointer;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.theme-toggle:hover{
  transform:translateY(-1px);
}

.theme-toggle svg{
  width:19px;
  height:19px;
  display:block;
}

.theme-toggle .icon-moon{display:block}
.theme-toggle .icon-sun{display:none}

html[data-theme="dark"] .theme-toggle .icon-moon{display:none}
html[data-theme="dark"] .theme-toggle .icon-sun{display:block}

/* Cookie banner */
.cookie-banner{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:9998;
  display:none;
  pointer-events:none;
}

.cookie-banner.is-visible{
  display:block;
}

.cookie-inner{
  width:min(100%, 980px);
  margin:0 auto;
  background:rgba(255,253,249,.96);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 24px 70px rgba(22,33,43,.16);
  backdrop-filter:blur(14px);
  padding:18px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:20px;
  align-items:center;
  pointer-events:auto;
}

.cookie-copy{
  display:grid;
  gap:5px;
}

.cookie-copy strong{
  font-size:15px;
}

.cookie-copy p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.cookie-copy a{
  color:var(--brand);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.cookie-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.cookie-actions .btn{
  min-height:42px;
  padding:0 14px;
  font-size:13px;
}

/* Dark theme variables */
html[data-theme="dark"]{
  --bg:#0f151b;
  --paper:#151d24;
  --paper-2:#1b252e;
  --ink:#f3f6f8;
  --muted:#9ca8b2;
  --line:#2d3943;
  --brand:#8fc1df;
  --brand-2:#70a9cb;
  --mint:#6fb3a0;
  --mint-soft:#203b36;
  --amber:#e0aa54;
  --coral:#d27a67;
  --success:#69b69e;
  --shadow:0 18px 60px rgba(0,0,0,.28);
}

html[data-theme="dark"] body{
  background:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
    var(--bg);
  background-size:34px 34px;
}

html[data-theme="dark"] .site-header{
  background:rgba(15,21,27,.88);
  border-bottom-color:rgba(255,255,255,.07);
}

html[data-theme="dark"] .nav-links>a:not(.btn),
html[data-theme="dark"] .mobile-nav a{
  color:#c2ccd4;
}

html[data-theme="dark"] .nav-links>a:not(.btn):hover{
  color:#fff;
}

html[data-theme="dark"] .btn-secondary{
  background:#182129;
  border-color:#34414b;
  color:#f0f4f6;
}

html[data-theme="dark"] .btn-secondary:hover{
  background:#1e2932;
}

html[data-theme="dark"] .eyebrow{
  background:#203a35;
  border-color:#2f5048;
  color:#9fd1c3;
}

html[data-theme="dark"] .hero-stage,
html[data-theme="dark"] .card,
html[data-theme="dark"] .method-row,
html[data-theme="dark"] .compare-box,
html[data-theme="dark"] .plan,
html[data-theme="dark"] .form,
html[data-theme="dark"] .faq details{
  background:var(--paper);
  border-color:var(--line);
  box-shadow:0 10px 30px rgba(0,0,0,.14);
}

html[data-theme="dark"] .hero-stage:before{
  background:
    radial-gradient(circle at 82% 15%,rgba(111,179,160,.16),transparent 27%),
    radial-gradient(circle at 5% 95%,rgba(112,169,203,.10),transparent 28%);
}

html[data-theme="dark"] .stage-query,
html[data-theme="dark"] .product-card{
  background:#111920;
  border-color:#2b3741;
}

html[data-theme="dark"] .stage-chip,
html[data-theme="dark"] .pill{
  background:#1b252e;
  border-color:#34414b;
  color:#b1bec8;
}

html[data-theme="dark"] .product-thumb{
  background:linear-gradient(135deg,#283541,#1c2730);
  border-color:#34414b;
}

html[data-theme="dark"] .trust-item{
  background:rgba(21,29,36,.8);
  border-color:var(--line);
}

html[data-theme="dark"] .compare-box.bad-side .compare-label{
  background:#3e2724;
  color:#efaa9a;
}

html[data-theme="dark"] .compare-box.good-side .compare-label{
  background:#203b36;
  color:#9dd1c2;
}

html[data-theme="dark"] .no-fake{
  background:rgba(21,29,36,.65);
  border-color:#46525b;
}

html[data-theme="dark"] .cta{
  background:linear-gradient(135deg,#171f26 0%,#1b2932 100%);
  border-color:#344955;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{
  background:#111920;
  border-color:#34414b;
  color:#f3f6f8;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{
  color:#76838d;
}

html[data-theme="dark"] .footer{
  border-top-color:rgba(255,255,255,.08);
}

html[data-theme="dark"] .footer-bottom{
  border-top-color:rgba(255,255,255,.07);
}

html[data-theme="dark"] .cookie-inner{
  background:rgba(21,29,36,.96);
  border-color:#34414b;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
}

html[data-theme="dark"] .cookie-copy a{
  color:#9ac8e3;
}

/* Reduce logo glare slightly on dark mode */
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .page-reveal__brand img{
  filter:drop-shadow(0 8px 22px rgba(0,0,0,.18));
}

@media(max-width:980px){
  .theme-toggle{
    margin-left:auto;
    margin-right:8px;
  }
}

@media(max-width:700px){
  .cookie-inner{
    grid-template-columns:1fr;
  }
  .cookie-actions{
    justify-content:stretch;
  }
  .cookie-actions .btn{
    flex:1;
  }
}

@media(prefers-reduced-motion:reduce){
  .theme-toggle{
    transition:none!important;
  }
}


/* V7 informational privacy notice */
.cookie-actions:has([data-cookie-dismiss]){
  min-width:118px;
}

.cookie-actions [data-cookie-dismiss]{
  width:100%;
}

@media(max-width:700px){
  .cookie-actions:has([data-cookie-dismiss]){
    min-width:0;
  }
}


/* =========================================================
   FINDMERCE CROSS-PAGE TRANSITIONS
   ========================================================= */

.page-transition{
  position:fixed;
  inset:0;
  z-index:9997;
  pointer-events:none;
  visibility:hidden;
}

.page-transition__layer{
  position:absolute;
  inset:-2px;
  background:var(--brand);
  transform:translateX(101%);
  will-change:transform;
}

.page-transition__line{
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:1px;
  background:rgba(255,255,255,.34);
  box-shadow:0 0 34px rgba(255,255,255,.12);
}

/* Leaving current page */
body.page-exit .page-transition{
  visibility:visible;
}

body.page-exit .page-transition__layer{
  animation:fmPageCoverIn .34s cubic-bezier(.65,0,.35,1) forwards;
}

body.page-exit .site-header,
body.page-exit main,
body.page-exit .footer{
  animation:fmPageContentOut .30s cubic-bezier(.4,0,.6,1) forwards;
}

/* Entering next page after internal navigation */
body.page-enter .page-transition{
  visibility:visible;
}

body.page-enter .page-transition__layer{
  transform:translateX(0);
  animation:fmPageCoverOut .48s cubic-bezier(.22,.78,.24,1) forwards;
}

body.page-enter .site-header,
body.page-enter main,
body.page-enter .footer{
  animation:fmPageContentIn .52s cubic-bezier(.22,.78,.24,1) both;
}

/* Keep the initial branded intro above normal page transitions */
.page-reveal{
  z-index:10000;
}

@keyframes fmPageCoverIn{
  from{transform:translateX(101%)}
  to{transform:translateX(0)}
}

@keyframes fmPageCoverOut{
  0%{transform:translateX(0)}
  100%{transform:translateX(-101%)}
}

@keyframes fmPageContentOut{
  from{
    opacity:1;
    transform:translateY(0) scale(1);
  }
  to{
    opacity:.72;
    transform:translateY(-5px) scale(.994);
  }
}

@keyframes fmPageContentIn{
  from{
    opacity:.35;
    transform:translateY(8px) scale(.997);
  }
  to{
    opacity:1;
    transform:none;
  }
}

/* Theme-aware transition color */
html[data-theme="dark"] .page-transition__layer{
  background:#173b57;
}

@media(prefers-reduced-motion:reduce){
  .page-transition{
    display:none!important;
  }

  body.page-exit .site-header,
  body.page-exit main,
  body.page-exit .footer,
  body.page-enter .site-header,
  body.page-enter main,
  body.page-enter .footer{
    animation:none!important;
  }
}


/* V8.1 branded logo inside page transition */
.page-transition__brand{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  z-index:2;
  opacity:0;
  transform:scale(.94);
  will-change:opacity,transform;
}

.page-transition__brand img{
  width:68px;
  height:68px;
  display:block;
  filter:drop-shadow(0 12px 28px rgba(0,0,0,.18));
}

body.page-exit .page-transition__brand{
  animation:fmTransitionBrandIn .24s ease .10s forwards;
}

body.page-enter .page-transition__brand{
  opacity:1;
  transform:scale(1);
  animation:fmTransitionBrandOut .30s ease .08s forwards;
}

@keyframes fmTransitionBrandIn{
  from{
    opacity:0;
    transform:scale(.92);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

@keyframes fmTransitionBrandOut{
  from{
    opacity:1;
    transform:scale(1);
  }
  to{
    opacity:0;
    transform:scale(.97);
  }
}

@media(max-width:700px){
  .page-transition__brand img{
    width:58px;
    height:58px;
  }
}

@media(prefers-reduced-motion:reduce){
  .page-transition__brand{
    display:none!important;
  }
}


/* =========================================================
   V8.2 BRAND LOCKUP POLISH
   ========================================================= */

/* Header: make icon + wordmark read as one logo */
.brand{
  gap:10px;
  min-height:42px;
}

.brand img{
  width:40px;
  height:40px;
  flex:0 0 40px;
  object-fit:contain;
}

.brand-text{
  justify-content:center;
  line-height:1;
  transform:translateY(-1px);
}

.brand-text strong{
  display:block;
  font-size:22px;
  line-height:.92;
  font-weight:850;
  letter-spacing:-.045em;
}

.brand-text small{
  margin-top:6px;
  font-size:9px;
  line-height:1;
  font-weight:750;
  letter-spacing:.135em;
  text-transform:uppercase;
  white-space:nowrap;
}

/* Full Findmerce lockup on cross-page slide */
.page-transition__brand{
  padding:24px;
}

.page-transition__lockup{
  display:flex;
  align-items:center;
  gap:15px;
  opacity:1;
}

.page-transition__mark{
  width:64px;
  height:64px;
  flex:0 0 64px;
  display:grid;
  place-items:center;
  padding:7px;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  box-shadow:0 16px 45px rgba(0,0,0,.14);
}

.page-transition__mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:none;
}

.page-transition__word{
  color:#fff;
  font-size:38px;
  line-height:1;
  font-weight:850;
  letter-spacing:-.055em;
  text-shadow:0 10px 34px rgba(0,0,0,.12);
}

/* a fine visual divider that moves with the slide */
.page-transition__lockup::after{
  content:"";
  display:block;
  width:30px;
  height:1px;
  margin-left:2px;
  background:rgba(255,255,255,.34);
}

/* Slightly softer transition line now that the logo is present */
.page-transition__line{
  background:rgba(255,255,255,.22);
  box-shadow:0 0 28px rgba(255,255,255,.08);
}

@media(max-width:700px){
  .brand{
    gap:8px;
  }

  .brand img{
    width:36px;
    height:36px;
    flex-basis:36px;
  }

  .brand-text strong{
    font-size:20px;
  }

  .brand-text small{
    font-size:8px;
    letter-spacing:.12em;
  }

  .page-transition__lockup{
    gap:12px;
  }

  .page-transition__mark{
    width:54px;
    height:54px;
    flex-basis:54px;
    border-radius:15px;
    padding:6px;
  }

  .page-transition__word{
    font-size:31px;
  }

  .page-transition__lockup::after{
    width:20px;
  }
}

@media(max-width:410px){
  .brand-text small{
    display:none;
  }
}


/* =========================================================
   V8.3 UI POLISH
   ========================================================= */

/* Softer heading rhythm and better line breaks */
.hero h1,
.page-hero h1{
  text-wrap:balance;
}

.hero h1{
  max-width:11.2ch;
  font-size:clamp(44px,6.2vw,72px);
}

.hero-copy{
  max-width:640px;
}

@media(max-width:980px){
  .hero-grid{
    gap:34px;
  }

  .hero h1{
    max-width:12ch;
    font-size:clamp(42px,8vw,62px);
  }
}

@media(max-width:760px){
  .hero h1{
    max-width:13ch;
    font-size:clamp(40px,9vw,54px);
    line-height:1.02;
  }
}

/* Contact hero reads more premium */
.page-title-grid{
  align-items:center;
}

/* Sample analysis panel: cleaner alignment and stronger readability */
.stage-top{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
}

.stage-title{
  font-size:12px;
  font-weight:900;
  letter-spacing:.11em;
  color:#485662;
}

.stage-chip{
  min-width:124px;
  text-align:center;
  padding:6px 10px;
  border:1px solid #d8d2c8;
  background:#f4f1ea;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#52606c;
}

.issue-progress{
  background:#d6dde3;
}

.issue-progress span{
  background:linear-gradient(90deg,#d27a67,#e0aa54);
}

@media(max-width:700px){
  .stage-top{
    grid-template-columns:1fr;
    align-items:start;
  }

  .stage-chip{
    min-width:0;
  }
}

/* Dark mode readability for sample analysis */
html[data-theme="dark"] .stage-top{
  border-bottom-color:#2f3943;
}

html[data-theme="dark"] .stage-title{
  color:#c6d0d8;
}

html[data-theme="dark"] .stage-chip{
  background:#1d2730;
  border-color:#3a4650;
  color:#d3dde5;
}

html[data-theme="dark"] .stage-query small{
  color:#98a5ae;
}

html[data-theme="dark"] .product-meta{
  color:#94a0aa;
}

html[data-theme="dark"] .issue-bar{
  background:#203746;
  color:#f3f6f8;
}

html[data-theme="dark"] .issue-bar small{
  color:#bfd0da;
}

html[data-theme="dark"] .issue-progress{
  background:#31404b;
}

html[data-theme="dark"] .issue-progress span{
  background:linear-gradient(90deg,#e0927f,#e3ba75);
}

/* Subtler cross-page transition */
.page-transition__layer{
  background:rgba(252,250,246,.94);
  backdrop-filter:blur(10px);
  border-left:1px solid rgba(23,59,87,.08);
}

.page-transition__layer::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 50%,rgba(111,179,160,.10),transparent 24%),
    radial-gradient(circle at 76% 42%,rgba(23,59,87,.08),transparent 26%);
  opacity:1;
}

.page-transition__line{
  width:2px;
  background:rgba(23,59,87,.18);
  box-shadow:0 0 22px rgba(23,59,87,.06);
}

.page-transition__brand{
  z-index:3;
}

.page-transition__mark{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(23,59,87,.08);
  box-shadow:0 12px 30px rgba(22,33,43,.08);
}

.page-transition__word{
  color:#16212b;
  font-size:34px;
  text-shadow:none;
}

.page-transition__lockup::after{
  background:rgba(23,59,87,.14);
}

body.page-exit .page-transition__layer{
  animation:fmPageCoverIn .26s cubic-bezier(.5,0,.35,1) forwards;
}

body.page-enter .page-transition__layer{
  animation:fmPageCoverOut .38s cubic-bezier(.22,.78,.24,1) forwards;
}

body.page-exit .site-header,
body.page-exit main,
body.page-exit .footer{
  animation:fmPageContentOut .24s cubic-bezier(.4,0,.6,1) forwards;
}

body.page-enter .site-header,
body.page-enter main,
body.page-enter .footer{
  animation:fmPageContentIn .38s cubic-bezier(.22,.78,.24,1) both;
}

html[data-theme="dark"] .page-transition__layer{
  background:rgba(15,21,27,.94);
  border-left-color:rgba(255,255,255,.06);
}

html[data-theme="dark"] .page-transition__layer::before{
  background:
    radial-gradient(circle at 18% 50%,rgba(111,179,160,.12),transparent 24%),
    radial-gradient(circle at 76% 42%,rgba(143,193,223,.09),transparent 26%);
}

html[data-theme="dark"] .page-transition__line{
  background:rgba(143,193,223,.20);
  box-shadow:0 0 18px rgba(143,193,223,.06);
}

html[data-theme="dark"] .page-transition__mark{
  background:rgba(24,32,39,.92);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 14px 32px rgba(0,0,0,.18);
}

html[data-theme="dark"] .page-transition__word{
  color:#eef4f7;
}

html[data-theme="dark"] .page-transition__lockup::after{
  background:rgba(255,255,255,.14);
}


/* =========================================================
   V8.3 VISUAL POLISH
   ========================================================= */

/* Hero: calmer scale and more natural line breaks */
.hero-grid{
  grid-template-columns:minmax(0,1fr) minmax(460px,.96fr);
  gap:58px;
}

.hero h1{
  max-width:740px;
  font-size:clamp(44px,5.45vw,70px);
  line-height:1.045;
  letter-spacing:-.045em;
  text-wrap:balance;
}

.hero-copy{
  max-width:700px;
}

/* Give the sample analysis a bit more breathing room */
.hero-stage{
  min-height:500px;
}

.stage-top{
  gap:18px;
}

.stage-title{
  min-width:0;
  line-height:1.25;
}

.stage-chip{
  flex:0 0 auto;
  white-space:nowrap;
}

.issue-bar-top{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:22px;
}

.issue-bar-top > small{
  text-align:right;
  line-height:1.35;
}

/* Sample Analysis readability in dark mode */
html[data-theme="dark"] .issue-bar{
  background:linear-gradient(135deg,#27556b 0%,#1c4154 100%);
  border:1px solid #3f7187;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  color:#f7fbfd;
}

html[data-theme="dark"] .issue-bar small{
  color:#d8e8ef;
}

html[data-theme="dark"] .issue-bar strong{
  color:#ffffff;
}

html[data-theme="dark"] .issue-progress{
  background:rgba(255,255,255,.20);
}

html[data-theme="dark"] .issue-progress span{
  background:#86c8b5;
  box-shadow:0 0 0 1px rgba(255,255,255,.08);
}

html[data-theme="dark"] .stage-query{
  background:#121b22;
  border-color:#35434e;
}

html[data-theme="dark"] .product-card{
  background:#121b22;
  border-color:#35434e;
}

html[data-theme="dark"] .product-meta{
  color:#aebbc5;
}

/* Contact title: slightly more editorial, less salesy */
.page-hero h1{
  text-wrap:balance;
}

/* Softer, premium cross-page transition */
.page-transition__layer{
  background:
    linear-gradient(115deg,
      rgba(245,243,238,.985) 0%,
      rgba(237,239,233,.985) 54%,
      rgba(220,235,229,.985) 100%);
}

.page-transition__word{
  color:#173b57;
  text-shadow:none;
}

.page-transition__mark{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(23,59,87,.09);
  box-shadow:0 12px 34px rgba(23,59,87,.08);
}

.page-transition__lockup::after{
  background:rgba(23,59,87,.18);
}

.page-transition__line{
  background:rgba(47,123,102,.20);
  box-shadow:none;
}

html[data-theme="dark"] .page-transition__layer{
  background:
    linear-gradient(115deg,
      rgba(15,21,27,.99) 0%,
      rgba(18,29,36,.99) 55%,
      rgba(25,48,56,.99) 100%);
}

html[data-theme="dark"] .page-transition__word{
  color:#eef5f7;
}

html[data-theme="dark"] .page-transition__mark{
  background:rgba(255,255,255,.92);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 12px 34px rgba(0,0,0,.18);
}

html[data-theme="dark"] .page-transition__lockup::after{
  background:rgba(255,255,255,.18);
}

/* Responsive adjustments */
@media(max-width:1100px){
  .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(400px,.92fr);
    gap:40px;
  }

  .hero h1{
    font-size:clamp(42px,5.2vw,62px);
  }
}

@media(max-width:980px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .hero h1{
    max-width:820px;
    font-size:clamp(43px,8vw,66px);
  }

  .hero-stage{
    width:100%;
  }
}

@media(max-width:620px){
  .hero h1{
    font-size:clamp(40px,12.2vw,54px);
    line-height:1.02;
  }

  .issue-bar-top{
    grid-template-columns:1fr;
    gap:7px;
  }

  .issue-bar-top > small{
    text-align:left;
  }

  .stage-top{
    align-items:flex-start;
  }
}


/* =========================================================
   V8.4 HERO + SAMPLE PANEL ALIGNMENT
   ========================================================= */

/* Desktop headline: four calmer, more even lines */
.hero-grid{
  grid-template-columns:minmax(500px,.94fr) minmax(500px,1.06fr);
  gap:54px;
  align-items:start;
}

.hero-headline{
  max-width:610px!important;
  font-size:clamp(48px,4.65vw,66px)!important;
  line-height:1.015!important;
  letter-spacing:-.045em!important;
  text-wrap:initial!important;
}

.hero-headline > span{
  display:block;
  white-space:nowrap;
}

/* The analysis card now visually belongs to the hero instead of floating low */
.hero-stage{
  width:100%;
  min-height:540px;
  margin-top:136px;
  display:flex;
  flex-direction:column;
}

.hero-stage .stage-query{
  margin-bottom:18px;
}

.hero-stage .product-card{
  flex:0 0 auto;
}

/* Push readiness bar toward the bottom and let it span the card cleanly */
.hero-stage .issue-bar{
  margin-top:auto;
}

.issue-bar-top{
  grid-template-columns:minmax(150px,.62fr) minmax(220px,1.38fr);
  align-items:end;
}

.issue-bar-top > div{
  display:flex;
  align-items:baseline;
  gap:7px;
  white-space:nowrap;
}

.issue-bar-top > div small{
  margin:0;
}

.issue-bar-top > small{
  max-width:none;
  text-align:right;
}

/* Slightly wider content area inside the sample card */
.stage-query,
.product-card{
  margin-left:20px;
  margin-right:20px;
}

@media(max-width:1120px){
  .hero-grid{
    grid-template-columns:minmax(440px,.94fr) minmax(430px,1.06fr);
    gap:38px;
  }

  .hero-headline{
    font-size:clamp(46px,4.55vw,60px)!important;
  }

  .hero-stage{
    margin-top:126px;
  }
}

@media(max-width:980px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .hero-headline{
    max-width:760px!important;
    font-size:clamp(44px,8vw,64px)!important;
  }

  .hero-headline > span{
    white-space:normal;
  }

  .hero-stage{
    margin-top:18px;
    min-height:auto;
  }

  .hero-stage .issue-bar{
    margin-top:0;
  }
}

@media(max-width:620px){
  .hero-headline{
    font-size:clamp(39px,11.8vw,52px)!important;
  }

  .issue-bar-top{
    grid-template-columns:1fr;
    align-items:start;
  }

  .issue-bar-top > div{
    white-space:normal;
  }

  .issue-bar-top > small{
    text-align:left;
  }
}


/* =========================================================
   V9 LEGAL CLEAN + DARK MODE CONTRAST
   ========================================================= */

.legal-document{
  max-width:900px;
}

.legal-document h2{
  margin-top:34px;
  margin-bottom:10px;
  font-size:clamp(24px,3vw,32px);
}

.legal-document p,
.legal-document li{
  line-height:1.75;
}

.legal-document ul{
  padding-left:20px;
}

.legal-document code{
  font:inherit;
  font-size:.92em;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:7px;
  padding:2px 6px;
}

.legal-provider{
  margin-top:52px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--paper);
}

.legal-provider h2{
  margin-top:0;
}

.form-privacy{
  margin:14px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}

.form-privacy a{
  text-decoration:underline;
  text-underline-offset:3px;
}

.pricing-note{
  margin-top:18px;
}

.pricing-note p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

/* Make interactive elements unmistakably readable in dark mode */
html[data-theme="dark"] .btn-primary{
  background:#a7d2e9;
  border-color:#a7d2e9;
  color:#0d1820;
  box-shadow:0 10px 30px rgba(0,0,0,.20);
}

html[data-theme="dark"] .btn-primary:hover{
  background:#b9ddf0;
  border-color:#b9ddf0;
  color:#081117;
}

html[data-theme="dark"] .btn-secondary{
  background:#1c2831;
  border-color:#53616c;
  color:#f8fafb;
}

html[data-theme="dark"] .btn-secondary:hover{
  background:#26343e;
  border-color:#71808b;
  color:#ffffff;
}

html[data-theme="dark"] .theme-toggle{
  background:#1c2831;
  border-color:#53616c;
  color:#f4f8fa;
}

html[data-theme="dark"] .theme-toggle:hover{
  background:#273640;
  border-color:#71808b;
}

html[data-theme="dark"] .overline{
  color:#a8d5ed;
}

html[data-theme="dark"] .page-side-note{
  color:#c7d2da;
  border-left-color:#7fc3e5;
}

html[data-theme="dark"] .plan-tag{
  background:#233743;
  border:1px solid #456071;
  color:#c6e3f2;
}

html[data-theme="dark"] .price-sub,
html[data-theme="dark"] .small,
html[data-theme="dark"] .form-privacy,
html[data-theme="dark"] .pricing-note p{
  color:#b8c4cc;
}

html[data-theme="dark"] .feature-list{
  color:#e7edf1;
}

html[data-theme="dark"] .footer-links a{
  color:#c7d1d8;
}

html[data-theme="dark"] .footer-links a:hover{
  color:#ffffff;
}

html[data-theme="dark"] .legal-provider{
  background:#151f27;
  border-color:#3d4c57;
}

html[data-theme="dark"] .legal-document code{
  background:#1d2932;
  border-color:#3b4b56;
  color:#eaf2f6;
}

.btn:focus-visible,
.theme-toggle:focus-visible,
a:focus-visible{
  outline:3px solid rgba(124,190,224,.55);
  outline-offset:3px;
}

@media(max-width:700px){
  .legal-provider{
    padding:18px;
  }
}


/* =========================================================
   V9.1 DARK MODE READABILITY + HERO PANEL ALIGNMENT
   ========================================================= */

/* Home hero: make left/right sides feel more balanced */
.hero-grid{
  grid-template-columns:minmax(500px,.96fr) minmax(560px,1.04fr) !important;
  gap:44px !important;
  align-items:start !important;
}

.hero-headline{
  max-width:560px !important;
}

.hero-copy{
  max-width:590px;
}

.hero-stage{
  width:100%;
  max-width:600px;
  min-height:560px;
  margin-top:78px;
  justify-self:end;
  display:flex;
  flex-direction:column;
}

.stage-top{
  padding:18px 22px;
  align-items:center;
}

.stage-title{
  flex:1 1 auto;
  min-width:0;
}

.stage-chip{
  flex:0 0 auto;
  white-space:nowrap;
}

.stage-query,
.product-card,
.issue-bar{
  margin-left:22px;
  margin-right:22px;
}

.hero-stage .issue-bar{
  margin-top:auto;
}

.issue-bar-top{
  display:grid !important;
  grid-template-columns:minmax(190px,.9fr) minmax(240px,1.1fr);
  gap:14px;
  align-items:center;
}

.issue-bar-top > div{
  display:flex;
  align-items:baseline;
  gap:7px;
  white-space:nowrap;
}

.issue-bar-top > small{
  text-align:right;
  line-height:1.35;
}

/* Dark mode legal pages and low-contrast copy */
html[data-theme="dark"] .page-hero p,
html[data-theme="dark"] .legal-document p,
html[data-theme="dark"] .legal-document li{
  color:#c4d0d8;
}

html[data-theme="dark"] .legal-document h2,
html[data-theme="dark"] .legal-provider h2{
  color:#f7fbfd;
}

html[data-theme="dark"] .legal-document strong,
html[data-theme="dark"] .legal-provider strong{
  color:#f1f6f9;
}

html[data-theme="dark"] .legal-document a,
html[data-theme="dark"] .legal-provider a{
  color:#9fd4ee;
}

html[data-theme="dark"] .legal-document .small{
  color:#c4d0d8;
}

html[data-theme="dark"] .product-meta{
  color:#c0ccd4;
}

html[data-theme="dark"] .stage-title small{
  color:#d2dde4;
}

html[data-theme="dark"] .stage-chip{
  color:#d8e7ef;
  border-color:#42515b;
  background:#1f2b34;
}

html[data-theme="dark"] .issue-bar{
  background:linear-gradient(135deg,#2c6079 0%, #254f66 100%);
  border:1px solid #4b7d93;
  color:#f7fbfd;
}

html[data-theme="dark"] .issue-bar small,
html[data-theme="dark"] .issue-bar strong{
  color:#f7fbfd;
}

html[data-theme="dark"] .issue-progress{
  background:rgba(255,255,255,.24);
}

html[data-theme="dark"] .issue-progress span{
  background:#8ad0bb;
}

/* Tablet/mobile fallbacks */
@media(max-width:1180px){
  .hero-grid{
    grid-template-columns:minmax(430px,.95fr) minmax(470px,1.05fr) !important;
    gap:34px !important;
  }

  .hero-stage{
    max-width:560px;
    margin-top:64px;
  }
}

@media(max-width:980px){
  .hero-grid{
    grid-template-columns:1fr !important;
  }

  .hero-headline{
    max-width:760px !important;
  }

  .hero-stage{
    max-width:none;
    margin-top:18px;
    min-height:auto;
  }

  .hero-stage .issue-bar{
    margin-top:0;
  }
}

@media(max-width:620px){
  .issue-bar-top{
    grid-template-columns:1fr !important;
    align-items:start;
  }

  .issue-bar-top > div{
    white-space:normal;
  }

  .issue-bar-top > small{
    text-align:left;
  }
}


/* =========================================================
   V9.2 PRICING CONTRAST + HERO EDGE ALIGNMENT
   ========================================================= */

/* Hero: make both columns share the same vertical frame on desktop */
.hero-grid{
  align-items:stretch !important;
}

.hero-main{
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.hero-main .hero-copy{
  max-width:590px;
}

.hero-main .hero-actions{
  margin-top:28px;
}

.hero-main .hero-note{
  margin-top:auto;
  padding-top:18px;
}

.hero-stage{
  margin-top:0 !important;
  min-height:auto !important;
  height:100%;
  max-height:none;
  align-self:stretch;
}

.hero-stage .stage-top{
  padding-top:19px;
  padding-bottom:19px;
}

.hero-stage .stage-query{
  margin-top:22px;
}

.hero-stage .issue-bar{
  margin-top:auto;
}

/* Pricing cards: stronger contrast in dark mode */
html[data-theme="dark"] .plan{
  background:#151f27;
  border-color:#33424d;
}

html[data-theme="dark"] .plan.featured{
  background:linear-gradient(180deg,#172632 0%, #15212a 100%);
  border-color:#4b6476;
  box-shadow:0 18px 50px rgba(0,0,0,.22);
}

html[data-theme="dark"] .plan .price{
  color:#f8fbfd;
  text-shadow:none;
}

html[data-theme="dark"] .plan .price-sub{
  color:#d0dae1;
}

html[data-theme="dark"] .plan p{
  color:#c8d2d9;
}

html[data-theme="dark"] .plan .feature-list li{
  color:#ecf2f5;
}

html[data-theme="dark"] .plan .feature-list li::marker{
  color:#98d2ec;
}

html[data-theme="dark"] .plan .btn-secondary{
  background:#24323c;
  border-color:#61717d;
  color:#f8fafb;
}

html[data-theme="dark"] .plan .btn-secondary:hover{
  background:#2b3b46;
  border-color:#7a8b97;
}

html[data-theme="dark"] .plan .btn-primary{
  background:#b7ddee;
  border-color:#b7ddee;
  color:#0e1921;
}

html[data-theme="dark"] .plan .btn-primary:hover{
  background:#c7e6f3;
  border-color:#c7e6f3;
  color:#0a141b;
}

/* Keep mobile/tablet natural */
@media(max-width:980px){
  .hero-main{
    min-height:auto;
  }

  .hero-main .hero-note{
    margin-top:0;
    padding-top:0;
  }

  .hero-stage{
    height:auto;
    align-self:auto;
  }
}


/* =========================================================
   V10 LANGUAGES + EXPANDING THEME CONTROL
   ========================================================= */

.brand-cluster{
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
}

.lang-switch{
  display:flex;
  align-items:center;
  gap:3px;
  padding:4px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--paper);
}

.lang-switch a{
  min-width:29px;
  height:28px;
  padding:0 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  color:var(--muted);
  font-size:10px;
  font-weight:850;
  letter-spacing:.06em;
  text-decoration:none;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}

.lang-switch a:hover{
  color:var(--ink);
  background:var(--paper-2);
}

.lang-switch a.active{
  color:#fff;
  background:var(--brand);
}

.lang-switch--mobile{
  display:none;
}

/* Keep the right edge fixed while the control expands to the left */
.theme-slot{
  width:44px;
  height:44px;
  flex:0 0 44px;
  position:relative;
  z-index:5;
}

.theme-slot .theme-toggle{
  position:absolute;
  top:0;
  right:0;
  width:44px;
  min-width:44px;
  padding:0 12px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  overflow:hidden;
  white-space:nowrap;
  transition:
    width .26s cubic-bezier(.22,.78,.24,1),
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.theme-toggle svg{
  flex:0 0 19px;
}

.theme-toggle__label{
  opacity:0;
  transform:translateX(4px);
  font-size:12px;
  font-weight:780;
  line-height:1;
  transition:opacity .18s ease,transform .22s ease;
}

.theme-slot:hover .theme-toggle,
.theme-toggle:focus-visible{
  width:128px;
}

.theme-slot:hover .theme-toggle__label,
.theme-toggle:focus-visible .theme-toggle__label{
  opacity:1;
  transform:none;
}

html[data-theme="dark"] .lang-switch{
  background:#182129;
  border-color:#34414b;
}

html[data-theme="dark"] .lang-switch a{
  color:#b9c6cf;
}

html[data-theme="dark"] .lang-switch a:hover{
  color:#fff;
  background:#24313a;
}

html[data-theme="dark"] .lang-switch a.active{
  color:#0d1820;
  background:#a7d2e9;
}

.translation-note{
  margin:0 0 30px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--paper-2);
  font-size:13px;
}

html[data-theme="dark"] .translation-note{
  color:#d3dde4;
  background:#18232b;
  border-color:#354650;
}

@media(max-width:1180px){
  .brand-cluster{
    gap:9px;
  }

  .lang-switch a{
    min-width:27px;
    padding:0 5px;
  }

  .nav-links{
    gap:16px;
  }
}

@media(max-width:760px){
  .lang-switch--desktop{
    display:none;
  }

  .lang-switch--mobile{
    display:flex;
    width:max-content;
    margin:0 0 12px;
  }

  .brand-cluster{
    gap:0;
  }

  .theme-slot:hover .theme-toggle{
    width:44px;
  }

  .theme-slot:hover .theme-toggle__label{
    opacity:0;
  }
}

@media(prefers-reduced-motion:reduce){
  .theme-slot .theme-toggle,
  .theme-toggle__label,
  .lang-switch a{
    transition:none!important;
  }
}


/* =========================================================
   V10.1 EN / DE HERO TYPOGRAPHY
   ========================================================= */

/* English: slightly tighter because words are naturally wider than PL */
html[lang="en"] .hero-headline{
  max-width:540px !important;
  font-size:clamp(46px,4.25vw,62px) !important;
  line-height:1.02 !important;
  letter-spacing:-.046em !important;
}

/* German compounds need a touch more breathing room */
html[lang="de"] .hero-headline{
  max-width:550px !important;
  font-size:clamp(44px,4.05vw,59px) !important;
  line-height:1.025 !important;
  letter-spacing:-.043em !important;
}

html[lang="en"] .hero-headline > span,
html[lang="de"] .hero-headline > span{
  white-space:nowrap;
}

/* Keep the analysis panel visually matched to the localized headline */
html[lang="en"] .hero-stage,
html[lang="de"] .hero-stage{
  min-width:0;
}

@media(max-width:1180px){
  html[lang="en"] .hero-headline{
    font-size:clamp(44px,4.1vw,58px) !important;
  }

  html[lang="de"] .hero-headline{
    font-size:clamp(42px,3.9vw,55px) !important;
  }
}

@media(max-width:980px){
  html[lang="en"] .hero-headline,
  html[lang="de"] .hero-headline{
    max-width:760px !important;
    font-size:clamp(44px,8vw,64px) !important;
  }

  html[lang="en"] .hero-headline > span,
  html[lang="de"] .hero-headline > span{
    white-space:normal;
  }
}

@media(max-width:620px){
  html[lang="en"] .hero-headline,
  html[lang="de"] .hero-headline{
    font-size:clamp(38px,11.3vw,50px) !important;
  }
}


/* =========================================================
   V10.2 GERMAN HERO FIT
   ========================================================= */

html[lang="de"] .hero-headline{
  max-width:520px !important;
  font-size:clamp(43px,3.85vw,56px) !important;
  line-height:1.025 !important;
  letter-spacing:-.043em !important;
}

@media(max-width:1180px){
  html[lang="de"] .hero-headline{
    font-size:clamp(41px,3.75vw,53px) !important;
  }
}

@media(max-width:980px){
  html[lang="de"] .hero-headline{
    max-width:760px !important;
    font-size:clamp(44px,8vw,64px) !important;
  }
}
