@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0c1a22;
  --ink-2: #4a5c67;
  --ink-3: #7a8b95;
  --bg: #ffffff;
  --bg-2: #f2f6f8;
  --line: rgba(12, 26, 34, 0.1);
  --brand: #0a5a6e;
  --brand-strong: #074455;
  --deep: #0a3442;
  --accent: #ff7a2e;
  --radius: 18px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e3eaee;
    --ink-2: #a2b2bb;
    --ink-3: #74858f;
    --bg: #0b1418;
    --bg-2: #121e24;
    --line: rgba(255, 255, 255, 0.09);
    --brand: #4fb3c8;
    --brand-strong: #7ccbdb;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 760; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
code { font-size: 12px; word-break: break-all; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.fine { font-size: 14px; color: var(--ink-3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px;
  background: var(--brand); color: #fff; font-weight: 650; text-decoration: none; border: 1px solid transparent; transition: background 120ms, transform 80ms;
}
.btn:hover { background: var(--brand-strong); }
.btn:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.btn-disabled { background: var(--bg-2); color: var(--ink-3); cursor: default; }
.btn-disabled:hover { background: var(--bg-2); }
@media (prefers-color-scheme: dark) { .btn { color: #04202a; } .btn-ghost, .btn-disabled { color: var(--ink); } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 12px max(20px, calc((100vw - 1160px) / 2));
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 15px; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

main > section, .strip { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 40px; }
.lede { font-size: 19px; color: var(--ink-2); margin: 22px 0 28px; max-width: 34em; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-shots { position: relative; height: 640px; }
.hero-shots .phone { position: absolute; width: 290px; }
.hero-shots .front { right: 18%; top: 0; z-index: 2; }
.hero-shots .back { right: 0; top: 60px; transform: rotate(5deg); opacity: 0.96; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-shots { height: 500px; overflow: hidden; margin: 0 -20px; }
  .hero-shots .phone { width: 220px; }
  .hero-shots .front { left: calc(50% - 160px); right: auto; top: 10px; }
  .hero-shots .back { left: calc(50% - 30px); right: auto; top: 50px; }
}

/* Phone frame */
.phone {
  margin: 0; border-radius: 42px; padding: 9px; background: #0b1216; box-shadow: 0 30px 70px rgba(6, 30, 40, 0.28), 0 4px 14px rgba(6, 30, 40, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 34px; width: 100%; }

/* Strip */
.strip { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding-top: 16px; padding-bottom: 40px; margin: 0 auto; }
.strip li { padding: 8px 16px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-weight: 600; font-size: 15px; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 330px; gap: 72px; align-items: center; padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.feature.flip { grid-template-columns: 330px 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature-copy p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; max-width: 32em; margin-top: 18px; }
@media (max-width: 820px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 52px; }
  .feature.flip .feature-copy { order: 0; }
  .feature .phone { max-width: 290px; margin: 0 auto; }
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 40px; padding-bottom: 80px; }
.grid article { background: var(--bg-2); border-radius: var(--radius); padding: 24px; }
.grid p { color: var(--ink-2); margin: 10px 0 0; font-size: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* Engine */
.engine {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; color: #e6f2f5;
  background: radial-gradient(120% 120% at 0% 0%, #127a90 0%, var(--deep) 55%, #061c24 100%);
  border-radius: 28px; padding: 56px !important; margin-bottom: 80px !important; max-width: 1120px !important;
}
.engine p { color: #a9cdd8; font-size: 18px; margin-top: 18px; }
.facts { display: grid; gap: 14px; margin: 0; }
.facts div { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 18px 20px; }
.facts dt { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.facts dd { margin: 2px 0 0; color: #a9cdd8; font-size: 15px; }
@media (max-width: 860px) { .engine { grid-template-columns: 1fr; padding: 32px 22px !important; margin-left: 12px !important; margin-right: 12px !important; } }

/* Apps */
.apps { padding-bottom: 80px; }
.apps h2 { text-align: center; margin-bottom: 32px; }
.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.app-card p { color: var(--ink-2); margin: 0; font-size: 16px; }
.app-card .btn { margin-top: auto; }
.app-card .fine { margin-top: 2px; }
.tag { font-size: 12px; font-weight: 700; background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 9px; vertical-align: 3px; margin-left: 6px; letter-spacing: 0; }
@media (max-width: 900px) { .app-cards { grid-template-columns: 1fr; } }

.safety { max-width: 820px !important; text-align: center; padding-bottom: 72px; }
.safety h2 { font-size: 26px; }
.safety p { color: var(--ink-2); font-size: 15px; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px max(20px, calc((100vw - 1160px) / 2)); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.foot span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-2); }
.foot img { border-radius: 6px; }
