/* Simplify AI Academy v3 - shared styles
   Brand palette per Brand Kit:
     Primary deep blue       #0033A0
     Accent blue             #007AFF
     Charcoal text           #1F2937
     Warm white background   #FFFFFF (with subtle gradient surfaces)
     Success green           #16A34A
     Amber                   #F59E0B (Founder's / Launch Promo badges only)
   Typography: system UI stack. H1/H2 weight 800, H3 weight 600.
*/

:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --surface: #FFFFFF;
  --surface-muted: #F2F5FA;
  --border: #E5E9F0;
  --border-strong: #C9D1DD;
  --text: #1F2937;
  --text-soft: #4B5563;
  --text-muted: #6B7280;
  --primary: #0033A0;
  --primary-hover: #00276B;
  --accent: #007AFF;
  --accent-hover: #0064D1;
  --good: #16A34A;
  --bad: #DC2626;
  --amber: #F59E0B;
  --amber-bg: #FFF7E6;
  --amber-border: #F4C58A;
  --shield-bg: #ECFDF5;
  --shield-border: #A7F3D0;
  --shield-text: #065F46;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 24px rgba(15, 23, 42, .08), 0 24px 48px rgba(15, 23, 42, .06);
  --radius-btn: 12px;
  --radius-card: 16px;
  --radius-card-lg: 20px;
  --max: 1120px;
  --section-pad: 96px;
  --section-pad-mobile: 56px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
hr { border: 0; border-top: 1px solid var(--border); margin: 56px 0; }

h1, h2, h3, h4 {
  font-family: inherit;
  color: var(--text);
  margin: 0 0 16px;
}
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.18; letter-spacing: -0.015em; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
h4 { font-size: 17px; line-height: 1.35; font-weight: 600; }
p { margin: 0 0 16px; color: var(--text-soft); }
.lede { font-size: 19px; color: var(--text-soft); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }
.section--tight { padding: 64px 0; }
.section--alt {
  background: linear-gradient(180deg, #F6F8FB 0%, #EEF2F8 100%);
}
@media (max-width: 720px) {
  .section { padding: var(--section-pad-mobile) 0; }
  .section--tight { padding: 48px 0; }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .04s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); box-shadow: none; }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--lg { padding: 16px 28px; font-size: 17px; border-radius: var(--radius-btn); }
.btn--block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row .micro { color: var(--text-muted); font-size: 14px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: var(--text); }
.nav__brand:hover { text-decoration: none; color: var(--text); }
.nav__links { display: flex; gap: 24px; }
.nav__links a { color: var(--text-soft); font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--primary); }
.nav__cta .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__brand { white-space: nowrap; font-size: 14px; }
}

/* HERO with two-column layout (text left, video right) */
.hero {
  padding: 80px 0 56px;
  background: radial-gradient(1100px 480px at 80% -10%, rgba(0, 122, 255, 0.10), transparent 60%),
              radial-gradient(900px 420px at -10% 0%, rgba(0, 51, 160, 0.08), transparent 60%),
              #FFFFFF;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
}
.hero h1 { max-width: 22ch; }
.hero .lede { max-width: 56ch; }
.hero .cta-row { margin-top: 28px; }

/* Hero video on the right. Native <video> autoplay+loop+muted+playsinline. Custom unmute. */
.hero-video-wrap {
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #001E66;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-wrap .corner-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.45);
  padding: 6px 10px; border-radius: 6px;
}
/* ============================================================
   Hero video custom controls (YouTube-minimal layout)
   ------------------------------------------------------------
   Top-right       : Mute / Unmute (always visible while muted)
   Bottom-left     : Play / Pause
   Bottom-right    : Fullscreen
   Above buttons   : Scrub / progress bar
   Visibility      : hidden by default; revealed on hover (desktop),
                     tap (mobile, 3s auto-hide), or while paused
   ============================================================ */

/* Pill button shared styling. Layout/positioning lives on the
   placement classes below, do NOT add position rules here. */
.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .15s ease, opacity 0.2s ease;
}
.video-toggle:hover { background: rgba(0, 0, 0, 0.75); }
.video-toggle svg { width: 16px; height: 16px; flex-shrink: 0; }
.video-toggle__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

/* Top-right placement (mute / unmute). Always visible while muted. */
.video-mute-position {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Bottom-left and bottom-right control groups (sit just below scrub bar) */
.video-controls-left,
.video-controls-right {
  position: absolute;
  bottom: 12px;
  display: flex;
  gap: 6px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.video-controls-left  { left: 12px; }
.video-controls-right { right: 12px; }

/* Scrub / progress bar, sits just above the bottom button row */
.video-scrub {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 16px 14px 8px;   /* generous hit area around the thin track */
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.video-scrub__track {
  height: 4px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  position: relative;
  transition: height .15s ease;
}
.video-scrub:hover .video-scrub__track { height: 6px; }
.video-scrub__fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  pointer-events: none;
}
.video-scrub__fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
  transition: transform .15s ease;
}
.video-scrub:hover .video-scrub__fill::after { transform: translateY(-50%) scale(1); }

/* â”€â”€ Visibility rules â”€â”€ */

/* Desktop: hover or keyboard focus reveals everything */
@media (hover: hover) {
  .hero-video-wrap:hover .video-mute-position,
  .hero-video-wrap:hover .video-controls-left,
  .hero-video-wrap:hover .video-controls-right,
  .hero-video-wrap:hover .video-scrub,
  .hero-video-wrap:focus-within .video-mute-position,
  .hero-video-wrap:focus-within .video-controls-left,
  .hero-video-wrap:focus-within .video-controls-right,
  .hero-video-wrap:focus-within .video-scrub {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Mobile/touch: JS adds .controls-visible on tap, removes after 3s */
.hero-video-wrap.controls-visible .video-mute-position,
.hero-video-wrap.controls-visible .video-controls-left,
.hero-video-wrap.controls-visible .video-controls-right,
.hero-video-wrap.controls-visible .video-scrub {
  opacity: 1;
  pointer-events: auto;
}

/* Paused: keep all controls visible (YouTube behavior) */
.hero-video-wrap.is-paused .video-mute-position,
.hero-video-wrap.is-paused .video-controls-left,
.hero-video-wrap.is-paused .video-controls-right,
.hero-video-wrap.is-paused .video-scrub {
  opacity: 1;
  pointer-events: auto;
}

/* Muted: the mute button is ALWAYS visible until the user unmutes */
.hero-video-wrap.is-muted .video-mute-position {
  opacity: 1;
  pointer-events: auto;
}

/* Trust bar, compact single-line strip below hero */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 14px 0;
}
.trust-bar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 6px 20px;
  white-space: nowrap;
}
.trust-bar__item svg {
  flex-shrink: 0;
  color: var(--good);
}
.trust-bar__divider {
  width: 1px;
  height: 16px;
  background: var(--border-strong);
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .trust-bar__divider { display: none; }
  .trust-bar__item { padding: 4px 14px; }
}

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.card--lg { border-radius: var(--radius-card-lg); padding: 32px; }
.card h3 { margin-top: 0; }
.card .num {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

ul.clean { list-style: none; padding: 0; margin: 0 0 16px; }
ul.clean li {
  position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text-soft);
}
ul.clean li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 10px; height: 10px; border-radius: 3px; background: var(--accent);
}
ul.cross li::before { background: var(--bad); }
ul.check li::before { background: var(--good); }

.banner-narrow {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-card-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.compare th, table.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-soft);
}
table.compare th { background: var(--surface-muted); color: var(--text); font-weight: 700; }
table.compare tr:last-child td { border-bottom: none; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--text-muted); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin-top: 12px; }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form label { display: block; font-weight: 600; color: var(--text); margin-bottom: 6px; font-size: 14px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-btn);
  margin-bottom: 16px;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form .micro { font-size: 13px; color: var(--text-muted); }

.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #F6F8FB 0%, #EEF2F8 100%);
  padding: 56px 0 40px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer .footer__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--text-soft); }
.footer a:hover { color: var(--primary); }
.footer .footer__brand { color: var(--text); font-weight: 800; margin-bottom: 6px; }
.footer .footer__sub { max-width: 60ch; }

/* Decorative artifact placeholders */
.proof-art {
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FB 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, monospace;
  font-size: 13px;
  color: var(--text);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.proof-art header {
  display: flex; gap: 6px; margin-bottom: 14px; align-items: center;
}
.proof-art header span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong);
}
.proof-art .row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px;
  padding: 8px 0; border-bottom: 1px dashed var(--border);
}
.proof-art .row.head { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.proof-art .row.total { border-top: 2px solid var(--text); font-weight: 800; }

.scarcity {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--amber-bg); border: 1px solid var(--amber); border-radius: var(--radius-btn);
  color: #7A3E07; font-weight: 600;
}

.label-tag {
  display: inline-block; padding: 4px 10px; background: var(--surface-muted);
  border: 1px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--text-soft);
  margin-right: 6px; margin-bottom: 6px; font-weight: 600;
}
.label-tag--free { background: #E8F7EE; border-color: #B8E2C7; color: #166534; }
.label-tag--paid { background: var(--amber-bg); border-color: var(--amber-border); color: #7A3E07; }

/* ==== SHIELD VISUALS (v3) ==== */
/* Mini shield badge for under CTAs */
.shield-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--shield-bg);
  border: 1px solid var(--shield-border);
  border-radius: 999px;
  color: var(--shield-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.shield-mini svg { flex-shrink: 0; }
.shield-mini--block {
  margin-top: 12px;
}
a:hover .shield-mini {
  background: #D1FAE5;
  border-color: #6EE7B7;
  cursor: pointer;
}

/* Big shield using image asset (replaces SVG in guarantee section) */
.shield-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px;
  background: linear-gradient(180deg, #FFFFFF 0%, #ECFDF5 100%);
  border: 1px solid var(--shield-border);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.shield-hero__img {
  flex-shrink: 0;
  width: 120px;
  height: auto;
}
.shield-hero__img img {
  width: 100%;
  height: auto;
  display: block;
}
.shield-hero__copy h3 {
  margin-top: 0;
  margin-bottom: 6px;
  color: var(--shield-text);
  font-size: 22px;
}
.shield-hero__copy p {
  margin: 0;
  color: var(--text-soft);
}
@media (max-width: 600px) {
  .shield-hero { flex-direction: column; align-items: flex-start; text-align: left; padding: 24px; }
  .shield-hero__img { width: 96px; }
}

/* â”€â”€ Form submission states â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-body {
  transition: opacity .2s ease;
}
.form-body.is-fading {
  opacity: 0;
  pointer-events: none;
}
.form-confirm {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 16px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.form-confirm.is-active  { display: flex; }
.form-confirm.is-visible { opacity: 1; transform: translateY(0); }
.form-confirm__check {
  width: 60px; height: 60px;
  background: var(--shield-bg);
  border: 1px solid var(--shield-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--good);
  flex-shrink: 0;
}
.form-confirm__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.form-confirm__body {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0;
  max-width: 34ch;
  line-height: 1.55;
}
.form-confirm__body {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0;
  max-width: 38ch;
  line-height: 1.55;
}

.form-confirm__email {
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
.form-confirm__note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.form-confirm__action {
  margin-top: 4px;
}
.form-submit-error {
  display: none;
  color: var(--bad);
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}
/* Inline field-level errors */
.field-error {
  display: none;
  color: var(--bad);
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 14px;
  line-height: 1.4;
}
.field-error.is-shown { display: block; }
.form input.has-error,
.form select.has-error {
  border-color: var(--bad);
  outline: 2px solid rgba(220, 38, 38, .15);
  outline-offset: 1px;
}

/* Founder headshot card */
.founder-headshot {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.founder-headshot__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.founder-headshot__name {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2px;
}
.founder-headshot__title {
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .founder-headshot { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 768px) {
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* Mobile nav: login link */
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__login-mobile {
  display: none;
}
.nav-cta-short { display: none; }
.nav-login-short { display: none; }

@media (max-width: 720px) {
  .nav__login-mobile {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-soft);
    white-space: nowrap;
  }
  .nav__login-mobile:hover {
    color: var(--primary);
    text-decoration: none;
  }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .nav-login-full { display: none; }
  .nav-login-short { display: inline; }

  /* Stacked-card comparison table on mobile.
     Each row becomes a card; each cell becomes a label/value pair. */
  table.compare {
    background: transparent;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }
  table.compare thead {
    display: none;
  }
  table.compare tbody,
  table.compare tr,
  table.compare td {
    display: block;
    width: 100%;
  }
  table.compare tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  table.compare tr:last-child {
    margin-bottom: 0;
  }
  table.compare td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    text-align: right;
  }
  table.compare tr td:last-child {
    border-bottom: none;
  }
  table.compare td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text);
    text-align: left;
    flex: 0 0 auto;
    max-width: 40%;
  }
}

@media (max-width: 400px) {
  .nav__cta .btn { padding: 10px 12px; font-size: 13px; }
  .nav__login-mobile { font-size: 13px; }
}