:root {
  --ink: #f4f7ff;
  --muted: #aeb8cb;
  --panel: rgba(15, 24, 42, 0.8);
  --line: rgba(123, 211, 255, 0.2);
  --cyan: #75dcff;
  --blue: #4f86ff;
  --navy: #07101f;
  --deep: #030813;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(71, 124, 255, .22), transparent 32rem),
    radial-gradient(circle at 14% 42%, rgba(65, 206, 255, .10), transparent 28rem),
    linear-gradient(160deg, var(--navy), var(--deep) 72%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--cyan); }
a:hover { color: #b7efff; }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(3, 8, 19, .78);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(117, 220, 255, .22);
}

.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0 4rem;
}

.eyebrow {
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: .75rem 0 1.2rem; font-size: clamp(3.3rem, 8vw, 6.8rem); }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { margin: 0 0 .55rem; font-size: 1.12rem; }

.lede {
  max-width: 670px;
  color: #c8d1e1;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(80, 139, 255, .24), rgba(117, 220, 255, .13));
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.button.secondary { background: transparent; color: var(--muted); }

.hero-visual {
  min-height: 600px;
  position: relative;
  display: grid;
  place-items: center;
}
.app-icon-card {
  width: min(76%, 310px);
  aspect-ratio: 1;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 25%;
  background: #07101f;
  box-shadow: 0 32px 90px rgba(0,0,0,.48), 0 0 70px rgba(79,134,255,.2);
}
.app-icon-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.phone-stage { position: absolute; left: 0; bottom: 0; z-index: 1; display: grid; place-items: center; }
.phone {
  width: 220px;
  aspect-ratio: 9 / 19.5;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 46px;
  background: linear-gradient(145deg, #1a263b, #050a13);
  box-shadow: 0 45px 100px rgba(0,0,0,.5), 0 0 65px rgba(79,134,255,.16);
  transform: rotate(-4deg);
}
.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(117,220,255,.18);
  background:
    radial-gradient(circle at 50% 18%, rgba(117,220,255,.18), transparent 28%),
    linear-gradient(#0a1426, #050a13);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.2rem 1.2rem;
}
.camera-pill { width: 82px; height: 24px; border-radius: 99px; background: #010208; margin: -1.55rem auto 2.8rem; }
.script-lines { display: grid; gap: .75rem; }
.script-lines span { height: 9px; border-radius: 9px; background: rgba(233,244,255,.25); }
.script-lines span:nth-child(2) { width: 82%; }
.script-lines span:nth-child(3) { width: 91%; }
.script-lines .active { height: auto; padding: .75rem; background: rgba(117,220,255,.16); color: #e7faff; font-size: .78rem; line-height: 1.5; }
.record-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .7rem; }
.record-dot { width: 43px; height: 43px; border: 3px solid rgba(255,255,255,.75); border-radius: 50%; display: grid; place-items: center; }
.record-dot::after { content: ""; width: 29px; height: 29px; background: #ff5161; border-radius: 50%; }

.section { padding: 5.5rem 0; }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p, .muted { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  min-height: 190px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.card p { color: var(--muted); margin-bottom: 0; }
.number { color: var(--cyan); font-size: .76rem; font-weight: 800; letter-spacing: .13em; }

.origin {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3rem;
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(79,134,255,.13), rgba(15,24,42,.65));
}
.origin p { color: #c4cede; margin-top: 0; }

.page-hero { padding: 5rem 0 2.5rem; max-width: 800px; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
.content { max-width: 820px; padding-bottom: 6rem; }
.content section { margin: 3rem 0; }
.content h2 { font-size: 1.75rem; margin-bottom: .8rem; }
.content h3 { margin-top: 1.7rem; }
.content p, .content li { color: #c2ccdc; }
.content li + li { margin-top: .55rem; }
.callout {
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--cyan);
  border-radius: 4px 16px 16px 4px;
  background: rgba(117,220,255,.08);
}
.details { border-top: 1px solid var(--line); }
.details details { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.details summary { cursor: pointer; font-weight: 750; }
.details p { margin-bottom: 0; }

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: .9rem;
}
.footer-row { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-links { display: flex; gap: 1rem; }

@media (max-width: 780px) {
  .nav { min-height: 62px; }
  .nav-links { gap: .75rem; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 4rem; }
  .hero-visual { width: min(100%, 430px); min-height: 540px; margin: 0 auto; }
  .app-icon-card { width: 280px; }
  .phone { width: 210px; }
  .grid { grid-template-columns: 1fr; }
  .origin { grid-template-columns: 1fr; padding: 2rem; gap: 1rem; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .brand span:last-child { display: none; }
  .nav-links a:first-child { display: none; }
  .hero-visual { min-height: 470px; }
  .app-icon-card { width: 235px; }
  .phone { width: 180px; }
  h1 { font-size: 3.25rem; }
  .section { padding: 4rem 0; }
}

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