/* ABAIQ home — clean storefront layout (2026-10).
   One stylesheet for index.html and es/index.html. No dependency on sections.css. */

:root {
  --ink: #15131f;
  --ink-2: #4b4a5c;
  --ink-3: #7a7890;
  --line: rgba(21, 19, 31, 0.08);
  --paper: #ffffff;
  --paper-2: #f4f4f8;
  --paper-3: #ebebf2;
  --brand: #667eea;
  --brand-deep: #5a67d8;
  --brand-ink: #1e1b4b;
  --brand-soft: #a78bfa;
  --mint: #10b981;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --pill: 999px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 3px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 56px); font-weight: 700; }
.sec-head p { margin-top: 12px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand-deep); color: #fff; }
.btn-primary:hover { background: #4c58c7; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #ededf3; border-color: #ededf3; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(21, 19, 31, 0.22); }
.btn-ghost:hover { background: rgba(21, 19, 31, 0.05); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.24); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2838; }
.btn-lg { padding: clamp(16px, 1.1vw, 20px) clamp(30px, 2vw, 38px); font-size: clamp(17px, 1.05vw, 19px); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  flex: none;
  position: relative;
}
.nav-brand img.nav-favicon { height: 28px; width: 28px; }
.nav-brand img.nav-logo { height: 32px; width: auto; }
.nav-brand::after {
  content: "\2122";
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-soft);
  align-self: flex-start;
  margin-left: -9px;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-actions .lang, .nav-actions .login {
  padding: 8px 12px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.nav-actions .lang:hover, .nav-actions .login:hover { background: var(--paper-2); color: var(--ink); }
.nav-actions .btn { padding: 9px 18px; font-size: 14px; }
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-sheet {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px var(--gutter) 20px;
}
.nav-sheet.open { display: block; }
.nav-sheet a { display: block; padding: 12px 4px; font-size: 17px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-sheet .nav-sheet-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.nav-sheet .nav-sheet-actions a { border: 0; padding: 13px 20px; text-align: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 1080px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #fff;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(40px, 6vw, 72px);
}
.hero-media .laptop { width: min(1700px, 96%); }
.hero-media .laptop-screen video { object-fit: cover; object-position: center 8%; transform: scale(1.035); }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 14, 26, 0.42) 0%, rgba(15, 14, 26, 0.4) 35%, rgba(15, 14, 26, 0.74) 65%, rgba(15, 14, 26, 0.94) 100%);
  pointer-events: none;
}
.hero-body {
  position: relative;
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 120px 0 clamp(48px, 7vw, 84px);
  text-align: center;
}
.hero-body .eyebrow {
  color: #d9d4ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 14px;
  border-radius: var(--pill);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-body h1 {
  font-size: clamp(36px, 5.6vw, 104px);
  font-weight: 700;
  max-width: none;
  margin: 0 auto;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-body p {
  margin: 18px auto 0;
  max-width: 820px;
  font-size: clamp(17px, 1.5vw, 26px);
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: clamp(13px, 0.9vw, 16px); color: rgba(255, 255, 255, 0.62); }

/* ---------- laptop that opens ---------- */
.laptop { perspective: 1800px; perspective-origin: 50% 30%; }
.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px 18px 4px 4px;
  background: #0b0b12;
  border: 11px solid #1c1b26;
  border-bottom-width: 14px;
  box-shadow: 0 30px 70px rgba(30, 27, 75, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform-origin: 50% 100%;
  transform: rotateX(-86deg);
  transition: transform 1.25s cubic-bezier(0.22, 0.8, 0.2, 1), box-shadow 1.25s ease;
  will-change: transform;
}
.laptop-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 96px;
  height: 11px;
  transform: translateX(-50%);
  background: #1c1b26;
  border-radius: 0 0 10px 10px;
  z-index: 2;
}
.laptop-screen video, .laptop-screen img { width: 100%; height: 100%; object-fit: contain; background: #0b0b12; }
.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 40%);
  opacity: 1;
  transition: opacity 1.25s ease;
  pointer-events: none;
}
.laptop.open .laptop-screen { transform: rotateX(0deg); }
.laptop.open .laptop-screen::after { opacity: 0.35; }
.laptop-base {
  position: relative;
  height: 16px;
  width: 108%;
  margin-left: -4%;
  background: linear-gradient(180deg, #e4e4ec 0%, #c4c4d2 60%, #9d9dae 100%);
  border-radius: 3px 3px 16px 16px;
  box-shadow: 0 18px 40px rgba(30, 27, 75, 0.22);
}
.laptop-base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 14%;
  height: 5px;
  transform: translateX(-50%);
  background: #a9a9bb;
  border-radius: 0 0 6px 6px;
}
.card .laptop { padding: 32px clamp(24px, 5vw, 72px) clamp(32px, 4vw, 52px); margin-top: auto; }
.card .laptop-base { margin-bottom: 0; }
.card.card-wide .laptop { padding-inline: clamp(32px, 10vw, 150px); }
.card .laptop-screen { border-radius: 16px 16px 3px 3px; box-shadow: 0 24px 50px rgba(30, 27, 75, 0.22); }
@media (prefers-reduced-motion: reduce) {
  .laptop-screen { transform: none; transition: none; }
  .laptop-screen::after { opacity: 0.35; transition: none; }
}

/* ---------- explore chips ---------- */
.explore { padding: 28px 0; border-bottom: 1px solid var(--line); }
.explore-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.explore-inner .label { font-size: 14px; color: var(--ink-3); margin-right: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--pill);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s;
}
.chip:hover { background: var(--paper-3); }
.chip svg { width: 18px; height: 18px; color: var(--brand-deep); }

/* ---------- launch cards ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--paper-2);
  overflow: hidden;
  min-height: 560px;
  text-decoration: none;
  color: var(--ink);
}
.card-copy { padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 44px) 0; text-align: center; position: relative; z-index: 1; }
.card-copy .eyebrow { margin-bottom: 10px; }
.card-copy h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; }
.card-copy p { margin: 12px auto 0; max-width: 560px; color: var(--ink-2); font-size: 16px; }
.card-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.card-media { margin-top: auto; padding-top: 28px; }
.card-media img { width: 100%; height: auto; }
.card-media.shot { padding: 28px clamp(16px, 3vw, 40px) 0; }
.card-media.shot img { border-radius: 16px 16px 0 0; box-shadow: 0 -8px 40px rgba(30, 27, 75, 0.12); }
.card-media.phone { padding: 28px clamp(28px, 6vw, 90px) 0; }
.card-media.phone img { border-radius: 16px 16px 0 0; }
.card-wide { grid-column: 1 / -1; min-height: 620px; }
.card-wide .card-media.shot { padding-inline: clamp(24px, 8vw, 140px); }
.card.dark { background: var(--brand-ink); color: #fff; }
.card.dark .card-copy p { color: rgba(255, 255, 255, 0.78); }
.card.dark .eyebrow { color: #c4b5fd; }
.card.violet { background: linear-gradient(160deg, #3b2f8f 0%, #5a67d8 55%, #7c6cf0 100%); color: #fff; }
.card.violet .card-copy p { color: rgba(255, 255, 255, 0.84); }
.card.violet .eyebrow { color: #e9e4ff; }
.card.mint { background: linear-gradient(160deg, #e6f7f1 0%, #eef3ff 100%); }
.card.mint .eyebrow { color: #0f9f72; }
.card-big { margin-top: auto; padding: 36px 24px 44px; text-align: center; }
.card-big .num { font-size: clamp(68px, 9vw, 120px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.card-big .num small { display: block; font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; letter-spacing: 0; margin-top: 10px; opacity: 0.85; }
.card-list { list-style: none; margin: 0 auto; padding: 36px 24px 44px; display: grid; gap: 10px; max-width: 420px; text-align: left; margin-top: auto; }
.card-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.card-list li svg { width: 20px; height: 20px; flex: none; color: var(--mint); margin-top: 2px; }


/* ---------- note types by role ---------- */
.roles { background: var(--paper-2); }
.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.role { background: #fff; border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; }
.role .eyebrow { margin-bottom: 6px; }
.role h3 { font-size: 24px; font-weight: 700; }
.role p { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.role ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.role li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: var(--pill); background: var(--paper-2); font-size: 14px; font-weight: 600; color: var(--ink); }
.role li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.role li small { font-weight: 500; color: var(--ink-3); }
@media (max-width: 860px) { .roles-grid { grid-template-columns: 1fr; } }


/* ---------- fall / halloween gift card ---------- */
.card.fall {
  background: #260816 url("/assets/fall-offer-bg.jpg") center bottom / 100% auto no-repeat;
  color: #fff8ee;
  overflow: visible;
}
.card.fall > * { position: relative; z-index: 1; }
.card.fall .card-copy { text-shadow: 0 1px 12px rgba(20, 5, 25, 0.6); }
.card.fall .card-copy p { color: rgba(255, 244, 228, 0.86); }
.card.fall .eyebrow { color: #ffd27a; }
.card.fall .gift {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 22px;
  border-radius: var(--pill);
  background: linear-gradient(135deg, #ffd27a, #ffb347);
  border: 0;
  color: #3b1540;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: none;
}
.card.fall .gift svg { width: 22px; height: 22px; }
.card.fall .card-big { margin-top: 0; padding: 18px 24px 0; }
.card.fall .card-media-space { flex: 1; min-height: clamp(240px, 46%, 340px); }
.card.fall .card-big .num { font-size: clamp(60px, 7.5vw, 104px); }
.card.fall .card-big .num { color: #fff3dc; text-shadow: 0 2px 12px rgba(20, 5, 25, 0.55); }
.card.fall .btn-light { background: #ffd27a; border-color: #ffd27a; color: #3b1540; }
.card.fall .btn-light:hover { background: #ffe1a3; border-color: #ffe1a3; }
.card.fall .btn-ghost-light { border-color: rgba(255, 235, 200, 0.55); color: #fff3dc; }
@media (max-width: 560px) {
        }


/* ---------- training card ---------- */
.card.mint { background: linear-gradient(180deg, #e6f7f1 0%, #eef3ff 100%); }
.card.mint .free-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 22px;
  border-radius: var(--pill);
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.45);
}
.card.mint .free-badge svg { width: 22px; height: 22px; }
.card.mint .card-list { margin-top: 22px; padding: 0 24px; }
.card.mint .card-media.illus { margin-top: auto; padding: 26px 0 0; }
.card.mint .card-media.illus img { width: 100%; height: auto; display: block; border-radius: 0; }


/* ---------- laptop slideshow ---------- */
.laptop-screen .slides { position: absolute; inset: 0; background: #f7f7fb; }
.laptop-screen .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; animation: laptopSlide 18s linear infinite; }
.laptop-screen .slides img:nth-child(1) { animation-delay: 0s; }
.laptop-screen .slides img:nth-child(2) { animation-delay: 6s; }
.laptop-screen .slides img:nth-child(3) { animation-delay: 12s; }
@keyframes laptopSlide { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .laptop-screen .slides img { animation: none; }
  .laptop-screen .slides img:nth-child(1) { opacity: 1; }
}

/* ---------- training options ---------- */
.card.mint .opts { list-style: none; margin: 22px 0 0; padding: 0 clamp(16px, 3vw, 32px); display: grid; gap: 10px; }
.card.mint .opts a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: background-color 0.15s; }
.card.mint .opts a:hover { background: #f3fbf7; }
.card.mint .opts .ic { width: 38px; height: 38px; border-radius: 10px; background: #e6f7f1; color: #0f9f72; display: grid; place-items: center; flex: none; }
.card.mint .opts .ic svg { width: 20px; height: 20px; }
.card.mint .opts b { display: block; font-size: 15px; }
.card.mint .opts span.sub { display: block; font-size: 13px; color: var(--ink-3); }
.card.mint .opts .tagf { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #0f9f72; background: #dcfce7; padding: 4px 8px; border-radius: var(--pill); flex: none; }
.card.mint .opts .arrow { margin-left: auto; color: var(--ink-3); flex: none; }
.card.mint .opts .tagf + .arrow { margin-left: 8px; }

.card[data-href] { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.card[data-href]:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(30, 27, 75, 0.14); }

#qa-suite .laptop-screen { box-shadow: 0 22px 44px rgba(30, 27, 75, 0.14); }
#qa-suite .laptop-base { box-shadow: 0 34px 70px rgba(102, 126, 234, 0.38), 0 10px 24px rgba(102, 126, 234, 0.2); }

/* ---------- why ---------- */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-card { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--paper-2); }
.why-card .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--brand-deep); margin-bottom: 18px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.why-card .ic svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 15px; color: var(--ink-2); }
.why-card small { display: block; margin-top: 12px; font-size: 12px; color: var(--ink-3); line-height: 1.4; }
.stats { display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px); flex-wrap: wrap; margin-top: 44px; text-align: center; }
.stats b { display: block; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; color: var(--brand-ink); }
.stats span { font-size: 14px; color: var(--ink-3); }
.stats-note { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 14px; }

/* ---------- testimonials ---------- */
.quotes { background: var(--paper-2); }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { background: #fff; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote .stars { color: #f5b301; font-size: 14px; letter-spacing: 2px; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); flex: 1; }
.quote cite { font-style: normal; font-size: 14px; color: var(--ink-3); }
.quote cite b { display: block; color: var(--ink); font-weight: 600; }
.quotes .more { text-align: center; margin-top: 28px; }
.quotes .more a { color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.quotes .more a:hover { text-decoration: underline; }

/* ---------- pricing ---------- */
.toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; font-size: 15px; color: var(--ink-2); }
.toggle .on { color: var(--ink); font-weight: 600; }
.switch { position: relative; width: 48px; height: 28px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; border-radius: var(--pill); background: #cfcfdb; cursor: pointer; transition: background-color 0.18s; }
.switch i::before { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.18s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.switch input:checked + i { background: var(--brand-deep); }
.switch input:checked + i::before { transform: translateX(20px); }
.save { background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: var(--pill); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--paper-2); padding: 32px 28px; }
.plan.popular { background: var(--brand-ink); color: #fff; }
.plan .tag { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--pill); background: var(--brand-soft); color: var(--brand-ink); }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .who { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.plan.popular .who { color: rgba(255,255,255,0.65); }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.plan .price b { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price span { font-size: 15px; color: var(--ink-3); }
.plan.popular .price span { color: rgba(255,255,255,0.65); }
.plan .billed { font-size: 12px; color: var(--ink-3); min-height: 16px; }
.plan.popular .billed { color: rgba(255,255,255,0.55); }
.plan .notes { margin-top: 14px; font-weight: 600; font-size: 15px; }
.plan ul { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); flex: 1; }
.plan.popular ul { color: rgba(255,255,255,0.8); }
.plan ul li::before { content: "\2713"; margin-right: 8px; color: var(--mint); font-weight: 700; }
.plan .btn { width: 100%; }
.plan.popular .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.plan.popular .btn-ghost:hover { background: rgba(255,255,255,0.1); }
.free-line { text-align: center; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.aud { margin-top: 56px; }
.aud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aud-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--paper-2); text-decoration: none; color: var(--ink); transition: background-color 0.15s; }
.aud-card:hover { background: var(--paper-3); }
.aud-card h3 { font-size: 22px; font-weight: 700; }
.aud-card p { color: var(--ink-2); font-size: 15px; flex: 1; }
.aud-card .go { color: var(--brand-deep); font-weight: 600; font-size: 15px; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); text-decoration: none; color: var(--ink); }
.news .thumb { position: relative; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.news .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.news .thumb.brand { display: grid; place-items: center; }
.news .thumb.casp { box-shadow: inset 0 0 0 4px #629a40; border-bottom: 0; }
.news .thumb.faba { background: #0c1e20; border-bottom: 0; }
.news .thumb.faba img { padding: 22px; }
.news .thumb.wiba { background: #6b5971; border-bottom: 0; }
.news .thumb.wiba img { padding: 22px; }
.news .thumb.white { background: #fff; }
.news .thumb.brand { background: var(--brand-ink); color: #fff; }
.news .thumb.brand svg { width: 56px; height: 56px; }
.news .body { padding: 20px 22px 24px; }
.news .body .eyebrow { font-size: 12px; margin-bottom: 6px; }
.news .body h3 { font-size: 19px; font-weight: 700; }
.news .body p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* ---------- faq ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--ink-3); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 72ch; }
.faq-more { text-align: center; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.faq-more a { color: var(--brand-deep); font-weight: 600; text-decoration: none; }

/* ---------- final cta ---------- */
.final { background: var(--brand-ink); color: #fff; text-align: center; }
.final h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.final p { margin-top: 12px; font-size: 18px; color: rgba(255,255,255,0.75); }
.final .btn { margin-top: 28px; }

/* ---------- footer ---------- */
.footer { background: var(--paper-2); padding: 56px 0 32px; font-size: 14px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { height: 28px; width: auto; display: inline-block; }
.footer-brand .tm { font-size: 11px; font-weight: 700; color: var(--brand-soft); vertical-align: top; margin-left: -4px; }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.footer h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-col a { display: block; text-decoration: none; color: var(--ink-2); padding: 4px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 18px; justify-content: center; padding: 28px 0 18px; margin-top: 36px; border-top: 1px solid var(--line); }
.footer-social a { color: var(--ink-3); }
.footer-social a:hover { color: var(--ink); }
.footer-social svg { width: 22px; height: 22px; }
.footer-legal { text-align: center; font-size: 13px; color: var(--ink-3); max-width: 820px; margin: 0 auto; line-height: 1.6; }
.footer-legal a { color: var(--brand-deep); }
.footer-copy { text-align: center; margin-top: 16px; font-size: 13px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions .lang, .nav-actions .login { display: none; }
  .nav-burger { display: flex; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card-wide { min-height: 0; }
  .quote-grid, .plans, .news-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 78vh; }
  .hero-body h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero-body h1 br { display: none; }
  .hero-media { padding-top: 28px; }
  .hero-media .laptop { width: 118%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(15, 14, 26, 0.5) 0%, rgba(15, 14, 26, 0.52) 35%, rgba(15, 14, 26, 0.82) 65%, rgba(15, 14, 26, 0.96) 100%); }
  .laptop-screen { border-width: 6px; border-bottom-width: 8px; border-radius: 10px 10px 2px 2px; }
  .laptop-screen::before { width: 56px; height: 6px; }
  .laptop-base { height: 10px; }
  .card .laptop { padding-inline: 16px; padding-bottom: 28px; }
}
@media (max-width: 560px) {
  .nav-actions .btn { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .card-cta .btn { width: 100%; }
  .explore-inner .label { width: 100%; text-align: center; margin: 0 0 4px; }
  .card.fall { background: #260816 url("/assets/fall-offer-bg.jpg") center bottom / 100% auto no-repeat; }
  .card.fall .card-media-space { min-height: 170px; }
  .card.fall .card-big .num { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-burger span, .switch i, .switch i::before { transition: none; }
}
