:root {
  --bg: oklch(16% 0.03 255);
  --surface: oklch(100% 0 0 / 0.08);
  --fg: oklch(97% 0.01 250);
  --muted: oklch(78% 0.03 250);
  --border: oklch(100% 0 0 / 0.14);
  --accent: oklch(58% 0.18 255);
  --seal: #0F172A;
  --ring: #2F6FED;
  --donate: #FF6A00;
  --deep: #0B1220;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 24px;
  --pad: clamp(20px, 4vw, 40px);
  --max: 1120px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --nav-h: 64px;
  --nav-gap: 12px;
  --nav-clearance: calc(var(--safe-top) + var(--nav-gap) + var(--nav-h) + 16px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-clearance);
}
body {
  font-family: var(--font-body);
  color: var(--fg);
  line-height: 1.55;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(47,111,237,.38), transparent 58%),
    radial-gradient(720px 420px at 95% 30%, rgba(148,163,184,.18), transparent 55%),
    radial-gradient(640px 360px at 40% 110%, rgba(47,111,237,.16), transparent 50%),
    var(--deep);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  padding-bottom: max(24px, var(--safe-bottom));
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.shell { width: min(100% - 32px, var(--max)); margin-inline: auto; }

.glass {
  border: 1px solid var(--border);
  background: color-mix(in oklch, white 8%, transparent);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: max(var(--nav-gap), var(--safe-top));
  z-index: 30;
  margin: max(var(--nav-gap), var(--safe-top)) auto 0;
  width: min(100% - 32px, var(--max));
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px 10px 12px;
  flex-wrap: nowrap;
  /* iOS: keep sticky glass from compositing over body text */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px; letter-spacing: -0.02em;
  min-width: 0;
  flex: 1 1 auto;
}
.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand img { width: 40px; height: 40px; flex-shrink: 0; }
.nav-links {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  flex-shrink: 0;
}
.nav-links a {
  min-height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); border-radius: 999px;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--fg); outline: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklch, white 5%, transparent);
  flex-shrink: 0;
}
.lang-btn {
  min-height: 32px;
  min-width: 34px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}
.lang-btn:hover { color: var(--fg); }
.lang-btn[aria-pressed="true"] {
  background: color-mix(in oklch, white 12%, transparent);
  color: var(--fg);
}
.lang-switch-maintenance { margin-right: auto; }

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 14px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid color-mix(in oklch, var(--accent) 70%, white); outline-offset: 3px; }
.btn-primary {
  background: var(--ring);
  color: #F8FAFC;
  box-shadow: 0 10px 28px color-mix(in oklch, var(--accent) 40%, transparent);
}
.btn-ghost {
  border: 1px solid var(--border);
  background: color-mix(in oklch, white 6%, transparent);
  color: var(--fg);
}
.btn-donate {
  background: var(--donate);
  color: #fff;
  box-shadow: 0 10px 28px color-mix(in oklch, var(--donate) 42%, transparent);
}
.btn-donate:hover,
.btn-donate:focus-visible,
.nav-links a.btn-donate,
.nav-links a.btn-donate:hover,
.nav-links a.btn-donate:focus-visible {
  color: #fff;
}
.btn-donate .ct {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: .92;
}
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.btn[aria-disabled="true"] {
  background: color-mix(in oklch, white 6%, transparent);
  border: 1px solid var(--border);
  color: var(--muted);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

/* —— Hero —— */
.hero {
  padding: clamp(36px, 7vw, 72px) 0 clamp(48px, 8vw, 88px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.hero-copy { display: grid; gap: 18px; align-content: start; }
.hero-brand {
  display: grid; justify-items: start; gap: 10px;
  margin-bottom: 4px;
}
.hero-brand img.mark { width: 72px; height: 72px; }
.hero-brand .word {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em; line-height: 1.1;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 52px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.08;
  max-width: 15ch;
}
.hero .lede {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 40ch;
  line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.hero-grid > *,
.app-hero-card > *,
.app-hero-main > * { min-width: 0; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  justify-self: center;
  width: 100%;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 60% 0%, color-mix(in oklch, var(--ring) 26%, transparent), transparent 62%),
    color-mix(in oklch, white 5%, transparent);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: rise .9s ease both;
}
.hero-atmosphere {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  object-position: 70% 40%;
  opacity: .28;
  filter: saturate(.55) contrast(1.05) blur(10px);
  pointer-events: none;
  user-select: none;
  transform: scale(1.08);
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--deep) 18%, transparent), transparent 28%, transparent 60%, color-mix(in oklch, var(--deep) 55%, transparent)),
    radial-gradient(70% 55% at 50% 45%, transparent 40%, color-mix(in oklch, var(--deep) 35%, transparent) 100%);
}
.device-hero {
  position: relative;
  z-index: 2;
  width: min(64%, 268px);
  transform: rotate(2.5deg) translateY(4px);
  animation: float-phone 5.5s ease-in-out infinite;
  filter: drop-shadow(0 28px 40px rgba(0,0,0,.55));
}
@keyframes float-phone {
  0%, 100% { transform: rotate(2.5deg) translateY(4px); }
  50% { transform: rotate(1.8deg) translateY(-8px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * { animation: rise .7s ease both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .18s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }

/* —— Section chrome —— */
section { padding: clamp(40px, 7vw, 72px) 0; }
section[id] { scroll-margin-top: var(--nav-clearance); }
.section-head {
  display: grid; gap: 10px;
  margin-bottom: clamp(22px, 4vw, 32px);
  max-width: 52ch;
  min-width: 0;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.section-head p {
  color: var(--muted); font-size: 16px; max-width: 48ch;
  overflow-wrap: break-word;
}
.kicker {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}

/* —— Apps —— */
.apps-panel { padding: var(--pad); }
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.app-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px; align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.app-card:hover {
  background: rgba(255,255,255,.1);
  border-color: color-mix(in oklch, white 22%, transparent);
  transform: translateY(-2px);
}
a.app-card { color: inherit; }
.app-card.is-soon { opacity: .78; }
.app-card.is-soon:hover { transform: none; }
.app-icon {
  width: 64px; height: 64px; border-radius: 16px;
  overflow: hidden;
  background: #0F172A;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: #F8FAFC; letter-spacing: -0.02em;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px;
  font-family: var(--font-display);
}
.app-card p {
  font-size: 14px; color: var(--muted); letter-spacing: 0.01em;
  line-height: 1.45; max-width: 46ch;
}
.app-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.chip {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding: 5px 9px; border-radius: 999px;
  border: 1px solid var(--border); white-space: nowrap;
}
.chip-soon {
  color: #FFD9B8;
  border-color: color-mix(in oklch, var(--donate) 45%, transparent);
  background: color-mix(in oklch, var(--donate) 14%, transparent);
}
.chip-live {
  color: #C9DAFF;
  border-color: color-mix(in oklch, var(--ring) 50%, transparent);
  background: color-mix(in oklch, var(--ring) 16%, transparent);
}

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
.about-card { padding: var(--pad); }
.about-card h2 { margin-bottom: 12px; }
.about-card p {
  color: var(--muted); font-size: 16px; max-width: 48ch;
  margin-bottom: 14px;
}
.about-card p:last-child { margin-bottom: 0; }
.pill-list {
  display: grid; gap: 10px; align-content: start;
}
.pill {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.pill span { font-size: 13px; color: var(--muted); letter-spacing: 0.01em; }

/* —— Donate —— */
.donate {
  padding: var(--pad);
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: center;
}
.donate h2 { margin-bottom: 10px; }
.donate p {
  color: var(--muted); font-size: 16px; max-width: 46ch;
}
.donate-actions {
  display: flex; flex-direction: column; gap: 10px; align-items: stretch;
}
.donate-note {
  font-size: 12px; color: var(--muted); letter-spacing: 0.01em;
  max-width: 34ch;
}
.donate-actions [data-donate] { display: flex; flex-direction: column; }
.donate-actions [data-donate] .btn { width: 100%; }
[data-donate][hidden] { display: none !important; }

/* —— App page —— */
.app-hero {
  padding: clamp(28px, 5vw, 48px) 0 clamp(24px, 4vw, 40px);
}
.app-hero-card {
  padding: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: clamp(20px, 3.4vw, 40px);
  align-items: center;
}
.app-hero-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}
.app-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid var(--border);
  background: color-mix(in oklch, white 5%, transparent);
  box-shadow: 0 24px 56px rgba(0,0,0,.42);
}
.app-hero-visual .hero-atmosphere {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  object-fit: cover;
  object-position: 70% 40%;
  opacity: .24;
  filter: saturate(.55) blur(10px);
  pointer-events: none;
  transform: scale(1.08);
}
.app-hero-visual::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in oklch, var(--deep) 20%, transparent), transparent 30%, transparent 58%, color-mix(in oklch, var(--deep) 50%, transparent)),
    radial-gradient(70% 55% at 50% 48%, transparent 42%, color-mix(in oklch, var(--deep) 30%, transparent) 100%);
}
.app-hero-visual .device-hero {
  width: min(62%, 220px);
  z-index: 2;
}
.app-hero-card .app-icon { width: 96px; height: 96px; border-radius: 22px; }
.app-hero-card h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 6px;
}
.app-hero-card .subtitle {
  color: var(--muted); font-size: clamp(15px, 2vw, 17px);
  max-width: 46ch; margin-bottom: 14px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.app-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.feature {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.feature p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(62vw, 248px);
  gap: clamp(16px, 2.4vw, 26px);
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklch, white 22%, transparent) transparent;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, white 18%, transparent);
  border-radius: 999px;
}
.shot {
  scroll-snap-align: center;
  display: grid; gap: 14px;
  align-content: start;
}
/* iPhone 17 Pro Max: titanium rim, thin bezel, Dynamic Island, side buttons */
.device {
  --rim: 7px;
  --screen-radius: 30px;
  position: relative;
  padding: var(--rim);
  border-radius: 38px;
  background: linear-gradient(145deg, #8b9099 0%, #3a3e45 18%, #1b1e23 48%, #2f333a 72%, #7c828b 100%);
  box-shadow:
    0 26px 54px rgba(0,0,0,.5),
    0 0 0 1px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.12);
  transition: transform .35s ease, box-shadow .35s ease;
}
.device img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 540 / 1173;
  object-fit: cover;
  border-radius: var(--screen-radius);
  background: #0d0f12;
  box-shadow: 0 0 0 1px rgba(0,0,0,.7);
}
.device::before {
  content: "";
  position: absolute; z-index: 2;
  top: calc(var(--rim) + 1.1%);
  left: 50%; transform: translateX(-50%);
  width: 27%;
  aspect-ratio: 125 / 36.7;
  border-radius: 999px;
  background: #06070a;
}
.device::after {
  content: "";
  position: absolute; inset: var(--rim);
  border-radius: var(--screen-radius);
  pointer-events: none;
  background: linear-gradient(202deg, rgba(255,255,255,.20), rgba(255,255,255,0) 32%);
  mix-blend-mode: screen;
}
.device-buttons { position: absolute; inset: 0; pointer-events: none; }
.device-buttons::before,
.device-buttons::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
}
/* left: action button, volume up, volume down */
.device-buttons::before {
  left: -2px; top: 15%; height: 26px;
  background: linear-gradient(90deg, #a2a8b0, #545961);
  box-shadow: 0 42px 0 0 #878d95, 0 84px 0 0 #878d95;
}
/* right: side button, camera control */
.device-buttons::after {
  right: -2px; top: 24%; height: 34px;
  background: linear-gradient(270deg, #a2a8b0, #545961);
  box-shadow: 0 80px 0 0 #878d95;
}
.shot:hover .device,
.shot:focus-within .device {
  transform: translateY(-6px);
  box-shadow:
    0 34px 66px rgba(0,0,0,.55),
    0 2px 0 rgba(255,255,255,.12) inset,
    0 0 0 1px rgba(0,0,0,.55);
}
.shot figcaption {
  font-size: 13px; color: var(--muted); line-height: 1.45;
  padding: 0 4px;
}

.status-card {
  padding: var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.status-card h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 10px;
}
.status-card p { color: var(--muted); font-size: 15px; max-width: 52ch; }

/* —— Legal / text pages —— */
.legal {
  padding: clamp(36px, 6vw, 64px) 0 clamp(48px, 8vw, 80px);
}
.legal-card {
  padding: var(--pad);
  max-width: 780px;
}
.legal-card h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 8px;
}
.legal-card .updated {
  color: var(--muted); font-size: 13px; margin-bottom: 28px;
}
.legal-card h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; letter-spacing: -0.015em;
  margin: 28px 0 10px;
}
.legal-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  margin: 20px 0 6px;
}
.legal-card p,
.legal-card li {
  color: var(--muted); font-size: 15px; max-width: 64ch;
}
.legal-card p { margin-bottom: 10px; }
.legal-card ul {
  margin: 0 0 12px 1.2em;
  display: grid; gap: 8px;
}
.legal-card a:not(.btn) {
  color: #93B4FF;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-card strong { color: var(--fg); }
.legal-card .cta-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}

/* —— Maintenance —— */
.maintenance-page { min-height: 100vh; display: grid; }
.maintenance {
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vw, 80px) 0;
  min-height: 100vh;
}
.maintenance-card {
  width: min(100%, 560px);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  animation: rise .8s ease both;
}
.maintenance-mark {
  width: 88px; height: 88px;
  margin-bottom: 6px;
  filter: drop-shadow(0 12px 28px rgba(47,111,237,.35));
}
.maintenance-card h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.12;
}
.maintenance-card .lede {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 36ch;
  line-height: 1.55;
}
.maintenance-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

/* —— Footer —— */
.foot {
  padding: 28px 0 calc(48px + var(--safe-bottom));
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 13px; letter-spacing: 0.01em;
  border-top: 1px solid color-mix(in oklch, white 10%, transparent);
  margin-top: 12px;
}
.foot .brand { color: var(--fg); font-size: 14px; }
.foot .brand img { width: 28px; height: 28px; }
.foot-links {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.foot-links a:hover,
.foot-links a:focus-visible { color: var(--fg); }

@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  .shell { width: min(100% - 24px, var(--max)); }
  .nav {
    width: min(100% - 24px, var(--max));
    padding: 8px 10px 8px 8px;
    gap: 8px;
  }
  .brand { gap: 8px; font-size: 14px; }
  .brand img { width: 36px; height: 36px; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn-sm {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
  .hero { padding-top: clamp(28px, 6vw, 48px); }
  .hero h1 {
    font-size: clamp(28px, 8.2vw, 40px);
    max-width: none;
  }
  .hero-grid,
  .about-grid,
  .donate,
  .status-card { grid-template-columns: 1fr; }
  .donate-actions { flex-direction: row; flex-wrap: wrap; }
  .app-card {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  .app-meta {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }
  .app-card p { max-width: none; }
  .app-icon { width: 56px; height: 56px; border-radius: 14px; }
  .app-hero-card,
  .app-hero-main { grid-template-columns: 1fr; }
  .app-hero-card .app-icon { width: 76px; height: 76px; }
  .app-hero-visual {
    max-width: 320px;
    justify-self: center;
    width: 100%;
  }
  .hero-visual {
    aspect-ratio: 5 / 6;
    max-width: 420px;
    max-height: none;
    justify-self: center;
  }
  .section-head p,
  .about-card p,
  .donate p { max-width: none; }
  .foot {
    padding-bottom: calc(64px + var(--safe-bottom));
  }
}

@media (max-width: 430px) {
  .nav-links .btn-sm .ct { display: none; }
}

@media (max-width: 360px) {
  .brand span { max-width: 10ch; }
  .chip { white-space: normal; }
}

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