:root {
  --bg: #f7fbff;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #111827;
  --accent: #0f62fe;
  --accent-2: #0ea05a;
  --danger: #ef4444;
  --border: #e5e7eb;
  --accent-soft: #e8f0ff;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
  padding: 0;
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 24px);
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem clamp(12px, 2vw, 24px);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
}

.topbar::after {
  display: none;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  height: 68px;
  width: auto;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  font-size: 2.7rem;
  white-space: nowrap;
}



.nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.2em;
  color: var(--ink);
}

.nav-login {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.nav-login:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.18);
}

.logout-btn {
  /* Use the same visual style as nav-login */
}

.nav > a,
.nav-item > a {
  padding: 0.3rem 0.1rem;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.nav > a:hover,
.nav-item > a:hover {
  background: #f2f5f9;
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  min-width: 180px;
  padding: 0.6rem 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 15;
}

.nav-dropdown a {
  padding: 0.65rem 1rem;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: #f2f5f9;
  color: var(--accent);
}

.nav-item.has-menu:hover .nav-dropdown,
.nav-item.has-menu:focus-within .nav-dropdown,
.nav-dropdown:hover {
  display: flex;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 0.8fr;
  gap: 2rem;
  align-items: flex-start;
  padding: 2.5rem 0 2rem;
  position: relative;
}

.mini-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.mini-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.25;
  filter: drop-shadow(0 8px 16px rgba(23, 33, 30, 0.12));
}

.mini-logo--hero {
  align-self: center;
  justify-self: center;
}

.mini-logo--after {
  padding: 0.5rem 0 2.5rem;
}

.image-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0 2.4rem;
}

.image-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}


body.home {
  background: var(--bg);
}

.home main {
  max-width: 1420px;
  padding: 0 clamp(12px, 2vw, 24px);
}

.home .hero {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(31, 111, 84, 0.14), transparent 55%);
  pointer-events: none;
}

.home .hero__card {
  background: linear-gradient(160deg, #ffffff 0%, #f6fbf8 100%);
  border: 1px solid #e6efe8;
}

.home .card__badge {
  background: #f1efe8;
  color: #5b5247;
}

.home .offer {
  border: 1px solid #ece7dc;
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(23, 33, 30, 0.08);
}

.home .offer-icon {
  background: #f1efe8;
  color: var(--accent);
}

.home .image-showcase {
  margin-top: 2rem;
}

.home .image-card {
  border-radius: 22px;
  box-shadow: 0 24px 42px rgba(23, 33, 30, 0.14);
}

.home .image-card img {
  max-height: 360px;
}

.hero__content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 700;
}

.hero__subheading {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.hero__credibility {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
}

.hero__copy > .lede {
  font-size: 1.72rem;
  line-height: 1.5;
}

.hero__benefits {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.hero__benefits li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 1.8rem;
  position: relative;
}

.hero__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 1.1rem;
}

.hero__card {
  font-size: 1.15rem;
  max-width: 280px;
  width: 100%;
  justify-self: end;
}

.hero__card h3 {
  font-size: 1.5rem;
}

.lede {
  color: var(--muted);
  max-width: 680px;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.actions {
  display: flex;
  gap: 0.9rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.cta {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 1rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  box-shadow: 0 8px 20px rgba(15, 98, 254, 0.2);
}

.cta:hover {
  transform: translateY(-2px);
  background: #0c53d4;
  color: #fff;
  border-color: #0c53d4;
  box-shadow: 0 12px 28px rgba(15, 98, 254, 0.28);
}

.cta.cta-primary {
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(15, 98, 254, 0.22);
}

.cta.cta-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: none;
}

.cta.cta-secondary:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Homepage “Try a free quiz” CTA */
.cta.ghost[href="sample-quiz.html"] {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.18);
}

.cta.ghost[href="sample-quiz.html"]:hover {
  background: #0c53d4;
  color: #fff;
  border-color: #0c53d4;
}

/* Nav login button overrides ghost defaults */
.nav .nav-login {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}

.nav .nav-login:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.18);
}

.cta.full {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  text-align: center;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero__offers {
  margin-top: 1.1rem;
  padding: 1.2rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__offers .eyebrow {
  margin-bottom: 0.65rem;
}

.offers-wide {
  margin-top: 1.6rem;
  padding: 1.8rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offers-wide .eyebrow {
  margin-bottom: 0.7rem;
  color: var(--accent);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.offer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 1rem;
  padding: 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.offer:nth-child(odd) {
  background: var(--card);
  border-color: var(--border);
}

.offer:nth-child(even) {
  background: var(--card);
  border-color: var(--border);
}

.offer-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  box-shadow: none;
}

.offer-body h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.offer-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.meta-label {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.meta-caption {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-self: flex-start;
  color: var(--ink);
}

.card__badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero__card h3 {
  font-family: var(--font-display);
  margin: 1rem 0 0.6rem;
}

.hero__card ul {
  list-style: none;
  color: var(--muted);
  margin: 0 0 1.2rem;
  line-height: 1.6;
}

.section {
  padding: 3.5rem 0;
}

.section__header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section__header .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  margin: 0.8rem 0 1.2rem;
  font-weight: 700;
}

.section__header p.lede {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.info-box {
  margin-top: 1rem;
  padding: 1.25rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.info-box h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.login-section {
  padding: 3.5rem 0;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 3.6rem 2rem 2.4rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 1rem;
  align-items: start;
  color: var(--ink);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.auth-views {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.auth-form {
  display: grid;
  gap: 0.8rem;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0.9rem 0.2rem 1.1rem;
}

.auth-form .cta.full {
  margin-top: 0.4rem;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.16);
}

.auth-form .text-link {
  display: inline;
  margin-top: 0.2rem;
  padding: 0;
  border-radius: 0;
  color: var(--accent);
  justify-self: start;
  align-self: center;
  width: auto;
}

button.text-link {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: auto;
  display: inline;
  margin: 0;
  line-height: 1.4;
}

.forgot-password-trigger {
  display: inline;
}

.auth-note {
  color: var(--muted);
  font-size: 1.05rem;
}

.title-small {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.section__header .narrow {
  max-width: 720px;
}

.grid.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 20px;
  min-height: 210px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.feature:nth-child(odd) {
  background: var(--card);
  border-color: var(--border);
}

.feature:nth-child(even) {
  background: var(--card);
  border-color: var(--border);
}

/* After-login action cards */
.after-login-actions .features {
  gap: 1.4rem;
}

.after-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  color: var(--ink);
}

.after-card:nth-child(2) {
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.16), transparent 42%),
    linear-gradient(185deg, rgba(14, 45, 46, 0.95), rgba(6, 22, 24, 0.96));
  border-color: rgba(46, 204, 113, 0.55);
}

.after-card:nth-child(3) {
  background: radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.2), transparent 40%),
    linear-gradient(185deg, rgba(15, 30, 60, 0.95), rgba(9, 16, 28, 0.96));
  border-color: rgba(59, 130, 246, 0.55);
}

.after-card:nth-child(4) {
  background: radial-gradient(circle at 18% 18%, rgba(16, 185, 129, 0.18), transparent 40%),
    linear-gradient(185deg, rgba(10, 41, 38, 0.95), rgba(7, 20, 22, 0.96));
  border-color: rgba(46, 204, 113, 0.55);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  border: 2px solid var(--border);
  color: var(--ink);
  background: #ffffff;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background 150ms ease;
}

.pill-btn.outline:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.pill-btn.solid {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.18);
}

.pill-btn.solid:hover {
  background: #0c53d4;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(12, 83, 212, 0.22);
}

.feature .cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
}

.feature__icon {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.list {
  color: var(--muted);
  margin-top: 1rem;
  padding-left: 1.1rem;
  line-height: 1.7;
}

.list.tight li {
  margin-bottom: 0.35rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.panel.alt {
  background: var(--card);
}

.panel__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel__stat:last-child {
  border-bottom: none;
}

.stat {
  font-size: 1.6rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price-card__badge {
  position: absolute;
  top: -12px;
  right: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
}

.columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.steps {
  list-style-position: inside;
  color: var(--muted);
  line-height: 1.8;
}

.quote {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.3rem;
  border-radius: var(--radius);
  color: var(--muted);
}

.faq__list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.faq__item header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__item p {
  color: var(--muted);
  margin-top: 0.4rem;
  display: none;
}

.faq__item.open p {
  display: block;
}

.toggle {
  background: #f2f5f9;
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
}

.footer {
  width: 100%;
  margin: 3rem 0 0;
  padding: 0.9rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04);
  color: var(--muted);
  backdrop-filter: none;
}

.footer::before {
  display: none;
}

.footer__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.text-link {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.in-view {
  opacity: 1;
  transform: none;
}

.newsletter {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.newsletter__form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter__fields {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 0.6rem;
}

.newsletter input[type="email"] {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
}

.newsletter input[type="email"]:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.newsletter__note {
  color: var(--muted);
  font-size: 0.95rem;
}

.newsletter__status {
  min-height: 1.2rem;
  color: var(--accent);
  font-weight: 600;
}

.newsletter__status.error {
  color: var(--danger);
}

.quiz__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(26, 43, 68, 0.95), rgba(16, 27, 44, 0.98)) padding-box,
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.22), transparent 32%) padding-box,
    radial-gradient(circle at 88% 18%, rgba(16, 185, 129, 0.18), transparent 30%) padding-box;
  border: 1px solid rgba(112, 189, 81, 0.6);
  border-radius: 22px;
  padding: 2.1rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.quiz__card::before {
  content: '';
  position: absolute;
  top: -18%;
  right: -2%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0));
  filter: blur(26px);
  opacity: 0.32;
  pointer-events: none;
}

.quiz__card::after {
  content: '';
  position: absolute;
  bottom: -18%;
  left: -14%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0));
  filter: blur(28px);
  opacity: 0.28;
  pointer-events: none;
}

.quiz__card.is-submitted .quiz__meta,
.quiz__card.is-submitted .quiz__bullet,
.quiz__card.is-submitted .quiz__answers,
.quiz__card.is-submitted .quiz__actions,
.quiz__card.is-submitted .quiz__nav,
.quiz__card.is-submitted .quiz__solution {
  display: none;
}

.quiz__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #e5e7eb;
  padding: 0.6rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  gap: 1rem;
}

.quiz__number {
  color: var(--ink);
}

.quiz__timer {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border: 1px solid rgba(245, 158, 11, 0.7);
  color: #0b1222;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.quiz__bullet {
  color: #e5e7eb;
  font-size: 1.08rem;
  line-height: 1.75;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.94), rgba(11, 18, 34, 0.96));
  border: 1px solid rgba(112, 189, 81, 0.55);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.quiz__bullet .katex-display {
  text-align: center;
  padding: 0.35rem 0;
}

.quiz__answers {
  display: grid;
  gap: 0.9rem;
  padding: 1.05rem 1.1rem;
  background: linear-gradient(140deg, rgba(44, 63, 97, 0.85), rgba(25, 41, 66, 0.88)),
    linear-gradient(150deg, rgba(37, 99, 235, 0.22), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(112, 189, 81, 0.5);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quiz__choice {
  width: 100%;
  text-align: left;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  line-height: 1.6;
}

.quiz__choice:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.quiz__choice.selected {
  border-color: rgba(59, 130, 246, 0.85);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.12));
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.22);
}

.quiz__choice.correct {
  border-color: var(--accent-2);
  background: rgba(61, 214, 161, 0.14);
  box-shadow: inset 0 0 0 1px rgba(61, 214, 161, 0.5);
}

.quiz__choice.incorrect {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.14);
}

.quiz__solution {
  background: linear-gradient(135deg, rgba(61, 214, 161, 0.15), rgba(61, 214, 161, 0.06));
  border: 1px solid rgba(61, 214, 161, 0.3);
  border-radius: 16px;
  padding: 1rem;
  margin-top: 0.8rem;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  line-height: 1.65;
}

.quiz__answer {
  color: var(--accent-2);
}

.quiz__note {
  color: var(--muted);
  font-size: 0.95rem;
}

.quiz__steps p {
  margin-bottom: 0.2rem;
}

.quiz__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.quiz__submit {
  padding: 1rem 1.5rem;
  font-size: 1.02rem;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.quiz__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.quiz__controls .quiz__status {
  color: var(--muted);
}

.quiz__nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.quiz__nav .text-link {
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  color: #e5e7eb;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.quiz__nav .text-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.quiz__progress {
  color: var(--muted);
  font-weight: 600;
}

.quiz__summary {
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: rgba(61, 214, 161, 0.1);
  border: 1px solid rgba(61, 214, 161, 0.32);
}

.quiz__review {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.review__item.ok {
  border-color: rgba(61, 214, 161, 0.4);
  background: rgba(61, 214, 161, 0.08);
}

.review__item.fail {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.06);
}

.review__heading {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.review__stem {
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.review__answers {
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.review__solution {
  color: var(--muted);
  font-size: 0.95rem;
}

.review__options {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0.4rem;
  display: grid;
  gap: 0.25rem;
}

.review__options li {
  color: var(--ink);
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
}

.review__options li.correct {
  border-color: rgba(61, 214, 161, 0.5);
  background: rgba(61, 214, 161, 0.12);
}

.review__options li.chosen {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.45);
}

.review__options li.correct.chosen {
  border-color: rgba(61, 214, 161, 0.8);
  box-shadow: inset 0 0 0 1px rgba(61, 214, 161, 0.7);
}

.quiz__status {
  min-height: 1.4rem;
  color: var(--accent-2);
  font-weight: 600;
}

.quiz__status.error {
  color: var(--danger);
}

.checkout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem 2.6rem 2.2rem;
  box-shadow: var(--shadow);
}

.checkout__form {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0.6rem 1.25rem;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.form__field.plan-field {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .form__field.plan-field {
    grid-column: span 1;
  }
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.1rem 0.05rem;
}

.form__field input,
.form__field select {
  background: #f9fbff;
  border: 1px solid #d5d9e0;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.form__field input:focus,
.form__field select:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form__field input:hover,
.form__field select:hover {
  border-color: #c7ccd5;
}

.password-input-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.password-input-wrapper input {
  width: 100%;
  padding-right: 2.8rem;
  box-sizing: border-box;
}

.password-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: color 0.2s ease;
  border-radius: 6px;
}

.password-toggle:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.password-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.password-toggle svg {
  display: block;
}

.checkout__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.checkout__status {
  min-height: 1.4rem;
  color: var(--accent-2);
  font-weight: 600;
}

.checkout__status.error {
  color: var(--danger);
}

.otp-panel {
  margin-top: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.otp__status {
  min-height: 1.4rem;
  color: var(--accent);
  font-weight: 600;
}

.otp__status.error {
  color: var(--danger);
}

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

@media (max-width: 900px) {
  .hero, .split, .columns {
    grid-template-columns: 1fr;
  }

  .hero__card {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 768px) {
  main {
    padding: 0 2vw;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0 1.5rem;
  }
  .hero__card {
    margin-top: 1.5rem;
    padding: 1.2rem;
  }
  .offers-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 2vw;
  }
  .brand-name {
    font-size: 1.5rem;
  }
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 1rem;
  }
  body {
    padding: 0 !important;
    max-width: 100vw;
    overflow-x: hidden;
  }
  main {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .footer {
    width: 100%;
    box-sizing: border-box;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 2rem 1rem 1rem 1rem;
    gap: 1.5rem;
  }
  .footer__actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1rem;
  }
  .footer .logo.brand {
    margin-bottom: 1rem;
  }
}

/* Hamburger menu styles */
.nav-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  margin-left: auto;
  z-index: 1001;
  border-radius: 14px;
  box-shadow: var(--shadow);
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

@media (max-width: 900px) {
  .topbar {
    position: relative;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    overflow: visible;
  }
  .logo.brand {
    min-width: 0;
    gap: 0.55rem;
  }
  .brand-text {
    min-width: 0;
    overflow: hidden;
  }
  .brand-name {
    font-size: clamp(1rem, 4.2vw, 1.35rem) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-tag {
    display: none;
  }
  .nav-toggle {
    display: flex;
    position: relative;
    right: auto;
    top: auto;
    margin-left: auto;
    z-index: 2001;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1.6rem;
    line-height: 1;
    padding: 0.32rem 0.56rem;
    min-width: 42px;
    min-height: 42px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.14);
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  }
  .nav-toggle:hover {
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: 0 14px 32px rgba(15, 98, 254, 0.22);
  }
  .nav-toggle:active {
    transform: translateY(1px);
  }
  .nav {
    display: none;
    flex-direction: column;
    width: min(90vw, 320px);
    max-width: 340px;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    position: absolute;
    right: 0.75rem;
    top: calc(100% + 0.35rem);
    z-index: 2000;
    gap: 0.35rem;
    padding: 1.1rem 1rem 1.1rem 1rem;
    align-items: flex-start;
    font-size: 1.05rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
    border-radius: 14px;
    transition: opacity 0.2s, visibility 0.2s;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .nav.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .nav a {
    display: block;
    width: 100%;
    color: var(--ink);
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    box-shadow: none;
    transform: none;
  }
  .nav a:hover {
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: none;
    transform: none;
  }
  .nav .nav-login {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 98, 254, 0.18);
  }
  .nav .nav-login:hover {
    background: #0c53d4;
    color: #fff;
  }
}

  /* Dashboard/account hamburger dropdown (desktop + mobile) */
  .nav-menu {
    position: absolute;
    top: 68px;
    right: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    flex-direction: column;
    list-style: none;
    padding: 8px 0;
    z-index: 3000;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 16px;
    color: #4a5568;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
  }

  .nav-menu a:hover {
    background: #f4f7f6;
    color: #2563eb;
  }

  .nav-menu .logout-btn {
    color: #ef4444;
  }

/* Home redesign */
body.home {
  --bg: #f7fbff;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --ink: #1c252b;
  --muted: #111827;
  --desc-bump: 2px;
  --accent: #2f7d6d;
  --accent-2: #1e3a8a;
  --accent-3: #1e3a8a;
  --border: #e6eaf0;
  --accent-soft: #e6f2ee;
  --shadow: 0 26px 60px rgba(16, 24, 28, 0.16);
  --radius: 22px;
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', 'Arial', sans-serif;
  font-family: var(--font-body);
  font-size: 16px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef4ff 55%, #ffffff 100%);
  color: var(--ink);
}

body.home::before {
  display: none;
}

.home .topbar,
.home main,
.home .footer {
  position: relative;
  z-index: 1;
}

.home main {
  max-width: 1840px;
  width: 100%;
  padding: 0 clamp(8px, 2vw, 24px);
}

.home .topbar {
  background: linear-gradient(180deg, #2f6fda 0%, #2a63c2 100%);
  border-bottom: 1px solid #2458ad;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 0.5rem clamp(20px, 3vw, 48px);
}

.home .logo-mark {
  height: 50px;
}

.home .brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.home .brand-tag {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
}

.home .nav a {
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  color: #ffffff;
  font-weight: 600;
}

.home .nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: none;
}

.home .nav-login {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.home .nav-login:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.home .nav-login:visited {
  color: #fff;
}

.home .eyebrow {
  color: var(--accent-2);
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.home .lede {
  color: var(--muted);
  font-size: calc(1rem + var(--desc-bump));
  line-height: 1.7;
}

.home p:not(.eyebrow):not(.note-title) {
  font-size: calc(1rem + var(--desc-bump));
  line-height: 1.7;
}

.home li {
  font-size: calc(1rem + var(--desc-bump));
  line-height: 1.7;
}

.home .hero {
  background: #ffffff;
  border: none;
  box-shadow: none;
  border-radius: 26px;
  padding: 2.25rem 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  position: relative;
  align-items: start;
  margin-bottom: 0.6rem;
}

.home .hero::before {
  display: none;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.hero__subheading {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--accent-3);
  font-size: 1rem;
}

.hero__credibility {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}

.cta-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
}

.cta-primary:hover,
.cta-primary:focus {
  background: #256a5d;
  border-color: #256a5d;
}

.cta-secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
}

.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--accent-soft);
  color: var(--accent);
}

.home .cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(27, 107, 94, 0.24);
}

.home .cta:hover {
  background: #15594d;
  border-color: #15594d;
}

.home .cta.ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.home .cta.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.home .cta.ghost.nav-login,
.home .cta.ghost.nav-login:visited {
  color: #fff;
}

.home .cta.ghost.nav-login:hover {
  color: #fff;
}

.home .cta-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}

.home .cta-secondary:hover,
.home .cta-secondary:focus {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
}

.home .hero__stats .stat {
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  box-shadow: 0 6px 12px rgba(18, 24, 28, 0.08);
}

.home .hero__stats .stat__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-3);
}

.home .hero__stats .stat__label {
  color: var(--muted);
  font-size: 0.85rem;
}

.home .hero__visual {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.hero-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: start;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: none;
  box-shadow: 0 16px 30px rgba(16, 24, 40, 0.16);
  display: block;
  max-height: 340px;
  object-fit: cover;
}

.mockup-caption {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: left;
  font-weight: 700;
}

.hero-video__frame {
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  min-height: 340px;
  padding: 1.5rem;
  display: grid;
  gap: 0.6rem;
  align-content: center;
  text-align: center;
  box-shadow: 0 16px 30px rgba(16, 24, 40, 0.12);
}

.hero-video__label {
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero-video__frame p {
  margin: 0;
  color: #374151;
  font-size: 0.95rem;
}

.hero-video__cta {
  display: inline-flex;
  align-self: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px dashed #cbd5f5;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 0.85rem;
}

.home .hero-note {
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.08);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 1rem 1.1rem;
}

.hero__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hero__benefits li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--ink);
  line-height: 1.6;
  font-size: 0.98rem;
}

.hero__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: rgba(47, 125, 109, 0.16);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-bar {
  margin: 2.5rem auto 0;
  padding: 1.2rem 1.5rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.trust-item {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.site-footer {
  margin-top: 4rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 2rem clamp(16px, 3vw, 32px);
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-footer__links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 150ms ease;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: #4b5563;
  font-size: 0.9rem;
}

.site-footer__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer__links a {
  color: #1f2937;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: var(--accent-2);
}

.surface {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-3);
  font-size: 0.75rem;
  font-weight: 600;
}

.dashboard__score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.2rem 0 1.4rem;
  gap: 1.2rem;
}

.home .muted {
  color: var(--muted);
}

.score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0.2rem 0 0;
  color: var(--accent-3);
}

.score-ring {
  --score: 72%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) var(--score), rgba(228, 220, 207, 0.7) 0);
  display: grid;
  place-items: center;
  position: relative;
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--card);
}

.score-ring__inner {
  position: relative;
  font-weight: 700;
  color: var(--accent-3);
  font-size: 1rem;
  z-index: 1;
}

.dashboard__meter {
  display: grid;
  gap: 0.75rem;
}

.meter-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(28, 37, 43, 0.08);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: var(--value, 60%);
}

.dashboard__foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
  font-size: 0.85rem;
}

.foot-value {
  font-weight: 600;
  color: var(--accent-3);
}

.hero-note .note-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.4rem 0 0.6rem;
}

.home .hero-note .note-body {
  color: var(--muted);
  font-size: 0.95rem;
}

.home .hero-note .eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: #d14b2f;
}

.home .review-course {
  padding: 2rem 0 2rem;
}

.home .review-course__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.home .review-course__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0.25rem 0 0.5rem;
}

.home .review-course__copy .lede {
  font-size: 0.95rem;
}

.home .tick-list {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.home .tick-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.home .tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(27, 107, 94, 0.15);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.6rem;
}

.tick-list--stacked li {
  color: var(--ink);
}

.tick-list--stacked li strong {
  color: var(--accent-3);
}

.home .section {
  padding: 2.6rem 0;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.home .proof {
  padding-top: 0;
  margin-top: -0.4rem;
}

.home .proof .section__header {
  margin-bottom: 0.5rem;
}

.home .proof .section__header .eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.2rem;
}

.home .proof .section__header h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  margin: 0 0 0.25rem;
}

.home .proof .section__header .lede {
  font-size: 0.95rem;
  white-space: nowrap;
  margin: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.proof-card h3 {
  font-size: 1.25rem;
  margin: 0.6rem 0 0.6rem;
  color: var(--accent-3);
}

.proof-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.logo-splash {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0;
}

.logo-splash img {
  max-width: min(520px, 80%);
  width: 100%;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 18px 40px rgba(18, 24, 28, 0.18));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.4rem;
  align-items: center;
}

.checklist {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.checklist li {
  padding-left: 1.8rem;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(27, 107, 94, 0.18);
}

.split__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.split__card-body {
  display: grid;
  gap: 1rem;
}

.split__metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(27, 107, 94, 0.08);
}

.split__value {
  font-weight: 600;
  color: var(--accent-3);
}

.split__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.tool-card h3 {
  font-size: 1.2rem;
  color: var(--accent-3);
  margin-bottom: 0.6rem;
}

.showcase {
  display: grid;
  gap: 2.4rem;
  margin-top: 2.4rem;
}

.showcase__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.2rem;
  align-items: center;
  padding: 2rem;
}

.showcase__row--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.showcase__media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 18px 30px rgba(18, 24, 28, 0.16);
  display: block;
}

.showcase__content h3 {
  font-size: 1.5rem;
  margin: 0.6rem 0;
  color: var(--accent-3);
}

.checklist--compact {
  margin-top: 1rem;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.proof-path {
  margin-top: 2.5rem;
}

.proof-path h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--ink);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(120deg, rgba(27, 107, 94, 0.08), rgba(195, 106, 46, 0.12));
}

.cta-panel__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.home .auth-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 26px 46px rgba(18, 24, 28, 0.18);
}

.home .auth-form .cta.full {
  box-shadow: 0 12px 24px rgba(27, 107, 94, 0.22);
}

.home .footer {
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 24px rgba(18, 24, 28, 0.08);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home .hero__content,
.home .hero__visual .surface,
.home .proof-card,
.home .tool-card,
.home .path-step {
  animation: rise-in 0.8s ease both;
}

.home .hero__visual .surface:nth-child(2) {
  animation-delay: 0.12s;
}

.home .proof-card:nth-child(2) { animation-delay: 0.05s; }
.home .proof-card:nth-child(3) { animation-delay: 0.1s; }
.home .proof-card:nth-child(4) { animation-delay: 0.15s; }

.home .tool-card:nth-child(2) { animation-delay: 0.05s; }
.home .tool-card:nth-child(3) { animation-delay: 0.1s; }
.home .tool-card:nth-child(4) { animation-delay: 0.15s; }
.home .tool-card:nth-child(5) { animation-delay: 0.2s; }
.home .tool-card:nth-child(6) { animation-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .home .hero__content,
  .home .hero__visual .surface,
  .home .proof-card,
  .home .tool-card,
  .home .path-step {
    animation: none;
  }
}

@media (max-width: 980px) {
  .home .hero,
  .split {
    grid-template-columns: 1fr;
  }
  .home .hero {
    padding-top: 2.5rem;
  }
  .hero-media-grid {
    grid-template-columns: 1fr;
  }
  .hero-video__frame {
    min-height: 220px;
  }
  .hero__content,
  .hero__visual {
    margin: 0;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .cta {
    width: 100%;
    justify-content: center;
  }
  .trust-bar__inner {
    grid-template-columns: 1fr;
  }
  .mockup-caption {
    text-align: left;
  }
  .review-course__grid {
    grid-template-columns: 1fr;
  }
  .showcase__row,
  .showcase__row--reverse {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.3rem;
  }
  .showcase__media {
    order: 1;
  }
  .showcase__content {
    order: 2;
  }
  .hero__visual {
    grid-template-columns: 1fr;
  }
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 2rem 0;
  }
  .section__header {
    margin-bottom: 1.35rem;
  }
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .price-card {
    padding: 1.15rem;
  }
  .checkout {
    padding: 1.2rem 1rem 1rem;
  }
  .checkout__form {
    padding: 0.45rem 0 0.85rem;
  }
  .checkout__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .checkout__actions .cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .otp-panel {
    padding: 1rem;
  }
  .showcase {
    gap: 1rem;
  }
  .showcase__row,
  .showcase__row--reverse {
    padding: 1rem;
    gap: 0.95rem;
  }
}

@media (max-width: 720px) {
  .home .topbar {
    padding: 0.6rem 5vw;
  }
  .home .brand-name {
    font-size: 1.3rem;
  }
  .hero__stats {
    grid-template-columns: 1fr;
  }
  .dashboard__foot {
    grid-template-columns: 1fr;
  }
  .split__metric {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/* Homepage mobile safety: ensure scroll + tappable nav on phones/tablets */
@media (max-width: 900px) {
  body.home {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  body.home .topbar {
    position: sticky;
    top: 0;
    z-index: 4000;
    overflow: visible !important;
  }

  body.home .nav-toggle {
    display: flex !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    z-index: 4100;
  }

  body.home .nav {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 0.35rem) !important;
    right: 0.65rem !important;
    left: auto !important;
    width: min(88vw, 320px) !important;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 4090;
    pointer-events: none !important;
  }

  body.home .nav.open {
    display: flex !important;
    pointer-events: auto !important;
  }

  body.home .nav a {
    pointer-events: auto;
    touch-action: manipulation;
  }
}
