:root {
  --bg: #070707;
  --panel: #10100e;
  --ink: #f7f3eb;
  --muted: rgba(247, 243, 235, 0.66);
  --faint: rgba(247, 243, 235, 0.11);
  --line: rgba(247, 243, 235, 0.16);
  --gold: #d7c08a;
  --moss: #9aa36f;
  --rose: #d8a6a0;
  --blue: #8fa7b7;
  --max: 1180px;
  --copy: 820px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 166, 160, 0.12), transparent 30vw),
    radial-gradient(circle at 82% 4%, rgba(143, 167, 183, 0.14), transparent 34vw),
    radial-gradient(circle at 72% 78%, rgba(154, 163, 111, 0.10), transparent 32vw),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.copy-shell { width: min(calc(100% - 48px), var(--copy)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.04em;
  font-weight: 600;
  font-size: 1.04rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  background: #111;
}

.nav-links, .footer-links, .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
}

.nav-links a, .footer-links a, .legal-links a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a:hover, .footer-links a:hover, .legal-links a:hover { color: var(--ink); }

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0 78px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }

h1 {
  max-width: 900px;
  font-size: clamp(4rem, 10vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  font-weight: 700;
}

.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: #fff8ea;
}

.hero-copy {
  margin-top: 28px;
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.45vw, 1.35rem);
  line-height: 1.7;
}

.cta {
  display: inline-flex;
  margin-top: 34px;
  border: 1px solid rgba(215, 192, 138, 0.52);
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-stage {
  min-height: 610px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(215, 192, 138, 0.09), transparent 38%),
    linear-gradient(315deg, rgba(143, 167, 183, 0.15), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

.phone {
  width: min(340px, 100%);
  aspect-ratio: 9 / 18.5;
  border: 1px solid rgba(247, 243, 235, 0.18);
  border-radius: 42px;
  padding: 18px;
  background: #080808;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.phone-screen {
  height: 100%;
  border-radius: 28px;
  border: 1px solid rgba(247, 243, 235, 0.10);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(247, 243, 235, 0.035);
}

.screen-title {
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.scan-frame {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(247, 243, 235, 0.12);
  border-radius: 24px;
}

.scan-line {
  height: 42px;
  border-radius: 14px;
  background: rgba(247, 243, 235, 0.08);
}

.scan-line:nth-child(2) { width: 82%; }
.scan-line:nth-child(3) { width: 64%; }

.phone-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}

.section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 44px;
  margin-bottom: 44px;
}

.section-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.feature {
  min-height: 260px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  background: rgba(255, 255, 255, 0.025);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature-num { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.14em; }
.feature h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

p, li { color: var(--muted); }
.feature p { line-height: 1.65; }

.media-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.video-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(215, 192, 138, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.025);
}

.video-panel video {
  width: 100%;
  aspect-ratio: 9 / 18.5;
  display: block;
  border: 1px solid rgba(247, 243, 235, 0.14);
  border-radius: 24px;
  background: #080808;
  object-fit: cover;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  min-width: 0;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 9 / 19.48;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(247, 243, 235, 0.14);
  border-radius: 22px;
  background: #080808;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.screenshot-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
}

.meta {
  margin-top: 26px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.content {
  padding: 56px 0 86px;
}

.content h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.content h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.08rem;
  color: var(--ink);
}

.content p, .content li {
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.78;
}

.content ul { margin-top: 16px; padding-left: 20px; }
.content a { color: var(--gold); border-bottom: 1px solid rgba(215, 192, 138, 0.45); }

.support-panel {
  margin-top: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.footer {
  padding: 42px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .hero, .section-head { grid-template-columns: 1fr; }
  .phone-stage { min-height: 520px; }
  .media-showcase { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 680px) {
  .shell, .copy-shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .hero { min-height: auto; padding: 48px 0 58px; }
  h1 { font-size: clamp(4rem, 19vw, 6.8rem); }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .phone-stage { min-height: 470px; padding: 18px; border-radius: 24px; }
  .video-panel { border-radius: 24px; padding: 16px; }
  .video-panel video { border-radius: 18px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-card img { border-radius: 18px; }
  .feature-grid { grid-template-columns: 1fr; border-radius: 22px; }
  .feature, .feature:nth-child(2n), .feature:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .footer { flex-direction: column; align-items: flex-start; }
}
