:root {
  --bg: #000; --bg-2: #0b0b0d; --card: #141417; --line: rgba(255,255,255,.1);
  --text: #f5f5f7; --muted: rgba(255,255,255,.62); --accent: #1a85ff; --accent-2: #006aff;
  --green: #30d158; --orange: #ff9f0a; --red: #ff453a;
  --maxw: 1100px; --gutter: 16px; --radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; font-size: 17px; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); background: rgba(0,0,0,.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand b { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a.current { color: var(--text); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--accent-2); color: #fff; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--accent); text-decoration: none; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.22); color: var(--text); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.nav-row { position: relative; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -8px; border: 0; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 12px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { display: none; }
@media (max-width: 760px) {
  .nav-links .hide-sm { display: none; }
  .menu-btn { display: flex; }
  .menu { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); display: grid; gap: 4px; padding: 8px; background: rgba(20,20,23,.96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .menu[hidden] { display: none; }
  .menu a { display: block; padding: 14px 14px; border-radius: 10px; color: var(--text); font-size: 17px; font-weight: 600; }
  .menu a:hover, .menu a:focus-visible { background: rgba(255,255,255,.07); text-decoration: none; }
  .menu a.current { color: var(--accent); }
  .menu a.menu-cta { background: var(--accent-2); color: #fff; text-align: center; border-radius: 999px; margin-top: 4px; }
}

/* hero */
.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 18px; font-weight: 800; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
.phone { position: relative; width: min(340px, 82vw); aspect-ratio: 540 / 1106; margin: 0 auto; border-radius: 44px; background: #0a0a0a; padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 36px; } .phone { width: min(300px, 78vw); } }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 14px; font-weight: 800; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }
.sub { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 40em; margin: 0 0 32px; }
.statement { font-size: clamp(22px, 3vw, 34px); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; max-width: 26em; margin: 0; }
.statement b { color: var(--accent); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step .shot { aspect-ratio: 4 / 5; background: #000; overflow: hidden; }
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.step .body { padding: 16px 18px 20px; }
.step .n { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.step p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step .shot { aspect-ratio: 16 / 11; } }
.verdicts { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.1); }
.pill.fits { background: rgba(48,209,88,.18); color: var(--green); }
.pill.tight, .pill.parts { background: rgba(255,159,10,.18); color: var(--orange); }
.pill.no { background: rgba(255,69,58,.18); color: var(--red); }

.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.proof .phone { width: min(300px, 78vw); }
.proof-copy .quote { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 18px 0; }
.proof-copy .quote .pill { margin-right: 8px; }
.proof-copy .quote p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.who .card p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; } }

.cta { text-align: center; padding: 72px 0; }
.cta h2 { margin-bottom: 10px; }
.cta .sub { margin: 0 auto 26px; }

/* technology */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.fact p { color: var(--muted); margin: 8px 0 0; font-size: 15.5px; }
.fact .ex { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--accent); color: var(--text); font-size: 14.5px; background: rgba(26,133,255,.06); border-radius: 0 10px 10px 0; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.slot { border: 1px dashed rgba(255,255,255,.25); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); background: var(--bg-2); }
.slot img { border-radius: 12px; margin: 0 auto 14px; max-height: 320px; width: auto; opacity: .85; }
.patent { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; color: var(--muted); font-size: 15px; }

/* company */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.person .role { color: var(--accent); font-weight: 600; font-size: 14px; }
.person p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }
@media (max-width: 640px) { .people { grid-template-columns: 1fr; } }
form { display: grid; gap: 14px; max-width: 560px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, textarea { width: 100%; font: inherit; color: var(--text); background: var(--card); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: 13.5px; }
.form-ok { background: rgba(48,209,88,.12); border: 1px solid rgba(48,209,88,.35); color: var(--green); padding: 14px 16px; border-radius: 12px; }
.form-err { background: rgba(255,69,58,.12); border: 1px solid rgba(255,69,58,.35); color: var(--red); padding: 14px 16px; border-radius: 12px; }

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

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Book a demo is dark until Ryan signs off the site: flip data-demo on <html> to "on" to bring it all back. */
html[data-demo="off"] .demo-only { display: none !important; }
html[data-demo="off"] .hero .btn.ghost { background: var(--accent-2); border-color: transparent; }
html[data-demo="off"] .hero .btn.ghost:hover { background: var(--accent); }
