:root {
  --ink: #f7f5f2;
  --muted: #aaa8b2;
  --bg: #08090d;
  --panel: #12131a;
  --panel-2: #191a23;
  --line: rgba(255,255,255,.11);
  --lime: #d9ff63;
  --violet: #a78bfa;
  --peach: #ff9d7a;
  --max: 1220px;
  --radius: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(167,139,250,.12), transparent 28rem),
    radial-gradient(circle at 8% 28%, rgba(217,255,99,.07), transparent 26rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8,9,13,.82); backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { font-size: 1.18rem; font-weight: 850; letter-spacing: -.04em; margin-right: auto; }
.brand-mark { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a, .account-trigger { color: #c9c7cf; font-size: .92rem; font-weight: 650; }
.nav-links > a:hover, .nav-links > a.active { color: #fff; }
.account-wrap { position: relative; }
.account-trigger {
  display: flex; align-items: center; gap: 8px; color: #111;
  border: 0; border-radius: 999px; background: var(--lime); padding: 11px 17px; cursor: pointer;
}
.account-trigger::after { content: "↓"; font-size: .8rem; }
.account-menu {
  position: absolute; top: calc(100% + 12px); right: 0; width: 270px; padding: 10px;
  background: #181922; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45); display: none;
}
.account-wrap.open .account-menu { display: block; }
.account-menu a { display: block; padding: 12px; border-radius: 12px; }
.account-menu a:hover { background: rgba(255,255,255,.07); }
.account-menu strong, .account-menu span { display: block; }
.account-menu span { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.menu-button { display: none; border: 0; color: #fff; background: transparent; font-size: 1.4rem; }

main { overflow: hidden; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 50px; padding: 76px 0 64px; }
.eyebrow { color: var(--lime); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 850; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(3.3rem, 7.5vw, 7.2rem); line-height: .88; letter-spacing: -.075em; }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 4.5vw, 4rem); line-height: .98; letter-spacing: -.055em; }
h3 { margin-bottom: 8px; line-height: 1.12; letter-spacing: -.025em; }
.lede { color: #c1bec8; max-width: 630px; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 21px; border: 1px solid var(--line); border-radius: 999px; font-weight: 780; cursor: pointer; }
.button.primary { color: #111; border-color: var(--lime); background: var(--lime); }
.button.secondary { background: rgba(255,255,255,.055); }
.button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.microcopy { color: #888691; margin-top: 12px; font-size: .82rem; }

.poster-stage { position: relative; height: 545px; }
.poster-stage::before { content: ""; position: absolute; inset: 4% 0; border-radius: 45%; background: var(--violet); filter: blur(100px); opacity: .18; }
.floating-poster { position: absolute; width: 30%; aspect-ratio: 2/3; object-fit: cover; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; box-shadow: 0 24px 58px rgba(0,0,0,.52); transition: opacity .48s, scale .48s, filter .48s; }
.floating-poster:nth-child(1) { left: 0; top: 5%; z-index: 1; transform: rotate(-6deg); }
.floating-poster:nth-child(2) { left: 34%; top: 0; z-index: 4; width: 32%; transform: rotate(1deg); }
.floating-poster:nth-child(3) { right: 0; top: 5%; z-index: 2; transform: rotate(6deg); }
.floating-poster:nth-child(4) { left: 1%; bottom: 1%; z-index: 3; transform: rotate(5deg); }
.floating-poster:nth-child(5) { left: 34%; bottom: -2%; z-index: 5; width: 32%; transform: rotate(-2deg); }
.floating-poster:nth-child(6) { right: 0; bottom: 1%; z-index: 3; transform: rotate(-5deg); }
.floating-poster.poster-leaving { opacity: 0; scale: .78; filter: blur(8px); }
.floating-poster.poster-arriving { animation: poster-arrive .65s ease-out; }
@keyframes poster-arrive { from { opacity: 0; scale: 1.13; filter: blur(8px); } to { opacity: 1; scale: 1; filter: blur(0); } }

.section { padding: 86px 0; }
.section.compact { padding: 60px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-head p { max-width: 510px; color: var(--muted); }
.section-kicker { color: var(--peach); font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.text-link { color: var(--lime); font-weight: 750; white-space: nowrap; }
.dark-band { border-block: 1px solid var(--line); background: rgba(255,255,255,.025); }

.rail { margin-bottom: 52px; }
.rail:last-child { margin-bottom: 0; }
.rail-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.rail-title p { color: var(--muted); margin: 4px 0 0; font-size: .9rem; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: white; background: var(--panel); cursor: pointer; }
.media-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 17%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.media-track::-webkit-scrollbar { display: none; }
.media-card { scroll-snap-align: start; min-width: 0; }
.media-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 16px; background: var(--panel); transition: transform .22s, box-shadow .22s; }
.media-card:hover img { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.38); }
.media-card h3 { margin: 12px 0 2px; font-size: .96rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-card p { color: var(--muted); font-size: .78rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .info-card, .account-card, .plan-card, .form-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.feature-card { min-height: 270px; padding: 30px; display: flex; flex-direction: column; }
.feature-card .number { color: var(--lime); font-size: .75rem; font-weight: 900; }
.feature-card h3 { margin-top: auto; font-size: 1.55rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.page-hero { padding: 105px 0 58px; }
.page-hero h1 { max-width: 900px; font-size: clamp(3.2rem, 7vw, 6.5rem); }
.page-hero .lede { max-width: 720px; }
.choice-grid, .account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.choice-grid.single { grid-template-columns: 1fr; }
.choice-card { min-height: 350px; padding: 38px; border-radius: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.choice-card:first-child { background: var(--lime); color: #111; }
.choice-card:last-child { background: var(--violet); color: #111; }
.choice-card .button { margin-top: auto; align-self: flex-start; background: #111; border-color: #111; color: white; }
.choice-card .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.choice-card .card-actions .button { margin-top: 0; }
.choice-card .card-actions .button.secondary { color: #111; background: transparent; border-color: #111; }
.choice-card p { max-width: 440px; opacity: .78; }
.choice-card h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); }

.steps { display: grid; gap: 14px; counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.step::before { content: counter(step); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #111; background: var(--lime); font-weight: 900; }
.step p { color: var(--muted); margin-bottom: 0; }
.watching-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-top: 30px; }
.watching-footer .actions { margin-top: 0; }
.device-support { display: grid; gap: 5px; max-width: 470px; text-align: right; }
.device-support strong { color: var(--ink); }
.device-support span { color: var(--muted); font-size: .88rem; }

.account-card { padding: 30px; }
.account-card .icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 14px; color: #111; background: var(--lime); font-weight: 900; }
.account-card p { color: var(--muted); }
.account-card .text-link { display: inline-block; margin-top: 12px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { padding: 28px; }
.plan-card.featured, .plan-card.current { border-color: rgba(217,255,99,.65); box-shadow: inset 0 0 0 1px rgba(217,255,99,.24); }
.plan-card p, .plan-card li { color: var(--muted); }
.plan-card ul { padding-left: 18px; }
.plan-action { margin-top: 16px; }

.upgrade-hero { padding-bottom: 34px; }
.upgrade-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.upgrade-main { display: grid; gap: 20px; }
.upgrade-block, .upgrade-summary { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 28px; }
.upgrade-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.upgrade-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.upgrade-heading > p { max-width: 340px; margin: 0; color: var(--muted); }
.duration-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.duration-option { position: relative; cursor: pointer; }
.duration-option input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.duration-option > span:last-child { min-height: 142px; display: grid; align-content: center; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); transition: border-color .2s, background .2s, transform .2s; }
.duration-option:hover > span:last-child { transform: translateY(-2px); }
.duration-option input:checked ~ span:last-child { border-color: var(--lime); background: rgba(217,255,99,.07); box-shadow: inset 0 0 0 1px rgba(217,255,99,.22); }
.duration-option b { color: var(--ink); font-size: 1.45rem; }
.duration-option small { color: var(--muted); }
.option-label { position: absolute; z-index: 1; top: 10px; right: 10px; padding: 4px 7px; border-radius: 999px; color: #111; background: var(--lime); font-size: .62rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.payment-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.payment-tabs label { cursor: pointer; }
.payment-tabs input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.payment-tabs span { display: block; min-width: 110px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font-weight: 800; }
.payment-tabs input:checked + span { color: #111; border-color: var(--lime); background: var(--lime); }
.payment-panel { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.payment-panel[hidden] { display: none; }
.payment-panel h3 { margin-bottom: 8px; }
.sample-qr { position: relative; aspect-ratio: 1; overflow: hidden; border: 12px solid #fff; border-radius: 14px; background-color: #fff; background-image: repeating-conic-gradient(#111 0 25%, transparent 0 50%); background-size: 22px 22px; box-shadow: inset 0 0 0 5px #111; }
.sample-qr.vietqr { background-image: repeating-conic-gradient(#102a44 0 25%, transparent 0 50%); }
.sample-qr span { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; padding: 6px 9px; border-radius: 6px; color: #111; background: #fff; font-size: .7rem; font-weight: 900; white-space: nowrap; }
.receipt-upload { display: grid; place-items: center; gap: 7px; padding: 30px; border: 1px dashed rgba(217,255,99,.45); border-radius: 18px; background: rgba(217,255,99,.04); cursor: pointer; text-align: center; }
.receipt-upload input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.receipt-upload span { color: var(--muted); font-size: .84rem; }
.receipt-upload.is-invalid { border-color: #ff6f79; background: rgba(255,111,121,.055); box-shadow: 0 0 0 3px rgba(255,111,121,.1); }
.upgrade-summary { position: sticky; top: 98px; }
.upgrade-summary .prototype { display: inline-flex; margin-bottom: 24px; }
.upgrade-summary h2 { font-size: 2rem; }
.upgrade-summary dl { display: grid; gap: 0; margin: 24px 0; }
.upgrade-summary dl div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.upgrade-summary dt { color: var(--muted); }
.upgrade-summary dd { margin: 0; text-align: right; font-weight: 750; }
.button.wide { width: 100%; }
.upgrade-success { margin-top: 18px; padding: 16px; border: 1px solid rgba(217,255,99,.35); border-radius: 14px; background: rgba(217,255,99,.07); }
.upgrade-success p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.student-benefits { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.student-benefits span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.025); font-size: .84rem; }
body:has([data-student-application]) .page-hero { padding-bottom: 12px; }
body:has([data-student-application]) .section.compact { padding-top: 18px; }
.student-details { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; }
.student-details .upgrade-block { padding: 22px; }
.student-details .upgrade-heading { margin-bottom: 16px; }
.student-details .upgrade-heading h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.student-details .receipt-upload { padding: 20px; }
.dob-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 14px; align-items: end; }
.age-preview { display: grid; gap: 5px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.age-preview span { color: var(--muted); font-size: .74rem; }
.age-preview strong { font-size: 1.05rem; }
.badge { display: inline-flex; padding: 5px 9px; margin-bottom: 20px; border-radius: 999px; color: #111; background: var(--lime); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 30px; align-items: start; }
.form-card { padding: 34px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 7px; color: #d8d5dd; font-size: .86rem; font-weight: 700; }
label.full { grid-column: 1/-1; }
input, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; color: white; background: #0d0e13; padding: 13px 14px; }
input.is-invalid { border-color: #ff6f79; box-shadow: 0 0 0 3px rgba(255,111,121,.13); }
input.is-invalid:focus-visible { outline-color: #ff6f79; }
.field-error { min-height: 1.1em; color: #ff8a92; font-size: .78rem; font-weight: 620; }
.notice { padding: 16px 18px; border: 1px solid rgba(217,255,99,.28); border-radius: 14px; color: #dfe8bd; background: rgba(217,255,99,.065); font-size: .9rem; }
.prototype { padding: 7px 10px; border-radius: 999px; color: #111; background: var(--peach); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }

.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-item { border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.025); overflow: hidden; }
.faq-question { width: 100%; padding: 21px 22px; border: 0; color: white; background: transparent; display: flex; justify-content: space-between; text-align: left; cursor: pointer; font-weight: 750; }
.faq-question::after { content: "+"; color: var(--lime); font-size: 1.3rem; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.profile-shell { display: grid; grid-template-columns: 310px 1fr; gap: 24px; }
.profile-panel, .profile-main { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 28px; }
.profile-main .plan-kicker { color: var(--lime); }
.avatar { width: 90px; height: 90px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: #111; background: linear-gradient(135deg, var(--lime), var(--violet)); font-size: 2rem; font-weight: 900; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; color: #d9f59a; font-size: .8rem; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; }
.detail { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.detail span, .detail strong { display: block; }
.detail span { color: var(--muted); font-size: .78rem; }
body:has(.profile-shell) .page-hero { padding: 72px 0 12px; }
body:has(.profile-shell) .page-hero h1 { margin-bottom: 12px; font-size: clamp(2.9rem, 5.5vw, 5rem); }
body:has(.profile-shell) .page-hero .lede { margin-bottom: 0; }
body:has(.profile-shell) .section.compact { padding: 10px 0 60px; }

.site-footer { margin-top: 70px; padding: 55px 0 35px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .6fr); gap: 34px; }
.footer-grid h3 { font-size: 1rem; }
.footer-grid a { display: block; color: var(--muted); margin: 8px 0; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); color: #777581; font-size: .78rem; }

body[data-page="home"] {
  --lime: #b9dc62;
  --violet: #8d7bd0;
}
body[data-page="home"] .feature-card { min-height: 245px; }
body[data-page="home"] .dark-band .section-head { align-items: center; }
body[data-page="home"] .dark-band .section-head h2 { margin-bottom: 0; }
body[data-page="home"] .feature-card .number { margin-bottom: 15px; }
body[data-page="home"] .feature-card h3 { margin-top: 0; }
body[data-page="home"] .choice-card:first-child,
body[data-page="home"] .choice-card:last-child,
body[data-page="discover"] .choice-card:first-child,
body[data-page="discover"] .choice-card:last-child,
body[data-page="getting-started"] .choice-card:first-child,
body[data-page="getting-started"] .choice-card:last-child { color: var(--ink); border: 1px solid rgba(185,220,98,.2); }
body[data-page="home"] .choice-card:first-child,
body[data-page="home"] .choice-card:last-child,
body[data-page="discover"] .choice-card:first-child,
body[data-page="discover"] .choice-card:last-child,
body[data-page="getting-started"] .choice-card:first-child,
body[data-page="getting-started"] .choice-card:last-child { background: linear-gradient(145deg, #1b1f1d, #131518); box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 45px rgba(0,0,0,.16); }
body[data-page="home"] .choice-card p,
body[data-page="discover"] .choice-card p,
body[data-page="getting-started"] .choice-card p { color: #c9c6d0; opacity: 1; }
body[data-page="home"] .choice-card .section-kicker,
body[data-page="discover"] .choice-card .section-kicker,
body[data-page="getting-started"] .choice-card .section-kicker { color: #c9c8d0; }
body[data-page="home"] .choice-card .button,
body[data-page="discover"] .choice-card .button,
body[data-page="getting-started"] .choice-card .button { color: #111; background: #e8e5ec; border-color: #e8e5ec; }
body[data-page="discover"] .rail-title { align-items: center; }
body[data-page="discover"] .rail-title h2 { margin-bottom: 0; font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 720; letter-spacing: -.035em; }
body[data-page="discover"] .rail-heading { display: flex; align-items: baseline; gap: 15px; min-width: 0; }
body[data-page="discover"] .rail-heading h2 { flex: none; }
body[data-page="discover"] .rail-heading p { margin: 0; color: #8f8d98; font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 430; letter-spacing: -.035em; line-height: .98; }

@media (max-width: 900px) {
  .menu-button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100dvh - 76px); max-height: calc(100dvh - 76px);
    padding: 20px max(20px, env(safe-area-inset-left)) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    border-bottom: 1px solid var(--line); background: #0c0d12;
    box-shadow: 0 28px 55px rgba(0,0,0,.48);
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
  }
  body.menu-open .nav-links { display: flex; }
  .nav-links > a { padding: 12px 10px; font-size: 1.1rem; }
  .account-wrap { margin-top: 10px; }
  .account-trigger { width: 100%; justify-content: space-between; }
  .account-menu { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .poster-stage { height: 540px; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr 1fr; }
  .form-layout, .profile-shell { grid-template-columns: 1fr; }
  .upgrade-form { grid-template-columns: 1fr; }
  .upgrade-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 52px; }
  h1 { font-size: 3.55rem; }
  .poster-stage { height: 430px; }
  .floating-poster { width: 34%; }
  .floating-poster:nth-child(1) { left: 1%; top: 9%; }
  .floating-poster:nth-child(2) { left: 33%; top: 1%; width: 36%; }
  .floating-poster:nth-child(3) { right: 0; top: 10%; }
  .floating-poster:nth-child(4) { left: 11%; bottom: 0; }
  .floating-poster:nth-child(5) { left: 48%; bottom: -2%; width: 36%; }
  .floating-poster:nth-child(6) { display: none; }
  .section { padding: 62px 0; }
  .section-head { display: block; }
  .media-track { grid-auto-columns: 42%; }
  .feature-grid, .choice-grid, .account-grid, .plan-grid, .field-grid, .detail-grid { grid-template-columns: 1fr; }
  .duration-grid, .payment-panel { grid-template-columns: 1fr; }
  .student-details { grid-template-columns: 1fr; }
  .dob-row { grid-template-columns: 1fr; }
  label.full { grid-column: auto; }
  .choice-card { min-height: 300px; padding: 28px; }
  .step { grid-template-columns: 44px 1fr; padding: 18px; }
  .watching-footer { display: grid; }
  .device-support { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  body[data-page="discover"] .rail-title { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
  body[data-page="discover"] .rail-heading { display: block; width: 100%; }
  body[data-page="discover"] .rail-heading h2 { font-size: clamp(1.5rem, 7vw, 2rem); line-height: 1.12; white-space: normal; }
  body[data-page="discover"] .rail-heading p { margin-top: 5px; font-size: 1rem; line-height: 1.35; }
  body[data-page="discover"] .rail-controls { align-self: flex-end; }
}

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