/* Montio — montio.video. Self-contained, no external requests. */
:root {
  --bg: #09090e;
  --bg-2: #0d0d14;
  --surface: #14141c;
  --surface-2: #1c1c27;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f6f8;
  --dim: #9a9aad;
  --dim-2: #6d6d80;
  --accent: #5b78ff;
  --accent-2: #8aa0ff;
  --accent-soft: rgba(91, 120, 255, 0.14);
  --lane-blue: #5b78ff;
  --lane-green: #3ecf8e;
  --lane-gold: #e8b44a;
  --lane-purple: #a66bff;
  --lane-pink: #f0637e;
  --radius: 20px;
  --max: 1080px;
  --font: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(9, 9, 14, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand .glyph {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.brand .glyph svg { width: 13px; height: 13px; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--dim); font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 40px; position: relative; }
.hero::before {
  content: "";
  position: absolute; inset: -20% 0 auto 0; height: 520px; z-index: -1;
  background: radial-gradient(60% 70% at 50% 0%, rgba(91, 120, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent-2); margin-bottom: 18px;
}
h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero p.lead { font-size: 17px; color: var(--dim); margin: 0 0 30px; max-width: 30em; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 14px;
  background: var(--accent); color: #0a0a12;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 30px rgba(91, 120, 255, 0.35);
}
.badge.secondary { background: var(--surface-2); color: var(--text); box-shadow: none; border: 1px solid var(--border); }
.cta-note { font-size: 13px; color: var(--dim-2); }

/* ---------- Signature: timeline deco in a phone ---------- */
.device {
  justify-self: center;
  width: 268px; aspect-ratio: 9 / 19.2;
  border-radius: 40px;
  background: linear-gradient(160deg, #16161f, #0e0e15);
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 14px;
  position: relative;
}
.device .notch {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 22px; border-radius: 12px; background: #000;
}
.screen {
  height: 100%; border-radius: 28px; background: var(--bg-2);
  padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 14px;
  overflow: hidden;
}
.screen .kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent-2); }
.screen .title { font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.deco {
  position: relative; height: 26px; margin-top: 4px;
  display: flex; align-items: center; gap: 6px;
}
.deco .lane { height: 13px; border-radius: 4px; opacity: 0.9; }
.deco .playhead {
  position: absolute; top: 2px; bottom: 2px; width: 2px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  animation: sweep 5.5s ease-in-out infinite alternate;
}
@keyframes sweep { from { left: 4%; } to { left: 94%; } }
.mock-btn {
  margin-top: auto; text-align: center; padding: 13px; border-radius: 14px;
  background: var(--accent); color: #0a0a12; font-weight: 700; font-size: 14px;
}
.mock-cap {
  align-self: center; font-weight: 800; font-size: 15px; margin-bottom: 6px;
}
.mock-cap b { color: var(--lane-green); }

/* ---------- Sections ---------- */
section { padding: 60px 0; }
.section-head { max-width: 34em; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 12px; text-wrap: balance; }
.section-head p { color: var(--dim); margin: 0; font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card .ic {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent);
}
.card .ic svg { width: 20px; height: 20px; }
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--dim); font-size: 14.5px; }

/* ---------- Private band ---------- */
.band {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band .inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 64px 0;
}
.band h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; margin: 0 0 14px; }
.band p { color: var(--dim); margin: 0 0 10px; }
.pledge { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pledge li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.pledge .dot {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  display: grid; place-items: center; background: rgba(62, 207, 142, 0.16); color: var(--lane-green);
}
.pledge .dot svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
footer { padding: 48px 0; border-top: 1px solid var(--border); color: var(--dim); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.foot-meta { font-size: 13px; color: var(--dim-2); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 22px 80px; }
.legal .back { color: var(--accent-2); font-size: 14px; font-weight: 600; display: inline-block; margin-bottom: 28px; }
.legal h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 8px; }
.legal .updated { color: var(--dim-2); font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p, .legal li { color: #cfd0da; font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent-2); }
.legal .lead { color: var(--dim); font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .device { order: -1; width: 240px; }
  .features { grid-template-columns: 1fr 1fr; }
  .band .inner { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero { padding: 54px 0 24px; }
  .features { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .deco .playhead { animation: none; left: 50%; }
  html { scroll-behavior: auto; }
}

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
