:root {
  --primary: #000000;
  --primary-active: #1a1a1a;
  --text-link: #0d74ce;
  --text-link-secondary: #476cff;
  --ink: #171717;
  --body: #60646c;
  --muted: #999999;
  --muted-soft: #cccccc;
  --hairline: #f0f0f3;
  --hairline-soft: #f5f5f7;
  --hairline-strong: #dcdee0;
  --canvas: #ffffff;
  --canvas-soft: #fafafa;
  --surface-card: #ffffff;
  --surface-strong: #f0f0f3;
  --surface-dark: #171717;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #b0b4ba;
  --sky-light: #cfe7ff;
  --sky-mid: #a8c8e8;
  --accent-warning: #ab6400;
  --accent-preview: #8145b5;
  --success: #16a34a;
  --error: #eb8e90;
  --cyan: #02dcfd;
  --blue: #00a9fd;
  --deep-blue: #0064fb;
  --fleet: #00c48c;
  --navy: #0b1120;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --nav-h: 64px;
  --max: 1200px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; height: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Inter, -apple-system, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
#main, main {
  flex: 1 0 auto;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; z-index: 80; background: #000; color: #fff; padding: 8px 12px; border-radius: 8px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.88px; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-strong); color: var(--ink);
}
.eyebrow.sky { background: #e8f4ff; color: #0b5f99; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }
.display-mega { font-size: 64px; line-height: 1.05; letter-spacing: -1.92px; }
.display-xl { font-size: 48px; line-height: 1.1; letter-spacing: -1.44px; }
.display-lg { font-size: 36px; line-height: 1.15; letter-spacing: -1.08px; }
.display-md { font-size: 28px; line-height: 1.2; letter-spacing: -0.84px; }
.display-sm { font-size: 22px; line-height: 1.25; letter-spacing: -0.5px; }
.title-md { font-size: 18px; line-height: 1.4; font-weight: 600; }
.lede { color: var(--body); font-size: 16px; }
.muted { color: var(--body); }
.accent { color: #0d74ce; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 10px 18px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; border: 0; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover, .btn-primary:active { background: var(--primary-active); }
.btn-secondary { background: var(--surface-card); color: var(--ink); border: 1px solid var(--hairline-strong); }
.btn-secondary:hover { box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: var(--ink); }
.link { color: var(--text-link); font-weight: 500; }
.link:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; }
.brand img { width: 38px; height: 38px; object-fit: contain; background: transparent; }
.product-lockup {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  font-size: 18px; font-weight: 600;
}
.product-lockup img { width: 40px; height: 40px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .nav-drop > button {
  font-size: 14px; font-weight: 500; color: var(--body); background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-links > a:hover, .nav-drop > button:hover, .nav-links > a.is-active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions .login { font-size: 14px; font-weight: 500; color: var(--body); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 8px; color: var(--ink); }
.menu-toggle:hover { background: var(--canvas-soft); }
.nav-drop { position: relative; }
.nav-panel {
  display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 280px; background: #fff; border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 8px; z-index: 20;
}
.nav-drop.open .nav-panel { display: grid; gap: 2px; }
.nav-panel a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.nav-panel a:hover { background: var(--canvas-soft); }
.nav-panel small { display: block; color: var(--body); font-size: 13px; font-weight: 400; margin-top: 2px; }

.hero { position: relative; padding: 96px 0 64px; text-align: center; overflow: visible; }
.sky-wash {
  position: absolute; inset: -20% 0 auto; height: 720px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at top, rgba(207,231,255,.85) 0%, rgba(255,255,255,0) 70%);
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero h1 { margin: 20px 0 16px; }
.hero .lede { max-width: 640px; margin: 0 auto 24px; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.devices {
  position: relative; height: 680px; margin: 64px auto 0; max-width: 920px;
  perspective: 1400px; perspective-origin: 62% 40%; overflow: visible;
}
.laptop {
  position: absolute; left: 50%; bottom: 0; transform: translateX(calc(-50% - 50px));
  width: min(800px, 86%); height: 90%;
  display: flex; flex-direction: column; overflow: visible;
  background: transparent; border: 0; box-shadow: none;
}
.laptop-lid {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  background: #111; border: 8px solid #1a1a1a; border-bottom: 5px solid #1c1c1c;
  border-radius: 16px 16px 4px 4px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
.laptop-bar { height: 14px; background: #111; display: grid; place-items: center; flex-shrink: 0; }
.laptop-bar span { width: 6px; height: 6px; background: #555; border-radius: 50%; }
.laptop-screen { flex: 1; min-height: 0; background: #000; overflow: hidden; }
.laptop-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.laptop-base {
  position: relative; flex-shrink: 0; height: 22px; width: 112%;
  margin: 0 -6% 0; border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #d4d4d8 0%, #b8b8be 42%, #9a9aa2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 10px 18px rgba(0,0,0,.12);
}
.laptop-hinge {
  position: absolute; top: 0; left: 8%; right: 8%; height: 5px;
  background: linear-gradient(180deg, #8e8e96, #6f6f76);
  border-radius: 0 0 3px 3px;
}
.laptop-lip {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 96px; height: 7px;
  background: #6a6a72; border-radius: 6px 6px 2px 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.ui { height: calc(100% - 14px); background: #f8fafc; display: flex; flex-direction: column; }
.ui-top { height: 40px; background: #fff; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.chip { height: 10px; background: #e5e7eb; border-radius: 999px; }
.ui-body { flex: 1; display: flex; gap: 16px; padding: 16px; }
.side { width: 180px; background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; padding: 16px; }
.main-pane { flex: 1; background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; padding: 20px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.kpi { height: 88px; border-radius: 12px; border: 1px solid #f1f5f9; background: #f8fafc; }
.kpi.hi { background: #eff8ff; border-color: #dbeafe; }
.chart { height: 160px; border-radius: 12px; background: linear-gradient(180deg, #f8fafc, #eef2f7); border: 1px solid #f1f5f9; }
.devices .phone {
  position: absolute; right: 18%; bottom: 18px; width: 300px; height: 613px;
  z-index: 3; display: block;
  transform: translateX(262px);
  filter: drop-shadow(-18px 32px 28px rgba(0, 0, 0, 0.32));
}
.devices .phone img {
  width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  display: block; pointer-events: none;
}
.phone-btn {
  position: absolute; background: linear-gradient(90deg, #3a3a3e, #111);
  border-radius: 2px; z-index: 1;
}
.phone-btn-silent { width: 3px; height: 18px; left: -3px; top: 78px; }
.phone-btn-vol {
  width: 3px; height: 56px; left: -3px; top: 108px;
  box-shadow: 0 28px 0 0 #1a1a1a;
}
.phone-btn-pwr { width: 3px; height: 52px; right: -3px; top: 128px; }
.phone-bezel {
  height: 100%; padding: 9px 8px 10px;
  border-radius: 40px;
  background: linear-gradient(160deg, #4a4a50 0%, #1a1a1d 18%, #0a0a0a 55%, #2c2c30 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 0 0 3px #050505;
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 32px;
  background: #f4f6f8;
}
.phone-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px; background: #0a0a0a; border-radius: 999px; z-index: 4;
  box-shadow: inset 0 0 0 1px #222;
}
.phone-island::after {
  content: ""; position: absolute; right: 8px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3d5a80, #111 70%);
}
.phone-status {
  position: relative; z-index: 3; display: flex; justify-content: space-between;
  padding: 12px 18px 0; font-size: 11px; font-weight: 600; color: var(--ink);
}
.phone-status-icons { letter-spacing: 1px; font-size: 8px; color: var(--body); }
.phone-body {
  padding: 14px 12px 28px; display: grid; gap: 10px; align-content: start;
}
.phone-home {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 92px; height: 4px; border-radius: 999px; background: #c9cdd3;
}
.p-card {
  min-height: 78px; border-radius: 14px; background: #fff; border: 1px solid #e8eaee;
  padding: 12px; display: flex; flex-direction: column; justify-content: center; gap: 4px; text-align: left;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.p-card strong { font-size: 13px; color: var(--ink); }
.p-card span { font-size: 11px; color: var(--body); }
.p-card.hi { background: #eff8ff; border-color: #dbeafe; }
a.p-card:hover { box-shadow: var(--shadow-soft); }
.p-card.erp { background: #eef2ff; border-color: #dbe0ff; }
.p-card.fleet { background: #ecfdf5; border-color: #d1fae5; }

.product-board {
  max-width: 920px; margin: 40px auto 0; text-align: left;
  background: #fff; border: 1px solid var(--hairline-strong); border-radius: var(--radius-xl);
  padding: 20px; box-shadow: var(--shadow-soft);
}
.board-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.board-card {
  border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); padding: 20px; background: #fff; min-height: 120px;
}
.board-card.hi { background: #eff8ff; border-color: #dbeafe; }
.board-card.blue { background: #eef2ff; border-color: #dbe0ff; }
.board-card.green { background: #ecfdf5; border-color: #d1fae5; }
.board-card.wide { min-height: 88px; }
.board-card h3 { margin-bottom: 6px; }
.board-card p { margin: 0; color: var(--body); font-size: 14px; }

.section { padding: var(--section) 0; }
.section.soft { background: var(--canvas-soft); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--body); margin-top: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--surface-card); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); padding: 24px;
}
.card:hover { box-shadow: var(--shadow-soft); }
.icon {
  width: 48px; height: 48px; border-radius: 8px; display: grid; place-items: center;
  margin-bottom: 16px; border: 1px solid transparent; font-size: 22px;
}
.icon.mark { background: transparent; border: 0; padding: 0; overflow: visible; }
.icon.mark img { width: 48px; height: 48px; object-fit: contain; }
.icon.cyan { background: #e8f7ff; color: #0284c7; border-color: #cfeeff; }
.icon.blue { background: #e8eeff; color: #2563eb; border-color: #d6e0ff; }
.icon.green { background: #e9fbf4; color: #059669; border-color: #c8f0e0; }
.icon.gray { background: var(--surface-strong); color: var(--ink); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); margin: 0 0 16px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 16px; align-items: center; }
.platforms.center { justify-content: center; }
.plat {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--hairline-strong);
  background: #fff; display: grid; place-items: center; color: var(--ink);
}
.plat svg { width: 20px; height: 20px; display: block; }
.plat:hover { box-shadow: var(--shadow-soft); }

.app-store {
  max-width: 980px; margin: 0 auto; background: #fff;
  border: 1px solid var(--hairline-strong); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.app-store-top {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--hairline);
}
.app-store-icon {
  width: 96px; height: 96px; border-radius: 22px; overflow: hidden;
  background: #0B1120; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.app-store-icon img { width: 72px; height: 72px; object-fit: contain; }
.app-store-meta h3 { margin: 0 0 4px; font-size: 22px; }
.app-store-meta p { margin: 0; color: var(--body); font-size: 14px; }
.app-store-meta .platforms { margin: 12px 0 0; }
.app-store-shots {
  display: flex; gap: 14px; padding: 20px 24px 24px; overflow-x: auto;
  background: linear-gradient(180deg, #f7f8fa, #fff);
}
.app-shot {
  flex: 0 0 auto; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--hairline-strong); background: #0B1120;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.app-shot.phone { width: 168px; height: 340px; }
.app-shot.window { width: 320px; height: 210px; }
.app-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-shot .win-chrome {
  height: 100%; display: flex; flex-direction: column; background: #0B1120; color: #dde2f8;
}
.app-shot .win-bar {
  height: 28px; background: #121a2e; border-bottom: 1px solid #1e293b;
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
}
.app-shot .win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #475569; display: block; }
.app-shot .win-body { flex: 1; padding: 14px; display: grid; gap: 10px; }
.app-shot .win-body .row { height: 28px; border-radius: 8px; background: #121a2e; }
.app-shot .win-body .panel { flex: 1; border-radius: 10px; background: linear-gradient(135deg, #121a2e, #0b1120); border: 1px solid #1e293b; min-height: 90px; display: grid; place-items: center; }
.app-shot .win-body .panel img { width: 48px; height: 48px; object-fit: contain; opacity: .95; }

@media (max-width: 768px) {
  .app-store-top { grid-template-columns: 72px 1fr; }
  .app-store-icon { width: 72px; height: 72px; border-radius: 16px; }
  .app-store-icon img { width: 52px; height: 52px; }
  .app-store-top .btn { grid-column: 1 / -1; }
}
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: .88px; text-transform: uppercase;
  padding: 4px 8px; border-radius: 4px; background: var(--canvas-soft); border: 1px solid var(--hairline); color: var(--body);
}

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); background: #fff; }
.step-n { width: 32px; height: 32px; border-radius: 8px; background: var(--surface-strong); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }

.cta-band { text-align: center; padding: var(--section) 0; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--body); margin: 0 auto 24px; max-width: 520px; }

.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  padding: 64px 0 32px;
  background: #000;
  color: #fff;
  border-top: 0;
}
.site-footer .brand span { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 11px; letter-spacing: .88px; text-transform: uppercase; margin-bottom: 16px; color: #fff; }
.foot-grid a, .foot-grid p { display: block; color: #b0b4ba; font-size: 14px; margin-bottom: 10px; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a2a2a; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #999; font-size: 13px; }

.page-hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: visible;
}
.page-hero.sky {
  /* Same soft sky treatment as the home hero */
  overflow: visible;
}
.page-hero.sky > .sky-wash {
  display: block;
  /* inherits .sky-wash — same ellipse as the main screen */
}
.page-hero > .wrap {
  position: relative;
  z-index: 1;
}
.hero > .sky-wash { z-index: 0; }
.hero > .wrap,
.hero > .devices { position: relative; z-index: 1; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--hairline); }
.compare th { font-size: 11px; letter-spacing: .88px; text-transform: uppercase; color: var(--body); font-weight: 600; }
.compare td:first-child { font-weight: 500; }

.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.tab {
  height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--hairline-strong);
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 500;
}
.tab.is-on { background: #000; color: #fff; border-color: #000; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { padding: 32px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); background: #fff; display: flex; flex-direction: column; }
.price.featured { background: var(--surface-dark); color: #fff; border-color: #171717; }
.price.featured h3, .price.featured .amt { color: #fff; }
.price.featured p, .price.featured li { color: var(--on-dark-soft); }
.price .amt { font-size: 36px; font-weight: 600; letter-spacing: -1px; margin: 8px 0; }
.price .amt span { font-size: 14px; font-weight: 400; color: var(--body); }
.price.featured .amt span { color: var(--on-dark-soft); }
.price ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.price li { padding: 8px 0; font-size: 14px; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .88px; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-strong); margin-bottom: 12px; }
.price.featured .badge { background: #2a2a2a; color: #fff; }

.faq details { border: 1px solid var(--hairline-strong); border-radius: 12px; padding: 16px 20px; background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--body); margin: 10px 0 0; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; padding: 48px 0 96px; }
.toc {
  position: sticky; top: 88px; border: 1px solid var(--hairline-strong); border-radius: 12px; padding: 16px;
  max-height: calc(100vh - 112px); overflow: auto;
}
.toc a { display: block; font-size: 13px; line-height: 1.35; color: var(--body); padding: 6px; border-radius: 6px; }
.toc a.is-active, .toc a:hover { color: var(--ink); background: var(--canvas-soft); }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 18px; }
.callout { background: var(--canvas-soft); border: 1px solid var(--hairline-strong); border-radius: 12px; padding: 16px; margin: 16px 0 24px; font-size: 14px; }

.form { display: grid; gap: 16px; }
label { font-size: 14px; font-weight: 500; }
.field, select, textarea {
  width: 100%; height: 44px; padding: 12px 16px; border-radius: 8px;
  border: 1px solid var(--hairline-strong); background: #fff; color: var(--ink); font-size: 16px;
}
textarea { height: auto; min-height: 120px; resize: vertical; }
.field:focus, select:focus, textarea:focus { outline: none; border: 2px solid var(--ink); padding: 11px 15px; }
.form-ok { display: none; padding: 12px 14px; border-radius: 8px; background: #ecfdf3; color: #166534; font-size: 14px; }
.form-ok.show { display: block; }

.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; background:
  radial-gradient(ellipse at top, rgba(207,231,255,.9), transparent 55%), #fff; }
.auth-card { width: min(440px, 100%); background: #fff; border: 1px solid var(--hairline-strong); border-radius: 16px; padding: 32px; }
.auth-card h1 { font-size: 28px; margin: 16px 0 8px; text-align: center; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; letter-spacing: .88px; text-transform: uppercase; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--hairline-strong); }

.browser { border: 1px solid var(--hairline-strong); border-radius: 16px; overflow: hidden; background: #fff; }
.browser-bar { background: var(--canvas-soft); border-bottom: 1px solid var(--hairline-strong); padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d4d4d8; display: block; }
.url { flex: 1; text-align: center; font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--body); background: #fff; border: 1px solid var(--hairline); border-radius: 6px; padding: 4px 10px; }
.dash { background: var(--navy); color: #dde2f8; min-height: 340px; padding: 20px; display: grid; grid-template-columns: 1fr 280px; gap: 16px; }
.map { border-radius: 12px; background:
  radial-gradient(circle at 30% 40%, rgba(2,220,253,.25), transparent 40%),
  linear-gradient(135deg, #121a2e, #0b1120); position: relative; overflow: hidden; }
.pin { position: absolute; width: 10px; height: 10px; background: #00c48c; border-radius: 50%; box-shadow: 0 0 0 6px rgba(0,196,140,.2); }
.stats { display: grid; gap: 10px; }
.stat { background: #121a2e; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; }
.stat b { display: block; font-size: 20px; }
.stat span { color: #94a3b8; font-size: 12px; font-family: "JetBrains Mono", monospace; }

.search { width: 100%; max-width: 640px; margin: 0 auto; display: flex; gap: 8px; }
.search input { flex: 1; }

.logo-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.logo-tile { width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--body); font-size: 11px; font-weight: 600; background: #fff; }

.mobile-drawer {
  display: none;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer .drawer-label {
  display: block; margin-top: 14px; margin-bottom: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .88px; text-transform: uppercase; color: var(--muted);
}
.mobile-drawer .drawer-label:first-child { margin-top: 0; }
.mobile-drawer .drawer-sub { padding-left: 8px; color: var(--body); font-size: 14px; }
.compare-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 1024px) {
  .grid-3, .grid-4, .why, .price-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .dash { grid-template-columns: 1fr; }
  .devices {
    height: 520px;
    max-width: 100%;
    overflow: hidden;
  }
  .laptop { transform: translateX(-50%); width: min(720px, 92%); }
  .devices .phone {
    width: 200px; height: 408px; right: auto; left: 50%;
    transform: translateX(72px);
    bottom: 12px;
  }
}

@media (max-width: 768px) {
  :root { --section: 56px; --nav-h: 56px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .display-mega { font-size: clamp(28px, 8.2vw, 36px); letter-spacing: -.96px; }
  .display-xl { font-size: clamp(26px, 7vw, 34px); letter-spacing: -.8px; }
  .display-lg { font-size: clamp(24px, 6vw, 28px); }
  .display-md { font-size: 22px; }
  .prose h2 { font-size: 22px; margin: 28px 0 10px; }
  .prose h3 { font-size: 16px; }

  .site-header { height: auto; min-height: var(--nav-h); }
  .nav-inner { min-height: var(--nav-h); }
  .nav-links, .nav-actions .login, .nav-actions .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; font-size: 22px; }
  .brand img { width: 32px; height: 32px; }
  .brand { font-size: 16px; }
  .mobile-drawer.open {
    display: block; border-top: 1px solid var(--hairline); background: #fff;
    padding: 8px 0 24px;
  }
  .mobile-drawer a {
    display: block; width: 100%; text-align: left; padding: 12px 4px;
    background: none; border: 0; font-size: 16px; font-weight: 500; color: var(--ink);
    border-bottom: 1px solid var(--hairline-soft);
  }
  .mobile-drawer a.btn {
    display: flex; margin-top: 16px; border-bottom: 0; justify-content: center;
    height: 44px; font-size: 15px;
  }

  .hero { padding: 48px 0 40px; }
  .hero h1 { margin: 16px 0 12px; }
  .hero .lede { font-size: 15px; margin-bottom: 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; height: 44px; }

  .grid-3, .grid-2, .why, .price-grid, .foot-grid, .grid-4 { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 1fr; }
  .section { padding: var(--section) 0; }
  .section-head { margin-bottom: 28px; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero.sky { padding: 56px 0 48px; }
  .cta-band { padding: 48px 0; }
  .cta-band .btn { width: min(100%, 320px); height: 44px; }

  /* Compact side-by-side laptop + phone (same composition as desktop) */
  .devices {
    height: 200px;
    margin: 28px auto 0;
    max-width: 100%;
    perspective: none;
    overflow: visible;
  }
  .laptop {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(calc(-50% - 16px));
    width: min(280px, 68%);
    height: auto;
  }
  .laptop-lid {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border-width: 4px;
    border-bottom-width: 3px;
    border-radius: 8px 8px 2px 2px;
  }
  .laptop-bar { height: 8px; }
  .laptop-bar span { width: 3px; height: 3px; }
  .laptop-screen { flex: 1; min-height: 0; }
  .laptop-screen video { object-fit: cover; object-position: center top; }
  .laptop-base { width: 110%; margin: 0 -5% 0; height: 10px; border-radius: 0 0 7px 7px; }
  .laptop-lip { width: 48px; height: 4px; }
  .devices .phone {
    position: absolute;
    right: auto;
    left: 50%;
    bottom: 6px;
    transform: translateX(72px);
    width: 96px;
    height: 196px;
    filter: drop-shadow(-8px 14px 16px rgba(0, 0, 0, 0.28));
  }
  .devices .phone img { object-position: center bottom; }

  .app-store { border-radius: 12px; }
  .app-store-top { padding: 16px; gap: 14px; }
  .app-store-meta h3 { font-size: 18px; }
  .app-store-shots { padding: 16px; gap: 10px; }
  .app-shot.phone { width: 140px; height: 284px; }
  .app-shot.window { width: 260px; height: 170px; }

  .price { padding: 24px; }
  .price .amt { font-size: 30px; }
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tab { flex: 0 0 auto; height: 40px; }

  .card { padding: 20px; }
  .step { padding: 16px; }
  .product-board { padding: 14px; margin-top: 28px; }
  .legal-layout { padding: 28px 0 64px; gap: 24px; }
  .toc {
    display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 10px; max-height: none; white-space: nowrap;
  }
  .toc a { display: inline-block; padding: 8px 10px; font-size: 12px; white-space: nowrap; }

  .site-footer { padding: 48px 0 28px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .foot-bottom span:last-child { line-height: 1.4; }

  .auth-card { padding: 24px 20px; }
  .auth-card h1 { font-size: 24px; }
  .btn { white-space: normal; text-align: center; }

  .search { flex-direction: column; }
  .search .btn { width: 100%; height: 44px; }

  .compare { font-size: 13px; min-width: 720px; }
  .compare th, .compare td { padding: 12px 10px; }
}

@media (max-width: 480px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .display-mega { font-size: 28px; }
  .sky-wash { height: 560px; }
  .devices { height: 175px; }
  .laptop {
    width: min(236px, 66%);
    transform: translateX(calc(-50% - 12px));
  }
  .devices .phone {
    width: 84px;
    height: 172px;
    transform: translateX(58px);
    bottom: 4px;
  }
  .logo-tile { width: 56px; height: 56px; font-size: 10px; }
  .platforms { gap: 8px; }
  .plat { width: 36px; height: 36px; }
}
