:root {
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #ececef;
  --line: #e2e2e6;
  --text: #1d1d1f;
  --text-2: #424245;
  --muted: #6e6e73;
  --brand: #a8401c;
  --brand-hover: #8f3517;
  --brand-soft: #f9ede6;
  --brand-ink: #a8401c;
  --on-brand: #ffffff;
  --shot-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.08);
  --ok: #1f7a3a;
  --err: #b42318;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111112;
    --surface: #1c1c1e;
    --surface-2: #262628;
    --line: #2f2f32;
    --text: #f5f5f7;
    --text-2: #d2d2d7;
    --muted: #98989d;
    --brand: #b84a22;
    --brand-hover: #c9582e;
    --brand-soft: #3a1f15;
    --brand-ink: #f59a72;
    --shot-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 40px rgba(0, 0, 0, 0.4);
    --ok: #4cc26e;
    --err: #ff6b5e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111112;
  --surface: #1c1c1e;
  --surface-2: #262628;
  --line: #2f2f32;
  --text: #f5f5f7;
  --text-2: #d2d2d7;
  --muted: #98989d;
  --brand: #b84a22;
  --brand-hover: #c9582e;
  --brand-soft: #3a1f15;
  --brand-ink: #f59a72;
  --shot-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 40px rgba(0, 0, 0, 0.4);
  --ok: #4cc26e;
  --err: #ff6b5e;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; color: var(--text); }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-2); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--brand-ink); letter-spacing: 0.02em; margin-bottom: 14px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.035em; color: var(--text); }
.mark:hover { text-decoration: none; }
.tile { width: 32px; height: 32px; border-radius: 8px; background: var(--brand); color: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 650; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: var(--surface); color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 46px; min-width: 220px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shot-shadow); padding: 8px; display: flex; flex-direction: column; }
.menu-panel a { padding: 10px 12px; border-radius: 8px; color: var(--text); font-weight: 500; }
.menu-panel a:hover { background: var(--surface); text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn:hover { text-decoration: none; background: var(--surface); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }
.btn:disabled { opacity: .6; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }

/* sections */
section { padding: 96px 0; }
.hero { padding: 88px 0 72px; }
.hero .lead { max-width: 640px; margin-top: 22px; }
.hero-shot { margin-top: 64px; }
.band { background: var(--surface); }
.head { max-width: 680px; margin-bottom: 48px; }
.head .lead { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shot-shadow); background: var(--bg); }
.shot img { width: 100%; }
.caption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }

/* two offers */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); color: var(--text); }
.door:hover { text-decoration: none; border-color: var(--brand); }
.door h3 { font-size: 26px; }
.door p { color: var(--text-2); }
.door .go { margin-top: auto; padding-top: 8px; font-weight: 650; color: var(--brand-ink); display: inline-flex; align-items: center; gap: 6px; }
.door .go svg { width: 18px; height: 18px; }
.door ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text-2); font-size: 16px; }
.door li { display: flex; gap: 10px; align-items: flex-start; }

.check { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--brand-ink); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .ico svg { width: 21px; height: 21px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 16px; }

/* split: text beside a screenshot */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split.flip .split-text { order: 2; }
.split-text .lead { margin-top: 16px; }
.split-text ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--text-2); }
.split-text li { display: flex; gap: 10px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.band .step { border-color: transparent; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: flex; align-items: center; justify-content: center; font-weight: 750; font-size: 16px; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 16px; }

/* video */
.video { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shot-shadow); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; }

/* story */
.story { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.story-text p + p { margin-top: 18px; }
.story-text p { color: var(--text-2); font-size: 18px; }
.founders { display: grid; gap: 12px; margin-top: 28px; }
.founder { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.band .founder { border-color: transparent; }
.founder .tile { width: 36px; height: 36px; border-radius: 9px; font-size: 16px; }
.founder b { display: block; font-size: 16px; }
.founder div span { display: block; font-size: 14px; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; }
.plan { padding: 32px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 20px; }
.plan.featured { border: 2px solid var(--brand); }
.plan h3 { font-size: 22px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--text-2); font-size: 16px; }
.plan li { display: flex; gap: 10px; }
.plan .btn { margin-top: auto; }
.quote { padding: 36px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.band .quote { border-color: transparent; }
.quote p { color: var(--text-2); margin-top: 10px; }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-2); margin-top: 12px; max-width: 680px; }

/* contact form */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-text .lead { margin-top: 16px; }
.form { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: grid; gap: 18px; }
.band .form { border-color: transparent; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: 14px; font-weight: 650; color: var(--text); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, textarea, select { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
textarea { min-height: 112px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: 10px; padding: 4px; gap: 4px; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--bg); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--brand-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form[data-kind="school"] .for-student, .form[data-kind="student"] .for-school { display: none; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 15px; font-weight: 600; min-height: 1px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-done { text-align: center; padding: 24px 8px; display: grid; gap: 10px; justify-items: center; }
.form-done .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; }
.form-done .ico svg { width: 24px; height: 24px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { color: var(--text-2); font-size: 15px; }
footer .muted { font-size: 14px; }

/* privacy */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }

@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .split, .split.flip, .story, .contact { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-text { order: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav, .top-actions .hide-sm, .br-lg { display: none; }
  .menu { display: block; }
  .top .wrap { gap: 12px; justify-content: space-between; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 48px; }
  .hero-shot { margin-top: 40px; }
  .doors, .steps, .plans, .features, .row2 { grid-template-columns: 1fr; }
  .door, .plan, .quote, .form { padding: 24px; }
  .quote { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 auto; }
  .head { margin-bottom: 32px; }
}
[hidden] { display: none !important; }
