/* Bermuda Arrivals website. Colours, type and corner radii come from the app's design system (src/theme.ts):
   ocean is the one brand colour, sand is a rare accent, everything else is neutral. Light and dark follow the
   visitor's system setting; data-theme on <html> can force either. */

@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("../fonts/Figtree-Regular.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("../fonts/Figtree-Medium.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("../fonts/Figtree-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("../fonts/Figtree-Bold.ttf") format("truetype"); }

:root {
  color-scheme: light;
  --ground: #f2f5f8;
  --surface: #ffffff;
  --sunken: #e9eef3;
  --text: #0f1e2b;
  --text-2: #566472;
  --text-3: #92a0ae;
  --text-brand: #0b5c8f;
  --brand: #0b5c8f;
  --brand-pressed: #084a73;
  --brand-tint: #e2eef7;
  --brand-deep: #0c2f4a;
  --accent: #c2416a;
  --accent-tint: #fbe6ed;
  --border: #dbe3ea;
  --border-strong: #6f8091;
  --caution: #9a5b00;
  --caution-tint: #fdf1dc;
  --danger: #c0362c;
  --danger-tint: #fde8e5;
  --success: #1d7a46;
  --success-tint: #e3f3ea;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-card: 0 10px 28px -10px rgba(15, 30, 43, 0.18), 0 1px 2px rgba(15, 30, 43, 0.05);
  --shadow-float: 0 10px 30px -8px rgba(15, 30, 43, 0.2), 0 1px 2px rgba(15, 30, 43, 0.05);
  --shadow-button: 0 10px 24px -10px rgba(11, 92, 143, 0.6);
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-xl: 40px;
  --wrap: 1160px;
  --gutter: 20px;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #0f1e2b;
    --surface: #182734;
    --sunken: #2c3a48;
    --text: #f2f5f8;
    --text-2: #b6c1cc;
    --text-3: #6f8091;
    --text-brand: #7cc0ee;
    --brand: #2479b5;
    --brand-pressed: #0b5c8f;
    --brand-tint: #0c2f4a;
    --brand-deep: #08243a;
    --accent: #e5799a;
    --accent-tint: #3d1a26;
    --border: #2c3a48;
    --border-strong: #92a0ae;
    --caution: #f2b544;
    --caution-tint: #33260a;
    --danger: #ff8a80;
    --danger-tint: #3d1612;
    --success: #4cc283;
    --success-tint: #12301f;
    --glass: rgba(24, 39, 52, 0.72);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 8px 24px -8px rgba(0, 0, 0, 0.7);
    --shadow-float: 0 12px 30px -8px rgba(0, 0, 0, 0.8);
    --shadow-button: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0f1e2b;
  --surface: #182734;
  --sunken: #2c3a48;
  --text: #f2f5f8;
  --text-2: #b6c1cc;
  --text-3: #6f8091;
  --text-brand: #7cc0ee;
  --brand: #2479b5;
  --brand-pressed: #0b5c8f;
  --brand-tint: #0c2f4a;
  --brand-deep: #08243a;
  --accent: #e5799a;
  --accent-tint: #3d1a26;
  --border: #2c3a48;
  --border-strong: #92a0ae;
  --caution: #f2b544;
  --caution-tint: #33260a;
  --danger: #ff8a80;
  --danger-tint: #3d1612;
  --success: #4cc283;
  --success-tint: #12301f;
  --glass: rgba(24, 39, 52, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-card: 0 8px 24px -8px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 12px 30px -8px rgba(0, 0, 0, 0.8);
  --shadow-button: none;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--text-brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-float); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } body { font-size: 16px; } }

/* Icons from assets/icons.svg: <svg class="ic"><use href="/assets/icons.svg#i-name"/></svg> */
.ic { width: 22px; height: 22px; flex: none; stroke-width: 1.5; color: inherit; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 16px; height: 16px; stroke-width: 2; }
.ic.lg { width: 26px; height: 26px; }

/* ---------- Type ---------- */

.overline { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-brand); }
.pro-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-size: 11px; vertical-align: 1px; }
.display { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.03em; }
.h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text-2); }
.muted { color: var(--text-2); }
.fine { font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-button); }
.btn-primary:hover { background: var(--brand-pressed); }
.btn-quiet { background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }
.btn-quiet:hover { background: var(--sunken); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Store buttons: Apple's own badge, unaltered and at least 40px tall, with a quarter of its height clear around it;
   a quiet "coming soon" pill for Google Play until the Android app is out */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: inline-flex; margin-right: 3px; border-radius: 12px; }
.badge img { display: block; height: 60px; width: auto; }
.store.soon { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 22px 10px 16px;
  border-radius: 18px; background: var(--text); color: var(--ground); text-decoration: none;
}
.store .ic { width: 28px; height: 28px; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 12px; font-weight: 600; opacity: 0.72; }
.store strong { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.store[aria-disabled="true"] { cursor: default; }

/* ---------- Header and navigation (the app's glass pill) ---------- */

.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; pointer-events: none; }
.site-header .wrap { pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 8px 8px 8px 14px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-float);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-right: auto; white-space: nowrap; }
.mark { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(180deg, #0b5c8f, #084a73); color: #fff; display: grid; place-items: center; flex: none; }
.mark img { width: 24px; height: 24px; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--text-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav-links a:hover { color: var(--text); background: var(--sunken); }
.nav-links a[aria-current="page"] { color: var(--text-brand); background: var(--brand-tint); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--sunken); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .i-close { display: none; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav .btn { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-float);
    opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .nav-links a { padding: 14px 16px; font-size: 16px; border-radius: var(--r-sm); }
  .nav-links .nav-cta { display: block; margin-top: 6px; text-align: center; color: #fff; background: var(--brand); }
  .site-header.open .nav-links { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .site-header.open .nav-toggle .i-menu { display: none; }
  .site-header.open .nav-toggle .i-close { display: block; }
}
@media (min-width: 861px) { .nav-links .nav-cta { display: none; } }

/* ---------- Sections ---------- */

section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 720px; display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* Hero */
.hero { padding: clamp(20px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 24px; align-content: center; }
.hero-copy .lead { max-width: 520px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); font-size: 14px; font-weight: 600; color: var(--text-2);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.disclaimer-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); max-width: 480px; }
.disclaimer-line .ic { color: var(--text-brand); margin-top: 1px; }

.hero-visual { position: relative; min-height: 640px; }
.hero-art {
  position: absolute; inset: 0 0 72px 0; border-radius: var(--r-xl); overflow: hidden;
  background: #cfe6f3 url("../img/hero-bermuda.jpg") center 40% / cover no-repeat;
}
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 30, 43, 0.18)); }
.hero-phones { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.hero-phones .phone-ios { position: relative; z-index: 2; margin-right: -36px; }
.hero-phones .phone-android { position: relative; z-index: 1; margin-bottom: 36px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-visual { min-height: 0; height: clamp(540px, 128vw, 700px); }
}

/* Facts under the hero */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.fact > div > strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.fact > div > span { display: block; font-size: 14px; color: var(--text-2); line-height: 1.45; margin-top: 2px; }
.icon-circle { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand-tint); color: var(--text-brand); }
.icon-circle.accent { background: var(--accent-tint); color: var(--accent); }
@media (max-width: 980px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Feature rows: copy beside a phone on a soft panel */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 120px); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; max-width: 500px; }
.feature-copy .lead { font-size: 18px; }
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 6px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--text-brand); display: grid; place-items: center; flex: none; margin-top: 1px; }
.ticks strong { font-weight: 700; }
.panel {
  position: relative; border-radius: var(--r-xl); overflow: hidden; display: flex; justify-content: center; align-items: center;
  padding: 44px 24px; background: var(--brand-tint);
}
.panel.sand { background: var(--accent-tint); }
.panel.plain { background: var(--sunken); }
.panel.art { background: #cfe6f3 var(--art) center / cover no-repeat; }
.panel.art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(15,30,43,0.12)); }
.panel .phone-wrap { position: relative; }
.panel-note {
  position: absolute; z-index: 3; left: 20px; bottom: 20px; right: 20px; display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-float); font-size: 14px; line-height: 1.4; color: var(--text);
}
.panel-note .icon-circle { width: 36px; height: 36px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .feature-copy { max-width: none; }
  .panel { padding: 32px 16px; }
}

/* Platforms: the same screens on both phones */
.platforms { display: flex; justify-content: center; align-items: flex-end; gap: clamp(20px, 5vw, 72px); flex-wrap: wrap; }
.platform { display: grid; justify-items: center; gap: 20px; }
.platform figcaption { display: grid; justify-items: center; gap: 2px; text-align: center; }
.platform figcaption strong { font-size: 17px; font-weight: 700; }
.platform figcaption span { font-size: 14px; color: var(--text-2); }

/* Visitors band */
.band { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); background: var(--surface); box-shadow: var(--shadow-card); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border-radius: var(--r-lg); background: var(--surface); padding: 24px; box-shadow: var(--shadow-card); display: grid; gap: 12px; align-content: start; }
.card.sunken { background: var(--ground); box-shadow: none; }
.card h3 { font-size: 19px; letter-spacing: -0.01em; }
.card p { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); display: grid; gap: 10px; align-content: start; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 17px;
}
.step h3 { font-size: 20px; letter-spacing: -0.01em; }
.step p { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Privacy block: the deep-ocean "wallet card" look from Profile */
.privacy-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(32px, 6vw, 72px);
  background: radial-gradient(120% 140% at 100% 0%, #1a77b3 0%, #0b5c8f 38%, #0c2f4a 100%); color: #fff;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start;
}
.privacy-card::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -260px; border-radius: 50%; border: 60px solid rgba(255,255,255,0.05); pointer-events: none; }
.privacy-card .overline { color: #b0d7f3; }
.privacy-card .lead { color: rgba(255, 255, 255, 0.82); }
.privacy-card a.btn-quiet { background: #fff; color: #0f1e2b; box-shadow: none; }
.privacy-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 1; }
.privacy-points li { padding: 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 8px; align-content: start; }
.privacy-points .ic { color: #b0d7f3; }
.privacy-points strong { font-size: 16px; font-weight: 700; }
.privacy-points span { font-size: 14px; color: rgba(255, 255, 255, 0.78); line-height: 1.45; }
@media (max-width: 900px) { .privacy-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .privacy-points { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 0.2s ease; color: var(--text-2); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); display: grid; gap: 10px; font-size: 16px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h3 { font-size: 20px; margin-bottom: 14px; padding-left: 4px; }

/* Download CTA */
.cta {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: clamp(32px, 6vw, 64px); background: var(--surface); box-shadow: var(--shadow-card);
}
.cta-art { position: absolute; inset: 0 0 0 auto; width: 46%; background: #cfe6f3 url("../img/places/bermuda-horseshoe-bay.jpg") center / cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.cta-copy { position: relative; display: grid; gap: 18px; max-width: 560px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta-art { position: relative; width: auto; height: 180px; margin: -32px -32px 8px; inset: auto; -webkit-mask-image: linear-gradient(0deg, transparent, #000 50%); mask-image: linear-gradient(0deg, transparent, #000 50%); order: -1; } }

/* ---------- Footer ---------- */

.site-footer { padding: 64px 0 40px; margin-top: 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h4 { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 12px; color: var(--text); }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; }
.footer-about { display: grid; gap: 14px; align-content: start; }
.footer-about p { font-size: 14px; color: var(--text-2); max-width: 440px; }
.footer-about .credit { font-size: 12px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.ext::after { content: " ↗"; font-size: 0.85em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

/* ---------- Inner pages (support, contact, legal) ---------- */

.page-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.page-hero .wrap { display: grid; gap: 16px; }
.page-hero .lead { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--text-2); list-style: none; }
.crumbs a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--text-3); }

.hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hub a {
  display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--shadow-card); color: var(--text); text-decoration: none; transition: transform 0.15s ease;
}
.hub a:hover { transform: translateY(-2px); }
.hub h2 { font-size: 22px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hub h2 .ic { color: var(--text-2); }
.hub p { color: var(--text-2); font-size: 15px; }
@media (max-width: 1100px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hub { grid-template-columns: 1fr; } }

.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }
/* The heading beside the questions stays in view on wide screens; stacked above them on a phone, it scrolls away */
@media (min-width: 901px) { .faq-aside { position: sticky; top: 100px; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--sunken); color: var(--text-2); font-size: 15px; }
.note.info { background: var(--brand-tint); color: var(--text); }
.note.info .ic { color: var(--text-brand); }
.note.caution { background: var(--caution-tint); color: var(--text); }
.note.caution .ic { color: var(--caution); }
.note .ic { margin-top: 1px; }

/* Contact form */
.form-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--border);
  background: var(--ground); color: var(--text); font: 500 16px/1.4 var(--font); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; }
.form-status.show { display: flex; }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.check-row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }

.side-list { display: grid; gap: 12px; }
.side-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.side-item strong { display: block; font-weight: 700; }
.side-item p { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.side-item a { font-weight: 600; overflow-wrap: anywhere; }

/* Legal documents */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: 14px; }
.toc strong { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 8px; padding-left: 12px; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-weight: 600; line-height: 1.35; }
.toc a:hover { background: var(--sunken); color: var(--text); }
.doc { max-width: 760px; display: grid; gap: 0; }
.doc .summary { padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); display: grid; gap: 14px; margin-bottom: 40px; }
.doc .summary h2 { font-size: 20px; }
.doc .summary ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.doc .summary li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.doc .summary li .ic { color: var(--text-brand); margin-top: 2px; }
.doc section { padding-top: 8px; scroll-margin-top: 100px; }
.doc section + section { margin-top: 36px; }
.doc h2 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 14px; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { font-weight: 400; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; margin: 10px 0; }
.doc .summary li { font-weight: 500; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); font-weight: 400; line-height: 1.5; }
.doc th { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-2); }
.doc td:first-child { font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); padding: 4px 6px; margin: 14px 0; }
.table-wrap table { margin: 0; }
.doc .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
}

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost .wrap { display: grid; gap: 18px; justify-items: center; }

/* ---------- Phone sizes, wherever they appear (assets/css/mock.css draws the phones) ---------- */

.hero-phones .phone-ios { --scale: 0.7; }
.hero-phones .phone-android { --scale: 0.62; }
.panel .phone { --scale: 0.68; }
.platform .phone { --scale: 0.7; }
@media (max-width: 1140px) and (min-width: 981px) {
  .hero-phones .phone-ios { --scale: 0.62; }
  .hero-phones .phone-android { --scale: 0.55; }
}
@media (max-width: 560px) {
  .hero-phones .phone-ios { --scale: 0.5; margin-right: -40px; }
  .hero-phones .phone-android { --scale: 0.45; margin-bottom: 22px; }
  .hero-visual { height: 500px; }
  .panel .phone { --scale: 0.6; }
  .platform .phone { --scale: 0.6; }
}

/* ---------- Pricing (/pricing/) ---------- */

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 22px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.plan.best { box-shadow: var(--shadow-card), inset 0 0 0 2px var(--brand); }
.plan .flag { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.plan h3 { font-size: 19px; letter-spacing: -0.01em; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price strong { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--text-2); font-size: 15px; }
.plan .lede { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--border); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.plan li .ic { color: var(--text-brand); margin-top: 2px; }
.plan .save { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--text-brand); font-size: 13px; font-weight: 700; }
.plan.free .price strong { color: var(--text); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

.plans-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); background: var(--brand-tint); font-size: 15px; }
.plans-note .ic { color: var(--text-brand); margin-top: 1px; }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.compare thead th { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2); }
.compare th.col, .compare td.col { width: 96px; text-align: center; }
.compare tbody th { font-weight: 600; }
.compare tbody th span { display: block; font-weight: 500; font-size: 13.5px; color: var(--text-2); margin-top: 2px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .ic { width: 20px; height: 20px; stroke-width: 2; }
.compare .yes { color: var(--text-brand); }
.compare .no { color: var(--text-3); }
.compare-wrap { border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); padding: 6px 8px; overflow-x: auto; }
@media (max-width: 560px) { .compare th, .compare td { padding: 12px 10px; } .compare th.col, .compare td.col { width: 70px; } }

/* The landing page's short pricing section */
.price-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.price-chip { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.price-chip strong { font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.price-chip span { color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) { .price-strip { grid-template-columns: 1fr; } }

/* ---------- Guides (/guides/) ---------- */

.guide-cta { margin-top: 48px; padding: clamp(24px, 4vw, 32px); border-radius: var(--r-lg); background: var(--brand-tint); display: grid; gap: 12px; }
.doc .guide-cta h2, .guide-cta h2 { font-size: 22px; margin: 0; }
.guide-cta p { color: var(--text-2); }
.guide-cta .stores { margin-top: 6px; }
.doc .guide-more { margin-top: 40px; }
.doc .guide-more h2 { font-size: 20px; }
.doc .guide-more ul { list-style: none; padding-left: 0; gap: 14px; }
.doc .guide-more li { font-size: 15.5px; line-height: 1.5; }
.doc .guide-more li a { display: block; font-weight: 600; }
.doc .guide-more li span { color: var(--text-2); }
.guides-note { margin-top: 20px; max-width: 760px; }
