:root {
  --pine: #032e2a;
  --pine-2: #054741;
  --pine-deep: #02201d;
  --ochre: #cc9106;
  --ochre-soft: #f3e2b3;
  --paper: #f8f4ea;
  --paper-2: #efe9d9;
  --ink: #16211f;
  --muted: #5b6764;
  --line: #ddd6c3;
  --alert: #b3341f;
  --radius: 10px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); font-weight: 700; margin-bottom: 14px; }
.dark .eyebrow { color: #e6b73a; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 8px; border: 1.5px solid var(--pine);
  font: 600 15px var(--sans); text-decoration: none; cursor: pointer;
  background: var(--pine); color: #fff; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--pine-2); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--pine); }
.btn.ghost:hover { background: rgba(3,46,42,.06); }
.btn.gold { background: var(--ochre); border-color: var(--ochre); color: var(--pine-deep); }
.btn.gold:hover { background: #dfa10c; }
.btn.light { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn.light:hover { background: rgba(255,255,255,.08); }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(248,244,234,.97); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.top img { height: 46px; width: auto; }
.top nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--pine); }
.top .right { display: flex; align-items: center; gap: 12px; }
.top .login { font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 10px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--pine); }
.drawer { display: none; border-top: 1px solid var(--line); padding: 10px 20px 20px; }
.drawer a { display: block; padding: 11px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer.open { display: block; }

/* hero */
.hero { padding: 72px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); }
.hero h1 em { font-style: italic; color: var(--pine); background: linear-gradient(transparent 62%, var(--ochre-soft) 62%); }
.hero .lede { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 33em; }
.hero .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .small { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* the phone feed */
.phone { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 18px 18px 8px; box-shadow: 0 30px 60px -30px rgba(3,46,42,.35), 0 2px 0 var(--line); max-width: 400px; margin-inline: auto; transform: rotate(1.2deg); }
.phone .bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.phone .bar b { color: var(--ink); font-size: 14px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; line-height: 1.45; }
.feed li:last-child { border-bottom: 0; }
.feed time { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); padding-top: 2px; }
.feed .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; margin-bottom: 4px; background: var(--paper-2); color: var(--pine); }
.feed .tag.warn { background: #fbe3dc; color: var(--alert); }
.feed .tag.ok { background: #dcefe6; color: #0d5a3e; }
.feed .reply { margin-top: 8px; display: inline-block; padding: 6px 12px; border-radius: 6px; background: var(--pine); color: #fff; font-size: 13px; font-weight: 600; }
.sample-note { font-size: 12px; color: var(--muted); text-align: center; padding: 8px 0 10px; }

/* proof strip */
.strip { background: var(--pine); color: #e7efe9; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 30px 0; }
.strip strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.strip span { font-size: 14px; color: #b9cbc4; line-height: 1.5; display: block; }

section { padding: 92px 0; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* the problem */
.problem { background: var(--paper-2); }
.problem .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.problem .q { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 6px; }
.problem .q h3 { font-size: 21px; }
.problem .q p { color: var(--muted); font-size: 16px; }
.problem .q p b { color: var(--pine); font-weight: 600; }

/* core features */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 44px 0; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat.flip .copy { order: 2; }
.feat h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.feat .copy > p { color: var(--muted); }
.feat ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feat li { padding-left: 26px; position: relative; font-size: 16px; }
.feat li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--ochre); border-bottom: 2.5px solid var(--ochre); transform: rotate(-45deg); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; font-size: 14.5px; box-shadow: 0 18px 40px -28px rgba(3,46,42,.4); }
.panel h4 { margin: 0 0 12px; font: 700 13px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.row small { color: var(--muted); font-size: 13px; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.pill.g { background: #dcefe6; color: #0d5a3e; }
.pill.r { background: #fbe3dc; color: var(--alert); }
.pill.a { background: var(--ochre-soft); color: #7a5600; }
.pill.n { background: var(--paper-2); color: var(--muted); }
.vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 14px; }
.vitals div { background: var(--paper); border-radius: 8px; padding: 10px; }
.vitals b { display: block; font-family: var(--serif); font-size: 22px; }
.vitals span { font-size: 12px; color: var(--muted); }
.alertbox { background: #fbe3dc; color: #6f1d0f; padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-top: 12px; border-left: 4px solid var(--alert); }
.receipt { border: 1.5px dashed var(--line); border-radius: 10px; padding: 16px; margin-top: 4px; }
.receipt .sig { display: flex; justify-content: space-between; margin-top: 18px; font-size: 12px; color: var(--muted); }
.receipt .sig i { display: block; border-top: 1px solid var(--ink); padding-top: 4px; min-width: 120px; font-style: normal; }
.stamp { display: inline-block; border: 2px solid var(--pine); color: var(--pine); border-radius: 50%; width: 74px; height: 74px; text-align: center; font: 700 10px/1.1 var(--sans); letter-spacing: .05em; padding-top: 24px; transform: rotate(-12deg); opacity: .8; }

/* more things */
.more { background: var(--pine); color: #e7efe9; }
.more .sec-head p { color: #b9cbc4; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.card p { font-size: 15px; color: #b9cbc4; line-height: 1.55; }
.also { margin-top: 36px; font-size: 15px; color: #b9cbc4; }
.also b { color: #fff; }

/* people */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; }
.person { padding: 20px 0; border-top: 1px solid var(--line); }
.person h3 { font-size: 20px; margin-bottom: 4px; }
.person p { font-size: 15px; color: var(--muted); }

/* steps */
.steps-sec { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); font: 600 44px var(--serif); color: var(--ochre); display: block; line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; }
.plan.main { border: 2px solid var(--pine); }
.plan h3 { font-size: 22px; }
.plan .price { font: 600 40px var(--serif); margin: 14px 0 2px; }
.plan .price small { font: 500 15px var(--sans); color: var(--muted); }
.plan .ugx { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: "+"; position: absolute; left: 4px; color: var(--ochre); font-weight: 800; }
.fine { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 46em; }

/* partners */
.partner { background: var(--pine-deep); color: #e7efe9; }
.partner .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.partner h2 { font-size: clamp(28px, 3.4vw, 40px); color: #fff; }
.partner p { margin-top: 16px; color: #b9cbc4; }
.partner .sum { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 26px; }
.partner .sum b { font: 600 38px var(--serif); color: #e6b73a; display: block; }
.partner .sum span { font-size: 15px; color: #b9cbc4; }

/* final */
.final { text-align: center; padding: 100px 0; }
.final h2 { font-size: clamp(32px, 4.2vw, 52px); max-width: 16em; margin-inline: auto; }
.final p { margin: 18px auto 0; max-width: 34em; color: var(--muted); font-size: 18px; }
.final .cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }


/* modal */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(2,32,29,.6); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .box { background: var(--paper); border-radius: 14px; width: min(440px, 100%); padding: 30px; position: relative; max-height: 92vh; overflow: auto; }
.modal h3 { font-size: 26px; margin-bottom: 6px; }
.modal .sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.modal .x { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--muted); line-height: 1; }
.modal label { display: block; font-size: 13.5px; font-weight: 600; margin: 14px 0 5px; }
.modal input, .modal select { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 8px; font: 16px var(--sans); background: #fff; }
.modal input:focus, .modal select:focus { outline: 2px solid var(--ochre); border-color: var(--ochre); }
.modal button[type=submit] { width: 100%; justify-content: center; margin-top: 22px; }
.ok { display: none; margin-top: 16px; padding: 12px; border-radius: 8px; background: #dcefe6; color: #0d5a3e; font-weight: 600; font-size: 14.5px; }
.ok.show { display: block; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

@media (max-width: 960px) {
  .top nav, .top .login { display: none; }
  .menu-btn { display: block; }
  .hero .wrap, .feat, .partner .wrap { grid-template-columns: 1fr; gap: 40px; }
  .feat.flip .copy { order: 0; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .cards, .people, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .problem .grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .cards, .people, .plans, .steps, .strip .wrap { grid-template-columns: 1fr; }
  .top .btn { padding: 10px 14px; font-size: 14px; }
  .phone { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* white sections */
.white { background: #fff; }
.white .plan { background: var(--paper); }
.white .panel { background: var(--paper); box-shadow: none; }
.white .panel .receipt, .white .panel .vitals div { background: #fff; }
.hero.white { border-bottom: 1px solid var(--line); }
.hero.white .phone { background: var(--paper); box-shadow: 0 30px 60px -34px rgba(3,46,42,.4); }
.hero.white .feed .tag { background: #fff; }
.schools { padding: 72px 0; border-bottom: 1px solid var(--line); }
.school-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.school-grid li { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.school-grid .mark { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--pine); color: var(--ochre-soft); display: grid; place-items: center; font: 600 18px var(--serif); overflow: hidden; }
.school-grid .mark img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.school-grid b { display: block; line-height: 1.25; font-size: 16px; }
.school-grid span { font-size: 14px; color: var(--muted); }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.photo-strip:empty { display: none; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.photo-strip figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
@media (max-width: 620px) { .photo-strip { grid-template-columns: 1fr; } }

.school-grid .mark.has-logo { background: #fff; border: 1px solid var(--line); }
.school-grid .mark.has-logo img { object-fit: contain; padding: 4px; }

/* hero with photo background: images already fade to white on the left */
.hero { position: relative; overflow: hidden; padding: 0; min-height: min(640px, 82vh); display: flex; align-items: center; }
.hero > .wrap { display: block; position: relative; z-index: 2; padding: 84px 0; }
.hero-copy { max-width: min(540px, 47%); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .slide { position: absolute; inset: 0; background-size: cover; background-position: right center; background-repeat: no-repeat; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 7s ease-out; }
.hero-media .slide.active { opacity: 1; transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 42%, rgba(255,255,255,0) 64%); }
@media (max-width: 900px) {
  .hero-copy { max-width: 620px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero > .wrap { order: 1; }
  .hero > .wrap { padding: 44px 0 20px; }
  .hero-media { position: relative; height: 340px; order: 2; }
  .hero-media .slide { background-position: 80% 14%; }
  .hero-media::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 40%); }
}
@media (prefers-reduced-motion: reduce) { .hero-media .slide { transition: none; transform: none; } .copy-slide { transition: none; } }

.school-grid li.wide-card { background: #fff; justify-content: center; padding: 8px 14px; }
.school-grid li.wide-card img { width: 100%; max-height: 66px; object-fit: contain; }

/* stacking sections: each section slides over the previous one and fully covers it (enabled by JS on wide screens) */
.final { background: var(--paper); }
.stack-on .stack { position: sticky; }
.stack-on .stack:not(.first) { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.stack-on .strip { position: relative; z-index: 1; }

/* scrolling school logos */
.schools { padding-bottom: 64px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
.school-item { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 36px; width: 210px; text-align: center; }
.school-item .logo-box { height: 72px; width: 100%; display: flex; align-items: center; justify-content: center; }
.school-item .logo-box img { max-height: 72px; max-width: 170px; width: auto; object-fit: contain; }
.school-item .initials { width: 68px; height: 68px; border-radius: 50%; background: var(--pine); color: var(--ochre-soft); display: grid; place-items: center; font: 600 22px var(--serif); }
.school-item span { font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.school-item:has(.logo-box img[alt^="Kabojja"]) { width: 250px; }
.school-item:has(.logo-box img[alt^="Kabojja"]) .logo-box img { max-width: 210px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee .track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .school-item.clone { display: none; }
}

/* footer */
footer { position: relative; z-index: 2; background: var(--pine-deep); color: #9fb3ac; font-size: 15px; padding: 0; overflow: hidden; }
footer a { color: #cfe0da; text-decoration: none; }
.fcta { background: var(--pine); border-bottom: 1px solid rgba(255,255,255,.1); padding: 56px 0; }
.fcta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.fcta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); max-width: 18em; }
.fcta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fgrid { display: grid; grid-template-columns: 1.1fr 3fr; gap: 56px; padding: 64px 0 40px; }
.fbrand img { height: 64px; width: auto; margin-bottom: 18px; }
.fbrand p { line-height: 1.6; }
.fphone { display: inline-block; margin-top: 16px; font-weight: 600; color: #fff; border-bottom: 1px solid var(--ochre); padding-bottom: 2px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #cfe0da; transition: background .15s, color .15s, transform .15s; }
.social a:hover { background: var(--ochre); border-color: var(--ochre); color: var(--pine-deep); transform: translateY(-2px); }
.fcols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.fcol summary { list-style: none; font: 700 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; cursor: default; }
.fcol summary::-webkit-details-marker { display: none; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fcol li a { position: relative; display: inline-block; padding: 1px 0; }
.fcol li a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0; background: var(--ochre); transition: width .2s; }
.fcol li a:hover { color: #fff; }
.fcol li a:hover::after { width: 100%; }
.fword { font: 600 clamp(80px, 21vw, 300px)/0.8 var(--serif); letter-spacing: -0.03em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); user-select: none; margin: 10px 0 -0.06em; white-space: nowrap; }
.fbottom { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; position: relative; background: var(--pine-deep); }
.flegal { display: flex; gap: 20px; flex-wrap: wrap; }
.flegal a:hover { color: #fff; text-decoration: underline; }
.fclock b { color: #fff; font-variant-numeric: tabular-nums; }
.totop { background: transparent; color: #cfe0da; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 7px 16px; font: 600 13px var(--sans); cursor: pointer; }
.totop:hover { background: var(--ochre); border-color: var(--ochre); color: var(--pine-deep); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--pine-deep); color: #fff; padding: 12px 20px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1000px) { .fgrid { grid-template-columns: 1fr; gap: 36px; } .fcols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .top img { height: 38px; }
  .top .wrap { height: 66px; }
  .fcols { grid-template-columns: 1fr; gap: 0; }
  .fcol { border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 0; }
  .fcol summary { margin: 0; display: flex; justify-content: space-between; cursor: pointer; }
  .fcol summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--ochre); }
  .fcol[open] summary::after { content: "\2013"; }
  .fcol[open] summary { margin-bottom: 14px; }
  .fbottom { flex-direction: column; align-items: flex-start; }
  .fcta { padding: 40px 0; }
}

/* hero carousel copy + controls */
.hero-copies { display: grid; }
.copy-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease, visibility 0s .6s; }
.copy-slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease .25s, transform .7s ease .25s, visibility 0s; }
.hero-h { font-size: clamp(38px, 5.2vw, 62px); }
.hero-h em { font-style: italic; color: var(--pine); background: linear-gradient(transparent 62%, var(--ochre-soft) 62%); }
.hero-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hc-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--pine); background: transparent; color: var(--pine); font-size: 17px; cursor: pointer; transition: background .15s, color .15s; }
.hc-arrow:hover { background: var(--pine); color: #fff; }
.hc-dots { display: flex; gap: 8px; }
.hc-dots button { width: 46px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.hc-dots i { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(3,46,42,.18); position: relative; overflow: hidden; }
.hc-dots i::after { content: ""; position: absolute; inset: 0; background: var(--pine); transform: scaleX(0); transform-origin: left; }
.hc-dots button.active i::after { transform: scaleX(1); animation: heroProg var(--delay, 7000ms) linear; }
.hero.paused .hc-dots button.active i::after { animation: none; }
@keyframes heroProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* hero slides that show the real screens instead of a photo */
.hero-media .slide.ui { background: radial-gradient(900px 500px at 78% 40%, var(--ochre-soft), transparent 70%), linear-gradient(120deg, #fff 0%, var(--paper-2) 100%); display: flex; align-items: center; justify-content: flex-end; padding-right: clamp(24px, 9vw, 150px); }
.hero-media .slide.ui-dorm { background: radial-gradient(900px 500px at 78% 40%, #cfe3dc, transparent 70%), linear-gradient(120deg, #fff 0%, var(--paper-2) 100%); }
.hero-media .panel.float { width: min(380px, 40vw); background: #fff; box-shadow: 0 34px 70px -34px rgba(3,46,42,.5); transform: rotate(1.5deg); }
.hero-media .ui-dorm .panel.float { transform: rotate(-1.5deg); }
.hero-media .panel.float .vitals div { background: var(--paper); }
@media (max-width: 900px) {
  .hero-media .slide.ui { justify-content: center; padding: 0 16px; align-items: flex-start; padding-top: 30px; }
  .hero-media .panel.float { width: min(340px, 92%); transform: none; }
  .hero-media .ui-sick .panel.float .row:nth-of-type(2), .hero-media .ui-sick .panel.float .row:last-of-type { display: none; }
}

/* quote section */
.quote { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.quote-copy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.quote-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.quote-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.quote-points li { padding: 20px 0; border-top: 1px solid var(--line); }
.quote-points li:last-child { border-bottom: 1px solid var(--line); }
.quote-points b { display: block; font: 600 20px var(--serif); margin-bottom: 4px; }
.quote-points span { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; gap: 36px; } }

/* mobile fit: grid columns may shrink below their content, receipt wraps, nothing can push the page sideways */
html, body { overflow-x: clip; max-width: 100%; }
.feat > *, .quote > *, .partner .wrap > *, .hero > .wrap > *, .problem .grid > * { min-width: 0; }
.receipt .sig { flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.receipt .sig i { min-width: 96px; flex: 1 1 96px; }
@media (max-width: 960px) {
  .feat, .quote, .partner .wrap, .problem .grid { grid-template-columns: minmax(0, 1fr); }
  .cards, .people, .plans, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cards, .people, .plans, .steps, .strip .wrap { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 16px; }
  .stamp { width: 60px; height: 60px; padding-top: 19px; font-size: 9px; }
  .vitals { gap: 8px; }
  .vitals b { font-size: 19px; }
  .row { flex-wrap: wrap; }
  .fword { font-size: 19vw; }
}

.fmail { display: block; margin-top: 10px; color: #cfe0da; overflow-wrap: anywhere; }
.fmail:hover { color: #fff; text-decoration: underline; }
