:root {
  --bg: #0b0c10;
  --bg-2: #111318;
  --card: #15171d;
  --line: rgba(255,255,255,0.08);
  --text: #f4f5f7;
  --text-2: rgba(235,237,245,0.68);
  --text-3: rgba(235,237,245,0.58);
  --accent: #0b6bcb;
  --accent-2: #74b9ff;
  --ok: #3ddc6f;
  --err: #ff6b62;
  --r: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  --font-d: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; font-weight: 750; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--text-3); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,12,16,0.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 16px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--text-2); }
.nav-links a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 16px var(--font); cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: #095aab; text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { padding: clamp(36px, 5vw, 64px) 0 40px; text-align: center;
  background: radial-gradient(1000px 500px at 50% -10%, rgba(59,155,255,0.18), transparent 70%); }
.eyebrow { color: var(--accent-2); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.lede { max-width: 660px; margin: 16px auto 0; color: var(--text-2); font-size: clamp(17px, 2vw, 20px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 24px; }
.cta-note { color: var(--text-2); font-size: 15px; }
.hero-media { width: min(1280px, calc(100% - 32px)); margin: clamp(32px, 5vw, 56px) auto 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 120px -30px rgba(59,155,255,0.35), 0 30px 60px -20px rgba(0,0,0,0.8); aspect-ratio: 16 / 9; background: #000; }
.hero-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero-clip.on { opacity: 1; }

/* App screenshots (real UI crops, no fake window chrome) */
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #1c1d22; box-shadow: 0 30px 80px -24px rgba(0,0,0,0.85); }
.shot img { width: 100%; }
.shot.panel { max-width: 360px; width: 100%; justify-self: center; background: transparent; border-color: rgba(255,255,255,0.14); }

/* Features */
.features { padding: 72px 0; }
.features h2, .features .sub { text-align: center; }
.sub { color: var(--text-2); max-width: 620px; margin: 16px auto 0; font-size: 18px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-text p { color: var(--text-2); margin-top: 18px; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.vertical { padding: 72px 0; background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.phone { justify-self: center; width: min(320px, 78vw); border-radius: 38px; padding: 10px; background: #1b1c21; border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9); }
.phone img { border-radius: 30px; }

/* Beta form */
.beta { padding: 80px 0; scroll-margin-top: 60px; }
.beta .split { align-items: start; }
.beta .split-text { padding-top: 28px; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.form .opt { font-weight: 400; color: var(--text-3); }
.form .req { font-size: 14px; color: var(--text-2); }
.form ::placeholder { color: rgba(235,237,245,0.42); }
.mac-note { margin: -4px 0 0; font-size: 14px; color: #ffcf70; }
.beta .process { font-size: 16px; color: var(--text-2); }
.form input, .form select, .form textarea { width: 100%; font: 400 16px var(--font); color: var(--text); background: #0f1014; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 11px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 84px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,155,255,0.25); }
.form .btn { margin-top: 6px; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.2em; font-size: 15px; font-weight: 500; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.fine { font-size: 13px; color: var(--text-3); }

.hero-media { position: relative; cursor: pointer; -webkit-user-select: none; user-select: none; }
.hero-media video { pointer-events: none; }
.hero-media:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pause-badge { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0,0,0,0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: scale(0.85); transition: opacity .18s, transform .18s; pointer-events: none; }
.pause-badge::before, .pause-badge::after { content: ""; position: absolute; top: 24px; width: 7px; height: 24px; border-radius: 2px; background: #fff; }
.pause-badge::before { left: 26px; } .pause-badge::after { right: 26px; }
.hero-media.is-paused .pause-badge { opacity: 1; transform: scale(1); }

/* Gauge styles (tabs) */
.styles { margin-top: 40px; }
.seg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; margin: 0 auto; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.seg button { font: 600 14.5px var(--font); color: var(--text-2); background: transparent; border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: color .2s, background .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { color: #fff; background: rgba(255,255,255,0.12); }
.style-grid[hidden] { display: none; }
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.style-grid figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #111; }
.style-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.style-grid figcaption { padding: 11px 14px 13px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facts li { padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 4px; }
.facts strong { font-size: 16px; font-weight: 650; }
.facts span { color: var(--text-2); font-size: 14.5px; }
.facts.small { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }

/* How it works */
.how { padding: 72px 0; }
.how > .wrap > h2 { text-align: center; }
.how-row { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.how-row.flip { grid-template-columns: minmax(0, 360px) 1fr; }
.how-row { max-width: 900px; margin-inline: auto; }
.how-row.flip .how-text { order: 2; }
.how-text p { color: var(--text-2); margin-top: 12px; font-size: 17px; }
.how-text h3 { font-size: 24px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(59,155,255,0.16); color: var(--accent-2); font-weight: 700; font-size: 15px; margin-bottom: 14px; }

/* Story */
.story { padding: 80px 0; text-align: center; }
.story h2 { margin-top: 6px; }
.story > .wrap > p:not(.eyebrow) { color: var(--text-2); font-size: 19px; margin-top: 20px; }
.story .facts { text-align: left; }
.summary-box { margin-top: 26px; padding: 18px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.summary-box p { margin: 0 !important; }

/* FAQ */
.faq { padding: 40px 0 96px; scroll-margin-top: 60px; }
.faq h2 { margin-bottom: 26px; }
details { border-top: 1px solid var(--line); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 300; color: var(--text-3); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-2); padding: 0 0 18px; font-size: 16px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--text-3); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--text-2); }

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal .updated { color: var(--text-3); margin-top: 10px; font-size: 15px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal p, .legal li { color: var(--text-2); font-size: 16.5px; margin-top: 12px; }
.legal ul { padding-left: 22px; }

@media (max-width: 860px) {
  .style-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .seg { border-radius: 18px; }
  .seg button { padding: 8px 12px; font-size: 14px; }
  .facts, .facts.small { grid-template-columns: 1fr 1fr; }
  .how-row { grid-template-columns: 1fr; }
  .how-row.flip { grid-template-columns: 1fr; }
  .how-row.flip .how-text { order: 0; }
  .story { text-align: left; }
  .split { grid-template-columns: 1fr; }
  .vertical .split-text { order: -1; }
  .nav-links a:not(.btn) { display: none; }
  .features, .how, .vertical, .story { padding-block: 44px; }
  .beta { padding-block: 56px; }
  .form { padding: 20px; }
}
@media (max-width: 480px) {
  .facts, .facts.small { grid-template-columns: 1fr; }
  .style-grid figcaption { font-size: 13px; padding: 9px 11px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

}

.hero-caption { margin: 16px auto 0; color: var(--text-3); font-size: 14px; }
