/* Ray7een website — UI/UX v2 identity (ui-ux-v2/tokens.css). Logical properties throughout so /ar (RTL) and /en (LTR) share one sheet. */
@font-face { font-family: 'Baloo Bhaijaan 2'; src: url('fonts/BalooBhaijaan2-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Baloo Bhaijaan 2'; src: url('fonts/BalooBhaijaan2-800.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Readex Pro'; src: url('fonts/ReadexPro-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Readex Pro'; src: url('fonts/ReadexPro-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Readex Pro'; src: url('fonts/ReadexPro-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Readex Pro'; src: url('fonts/ReadexPro-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --ease: cubic-bezier(.22, 1, .36, 1);       /* one easing curve for every movement */
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  interpolate-size: allow-keywords;          /* lets the FAQ answers open smoothly where supported */
  --cobalt: #1F3FD1; --cobalt-deep: #13258A; --cobalt-tint: #E4E9FC;
  --cane: #C6E35A; --cane-deep: #4B6510; --cane-tint: #F2F8D9;
  --wash: #F1F3F7; --ink: #0E1430; --ink-2: #5A6178; --line: #D9DDE7; --card: #fff;
  --tassel: #C21E66; --tassel-tint: #FBE6EF;
  --display: 'Baloo Bhaijaan 2', 'Readex Pro', system-ui, sans-serif;
  --ui: 'Readex Pro', system-ui, sans-serif;
  --wrap: 1180px;
  --phone-shadow: 0 30px 60px -28px rgba(14, 20, 48, .55);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ui); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--card); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--cane); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--cane); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 50; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- buttons & badges ---------- */
.btn { will-change: transform; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1 var(--ui); border-radius: 14px; padding: 0 20px; height: 48px; border: 0; cursor: pointer; transition: transform .15s ease, filter .15s ease; white-space: nowrap; }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn-cane { background: var(--cane); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-sm { height: 42px; font-size: 15px; padding: 0 16px; border-radius: 12px; }
.btn-lg { height: 62px; font-size: 19px; padding: 0 30px; border-radius: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 12px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); direction: ltr; }
.badge span { display: flex; flex-direction: column; line-height: 1.05; font: 600 17px/1.05 var(--ui); text-align: start; }
.badge small { font: 400 10.5px/1.2 var(--ui); opacity: .85; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(31, 63, 209, .96); backdrop-filter: blur(10px); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 26px/1 var(--display); }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a { opacity: .85; padding-block: 6px; }
.nav-links a:hover { opacity: 1; box-shadow: inset 0 -2px 0 var(--cane); }
.nav-acts { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 12px; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.lang:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.nav .btn-ink { background: #fff; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cobalt); color: #fff; padding-block: 56px 96px; }
.hero-route { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; color: rgba(255,255,255,.06); pointer-events: none; }
[dir="rtl"] .hero-route { transform: scaleX(-1); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero-h { font: 800 clamp(40px, 5.2vw, 76px)/1.15 var(--display); letter-spacing: 0; }
.hero-q, .hero-final { display: block; white-space: nowrap; }
.hero-q { min-height: 1.12em; }
.hero-final { color: var(--cane); }
.caret { display: inline-block; width: .09em; height: .82em; margin-inline-start: .08em; background: var(--cane); vertical-align: -.06em; border-radius: 2px; }
.hero-sub { margin-top: 22px; max-width: 34em; font-size: 19px; line-height: 1.75; color: rgba(255,255,255,.86); }
.dl { margin-top: 34px; display: grid; justify-items: start; gap: 14px; }
.slogan { font: 700 22px/1.4 var(--display); color: #fff; }
.hero-art { position: relative; min-height: 600px; }
.phone { background: #0B0F22; padding: 9px; border-radius: 42px; box-shadow: var(--phone-shadow); }
.phone img { border-radius: 33px; width: 100%; }
/* the seat map overlaps the phone where its text ends: left edge for the Arabic screens, right edge for the English ones */
.hero-phone { position: absolute; right: 0; top: 0; width: 290px; }
[dir="ltr"] .hero-phone { right: auto; left: 0; }
[dir="ltr"] .van { left: auto; right: 0; }

/* the seat map: a top-down HiAce */
.van { position: absolute; left: 0; bottom: -18px; width: 262px; background: #fff; color: var(--ink); border-radius: 26px; padding: 16px 18px 18px; box-shadow: 0 40px 70px -30px rgba(5, 10, 40, .65); }
.van-head { display: grid; gap: 2px; margin-bottom: 12px; }
.van-head b { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.van-left { font: 800 26px/1.15 var(--display); color: var(--ink); }
.van-body { background: var(--wash); border-radius: 60px 60px 22px 22px; padding: 16px 18px 18px; }
.van-wind { height: 12px; border-radius: 30px 30px 6px 6px; background: var(--cobalt-tint); margin: 0 18px 14px; }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; direction: ltr; }
.s { display: grid; place-items: center; aspect-ratio: 1 / 1.05; border-radius: 11px 11px 15px 15px; box-shadow: inset 0 0 0 2px var(--line); background: #fff; }
.s.on { background: var(--cobalt); box-shadow: none; }
.s.drv { background: var(--line); box-shadow: none; color: var(--ink-2); }
.s.drv svg { width: 60%; height: 60%; }
.s.mine { background: var(--cane); box-shadow: inset 0 0 0 2px var(--cane-deep); color: var(--ink); }
.s.mine svg { width: 58%; height: 58%; }
.van-legend { display: flex; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.van-legend span { display: inline-flex; align-items: center; gap: 6px; }
.van-legend .s { width: 13px; aspect-ratio: 1; border-radius: 4px; }

/* ---------- section scaffolding ---------- */
.sec-h { font: 800 clamp(32px, 3.6vw, 48px)/1.25 var(--display); }

/* ---------- problem ---------- */
.problem { background: var(--wash); padding-block: 104px; }
.problem-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.big { font: 800 clamp(38px, 4.6vw, 64px)/1.2 var(--display); }
.problem-side > p { font-size: 18px; color: var(--ink-2); max-width: 32em; }
.pains { margin-top: 26px; border-top: 1px solid var(--line); }
.pains li { display: flex; align-items: center; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.pains svg { color: var(--tassel); flex-shrink: 0; }
.answer { margin-top: 30px; display: flex; align-items: center; gap: 14px; font: 700 23px/1.45 var(--display); color: var(--cobalt); }
.answer svg { flex-shrink: 0; }

/* ---------- how: a route with four stations ---------- */
.how { padding-block: 104px; }
.route { --gap: 28px; margin-top: 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.stop { position: relative; padding-top: 60px; }
.stop::before { content: ''; position: absolute; top: 18px; inset-inline-start: 18px; width: calc(100% + var(--gap)); height: 4px; margin-top: -2px; background: var(--ink); border-radius: 4px; }
.stop:last-child::before { display: none; }
.dot { position: absolute; top: 0; inset-inline-start: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--ink); display: grid; place-items: center; font: 800 16px/1 var(--display); z-index: 1; }
.dot.last { background: var(--cane); }
.stop .phone { width: min(100%, 220px); border-radius: 34px; padding: 7px; margin-bottom: 22px; }
.stop .phone img { border-radius: 27px; }
.stop h3 { font: 700 22px/1.35 var(--display); margin-bottom: 4px; }
.stop p { color: var(--ink-2); font-size: 16px; }
.scan { position: relative; overflow: hidden; }
.sweep { display: none; }

/* ---------- features: one long perforated ticket ---------- */
.features { background: var(--cobalt-tint); padding-block: 104px; }
.ticket { --notch: 22px; margin-top: 48px; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(19, 37, 138, .45); }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px; background: var(--ink); color: #fff; }
.tk-logo { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); }
.tk-no { font-size: 13px; color: rgba(255,255,255,.65); direction: ltr; }
.stubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stub { position: relative; padding: 32px 30px 34px; }
.stub svg { color: var(--cobalt); margin-bottom: 14px; }
.stub h3 { font: 700 22px/1.35 var(--display); margin-bottom: 6px; }
.stub p { color: var(--ink-2); font-size: 16px; }
/* perforations between stubs + notches on the row line */
.stub:not(:nth-child(3n)) { border-inline-end: 2px dashed var(--line); }
.stub:nth-child(-n+3) { border-bottom: 2px dashed var(--line); }
.stub:nth-child(1)::before, .stub:nth-child(3)::after { content: ''; position: absolute; bottom: calc(var(--notch) / -2 - 1px); width: var(--notch); height: var(--notch); border-radius: 50%; background: var(--cobalt-tint); }
.stub:nth-child(1)::before { inset-inline-start: calc(var(--notch) / -2); }
.stub:nth-child(3)::after { inset-inline-end: calc(var(--notch) / -2); }

/* ---------- women ---------- */
.women { background: var(--tassel-tint); padding-block: 96px; overflow: hidden; }
.women-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--tassel); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.women-copy p { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 32em; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks svg { color: var(--tassel); flex-shrink: 0; margin-top: 4px; }
.women-phone { width: 270px; justify-self: center; rotate: -4deg; }
[dir="ltr"] .women-phone { rotate: 4deg; }

/* ---------- faq ---------- */
.faq { padding-block: 104px; }
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; font: 600 19px/1.5 var(--ui); cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex-shrink: 0; color: var(--cobalt); transition: rotate .35s var(--ease); }
.qa details[open] summary svg { rotate: 45deg; }
.qa details p { padding-bottom: 24px; color: var(--ink-2); max-width: 40em; }

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; background: var(--cobalt-deep); color: #fff; padding-block: 110px; }
.final-route { position: absolute; inset-inline-end: -120px; top: 50%; width: 560px; height: 560px; translate: 0 -50%; color: rgba(198, 227, 90, .14); }
[dir="rtl"] .final-route { transform: scaleX(-1); }
.final-in { position: relative; display: grid; justify-items: start; gap: 18px; }
.final h2 { font: 800 clamp(36px, 4.8vw, 66px)/1.2 var(--display); max-width: 14em; }
.final p { font: 700 24px/1.4 var(--display); color: var(--cane); margin-bottom: 10px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255,255,255,.75); padding-block: 56px 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; }
.foot .logo { color: #fff; }
.foot-brand p { margin-top: 10px; }
.foot-links { display: grid; gap: 10px; }
.foot-links a:hover, .foot-social a:hover { color: #fff; }
.wa { display: inline-flex; align-items: center; gap: 8px; color: var(--cane); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }
.foot-copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- QR dialog ---------- */
.qr-dlg { border: 0; border-radius: 26px; padding: 30px; width: min(430px, 100% - 32px); color: var(--ink); text-align: center; box-shadow: 0 40px 80px -30px rgba(5, 10, 40, .6); }
.qr-dlg::backdrop { background: rgba(14, 20, 48, .55); backdrop-filter: blur(3px); }
.qr-dlg h2 { font: 800 26px/1.3 var(--display); }
.qr-dlg p { color: var(--ink-2); font-size: 15px; margin: 6px 0 18px; }
.qr-box { width: 200px; height: 200px; margin: 0 auto 20px; padding: 12px; border-radius: 18px; box-shadow: inset 0 0 0 2px var(--line); }
.qr-box svg, .qr-box img { width: 100%; height: 100%; }
.qr-dlg .badges { justify-content: center; }
.qr-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--wash); color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .hero-in, .problem-in, .women-in, .faq-in { grid-template-columns: 1fr; }
  .hero { padding-block: 40px 72px; }
  .hero-art { min-height: 520px; width: min(100%, 520px); justify-self: center; }
  .hero-phone { width: 250px; }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stop:nth-child(2)::before { display: none; }
  .stubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stub { border: 0 !important; border-bottom: 2px dashed var(--line) !important; }
  .stub:nth-child(odd) { border-inline-end: 2px dashed var(--line) !important; }
  .stub:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .stub::before, .stub::after { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-social { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-in { height: 64px; gap: 12px; }
  .logo { font-size: 22px; }
  .logo svg { width: 30px; height: 30px; }
  .nav .btn-sm { display: none; }
  .hero-sub { font-size: 17px; }
  .slogan { font-size: 20px; }
  .btn-lg { width: 100%; }
  .dl { justify-items: stretch; }
  .badges { justify-content: center; }
  .hero-art { min-height: 470px; }
  .hero-phone { width: 210px; }
  .van { width: 214px; padding: 12px 13px 14px; border-radius: 22px; }
  .van-left { font-size: 21px; }
  .van-body { padding: 12px 13px 13px; }
  .seats { gap: 7px; }
  .van-legend { gap: 8px; font-size: 11px; }
  .problem, .how, .features, .faq { padding-block: 72px; }
  .women, .final { padding-block: 72px; }
  .route { grid-template-columns: 1fr; row-gap: 0; }
  .stop { display: grid; grid-template-columns: 120px 1fr; column-gap: 18px; align-items: center; padding: 0 0 36px; padding-inline-start: 54px; }
  .stop::before { top: 18px; inset-inline-start: 16px; width: 4px; height: 100%; margin: 0; }
  .stop:nth-child(2)::before { display: block; }
  .stop:last-child::before { display: none; }
  .dot { top: 0; }
  .stop .phone { grid-row: span 2; margin: 0; border-radius: 22px; padding: 5px; }
  .stop .phone img { border-radius: 18px; }
  .stop h3 { align-self: end; font-size: 20px; }
  .stop p { align-self: start; font-size: 15px; }
  .stubs { grid-template-columns: 1fr; }
  .stub, .stub:nth-child(odd) { border-inline-end: 0 !important; border-bottom: 2px dashed var(--line) !important; padding: 24px 22px; }
  .stub:last-child { border-bottom: 0 !important; }
  .women-phone { width: 220px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ===================== motion (added by site.js; everything below is skipped for reduced motion) ===================== */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .1; } }
@keyframes pop { from { transform: scale(.7); } to { transform: scale(1); } }
@keyframes tick { from { opacity: .25; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@keyframes pulse { 50% { box-shadow: inset 0 0 0 2px var(--cane-deep), 0 0 0 6px rgba(198, 227, 90, .45); } }
@keyframes sweep { 0% { top: 30%; } 100% { top: 58%; } }

.hero-q.typing .caret { animation: blink 1.1s ease-in-out infinite; }
.hero-q.busy .caret { animation: none; opacity: 1; }
.van { cursor: pointer; }
.s { transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.s:not(.mine):not(.drv) svg { display: none; }
.s.pop { animation: pop .55s var(--spring); }
.van-left.tick { animation: tick .4s var(--ease); }
.s.free-mine { background: var(--cane-tint); box-shadow: inset 0 0 0 2px var(--cane-deep); animation: pulse 1.3s ease-in-out infinite; }
.van-left { display: inline-block; transition: color .4s var(--ease); }
.van.done .van-left { color: var(--cobalt); }

/* how it works: the route draws itself, stations pop, phones rise — one sequence when it scrolls into view */
.motion .route .stop::before { transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--ease); }
[dir="rtl"].motion .route .stop::before, .motion [dir="rtl"] .route .stop::before { transform-origin: right center; }
.motion .route .dot, .motion .route .phone { opacity: 0; transition: opacity .7s var(--ease), translate .8s var(--ease), scale .55s var(--spring); }
.motion .route .dot { scale: .4; }
.motion .route .phone { translate: 0 28px; }
.motion .route.in .stop::before { transform: scaleX(1); }
.motion .route.in .dot { opacity: 1; scale: 1; }
.motion .route.in .phone { opacity: 1; translate: 0 0; }
.route .stop:nth-child(1) { --d: 0s; } .route .stop:nth-child(2) { --d: .55s; } .route .stop:nth-child(3) { --d: 1.1s; } .route .stop:nth-child(4) { --d: 1.65s; }
.motion .route .stop::before { transition-delay: calc(var(--d) + .25s); }
.motion .route .dot { transition-delay: var(--d); }
.motion .route .phone { transition-delay: calc(var(--d) + .1s); }

/* step 4: the scan screen sweeps, then turns into the green boarded screen */
.scan { display: grid; }
.scan img { grid-area: 1 / 1; }
.scan .after { opacity: 1; }
.motion .scan .after { opacity: 0; transition: opacity .6s var(--ease); }
.motion .route.in .scan .after { animation: boarded 6s ease-in-out 2.4s infinite; }
@keyframes boarded { 0%, 45% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }
.motion .scan .sweep { display: block; position: absolute; inset-inline: 22%; height: 3px; border-radius: 3px; background: var(--cane); box-shadow: 0 0 14px 3px rgba(198, 227, 90, .75); top: 30%; opacity: 0; }
.motion .route.in .scan .sweep { animation: sweep .9s ease-in-out 2.4s infinite alternate, sweepvis 6s linear 2.4s infinite; }
@keyframes sweepvis { 0%, 44% { opacity: 1; } 46%, 100% { opacity: 0; } }

.motion .women-phone { opacity: 0; translate: 0 40px; transition: opacity .8s var(--ease), translate .9s var(--ease); }
.motion .women-phone.in { opacity: 1; translate: 0 0; }

@media (max-width: 640px) {
  .motion .route .stop::before { transform: scaleY(0); transform-origin: center top !important; }
  .motion .route.in .stop::before { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .s.free-mine { animation: none; }
}

/* ===================== sub-pages: privacy, delete account, download ===================== */
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); direction: ltr; }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.doc { background: var(--wash); padding-block: 64px 96px; }
.doc-in { max-width: 760px; }
.legal { background: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.legal h1 { font: 800 clamp(32px, 4vw, 46px)/1.25 var(--display); }
.legal .updated { color: var(--ink-2); font-size: 14px; margin: 6px 0 22px; }
.legal h2 { font: 700 24px/1.35 var(--display); margin: 34px 0 10px; }
.legal p { margin-bottom: 12px; }
.legal ul, .legal ol { display: grid; gap: 10px; margin-bottom: 12px; }
.legal ul li { position: relative; padding-inline-start: 22px; }
.legal ul li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .7em; width: 8px; height: 8px; border-radius: 3px; background: var(--cobalt); }
.legal ol { counter-reset: n; }
.legal ol li { counter-increment: n; position: relative; padding-inline-start: 40px; min-height: 28px; }
.legal ol li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; font: 800 14px/1 var(--display); }
.legal a:not(.btn) { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.legal b { font-weight: 600; }
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.getapp { background: #fff; border-radius: 28px; padding: 56px 28px; display: grid; justify-items: center; text-align: center; gap: 16px; }
.getapp h1 { font: 800 44px/1.2 var(--display); }
.getapp p { color: var(--ink-2); max-width: 30em; }
.getapp .badges { justify-content: center; }
.getapp .qr-box { margin: 8px auto 0; }
.getapp .muted { font-size: 14px; }
@media (max-width: 640px) { .getapp .qr-box, .getapp .muted { display: none; } }

/* FAQ answers open smoothly in browsers that support ::details-content; others just open */
.qa details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.qa details[open]::details-content { block-size: auto; }

/* back to top */
.to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--cane); color: var(--ink); box-shadow: 0 14px 30px -10px rgba(14, 20, 48, .45);
  opacity: 0; translate: 0 18px; pointer-events: none; transition: opacity .45s var(--ease), translate .5s var(--ease), background-color .2s ease; }
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: #d3ee6b; }
.to-top svg { transition: translate .3s var(--ease); }
.to-top:hover svg { translate: 0 -2px; }
@media (max-width: 640px) { .to-top { bottom: 18px; inset-inline-end: 18px; width: 50px; height: 50px; } }
