:root {
  --ink: #11243a;
  --muted: #667280;
  --paper: #f4f6f2;
  --card: #ffffff;
  --accent: #198a67;
  --accent-dark: #0d654b;
  --accent-soft: #ddf2ea;
  --gold: #d9a73b;
  --danger: #a73747;
  --line: #dfe5df;
  --shadow: 0 16px 42px rgba(22, 38, 52, .11);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100%; background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--accent) 9%, transparent), transparent 36rem), var(--paper); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.hidden { display: none !important; }
.app-shell { min-height: 100vh; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: calc(10px + env(safe-area-inset-top)) clamp(16px, 4vw, 40px) 10px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: white;
  background: rgba(16, 36, 61, .94);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; cursor: pointer; color: white; text-align: left; }
.universal-brand { padding: 1px; border-radius: 17px; background: transparent; box-shadow: none; }
.brand-mark { display: block; width: 52px; height: 52px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 4px 9px rgba(0,0,0,.28)); }
.brand b { display: block; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Georgia, "Times New Roman", serif; font-size: 20px; letter-spacing: -.2px; }
.brand small { display: block; margin-top: 2px; opacity: .68; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.country-picker { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.08); }
.country-picker select { width: 116px; border: 0; outline: 0; color: white; background: transparent; font-size: 13px; }
.country-picker select option { color: var(--ink); background: white; }
.language-toggle, .profile-button { height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
.language-toggle { padding: 0 12px; }
.profile-button { width: 40px; font-size: 12px; color: var(--accent); background: white; }

.source-notice { display: flex; align-items: center; gap: 10px; max-width: 1180px; margin: 12px auto 0; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--accent) 23%, white); border-radius: 16px; background: color-mix(in srgb, var(--accent-soft) 72%, white); }
.source-notice > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; color: white; background: var(--accent); font-weight: 800; }
.source-notice p { flex: 1; margin: 0; line-height: 1.2; }
.source-notice b, .source-notice small { display: block; }
.source-notice small { margin-top: 3px; color: var(--muted); }
.source-notice button { border: 0; background: transparent; cursor: pointer; font-size: 21px; }

main { max-width: 1180px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 40px) 40px; }
.page { animation: enter .28s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
h1, h2, h3, p { text-wrap: balance; }
h1, h2, h3 { margin-top: 0; }

.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); min-height: 420px; padding: clamp(28px, 5vw, 60px); border-radius: 34px; color: white; background: linear-gradient(125deg, #10243d 0%, color-mix(in srgb, var(--accent) 72%, #10243d) 100%); box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; right: -110px; top: -170px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.04), 0 0 0 110px rgba(255,255,255,.035); }
.hero::after { content: "ن"; position: absolute; right: 8%; bottom: -13%; opacity: .075; font-family: Georgia, serif; font-size: clamp(220px, 34vw, 420px); line-height: 1; }
.hero-copy { position: relative; z-index: 2; align-self: center; }
.hero-copy .eyebrow { color: #dff8ef; }
.hero-copy .eyebrow::before { background: white; }
.flag-pair { display: inline-flex; direction: ltr; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(8,20,36,.3); backdrop-filter: blur(12px); }
.flag-pair b { font-size: 24px; line-height: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.flag-pair i { color: #f2d276; font-style: normal; font-weight: 900; }
.flag-pair small { overflow: hidden; color: #e5f4ee; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.hero h1 { max-width: 720px; margin: 16px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 7vw, 74px); line-height: .98; letter-spacing: -.045em; }
.hero h2 { max-width: 650px; margin: 0 0 16px; color: #eefbf6; font-size: clamp(19px, 2.5vw, 27px); font-weight: 500; }
.hero p { max-width: 590px; margin: 0 0 25px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-aside { position: relative; z-index: 2; align-self: end; display: grid; gap: 10px; }
.hero-aside article { padding: 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 19px; background: rgba(8,20,36,.24); backdrop-filter: blur(10px); }
.hero-aside span { font-size: 23px; }
.hero-aside b, .hero-aside small { display: block; }
.hero-aside b { margin: 8px 0 4px; font-size: 15px; }
.hero-aside small { color: rgba(255,255,255,.68); line-height: 1.35; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 15px; background: white; cursor: pointer; font-weight: 750; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16,36,61,.12); }
.btn.primary { color: white; background: var(--accent); }
.hero .btn.primary { color: var(--ink); background: white; }
.btn.secondary { border-color: var(--line); background: rgba(255,255,255,.76); }
.hero .btn.secondary { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.btn.danger { color: white; background: var(--danger); }
.btn.small { min-height: 38px; padding-inline: 13px; font-size: 13px; }
.btn:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }

.section { margin-top: 36px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2 { margin: 6px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; }
.section-heading p { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.5; }

.continue-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 18px; border: 1px solid color-mix(in srgb, var(--accent) 24%, white); border-radius: 21px; background: linear-gradient(115deg, white, color-mix(in srgb, var(--accent-soft) 50%, white)); box-shadow: 0 10px 24px rgba(20,40,54,.06); }
.continue-card > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: white; background: var(--accent); font-size: 22px; }
.continue-card b, .continue-card small { display: block; }
.continue-card small { margin-top: 4px; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.service-card { position: relative; min-height: 176px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); cursor: pointer; transition: .18s ease; }
.service-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 38%, var(--line)); box-shadow: var(--shadow); }
.service-card > span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 15px; background: var(--accent-soft); font-size: 23px; }
.service-card h3 { margin: 20px 0 5px; font-size: 17px; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.service-card i { position: absolute; top: 18px; right: 18px; color: var(--accent); font-style: normal; }

.extras-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.extras-strip article { padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.62); }
.extras-strip b { display: block; margin-bottom: 5px; font-size: 13px; }
.extras-strip small { color: var(--muted); }

.page-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: clamp(24px, 5vw, 48px); border-radius: 28px; color: white; background: linear-gradient(125deg, #10243d, color-mix(in srgb, var(--accent) 66%, #10243d)); }
.page-hero h1 { margin: 10px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 6vw, 62px); line-height: 1; letter-spacing: -.04em; }
.page-hero h2 { margin: 0 0 10px; color: #e3f5ee; font-weight: 500; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.75); line-height: 1.55; }
.page-hero > span { font-size: clamp(58px, 10vw, 108px); filter: drop-shadow(0 18px 24px rgba(0,0,0,.17)); }

.steps { display: grid; gap: 12px; margin-top: 20px; }
.step-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 15px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: white; background: var(--accent); font-weight: 850; }
.step-card h3 { margin: 1px 0 3px; }
.step-card h4 { margin: 0 0 8px; color: var(--accent-dark); font-size: 15px; }
.step-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.step-card a { color: var(--accent-dark); font-size: 13px; font-weight: 750; white-space: nowrap; }
.step-check { appearance: none; width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 9px; cursor: pointer; }
.step-check:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 5px white; }

.level-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.level-card { position: relative; overflow: hidden; min-height: 190px; padding: 21px; border: 1px solid var(--line); border-radius: 22px; background: white; cursor: pointer; }
.level-card::after { content: attr(data-level); position: absolute; right: -4px; bottom: -24px; color: color-mix(in srgb, var(--accent) 8%, white); font-size: 92px; font-weight: 900; }
.level-card span { display: inline-flex; padding: 5px 9px; border-radius: 9px; color: var(--accent-dark); background: var(--accent-soft); font-size: 12px; font-weight: 800; }
.level-card h3 { position: relative; z-index: 2; margin: 20px 0 8px; }
.level-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); line-height: 1.45; }

.history-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.history-card { min-height: 210px; padding: 24px; border-radius: 23px; color: white; background: linear-gradient(145deg, #19314b, color-mix(in srgb, var(--accent) 60%, #19314b)); }
.history-card:nth-child(2n) { background: linear-gradient(145deg, #343f4d, #775f38); }
.history-card span { color: #d8eee6; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.history-card h3 { margin: 35px 0 5px; font-family: Georgia, serif; font-size: 26px; }
.history-card h4 { margin: 0 0 10px; color: #e2f6ee; }
.history-card p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.5; }

.quiz-shell { max-width: 760px; margin: 24px auto 0; }
.quiz-progress { height: 7px; overflow: hidden; border-radius: 10px; background: #dfe6e1; }
.quiz-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s ease; }
.quiz-card { margin-top: 16px; padding: clamp(24px, 5vw, 44px); border: 1px solid var(--line); border-radius: 27px; background: white; box-shadow: var(--shadow); }
.quiz-card small { color: var(--accent-dark); font-weight: 800; letter-spacing: .08em; }
.quiz-card h2 { margin: 18px 0 8px; font-family: Georgia, serif; font-size: clamp(27px, 4vw, 40px); }
.quiz-card h3 { color: var(--muted); font-weight: 500; }
.quiz-answers { display: grid; gap: 9px; margin-top: 24px; }
.quiz-answers button { min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 15px; background: #fafbf9; cursor: pointer; text-align: left; }
.quiz-answers button:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz-result { text-align: center; }
.score-ring { display: grid; place-items: center; width: 148px; height: 148px; margin: 22px auto; border-radius: 50%; background: conic-gradient(var(--accent) var(--score), #e2e8e3 0); }
.score-ring::before { content: ""; position: absolute; width: 118px; height: 118px; border-radius: 50%; background: white; }
.score-ring b { position: relative; z-index: 2; font-size: 28px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.plan-card.featured { color: white; border: 0; background: linear-gradient(145deg, #10243d, color-mix(in srgb, var(--accent) 65%, #10243d)); box-shadow: var(--shadow); }
.plan-card > span { color: var(--accent-dark); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.plan-card.featured > span { color: #d9f1e8; }
.plan-card h3 { margin: 12px 0 3px; font-size: 23px; }
.price { margin: 14px 0; font-family: Georgia, serif; font-size: 38px; }
.price small { font-family: inherit; font-size: 14px; }
.plan-card ul { flex: 1; margin: 10px 0 23px; padding: 0; list-style: none; }
.plan-card li { margin: 9px 0; color: var(--muted); font-size: 14px; }
.plan-card.featured li { color: rgba(255,255,255,.75); }
.plan-card li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.plan-card.featured li::before { color: #8ce0bf; }

.provider-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; }
.provider-promise, .form-card, .profile-card, .admin-card { padding: 24px; border: 1px solid var(--line); border-radius: 23px; background: white; }
.provider-promise { color: white; border: 0; background: linear-gradient(150deg, #10243d, color-mix(in srgb, var(--accent) 60%, #10243d)); }
.provider-promise ul { padding-left: 20px; color: rgba(255,255,255,.78); line-height: 1.7; }
.provider-promise .price { color: white; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #fafbf9; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-note { margin: 13px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-card h3 { margin-bottom: 8px; }
.profile-card p { color: var(--muted); line-height: 1.55; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.stat { padding: 15px; border-radius: 15px; background: var(--accent-soft); }
.stat b, .stat small { display: block; }
.stat b { font-size: 22px; }
.stat small { margin-top: 4px; color: var(--muted); }

.bottom-nav { position: fixed; z-index: 35; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, minmax(58px, 88px)); gap: 3px; padding: 7px; border: 1px solid rgba(255,255,255,.62); border-radius: 24px; background: rgba(16,36,61,.94); box-shadow: 0 14px 40px rgba(11,24,39,.25); backdrop-filter: blur(18px); }
.bottom-nav button { display: grid; place-items: center; gap: 2px; min-height: 51px; border: 0; border-radius: 17px; color: rgba(255,255,255,.64); background: transparent; cursor: pointer; }
.bottom-nav button.active { color: var(--ink); background: white; }
.bottom-nav span { font-size: 18px; line-height: 1; }
.bottom-nav b { font-size: 10px; }

.assistant-button { position: fixed; z-index: 39; right: clamp(16px, 4vw, 34px); bottom: calc(92px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 19px; color: white; background: var(--accent); box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 40%, transparent); cursor: pointer; font-size: 24px; }
.assistant-panel { position: fixed; z-index: 50; right: clamp(16px, 4vw, 36px); bottom: calc(88px + env(safe-area-inset-bottom)); display: grid; grid-template-rows: auto minmax(180px, 1fr) auto; width: min(390px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 120px)); overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: 0 24px 70px rgba(11,24,39,.28); }
.assistant-panel > header { display: flex; align-items: center; justify-content: space-between; padding: 16px; color: white; background: #10243d; }
.assistant-panel header > div { display: flex; align-items: center; gap: 10px; }
.assistant-panel header > div > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 13px; color: var(--ink); background: white; }
.assistant-panel header p { margin: 0; }
.assistant-panel header b, .assistant-panel header small { display: block; }
.assistant-panel header small { margin-top: 2px; opacity: .65; }
.assistant-panel header button { border: 0; color: white; background: transparent; cursor: pointer; font-size: 22px; }
.assistant-messages { overflow-y: auto; padding: 16px; background: #f6f8f5; }
.message { max-width: 88%; margin: 0 0 10px; padding: 11px 13px; border-radius: 15px; background: white; box-shadow: 0 4px 14px rgba(20,40,54,.06); line-height: 1.45; }
.message.user { margin-left: auto; color: white; background: var(--accent); }
.assistant-panel form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.assistant-panel input { min-width: 0; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; outline: 0; }
.assistant-panel form button { width: 43px; border: 0; border-radius: 13px; color: white; background: var(--accent); cursor: pointer; }

.modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(8,18,30,.6); backdrop-filter: blur(7px); }
.modal-card { position: relative; width: min(680px, 100%); max-height: 88vh; overflow: auto; padding: clamp(24px, 5vw, 44px); border-radius: 27px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 12px; background: #eef1ed; cursor: pointer; font-size: 22px; }
.modal-card h2 { font-family: Georgia, serif; font-size: 33px; }
.modal-card p { color: var(--muted); line-height: 1.6; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px; color: white; background: #10243d; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.empty-state { padding: 36px; border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); text-align: center; }
.legal-note { margin-top: 20px; padding: 15px; border-left: 4px solid var(--gold); border-radius: 0 13px 13px 0; color: var(--muted); background: #fff8e8; font-size: 13px; line-height: 1.55; }

[dir="rtl"] .brand { text-align: right; }
[dir="rtl"] .step-card a { text-align: left; }
[dir="rtl"] .plan-card li::before { margin: 0 0 0 8px; }
[dir="rtl"] .assistant-panel { right: auto; left: clamp(16px, 4vw, 36px); }
[dir="rtl"] .assistant-button { right: auto; left: clamp(16px, 4vw, 34px); }
[dir="rtl"] .message.user { margin-left: 0; margin-right: auto; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-aside { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .extras-strip { grid-template-columns: repeat(2, 1fr); }
  .level-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .provider-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { min-height: 66px; padding-inline: 13px; }
  .brand-mark { width: 46px; height: 46px; border-radius: 0; }
  .country-picker { padding-inline: 8px; }
  .country-picker select { width: 34px; color: transparent; }
  .country-picker select option { color: var(--ink); }
  .profile-button { display: none; }
  main { padding: 12px 14px 30px; }
  .source-notice { margin: 9px 12px 0; }
  .source-notice small { display: none; }
  .hero { min-height: 570px; padding: 30px 22px; border-radius: 27px; }
  .hero h1 { font-size: 48px; }
  .hero-aside { grid-template-columns: 1fr; }
  .hero-aside article { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 13px; }
  .hero-aside article span { grid-row: 1 / 3; align-self: center; }
  .hero-aside article b { margin: 0; }
  .section { margin-top: 28px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 8px; }
  .continue-card { grid-template-columns: auto 1fr; }
  .continue-card .btn { grid-column: 1 / -1; }
  .service-grid { gap: 9px; }
  .service-card { min-height: 162px; padding: 16px; }
  .extras-strip { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .page-hero > span { display: none; }
  .step-card { grid-template-columns: 36px 1fr; padding: 16px; }
  .step-number { width: 36px; height: 36px; }
  .step-card a { grid-column: 2; }
  .step-check { position: absolute; right: 30px; }
  .level-grid, .history-grid { grid-template-columns: 1fr; }
  .form-grid, .profile-grid { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .bottom-nav { bottom: calc(7px + env(safe-area-inset-bottom)); grid-template-columns: repeat(5, minmax(52px, 67px)); width: calc(100vw - 20px); }
  .assistant-button { bottom: calc(85px + env(safe-area-inset-bottom)); }
}

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