:root {
  --navy: #0B2545; --blue: #2563EB; --orange: #F97316; --cream: #FFF7E6; --grey: #E5E7EB;
  --bg: #FFF7E6; --card: #FFFFFF; --text: #0B2545; --soft: #4B5B73; --line: #EDE3CF;
  --tint-blue: #DBEAFE; --tint-orange: #FFEDD5; --tint-green: #DCFCE7;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0A1628; --card: #12233D; --text: #F1F5F9; --soft: #A9B6CA; --line: #22385A;
    --tint-blue: #16305A; --tint-orange: #3A2414; --tint-green: #123A26; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, system-ui, "Segoe UI", Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
@media (prefers-color-scheme: dark) { a { color: #7FB0FF; } }
h1, h2, h3 { font-family: Poppins, Inter, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3rem Poppins, sans-serif; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand b { color: var(--orange); font-weight: 700; }
.top nav { margin-left: auto; display: flex; gap: 18px; }
.top nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { color: var(--text); }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 36em; }
.hero-art { justify-self: center; position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 8% -6% 0; background: var(--tint-blue); border-radius: 50%; z-index: -1; }
.hero-art img { width: min(260px, 60vw); display: block; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-art img { width: 170px; } .hero { padding-top: 28px; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--navy); color: #fff; border: 0; }
@media (prefers-color-scheme: dark) { .btn { background: var(--orange); color: #fff; } }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.soon { font-size: .9rem; color: var(--soft); margin-top: 10px; }

/* Sections */
section { padding: 44px 0; }
.center { text-align: center; }
.sub { color: var(--soft); max-width: 40em; }
.center .sub { margin: 0 auto 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: 18px; padding: 20px; box-shadow: 0 2px 12px rgba(11,37,69,.06); border: 1px solid var(--line); }
.card p { color: var(--soft); margin: 0; font-size: .97rem; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px; background: var(--tint-orange); }
.icon.b { background: var(--tint-blue); } .icon.g { background: var(--tint-green); }

.subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.subject { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: center; }
.subject img { height: 120px; width: auto; display: block; margin: 0 auto 8px; }
.subject b { display: block; font-family: Poppins, sans-serif; }
.subject span { font-size: .88rem; color: var(--soft); }
.subject.later img { filter: grayscale(1); opacity: .55; }
.subject.later b { opacity: .75; }
.subject.later .tag { display: inline-block; opacity: 1; margin-top: 4px; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--tint-orange); color: var(--orange); }

.split { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.split img { width: 180px; justify-self: center; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } .split img { width: 130px; } }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: #16A34A; }

/* Legal pages */
.doc { max-width: 760px; padding: 40px 16px 56px; margin: 0 auto; }
.doc h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc .date { color: var(--soft); font-size: .92rem; }
.doc ul { padding-left: 1.2em; } .doc li { margin: 6px 0; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; padding: 14px 16px; margin: 18px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin: 12px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
@media (prefers-color-scheme: dark) { .steps li::before { background: var(--orange); } }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: Poppins, sans-serif; font-size: .85rem; color: var(--soft); }
.table-scroll { overflow-x: auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--soft); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; }
footer a { color: var(--soft); }
