/* ETPrep website: the app's world (sky, mountains, Walia) on the web. */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/web/fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/web/fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/web/fonts/bricolage.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
  --ink: #0c2b33; --ink2: #2e4a50; --soft: #4a666c; --line: #d3e2df; --sunk: #f3f8f6; --paper: #fff;
  --teal: #0e7490; --teal2: #0b5e75; --tealwash: #d8eef1; --amber: #855400; --gold: #f2b540; --goldink: #2b1b00;
  --amberwash: #fbefd5; --leaf: #0f6647; --leafwash: #e3f2ea; --night: #061820; --red: #b3261e;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px; --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--teal2); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: #fff; padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-head { position: absolute; inset: 0 0 auto; z-index: 10; padding-top: 18px; }
.nav { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 10px 0 12px; border-radius: 22px;
  background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(12, 43, 51, .5); }
.dark .nav { background: rgba(8, 30, 36, .6); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 22px; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 4px; }
.nav-links a { color: inherit; text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 99px; }
.nav-links a:hover, .nav-links a[aria-current] { background: rgba(14, 116, 144, .14); }
.dark .nav-links a:hover, .dark .nav-links a[aria-current] { background: rgba(255, 255, 255, .12); }
.menu-btn { display: none; width: 44px; height: 44px; border: none; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav-links { order: 3; flex-basis: 100%; flex-direction: column; display: none; padding: 4px 0 12px; }
  .nav.open .nav-links { display: flex; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .nav .btn { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 16px; border: none;
  font-family: var(--display); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; white-space: nowrap; max-width: 100%; transition: transform .15s ease, box-shadow .15s ease; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; padding-block: 10px; } }
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 4px 0 var(--teal2); }
.btn-gold { background: var(--gold); color: var(--goldink); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
.btn-lg { min-height: 60px; padding: 0 28px; font-size: 18px; border-radius: 18px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.center .stores { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: #fff;
  text-decoration: none; box-shadow: 0 12px 24px -14px rgba(12, 43, 51, .6); }
.store small { display: block; font-size: 12px; opacity: .8; }
.store b { display: block; font-family: var(--display); font-size: 19px; line-height: 1.1; }
.store[aria-disabled="true"] { opacity: .75; cursor: default; }

/* The world: sky, mountains and meadow, anchored to the bottom of a section */
.world { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.world.dawn { background: linear-gradient(180deg, #f2a488 0%, #f8c79c 40%, #fde9cc 72%, #fff6e8 100%); }
.world.day { background: linear-gradient(180deg, #a9dce6 0%, #cfebee 45%, #eef7f2 80%); }
.world.night { background: linear-gradient(180deg, #03121a 0%, #061820 30%, #0c2c36 65%, #13404a 100%); }
.world .far, .world .meadow { position: absolute; left: 50%; width: 117vw; max-width: none; transform: translateX(-50%); }
.world .far { bottom: calc(60px - 81.5vw); }
.world .meadow { bottom: calc(60px - 52.8vw); }
.world.dawn img { filter: sepia(.22) saturate(1.2) hue-rotate(-10deg); }
.world.night img { filter: brightness(.42) saturate(.75) hue-rotate(10deg); }
.world .sun { position: absolute; right: 16%; top: 14%; width: clamp(64px, 8vw, 120px); aspect-ratio: 1; border-radius: 50%; }
.world.dawn .sun { background: #ffc978; box-shadow: 0 0 120px 50px rgba(255, 190, 110, .55); }
.world.day .sun { background: #fff3cf; box-shadow: 0 0 120px 50px rgba(255, 246, 210, .6); }
@media (max-width: 860px) { section:not(.hero) > .world .sun { top: 18px; right: 6%; } }
.world.night .sun { box-shadow: clamp(12px, 1.6vw, 24px) clamp(8px, 1vw, 14px) 0 0 #fff2c4; }
.world .cloud { position: absolute; width: clamp(90px, 11vw, 170px); }
.world .bird { position: absolute; left: 22%; top: 24%; width: clamp(60px, 6vw, 96px); animation: glide 18s linear infinite; }
@keyframes glide { from { transform: translate(-20vw, 2vh) rotate(4deg); } 50% { transform: translate(30vw, -2vh) rotate(-4deg); } to { transform: translate(80vw, 2vh) rotate(4deg); } }
.world .daisy { position: absolute; width: clamp(16px, 1.6vw, 26px); }
.stars span { position: absolute; border-radius: 50%; background: #fff6d8; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .25; } }
.over { position: relative; z-index: 1; }

/* Frosted panels keep text readable on the art */
.glass { padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: rgba(255, 250, 243, .84); backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 30px 60px -36px rgba(12, 43, 51, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
.glass-dark { padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: rgba(4, 22, 28, .64); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08); color: #fff; }

/* Type */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .98; letter-spacing: -.03em; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; }
.h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--soft); }
.on-dark .lead { color: #b9d2d5; }
/* Text that crosses the mountain: a soft dark halo keeps it readable over the snow. */
.scrim h2, .scrim .lead { text-shadow: 0 0 18px rgba(5, 21, 27, .95), 0 1px 3px rgba(5, 21, 27, .9); }
.scrim .lead { color: #d4e6e8; }
.source { font-size: 13.5px; line-height: 1.5; color: var(--soft); }
.on-dark .source { color: #8fb3b8; }

/* Layout helpers */
.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section.sunk { background: var(--sunk); }
.section.dark { background: var(--night); color: #fff; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); }
.split > * { flex: 1 1 400px; }
.split.reverse { flex-direction: row-reverse; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }
/* Fixed column counts that step down in whole rows, so no card is left alone on a row. */
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-5 { display: flex; flex-wrap: wrap; justify-content: center; }   /* 3 then 2, centred */
  .grid.cols-5 > * { flex: 0 1 calc((100% - 32px) / 3); }
}
@media (max-width: 760px) { .grid.cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid.cols-5 > * { flex-basis: 100%; } }
@media (max-width: 560px) { .grid.cols-2 { grid-template-columns: 1fr; } }
.card { border-radius: 28px; padding: 32px; background: var(--sunk); }
.checks { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  background: no-repeat center/22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F6647' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.on-dark .checks li::before { filter: brightness(2.4); }

/* Phone frames around real app screens */
.phone { width: var(--w, 300px); padding: calc(var(--w, 300px) * .035); border-radius: calc(var(--w, 300px) * .16); background: #0e1c20;
  box-shadow: 0 40px 80px -24px rgba(12, 43, 51, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; object-position: top; border-radius: calc(var(--w, 300px) * .13); background: var(--sunk); }

/* Hero */
.hero { position: relative; min-height: 900px; padding: 150px 0 120px; overflow-x: clip; }
.hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 460px; max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.hero-art { flex: 1 1 380px; position: relative; display: flex; justify-content: center; min-height: 640px; }
.hero-art .phone { transform: rotate(-3deg); }
.hero-walia { position: absolute; left: max(0px, calc(50% - 300px)); bottom: -6px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero-walia img { height: clamp(170px, 18vw, 250px); width: auto; }
.bubble { padding: 10px 16px; border-radius: 18px 18px 18px 4px; background: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 12px 30px -14px rgba(12, 43, 51, .5); }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 99px; background: var(--amberwash); font-size: 14px; font-weight: 700; color: #5c3a00; }
.pill::before { flex: none; content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e39b12; }
@media (max-width: 700px) { .hero { min-height: 0; padding-top: 120px; } .hero-art { min-height: 560px; } }

.stats { position: relative; z-index: 2; margin-top: -72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #e2ecea; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(12, 43, 51, .35); }
.stats div { background: #fff; padding: 28px; }
.stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.02em; }
.stats span { font-size: 15.5px; color: var(--soft); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats div { padding: 20px 18px; } .stats span { font-size: 14px; } }

/* Results */
.hundred { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(5px, .7vw, 9px); width: 100%; max-width: 360px; }
.hundred span { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.hundred span.pass { background: var(--gold); }
.dots-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px; border-radius: 32px; background: var(--ink); color: #fff; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 15px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.legend i.pass { background: var(--gold); }
.chart { display: flex; gap: clamp(8px, 1.4vw, 20px); align-items: flex-end; min-height: 260px; padding: 20px; border-radius: 24px; background: #e8f0ee; }
.on-dark .chart { background: rgba(255, 255, 255, .06); }
.chart div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.chart b { font-family: var(--display); font-size: clamp(16px, 1.6vw, 22px); }
.chart i { width: 100%; max-width: 72px; border-radius: 12px 12px 4px 4px; background: #8fc9d3; }
.on-dark .chart i { background: #2e6f80; }
.chart .now b { color: #c77a00; }
.on-dark .chart .now b { color: var(--gold); }
.chart .now i { background: linear-gradient(180deg, var(--gold), #e39b12); }
.chart small { font-size: 14px; font-weight: 700; color: var(--soft); }
.on-dark .chart small { color: #a3bdc0; }
.fact { border-radius: 24px; padding: 22px 24px; background: var(--sunk); }
.fact b { font-family: var(--display); font-size: 34px; }
.fact.alarm { background: #fdecea; color: #5c1a16; }
.fact.alarm b { color: #8c1d18; }
.on-dark .fact { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #cfe3e6; }

/* Steps, features, subjects, plans */
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 32px 0; border-radius: 28px; overflow: hidden; min-height: 560px; }
.step .num { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--teal); }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .step { padding: 24px 20px 0; } }
.step .phone { --w: min(260px, 22vw); }
.step .shot { margin-top: auto; padding-top: 24px; height: min(330px, calc(26vw + 24px)); overflow: hidden; display: flex; justify-content: center; }
@media (max-width: 700px) { .step .phone { --w: 260px; } .step .shot { height: 330px; } }
.feature-art { position: relative; display: flex; justify-content: center; padding: 40px 0; }
.feature-art .glow { position: absolute; inset: 0 8%; border-radius: 40px; }
.feature-art .phone { position: relative; --w: 290px; }
.feature-art .walia { position: absolute; bottom: 20px; height: clamp(120px, 12vw, 170px); width: auto; }
.walia-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(12px, 3vw, 48px); margin-top: 28px; }
.walia-row figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.walia-row img { height: clamp(110px, 12vw, 170px); width: auto; }
.walia-row figcaption { font-size: 14px; font-weight: 700; color: #f2d59a; }
@media (max-width: 560px) {
  .walia-row { flex-wrap: nowrap; gap: 6px; width: 100%; }
  .walia-row figure { flex: 1 1 0; min-width: 0; }
  .walia-row img { height: 92px; width: 100%; object-fit: contain; }
  .walia-row figcaption { font-size: 12.5px; white-space: nowrap; }
}
/* Nine subjects: a 3 by 3 grid at every width, so no row is left half empty. */
.subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.subject { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 18px; row-gap: 4px;
  padding: 20px 22px; border-radius: 24px; background: var(--sunk); }
.subject img { grid-row: span 2; height: 72px; width: 72px; object-fit: contain; }
.subject b { align-self: end; font-family: var(--display); font-size: 20px; }
.subject span { font-size: 14px; color: var(--soft); }
@media (max-width: 640px) {
  .subjects { gap: 10px; }
  .subject { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; align-content: start; justify-items: center; text-align: center; padding: 16px 8px; border-radius: 18px; row-gap: 2px; }
  .subject img { grid-row: auto; height: 52px; width: 52px; margin-bottom: 8px; }
  .subject b { align-self: start; }
  .subject b { font-size: 15px; }
  .subject span { font-size: 12.5px; }
}
.plans { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 26px 26px; border-radius: 28px; background: #fff; border: 1.5px solid var(--line); }
.plan.best { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(12, 43, 51, .7); }
.plan .tag { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--teal2); }
.plan.best .tag { color: var(--gold); }
.plan .name { font-family: var(--display); font-weight: 800; font-size: 26px; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -.02em; }
.plan .price small { font-family: var(--body); font-size: 15px; font-weight: 400; opacity: .8; }
.plan .checks { font-size: 15.5px; }
.plan.best .checks li::before { filter: hue-rotate(-30deg) brightness(2.2); }
.note { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border-radius: 24px; background: #fff; font-size: 16px; }
.note img { height: 72px; width: auto; }
.cta-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: clamp(36px, 5vw, 64px); border-radius: 36px;
  background: linear-gradient(120deg, #0b3a47 0%, #0b5e75 55%, #0e7490 100%); color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 181, 64, .35), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band > div { flex: 1 1 420px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 20px; background: var(--sunk); }
.section.sunk .faq details { background: #fff; }
/* The whole row is the tap target, not just the line of text. */
.faq summary { cursor: pointer; padding: 20px 24px; font-family: var(--display); font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 24px 20px; margin-top: -8px; font-size: 16.5px; line-height: 1.55; color: var(--soft); }

/* Sponsor page */
.pass-cards { position: relative; flex: 1 1 420px; min-height: 520px; }
.pass-card { position: absolute; width: clamp(260px, 26vw, 360px); aspect-ratio: 1.58; border-radius: 26px; padding: 24px 26px; color: #fff; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(135deg, #0e7490 0%, #0b5e75 45%, #0c2b33 100%); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.pass-card .mark { position: absolute; right: -30px; bottom: -40px; width: 200px; opacity: .08; filter: invert(1); }
.pass-card .top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #f2d59a; }
.pass-card .top img { width: 34px; height: 34px; border-radius: 10px; }
.pass-card b { margin-top: auto; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); }
.pass-card small { font-size: 14px; color: #cfe3e6; }
.pass-card .gift { margin-top: 12px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.pass-card .gift i { width: 22px; height: 22px; border-radius: 6px; background: #fff; color: var(--ink); font-style: normal; font-weight: 800; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.tier { border-radius: 20px; padding: 18px 16px; border: 1.5px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 4px; }
#tiers { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) {
  #tiers { grid-template-columns: 1fr; }
  .tier { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; }
  .tier .p { grid-column: 2; grid-row: 1; margin: 0; }
  .tier span:last-child { grid-column: 2; grid-row: 2; text-align: right; }
}
.tier.on { border: 2px solid var(--teal); background: var(--tealwash); }
.tier b { font-family: var(--display); font-size: 18px; }
.tier .p { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--teal2); }
.tier span { font-size: 13.5px; color: var(--soft); }
.calc { border-radius: 32px; background: var(--ink); color: #fff; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 22px; box-shadow: 0 40px 80px -40px rgba(12, 43, 51, .8); }
.calc .n { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -.03em; }
.calc input[type=range] { width: 100%; accent-color: var(--gold); height: 32px; }
.calc .quick { display: flex; flex-wrap: wrap; gap: 8px; }
.calc .quick button { min-width: 56px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #2e5560; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.calc .quick button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--goldink); }
.calc hr { border: none; height: 1px; background: #1c3a42; margin: 0; }
.calc .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: #cfe3e6; }
.calc .total { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 3.6vw, 48px); color: var(--gold); white-space: nowrap; }
@media (max-width: 560px) {
  .calc .quick { display: grid; grid-template-columns: repeat(5, 1fr); }
  .calc .quick button { min-width: 0; padding: 0; }
  .calc .row { flex-wrap: wrap; row-gap: 4px; }
  .calc .total { font-size: 34px; }
}
.get { border-radius: 22px; background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.get i { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-style: normal; font-size: 18px; }
.get b { font-family: var(--display); font-size: 19px; }
.get p { font-size: 15.5px; color: var(--soft); }
.gift-toast { position: absolute; left: 50%; top: 96px; transform: translateX(-50%); width: min(300px, 92%); border-radius: 18px; background: var(--ink); color: #fff; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); font-size: 14.5px; line-height: 1.35; }
.gift-toast i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: #fff; color: var(--ink); font-style: normal; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.report { border-radius: 32px; border: 1.5px solid var(--line); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; box-shadow: 0 40px 80px -50px rgba(12, 43, 51, .5); }
.report .kpi { border-radius: 20px; background: var(--sunk); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.report .kpi b { font-family: var(--display); font-size: 34px; letter-spacing: -.02em; }
.report .kpi span { font-size: 14px; color: var(--soft); }
.report .kpi em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--leaf); }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 99px; background: var(--amberwash); color: var(--amber); font-size: 13px; font-weight: 700; }
.bar { display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr) 54px; gap: 12px; align-items: center; font-size: 15px; }
.bar .track { position: relative; height: 14px; border-radius: 7px; background: #e2ecea; overflow: hidden; }
.bar .track i { position: absolute; inset: 0 auto 0 0; border-radius: 7px; }
.bar .track .now { background: var(--teal); }
.bar .track .start { background: #8fc9d3; }
.bar b { text-align: right; color: var(--leaf); }
form.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
form.contact label { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 700; }
form.contact .wide { grid-column: 1 / -1; }
form.contact input, form.contact select, form.contact textarea { min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #8fa9ae; font: inherit; font-weight: 400; font-size: 16px; background: #fff; color: var(--ink); }
form.contact .hp { position: absolute; left: -9999px; }
form.contact .status { grid-column: 1 / -1; min-height: 24px; font-weight: 700; }
form.contact .status.ok { color: var(--leaf); }
form.contact .status.err { color: var(--red); }

/* Footer */
.foot { background: var(--night); color: #e4f0ef; padding: 64px 0 40px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-top p { max-width: 340px; color: #a3bdc0; font-size: 15px; margin-top: 12px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.foot-cols b { font-size: 13px; letter-spacing: .08em; color: #8fb3b8; }
.foot-cols a { color: #e4f0ef; text-decoration: none; font-size: 15px; }
.foot-cols a:hover { text-decoration: underline; }
@media (max-width: 860px) { .foot-cols div { gap: 0; } .foot-cols a { padding: 11px 0; } }   /* 44px taps on phones */
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid #1c3a42; font-size: 14px; color: #8fb3b8; }

/* Documents: support, privacy, terms, data deletion and invite pages (site.ts). */
.doc-head { background: var(--sunk); padding: 140px 0 44px; border-bottom: 1px solid var(--line); }
.doc-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; text-wrap: balance; max-width: 820px; }
.doc-head .meta { margin: 12px 0 0; color: var(--soft); font-size: 16px; }
.doc-body { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: clamp(32px, 6vw, 80px); padding-block: 48px 104px; }
.doc-body.solo { grid-template-columns: minmax(0, 720px); }
.toc { position: sticky; top: 24px; align-self: start; font-size: 15px; }
.toc nav { display: flex; flex-direction: column; gap: 2px; }
.toc:not([open]) nav { display: none; }   /* a display on nav would otherwise show it in a closed details */
.toc summary { list-style: none; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: 0 0 8px 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc a { color: var(--ink2); text-decoration: none; padding: 7px 12px; border-radius: 10px; line-height: 1.35; }
.toc a:hover { background: var(--sunk); color: var(--ink); }
.prose { font-size: 18px; line-height: 1.65; color: var(--ink2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 26px; line-height: 1.2; color: var(--ink); margin: 48px 0 12px; scroll-margin-top: 24px; }
.prose h3 { font-size: 19px; color: var(--ink); margin: 28px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose b { color: var(--ink); }
.prose a { color: var(--teal); text-underline-offset: 3px; }
.prose .summary, .prose .callout { background: var(--sunk); border: 1px solid var(--line); border-radius: 22px; padding: 6px 26px 8px; margin: 8px 0 28px; }
.prose .summary h2 { margin-top: 20px; font-size: 21px; }
.prose .callout .code { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: .06em; color: var(--ink); margin-top: -8px; }
@media (max-width: 860px) {
  .doc-head { padding-top: 112px; }
  .doc-body { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
  /* Closed by default on phones, so the policy starts on the first screen. */
  .toc { position: static; border: 1px solid var(--line); border-radius: 18px; padding: 0 6px; }
  .toc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin: 0; padding: 0 12px; }
  .toc summary::after { content: "+"; font-size: 22px; color: var(--teal); }
  .toc[open] summary::after { content: "−"; }
  .toc nav { padding-bottom: 10px; }
  .toc a { padding: 10px 12px; }
  .prose { font-size: 17px; }
}

/* Watch: the launch video, English or Amharic, wide on screens and tall on phones (site.js). */
.watch { background: var(--night); }
.lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lang button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28); background: transparent;
  color: #e4f0ef; font: 700 16px var(--body); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.lang .weight { margin-left: 6px; font-size: 14px; color: #a3bdc0; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 28px; background: #0c2b33;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
@media (max-width: 700px) {
  /* width sets the height (9:16), capped so the whole video fits on screen */
  .film video { aspect-ratio: 9 / 16; width: min(100%, calc(78vh * 9 / 16)); height: auto; margin: 0 auto; border-radius: 22px; }
}
