/* Generated by build.mjs from src/tokens.mjs — do not edit dist output. */
:root {
  color-scheme: light;
  --primary: #1878B2;
  --primary-ink: #FFFFFF;
  --primary-text: #14679B;
  --primary-soft: #E3F2FB;
  --accent: #5BB8E8;
  --ink: #0F2A3D;
  --ink-2: #4E6475;
  --ink-3: #4E6475;
  --bg: #F4F9FC;
  --surface: #FFFFFF;
  --surface-2: #E9F3F9;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-line: rgba(15, 42, 61, 0.08);
  --line: rgba(15, 42, 61, 0.09);
  --line-strong: rgba(15, 42, 61, 0.16);
  --taken: #2E9E6E;
  --taken-ink: #1F5E43;
  --taken-soft: #DDF3E8;
  --late: #F6C445;
  --late-ink: #6B4A00;
  --late-soft: #FFF4D1;
  --escal: #C0392B;
  --escal-soft: #FBE4E1;
  --mark-tint: #5BB8E8;
  --device: #0E1A24;
  --device-edge: #2A3B49;
  --head-glass: rgba(244, 249, 252, 0.72);
  --shadow: 0 1px 2px rgba(15, 42, 61, 0.05), 0 16px 40px -16px rgba(15, 42, 61, 0.18);
  --focus: #0B5FA5;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --primary: #5BB8E8;
  --primary-ink: #062538;
  --primary-text: #5BB8E8;
  --primary-soft: rgba(91, 184, 232, 0.16);
  --accent: #5BB8E8;
  --ink: #EAF2F7;
  --ink-2: #A9B4BD;
  --ink-3: #A9B4BD;
  --bg: #0B1620;
  --surface: #132331;
  --surface-2: #1A2C3B;
  --glass: rgba(22, 40, 58, 0.62);
  --glass-strong: rgba(22, 40, 58, 0.82);
  --glass-edge: rgba(234, 242, 247, 0.14);
  --glass-line: rgba(234, 242, 247, 0.08);
  --line: rgba(234, 242, 247, 0.10);
  --line-strong: rgba(234, 242, 247, 0.18);
  --taken: #2E9E6E;
  --taken-ink: #5CCB98;
  --taken-soft: rgba(46, 158, 110, 0.18);
  --late: #F6C445;
  --late-ink: #F6C445;
  --late-soft: rgba(246, 196, 69, 0.14);
  --escal: #F07A6E;
  --escal-soft: rgba(192, 57, 43, 0.2);
  --mark-tint: #BFE6F7;
  --device: #04090E;
  --device-edge: #2A3B49;
  --head-glass: rgba(11, 22, 32, 0.72);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  --focus: #9FD6F5;
}
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary: #5BB8E8;
  --primary-ink: #062538;
  --primary-text: #5BB8E8;
  --primary-soft: rgba(91, 184, 232, 0.16);
  --accent: #5BB8E8;
  --ink: #EAF2F7;
  --ink-2: #A9B4BD;
  --ink-3: #A9B4BD;
  --bg: #0B1620;
  --surface: #132331;
  --surface-2: #1A2C3B;
  --glass: rgba(22, 40, 58, 0.62);
  --glass-strong: rgba(22, 40, 58, 0.82);
  --glass-edge: rgba(234, 242, 247, 0.14);
  --glass-line: rgba(234, 242, 247, 0.08);
  --line: rgba(234, 242, 247, 0.10);
  --line-strong: rgba(234, 242, 247, 0.18);
  --taken: #2E9E6E;
  --taken-ink: #5CCB98;
  --taken-soft: rgba(46, 158, 110, 0.18);
  --late: #F6C445;
  --late-ink: #F6C445;
  --late-soft: rgba(246, 196, 69, 0.14);
  --escal: #F07A6E;
  --escal-soft: rgba(192, 57, 43, 0.2);
  --mark-tint: #BFE6F7;
  --device: #04090E;
  --device-edge: #2A3B49;
  --head-glass: rgba(11, 22, 32, 0.72);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  --focus: #9FD6F5;
}
/* Birr — site styles. Tokens are prepended by build.mjs (src/tokens.mjs).
   8-pt grid · radii: cards 20, buttons 14, chips 10 · no gradients except the brand mark. */

/* Self-hosted fallback fonts (OFL; subset to the site's characters; variable weight). Only fetched where
   the Apple system font is unavailable. Licences: /assets/fonts/OFL-*.txt */
@font-face {
  font-family: "Birr Noto Sans Arabic";
  src: url("/assets/fonts/noto-sans-arabic-birr.woff2") format("woff2");
  font-weight: 100 900;
  font-display: optional; /* no late swap → no layout shift; cached for the next page */
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+00AB, U+00BB;
}
@font-face {
  font-family: "Birr Inter";
  src: url("/assets/fonts/inter-birr.woff2") format("woff2");
  font-weight: 100 900;
  font-display: optional; /* no late swap → no layout shift; cached for the next page */
  unicode-range: U+0000-00FF, U+2010-2027, U+2030-205E, U+20AC, U+2122, U+2190-2193;
}

:root {
  --r-card: 20px;
  --r-btn: 14px;
  --r-chip: 10px;
  /* Apple system font first; elsewhere the self-hosted fallbacks (match the logo), never a third party. */
  --font-ar: -apple-system, BlinkMacSystemFont, "SF Arabic", "Birr Noto Sans Arabic", "Birr Inter", sans-serif;
  --font-en: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Birr Inter", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --head-h: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

main {
  flex: 1;
}

[lang|="ar"] {
  font-family: var(--font-ar);
}
[lang|="en"] {
  font-family: var(--font-en);
}
html[lang="ar"] body {
  line-height: 1.75;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}
svg.i {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
[dir="rtl"] svg.dir {
  transform: scaleX(-1);
}

a {
  color: var(--primary-text);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 8px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 40px);
}
.narrow-wrap {
  max-width: 800px;
}
.center {
  text-align: center;
}
.muted {
  margin: 0;
  color: var(--ink-2);
}
.fine {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- Type ---------------------------------------------------------------------------- */
.eyebrow {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-text);
}
.display {
  font-size: clamp(44px, 8.6vw, 96px);
  line-height: 1.06;
  margin: 8px auto 24px;
  max-width: 13em;
}
html[lang="ar"] .display {
  line-height: 1.3;
}
.h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.h2 {
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
}
html[lang="ar"] .h1,
html[lang="ar"] .h2 {
  line-height: 1.3;
}
.h3 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.h4 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.display:lang(en),
.h1:lang(en),
.h2:lang(en) {
  letter-spacing: -0.022em;
}
.h3:lang(en) {
  letter-spacing: -0.012em;
}
.lede {
  margin: 0 auto;
  max-width: 660px;
  font-size: clamp(19px, 2.3vw, 23px);
  line-height: 1.5;
  color: var(--ink-2);
}
html[lang="ar"] .lede {
  line-height: 1.75;
}

/* ---------- Header -------------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--head-glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--head-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
}
.brand .lockup img {
  height: 34px;
  width: auto;
}
.nav ul,
.menu-panel ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a,
.menu-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--r-chip);
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav a:hover,
.menu-panel a:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.nav a[aria-current="page"],
.menu-panel a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.tools {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-chip);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  transition: background-color 0.2s var(--ease);
}
.lang:hover {
  background: var(--surface-2);
}
.theme,
.menu summary {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--r-chip);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.theme:hover,
.menu summary:hover {
  background: var(--surface-2);
}
.theme .when-dark {
  display: none;
}
.menu {
  display: none;
}
.menu summary {
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .when-open,
.menu[open] .when-closed {
  display: none;
}
.menu[open] .when-open {
  display: inline-block;
}
.menu-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px clamp(16px, 5vw, 40px) 16px;
}
.menu-panel ul {
  flex-direction: column;
}
.menu-panel a {
  width: 100%;
  min-height: 48px;
  font-size: 17px;
}

@media (max-width: 819px) {
  .nav {
    display: none;
  }
  .menu {
    display: block;
  }
  .head-in {
    gap: 12px;
  }
}

/* ---------- Buttons & store ----------------------------------------------------------------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 32px;
}
.store {
  display: inline-flex;
  border-radius: 12px;
}
.store.center {
  margin-top: 32px;
}
.badge {
  height: 54px;
  width: auto;
}
.badge-on-dark {
  display: none;
}
.logo {
  display: inline-flex;
}
.logo img {
  display: block;
  height: auto;
  max-width: 100%;
}
/* light/dark lockup swap: (0,2,0) beats `.logo img`; the theme rules below are more specific still */
.logo .logo-dark {
  display: none;
}
.final-logo {
  margin-bottom: 16px;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-height: 54px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.soon svg {
  color: var(--primary-text);
}
.soon.center {
  margin-top: 32px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
}
.link-arrow svg {
  transition: translate 0.2s var(--ease);
}
.link-arrow:hover svg {
  translate: 3px 0;
}
[dir="rtl"] .link-arrow:hover svg {
  translate: -3px 0;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--ink-2);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust svg {
  color: var(--taken-ink);
}
.trust.big {
  margin: 32px 0;
  font-size: 16px;
}

/* ---------- Hero ---------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(48px, 8vw, 96px);
  text-align: center;
  overflow: clip;
}
.stage {
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: 64px;
  padding-bottom: 72px;
}
.hero-phone {
  position: relative;
  z-index: 1;
}
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 12px;
  text-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.4;
}
.notif {
  bottom: 40px;
  left: 50%;
  translate: -50% 0;
  width: min(340px, 84vw);
  align-items: center;
  padding: 12px 14px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
}
.notif .app-icon {
  border-radius: 9px;
  flex: none;
}
.notif-body {
  display: grid;
  flex: 1;
  min-width: 0;
}
.notif-head {
  display: flex;
  justify-content: space-between;
  color: var(--ink-3);
  font-size: 12px;
}
.notif-head b {
  color: var(--ink-2);
  font-weight: 600;
}
.notif-title {
  font-weight: 600;
}
.claimcard {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  width: 260px;
}
.cc-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-text);
}
.cc-title {
  font-weight: 600;
  font-size: 15px;
}
.cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.cc-btn.big {
  padding: 14px 22px;
  font-size: 17px;
}
@media (min-width: 980px) {
  .notif {
    top: 22%;
    bottom: auto;
    left: auto;
    translate: none;
    inset-inline-start: calc(50% + 140px);
    width: 300px;
  }
  .claimcard {
    display: flex;
    top: 52%;
    inset-inline-end: calc(50% + 150px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .float {
    animation: rise 0.8s var(--ease) both 0.35s;
  }
  .claimcard {
    animation-delay: 0.6s;
  }
  .hero-phone {
    animation: lift 0.9s var(--ease) both 0.1s;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes lift {
  from {
    transform: translateY(24px);
  }
}

/* ---------- Bands --------------------------------------------------------------------------- */
.band {
  padding-block: clamp(72px, 10vw, 128px);
}
.band.alt {
  background: transparent;
}
.band .eyebrow,
.band .h2,
.band .lede {
  text-align: center;
}
.band .h2 {
  max-width: 18em;
  margin-inline: auto;
}

/* How it works */
.steps {
  display: grid;
  gap: 16px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.step {
  padding: 24px 24px 32px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step-art {
  display: grid;
  place-items: center;
  height: 136px;
  margin-bottom: 24px;
  border-radius: var(--r-btn);
  background: var(--bg);
}
.art {
  width: 168px;
  height: auto;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 15px;
  font-weight: 700;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.step p {
  margin: 0;
  color: var(--ink-2);
}
.a-ring {
  stroke: var(--line-strong);
  stroke-width: 2;
  stroke-dasharray: 4 6;
}
.a-sat {
  fill: var(--surface);
  stroke: var(--primary);
  stroke-width: 2.5;
}
.a-core {
  fill: var(--primary);
}
.a-heart {
  fill: var(--primary-ink);
}
.a-box,
.a-card {
  fill: var(--surface);
  stroke: var(--line-strong);
  stroke-width: 2;
}
.a-label {
  fill: var(--primary-soft);
}
.a-line {
  stroke: var(--ink-3);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.45;
}
.a-frame {
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.a-scan {
  stroke: var(--primary);
  stroke-width: 2;
  opacity: 0.7;
}
.a-ok {
  fill: var(--taken);
}
.a-tick {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Escalation timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line-strong);
}
.tl-step {
  position: relative;
  display: grid;
  gap: 2px;
  padding-inline-start: 36px;
}
.tl-dot {
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--late);
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-0 .tl-dot {
  background: var(--primary);
}
.tl-at {
  font-weight: 700;
  font-size: 15px;
  color: var(--late-ink);
  font-variant-numeric: tabular-nums;
}
.tl-0 .tl-at {
  color: var(--primary-text);
}
.tl-2 .tl-dot,
.tl-3 .tl-dot {
  background: var(--escal);
}
.tl-2 .tl-at,
.tl-3 .tl-at {
  color: var(--escal);
}
.tl-step b {
  font-size: 19px;
  line-height: 1.35;
}
.tl-step > span:last-child {
  color: var(--ink-2);
  font-size: 16px;
}
@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .timeline::before {
    inset-inline: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .tl-step {
    padding-inline-start: 0;
    padding-top: 36px;
  }
  .tl-dot {
    top: 0;
  }
}
.claim-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  max-width: 760px;
  margin: 48px auto 0;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--bg);
  border: 1px solid var(--line);
}
.claim-panel > div {
  flex: 1 1 260px;
}
.claim-title {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.4;
}
.band .fine {
  text-align: center;
}

/* Features */
.feats {
  display: grid;
  gap: 16px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .feats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .feats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.feat {
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.feat-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-text);
}
.feat h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.feat p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}
/* For you · for those you love */
.both {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}
@media (min-width: 860px) {
  .both {
    grid-template-columns: repeat(2, 1fr);
  }
}
.both-card {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.both-card h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.both-card p {
  margin: 0 0 18px;
  color: var(--ink-2);
}
.both-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.both-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
}
.both-list svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--primary-text);
}
.ramadan {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.rm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-chip);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 14px;
}
.rm-chip svg {
  color: var(--primary-text);
}

/* Privacy panel */
.privacy-panel {
  text-align: center;
}
.priv-mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-text);
}

/* Devices */
.devices {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 900px) {
  .devices {
    grid-template-columns: 1.55fr 1fr;
    gap: 20px;
  }
}
.dev {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0;
  padding: 48px clamp(16px, 4vw, 40px) 32px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.dev > .device {
  margin-block: auto;
}
.dev-cap {
  text-align: center;
}
.dev-cap h3 {
  font-size: 21px;
  margin-bottom: 4px;
}
.dev-cap p {
  margin: 0;
  color: var(--ink-2);
}

/* Final */
.final .wrap > svg {
  margin: 0 auto 24px;
  border-radius: 20px;
}

/* ---------- Device frames (stylised, not screenshots) --------------------------------------- */
.device {
  position: relative;
  container-type: inline-size;
  margin-inline: auto;
  text-align: start;
  line-height: 1.35;
  color: var(--ink);
  user-select: none;
}
.device .av {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-text);
  font-style: normal;
  font-weight: 700;
}
.ring {
  flex-shrink: 0;
}
.ring-track {
  stroke: var(--surface-2);
}
.ring-fill {
  stroke: var(--taken);
}

/* iPhone */
.iphone {
  width: min(320px, 74vw);
}
.iphone.small {
  width: min(232px, 60vw);
}
.iphone-screen {
  position: relative;
  aspect-ratio: 0.486;
  padding: 3.3cqw;
  border-radius: 17cqw;
  background: var(--device);
  box-shadow: inset 0 0 0 0.7cqw var(--device-edge), var(--shadow);
}
.island {
  position: absolute;
  z-index: 2;
  top: 6cqw;
  left: 50%;
  width: 29cqw;
  height: 8.6cqw;
  translate: -50% 0;
  border-radius: 99px;
  background: #000;
}
.app {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 17cqw 5.4cqw 0;
  overflow: hidden;
  border-radius: 13.8cqw;
  background: var(--bg);
  font-size: 4.3cqw;
}
/* Cards inside the stylised app: translucent "ice" glass with a 1px highlight edge. */
.app .sum,
.app .dose,
.app .next {
  background: var(--glass-strong);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 0 0 1px var(--glass-line);
}
.chip-circle {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.2cqw 3cqw;
  border-radius: 99px;
  background: var(--primary-soft);
  color: var(--primary-text);
  font-size: 3.5cqw;
  font-weight: 600;
}
.chip-circle .dot {
  width: 2cqw;
  height: 2cqw;
  border-radius: 50%;
  background: var(--primary);
}
.app-title {
  margin: 2.4cqw 0 3.4cqw;
  font-size: 9.6cqw;
  font-weight: 700;
  line-height: 1.2;
}
.app-title:lang(en) {
  letter-spacing: -0.02em;
}
.sum {
  display: flex;
  align-items: center;
  gap: 3.4cqw;
  margin-bottom: 3.4cqw;
  padding: 3.4cqw 4cqw;
  border-radius: 5cqw;
  background: var(--surface);
}
.sum .ring {
  width: 12.5cqw;
}
.sum b {
  display: block;
  font-size: 4.4cqw;
}
.sum span span {
  color: var(--ink-3);
  font-size: 3.3cqw;
}
.doses {
  display: grid;
  gap: 2.4cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dose {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 3cqw;
  padding: 3.4cqw 3.8cqw;
  border-radius: 5cqw;
  background: var(--surface);
}
.dose-mark {
  display: grid;
  place-items: center;
  width: 7.4cqw;
  height: 7.4cqw;
  border-radius: 50%;
}
.dose-mark svg {
  width: 4.4cqw;
  height: 4.4cqw;
}
.dose-mark.is-taken {
  background: var(--taken);
  color: #fff;
}
.dose-mark.is-late {
  background: var(--late-soft);
  color: var(--late-ink);
}
.dose-mark.is-upcoming {
  border: 0.6cqw solid var(--line-strong);
}
.dose-main {
  display: grid;
  min-width: 0;
}
.dose-main b {
  font-size: 4.3cqw;
  font-weight: 600;
}
.dose-note {
  font-size: 3.4cqw;
  color: var(--ink-3);
}
.is-taken .dose-note {
  color: var(--taken-ink);
}
.is-late .dose-note {
  color: var(--late-ink);
  font-weight: 600;
}
.claim {
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  margin-top: 1.6cqw;
  font-size: 3.3cqw;
  font-weight: 600;
  color: var(--primary-text);
}
.av-s {
  width: 5cqw;
  height: 5cqw;
  font-size: 2.8cqw;
}
.dose-time {
  padding-top: 0.6cqw;
  font-size: 3.4cqw;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.next {
  display: grid;
  gap: 0.6cqw;
  margin-top: 3.4cqw;
  padding: 3.4cqw 3.8cqw;
  border-radius: 5cqw;
  background: var(--surface);
}
.next-label {
  font-size: 3cqw;
  font-weight: 700;
  color: var(--primary-text);
}
.next b {
  font-size: 4.3cqw;
  font-weight: 600;
}
.next-when {
  font-size: 3.4cqw;
  color: var(--ink-2);
}
.next .drive-who {
  margin-top: 1.2cqw;
  padding: 1cqw 2.6cqw;
  font-size: 3.2cqw;
}
.next .drive-who svg {
  width: 3.6cqw;
  height: 3.6cqw;
}
.tabdock {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  margin-top: auto;
  padding: 3cqw 0 6.4cqw;
}
.tabbar {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2cqw 1.6cqw;
  border-radius: 99px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 0 0 1px var(--glass-line), var(--shadow);
  font-size: 2.7cqw;
  color: var(--ink-3);
}
.tab-plus {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 14cqw;
  height: 14cqw;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow);
}
.tab-plus svg {
  width: 6.4cqw;
  height: 6.4cqw;
}
.tab {
  display: grid;
  justify-items: center;
  gap: 0.8cqw;
}
.tab svg {
  width: 5.6cqw;
  height: 5.6cqw;
}
.tab {
  padding: 1cqw 0;
  border-radius: 99px;
}
.tab.is-on {
  color: var(--primary-text);
  background: var(--primary-soft);
  font-weight: 600;
}

/* Apple Watch — the crown stays on the physical right in every language. */
.watch {
  width: min(184px, 46vw);
}
.watch .crown,
.watch .side-btn {
  position: absolute;
  right: -3.6cqw;
  width: 4.6cqw;
  border-radius: 2cqw;
  background: var(--device-edge);
}
.watch .crown {
  top: 24%;
  height: 15cqw;
}
.watch .side-btn {
  top: 50%;
  right: -2.4cqw;
  width: 3cqw;
  height: 20cqw;
}
.watch-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4cqw;
  aspect-ratio: 1 / 1.2;
  border: 4.4cqw solid var(--device);
  border-radius: 27cqw;
  background: #000;
  box-shadow: 0 0 0 0.8cqw var(--device-edge), var(--shadow);
  color: #eaf2f7;
}
.ring-watch {
  width: 30cqw;
}
.ring-watch .ring-track {
  stroke: rgba(255, 255, 255, 0.16);
}
.w-time {
  font-size: 12cqw;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.w-name {
  font-size: 7.2cqw;
  color: #a9b4bd;
}
.w-btn {
  display: inline-flex;
  align-items: center;
  gap: 2cqw;
  margin-top: 1.6cqw;
  padding: 3cqw 8cqw;
  border-radius: 99px;
  background: var(--taken);
  color: #062538;
  font-size: 7.2cqw;
  font-weight: 600;
}
.w-btn svg {
  width: 7cqw;
  height: 7cqw;
}

/* iPad */
.ipad {
  width: 100%;
  max-width: 580px;
}
.ipad-screen {
  display: grid;
  grid-template-columns: 34% 1fr;
  aspect-ratio: 4 / 3;
  padding: 2.6cqw;
  border-radius: 4.6cqw;
  background: var(--device);
  box-shadow: inset 0 0 0 0.4cqw var(--device-edge), var(--shadow);
  font-size: 2.3cqw;
}
.pad-side {
  padding: 3cqw 2.4cqw;
  background: var(--surface-2);
  border-start-start-radius: 2.4cqw;
  border-end-start-radius: 2.4cqw;
}
.pad-main {
  display: grid;
  align-content: start;
  gap: 2.4cqw;
  padding: 3cqw;
  background: var(--bg);
  border-start-end-radius: 2.4cqw;
  border-end-end-radius: 2.4cqw;
}
.pad-h {
  margin: 0 0 2cqw;
  font-size: 2.1cqw;
  font-weight: 700;
  color: var(--ink-3);
}
.members {
  display: grid;
  gap: 1cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}
.members li {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.4cqw;
  border-radius: 1.8cqw;
}
.members li.is-duty {
  background: var(--surface);
}
.members .av {
  width: 5.2cqw;
  height: 5.2cqw;
  font-size: 2.3cqw;
}
.members .av-p {
  background: var(--primary);
  color: var(--primary-ink);
}
.members b {
  display: block;
  font-size: 2.3cqw;
}
.members span span {
  font-size: 1.9cqw;
  color: var(--ink-3);
}
.appt,
.qs,
.refill,
.refill-ask {
  display: grid;
  gap: 0.8cqw;
  padding: 2.8cqw;
  border-radius: 2.6cqw;
  background: var(--surface);
}
.appt-label {
  font-size: 1.9cqw;
  font-weight: 700;
  color: var(--primary-text);
}
.appt b {
  font-size: 3.4cqw;
}
.appt-when {
  color: var(--ink-2);
}
.appt-drive {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6cqw;
  margin-top: 1.6cqw;
  padding-top: 1.8cqw;
  border-top: 1px solid var(--line);
  font-size: 2.1cqw;
}
.appt-drive > span {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
}
.appt-drive svg,
.drive-who svg {
  width: 2.6cqw;
  height: 2.6cqw;
}
.drive-who {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  justify-self: start;
  padding: 0.8cqw 1.8cqw;
  border-radius: 99px;
  background: var(--taken-soft);
  color: var(--taken-ink);
  font-weight: 600;
}
.qs ul {
  display: grid;
  gap: 1.4cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qs li {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  font-size: 2.2cqw;
}
.qs li.is-done {
  color: var(--ink-3);
  text-decoration: line-through;
}
.qbox {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.8cqw;
  height: 2.8cqw;
  border-radius: 50%;
  border: 0.3cqw solid var(--line-strong);
  color: #fff;
}
.qbox svg {
  width: 1.8cqw;
  height: 1.8cqw;
}
.is-done .qbox {
  background: var(--taken);
  border-color: var(--taken);
}

/* iPhone Duo (foldable, open) */
.duo {
  width: 100%;
  max-width: 560px;
}
.duo-screen {
  display: grid;
  grid-template-columns: 1fr 0.35cqw 1fr;
  aspect-ratio: 7 / 5;
  padding: 2.4cqw;
  border-radius: 4.4cqw;
  background: var(--device);
  box-shadow: inset 0 0 0 0.4cqw var(--device-edge), var(--shadow);
  font-size: 2.2cqw;
}
.duo-pane {
  display: grid;
  align-content: start;
  gap: 2.4cqw;
  padding: 3.4cqw 3cqw;
  background: var(--bg);
}
.duo-pane:first-child {
  border-start-start-radius: 2.4cqw;
  border-end-start-radius: 2.4cqw;
}
.duo-pane:last-child {
  border-start-end-radius: 2.4cqw;
  border-end-end-radius: 2.4cqw;
}
.hinge {
  background: var(--line-strong);
}
.duo .pad-h {
  margin-bottom: 0;
}
.week {
  display: grid;
  grid-template-columns: auto repeat(7, 1fr);
  gap: 0.9cqw;
  align-items: center;
}
.wk-day {
  text-align: center;
  font-size: 1.9cqw;
  font-weight: 600;
  color: var(--ink-3);
}
.wk-day.is-today {
  color: var(--primary-text);
}
.wk-row {
  padding-inline-end: 0.6cqw;
  font-size: 1.8cqw;
  color: var(--ink-3);
}
.wk-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 1.4cqw;
  background: var(--surface);
  border: 0.25cqw solid var(--line);
  color: #fff;
}
.wk-cell svg {
  width: 2cqw;
  height: 2cqw;
}
.wk-cell.is-taken {
  background: var(--taken);
  border-color: var(--taken);
}
.wk-cell.is-now {
  background: var(--primary-soft);
  border: 0.35cqw solid var(--primary);
}
.refill {
  gap: 1.2cqw;
}
.refill-tag {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  font-size: 2cqw;
  font-weight: 700;
  color: var(--primary-text);
}
.refill-tag svg {
  width: 2.6cqw;
  height: 2.6cqw;
}
.refill b {
  font-size: 3.2cqw;
}
.refill-bar {
  display: block;
  height: 1.3cqw;
  border-radius: 99px;
  background: var(--surface-2);
}
.refill-bar i {
  display: block;
  width: 22%;
  height: 100%;
  border-radius: 99px;
  background: var(--primary);
}
.refill-left {
  font-size: 2cqw;
  color: var(--ink-3);
}
.refill-ask {
  gap: 1.6cqw;
  font-size: 2.3cqw;
  font-weight: 600;
}
.guide {
  display: grid;
  gap: 1cqw;
  padding: 2.8cqw;
  border-radius: 2.6cqw;
  background: var(--surface);
}
.refill-tag.is-guide {
  color: var(--primary-text);
}
.guide b {
  font-size: 2.8cqw;
}
.guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  justify-self: start;
  padding: 0.8cqw 2cqw;
  border-radius: 99px;
  background: var(--primary-soft);
  color: var(--primary-text);
  font-size: 2.1cqw;
  font-weight: 600;
}
.pill-dot {
  width: 3.2cqw;
  height: 1.6cqw;
  border-radius: 99px;
  background: var(--primary);
}

/* ---------- Inner pages --------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(56px, 8vw, 96px) 40px;
}
.page-head .lede {
  margin: 0;
}
.page-head.center .lede {
  margin-inline: auto;
}
.page-head.center .head-logo {
  margin: 0 auto 24px;
}
.page-head .fine {
  margin-top: 16px;
}
.summary {
  margin-bottom: 56px;
  padding: 28px clamp(20px, 4vw, 36px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.sum-list {
  display: grid;
  gap: 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.sum-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.sum-list .feat-icon {
  width: 40px;
  height: 40px;
  margin: 0;
}
.sum-list li > span:last-child {
  color: var(--ink-2);
}
.sum-list b {
  color: var(--ink);
}
.prose {
  padding-bottom: clamp(56px, 8vw, 96px);
}
.prose-sec {
  margin-top: 36px;
}
.h-sec {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.prose p {
  margin: 0 0 12px;
}
.prose ul {
  margin: 0 0 12px;
  padding-inline-start: 22px;
}
.prose li {
  margin: 6px 0;
}
.prose li::marker {
  color: var(--primary-text);
}

/* FAQ */
.faqs {
  border-top: 1px solid var(--line-strong);
}
.faq {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq .chev {
  color: var(--ink-3);
  transition: rotate 0.25s var(--ease);
}
.faq[open] .chev {
  rotate: 180deg;
}
.faq-a {
  padding-bottom: 20px;
  color: var(--ink-2);
}
.faq-a p {
  margin: 0 0 12px;
}
.faq-a ul {
  margin: 0;
  padding-inline-start: 22px;
}
.faq-a li {
  margin: 6px 0;
}
.contact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 48px 0 clamp(56px, 8vw, 96px);
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact .feat-icon {
  margin: 0;
}
.contact p {
  margin: 0;
  color: var(--ink-2);
}

/* About */
.story p {
  margin: 0 0 20px;
  font-size: 19px;
  line-height: 1.7;
}
html[lang="ar"] .story p {
  line-height: 1.95;
}
.meaning {
  margin-top: 48px;
}
.meaning p {
  margin: 0 0 8px;
}
.dedication-full,
.homeland {
  margin: 48px 0 24px;
  padding: 40px clamp(20px, 5vw, 48px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.dedication-full .h3 {
  margin-bottom: 24px;
}
/* Dedication hierarchy: normal paragraphs, LARGE bold lines in their own blocks, a medium couplet. */
.ded {
  margin: 0;
  text-wrap: balance;
}
.ded-normal {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.9;
}
html[lang="ar"] .ded-normal {
  line-height: 2.05;
}
.ded-large {
  margin: 40px 0 12px;
  color: var(--ink);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.5;
}
.ded-medium {
  margin: 0 0 40px;
  color: var(--ink);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 600;
  line-height: 1.9;
}
.ded-large + .ded-normal {
  margin-top: 8px;
}
/* Homeland card */
.homeland {
  margin-top: 0;
}
.palm {
  margin: 0 auto 8px;
}
.palm-trunk {
  stroke: var(--taken);
}
.palm-frond {
  stroke: var(--primary);
}
.hl-quote {
  margin: 16px 0 40px;
}
.hl-label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.hl-quote blockquote {
  margin: 0;
}
.hl-quote p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 600;
  line-height: 1.6;
  text-wrap: balance;
}
html[lang="ar"] .hl-quote p {
  line-height: 1.9;
}
.hl-article-h {
  margin: 0 0 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-2);
}
.hl-article {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.9;
}
.made-by {
  margin: 40px 0 clamp(56px, 8vw, 96px);
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}

/* Join */
.join {
  padding-block: clamp(56px, 8vw, 96px);
}
.join .wrap > svg {
  margin: 0 auto 24px;
  border-radius: 22px;
}
.join-steps {
  display: grid;
  gap: 16px;
  margin: 40px 0 24px;
  padding: 0;
  list-style: none;
  text-align: start;
}
.join-steps li {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}
.join-steps .step-n {
  flex-shrink: 0;
}
.join-steps p {
  margin: 0;
  color: var(--ink-2);
}
.join-steps .soon,
.join-steps .store {
  margin-top: 16px;
}
.join-privacy {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: var(--primary-soft);
  text-align: start;
}
.join-privacy > svg {
  color: var(--primary-text);
  margin-top: 2px;
}

/* 404 */
.nf {
  padding-block: clamp(64px, 10vw, 128px);
}
.nf .nf-logo {
  margin: 0 auto;
}
.nf-code {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.2em;
}
.nf-block + .nf-block {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.nf-block .lede {
  margin-bottom: 8px;
}

/* ---------- Footer -------------------------------------------------------------------------- */
.site-foot {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}
.dedication {
  max-width: 820px;
}
.ded-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.ded-foot .ded-normal {
  font-size: 14px;
  line-height: 1.9;
}
.ded-foot .ded-large {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
}
.ded-more {
  margin-top: 4px;
  font-size: 14px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.foot-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.foot-brand .lockup img {
  height: 30px;
  width: auto;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--ink-2);
  text-decoration: none;
}
.foot-links li:first-child a {
  padding-inline-start: 0;
}
.foot-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.copy {
  margin: 0;
}

/* ---------- Theme-dependent swaps (badge colour, toggle icon) ------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge-on-light,
  :root:not([data-theme="light"]) .logo-light,
  :root:not([data-theme="light"]) .theme .when-light {
    display: none;
  }
  :root:not([data-theme="light"]) .badge-on-dark,
  :root:not([data-theme="light"]) .logo-dark,
  :root:not([data-theme="light"]) .theme .when-dark {
    display: block;
  }
}
:root[data-theme="dark"] .badge-on-light,
:root[data-theme="dark"] .logo-light,
:root[data-theme="dark"] .theme .when-light {
  display: none;
}
:root[data-theme="dark"] .badge-on-dark,
:root[data-theme="dark"] .logo-dark,
:root[data-theme="dark"] .theme .when-dark {
  display: block;
}
:root[data-theme="light"] .badge-on-dark,
:root[data-theme="light"] .logo-dark,
:root[data-theme="light"] .theme .when-dark {
  display: none;
}

/* ---------- Frosted "ice" glass (cards, header, sheets) over the solid background ------------------------------------------- */
.step,
.feat,
.dev,
.summary,
.contact,
.join-steps li,
.claim-panel,
.dedication-full,
.homeland,
.float,
.soon,
.faqs,
.lang {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--shadow);
}
.lang {
  box-shadow: inset 0 1px 0 var(--glass-edge);
}
.faqs {
  padding: 0 24px;
  border-radius: var(--r-card);
}
.faq:last-child {
  border-bottom: 0;
}
.step-art {
  background: var(--primary-soft);
}
.join-privacy {
  border: 1px solid var(--glass-line);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .step, .feat, .dev, .summary, .contact, .join-steps li, .claim-panel, .dedication-full, .homeland,
  .float, .soon, .faqs, .lang, .site-head, .tabbar {
    background: var(--surface);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .step, .feat, .dev, .summary, .contact, .join-steps li, .claim-panel, .dedication-full, .homeland,
  .float, .soon, .faqs, .lang, .site-head, .tabbar, .app .sum, .app .dose, .app .next {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Continuous (squircle-like) corners where the browser supports them. */
@supports (corner-shape: squircle) {
  .feat,
  .step,
  .dev,
  .summary,
  .contact,
  .join-steps li,
  .float,
  .claim-panel,
  .dedication-full,
  .homeland {
    corner-shape: superellipse(1.6);
  }
}

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

@media print {
  .site-head,
  .stage,
  .devices {
    display: none;
  }
}
