/* G700 Home website. Liquid Glass, system fonts only, no external requests.
   Colours mirror the app's Palette (app/.../core/design/Palette.kt).
   No color-mix() or other recent syntax: the car's browsers can be old. */

:root {
  --ink: #F5F7FA;
  --ink-2: rgba(245, 247, 250, 0.72);
  --ink-3: rgba(245, 247, 250, 0.54);
  --ink-4: rgba(245, 247, 250, 0.32);
  --hairline: rgba(245, 247, 250, 0.12);

  --teal: #33A6B7;
  --teal-rgb: 51, 166, 183;

  --horizon-low: #141838;
  --horizon-high: #2A2F6E;
  --horizon-mid: #5B5FB8;
  --horizon-glow: rgba(156, 134, 214, 0.9);
  --floor: #07090F;

  --glass-top: rgba(26, 34, 48, 0.46);
  --glass-bottom: rgba(10, 15, 22, 0.62);

  --radius: 28px;
  --radius-s: 18px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.05, 0.7, 0.1, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;

  --glow-rgb: 245, 247, 250;
  --glow-x: 0%;
  --page: 1180px;
  --pad: clamp(16px, 4vw, 40px);
}

html[lang="ar"] {
  --font: -apple-system, BlinkMacSystemFont, "SF Arabic", "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", "Geeza Pro", Roboto, Arial, sans-serif;
  --font-display: var(--font);
}

[dir="rtl"] { --glow-x: 100%; }

/* Tints: each widget type's colour, as in the app's catalogue. */
.tint-teal     { --glow-rgb: 51, 166, 183; }
.tint-sun      { --glow-rgb: 255, 204, 51; }
.tint-positive { --glow-rgb: 48, 209, 88; }
.tint-blue     { --glow-rgb: 10, 132, 255; }
.tint-cold     { --glow-rgb: 100, 210, 255; }
.tint-pink     { --glow-rgb: 255, 55, 95; }
.tint-indigo   { --glow-rgb: 94, 92, 230; }
.tint-orange   { --glow-rgb: 255, 159, 10; }

/* ── Base ────────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--floor);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }

::selection { background: rgba(var(--teal-rgb), 0.45); }

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

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.dim { color: var(--ink-3); }

/* ── The sky: the app's Horizon backdrop ────────────────────────────────── */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom right, rgba(11, 14, 34, 0.85), rgba(11, 14, 34, 0) 55%),
    radial-gradient(55vw 40vh at 68% 70%, rgba(156, 134, 214, 0.42), rgba(156, 134, 214, 0) 70%),
    linear-gradient(180deg,
      var(--horizon-low) 0%,
      var(--horizon-high) 38%,
      var(--horizon-mid) 62%,
      var(--horizon-glow) 70%,
      var(--horizon-low) 76%,
      var(--floor) 100%);
}
[dir="rtl"] .sky {
  background:
    linear-gradient(to bottom left, rgba(11, 14, 34, 0.85), rgba(11, 14, 34, 0) 55%),
    radial-gradient(55vw 40vh at 32% 70%, rgba(156, 134, 214, 0.42), rgba(156, 134, 214, 0) 70%),
    linear-gradient(180deg,
      var(--horizon-low) 0%,
      var(--horizon-high) 38%,
      var(--horizon-mid) 62%,
      var(--horizon-glow) 70%,
      var(--horizon-low) 76%,
      var(--floor) 100%);
}

/* ── Liquid Glass ────────────────────────────────────────────────────────────
   Body gradient, backdrop blur, sheen over the top 42%, a tinted glow from the
   top-start corner, a rim that is brighter on top, and two shadows. */

.glass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.34),
    0 2px 4px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}

/* Sheen */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

/* Ambient glow, from the top-start corner, in the card's tint */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(140% 170% at var(--glow-x) 0%,
    rgba(var(--glow-rgb), 0.30),
    rgba(var(--glow-rgb), 0.10) 38%,
    rgba(var(--glow-rgb), 0) 70%);
  pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(180deg, rgba(26, 34, 48, 0.9), rgba(10, 15, 22, 0.94)); }
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 12px var(--pad) 0;
}

.topbar-inner {
  max-width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 10px 8px 14px;
  border-radius: 22px;
}
[dir="rtl"] .topbar-inner { padding: 8px 14px 8px 10px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { border-radius: 8px; }

.nav {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
  transition: color 180ms var(--ease), background-color 180ms var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.07); }

.lang-switch {
  display: flex;
  padding: 3px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.lang-switch button {
  min-width: 44px;
  padding: 6px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.lang-switch button.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@media (max-width: 760px) {
  .nav { display: none; }
  .lang-switch { margin-inline-start: auto; }
}

/* ── Type ────────────────────────────────────────────────────────────────── */

.kicker {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 14px; }

h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h-small { font-size: 22px; font-weight: 600; letter-spacing: 0; }

h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

html[lang="ar"] h1,
html[lang="ar"] h2 { letter-spacing: 0; font-weight: 400; line-height: 1.25; }

.lead,
.section-lead {
  max-width: 44em;
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 20px);
}
.lead { margin-top: 18px; }
.section-lead { margin-top: 14px; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
  direction: ltr;
  unicode-bidi: embed;
  word-break: break-all;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), background-color 250ms var(--ease);
}
.btn:active { transform: scale(0.968, 0.955); transition-duration: 100ms; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #3FBACB, #2A8C9B);
  box-shadow:
    0 8px 22px rgba(var(--teal-rgb), 0.35),
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(var(--teal-rgb), 0.5), 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4); }

.btn-glass {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.13); }

.btn-large { min-height: 58px; padding: 14px 30px; font-size: 18px; }

.btn-glyph {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  color: var(--ink-2);
  font-size: 15px;
  text-underline-offset: 3px;
}
.text-link:hover { color: var(--ink); }

/* ── Layout ──────────────────────────────────────────────────────────────── */

main { padding: 0 var(--pad); }

.hero,
.section {
  max-width: var(--page);
  margin: 0 auto;
}

.hero { padding: clamp(48px, 9vw, 110px) 0 24px; }

.section { padding: clamp(56px, 8vw, 96px) 0 0; }
.section-tight { padding-top: 56px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta,
.download-meta {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.is-pending { visibility: hidden; }
.sep { margin: 0 6px; color: var(--ink-4); }

.grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

/* ── Hero strip ──────────────────────────────────────────────────────────────
   Card sizes follow the app: one column unit (u) is the card height, widths are
   n·u + (n−1)·gap, and the edit tile is 82/132 of a unit. */

.stage {
  --u: 7.5em;
  --gap: 0.9em;
  margin-top: clamp(40px, 6vw, 72px);
  margin-inline: calc(var(--pad) * -1);
  font-size: clamp(8px, 1.25vw, 15px);
}

.stage-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 1.6em var(--pad) 2.2em;
}
.stage-scroll::-webkit-scrollbar { display: none; }

.strip,
.dock {
  display: flex;
  width: max-content;
  margin: 0 auto;
}

.strip { gap: var(--gap); }

.card {
  flex: none;
  height: var(--u);
  padding: 0.9em;
  border-radius: 1.6em;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1em;
  line-height: 1.2;
  animation: materialize 380ms var(--ease-out) both;
}
.card:nth-child(1) { animation-delay: 0ms; }
.card:nth-child(2) { animation-delay: 26ms; }
.card:nth-child(3) { animation-delay: 52ms; }
.card:nth-child(4) { animation-delay: 78ms; }
.card:nth-child(5) { animation-delay: 104ms; }

@keyframes materialize {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to   { opacity: 1; transform: none; }
}

.size-s    { width: var(--u); }
.size-m    { width: calc(var(--u) * 2 + var(--gap)); }
.size-l    { width: calc(var(--u) * 3 + var(--gap) * 2); }
.size-edit { width: calc(var(--u) * 0.62); align-items: center; justify-content: center; }

.card-label,
.card-line {
  font-size: 0.95em;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-line b { font-weight: 600; color: var(--ink-3); margin-inline-end: 0.25em; }
.card-label { text-align: center; }

.figure {
  font-family: var(--font-display);
  font-size: 2.8em;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
  font-size: 0.95em;
  color: var(--ink-2);
}

/* Apps tile */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1.15em);
  gap: 0.45em;
  justify-content: center;
  margin-top: 0.4em;
}
.apps-grid i {
  width: 1.15em;
  height: 1.15em;
  border-radius: 0.36em;
  background: rgba(245, 247, 250, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.apps-grid i:nth-child(1) { background: rgba(51, 166, 183, 0.85); }
.apps-grid i:nth-child(5) { background: rgba(255, 159, 10, 0.8); }
.apps-grid i:nth-child(9) { background: rgba(94, 92, 230, 0.85); }

/* Weather */
.wx { display: flex; align-items: center; gap: 0.8em; }
.wx-text { display: flex; flex-direction: column; gap: 0.25em; min-width: 0; }
.wx-icon { position: relative; flex: none; width: 3.6em; height: 3.2em; }
.sun {
  position: absolute;
  top: 0.15em;
  inset-inline-start: 0.2em;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE58A, #FFCC33 60%, #F5B400);
  box-shadow: 0 0 1.4em rgba(255, 204, 51, 0.55);
}
.cloud {
  position: absolute;
  bottom: 0.2em;
  inset-inline-end: 0;
  width: 2.6em;
  height: 1.15em;
  border-radius: 0.6em;
  background: linear-gradient(180deg, #F2F5FA, #B9C3D3);
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.25);
}
.cloud::before {
  content: "";
  position: absolute;
  bottom: 0.5em;
  inset-inline-start: 0.5em;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: #F2F5FA;
}

/* Energy ring: a conic gradient cut to a ring with a radial mask. */
.energy { display: flex; align-items: center; gap: 1em; height: 100%; }
.energy-text { display: flex; flex-direction: column; gap: 0.35em; min-width: 0; font-variant-numeric: tabular-nums; }

.ring {
  position: relative;
  flex: none;
  width: 5.4em;
  height: 5.4em;
  display: grid;
  place-items: center;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#30D158 calc(var(--p) * 1%), rgba(245, 247, 250, 0.12) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.6em), #000 calc(100% - 0.55em));
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.6em), #000 calc(100% - 0.55em));
}
.ring span {
  font-family: var(--font-display);
  font-size: 1.7em;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.ring small { font-size: 0.5em; color: var(--ink-3); margin-inline-start: 0.08em; }

/* Now playing */
.np { display: flex; gap: 0.9em; height: 100%; }
.np-art {
  flex: none;
  width: calc(var(--u) - 1.8em);
  height: calc(var(--u) - 1.8em);
  border-radius: 1em;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, #FF375F, #BF5AF2 55%, #5E5CE6);
  box-shadow: 0 0.3em 0.9em rgba(0, 0, 0, 0.35);
}
.np-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 0.2em;
}
.np-title {
  font-size: 1.2em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-progress {
  height: 0.28em;
  margin-top: auto;
  border-radius: 1em;
  background: rgba(245, 247, 250, 0.16);
  overflow: hidden;
}
.np-progress span { display: block; height: 100%; border-radius: inherit; background: var(--ink-2); }
.np-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4em;
  padding: 0 0.4em;
}
.np-controls svg,
.plus {
  width: 1.7em;
  height: 1.7em;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.np-controls svg path { fill: none; }
.np-controls .np-play { width: 2em; height: 2em; stroke-width: 2.4; }
[dir="rtl"] .np-controls svg:not(.np-play) { transform: scaleX(-1); }
.plus { stroke: var(--ink-2); width: 2em; height: 2em; }

/* The dock line under the strip */
.dock {
  gap: 1.3em;
  margin-top: 1.4em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(245, 247, 250, 0.14);
  /* As wide as the strip: S + M + M + L + edit tile, plus four gaps. */
  min-width: calc(var(--u) * 8.62 + var(--gap) * 8);
  justify-content: center;
}
.dock i {
  width: 3em;
  height: 3em;
  border-radius: 0.9em;
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.16), rgba(245, 247, 250, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.stage-caption {
  margin-top: 4px;
  color: var(--ink-4);
  font-size: 13px;
  text-align: center;
}

/* ── Features ────────────────────────────────────────────────────────────── */

.features { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.feature {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature p { color: var(--ink-2); font-size: 15.5px; }
.feature h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }

.sizes {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  direction: ltr;
}

.glyph {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 11px;
  background: rgba(var(--glow-rgb), 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  fill: none;
  stroke: rgb(var(--glow-rgb));
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[dir="rtl"] .glyph.flip { transform: scaleX(-1); }

.extras {
  margin-top: 16px;
  padding: 24px 26px;
}
.extras ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px 28px;
  padding: 0;
  list-style: none;
}
.extras li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.extras li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.extras b { color: var(--ink); font-weight: 600; }

/* ── Download ────────────────────────────────────────────────────────────── */

.download {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
}
.download-text p { margin-top: 12px; color: var(--ink-2); }
.download-text .dim { color: var(--ink-3); font-size: 15px; }
.download-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.download-tip {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 14px;
  max-width: 26em;
}
.download-action .text-link { margin-top: 8px; }

@media (max-width: 820px) {
  .download { grid-template-columns: 1fr; }
}

/* ── Setup ───────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}
.step {
  padding: 22px 22px 24px;
  border-radius: 24px;
}
.step h3 { margin-top: 12px; }
.step p,
.grants li { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.grants { padding-inline-start: 1.1em; }
.grants b { color: var(--ink); font-weight: 600; }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--teal-rgb), 0.24);
  color: #8FDCE6;
  font-weight: 700;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(var(--teal-rgb), 0.45);
}
.note {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 15px;
  max-width: 50em;
}

/* ── Privacy ─────────────────────────────────────────────────────────────── */

.privacy { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.pill { padding: 22px; border-radius: 24px; }
.pill p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* ── Attribution and footer ──────────────────────────────────────────────── */

.attribution {
  margin-top: 14px;
  padding-inline-start: 1.1em;
  color: var(--ink-2);
  font-size: 15px;
}
.attribution li + li { margin-top: 6px; }
.attribution a { text-underline-offset: 3px; }

.footer {
  margin-top: 72px;
  padding: 28px var(--pad) 40px;
  border-top: 1px solid var(--hairline);
  background: rgba(7, 9, 15, 0.55);
}
.footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  color: var(--ink-3);
  font-size: 14px;
}
.footer a { color: var(--ink-2); text-underline-offset: 3px; }
.footer a:hover { color: var(--ink); }
.credit { color: var(--ink-2); }
.disclaimer { margin-top: 8px; }

/* ── Reduced motion: fades only ─────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { animation: fade 120ms linear both; animation-delay: 0ms !important; }
  .btn:active { transform: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
