/* ==========================================================================
   Sats Market · sat-market.com
   Static site styles. No build step, no external requests.
   Palette and shapes follow the app: bitcoin orange on iOS grouped grey,
   white cards, and the orange "sats" badge with a dot.
   ========================================================================== */

:root {
  --orange: #F7931A;        /* app accent: price card, badge dot, buttons   */
  --orange-icon: #F88533;   /* wordmark orange from the app icon            */
  --orange-ink: #B45309;    /* dark orange for text on light backgrounds    */
  --orange-deep: #8F3E07;   /* darker still, for small text on orange tint  */
  --orange-soft: #FDEFDE;   /* badge tint (light mode)                      */
  --orange-line: #F3C690;   /* badge border                                 */
  --orange-night: #FFB054;  /* orange text in dark mode                     */

  --ink: #1C1C1E;
  --ink-2: #3E3F3C;         /* wordmark charcoal from the icon              */
  --muted: #5F5F66;
  --line: #E3E3E8;
  --bg: #F2F2F7;            /* iOS grouped background                       */
  --surface: #FFFFFF;

  --night: #000000;
  --night-card: #1C1C1E;
  --night-line: #2C2C2E;
  --night-text: #F5F5F7;
  --night-muted: #A1A1A6;

  --shadow-sm: 0 1px 2px rgba(28, 28, 30, .05), 0 4px 16px rgba(28, 28, 30, .06);
  --shadow-lg: 0 30px 60px rgba(28, 28, 30, .20), 0 8px 20px rgba(28, 28, 30, .10);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;

  --container: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;

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

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }

a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }

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

code {
  font-family: var(--mono);
  font-size: .88em;
  background: rgba(28, 28, 30, .07);
  padding: 2px 6px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Shared pieces
   -------------------------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .32em;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .05em;
  line-height: 1;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.brand__sats { color: var(--orange-icon); }
.brand:hover { color: var(--ink); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.tag::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #F39A2E; color: var(--ink); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(28, 28, 30, .22); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: rgba(28, 28, 30, .06); color: var(--ink); }
.btn--ghost-night { border-color: rgba(255, 255, 255, .28); color: var(--night-text); background: transparent; }
.btn--ghost-night:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn svg { width: 18px; height: 18px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--orange-soft);
  color: var(--orange-deep);
  border: 1px solid var(--orange-line);
}
.pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.pill--link { background: var(--orange); color: var(--ink); border-color: var(--orange); text-decoration: none; }
.pill--link::before { background: var(--ink); }
.pill--link:hover { background: #F39A2E; color: var(--ink); }

/* Sats badge, drawn like the app's example badge */
.sats-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: middle;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.sats-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 242, 247, .84);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(28, 28, 30, .08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.site-nav { margin-inline: auto; }
.nav-menu {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: background-color .15s ease, color .15s ease;
}
.nav-menu a:hover { background: rgba(28, 28, 30, .07); color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid rgba(28, 28, 30, .14);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.site-nav.is-open .nav-toggle .icon-close { display: block; }
.site-nav.is-open .nav-toggle .icon-menu { display: none; }

@media (max-width: 860px) {
  .site-nav { order: 3; margin-inline: 0; }
  .header-cta { order: 2; margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    gap: 2px;
    padding: 10px var(--gutter) 14px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(28, 28, 30, .10);
  }
  .site-nav.is-open .nav-menu { display: flex; }
  .nav-menu a { display: block; padding: 12px 12px; font-size: 1.05rem; border-radius: 12px; }
}
@media (max-width: 420px) {
  .pill { font-size: .84rem; padding-inline: 11px 10px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 100px) 0 clamp(48px, 7vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -10%;
  width: min(62vw, 860px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 147, 26, .30), rgba(247, 147, 26, 0));
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.hero__copy { max-width: 640px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.hero h1 { margin-top: 22px; }
.hero h1 .accent { color: var(--orange-ink); }
.lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__note {
  margin-top: 16px;
  font-size: .92rem;
  color: var(--muted);
  max-width: 44em;
}

/* Store badges: identical geometry whether live (link) or coming soon (text) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 9px 22px 9px 16px;
  border-radius: 15px;
  border: 1.5px solid transparent;
  text-decoration: none;
  line-height: 1.15;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.store-badge__icon { width: 28px; height: 28px; flex: none; }
.store-badge__text { display: flex; flex-direction: column; gap: 2px; }
.store-badge__small { font-size: .74rem; font-weight: 600; letter-spacing: .01em; }
.store-badge__big { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }

.store-badge--live { background: var(--ink); color: #fff; }
.store-badge--live:hover { background: #000; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.store-badge--live .store-badge__small { opacity: .8; }

.store-badge--soon {
  background: var(--surface);
  color: var(--ink);
  border-color: rgba(28, 28, 30, .18);
  cursor: default;
}
.store-badge--soon .store-badge__icon { color: var(--muted); }
.store-badge--soon .store-badge__small { color: var(--orange-deep); }

/* Phone frames (screens are the cropped cover-screen captures, 1146 x 2034) */
.phone {
  --bezel: 10px;
  position: relative;
  width: var(--phone-w, 290px);
  padding: var(--bezel);
  border-radius: 46px;
  background: #121214;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .07);
}
.phone__screen {
  overflow: hidden;
  border-radius: 37px;
  aspect-ratio: 1146 / 2034;
  background: var(--bg);
}
.phone--dark .phone__screen { background: #000; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

.phone-stack {
  --phone-w: 290px;
  --offset: 88px;
  --rise: 40px;
  position: relative;
  width: calc(var(--phone-w) + var(--offset));
  padding-top: var(--rise);
  margin-inline: auto;
}
.phone-stack .phone--front { position: relative; z-index: 2; }
.phone-stack .phone--back { position: absolute; top: 0; left: var(--offset); z-index: 1; }
.phone-stack figcaption { margin-top: 18px; text-align: center; font-size: .85rem; color: var(--muted); }

@media (max-width: 899px) {
  .phone-stack { --phone-w: 236px; --offset: 66px; --rise: 30px; }
}

/* Highlights band (verbatim App Store highlights) */
.highlights {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.highlights__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
}
.highlights__list li { display: inline-flex; align-items: center; gap: 8px; }
.highlights__list svg { width: 18px; height: 18px; color: var(--orange-ink); flex: none; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section--white { background: var(--surface); }
.section--night { background: var(--night); color: var(--night-text); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-top: 16px; }
.section-lead { margin-top: 14px; font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.section--night .section-lead { color: var(--night-muted); }
.section--night .tag { color: var(--orange-night); }

/* Demo: HTML/CSS illustration of badges on a web page (not a screenshot) */
.demo { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .demo { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); align-items: start; }
}
.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #FAFAFC;
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #D7D7DC; }
.browser__url {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  background: var(--bg);
  border-radius: 8px;
  padding: 6px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser__body { padding: 20px 22px 22px; }
.browser__heading {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.shop { list-style: none; margin: 0; padding: 0; }
.shop-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.shop-item__thumb {
  width: 56px; height: 56px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #ECECF1, #D8D8E0);
}
.shop-item__thumb--b { background: linear-gradient(135deg, #E6E0D6, #CFC6B6); }
.shop-item__thumb--c { background: linear-gradient(135deg, #DCE6F2, #BFCFE3); }
.shop-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.shop-item__name { font-weight: 600; }
.shop-item__meta { font-size: .9rem; color: var(--muted); }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 10px;
  text-align: right;
}
.price__fiat { font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.price__period { font-weight: 500; font-size: .85em; color: var(--muted); }
.price--inline { display: inline; }
.price--inline .price__fiat { font-size: inherit; }

.snippet {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  line-height: 1.6;
}
.snippet__kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

@media (max-width: 520px) {
  .shop-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); }
  .shop-item .price { grid-column: 2; justify-content: flex-start; text-align: left; }
}

.demo--replace .price__fiat {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.demo--highlight .sats-badge {
  background: var(--orange);
  border-color: var(--orange);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(247, 147, 26, .38);
}
.demo--highlight .sats-badge::before { background: var(--ink); }

.demo__caption {
  margin-top: 14px;
  font-size: .88rem;
  color: var(--muted);
}

.demo__controls {
  margin: 0;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.demo__controls h3 { font-size: 1.05rem; }
.demo__controls > p { margin-top: 6px; font-size: .92rem; color: var(--muted); }
.control { margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.control legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(28, 28, 30, .06);
}
.seg label { position: relative; display: block; }
.seg input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg span {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  text-align: center;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  transition: background-color .15s ease, color .15s ease;
}
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 1px; }

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  cursor: pointer;
}
.toggle {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 50px; height: 30px;
  margin: 0;
  border-radius: 999px;
  background: #D1D1D6;
  cursor: pointer;
  transition: background-color .2s ease;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
  transition: transform .2s ease;
}
.toggle:checked { background: var(--orange); }
.toggle:checked::after { transform: translateX(20px); }
.toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.demo__hint { margin-top: 16px; font-size: .86rem; color: var(--muted); }

/* Features */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid transparent;
  transition: border-color .18s ease, transform .18s ease;
}
.feature:hover { border-color: var(--orange-line); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--orange-soft);
  color: var(--orange-ink);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature p { font-size: .98rem; color: var(--muted); }

/* Setup */
.setup__grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .setup__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}
.tabs { margin-top: 28px; }
.tabs__list {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(28, 28, 30, .06);
}
.tabs__list [role="tab"] {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 9px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.tabs__list [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.steps {
  list-style: none;
  counter-reset: step;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
}
.steps h3 { font-size: 1.05rem; margin-top: 6px; }
.steps p { margin-top: 4px; font-size: .98rem; color: var(--muted); }
.setup__visual { display: flex; justify-content: center; }
.slate {
  width: min(100%, 440px);
  padding: 12px;
  border-radius: 38px;
  background: #121214;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .07);
}
.slate__screen {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 2007 / 2853;
  background: var(--bg);
}
.slate__screen img { width: 100%; height: 100%; object-fit: cover; }
.setup__caption { margin-top: 16px; text-align: center; font-size: .85rem; color: var(--muted); }

/* Platforms */
.platforms { display: grid; gap: 16px; }
@media (min-width: 800px) {
  .platforms { grid-template-columns: 1fr 1fr; }
  .platform-card--wide { grid-column: 1 / -1; }
}
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 28px 0;
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}
.platform-card p { color: var(--muted); font-size: .98rem; max-width: 46ch; }
.platform-card__text { display: flex; flex-direction: column; gap: 8px; }
.platform-card__req { font-weight: 600; color: var(--ink); font-size: .9rem; }
.well {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 330px;
  margin-top: 20px;
  overflow: hidden;
}
.well .phone { --phone-w: 210px; }
.mac-window {
  width: min(100%, 300px);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(28, 28, 30, .12);
}
.mac-window__bar {
  display: flex;
  gap: 6px;
  padding: 9px 11px;
  background: #ECECEE;
  border-bottom: 1px solid #DADADF;
}
.mac-window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #D6D6DB; }
.mac-window__bar i:nth-child(1) { background: #FF5F57; }
.mac-window__bar i:nth-child(2) { background: #FEBC2E; }
.mac-window__bar i:nth-child(3) { background: #28C840; }
.mac-window img { width: 100%; }

@media (min-width: 800px) {
  .platform-card--wide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
  }
}
@media (max-width: 799px) {
  .platform-card--wide { padding-bottom: 28px; }
  .platform-card--wide .duo { margin-top: 20px; }
}
.duo {
  padding: 10px;
  border-radius: 24px;
  background: #121214;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .07);
}
.duo__screen { overflow: hidden; border-radius: 16px; aspect-ratio: 2853 / 2007; background: var(--bg); }
.duo__screen img { width: 100%; height: 100%; object-fit: cover; }

/* Privacy (dark, like the app's dark mode) */
.privacy__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .privacy__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
}
.privacy__copy h2 { margin-top: 16px; color: #fff; }
.privacy__copy .section-lead { margin-top: 16px; }
.privacy__copy .btn { margin-top: 28px; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.privacy-list li {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--night-card);
  border: 1px solid var(--night-line);
}
.privacy-list h3 { color: var(--night-text); font-size: 1.02rem; }
.privacy-list p { margin-top: 6px; font-size: .97rem; color: var(--night-muted); }
.section--night code { background: rgba(255, 255, 255, .09); color: var(--orange-night); }

/* Credits */
.credits { max-width: 780px; }
.credits h2 { margin-top: 16px; }
.credits p:not(.tag) { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }
.credits strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 48px 0 44px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: .93rem;
  color: var(--muted);
}
.footer__grid { display: grid; gap: 24px; }
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .footer__legal { grid-column: 1 / -1; }
}
.footer__brand p { margin-top: 10px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__links a { color: var(--ink-2); font-weight: 500; text-decoration: none; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }
.footer__legal { font-size: .85rem; max-width: 80ch; line-height: 1.6; }
.footer__legal + .footer__legal { margin-top: -12px; }

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */
.error-page {
  min-height: calc(100vh - var(--header-h) - 160px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(56px, 10vw, 120px) 0;
}
.error-page__code { font-size: .9rem; font-weight: 700; letter-spacing: .14em; color: var(--orange-deep); }
.error-page h1 { margin-top: 12px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.error-page .lead { margin-inline: auto; }
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.error-page .sats-badge { margin-top: 36px; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.hero__copy > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; }
.hero__copy > :nth-child(5) { animation-delay: .24s; }
.phone-stack .phone { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.phone-stack .phone--back { animation-delay: .1s; }

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

/* Inline chevron used for menu paths (Settings > Apps > ...) */
.icon-chevron {
  display: inline-block;
  width: .85em;
  height: .85em;
  vertical-align: -.08em;
  flex: none;
}
