/* ===== Tone Tree — shared styles ===== */
:root {
  --paper:      #fbfaf7;  /* clean, fresh off-white (faint warmth) */
  --paper-2:    #f3f2ed;  /* subtle tint for cards/sections */
  --ink:        #1d1b18;  /* near-black for headings */
  --ink-soft:   #524d46;  /* soft charcoal for body text */
  --green:       #2f6b46;  /* forest green accent */
  --green-deep:  #234e35;  /* darker green for links / hover */
  --clay:       #b86a45;  /* warm secondary accent, used sparingly */
  --band:       #1e261f;  /* near-black with a hint of very dark green (header + footer bookends) */
  --band-mid:   #2c2b29;  /* warmer charcoal for in-page dark content bands */
  --line:       #e7e4dc;  /* light hairline */
  --max:        1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .brand-name {
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
}

a { color: var(--green-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---- nav ---- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand .brand-name {
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
}
.brand svg { display: block; flex: none; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--green-deep); }

/* dark bookend header — near-black with a hint of very dark green */
.site-header { background: var(--band); }
.site-header .brand-name { color: #f4efe4; }
.site-header .brand svg { fill: #f4efe4; }
.site-header .nav-links a { color: rgba(244,239,228,0.82); }
.site-header .nav-links a:hover { color: #ffffff; }

/* products dropdown */
.nav-dd { position: relative; }
.nav-dd-top::after { content: "\25BE"; font-size: 11px; margin-left: 5px; opacity: .7; }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%; margin-top: 12px;
  transform: translateX(-50%) translateY(6px);
  min-width: 212px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(33,29,23,0.45);
  padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60;
}
.nav-dd-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.site-header .nav-dd-menu a { color: var(--ink); }
.site-header .nav-dd-menu a:hover { color: var(--green-deep); background: var(--paper-2); }
.nav-dd-soon { display: block; padding: 9px 12px; font-size: 13px; color: var(--ink-soft); font-style: italic; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease;
}
.btn-primary { background: var(--green); color: #fbf7ee; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }

/* ---- hero ---- */
.hero { padding: 16px 0 28px; }
.kicker {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  max-width: 20ch;
  margin-bottom: 26px;
  font-weight: 700;
  text-wrap: balance;
}
.hero .lead {
  font-size: clamp(19px, 2.2vw, 23px);
  max-width: 46ch;
  color: var(--ink-soft);
}
.hero-actions { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }

/* centered hero (emblem feature) */
.hero.is-centered { text-align: center; }
.hero.is-centered h1 { margin-left: auto; margin-right: auto; }
.hero.is-centered .hero-actions { justify-content: center; }
.hero-emblem { display: block; width: 232px; max-width: 58%; height: auto; margin: 0 auto 18px; }

/* ---- generic section ---- */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section.products { padding-top: 36px; background: var(--band-mid); }
.section.tint { background: var(--band-mid); }
/* light text on the dark green-black bands */
.section.products .section-label,
.section.tint .section-label { color: #b4c98c; }
.section.tint h2 { color: #f4efe4; }
.section.tint .feature h3 { color: #f4efe4; }
.section.tint .feature p { color: #c8c5bf; }
.section.tint .feature .dot { background: #82a44e; }
.section.tint .prose p, .section.tint p.prose { color: #d2cfc9; }
.section-label {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 34px;
}
.section h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 20px; font-weight: 700; }

/* ---- app cards ---- */
.apps { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 720px) { .apps { grid-template-columns: 1fr 1fr; } }

.app-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 34px 30px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .2s ease;
}
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(33,29,23,0.35);
}
.app-card .app-icon {
  display: block;
  width: 60px; height: 60px;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(33,29,23,0.14);
}
.app-card h3 { font-size: 26px; margin-bottom: 8px; }
.app-card p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; }
.app-card .more {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-deep);
}

/* full-width feature card (single product) */
.app-card.feature-card { grid-column: 1 / -1; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.app-card.feature-card .app-icon { width: 76px; height: 76px; border-radius: 17px; margin-bottom: 0; flex: none; }
.app-card.feature-card .fc-body { flex: 1; min-width: 240px; }
.app-card.feature-card h3 { margin-bottom: 6px; }
.app-card.feature-card p { margin-bottom: 12px; }
.app-card.feature-card .more { flex: none; }
.platforms-tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }

/* a quiet "more on the way" tile */
.app-card.soon {
  background: transparent;
  border-style: dashed;
  display: flex;
  align-items: center;
}
.app-card.soon p { margin: 0; font-style: italic; }
.section.products .app-card.soon p { color: rgba(244,239,228,0.66); }
.section.products .app-card.soon { border-color: rgba(244,239,228,0.28); }

/* ---- feature list (app pages) ---- */
.lede-block { max-width: 60ch; padding: 80px 0 20px; }
.lede-block h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; margin-bottom: 22px; }
.lede-block p { font-size: clamp(19px, 2.2vw, 22px); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px 48px;
}
@media (min-width: 720px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature h3 { font-size: 21px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.feature p { font-size: 16.5px; }
.feature .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); flex: none;
}

.platforms {
  margin-top: 8px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ---- prose + forms (text pages) ---- */
.prose { max-width: 64ch; }
.prose p { font-size: 18px; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

.contact-form { max-width: 520px; display: grid; gap: 18px; margin-top: 4px; }
.field label { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
/* honeypot — visually + screen-reader hidden, still submitted if a bot fills it */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .cf-turnstile { margin-top: 2px; }
.form-status { font-size: 15px; margin: 0; min-height: 1px; }
/* Beta signup — platform picker. Plain labeled group (no <fieldset>, which
   renders a stray box and mis-floats the first checkbox). Each option is its
   own aligned row: checkbox square, then label. */
.beta-platforms .picker-label {
  display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px;
}
.beta-platforms .checkbox {
  display: flex; align-items: center; gap: 11px;
  font-size: 16px; font-weight: 400; color: var(--ink);
  padding: 9px 0; margin: 0; cursor: pointer;
}
.beta-platforms .checkbox + .checkbox { border-top: 1px solid var(--line); }
.beta-platforms input[type="checkbox"] {
  flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--green);
}
.form-status.ok { color: var(--green-deep); font-weight: 600; }
.form-status.err { color: #b3402e; font-weight: 600; }

/* ---- screenshot + explanation rows ---- */
.shots { display: grid; gap: 56px; }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 760px) { .shot-row { grid-template-columns: 1fr; gap: 22px; } }
.shot-row.flip .shot { order: 2; }
.shot {
  aspect-ratio: 16 / 10; background: #e7e4dc; border: 1px solid var(--line);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: #a59f93; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot.has-img { aspect-ratio: auto; background: #fff; }
.shot.has-img img { width: 100%; height: auto; object-fit: contain; }

/* big framed screenshot gallery on a dark band */
.section.shots-band { background: var(--band-mid); }
.section.shots-band .section-label { color: #b4c98c; }
.bigshots { display: grid; gap: 60px; }
.bigshot h3 { font-size: 23px; margin-bottom: 6px; color: #f4efe4; }
.bigshot p { font-size: 16.5px; color: #c8c5bf; max-width: 62ch; margin-bottom: 22px; }

/* alternating screenshot rows on the dark band */
.shots-band .shots { margin-top: 30px; gap: 0; }
.shots-band .shot-row { padding: 46px 0; }
.shots-band .shot-row:first-child { padding-top: 12px; }
.shots-band .shot-row:last-child { padding-bottom: 6px; }
.shots-band .shot-row + .shot-row { border-top: 1px solid rgba(255,255,255,0.09); }
.shots-band .shot-row h3 { font-size: 23px; color: #f4efe4; margin-bottom: 8px; }
.shots-band .shot-row p { font-size: 16.5px; color: #c8c5bf; max-width: 46ch; margin: 0; }
.shots-band .shot.has-img { background: transparent; border-color: rgba(255,255,255,0.10); box-shadow: 0 18px 44px -26px rgba(0,0,0,0.6); }
@media (max-width: 760px) { .shot-row.flip .shot { order: 0; } }

/* click-to-expand screenshots */
.shot.has-img img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(20,19,17,0.9); cursor: zoom-out;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.lightbox-hint { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.shots-band .lightbox-hint { color: rgba(244,239,228,0.5); }
.frame { border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 24px 55px -28px rgba(0,0,0,0.55); }
.frame img { width: 100%; height: auto; display: block; }
.shot-copy h3 { font-size: 24px; margin-bottom: 10px; }
.shot-copy p { font-size: 17px; }

/* ---- video block ---- */
.video-embed {
  aspect-ratio: 16 / 9; background: #1c1b19; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: #d9d6d0; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.video-embed .play {
  width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff;
}
/* click-to-load YouTube facade */
.video-embed.yt {
  padding: 0; border: 0; width: 100%; font: inherit; cursor: pointer;
  background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.video-embed.yt::after {
  content: ""; position: absolute; inset: 0; background: rgba(20,18,16,0.30); transition: background .2s ease;
}
.video-embed.yt:hover::after { background: rgba(20,18,16,0.14); }
.video-embed.yt .play { position: relative; z-index: 1; background: rgba(0,0,0,0.55); transition: transform .15s ease, background .2s ease; }
.video-embed.yt:hover .play { transform: scale(1.06); background: rgba(0,0,0,0.72); }
.video-embed.loaded { background: #000; cursor: default; }
.video-embed.loaded::after { display: none; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 14px; }

/* ---- beta pricing state ---- */
.beta-banner {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 22px;
  background: #f3f5ef; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
}
.beta-banner .beta-tag {
  flex: none; margin-top: 1px; padding: 4px 11px; border-radius: 999px;
  background: var(--green-deep); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.beta-banner p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.beta-banner a { color: var(--green-deep); font-weight: 600; }
.pricing-beta .price-card { opacity: 0.62; }
.pricing-beta .price-card.featured { opacity: 0.75; }
.pricing-beta .cost-ex { opacity: 0.62; }
.btn-planned {
  pointer-events: none; cursor: default; background: #e7e4dd; color: var(--ink-soft);
  border: 1px solid var(--line); box-shadow: none;
}

/* ---- guides ---- */
.guide-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .guide-grid { grid-template-columns: 1fr 1fr 1fr; } }
.guide-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .2s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(33,29,23,0.35); }
.guide-card h3 { font-size: 19px; margin-bottom: 6px; }
.guide-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.guide-card .more { font-size: 14px; font-weight: 600; color: var(--green-deep); }

/* guide article steps */
.guide-steps { padding-left: 22px; }
.guide-steps li { font-size: 18px; margin-bottom: 14px; padding-left: 6px; }

/* ---- full-guide download banner ---- */
.dl-banner {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 26px;
}
.dl-banner .dl-icon {
  flex: none; width: 46px; height: 58px; border-radius: 5px;
  background: var(--green); color: #fbf7ee; display: flex; align-items: flex-end;
  justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding-bottom: 7px; box-shadow: 0 3px 10px -4px rgba(33,29,23,.4);
}
.dl-banner .dl-text { flex: 1 1 240px; }
.dl-banner .dl-text h3 { font-size: 19px; margin-bottom: 4px; }
.dl-banner .dl-text p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.dl-banner .btn { flex: none; }

/* ---- footer ---- */
.site-footer {
  background: var(--band);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 64px;
  padding: 40px 0 48px;
}
.site-footer .brand-name { color: #f4efe4; }
.site-footer .brand svg { fill: #f4efe4; }
.site-footer .wrap { display: block; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: rgba(244,239,228,0.78); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.site-footer .brand .brand-name { font-size: 20px; }
.site-footer small { font-size: 14px; color: rgba(244,239,228,0.55); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: rgba(244,239,228,0.58); display: inline-flex; transition: color .15s ease; }
.footer-social a:hover { color: #ffffff; }

/* app store / get buttons */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1c1b19; color: #fff; padding: 10px 20px; border-radius: 11px;
  text-decoration: none; line-height: 1.15; min-width: 178px;
  transition: transform .12s ease, background .15s ease;
}
.store-badge:hover { background: #000; transform: translateY(-1px); }
/* Coming-soon badge: not a link (phone apps held until launch) — dim, no hover. */
.store-badge.soon { opacity: 0.5; cursor: default; }
.store-badge.soon:hover { background: #1c1b19; transform: none; }
.store-badge svg { flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; }
.store-badge .sb-sub { font-size: 11px; letter-spacing: 0.04em; opacity: 0.78; }
.store-badge .sb-main { font-size: 17px; font-weight: 700; }

/* ---- pricing / plans ---- */
.price-group + .price-group { margin-top: 52px; }
.price-group-head { font-size: 22px; color: var(--ink); }
.price-group-sub { font-size: 16px; color: var(--ink-soft); margin-top: 6px; max-width: 620px; }
.price-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
@media (min-width: 760px) {
  .price-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .price-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
.price-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px;
}
.price-card.featured {
  border: 2px solid var(--green); padding: 25px 23px;
  box-shadow: 0 18px 40px -24px rgba(33,29,23,0.42);
}
.price-tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--clay); background: #f6e7df;
  border-radius: 5px; padding: 3px 9px; margin-bottom: 13px;
}
.price-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.price-amt { margin: 9px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price-amt .num { font-size: 33px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price-amt .per { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.price-for { font-size: 15px; color: var(--ink-soft); margin: 0 0 18px; min-height: 42px; }
.price-feats { list-style: none; padding: 0; margin: 0 0 22px; }
.price-feats li { position: relative; padding-left: 24px; font-size: 15px; color: var(--ink-soft); margin-bottom: 9px; }
.price-feats li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 9px; height: 5px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; width: 100%; text-align: center; }
.price-note { font-size: 14px; color: var(--ink-soft); margin-top: 18px; margin-bottom: 28px; }
.price-custom {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin-top: 18px;
}
.price-custom .pc-text { flex: 1 1 300px; }
.price-custom .pc-text strong { display: block; font-size: 18px; color: var(--ink); margin-bottom: 3px; }
.price-custom .pc-text span { font-size: 15px; color: var(--ink-soft); }
.price-custom .btn { flex: none; }

/* ---- institution cost: base + per-student ---- */
.cost-formula { font-size: 27px; font-weight: 700; color: var(--ink); margin: 12px 0 0; letter-spacing: -.01em; }
.cost-examples { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.cost-ex { border: 1px solid var(--line); border-radius: 9px; padding: 15px 20px; min-width: 150px; background: #fff; }
.cost-ex-size { display: block; font-size: 14px; color: var(--ink-soft); }
.cost-ex-price { display: block; font-size: 23px; font-weight: 700; color: var(--ink); margin-top: 3px; }
.cost-ex-per { font-weight: 400; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { padding: 56px 0 48px; }
  .site-nav { flex-wrap: wrap; padding: 16px 0; }
  .nav-links { width: 100%; margin-top: 12px; gap: 22px; font-size: 15px; flex-wrap: wrap; justify-content: flex-start; }
  .nav-dd-menu { display: none; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-bottom { gap: 14px; }
}

/* accessibility */
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- blog ---- */
.post-list { display: grid; gap: 18px; }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(33,29,23,.35); }
.post-date { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.post-card h3 { font-size: 22px; margin-bottom: 6px; }
.post-card p { font-size: 16px; color: var(--ink-soft); margin-bottom: 12px; }

/* ---- long-form prose (legal pages, blog posts) ---- */
.prose h2 { font-size: 24px; margin: 34px 0 12px; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; }
.prose h4 { font-size: 16.5px; margin: 18px 0 6px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.prose code { background: var(--paper-2); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.prose blockquote { border-left: 3px solid var(--line); margin: 18px 0; padding: 4px 0 4px 18px; color: var(--ink-soft); }
.prose.legal a { text-decoration: underline; }
.prose.legal h2:first-of-type { margin-top: 6px; }

/* ---- FAQ accordion ---- */
.faq { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--green); flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 0 20px; font-size: 16.5px; color: var(--ink-soft); max-width: 64ch; }

/* ---- footer mailing-list signup + legal links ---- */
.footer-signup { border-bottom: 1px solid rgba(255,255,255,0.10); padding-bottom: 26px; margin-bottom: 26px; }
.footer-signup h3 { font-size: 17px; color: #f4efe4; margin-bottom: 4px; }
.footer-signup p { font-size: 14px; color: rgba(244,239,228,0.62); margin: 0 0 14px; }
.footer-signup form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 440px; }
.footer-signup input { flex: 1 1 220px; font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 7px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #f4efe4; }
.footer-signup input::placeholder { color: rgba(244,239,228,0.5); }
.footer-signup input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.ml-msg { font-size: 14px; color: rgba(244,239,228,0.82); margin: 12px 0 0; }
.footer-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.footer-meta a { color: rgba(244,239,228,0.55); font-size: 13px; text-decoration: none; }
.footer-meta a:hover { color: #fff; }

/* ---- full guide / handbook ---- */
.guide-doc { display: grid; grid-template-columns: 1fr; gap: 36px; }
.guide-toc { margin-bottom: 8px; }
@media (min-width: 900px) {
  .guide-doc { grid-template-columns: 230px 1fr; gap: 52px; align-items: start; }
  .guide-toc { position: sticky; top: 24px; margin-bottom: 0; }
}
.guide-toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 12px 0 0; }
.guide-toc li { counter-increment: toc; margin-bottom: 4px; }
.guide-toc li a { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink-soft); text-decoration: none; padding: 4px 0; }
.guide-toc li a::before { content: counter(toc); color: var(--green); font-weight: 700; flex: none; width: 16px; }
.guide-toc li a:hover { color: var(--green-deep); }
.guide-body > section { scroll-margin-top: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.guide-body > section:first-child { border-top: none; padding-top: 0; }
.guide-body .sec-num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin: 0 0 2px; }
.guide-body h2 { font-size: 27px; margin: 0 0 14px; }
.guide-body .ui { font-weight: 600; color: var(--ink); }
.guide-body kbd { font: inherit; font-size: .92em; font-weight: 600; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; color: var(--ink); }
.guide-body figure { margin: 18px 0 22px; }
.guide-body figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; display: block; }
.guide-body figure.narrow img { max-width: 360px; }
.guide-body figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
.guide-body .callout { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 7px; padding: 14px 18px; margin: 16px 0; font-size: 16px; }
.guide-body .callout strong { color: var(--green-deep); }
