:root {
  --royal: #0a2fff;
  --royal-deep: #0618c4;
  --electric: #1b6dff;
  --cyan: #7ef0ff;
  --cyan-soft: #c9f7ff;
  --ink: #0b1f3a;
  --text: #172033;
  --muted: #5b6578;
  --line: #e4ebf4;
  --paper: #ffffff;
  --sand: #f6f8fc;
  --shadow: 0 24px 60px rgba(8, 28, 92, 0.18);
  --radius: 22px;
  /*
   * Card system. Every bordered panel on the site — feature tiles, audience
   * cards, plans, guides, related links, FAQ rows — reads from these, so a
   * change here is a change everywhere. Sections override --card-bg: a card
   * needs a different fill depending on what it is sitting on.
   */
  --card-bg: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  --card-line: rgba(11, 31, 58, 0.09);
  --card-line-live: rgba(27, 109, 255, 0.34);
  --card-radius: 18px;
  --card-pad: 26px;
  --card-shadow: 0 1px 2px rgba(11, 31, 58, 0.04), 0 10px 26px -16px rgba(11, 31, 58, 0.20);
  --card-shadow-live: 0 2px 4px rgba(11, 31, 58, 0.05), 0 20px 44px -20px rgba(11, 31, 58, 0.30);
  --chip-bg: rgba(27, 109, 255, 0.10);
  --chip-ink: var(--electric);
  --header-h: 72px;
  --max: 1160px;
  --font: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  /* Shared canvas of every supplied phone master. See config/screenshots.mjs. */
  --phone-ratio: 941 / 1672;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html:focus-within { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--electric); text-decoration-thickness: 1px; }
a:hover { color: var(--royal); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand:hover { text-decoration: none; color: inherit; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-desktop a:hover { opacity: 0.8; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin-inline: auto;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.nav-mobile {
  display: none;
}

/*
 * The theme only sets the header's treatment. It must not colour the whole
 * body: white sections below the hero inherit from <body>, and a white body
 * colour makes their paragraphs invisible. Dark regions set their own colour.
 */
.theme-hero {
  background: transparent;
}

.theme-hero .site-header,
.theme-solid .site-header {
  color: #fff;
}

.theme-hero .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}

.theme-solid .site-header {
  background: linear-gradient(180deg, var(--royal-deep), var(--royal));
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 10% -10%, #4da2ff 0%, transparent 42%),
    radial-gradient(90% 70% at 90% 10%, #00d4ff 0%, transparent 38%),
    linear-gradient(160deg, #0818d6 0%, #0a38ff 42%, #1c7cff 78%, #33c6ff 100%);
  color: #fff;
  padding: calc(var(--header-h) + 28px) 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding-bottom: 28px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-line { display: block; }
.hero-line em {
  font-style: normal;
  color: var(--cyan);
}

.hero .lead {
  margin: 0 0 22px;
  max-width: 34ch;
  font-size: 1.12rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 8px;
}

.store-badge img {
  display: block;
  height: 44px;
  width: auto;
}

.store-badge[href] { cursor: pointer; }
.store-badge:disabled,
.store-badge[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
  filter: grayscale(0.15);
}

.store-badge .pending-flag {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.store-badge[data-store="google-play"] img {
  height: 60px;
  margin: -8px -10px;
}

.store-pending {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.section .store-pending,
.cta-band .store-pending,
.plan .store-pending,
.wrap > .store-pending {
  color: var(--muted);
}

.hero-price {
  margin: 18px 0 0;
  font-size: 0.98rem;
}

.hero-price strong { font-weight: 700; }
.hero-sub {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.phone-showcase {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.phone-stage {
  width: min(100%, 360px);
  aspect-ratio: var(--phone-ratio);
}

.phone-showcase.is-framed .phone-stage {
  width: min(100%, 420px);
}

/* Used only when a screenshot has no device around it yet. */
.phone {
  width: 100%;
  height: 100%;
  transform: rotate(8deg);
  transform-origin: 60% 60%;
  filter: drop-shadow(0 28px 40px rgba(4, 20, 90, 0.32));
}

/*
 * The supplied renders already contain the device, its side perspective and its
 * backward tilt. Adding a CSS bezel or rotation here would double both, so the
 * framed path strips the synthetic frame and leaves the artwork alone.
 */
.phone-showcase.is-framed .phone,
.phone-showcase.is-framed .phone-screen {
  transform: none;
  filter: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.phone-bezel {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(180deg, #2b2f36, #0d0f13);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.2);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #f4f7fb;
}

.phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 380ms ease;
}

.phone-shot.is-active { opacity: 1; }

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.showcase-controls button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
}

.showcase-controls button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}

.showcase-controls .pause {
  width: 36px;
  padding: 0;
  display: grid;
  place-items: center;
}

.curve {
  display: block;
  width: 100%;
  height: 72px;
  margin-top: -1px;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section .deck {
  margin: 0 0 28px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-blue {
  background:
    radial-gradient(80% 80% at 90% 10%, rgba(126, 240, 255, 0.18), transparent 40%),
    linear-gradient(180deg, #0a2fff, #1458ff);
  color: #fff;
}

.section-blue h2,
.section-blue .deck { color: #fff; }
.section-blue .deck { color: rgba(255, 255, 255, 0.84); }

/* Against the sand tint, a flat white card is what separates from the page. */
.section-sand {
  background: var(--sand);
  --card-bg: #ffffff;
  --card-line: rgba(11, 31, 58, 0.07);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  text-align: center;
  padding: 8px;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.step a { color: inherit; text-decoration: none; }
.step a:hover { text-decoration: underline; }

.feature-grid,
.card-grid,
.split {
  display: grid;
  gap: 22px;
}

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.split {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* Puts the copy second in source order without reordering it for a screen reader. */
.split-reverse > .split-copy { order: 2; }

.split-copy > :first-child { margin-top: 0; }
.split-copy > :last-child { margin-bottom: 0; }
.split-copy h2 { margin-top: 1.6em; }
.split-copy > h2:first-child,
.split-copy .eyebrow + h2 { margin-top: 0; }

/*
 * The how-it-works steps pair a short paragraph with a tall phone. A full-size
 * screenshot there leaves the copy column mostly empty.
 */
.step-section { padding: 48px 0; }
.step-section .demo-shot { width: min(100%, 232px); }
.step-section .document-frame { width: min(100%, 300px); }
.step-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/*
 * Feature pages pair a short list with a tall phone. The default 320px
 * screenshot is taller than the copy, so those pages use the same smaller
 * size as how-it-works. Homepage and about keep the larger shot.
 */
.feature-page .demo-shot { width: min(100%, 232px); }

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-ink { color: var(--electric); }

.ticks {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
}

/* A tick inside a soft disc: legible at small sizes and calmer than a bullet. */
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(27, 109, 255, 0.10);
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.1em + 7px);
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--electric);
  border-bottom: 2px solid var(--electric);
  transform: rotate(-45deg);
}

.grid-footnote {
  margin: 28px 0 0;
  font-weight: 600;
}

.pricing-notes {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 62ch;
  display: grid;
  gap: 12px;
}

.pricing-notes h2 { margin: 0; }
.pricing-notes p { margin: 0; color: var(--muted); }

.country-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 22px;
  font-weight: 600;
  color: var(--ink);
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  align-items: stretch;
}

.guide-card .eyebrow { margin-bottom: 12px; }
.guide-card > p.muted { font-size: 0.95rem; line-height: 1.55; }

.guide-meta {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.guide-card .guide-meta { margin: 0; }

.prose .guide-meta { margin: 0 0 24px; }

/* ------------------------------------------------------------------ *
 * Cards
 *
 * One surface treatment shared by every panel: a barely-there vertical
 * tint, a soft hairline, and a wide low-opacity shadow that does the
 * separating. The tiles that link somewhere additionally lift on hover.
 * ------------------------------------------------------------------ */
.card,
.feature-card,
.plan,
.faq details,
.related a,
.guide-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.card,
.feature-card,
.plan,
.related a,
.guide-card {
  padding: var(--card-pad);
}

/* Cards fill their grid track so a row of them shares one height. */
.card,
.feature-card,
.related a,
.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/*
 * A card heading is a card heading whichever level the page outline needs
 * there — support uses h2, the homepage uses h3 — so both are pinned to one
 * size. Without this they render at different sizes side by side.
 */
.card h2,
.card h3,
.feature-card h2,
.feature-card h3,
.guide-card h2,
.guide-card h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.card > p,
.feature-card > p,
.related a > p,
.guide-card > p { margin: 0 0 10px; }

.card > p:last-of-type,
.feature-card > p:last-of-type,
.related a > p:last-of-type { margin-bottom: 0; }

.card > p,
.feature-card > p {
  font-size: 0.97rem;
  line-height: 1.55;
}

/*
 * An info card carries a primary line and a quieter follow-up, so only the
 * ones asking to be muted are. A feature tile has one line, and it supports
 * the heading rather than competing with it.
 */
.card > p { color: var(--text); }
.card > p.muted { color: var(--muted); }
.feature-card > p { color: var(--muted); }

/* Icon (or heading) on the left, the link cue on the right. */
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.card-top .card-icon { margin-bottom: 0; }
.card-top > h3 { margin: 0; }

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
}

/* The tinted rounded square an icon sits in. */
.card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  margin: 0 0 16px;
  border-radius: 13px;
  background: var(--chip-bg);
  color: var(--chip-ink);
  transition: background-color 200ms ease, color 200ms ease;
}

.card-icon svg { display: block; width: 22px; height: 22px; }

/* Whole-tile links: the anchor is the card, so the heading stays ink. */
.feature-card,
.related a,
.guide-card {
  color: inherit;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-card:hover,
.feature-card:focus-visible,
.related a:hover,
.related a:focus-visible,
.guide-card:hover,
.guide-card:focus-visible {
  color: inherit;
  border-color: var(--card-line-live);
  box-shadow: var(--card-shadow-live);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover,
  .related a:hover,
  .guide-card:hover { transform: translateY(-3px); }
  .feature-card:hover .card-icon {
    background: var(--electric);
    color: #fff;
  }
}

/* Sits at the foot of a linked card and slides on hover. */
.card-cue {
  margin: 14px 0 0;
  display: inline-flex;
  align-items: center;
  color: rgba(27, 109, 255, 0.55);
  transition: color 200ms ease, transform 200ms ease;
}

.card-cue svg { display: block; width: 17px; height: 17px; }
.card-top .card-cue,
.card-foot .card-cue { margin: 0; }

.feature-card:hover .card-cue,
.feature-card:focus-visible .card-cue,
.related a:hover .card-cue,
.related a:focus-visible .card-cue,
.guide-card:hover .card-cue,
.guide-card:focus-visible .card-cue {
  color: var(--electric);
  transform: translateX(4px);
}

.muted { color: var(--muted); }

.demo-frame {
  margin: 0;
  min-height: 280px;
  border-radius: 28px;
  background: linear-gradient(180deg, #eef4ff, #fff);
  border: 1px solid var(--line);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.demo-frame.is-framed {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

/*
 * <picture> blockifies to the full column, so centring the figure is not
 * enough — the image inside has to centre itself.
 */
.demo-frame picture,
.document-frame picture {
  display: block;
}

.demo-shot,
.document-shot {
  display: block;
  margin-inline: auto;
}

.demo-shot {
  width: min(100%, 320px);
  aspect-ratio: var(--phone-ratio);
  object-fit: contain;
}

/*
 * No drop-shadow on the framed path. The masters carry their own blue glow, and
 * a CSS shadow traces the artwork's alpha outline — which puts a dark edge
 * around the glow, the exact thing these images were re-cut to remove. The
 * unframed `.phone` placeholder keeps its shadow because it has no glow.
 */
.demo-frame.is-framed .demo-shot {
  filter: none;
}

.shot-caption {
  max-width: 34ch;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

.hero .shot-caption,
.section-blue .shot-caption { color: rgba(255, 255, 255, 0.78); }

.demo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

@media (max-width: 860px) {
  .demo-pair { grid-template-columns: 1fr; }
}

.document-frame {
  width: min(100%, 420px);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.document-shot {
  width: 100%;
  aspect-ratio: 739 / 1024;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.placeholder-note {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ *
 * Plans
 *
 * Order inside a plan is fixed: name, price, one line of what it is for,
 * a rule, what you get, then the action. Both cards fill the row height
 * so neither ends in a blank half.
 * ------------------------------------------------------------------ */
.plan-grid { margin-top: 16px; align-items: stretch; }

.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px var(--card-pad) var(--card-pad);
}

.plan-head {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--card-line);
}

/*
 * Scoped to .plan because the pricing page needs an h2 here for its outline,
 * and a bare .plan-name loses to `.section h2` on specificity.
 */
.plan .plan-name {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.plan-price { margin: 0 0 12px; }

.plan-amount {
  display: block;
  font-size: clamp(2.1rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.plan-period {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-summary {
  margin: 0;
  max-width: 34ch;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--muted);
}

.plan-features { margin: 0 0 24px; font-size: 0.97rem; }

/* Pro: a gradient hairline and a coloured glow instead of a louder fill. */
.plan.is-pro {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%) padding-box,
    linear-gradient(140deg, var(--royal) 0%, var(--electric) 45%, var(--cyan) 100%) border-box;
  box-shadow: 0 2px 4px rgba(11, 31, 58, 0.05), 0 26px 54px -24px rgba(10, 47, 255, 0.34);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: var(--card-pad);
  margin: 0;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--royal);
  color: #fff;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -6px rgba(10, 47, 255, 0.6);
}

/* margin-top:auto keeps both buttons on the same line as each other. */
.plan-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.plan-cta:hover {
  color: var(--ink);
  border-color: var(--card-line-live);
  box-shadow: 0 10px 24px -14px rgba(11, 31, 58, 0.4);
}

.plan-cta.is-primary {
  border-color: transparent;
  background: var(--royal);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(10, 47, 255, 0.65);
}

.plan-cta.is-primary:hover {
  color: #fff;
  background: var(--royal-deep);
  box-shadow: 0 16px 32px -12px rgba(10, 47, 255, 0.75);
}

.faq { display: grid; gap: 10px; }

.faq details {
  padding: 0;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq details[open] { border-color: var(--card-line-live); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ink);
  border-radius: var(--card-radius);
}

/* A chevron that turns down when the answer is open. */
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--electric);
  border-bottom: 2px solid var(--electric);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms ease;
}

.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }

.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.cta-band {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--royal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover { filter: brightness(1.06); text-decoration: none; color: #fff; }

.prose {
  width: min(760px, calc(100% - 40px));
  margin: 40px auto 72px;
}

.prose h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.prose h2 { color: var(--ink); margin-top: 2em; }
.page-hero {
  background: linear-gradient(180deg, #0a2fff, #1a62ff);
  color: #fff;
  padding: 36px 0 48px;
}

.page-hero h1 {
  margin: 0 0 10px;
  max-width: 24ch;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.page-hero p { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, 0.88); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.breadcrumbs a { color: inherit; }
.theme-solid .breadcrumbs { color: rgba(255, 255, 255, 0.8); }

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  align-items: stretch;
}

.related a h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.related a > p { font-size: 0.94rem; line-height: 1.5; }

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 8px; }

.footer-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  font-size: 0.9rem;
}

.dev-banner {
  background: #111827;
  color: #fde68a;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .feature-grid,
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .country-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { gap: 28px; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-mobile {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) - 8px);
    padding: 12px;
    border-radius: 18px;
    background: rgba(8, 18, 80, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }
  .nav-open .nav-mobile { display: grid; gap: 4px; }
  .nav-mobile a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px;
    border-radius: 12px;
  }
  .hero-grid,
  .split,
  .card-grid,
  .card-grid-3,
  .footer-grid { grid-template-columns: 1fr; }
  /* Feature tiles are compact enough to keep two abreast on a tablet. */
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .plan-grid { gap: 30px; }
  .hero { padding-top: calc(var(--header-h) + 12px); }
  .hero-grid { gap: 28px; padding-bottom: 8px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .hero .lead { max-width: none; }
  .phone { transform: rotate(3deg); }
  .phone-stage { width: min(72vw, 280px); }
  .phone-showcase.is-framed .phone-stage { width: min(78vw, 320px); }
  .section { padding: 56px 0; }
  /* Copy stays above its screenshot on one column, whatever the desktop order. */
  .split-reverse > .split-copy { order: 0; }
  .demo-frame { min-height: 0; }
  .footer-grid { gap: 22px; }
}

@media (max-width: 600px) {
  .country-list { grid-template-columns: 1fr; }
  .prose { width: min(760px, calc(100% - 32px)); }
  /* One column of tiles once two would each be narrower than their copy. */
  .feature-grid { grid-template-columns: 1fr; }
  :root { --card-pad: 22px; --card-radius: 16px; }
  .card-icon { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 13px; }
  .card-icon svg { width: 20px; height: 20px; }
  .plan-amount { font-size: 2.1rem; }
}

@media (max-width: 430px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .hero h1 { font-size: 2.35rem; }
  .store-badge img { height: 40px; }
  .store-badge[data-store="google-play"] img { height: 56px; }
  .phone-stage { width: min(70vw, 240px); }
  .phone-showcase.is-framed .phone-stage { width: min(80vw, 300px); }
  :root { --card-pad: 20px; }
  .plan { padding: 28px var(--card-pad) var(--card-pad); }
  .faq summary { padding: 16px 18px; gap: 14px; }
  .faq details p { padding: 0 18px 18px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 2.05rem; }
  .page-hero h1 { font-size: 1.85rem; }
  .section h2 { font-size: 1.6rem; }
  .showcase-controls { gap: 4px; padding: 4px; }
  .showcase-controls button { padding: 0 9px; font-size: 0.8rem; }
  .breadcrumbs { font-size: 0.8rem; }
}

/* Phone held sideways: the hero must not need a full scroll to clear it. */
@media (orientation: landscape) and (max-height: 560px) {
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
  .hero h1 { font-size: clamp(1.9rem, 5.4vh, 2.6rem); }
  .hero .lead { font-size: 1rem; margin-bottom: 16px; }
  .phone-stage,
  .phone-showcase.is-framed .phone-stage { width: min(30vw, 190px); }
  .section { padding: 44px 0; }
}

/* An automatic cross-fade is motion. Reduced motion gets a hard cut instead. */
@media (prefers-reduced-motion: reduce) {
  .phone-shot { transition: none; }
}
