/* ============================================================
   CollegeForge marketing site - design system
   Mirrors the app's EduAll-inspired tokens so the site and the
   product read as one brand.
   ============================================================ */

:root {
  /* Three-color accent system (same as the app) */
  --blue:        #066BCA;
  --blue-dark:   #0451A0;
  --blue-soft:   #E8F1FC;
  --orange:      #F37739;
  --orange-soft: #FEF0E8;
  --green:       #2FA75F;
  --green-soft:  #E7F6ED;

  /* Brand lockup colors, sampled from the emblem */
  --brand-navy:   #0145B7;
  --brand-orange: #FB6A06;

  /* Neutrals */
  --ink:      #0F172A;
  --body:     #4B5768;
  --muted:    #677788;
  --line:     #E7EAF0;
  --surface:  #FFFFFF;
  --section:  #F7F8FA;

  /* Elevation + shape */
  --shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.04);
  --shadow:    0 6px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.10);
  --radius:    16px;
  --radius-lg: 24px;
  --pill:      50rem;

  --wrap: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .6em; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.section--tint { background: var(--section); }
.section--blue { background: linear-gradient(160deg, #F2F7FE 0%, #FFFFFF 60%); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head p { font-size: 1.06rem; color: var(--muted); margin-bottom: 0; }
.lede { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--muted); }

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem 1rem; border-radius: var(--pill);
  background: var(--blue-soft); color: var(--blue);
  font-size: .8rem; font-weight: 700; letter-spacing: .01em;
  margin-bottom: 1.1rem;
}
.pill--orange { background: var(--orange-soft); color: #C4551F; }
.pill--green  { background: var(--green-soft);  color: #1F7A43; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.9rem; border-radius: var(--pill);
  font-weight: 700; font-size: .95rem; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(6,107,202,.24); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--orange  { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(243,119,57,.26); }
.btn--orange:hover { background: #DE6528; color: #fff; }
.btn--ghost   { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--lg { padding: 1rem 2.3rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 76px; position: relative; }
.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.24rem; font-weight: 900; letter-spacing: -.02em; }
.brand-name .c { color: var(--brand-navy); }
.brand-name .f { color: var(--brand-orange); }
.brand-by { font-size: .62rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-links a {
  padding: .55rem .9rem; border-radius: var(--pill);
  color: var(--ink); font-weight: 600; font-size: .93rem;
  transition: background .16s ease, color .16s ease;
}
.nav-links a:hover, .nav-links a.is-active { background: var(--blue-soft); color: var(--blue); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; background: var(--blue-dark); }
.nav-cta { margin-left: .6rem; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0;
  font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); padding: .25rem .5rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: -1.5rem; right: -1.5rem;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.5rem; margin-left: 0;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { margin-left: 0; margin-top: .5rem; }
  .nav-links .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #F4F8FE 0%, #FFFFFF 55%, #FDF6F1 100%);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { margin-bottom: .5em; }
.hero h1 .accent { color: var(--blue); }
.hero h1 .accent-o { color: var(--orange); }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--muted); max-width: 46ch; margin-bottom: 1.8rem; }
.hero-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

.hero-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.6rem;
  border: 1px solid var(--line); position: relative;
}
.hero-card-head { display: flex; align-items: center; gap: .45rem; margin-bottom: 1.1rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-card-title { font-weight: 800; color: var(--ink); font-size: .95rem; margin-left: .35rem; }
.mini-row { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.mini-row:last-child { border-bottom: 0; }
.mini-label { color: var(--body); font-weight: 600; }
.mini-val { font-weight: 800; color: var(--ink); }
.bar { height: 8px; border-radius: var(--pill); background: #EEF1F6; overflow: hidden; margin-top: .5rem; }
.bar > span { display: block; height: 100%; border-radius: var(--pill); }

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

/* Floating decorative shapes */
.shape { position: absolute; border-radius: 50%; opacity: .55; pointer-events: none; z-index: 0; }
.shape--1 { width: 220px; height: 220px; background: radial-gradient(circle, rgba(6,107,202,.14), transparent 70%); top: -60px; right: -40px; animation: float 9s ease-in-out infinite; }
.shape--2 { width: 160px; height: 160px; background: radial-gradient(circle, rgba(243,119,57,.16), transparent 70%); bottom: -50px; left: -30px; animation: float 11s ease-in-out infinite reverse; }
.shape--3 { width: 120px; height: 120px; background: radial-gradient(circle, rgba(47,167,95,.14), transparent 70%); top: 40%; left: 6%; animation: float 13s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }
.wrap { position: relative; z-index: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.2rem; text-align: center; box-shadow: var(--shadow);
}
.stat-num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: var(--blue); line-height: 1; letter-spacing: -.03em; }
.stat:nth-child(2) .stat-num { color: var(--orange); }
.stat:nth-child(3) .stat-num { color: var(--green); }
.stat-label { font-size: .84rem; color: var(--muted); font-weight: 600; margin-top: .5rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #D9E3F0; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--blue-soft); margin-bottom: 1rem;
}
.card-icon--orange { background: var(--orange-soft); }
.card-icon--green  { background: var(--green-soft); }
.card-note { font-size: .86rem; color: var(--muted); margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }

/* Subject cards */
.subject-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.subject-top {
  height: 116px; display: grid; place-items: center; font-size: 2.4rem;
  background: linear-gradient(135deg, #E8F1FC, #F5F9FF);
}
.subject-top--o { background: linear-gradient(135deg, #FEF0E8, #FFF8F4); }
.subject-top--g { background: linear-gradient(135deg, #E7F6ED, #F4FBF7); }
.subject-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.subject-cat {
  align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-soft);
  padding: .28rem .7rem; border-radius: var(--pill); margin-bottom: .7rem;
}
.subject-cat--o { color: #C4551F; background: var(--orange-soft); }
.subject-cat--g { color: #1F7A43; background: var(--green-soft); }
.subject-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.subject-meta { font-size: .86rem; color: var(--muted); margin: 0; }
.subject-foot { margin-top: auto; padding-top: 1rem; font-size: .82rem; font-weight: 700; color: var(--green); }
.subject-foot--soon { color: var(--muted); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split--flip .split-media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }
.split ul { list-style: none; padding: 0; }
.split ul li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; }
.split ul li::before {
  content: "\2713"; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-size: .7rem; font-weight: 900; display: grid; place-items: center;
}

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.6rem;
}
.panel-title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.chat-line { display: flex; gap: .7rem; margin-bottom: .9rem; align-items: flex-start; }
.chat-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: .95rem; background: var(--blue-soft); }
.chat-avatar--cat { background: var(--orange-soft); }
.chat-bubble { background: var(--section); border-radius: 14px; padding: .7rem .95rem; font-size: .88rem; color: var(--body); }
.chat-bubble--me { background: var(--blue); color: #fff; margin-left: auto; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 940px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card--featured { border-color: var(--blue); box-shadow: 0 18px 48px rgba(6,107,202,.14); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: var(--pill); white-space: nowrap;
}
.price-name { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.price-amount { font-size: 2.6rem; font-weight: 900; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; margin: .5rem 0 .1rem; }
.price-amount small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-desc { font-size: .9rem; color: var(--muted); min-height: 3em; }
.price-list { list-style: none; padding: 0; margin: 1.2rem 0; flex: 1; }
.price-list li { position: relative; padding-left: 1.7rem; font-size: .9rem; margin-bottom: .6rem; }
.price-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.price-list li.off { color: #A3ADBB; }
.price-list li.off::before { content: "\2014"; color: #C7CFDA; }

/* ---------- Billing term switcher (CSS-only) ---------- */
/* The three radios ARE the state. They must stay direct siblings of .term-cards
   and .price-grid, because every rule below reaches them with ~. No JS, so the
   switcher still works with scripting disabled. */
.promo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem .8rem; margin: 0 auto 2.6rem; max-width: 660px;
  padding: .7rem 1.2rem; border-radius: var(--pill);
  background: var(--orange-soft); border: 1px solid #F8D8C4;
  font-size: .9rem; color: #8A431A; text-align: center;
}
.promo-strip-tag {
  font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  background: var(--orange); color: #fff; padding: .26rem .7rem; border-radius: var(--pill);
}
.promo-strip strong { color: #6E340F; }

.section-head--tight { margin-bottom: 1.6rem; }

.term-radio {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.term-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 940px; margin: 0 auto 2.8rem;
}
.term-card {
  position: relative; display: flex; flex-direction: column; gap: .1rem;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.term-card:hover { border-color: #C6D6EA; transform: translateY(-2px); }
.term-card-top { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.term-card-radio {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid #CBD5E1; background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.term-card-name { font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.term-card-price { font-size: 1.7rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
.term-card-price small { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.term-card-meta { font-size: .82rem; color: var(--muted); }
.term-card-save {
  align-self: flex-start; margin-top: .6rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .02em;
  padding: .18rem .6rem; border-radius: var(--pill);
  background: var(--green-soft); color: #1F7A43;
}
.term-card-save--flat { background: #F1F3F7; color: var(--muted); }
.term-card-flag {
  position: absolute; top: -11px; right: 1.1rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: var(--pill);
  background: var(--green); color: #fff; white-space: nowrap;
}
.term-card-flag--promo { background: var(--orange); }

/* Selected card */
#term-monthly:checked ~ .term-cards .term-card[for="term-monthly"],
#term-6mo:checked     ~ .term-cards .term-card[for="term-6mo"],
#term-annual:checked  ~ .term-cards .term-card[for="term-annual"] {
  border-color: var(--blue); box-shadow: 0 14px 34px rgba(6,107,202,.13);
}
#term-monthly:checked ~ .term-cards .term-card[for="term-monthly"] .term-card-radio,
#term-6mo:checked     ~ .term-cards .term-card[for="term-6mo"]     .term-card-radio,
#term-annual:checked  ~ .term-cards .term-card[for="term-annual"]  .term-card-radio {
  border-color: var(--blue); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--blue);
}

/* Keyboard focus ring — the real radio is off-screen, so the card carries it */
#term-monthly:focus-visible ~ .term-cards .term-card[for="term-monthly"],
#term-6mo:focus-visible     ~ .term-cards .term-card[for="term-6mo"],
#term-annual:focus-visible  ~ .term-cards .term-card[for="term-annual"] {
  outline: 3px solid rgba(6,107,202,.45); outline-offset: 3px;
}

/* Price swap inside the plan cards */
.term-price { display: none; }
#term-monthly:checked ~ .price-grid .term-price[data-term="monthly"],
#term-6mo:checked     ~ .price-grid .term-price[data-term="6mo"],
#term-annual:checked  ~ .price-grid .term-price[data-term="annual"] { display: block; }

.price-terms {
  font-size: .84rem; color: var(--muted); line-height: 1.5;
  min-height: 3em; margin-bottom: .5rem;
}
.price-terms s { color: #A3ADBB; margin-right: .15rem; }
.price-terms strong { color: var(--ink); font-weight: 800; }
.price-save {
  display: inline-block; margin-left: .3rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em;
  padding: .1rem .5rem; border-radius: var(--pill);
  background: var(--green-soft); color: #1F7A43; white-space: nowrap;
}

@media (max-width: 860px) { .term-cards { grid-template-columns: 1fr; max-width: 460px; gap: .85rem; } }

/* ---------- Trust chips ---------- */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.6rem; }
.trust-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .95rem; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--body);
}
.trust-chip::before { content: "\2713"; color: var(--green); font-weight: 900; }

/* ---------- Plan comparison table ---------- */
.compare th[scope="row"] { background: #fff; font-size: .88rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink); }
.compare td { text-align: center; color: var(--body); }
.compare thead th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--green); font-weight: 900; }
.compare .no  { color: #C7CFDA; }
.compare .is-featured { background: rgba(6,107,202,.04); }
.compare thead th.is-featured { background: var(--blue-soft); color: var(--blue); }

/* ---------- Table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .92rem; }
th, td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--section); font-weight: 800; color: var(--ink); font-size: .82rem; letter-spacing: .03em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: .2rem .65rem; border-radius: var(--pill); font-size: .74rem; font-weight: 800; }
.tag--live { background: var(--green-soft); color: #1F7A43; }
.tag--soon { background: #F1F3F7; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; margin-bottom: .8rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; font-weight: 400; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { margin-bottom: .7rem; }
.faq p { font-size: .94rem; margin-bottom: 0; color: var(--muted); }

/* ---------- Quotes ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.quote-mark { font-size: 2.2rem; color: var(--orange); line-height: .6; font-weight: 900; }
.quote p { font-size: .96rem; color: var(--body); margin: .8rem 0 1.1rem; }
.quote-who { display: flex; align-items: center; gap: .7rem; }
.quote-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; font-weight: 800; color: var(--blue); font-size: .85rem; }
.quote-name { font-weight: 700; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.quote-role { font-size: .8rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #0A5BAE 55%, #12457F 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 3.6rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ---------- Forms ---------- */
.form { max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6,107,202,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.field-hint { font-size: .8rem; color: var(--muted); margin-top: .35rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0E1726; color: #9FB0C6; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #9FB0C6; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name .c { color: #fff; }
.footer-brand .brand-name .f { color: var(--orange); }
.footer-brand .brand-by { color: #6E7F96; }
.footer-blurb { font-size: .9rem; margin-top: 1rem; max-width: 38ch; color: #8496AE; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .84rem; color: #6E7F96;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(165deg, #F4F8FE 0%, #FFFFFF 70%);
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.5rem);
  text-align: center; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 62ch; margin-left: auto; margin-right: auto; }

/* ---------- Legal pages (privacy, terms) ---------- */
/* Document typography, not marketing typography. The global h2 runs to 2.5rem,
   which dwarfs 16px body copy over a long notice and leaves no visible break
   between sections. Everything here is scoped with > so the draft-review card
   and the page hero keep their own styling. */
.legal { max-width: 820px; font-size: 1.05rem; line-height: 1.75; }
.legal > h2 {
  font-size: 1.3rem; line-height: 1.35; font-weight: 800; letter-spacing: -.01em;
  margin: 2.9rem 0 .8rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.legal > h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal > h3 { font-size: 1.05rem; font-weight: 700; margin: 1.7rem 0 .5rem; }
.legal > p  { margin: 0 0 1.05rem; }
.legal > ul { margin: 0 0 1.35rem; padding-left: 1.3rem; }
.legal > ul > li { margin-bottom: .55rem; padding-left: .2rem; }
.legal > ul > li::marker { color: #A9B4C2; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 620px) {
  .legal { font-size: 1rem; }
  .legal > h2 { font-size: 1.16rem; margin-top: 2.3rem; padding-top: 1.2rem; }
}

/* "Coming soon" in place of a price on the plan cards */
.price-soon {
  display: inline-block; padding: .45rem 1rem; border-radius: var(--pill);
  background: var(--orange-soft); color: #C4551F;
  font-size: 1rem; font-weight: 800; letter-spacing: .02em; vertical-align: middle;
}

/* Single "plans open at launch" notice above the plan cards */
.launch-note { border-left: 4px solid var(--orange); margin-bottom: 2rem; }
.launch-note h3 { margin-bottom: .4rem; }

.price-soon--free { background: var(--green-soft); color: #1F7A43; }

/* ---------- Institutions band (pricing) ---------- */
.inst-band {
  margin-top: 1.5rem; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.inst-band h3 { margin: .6rem 0 .35rem; }
.inst-band p { margin: 0; color: var(--muted); max-width: 60ch; }
@media (max-width: 620px) { .inst-band .btn { width: 100%; } }

/* ---------- Sign-up CTAs: temporarily disabled ----------
   For now the only call to action is "Request a demo". Every sign-up button,
   link or note (Start free, Try it free, Create your account, Get started...)
   carries .cta-signup plus aria-hidden="true" tabindex="-1". To bring them
   back: delete this rule, remove those two attributes (grep cta-signup), and
   decide whether the demo buttons added beside them should stay. */
.cta-signup { display: none !important; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.small { font-size: .86rem; }
.muted { color: var(--muted); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .shape { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Form status + honeypot (contact, demo, institution forms) ---------- */
.form-status { font-size: .9rem; margin-top: .9rem; }
.form-status.is-ok  { color: #1E7A45; }
.form-status.is-err { color: #B42318; }
.form-status a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* Off-screen for people and screen readers; bots still fill it in. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
