@font-face { font-family: Archivo; src: url(fonts/Archivo-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Archivo; src: url(fonts/Archivo-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Archivo; src: url(fonts/Archivo-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #000;
  --surface: #0e0e10;
  --raise: #17171a;
  --rule: #26262b;
  --text: #f5f5f7;
  --body: #c9c9ce;
  --muted: #8e8e95;
  --accent: #ff9f1c;
  --accent-hover: #ffb24d;
  --on-accent: #1a1000;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 17px/1.6 Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--text); }
.top nav .pill { color: var(--on-accent); background: var(--accent); padding: 7px 14px; border-radius: 999px; }
.top nav .pill:hover { background: var(--accent-hover); color: var(--on-accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: var(--on-accent); text-decoration: none;
  font-weight: 800; font-size: 17px; padding: 15px 26px; border-radius: 999px;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }

/* Phone frames (drawn here, so every screen looks the same) */
.phone {
  position: relative;
  background: #0b0b0c;
  padding: 10px;
  border-radius: 46px;
  box-shadow: inset 0 0 0 1.5px #3a3a40, 0 0 0 1px #000, 0 40px 80px -20px rgba(0,0,0,.9);
}
.phone img { border-radius: 36px; width: 100%; height: auto; }
.phone.land { border-radius: 40px; padding: 10px; }
.phone.land img { border-radius: 30px; }

/* Hero */
.hero { position: relative; padding: 76px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,159,28,.20), transparent 60%);
  pointer-events: none;
}
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 16px; }
h1 { color: var(--text); font-weight: 800; font-size: clamp(42px, 7.4vw, 84px); line-height: 1; letter-spacing: -.03em; margin: 0 0 22px; }
h1 span { color: var(--accent); }
.lede { position: relative; font-size: clamp(17px, 2vw, 20px); max-width: 36em; margin: 0 auto 32px; }
.cta { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

.stage { position: relative; max-width: 940px; margin: 60px auto 0; }
.callout {
  position: absolute; z-index: 2; background: var(--raise); color: var(--text);
  border: 1px solid var(--rule); border-radius: 14px; padding: 10px 14px; font-size: 14px; line-height: 1.35; text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,.6);
}
.callout b { display: block; font-size: 20px; color: var(--accent); }
.callout.l { left: -24px; bottom: 18%; }
.callout.r { right: -24px; top: 16%; }

/* Ratio strip */
.ratios { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 72px; }
.ratios .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.ratios div { padding: 28px 24px; text-align: center; }
.ratios div + div { border-left: 1px solid var(--rule); }
.ratios b { display: block; color: var(--text); font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.ratios span { color: var(--muted); font-size: 15px; }

/* Feature rows */
section { padding: 96px 0; }
h2 { color: var(--text); font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.02em; }
.intro { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.intro p { color: var(--muted); font-size: 19px; margin: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin: 0 auto 112px; max-width: 980px; }
.row:last-child { margin-bottom: 0; }
.row .phone { width: min(100%, 330px); justify-self: center; }
.row .phone::before {
  content: ""; position: absolute; inset: -18% -40%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,159,28,.16), transparent);
}
.row { position: relative; isolation: isolate; }
.row.flip .phone { order: 2; }
.row .tag { color: var(--accent); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.row h3 { color: var(--text); font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 16px; }
.row p { margin: 0 0 18px; font-size: 18px; }
.row ul { list-style: none; padding: 0; margin: 0; }
.row li { padding: 10px 0 10px 30px; border-top: 1px solid var(--rule); position: relative; }
.row li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* Promise */
.promise { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.promise .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise .card { background: var(--raise); border: 1px solid var(--rule); border-radius: 20px; padding: 28px; }
.promise h3 { color: var(--text); font-size: 20px; margin: 0 0 8px; }
.promise p { margin: 0; color: var(--body); }
.promise .intro { margin-bottom: 48px; }

/* Install */
.install { max-width: 820px; margin: 0 auto; }
.install .intro { margin-bottom: 40px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 28px; }
.steps li { counter-increment: s; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--raise); border: 1px solid var(--rule); color: var(--accent); font-weight: 800; display: grid; place-items: center; }
.steps b { color: var(--text); }
.note { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 16px 20px; margin: 0 0 14px; }
.note b { color: var(--text); }
.center { text-align: center; margin-top: 32px; }

/* Prose pages */
.prose { max-width: 720px; padding: 64px 20px 80px; margin: 0 auto; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); }
.prose h2 { font-size: 22px; margin: 36px 0 8px; }
.prose li { margin: 6px 0; }

/* Footer */
footer { border-top: 1px solid var(--rule); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); margin-right: 20px; text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .callout { display: none; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 36px; margin-bottom: 80px; }
  .row.flip .phone { order: 0; }
  .row .phone { width: min(78%, 300px); }
  .promise .grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .stage { margin-top: 40px; }
  .hero { padding-bottom: 8px; }
  .ratios { margin-top: 32px; }
  .phone.land { border-radius: 22px; padding: 5px; }
  .phone.land img { border-radius: 17px; }
  .ratios .wrap { grid-template-columns: 1fr; }
  .ratios div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .ratios div { padding: 18px; }
  .top nav a.hide-sm { display: none; }
  .cta .btn { width: 100%; }
}
