@font-face { font-family: Qomra; src: url(/fonts/Qomra-Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Qomra; src: url(/fonts/Qomra-Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Qomra; src: url(/fonts/Qomra-Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }

/* ===== Palette: deep forest + mint, with warm sand sections ===== */
:root {
  --ink: #04201c;
  --forest: #0a2f29;
  --forest-2: #134a40;
  --mint: #c9f2e3;
  --mint-2: #7fdcbf;
  --green: #0e7a62;
  --sand: #efe6d4;
  --sand-2: #e3d4b6;
  --gold: #b8924a;
  --paper: #f7f3ea;
  --surface: #ffffff;
  --text: #13231f;
  --muted: #5e6d68;
  --line-soft: #e6e0d2;
  --line: rgba(14, 122, 98, .35);
  --ok: #15803d;
  --bad: #b4441b;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(4, 32, 28, .05), 0 12px 32px -16px rgba(4, 32, 28, .22);
  --shadow-lg: 0 2px 6px rgba(4, 32, 28, .06), 0 40px 70px -30px rgba(4, 32, 28, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* names the other pages and the dashboard still use */
  --navy: var(--forest);
  --navy-2: var(--forest-2);
  --teal: var(--green);
  --teal-2: var(--mint-2);
  --teal-soft: #e2f3ec;
  --cream: var(--forest);
  --orange: var(--green);
  --peach: var(--green);
  --ember: var(--forest-2);
  --card: var(--surface);
  --card-2: var(--surface);
  --bg: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Qomra, system-ui, sans-serif; color: var(--text); background: var(--paper);
  line-height: 1.75; -webkit-font-smoothing: antialiased;
}
.page { min-height: 100vh; }
a { color: inherit; }
code { font-family: ui-monospace, monospace; font-size: .9em; color: var(--green); }
h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 700; color: var(--forest); }
.muted { color: var(--muted); }
.wrap { width: min(1240px, 92vw); margin-inline: auto; }
.narrow { width: min(560px, 92vw); margin-inline: auto; }

/* ===== floating pill navigation ===== */
.nav { position: fixed; top: 16px; inset-inline: 0; z-index: 30; pointer-events: none; }
.nav-pill, .nav > .wrap {
  pointer-events: auto; width: min(1280px, calc(100vw - 32px)); margin-inline: auto; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 12px 0 14px; padding-inline-start: 26px;
  border-radius: 999px; color: #fff;
  background: linear-gradient(90deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .10));
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .55);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 46px; height: 46px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; font-size: 17px; }
.brand b { font-weight: 700; }
.brand small { display: block; font-weight: 500; font-size: 11.5px; letter-spacing: 1.6px; opacity: .8; margin-top: 3px; direction: ltr; text-align: right; white-space: nowrap; }
.nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; font-size: 16px; }
.nav ul a { text-decoration: none; color: rgba(255, 255, 255, .9); }
.nav ul a:hover { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 16px; }
.nav-icon { color: #fff; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s; }
.nav-icon:hover { background: rgba(255, 255, 255, .1); }
.nav-icon svg { width: 22px; height: 22px; }
.nav-sep { width: 1px; height: 28px; background: rgba(255, 255, 255, .25); }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; cursor: pointer; position: relative; }
.nav-burger i { position: absolute; left: 14px; right: 14px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-burger i:first-child { top: 18px; } .nav-burger i:last-child { top: 26px; }
.nav.open .nav-burger i:first-child { top: 22px; transform: rotate(45deg); }
.nav.open .nav-burger i:last-child { top: 22px; transform: rotate(-45deg); }
/* on light pages the pill turns solid forest */
body:not(.home) .nav-pill, body:not(.home) .nav > .wrap, .nav.scrolled .nav-pill { background: rgba(10, 47, 41, .92); }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap;
  font: 500 15.5px/1 Qomra, sans-serif; padding: 15px 26px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.mint { background: #e9fbf4; color: var(--forest); border-color: #fff; box-shadow: 0 10px 30px -12px rgba(127, 220, 191, .8); }
.btn.mint:hover { background: #fff; }
.nav .btn.mint { padding: 17px 30px; font-size: 16px; }
.btn.primary { background: var(--forest); color: #fff; }
.btn.primary:hover { background: var(--forest-2); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--forest); border-color: rgba(10, 47, 41, .25); }
.btn.ghost:hover { border-color: var(--forest); }
.nav .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--green);
  background: var(--teal-soft); border: 1px solid rgba(14, 122, 98, .2); padding: 5px 14px; border-radius: 999px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 14px; font-weight: 500; letter-spacing: .3px; }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow.light { color: var(--mint-2); }

/* ===== hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 150px 0 90px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(60% 70% at 15% 40%, rgba(127, 220, 191, .14), transparent 70%),
    radial-gradient(80% 60% at 90% 0%, rgba(19, 74, 64, .9), transparent 70%),
    linear-gradient(180deg, var(--forest) 0%, var(--ink) 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 92px); font-weight: 400; letter-spacing: -1px; line-height: 1.15; margin: 22px 0 22px; color: #fff; }
.hero p { color: rgba(225, 240, 234, .78); max-width: 560px; margin: 0 0 34px; font-size: 18.5px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 600px; padding: 8px 8px 8px 8px; padding-inline-start: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s, background .2s; }
.search:focus-within { border-color: var(--mint-2); background: rgba(255, 255, 255, .12); }
.search svg { width: 22px; height: 22px; flex: none; color: var(--mint); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; box-shadow: none; color: #fff; font-size: 16px; padding: 12px 4px; }
.search input::placeholder { color: rgba(225, 240, 234, .55); }
.search input:focus { box-shadow: none; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; font-size: 14px; color: rgba(225, 240, 234, .7); }
.hero-meta a { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }
.hero-art { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.emblem { width: 100%; height: 100%; display: block; }
.hero-card { position: absolute; bottom: 4%; inset-inline-end: -4%; width: min(300px, 70%); border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff;
  background: rgba(10, 47, 41, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.hero-card:empty { display: none; }
.hero-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.hero-card div { padding: 14px 16px 16px; }
.hero-card small { color: var(--mint-2); font-size: 12px; }
.hero-card b { display: block; font-size: 16px; line-height: 1.4; margin: 2px 0 6px; }
.hero-card span { font-size: 13px; color: rgba(225, 240, 234, .75); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 1; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .55); font-size: 12px; text-decoration: none; }
.divider { display: none; }

/* ===== sections ===== */
.section-title { font-size: clamp(30px, 4vw, 52px); font-weight: 400; letter-spacing: -.5px; margin: 12px 0 12px; color: var(--forest); }
.section-head { max-width: 640px; }
.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; color: var(--forest); margin-bottom: 6px; }
.card .en { font-size: 12px; color: var(--muted); display: block; margin-bottom: 10px; letter-spacing: .3px; direction: ltr; text-align: right; }

/* ===== course rail (horizontal, snap) ===== */
.courses-section { padding: 110px 0 90px; background: var(--paper); }
.rail-head .section-head { margin-bottom: 0; }
.rail-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 30px 0 30px; }
.rail-arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(10, 47, 41, .2); background: transparent; color: var(--forest); font-size: 20px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.arrow:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(4vw, calc((100vw - 1240px) / 2));
  padding: 10px max(4vw, calc((100vw - 1240px) / 2)) 30px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > .empty { flex: 1; }
.course { flex: 0 0 clamp(300px, 31vw, 400px); scroll-snap-align: start; display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 0; border-radius: 28px; border: 0; background: var(--surface); box-shadow: var(--shadow); }
.course-cover, .course-ph { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--forest); }
.course-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.course:hover .course-cover img { transform: scale(1.05); }
.date-pill { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; display: grid; place-items: center; min-width: 64px; padding: 8px 10px; border-radius: 16px; line-height: 1.1; text-align: center;
  background: rgba(255, 255, 255, .9); color: var(--forest); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.date-pill b { font-size: 22px; } .date-pill small { font-size: 11.5px; color: var(--muted); }
.course-ph { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 26px; text-decoration: none; color: #fff;
  background: radial-gradient(90% 80% at 0% 0%, rgba(127, 220, 191, .35), transparent 60%), linear-gradient(160deg, var(--forest-2), var(--ink)); }
.course-ph::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; top: -24%; inset-inline-start: -16%; opacity: .2;
  background: url(/logo.svg) center / contain no-repeat; }
.course-ph > *:not(.date-pill) { position: relative; }
.course-ph small { color: var(--mint-2); font-size: 13px; }
.course-ph b { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-weight: 400; }
.course-ph em { font-style: normal; color: rgba(225, 240, 234, .7); font-size: 13px; direction: ltr; text-align: right; }
.course-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 22px 24px 24px; }
.course .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: #6b5a3a; }
.tag.hot { color: var(--green); background: var(--teal-soft); }
.course h3 { font-size: 21px; color: var(--forest); }
.course .en { font-size: 12.5px; color: var(--muted); direction: ltr; text-align: right; display: block; margin-top: 2px; }
.course .meta { display: grid; gap: 7px; font-size: 14px; color: var(--muted); }
.course .meta div { display: flex; gap: 9px; align-items: center; }
.course .meta svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.price { font-size: 30px; font-weight: 700; color: var(--forest); line-height: 1.1; }
.price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.bnpl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.bnpl b { color: var(--green); font-weight: 500; }
.go { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--forest); color: #fff; text-decoration: none; font-size: 20px; transition: transform .35s var(--ease), background .2s; }
.course:hover .go { transform: rotate(-45deg); background: var(--green); }
.go.off { background: #cfd6d3; pointer-events: none; }
.empty { text-align: center; color: var(--muted); padding: 40px; border: 1px dashed #cfc6b2; border-radius: var(--radius); background: rgba(255, 255, 255, .5); }
.course[hidden] { display: none; }
.reg-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; display: block; box-shadow: var(--shadow-lg); }

/* ===== how (dark) ===== */
.how { position: relative; padding: 120px 0; background: var(--forest); color: #fff; overflow: hidden; }
.how::before { content: ''; position: absolute; width: 760px; aspect-ratio: 1; inset-inline-start: -260px; top: -200px; opacity: .06; background: url(/logo.svg) center / contain no-repeat; }
.how .section-title { color: #fff; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .14); }
.step { padding: 40px 0 0; padding-inline-end: 40px; position: relative; }
.step + .step { padding-inline-start: 40px; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.step .num { display: block; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--mint-2); margin-bottom: 26px; }
.step h3 { color: #fff; font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.step p { color: rgba(225, 240, 234, .7); margin: 0; }

/* ===== contact band (sand) ===== */
.cta-band { margin-block: 100px; padding: clamp(32px, 5vw, 64px); border-radius: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(70% 120% at 100% 0%, #f7efdd, transparent 60%), var(--sand); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 360px; aspect-ratio: 1; inset-inline-end: -90px; bottom: -150px; opacity: .1; filter: invert(1) brightness(.2); background: url(/logo.svg) center / contain no-repeat; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 400; }
.cta-band p { color: #6b5a3a; margin: 8px 0 0; font-size: 17px; }
.cta-band > * { position: relative; z-index: 1; }

/* ===== footer ===== */
footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(225, 240, 234, .75); padding: 90px 0 30px; }
.foot-mark { position: absolute; width: 520px; inset-inline-end: -120px; top: -80px; stroke: rgba(127, 220, 191, .08); stroke-width: 1.2; }
.foot-grid { position: relative; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
footer .brand { color: #fff; margin-bottom: 14px; }
footer .brand small { letter-spacing: .3px; direction: rtl; }
footer .muted { color: rgba(225, 240, 234, .55); }
footer a { text-decoration: none; color: var(--mint); }
.foot-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(225, 240, 234, .5); }
.foot-bottom a { color: rgba(225, 240, 234, .7); text-decoration: underline; text-underline-offset: 4px; }
.copy { text-align: center; color: rgba(225, 240, 234, .5); font-size: 13px; margin-top: 40px; }
.foot-links { margin-bottom: -28px; }
.foot-links a { color: rgba(225, 240, 234, .7); text-decoration: underline; text-underline-offset: 4px; }

/* ===== forms (register / admin) ===== */
label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 400 15px Qomra, sans-serif; color: var(--text); background: var(--surface);
  border: 1px solid #d9d2c2; border-radius: 12px; padding: 12px 14px; outline: none; color-scheme: light;
  transition: border-color .2s, box-shadow .2s;
}
/* date fields: Chrome reverses the Arabic letters of an empty date's placeholder,
   so we hide it and show our own text until a date is picked */
.date-wrap { position: relative; display: block; }
.date-wrap.no-date::before { content: attr(data-ph); position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }
.date-wrap.no-date input::-webkit-datetime-edit { color: transparent; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(14, 122, 98, .12); }
textarea { min-height: 90px; resize: vertical; }
.field { margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 16px; cursor: pointer; background: var(--surface); transition: border-color .2s, background .2s; }
.pay-opt:has(input:checked) { border-color: var(--green); background: var(--teal-soft); }
.pay-opt input { width: auto; accent-color: var(--green); }
.pay-opt b { color: var(--forest); font-weight: 500; display: block; }
.pay-opt span { font-size: 13px; color: var(--muted); }
.brands { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.brands i { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--forest); border: 1px solid var(--line-soft); border-radius: 6px; padding: 2px 8px; background: var(--paper); direction: ltr; }
.summary { display: grid; gap: 8px; margin: 18px 0; padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-soft); }
.summary div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.summary b { color: var(--forest); font-weight: 500; }
.summary .total { font-size: 17px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 14px; }
.alert.err { background: #fbf0ea; border: 1px solid #f0cdb9; color: var(--bad); }
.alert.info { background: var(--teal-soft); border: 1px solid rgba(14, 122, 98, .2); color: var(--green); }

.reg-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; padding: 140px 0 90px; align-items: start; }
.reg-layout ul { padding-inline-start: 20px; margin: 8px 0 0; color: var(--text); }
.reg-layout li { margin-bottom: 4px; }
.reg-layout li::marker { color: var(--green); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.prices button { font: 400 13px Qomra, sans-serif; padding: 14px 12px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface); text-align: center; color: var(--muted); cursor: pointer; transition: border-color .25s, background .25s, transform .3s var(--ease); }
.prices button:hover:not([disabled]) { border-color: var(--line); transform: translateY(-2px); }
.prices button.on { border-color: var(--green); background: var(--teal-soft); box-shadow: 0 10px 24px -14px rgba(14, 122, 98, .6); }
.prices button[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.prices button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.prices b { display: block; font-size: 20px; color: var(--forest); }
.sticky { position: sticky; top: 110px; }
main.narrow.card { margin-top: 18vh !important; }

/* ===== filters ===== */
.filters-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 14px Qomra, sans-serif; color: var(--forest); background: transparent; border: 1px solid rgba(10, 47, 41, .2); border-radius: 999px; padding: 9px 20px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--forest); }
.chip.on { color: #fff; background: var(--forest); border-color: var(--forest); }

/* ===== policy page ===== */
.page-head { position: relative; text-align: center; padding: 160px 0 40px; }
.page-head h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 400; margin: 22px 0 14px; color: var(--forest); }
.page-head p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 17px; }
.policy { max-width: 820px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 28px; padding: clamp(22px, 4vw, 48px); line-height: 2; box-shadow: var(--shadow); }
.policy h2 { font-size: clamp(20px, 2.4vw, 26px); color: var(--forest); margin: 34px 0 10px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.policy h2:first-of-type { border-top: 0; padding-top: 0; }
.policy h3 { font-size: 18px; color: var(--green); margin: 22px 0 6px; }
.policy p { color: var(--muted); margin: 0 0 12px; }
.policy ul { margin: 0 0 12px; padding-inline-start: 22px; color: var(--muted); }
.policy li { margin-bottom: 8px; }
.policy li::marker { color: var(--green); }
.policy b { color: var(--forest); }

/* ===== responsive ===== */
@media (max-width: 1080px) {
  .nav ul { gap: 22px; font-size: 15px; }
}
@media (max-width: 960px) {
  .nav ul { display: none; }
  .nav-burger { display: block; }
  .nav-sep, .nav-icon { display: none; }
  .nav.open ul { display: grid; gap: 4px; position: absolute; top: 86px; inset-inline: 16px; padding: 14px; border-radius: 26px;
    background: rgba(10, 47, 41, .97); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); pointer-events: auto; }
  .nav.open ul a { display: block; padding: 14px 16px; border-radius: 14px; font-size: 17px; }
  .nav.open ul a:hover { background: rgba(255, 255, 255, .06); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; order: -1; margin-bottom: -20px; }
  .hero-card { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 30px 0; border-inline-start: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .reg-layout { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 600px) {
  .nav { top: 10px; }
  .nav-pill, .nav > .wrap { height: 64px; padding-inline-start: 16px; width: calc(100vw - 20px); }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 15px; }
  .brand small { letter-spacing: .6px; font-size: 10.5px; }
  .nav .btn.mint { padding: 13px 18px; font-size: 14px; }
  .hero { padding: 110px 0 80px; }
  .hero-art { max-width: 280px; }
  .search { flex-wrap: wrap; border-radius: 26px; padding: 10px; }
  .search .btn { width: 100%; }
  .course { flex-basis: 84vw; }
  .rail-arrows { display: none; }
  .scroll-cue { display: none; }
}
