/* ── Color tokens ──
   GuroBank's light palette (src/app.css), used the way Marka's site uses its
   tokens: light page, white raised surfaces, firm borders, one accent. */
:root {
  color-scheme: only light;

  --bg:           #eef0f4;
  --surface:      #ffffff;
  --surface-sunk: #e3e6ec;
  --border:       #c3c7d2;
  --text:         #1d2333;
  --text-muted:   #474f63;
  --accent:       #1f6b4f;
  --accent-dark:  #17573f;
  --accent-soft:  #dcebe4;
  --logo-accent:  var(--accent);
  --on-accent:    #ffffff;
  --highlight:    #e8b730;
  --on-highlight: #2b2205;
  --success:      #2f6b4e;

  --radius:       10px;
  --radius-sm:    6px;
  --radius-lg:    16px;

  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --container:    1200px;
  --section-gap:  96px;
  scroll-padding-top: 80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-gap) 0; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { max-width: 65ch; }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 52ch; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.15s, transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible, .main-nav a:focus-visible, .faq-question:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--on-accent);
  box-shadow: 0 6px 16px rgba(31, 107, 79, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(31, 107, 79, 0.36);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--surface);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

.btn-outline { border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }

.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ── Hero ── */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(31, 107, 79, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(31, 107, 79, 0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 22px; max-width: 18ch; }
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 50ch;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-ctas.center { justify-content: center; }
.hero-trust { font-size: 14px; color: var(--text-muted); }

/* ── Slide mockup (the projector view) ── */
.slide-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 24px 56px rgba(29, 35, 51, 0.14);
  position: relative;
}
.slide-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}
.slide {
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5% 6%;
  display: flex;
  flex-direction: column;
  gap: 3.5%;
  color: #000;
  container-type: inline-size;
}
.slide-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 3.2cqw;
  color: var(--text-muted);
  font-weight: 600;
}
.slide-timer {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3em 0.7em;
  border-radius: 100px;
}
.slide-q {
  font-size: 4.6cqw;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
}
.slide-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4cqw;
  font-size: 3.6cqw;
}
.slide-opts li {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.6cqw 2cqw;
  color: #000;
}
.slide-opts b {
  width: 4.4cqw;
  height: 4.4cqw;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 2.4cqw;
  flex-shrink: 0;
}
.slide-opts li.is-key { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.slide-bar {
  height: 1.2cqw;
  border-radius: 100px;
  background: var(--surface-sunk);
  overflow: hidden;
  margin-top: auto;
}
.slide-bar span {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--accent);
}

.slide-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.slide-caption strong { color: var(--text); font-weight: 600; }

/* ── Problem strip ── */
.problem { padding: 56px 0; background: var(--surface); border-block: 1px solid var(--border); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.problem-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.problem-item p { color: var(--text-muted); font-size: 15px; margin: 0; }
.problem-item .num { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; margin-bottom: 8px; display: block; }

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid rgba(31, 107, 79, 0.25);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(31, 107, 79, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(29, 35, 51, 0.07);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 20px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* ── Privacy band ── */
.privacy { background: var(--surface); }
.privacy-card {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.privacy-card h2 { color: var(--on-accent); margin-bottom: 14px; }
.privacy-card p { color: rgba(255, 255, 255, 0.88); margin: 0; }
.privacy-list { display: grid; gap: 14px; }
.privacy-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.privacy-list li::before {
  content: '✓';
  font-weight: 800;
  color: var(--highlight);
  flex-shrink: 0;
}

/* ── Pricing teaser ── */
.pricing-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
}
.pricing-card p { margin: 0 auto 24px; color: var(--text-muted); }
.pricing-card .price-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.pricing-card h2 { margin-bottom: 12px; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 0 20px; color: var(--text-muted); }
.faq-answer p { max-width: none; }

/* ── Closing call to action (structure in /assets/shell.css) ── */
.cta-banner { position: relative; overflow: hidden; background: var(--bg); border-top: 1px solid var(--border); }
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(31, 107, 79, 0.09) 0%, rgba(232, 183, 48, 0.05) 45%, transparent 75%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 120px; height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}
.cta-banner .container { position: relative; }
.cta-banner p { max-width: 52ch; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  :root { --section-gap: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-card { grid-template-columns: 1fr; padding: 40px 32px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  :root { --section-gap: 56px; }
  .problem-grid { grid-template-columns: 1fr; gap: 24px; }
  .features-grid, .steps { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 22px; }
  .privacy-card { padding: 32px 22px; }
  .hero { padding: 48px 0 64px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── Inner pages ── */
.h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; line-height: 1.2; margin-bottom: 8px; }
.section-cta { margin-top: 40px; }
.check-green { color: var(--success); font-weight: 800; flex-shrink: 0; }
.feature-detail { padding: 56px 0; }
.feature-detail-alt { background: var(--surface); border-block: 1px solid var(--border); }
.feature-detail h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.feature-detail .lede { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 20px; }
.feature-list { display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; font-size: 15.5px; color: var(--text); }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); max-width: 68ch; }
.prose p { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a:not(.btn) { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--text); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table th:first-child { text-align: left; font-weight: 500; }
.compare-table thead th { font-family: var(--font-heading); font-size: 1rem; background: var(--surface-sunk); }
.compare-table tbody tr:last-child > * { border-bottom: none; }
.fine-print { font-size: 13px; color: var(--text-muted); margin: 16px 0 28px; }
.page-hero + section { padding-top: 24px; }

.nowrap { white-space: nowrap; }

/* Privacy band: restore label spacing (the card's `p { margin: 0 }` was cancelling it) and tighten the vertical rhythm */
.privacy-card .section-label { margin-bottom: 14px; }
.privacy { padding: 64px 0; }
.privacy-card h2 { line-height: 1.1; }
.matatag-teaser { padding: 64px 0 var(--section-gap); }
#pricing { padding-top: 64px; }

/* Centered headers: the label's 65ch max-width left it off-center */
.section-header.center .section-label, .page-hero.center .section-label { margin-left: auto; margin-right: auto; text-align: center; }
.section-cta { text-align: center; }
.pricing-card .btn + .btn { margin-left: 8px; }
.pricing-card .btn { margin-top: 4px; }

.section-cta { max-width: none; }
.hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); max-width: 20ch; }

/* Privacy band: light card instead of a solid green block */
.privacy { background: var(--bg); }
.privacy-card {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  position: relative;
  box-shadow: 0 12px 32px rgba(29, 35, 51, 0.07);
}
.privacy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}
.privacy-card h2 { color: var(--text); }
.privacy-card p { color: var(--text-muted); }
.privacy-card .section-label { color: var(--accent); }
.privacy-list li { background: var(--bg); border: 1px solid var(--border); color: var(--text); }
.privacy-list li::before { color: var(--accent); }

/* K-12 chips */
.k12-teaser { padding: 64px 0 var(--section-gap); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.chips li { background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 6px 16px; font-size: 14.5px; color: var(--text-muted); font-weight: 500; }
.chips li:nth-child(-n+4) { background: var(--accent-soft); border-color: rgba(31, 107, 79, 0.25); color: var(--accent-dark); font-weight: 600; }
.k12-teaser .section-cta { margin-top: 36px; }
.coverage-teaser { margin: 18px auto 0; text-align: center; color: var(--text-muted); font-size: 14.5px; }
.coverage-teaser a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Curriculum availability on the K-12 page */
.coverage-updated { font-size: 14px; }
.coverage-scroll { margin: 18px 0 12px; }
.coverage-table { min-width: 790px; }
.coverage-table th, .coverage-table td { padding: 12px 10px; }
.coverage-table thead th:first-child, .coverage-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface-sunk); text-align: left; white-space: nowrap; }
.coverage-table tbody th { background: var(--surface); }
.coverage-table .coverage-yes, .coverage-table .coverage-no { font-weight: 700; font-size: 17px; }
.coverage-yes { color: var(--accent-dark); }
.coverage-no { color: var(--text-muted); }
.coverage-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 12px 0 34px; font-size: 14px; }
.coverage-group { margin: 12px 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.coverage-group summary { cursor: pointer; padding: 16px 18px; color: var(--text); font-weight: 650; }
.coverage-group summary span { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13.5px; font-weight: 450; }
.coverage-group[open] summary { border-bottom: 1px solid var(--border); background: var(--surface-sunk); }
.coverage-shs-table th:first-child { width: 72%; }
.coverage-shs-table th, .coverage-shs-table td { text-align: left; }
.coverage-shs-table td { white-space: nowrap; font-size: 14px; }
.coverage-group .table-wrap { border: 0; border-radius: 0; }
@media (max-width: 600px) {
  .coverage-table { min-width: 720px; font-size: 13.5px; }
  .coverage-table th, .coverage-table td { padding: 10px 8px; }
  .coverage-group summary { padding: 14px; }
}

.callout-card { max-width: 640px; margin: 48px auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; text-align: center; }
.callout-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.callout-card p { color: var(--text-muted); font-size: 15px; margin: 0 auto; }


/* ── Pricing page: plan cards ── */
.pricing-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pricing-cards .pricing-card { max-width: none; margin: 0; text-align: left; border: 1px solid var(--border); padding: 36px 32px; display: flex; flex-direction: column; }
.pricing-cards .pricing-card-featured { border: 2px solid var(--accent); box-shadow: 0 12px 32px rgba(29, 35, 51, 0.08); position: relative; }
.pricing-cards .pricing-card-featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--accent), var(--highlight)); }
.pricing-cards .price-badge { align-self: flex-start; }
.price-amount { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--text); margin-bottom: 6px; }
.price-unit { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.pricing-cards .pricing-card p.price-period { margin: 0 0 24px; font-size: 15px; }
.price-features { display: grid; margin-bottom: 28px; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text); }
.price-features li:last-child { border-bottom: 0; }
.pricing-cards .btn { width: 100%; margin: auto 0 0; }
.pricing-cards .pricing-card p.price-note { margin: 12px 0 0; font-size: 13.5px; text-align: center; }
.pricing-compare { margin-top: 64px; }
.pricing-compare h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 20px; }
@media (max-width: 760px) {
  .pricing-cards { grid-template-columns: minmax(0, 1fr); }
  .pricing-cards .pricing-card { padding: 28px 22px; }
  .pricing-compare { margin-top: 48px; }
}

/* ── Delete account page ── */
.deletion-steps { display: grid; gap: 14px; margin: 8px 0 28px; max-width: 68ch; }
.deletion-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.deletion-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; display: grid; place-items: center; }
.deletion-step > div > strong:first-child { display: block; color: var(--text); margin-bottom: 2px; }
.prose .deletion-step p { margin: 0; font-size: 15px; }
