/* styles.css — Neubrutalism, AA contrast, zero deps */
:root{
  --bg:#FAF8F2;
  --fg:#0B0D12;
  --muted:#334155;
  --surface:#FFFFFF;
  --surface2:#F3F4F6;
  --stroke:#0B0D12;

  --accent:#E11D2E;
  --accent-ink:#FFFFFF;

  --hi:#FBBF24;
  --hi-ink:#0B0D12;

  --focus:#0066CC;

  --radius:18px;
  --radius-sm:12px;
  --shadow: 10px 10px 0 0 rgba(11,13,18,.95);
  --shadow-sm: 6px 6px 0 0 rgba(11,13,18,.95);

  --container: min(1120px, 92vw);
}

:root[data-theme="dark"]{
  --bg:#0B0D12;
  --fg:#F8FAFF;
  --muted:#CBD5E1;
  --surface:#121826;
  --surface2:#0F172A;
  --stroke:#F8FAFF;

  --accent:#E11D2E; /* keep brand accent */
  --accent-ink:#FFFFFF;

  --hi:#FBBF24;
  --hi-ink:#0B0D12;

  --shadow: 10px 10px 0 0 rgba(248,250,255,.85);
  --shadow-sm: 6px 6px 0 0 rgba(248,250,255,.85);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.45;
  background:var(--bg);
  color:var(--fg);
}

img{ max-width:100%; height:auto; display:block; }

a{ color:inherit; text-decoration-color: rgba(225,29,46,.9); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover{ text-decoration-thickness: 3px; }
a:focus-visible{ outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }

.skip{
  position:absolute;
  left:-999px;
  top: 12px;
  padding:10px 14px;
  background:var(--hi);
  color:var(--hi-ink);
  border:3px solid var(--stroke);
  border-radius: 14px;
  z-index: 9999;
}
.skip:focus{ left:12px; }

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Navbar */
.nav{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 3px solid var(--stroke);
}
.nav__inner{
  width:var(--container);
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand__mark{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  background:var(--hi);
  color:var(--hi-ink);
  border:3px solid var(--stroke);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.brand__text{
  font-weight:900;
  letter-spacing:.3px;
}

.nav__links{
  display:flex;
  gap:14px;
  align-items:center;
}
.nav__link{
  font-weight:800;
  text-decoration:none;
  padding:8px 10px;
  border-radius: 12px;
}
.nav__link:hover{
  background: color-mix(in srgb, var(--surface) 65%, transparent);
}
.nav__link:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
}

.nav__tools{
  display:flex;
  gap:10px;
  align-items:center;
}

/* Chip controls (language/theme) */
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 14px;
  border:3px solid var(--stroke);
  background: var(--surface);
  color: var(--fg);
  font-weight:800;
  box-shadow: var(--shadow-sm);
  cursor:pointer;
}
.chip:hover{ transform: translate(-1px,-1px); }
.chip:active{ transform: translate(2px,2px); box-shadow:none; }
.chip:focus-visible{ outline: 3px solid var(--focus); outline-offset: 3px; }

.chip__chev{ opacity:.9; }

.lang{ position:relative; }
.menu{
  position:absolute;
  top: calc(100% + 10px);
  right:0;
  width: min(320px, 82vw);
  margin:0;
  padding:10px;
  list-style:none;
  background: var(--surface);
  border:3px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display:none;
}
.menu.is-open{ display:block; }
.menu [role="option"]{
  padding:10px 12px;
  border-radius: 12px;
  font-weight:800;
  cursor:pointer;
  outline:none;
}
.menu [role="option"][aria-selected="true"]{
  background: var(--hi);
  color: var(--hi-ink);
  border:2px solid var(--stroke);
}
.menu [role="option"]:hover{
  background: color-mix(in srgb, var(--hi) 35%, var(--surface));
}
.menu [role="option"]:focus{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Progress bar */
.progress{
  height: 8px;
  width:100%;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border-top: 3px solid var(--stroke);
}
.progress__bar{
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--accent);
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  border-bottom: 3px solid var(--stroke);
}
.hero__bg{
  position:absolute;
  inset:0;
}
.hero__bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(0.8) contrast(1.05);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(251,191,36,.55), transparent 60%),
    radial-gradient(900px 520px at 70% 0%, rgba(225,29,46,.50), transparent 55%),
    linear-gradient(180deg, rgba(11,13,18,.82), rgba(11,13,18,.50) 55%, rgba(11,13,18,.85));
  pointer-events:none;
}
:root[data-theme="dark"] .hero::before{
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(251,191,36,.35), transparent 60%),
    radial-gradient(900px 520px at 70% 0%, rgba(225,29,46,.35), transparent 55%),
    linear-gradient(180deg, rgba(11,13,18,.85), rgba(11,13,18,.62) 55%, rgba(11,13,18,.90));
}

.hero__inner{
  width:var(--container);
  margin-inline:auto;
  position:relative;
  padding: 34px 0 26px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:center;
}

.kicker{
  margin:0 0 10px;
  display:inline-block;
  padding:8px 12px;
  background: var(--hi);
  color: var(--hi-ink);
  border: 3px solid var(--stroke);
  border-radius: 999px;
  font-weight:900;
  letter-spacing:.2px;
}

h1{
  margin:0;
  font-size: clamp(32px, 4vw, 52px);
  line-height:1.08;
  padding-top: 15px;
  padding-bottom: 10px;
  text-wrap: balance;
  color: #F8FAFF;
}
.sub{
  margin: 6px 0 0;
  font-size: 18px;
  max-width: 58ch;
  color: #F8FAFF;
}

.cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}
.cta--stack{ margin-top: 16px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 3px solid var(--stroke);
  font-weight: 900;
  text-decoration:none;
  min-height: 52px;
  box-shadow: var(--shadow-sm);
  transition: transform 120ms ease;
  width: fit-content;
}
.btn.primary{
  background: var(--accent);
  color: var(--accent-ink);
}
.btn.secondary{
  background: var(--hi);
  color: var(--hi-ink);
}
.btn:hover{ transform: translate(-1px,-1px); }
.btn:active{ transform: translate(2px,2px); box-shadow:none; }
.btn:focus-visible{ outline: 3px solid var(--focus); outline-offset: 3px; }

.trust{
  margin: 16px 0 0;
  padding: 0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap: 10px 12px;
  color:#F8FAFF;
  font-weight: 800;
}
.trust li{
  padding: 8px 10px;
  border-radius: 999px;
  border: 2px solid rgba(248,250,255,.85);
  background: rgba(11,13,18,.35);
}

.hero__art{
  display:grid;
  place-items:center;
}
.packframe{
  position:relative;
  width: min(420px, 92%);
  border-radius: var(--radius);
  border: 3px solid rgba(248,250,255,.88);
  background: rgba(11,13,18,.25);
  box-shadow: 10px 10px 0 0 rgba(0,0,0,.55);
  padding: 18px;
}
.packframe__shadow{
  position:absolute;
  inset:auto 18px 14px 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  filter: blur(10px);
}
.hero__pack{
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Main sections — REQUIRED paddings */
.section{
  width:var(--container);
  margin-inline:auto;
  padding: 30px 0;
}
.section > h2{
  margin:0 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  padding-top: 15px;
  padding-bottom: 10px;
  letter-spacing:.2px;
}

article{
  margin-top: 14px;
  background: var(--surface);
  border: 3px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 20px;
}
article > h3{
  margin:0 0 8px;
  font-size: 20px;
  padding-top: 15px;
  padding-bottom: 10px;
}
article p{
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 650;
}
:root[data-theme="dark"] article p{ color: var(--muted); }

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--fg);
  font-weight: 800;
}
.bullets li{ margin: 8px 0; }
.center{ margin-top: 14px; display:flex; justify-content:center; }

.subblock{
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 3px dashed var(--stroke);
  background: var(--surface2);
}
.h4like{
  margin:0 0 6px;
  font-weight: 950;
  font-size: 18px;
  color: var(--fg);
}
.muted{ margin:0 0 12px; color: var(--muted); font-weight:700; }

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pricecard{
  background: var(--surface);
  border: 3px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  display:flex;
  flex-direction:column;
  height:100%;
}
.pricecard__top{ }
.pricecard__cta{ margin-top:auto; display:flex; justify-content:center; padding-top: 12px; }
.badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 3px solid var(--stroke);
  background: var(--hi);
  color: var(--hi-ink);
  font-weight: 950;
}
.packshot{
  margin-top: 10px;
  border: 3px solid var(--stroke);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 70%, var(--surface));
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.pricecard__name{ margin: 10px 0 0; }
.pricecard__price{ margin: 4px 0 0; font-size: 26px; font-weight: 950; color: var(--fg); }
.pricecard__note{ margin: 6px 0 0; color: var(--muted); font-weight: 700; }

/* Steps */
.steps{
  margin:0;
  padding-left: 18px;
}
.step{ margin: 10px 0; }
.step__title{ margin:0; color:var(--fg); font-weight: 950; }
.step__desc{ margin:0; color:var(--muted); font-weight: 700; }

/* Proof */
.proof{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items:start;
}
.proof__media{
  background: var(--surface);
  border: 3px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.compare{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items:start;
}
.compare__item{
  margin:0;
  border: 3px solid var(--stroke);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 70%, var(--surface));
  padding: 10px;
}
.compare__item figcaption{
  margin-top: 8px;
  font-weight: 900;
  color: var(--muted);
}
.chart{ margin-top: 10px; }
.chart img{
  border: 3px solid var(--stroke);
  border-radius: 16px;
  background: var(--surface2);
  padding: 10px;
}
.ssl{ margin-top: 10px; display:flex; justify-content:flex-start; }
.ssl img{ width: 154px; height:auto; }

.proof__content{
  padding: 12px;
  border-radius: var(--radius);
  border: 3px dashed var(--stroke);
  background: var(--surface2);
}
.checks{
  margin: 0;
  padding-left: 18px;
  font-weight: 800;
}
.checks li{ margin: 10px 0; }
.checks strong{ color: var(--fg); }

/* FAQ */
.faq__item{
  border: 3px solid var(--stroke);
  border-radius: 16px;
  background: var(--surface2);
  margin: 10px 0;
  overflow:hidden;
}
.faq__item summary{
  cursor:pointer;
  padding: 12px 14px;
  font-weight: 950;
  list-style:none;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.faq__a{
  padding: 0 14px 14px;
}
.faq__a p{ margin: 0; }

/* Footer */
.footer{
  border-top: 3px solid var(--stroke);
  padding: 26px 0;
  background: color-mix(in srgb, var(--surface) 65%, var(--bg));
}
.footer__inner{
  width:var(--container);
  margin-inline:auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap: 10px 14px;
}
.footer__link{
  display:inline-flex;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  border:3px solid var(--stroke);
  background: var(--surface);
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  text-decoration:none;
}
.footer__link:hover{ transform: translate(-1px,-1px); }
.footer__disclosure{
  margin:0;
  color: var(--muted);
  font-weight: 750;
}

/* Reveal motion */
[data-reveal]{
  opacity: 0;
  transform: translateY(10px);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  [data-reveal]{ opacity:1 !important; transform:none !important; transition:none !important; }
  .btn,.chip{ transition:none; }
}

/* Responsive */
@media (max-width: 900px){
  .nav__links{ display:none; }
  .hero__inner{ grid-template-columns: 1fr; }
  .packframe{ margin-top: 12px; }
  .pricing{ grid-template-columns: 1fr; }
  .proof{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .hero__copy, .section{ text-align:center; }
  .bullets, .steps, .checks, .compare__item figcaption{ text-align:left; }
  .cta{ justify-content:center; }
  .btn{ width: min(100%, 360px); }
  .footer__inner{ justify-content:center; text-align:center; }
}

/* Offline variant */
body.offline .hero::before{
  background: linear-gradient(180deg, rgba(11,13,18,.88), rgba(11,13,18,.86));
}
.hero--mini .hero__inner{ padding: 28px 0 24px; grid-template-columns: 1fr; }
