:root {
  --bg: #000;
  --card: #111113;
  --card-2: #1a1a1d;
  --fg: #f5f5f7;
  --muted: #9a9aa1;
  --rule: #26262a;
  --accent: #3d8bff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }

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

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
header.site .wrap { display: flex; justify-content: space-between; align-items: center; height: 60px; gap: 16px; }
.brand { font-weight: 800; letter-spacing: -0.03em; font-size: 22px; color: var(--fg); }
.brand:hover { text-decoration: none; }
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); text-decoration: none; }

/* Type */
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600;
  color: var(--muted); margin: 0 0 18px;
}
h1, .display {
  font-size: clamp(44px, 7.5vw, 96px); line-height: 1.02; letter-spacing: -0.045em;
  font-weight: 800; margin: 0 0 20px;
}
h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 21px; letter-spacing: -0.015em; margin: 0 0 6px; }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--muted); margin: 0 auto 32px; max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: var(--fg); background: #2a2a2e;
  transition: background .2s, transform .2s;
}
.btn:hover { text-decoration: none; background: #36363b; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #5a9cff; }

/* Device frame */
.device {
  background: #0a0a0a; padding: clamp(8px, 1.2vw, 14px);
  border-radius: clamp(18px, 2.6vw, 34px);
  border: 1px solid #2c2c30;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.device img { border-radius: clamp(10px, 1.6vw, 22px); width: 100%; }

/* Sections */
.hero { padding: clamp(72px, 12vw, 140px) 0 clamp(48px, 7vw, 80px); text-align: center; }
.hero .device { max-width: 1000px; margin: clamp(48px, 7vw, 80px) auto 0; }
section.block { padding: clamp(40px, 6vw, 72px) 0; }

.card {
  background: var(--card); border-radius: 32px; border: 1px solid var(--rule);
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px); overflow: hidden;
}
.app-card { text-align: center; }
.app-card .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.app-card .pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(14px, 2.4vw, 28px); margin-top: clamp(40px, 6vw, 64px); align-items: center; }
.app-card .pair .device:last-child { transform: translateY(8%); }

/* Feature rows */
.feature {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--rule);
}
.feature:nth-of-type(even) { grid-template-columns: 1.5fr 1fr; }
.feature:nth-of-type(even) .text { order: 2; }
.feature .text p { color: var(--muted); font-size: 19px; margin: 0; }
.feature .num { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .1em; margin-bottom: 10px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { background: var(--card); border: 1px solid var(--rule); border-radius: 28px; padding: 32px 28px 0; overflow: hidden; }
.tile p { color: var(--muted); margin: 0 0 24px; }
.tile .device { margin-bottom: -40px; }

/* Text pages */
.page { padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); }
.page h1 { font-size: clamp(40px, 6vw, 68px); }
.page h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 8px; }
.page p, .page li { color: #d4d4d8; }
.page ul { padding-left: 22px; }

/* Footer */
footer.site { border-top: 1px solid var(--rule); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
footer.site p { margin: 0; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--fg); }

@media (max-width: 760px) {
  nav { gap: 16px; }
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .text { order: 0; }
  .grid2 { grid-template-columns: 1fr; }
  .app-card .pair { grid-template-columns: 1fr; }
  .app-card .pair .device:last-child { display: none; }
  .card { border-radius: 24px; }
}
.page .lede { margin-left: 0; }
