:root {
  color-scheme: dark;
  --color-ink: #f6f1ea;
  --color-muted: rgba(246, 241, 234, 0.66);
  --color-soft: rgba(246, 241, 234, 0.42);
  --color-line: rgba(246, 241, 234, 0.12);
  --color-black: #000;
  --color-bg: #050403;
  --color-accent: #ff7a2f;
  --color-accent-soft: #f9b367;
  --color-accent-deep: #c14d12;
  --shadow-warm: 0 0 32px rgba(255, 122, 47, 0.32);
  --max-width: 1240px;
  --radius-lg: 30px;
  --radius-md: 18px;
  --font-sans:
    "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Inter", "Inter var",
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--color-black);
}

body {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #060403 0%, #020201 50%, #050302 100%);
  color: var(--color-ink);
  font-family: var(--font-sans);
  letter-spacing: -0.012em;
}

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

button {
  font-family: inherit;
}

.site-shell {
  position: relative;
  display: flex;
  height: 100dvh;
  width: 100%;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: 20px clamp(24px, 5vw, 64px) 0;
}

/* ---------- Background video ---------- */

.bg-video {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.bg-video::-webkit-media-controls {
  display: none !important;
}

.bg-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.bg-video::-webkit-media-controls-panel {
  display: none !important;
}

/* ---------- Header / navigation ---------- */

.site-header {
  display: flex;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 6px 0;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-orbit {
  width: 16px;
  height: 16px;
  border: 2.5px solid var(--color-accent);
  border-radius: 999px;
  box-shadow: var(--shadow-warm);
}

.brand-name {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-ghost {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.button-ghost:hover {
  border-color: var(--color-accent-soft);
  background: rgba(255, 122, 47, 0.08);
  color: #ffd1a3;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  width: min(100%, var(--max-width));
  flex: 1;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(16px, 3vh, 40px) 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero-copy {
  position: relative;
  max-width: 580px;
}

.app-icon {
  display: block;
  width: clamp(72px, 12vh, 160px);
  height: clamp(72px, 12vh, 160px);
  margin-bottom: clamp(12px, 2vh, 24px);
  border-radius: 22px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  object-fit: cover;
}

.hero-title {
  margin: 0;
  font-size: clamp(3.6rem, 8.6vw, 6.4rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero-tagline {
  margin: clamp(6px, 1vh, 14px) 0 0;
  color: var(--color-accent);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 620;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 520px;
  margin: clamp(4px, 0.5vh, 8px) 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 420;
  letter-spacing: -0.012em;
  line-height: 1.5;
}

/* ---------- Feature strip ---------- */

.feature-strip {
  display: grid;
  margin: clamp(16px, 2.5vh, 38px) 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 540px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--color-ink);
  opacity: 0.92;
}

.feature-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-title {
  color: var(--color-ink);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.feature-sub {
  max-width: 130px;
  color: var(--color-soft);
  font-size: 0.78rem;
  font-weight: 420;
  line-height: 1.35;
}

/* ---------- App Store button + Learn more ---------- */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(16px, 2.5vh, 36px);
}

.appstore-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #050505;
  color: #fff;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.appstore-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background: #0c0c0c;
}

.appstore-logo {
  width: 28px;
  height: 28px;
}

.appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.appstore-pre {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.82;
}

.appstore-store {
  margin-top: 4px;
  font-size: 1.18rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

/* ---------- Phone screenshot ---------- */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  display: none;
}

.phone-shot {
  display: block;
  width: min(450px, 100%);
  max-height: 80vh;
  object-fit: contain;
  filter: drop-shadow(0 50px 90px rgba(0, 0, 0, 0.7));
}

/* ---------- Footer ---------- */

.site-footer {
  flex-shrink: 0;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 12px 0;
  color: var(--color-soft);
  font-size: 0.78rem;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding: clamp(12px, 2vh, 32px) 0;
    gap: clamp(20px, 4vh, 48px);
    overflow-y: auto;
  }

  .hero-copy {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }

  .app-icon {
    margin-inline: auto;
  }

  .hero-lede br {
    display: none;
  }

  .feature-strip {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: unset;
  }

}

@media (max-width: 620px) {
  .site-shell {
    padding: 14px 18px 0;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }


  .phone-shot {
    width: min(300px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
