:root {
  --bg-deep: #07070C;
  --bg: #0A0908;
  --ink: #EEEEEE;
  --ink-mid: #A5A5A5;
  --ink-low: #787878;
  --gold: #D4A843;
  --blue: #6868ED;
  --red: #F03222;
  --hairline: rgba(255, 255, 255, 0.14);
  --hairline-soft: rgba(255, 255, 255, 0.07);
  --display: 'Geologica', 'Helvetica Neue', sans-serif;
  --body: 'Karla', 'Helvetica Neue', sans-serif;
  --pad: clamp(24px, 4.5vw, 110px);
  --t-hero: clamp(38px, 4.6vw, 68px);
  --t-title: clamp(30px, 3.2vw, 46px);
  --t-sub: clamp(16px, 1.15vw, 19px);
  --t-body: clamp(15px, 0.95vw, 17px);
  --t-small: clamp(13.5px, 0.75vw, 15px);
  --t-micro: clamp(11px, 0.6vw, 12.5px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1400px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.rec-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red); flex: none;
  animation: rec-pulse 2.4s ease-in-out infinite;
}
@keyframes rec-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 12, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  font-family: var(--display); font-weight: 600; font-size: 17px;
  letter-spacing: 0.14em; color: var(--ink); white-space: nowrap;
}
.brand-by { font-size: 13px; color: var(--ink-low); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--ink-mid); transition: color 0.2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600;
  font-size: 13.5px; letter-spacing: 0.09em;
  padding: 13px 26px; border-radius: 2px;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #0A0908; }
.btn-gold:hover { background: #E2BA55; }
.btn-ghost { border: 1px solid var(--hairline); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-mid); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4.5vw, 72px); align-items: center;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 500;
  font-size: var(--t-micro); letter-spacing: 0.28em;
  color: var(--gold); text-transform: uppercase;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: var(--t-hero); line-height: 1.04;
  letter-spacing: -0.01em; margin: 26px 0 22px;
}
.hero-sub { font-size: var(--t-sub); color: var(--ink-mid); max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 4px; width: 100%; height: clamp(320px, 36vw, 540px);
  object-fit: cover;
}
.hero-visual figcaption {
  margin-top: 12px; font-size: var(--t-small); color: var(--ink-low);
}

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px); padding: clamp(32px, 3.5vw, 52px) 0;
}
.proof-item .v {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 2.6vw, 40px); line-height: 1;
}
.proof-item .l { margin-top: 10px; font-size: var(--t-small); color: var(--ink-low); }

/* ---------- sections ---------- */
.section { padding-top: clamp(64px, 7.5vw, 112px); padding-bottom: clamp(64px, 7.5vw, 112px); }
.section-tint { background: var(--bg); }
.section h2 {
  font-family: var(--display); font-weight: 700;
  font-size: var(--t-title); line-height: 1.08; letter-spacing: -0.01em;
  max-width: 20em;
}
.section-sub { margin-top: 16px; font-size: var(--t-sub); color: var(--ink-mid); max-width: 38em; }

/* ---------- bento ---------- */
.bento { display: grid; gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.bento-row { display: grid; gap: 20px; }
.bento-row.r1 { grid-template-columns: 1.6fr 1fr; }
.bento-row.r2 { grid-template-columns: 1fr 1.6fr; }
.tile {
  background: var(--bg); border: 1px solid var(--hairline-soft);
  border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s;
}
.tile:hover { border-color: var(--hairline); }
.tile-img { height: clamp(180px, 17vw, 250px); overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover .tile-img img { transform: scale(1.03); }
.tile-body { padding: 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; justify-content: flex-end; }
.tile-body h3 { font-family: var(--display); font-weight: 600; font-size: 20px; }
.tile-body p { font-size: var(--t-small); color: var(--ink-mid); }
.tile-stat {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(44px, 4.5vw, 64px); color: var(--gold); line-height: 1;
  margin-bottom: 6px;
}
.tile-solo { min-height: 300px; justify-content: flex-end; }

/* feature index */
.feature-index {
  margin-top: clamp(40px, 4.5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px 40px;
}
.feature-index span {
  font-size: var(--t-small); color: var(--ink-mid);
  padding: 10px 0; border-bottom: 1px solid var(--hairline-soft);
}
.feature-index-title {
  font-family: var(--display); font-weight: 500; font-size: var(--t-micro);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-low);
  margin-top: clamp(44px, 5vw, 72px);
}

/* ---------- ops rows ---------- */
.ops-list { margin-top: clamp(36px, 4vw, 56px); }
.ops-row {
  display: grid; grid-template-columns: 72px 320px 1fr;
  gap: clamp(20px, 3vw, 48px); align-items: baseline;
  padding: 30px 0; border-top: 1px solid var(--hairline-soft);
}
.ops-row:last-child { border-bottom: 1px solid var(--hairline-soft); }
.ops-row .n { font-family: var(--display); font-weight: 300; font-size: 28px; color: var(--ink-low); }
.ops-row h3 { font-family: var(--display); font-weight: 600; font-size: 22px; }
.ops-row p { color: var(--ink-mid); font-size: var(--t-body); }

/* ---------- ios ---------- */
.ios-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 5vw, 88px); align-items: center;
}
.phone {
  width: min(300px, 78vw); margin: 0 auto;
  border-radius: 42px; border: 1px solid var(--hairline);
  background: #101014; padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone img { border-radius: 32px; width: 100%; }
.ios-points { margin-top: 28px; display: grid; gap: 14px; }
.ios-points li {
  list-style: none; display: flex; gap: 12px; align-items: baseline;
  color: var(--ink-mid); font-size: var(--t-body);
}
.ios-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-1px); }

/* ---------- licensing ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.step {
  border: 1px solid var(--hairline-soft); border-radius: 4px;
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.25s;
}
.step:hover { border-color: var(--gold); }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--gold); }
.step p { color: var(--ink-mid); font-size: var(--t-small); }

.included { margin-top: clamp(40px, 4.5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.included-row {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 14px 0; border-bottom: 1px solid var(--hairline-soft);
  font-size: var(--t-small);
}
.included-row .k { color: var(--ink); }
.included-row .d { color: var(--ink-low); text-align: right; }

/* ---------- close ---------- */
.close-section { text-align: center; padding-top: clamp(88px, 10vw, 150px); padding-bottom: clamp(88px, 10vw, 150px); }
.close-section h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 4.4vw, 62px); line-height: 1.05;
  max-width: 16em; margin: 0 auto;
}
.close-section p { margin: 22px auto 36px; color: var(--ink-mid); font-size: var(--t-sub); max-width: 32em; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hairline-soft); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 0 38px; gap: 16px; flex-wrap: wrap;
}
.footer .brand-mark { font-size: 14px; }
.footer-line { font-size: 13px; color: var(--ink-low); }
.footer-line a { color: var(--ink-mid); border-bottom: 1px solid var(--hairline); }

/* ---------- reveal (CSS scroll-driven, no JS; visible by default) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .ios-grid { grid-template-columns: 1fr; }
  .ops-row { grid-template-columns: 48px 1fr; }
  .ops-row p { grid-column: 2; }
  .bento-row.r1, .bento-row.r2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-index { grid-template-columns: 1fr 1fr; }
  .included { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .nav .brand-by { display: none; }
  .nav .btn { padding: 11px 18px; font-size: 12.5px; }
}
@media (max-width: 560px) {
  .feature-index { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
