/* ==========================================================================
   AIBlogJet — style.css
   Design system for all marketing pages.
   Color/type tokens are injected per-page from site.json into :root
   (see build.py). This file consumes those tokens via var(--*).
   ========================================================================== */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 22px;
}
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--brand);
  display: inline-block;
}
.center .eyebrow { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .98rem;
  padding: .8rem 1.4rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -12px var(--brand);
}
.btn--primary:hover { background: #223bd6; }
.btn--amber {
  background: var(--amber);
  color: #3a2600;
  box-shadow: 0 10px 24px -12px var(--amber);
}
.btn--amber:hover { background: #f5a400; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn--light:hover { background: rgba(255,255,255,.2); }
.btn--block { width: 100%; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--sm { padding: .55rem .95rem; font-size: .85rem; border-radius: 10px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: #eaf0ff;
  font-size: .9rem;
  text-align: center;
  padding: .55rem 2.6rem .55rem 1rem;
  position: relative;
}
.announce a { color: var(--amber); font-weight: 600; }
.announce .badge {
  font-family: var(--font-mono);
  font-size: .7rem;
  background: var(--amber);
  color: #3a2600;
  padding: .1rem .45rem;
  border-radius: 6px;
  margin-right: .5rem;
  font-weight: 700;
}
.announce__close {
  position: absolute;
  right: .5rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: 0; color: #9fb0e6;
  font-size: 1.2rem; line-height: 1;
  padding: .2rem .5rem;
}
.announce__close:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247,248,252,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-mark:hover { text-decoration: none; }
.brand-logo {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -8px var(--brand);
}
.brand-logo svg { width: 20px; height: 20px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-left: auto;
  list-style: none;
  padding: 0; margin-block: 0;
}
.nav__links a.navlink {
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .8rem;
  border-radius: 9px;
}
.nav__links a.navlink:hover { background: var(--cloud); text-decoration: none; color: var(--brand); }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }

/* Dropdown */
.has-drop { position: relative; }
.drop-toggle {
  background: none; border: 0;
  color: var(--ink);
  font: inherit; font-weight: 500; font-size: .95rem;
  padding: .5rem .8rem; border-radius: 9px;
  display: inline-flex; align-items: center; gap: .3rem;
}
.drop-toggle:hover { background: var(--cloud); color: var(--brand); }
.drop-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.has-drop[aria-expanded="true"] .drop-toggle svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 48px -24px rgba(10,15,34,.35);
  padding: .5rem;
  display: none;
}
.has-drop[aria-expanded="true"] .drop-menu { display: block; }
.drop-menu a {
  display: flex;
  gap: .7rem;
  padding: .6rem .7rem;
  border-radius: 10px;
  color: var(--ink);
}
.drop-menu a:hover { background: var(--cloud); text-decoration: none; }
.drop-menu strong { display: block; font-size: .92rem; }
.drop-menu span { font-size: .8rem; color: var(--muted); }
.drop-ico {
  width: 34px; height: 34px; flex: none;
  border-radius: 9px; background: var(--cloud);
  display: grid; place-items: center; color: var(--brand);
}
.drop-ico svg { width: 18px; height: 18px; }

/* Mobile nav toggle */
.nav__burger {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: .45rem .55rem;
  color: var(--ink);
}
.nav__burger svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav__burger { display: inline-flex; margin-left: auto; }
  .nav__links, .nav__actions {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 22px;
    gap: .3rem;
    margin: 0;
    box-shadow: 0 24px 40px -28px rgba(10,15,34,.4);
  }
  .nav__actions { top: auto; border-bottom: 0; box-shadow: none; padding-top: 0; }
  .nav.open .nav__links,
  .nav.open .nav__actions { display: flex; }
  .nav.open .nav__actions { position: static; }
  .nav__links a.navlink, .drop-toggle { width: 100%; }
  .drop-menu { position: static; box-shadow: none; border: 0; padding-left: .5rem; }
  .has-drop[aria-expanded="true"] .drop-menu { display: block; }
  .nav__actions .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(47,75,255,.14), transparent 60%),
    radial-gradient(700px 380px at 5% 20%, rgba(255,176,32,.12), transparent 60%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem;
  font-size: .88rem; color: var(--muted);
}
.hero__chips span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__chips svg { width: 17px; height: 17px; color: #17b877; }

/* Boarding-pass generator card (signature element) */
.boardpass {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(10,15,34,.5);
  overflow: hidden;
  position: relative;
}
.boardpass__top {
  background: var(--ink);
  color: #eaf0ff;
  padding: .9rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
}
.boardpass__top .route { display: flex; align-items: center; gap: .5rem; }
.boardpass__top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.boardpass__body { padding: 1.2rem; }
.bp-field { margin-bottom: .8rem; }
.bp-field label {
  display: block; font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: .3rem;
}
.bp-field input, .bp-field select, .field input, .field select, .field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit; font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.bp-field input:focus, .bp-field select:focus,
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47,75,255,.15);
}
.bp-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.boardpass__tear {
  border-top: 2px dashed var(--line);
  position: relative;
  margin: .4rem 0;
}
.boardpass__tear::before, .boardpass__tear::after {
  content: ""; position: absolute; top: -11px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper);
}
.boardpass__tear::before { left: -32px; }
.boardpass__tear::after { right: -32px; }
.bp-out {
  background: var(--ink);
  color: #dbe4ff;
  border-radius: 12px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  min-height: 132px;
  margin-top: .3rem;
  line-height: 1.7;
  white-space: pre-wrap;
}
.bp-out .k { color: var(--amber); }
.bp-out .h { color: #8fa6ff; }
.bp-status {
  font-family: var(--font-mono);
  font-size: .72rem; color: var(--muted);
  margin-top: .5rem; display: flex; align-items: center; gap: .4rem;
}
.bp-status .live { width: 7px; height: 7px; border-radius: 50%; background: #17b877; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ---------- Marquee (works with) ---------- */
.marquee-wrap {
  border-block: 1px solid var(--line);
  background: #fff;
  padding-block: 1.4rem;
  overflow: hidden;
}
.marquee-label {
  text-align: center; font-size: .78rem; color: var(--muted);
  font-family: var(--font-mono); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: .9rem;
}
.marquee {
  display: flex; gap: 3rem; width: max-content;
  animation: slide 26s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; color: #9aa4c4; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .5rem;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink); color: #fff; }
.stats-band .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat b {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  display: block; line-height: 1; margin-bottom: .3rem;
  background: linear-gradient(120deg, #fff, var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: #a9b4d8; font-size: .92rem; }
@media (max-width: 720px) { .stats-band .grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }

/* ---------- Flight path (how it works) ---------- */
.flightpath { position: relative; }
.flightpath .steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  position: relative; z-index: 2;
}
.fp-arc {
  position: absolute; inset: 42px 8% auto 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 20px);
  opacity: .35; z-index: 1;
}
.fp-step { text-align: center; }
.fp-badge {
  width: 78px; height: 78px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; margin: 0 auto 1.1rem;
  color: var(--brand);
  box-shadow: 0 18px 34px -22px rgba(47,75,255,.5);
  position: relative;
}
.fp-badge svg { width: 34px; height: 34px; }
.fp-badge .num {
  position: absolute; top: -8px; right: -8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); color: #3a2600;
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem;
  display: grid; place-items: center;
}
@media (max-width: 720px) {
  .flightpath .steps { grid-template-columns: 1fr; gap: 2rem; }
  .fp-arc { display: none; }
}

/* ---------- Bento features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.1rem;
}
.bento .card--big { grid-column: span 2; grid-row: span 2; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem;
  transition: transform .15s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px rgba(10,15,34,.35);
  border-color: var(--brand-2);
}
.feature-card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--cloud); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.feature-card .ico svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: .4rem; }
.feature-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card--big {
  background: linear-gradient(150deg, var(--ink), var(--jet));
  color: #fff;
  border-color: transparent;
}
.card--big h3, .card--big p { color: #fff; }
.card--big p { color: #b9c3e6; }
.card--big .ico { background: rgba(255,255,255,.12); color: var(--amber); }
.card--big .mini-mock {
  margin-top: auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: .78rem; color: #cdd6f5;
  line-height: 1.8;
}
.card--big .mini-mock .b { height: 8px; border-radius: 4px; background: rgba(255,255,255,.16); margin: .4rem 0; }
.card--big .mini-mock .b.short { width: 60%; }
.card--big .mini-mock .b.brand { background: var(--brand-2); width: 40%; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .card--big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card--big { grid-column: auto; }
}

/* ---------- Tabs (content types) ---------- */
.tabs { max-width: 940px; margin-inline: auto; }
.tab-btns {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-bottom: 1.6rem;
}
.tab-btn {
  border: 1.5px solid var(--line);
  background: #fff; color: var(--ink);
  padding: .55rem 1rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem;
}
.tab-btn[aria-selected="true"] {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.8rem; align-items: center;
}
.tab-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.tab-card li { margin-bottom: .4rem; }
.tab-sample {
  background: var(--ink); color: #dbe4ff; border-radius: 12px;
  padding: 1.1rem; font-family: var(--font-mono); font-size: .78rem;
  line-height: 1.7;
}
.tab-sample .k { color: var(--amber); }
@media (max-width: 680px) { .tab-card { grid-template-columns: 1fr; } }

/* ---------- Dashboard mock (marketing) ---------- */
.app-mock {
  background: linear-gradient(160deg, var(--ink), var(--jet));
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(10,15,34,.7);
  border: 1px solid rgba(255,255,255,.08);
}
.app-mock__bar {
  background: rgba(255,255,255,.05);
  padding: .7rem 1rem; display: flex; gap: .45rem; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.app-mock__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.app-mock__bar i:nth-child(1){ background:#ff6a5a;} .app-mock__bar i:nth-child(2){ background:#ffb020;} .app-mock__bar i:nth-child(3){ background:#17b877;}
.app-mock__bar .url {
  margin-left: 1rem; font-family: var(--font-mono); font-size: .74rem;
  color: #8a97c4; background: rgba(255,255,255,.05);
  padding: .2rem .7rem; border-radius: 6px;
}
.app-mock__body { display: grid; grid-template-columns: 190px 1fr; min-height: 340px; }
.app-mock__side { border-right: 1px solid rgba(255,255,255,.08); padding: 1rem; }
.app-mock__side .item {
  color: #a9b4d8; font-size: .85rem; padding: .5rem .6rem;
  border-radius: 8px; margin-bottom: .2rem; display: flex; gap: .5rem; align-items: center;
}
.app-mock__side .item.active { background: rgba(47,75,255,.2); color: #fff; }
.app-mock__side .item::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .6; }
.app-mock__main { padding: 1.4rem; color: #cdd6f5; }
.mock-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 1rem; margin-bottom: .9rem;
}
.mock-card .line { height: 9px; border-radius: 5px; background: rgba(255,255,255,.12); margin: .5rem 0; }
.mock-card .line.brand { background: var(--brand-2); width: 45%; }
.mock-card .line.short { width: 65%; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-bottom: .9rem; }
.mock-kpi { background: rgba(255,255,255,.05); border-radius: 10px; padding: .8rem; }
.mock-kpi b { font-family: var(--font-display); font-size: 1.4rem; color: #fff; display: block; }
.mock-kpi span { font-size: .72rem; color: #8a97c4; }
@media (max-width: 620px){ .app-mock__body { grid-template-columns: 1fr; } .app-mock__side { display: none; } }

/* ---------- Comparison table ---------- */
.compare {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--cloud); font-family: var(--font-display); font-size: 1rem; }
.compare thead th.us { background: var(--brand); color: #fff; }
.compare td.tick { color: #17b877; font-weight: 700; }
.compare td.cross { color: #c2c8dd; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .feat { font-weight: 600; }
.compare-scroll { overflow-x: auto; }

/* ---------- Testimonials ---------- */
.testi { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-card {
  min-width: 100%; padding: 0 .5rem; box-sizing: border-box;
}
.testi-inner {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 2.2rem; max-width: 780px; margin-inline: auto;
  text-align: center;
}
.testi-inner .quote { font-size: 1.3rem; font-family: var(--font-display); line-height: 1.4; margin-bottom: 1.4rem; }
.testi-who { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.testi-ava {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  display: grid; place-items: center; color: #fff; font-weight: 700;
  font-family: var(--font-display);
}
.testi-who b { display: block; font-size: .95rem; }
.testi-who span { font-size: .82rem; color: var(--muted); }
.testi-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.6rem; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line); padding: 0; }
.testi-dots button[aria-selected="true"] { background: var(--brand); width: 26px; border-radius: 5px; }

/* ---------- Pricing ---------- */
.price-toggle {
  display: inline-flex; align-items: center; gap: .8rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem; margin: 0 auto 2.4rem;
  font-size: .9rem; font-weight: 600;
}
.price-toggle button {
  border: 0; background: none; padding: .5rem 1rem; border-radius: 999px;
  color: var(--muted); font: inherit; font-weight: 600;
}
.price-toggle button.active { background: var(--brand); color: #fff; }
.price-toggle .save { color: #17b877; font-size: .78rem; }
.price-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem;
  align-items: stretch;
}
.price-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 1.7rem; display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 30px 60px -34px rgba(47,75,255,.5);
}
.price-card .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .25rem .8rem; border-radius: 999px; font-family: var(--font-mono);
  letter-spacing: .04em; white-space: nowrap;
}
.price-card h3 { margin-bottom: .2rem; }
.price-card .blurb { font-size: .88rem; color: var(--muted); min-height: 42px; }
.price-amt { font-family: var(--font-display); font-size: 2.6rem; margin: .6rem 0 .1rem; line-height: 1; }
.price-amt small { font-size: .95rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.price-per { font-size: .8rem; color: var(--muted); margin-bottom: 1.1rem; }
.price-meta { font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }
.price-card ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; font-size: .9rem; }
.price-card li { padding: .35rem 0 .35rem 1.6rem; position: relative; color: var(--muted); }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: .62rem;
  width: 14px; height: 8px; border-left: 2px solid #17b877; border-bottom: 2px solid #17b877;
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 1.2rem 2.5rem 1.2rem 0; font: inherit; font-weight: 600;
  font-size: 1.05rem; color: var(--ink); position: relative;
  font-family: var(--font-display);
}
.faq-q::after {
  content: "+"; position: absolute; right: .4rem; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--brand);
  transition: transform .2s;
}
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 1.2rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand), #5b6cff 60%, var(--brand-2));
  color: #fff; border-radius: 22px; padding: clamp(2.4rem,5vw,3.6rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 200px;
  background: radial-gradient(closest-side, rgba(255,176,32,.5), transparent);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #dbe2ff; max-width: 54ch; margin-inline: auto; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c3e6; padding-block: 3.4rem 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2rem;
}
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-mono); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #b9c3e6; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-mark { color: #fff; margin-bottom: .9rem; }
.footer-brand p { font-size: .9rem; color: #8a97c4; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06);
  display: grid; place-items: center; color: #b9c3e6;
}
.footer-social a:hover { background: var(--brand); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.4rem; padding-top: 1.4rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .85rem; color: #8a97c4;
}
.footer-bottom a { color: #8a97c4; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Generic page hero ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(47,75,255,.12), transparent 60%);
  padding-block: clamp(2.6rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .6rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; font-family: var(--font-mono); }
.breadcrumb a { color: var(--muted); }

/* ---------- Prose (blog / legal) ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: #33405c; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  border-left: 4px solid var(--brand); margin: 1.6rem 0; padding: .4rem 0 .4rem 1.2rem;
  color: var(--muted); font-style: italic;
}
.prose code {
  background: var(--cloud); padding: .12rem .4rem; border-radius: 5px;
  font-family: var(--font-mono); font-size: .88em;
}
.legal-updated { font-size: .85rem; color: var(--muted); font-family: var(--font-mono); }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(10,15,34,.35); }
.post-thumb { height: 168px; display: grid; place-items: center; color: #fff; font-family: var(--font-mono); font-size: .8rem; }
.post-thumb.g1 { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.post-thumb.g2 { background: linear-gradient(135deg, var(--ink), var(--jet)); }
.post-thumb.g3 { background: linear-gradient(135deg, var(--amber), var(--coral)); }
.post-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-family: var(--font-mono); font-size: .72rem; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.post-body h3 { margin: .5rem 0; font-size: 1.15rem; }
.post-body h3 a { color: var(--ink); }
.post-body p { font-size: .92rem; color: var(--muted); }
.post-meta { margin-top: auto; font-size: .82rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Auth pages ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.auth-side {
  background: linear-gradient(160deg, var(--ink), var(--jet)); color: #fff;
  padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center;
}
.auth-side h2 { color: #fff; }
.auth-side .quote { color: #b9c3e6; font-size: 1.05rem; }
.auth-side ul { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.auth-side li { padding: .4rem 0 .4rem 1.8rem; position: relative; color: #cdd6f5; }
.auth-side li::before {
  content: ""; position: absolute; left: 0; top: .7rem;
  width: 13px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg);
}
.auth-form-wrap { display: grid; place-items: center; padding: 2rem 22px; }
.auth-card { width: 100%; max-width: 400px; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.field .error { font-size: .82rem; color: #d92d20; margin-top: .3rem; display: none; }
.field.invalid .error { display: block; }
.field.invalid input { border-color: #d92d20; }
.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--muted); font-size: .82rem; font-weight: 600;
}
.auth-alt { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 1.2rem; }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .82rem; margin: 1.2rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 800px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
.contact-info .info-item { display: flex; gap: .9rem; margin-bottom: 1.4rem; }
.contact-info .info-item .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--cloud); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-info .info-item .ico svg { width: 20px; height: 20px; }
.contact-info h4 { margin: 0 0 .2rem; }
.contact-info p { margin: 0; color: var(--muted); font-size: .95rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Toast + cookie + back-to-top ---------- */
.toast-zone { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: .6rem; }
.toast {
  background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 12px;
  box-shadow: 0 20px 40px -20px rgba(10,15,34,.6); font-size: .9rem;
  display: flex; align-items: center; gap: .6rem; animation: toastin .3s ease;
  border-left: 3px solid var(--amber);
}
.toast.ok { border-left-color: #17b877; }
.toast.err { border-left-color: #ff6a5a; }
@keyframes toastin { from { transform: translateY(12px); opacity: 0; } }

.cookie {
  position: fixed; left: 18px; bottom: 18px; z-index: 190; max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.2rem; box-shadow: 0 24px 50px -24px rgba(10,15,34,.4);
  display: none;
}
.cookie.show { display: block; }
.cookie p { font-size: .88rem; margin: 0 0 .8rem; color: var(--muted); }
.cookie .row { display: flex; gap: .6rem; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 180;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--brand); color: #fff; display: none; place-items: center;
  box-shadow: 0 14px 30px -12px var(--brand);
}
.to-top.show { display: grid; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Misc sections ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }
.value-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.value-list li { padding: .5rem 0 .5rem 2rem; position: relative; color: var(--muted); }
.value-list li::before {
  content: ""; position: absolute; left: 0; top: .78rem;
  width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.pill { background: var(--cloud); color: var(--ink); font-size: .82rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; text-align: center; }
.team-ava {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.6rem; font-family: var(--font-display);
}
.team-card h4 { margin: 0; }
.team-card .role { color: var(--brand); font-size: .85rem; font-weight: 600; font-family: var(--font-mono); }
.team-card p { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 720px){ .team-grid { grid-template-columns: 1fr; } }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state svg { width: 54px; height: 54px; color: var(--brand-2); margin-bottom: 1rem; }

/* 404 */
.err-page { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.err-code {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(6rem, 18vw, 11rem); line-height: .9;
  background: linear-gradient(120deg, var(--brand), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
