:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --text: #13202b;
  --muted: #5a6b78;
  --line: #dde4ea;
  --accent: #e5483d;
  --ocean-1: #0e3b5c;
  --ocean-2: #0a6e7a;
  --radius: 20px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b141b;
    --surface: #121f29;
    --text: #e8eef3;
    --muted: #9aabb8;
    --line: #22323e;
    --accent: #ff6f60;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

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

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.menu-button { display: none; }

.hero {
  background: linear-gradient(135deg, var(--ocean-1), var(--ocean-2));
  color: #fff;
  padding: 72px 0 0;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}
.hero-copy { padding-bottom: 72px; }
.hero .app-icon {
  width: 96px;
  border-radius: 22%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.hero p { font-size: 20px; color: rgba(255, 255, 255, 0.85); margin: 0 0 28px; max-width: 30em; }
.hero-phone {
  justify-self: center;
  width: min(320px, 100%);
  border-radius: 36px 36px 0 0;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.35);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
}
.badge small { display: block; font-weight: 400; font-size: 12px; color: #555; line-height: 1.2; }
.badge span { line-height: 1.2; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
a.badge:hover { background: #f0f0f0; }
.hero .badge-note { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin: 14px 0 0; }

/* Closing call to action: a hero-style band at the end of an app page. */
.cta {
  background: linear-gradient(135deg, var(--ocean-1), var(--ocean-2));
  color: #fff;
  text-align: center;
}
.cta p { color: rgba(255, 255, 255, 0.85); font-size: 19px; margin: 0 0 28px; }
.cta .badges { justify-content: center; }

section { padding: 64px 0; }
section h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.lead { color: var(--muted); font-size: 19px; margin: 0 0 36px; max-width: 36em; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Spotlights: hero-style bands, a phone rising from the bottom edge beside a short callout,
   switching sides each time. */
.spotlights { display: grid; gap: 24px; }
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 56px 56px 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean-1), var(--ocean-2));
  color: #fff;
}
.spotlight:nth-child(even) { background: linear-gradient(225deg, var(--ocean-1), var(--ocean-2)); }
.spotlight img {
  justify-self: center;
  width: min(300px, 100%);
  border-radius: 36px 36px 0 0;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.35);
}
.spotlight:nth-child(even) img { order: 2; }
.spotlight > div { align-self: center; padding-bottom: 56px; }
.spotlight h3 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.spotlight p { color: rgba(255, 255, 255, 0.85); font-size: 19px; margin: 0; max-width: 26em; }

.platforms img { border-radius: 14px; border: 1px solid var(--line); margin-top: 8px; }

.doc { padding: 56px 0 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc .updated.tight { margin-bottom: 8px; }
.doc .intro { font-size: 19px; margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 1.2em; }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}
.callout p { margin: 0; }

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 12px 0;
}
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

.apps { display: grid; gap: 16px; }
.app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  text-decoration: none;
}
.app-card:hover { border-color: var(--muted); }
.app-card img { width: 72px; border-radius: 22%; flex: none; }
.app-card h3 { margin: 0; font-size: 20px; }
.app-card p { margin: 2px 0 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  padding: 28px 0 40px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; }
  .brand { line-height: 60px; }
  .menu-button {
    display: flex;
    background: none;
    border: 0;
    padding: 8px;
    margin-right: -8px;
    color: var(--text);
    cursor: pointer;
  }
  .nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .menu-button[aria-expanded="true"] + .nav { display: flex; }
  .nav a { padding: 10px 0; font-size: 17px; border-top: 1px solid var(--line); }
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 32px; }
  .hero-phone { width: min(260px, 80%); }
  .spotlight { grid-template-columns: 1fr; gap: 8px; padding: 40px 24px 0; }
  .spotlight img, .spotlight:nth-child(even) img { order: 2; width: min(260px, 80%); }
  .spotlight > div { padding-bottom: 24px; }
  section { padding: 48px 0; }
}
