@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --cloud: #e6ebf1;      /* overcast sky: page background */
  --mist: #f5f7fa;       /* lighter panels */
  --ink: #13203a;        /* storm navy: text */
  --slate: #4b5b74;      /* secondary text */
  --rain: #2f5f9e;       /* links */
  --bolt: #ffd23f;       /* lightning: the one accent */
  --line: #c9d2de;
  --measure: 66ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cloud); color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px; line-height: 1.55; font-stretch: 100%;
}
a { color: var(--rain); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* ---------- Header ---------- */
.site-head { padding: 22px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 19px; letter-spacing: -.01em; }
.logo svg { width: 34px; height: 34px; }
.site-head nav { display: flex; gap: 22px; font-size: 16px; }
.site-head nav a { color: var(--ink); text-decoration: none; }
.site-head nav a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 17px;
  padding: 15px 26px; border-radius: 10px; border: 2px solid var(--ink); text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; }
.btn:active { transform: translateY(1px); }
.btn-bolt { background: var(--bolt); color: var(--ink); }
.btn-bolt:hover { background: #ffdc66; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1e2f52; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 56px; align-items: end; }
.hero h1 {
  margin: 0; font-weight: 800; font-stretch: 125%; line-height: .92; letter-spacing: -.035em;
  font-size: clamp(42px, 6.3vw, 90px);
}
.hero h1 span { display: block; white-space: nowrap; }
.hero .lede { max-width: 34ch; font-size: 21px; color: var(--slate); margin: 28px 0 0; }

.join-card { background: var(--mist); border: 2px solid var(--ink); border-radius: 18px; padding: 28px; box-shadow: 8px 8px 0 var(--ink); }
.join-card h2 { margin: 0 0 6px; font-size: 22px; font-stretch: 110%; }
.join-card p { margin: 0 0 20px; color: var(--slate); font-size: 16px; }
.join-card .btn-bolt { width: 100%; font-size: 19px; padding: 17px; }
.join-form { display: flex; gap: 10px; margin-top: 14px; }
.join-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.join-form input { flex: 1; min-width: 0; font: inherit; font-size: 17px; letter-spacing: .06em; padding: 13px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.join-form input:focus { outline: none; border-color: var(--ink); }
.join-card .fine { margin: 14px 0 0; font-size: 14px; }

/* The wave: one line that draws itself on load */
.wave { display: block; width: 100%; height: 120px; margin-top: 48px; }
.wave path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.2s cubic-bezier(.6,.1,.2,1) .2s forwards; }
.wave .bolt { fill: var(--bolt); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; opacity: 0; animation: flash .5s ease-out 1.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flash { 0% { opacity: 0; } 30% { opacity: 1; } 45% { opacity: .3; } 100% { opacity: 1; } }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
h2.section-title { font-size: clamp(32px, 4.2vw, 52px); font-stretch: 118%; font-weight: 800; line-height: 1; letter-spacing: -.025em; margin: 0 0 18px; max-width: 18ch; }
.intro { max-width: var(--measure); color: var(--slate); margin: 0 0 48px; font-size: 19px; }

.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; margin: 0; }
.perks div { border-left: 4px solid var(--ink); padding-left: 20px; }
.perks dt { font-weight: 800; font-size: 22px; font-stretch: 108%; margin-bottom: 6px; }
.perks dd { margin: 0; color: var(--slate); max-width: 46ch; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--bolt); font-weight: 800; font-size: 24px; margin-bottom: 16px; }
.steps h3 { margin: 0 0 6px; font-size: 22px; font-stretch: 108%; }
.steps p { margin: 0; color: var(--slate); }

.compare { width: 100%; border-collapse: collapse; background: var(--mist); border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; font-size: 17px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-stretch: 110%; }
.compare thead th.us { background: var(--bolt); color: var(--ink); }
.compare tbody th { font-weight: 700; width: 34%; }
.compare td.us { font-weight: 700; }
.compare tr:last-child > * { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.note { font-size: 15px; color: var(--slate); margin-top: 14px; max-width: var(--measure); }

.download { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.download .buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.download .hint { font-size: 15px; color: var(--slate); margin-top: 16px; max-width: 52ch; }

.faq > * { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 21px; font-stretch: 105%; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 28px; line-height: 1; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--slate); max-width: var(--measure); }

.closer { background: var(--ink); color: #fff; border-top: 0; }
.closer h2.section-title { color: #fff; max-width: 20ch; }
.closer p { color: #c4cfe0; max-width: 52ch; font-size: 19px; margin: 0 0 30px; }
.closer .btn-bolt { border-color: var(--bolt); }

/* ---------- Article pages ---------- */
.article { padding: 40px 0 88px; }
.article .wrap > * { max-width: var(--measure); }
.article h1 { font-size: clamp(40px, 6vw, 76px); font-stretch: 122%; font-weight: 800; line-height: .95; letter-spacing: -.03em; margin: 10px 0 24px; max-width: 16ch; }
.article h2 { font-size: 30px; font-stretch: 112%; margin: 52px 0 12px; line-height: 1.1; }
.article p, .article li { color: #2c3b55; }
.article .compare, .article .table-scroll { max-width: 100%; }
.article .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }

/* ---------- Footer ---------- */
.site-foot { padding: 40px 0 56px; font-size: 15px; color: var(--slate); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: var(--slate); }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .hero-grid, .download { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .join-card { box-shadow: 6px 6px 0 var(--ink); }
  .perks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .site-head nav a.hide-sm { display: none; }
  .hero h1 { font-size: clamp(34px, 11vw, 56px); font-stretch: 115%; }
  .hero .lede { font-size: 19px; }
  .join-card { padding: 22px; }
  .wave { height: 80px; margin-top: 32px; }
  .compare th, .compare td { padding: 12px 14px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .wave path { animation: none; stroke-dashoffset: 0; }
  .wave .bolt { animation: none; opacity: 1; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
