:root {
  --forest: #0d1f1b;
  --pine: #1f3a32;
  --clay: #c0573a;
  --sand: #f2efe7;
  --moss: #9bc17a;
  --steel: #2b2f2a;
  --ink: #0b0f0d;
  --card: #121c19;
  --glow: rgba(155, 193, 122, 0.35);
  --max-width: 1120px;
}

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

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1c342c 0%, #0b1412 45%, #060a09 100%);
  color: var(--sand);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

button,
input {
  font-family: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Crect width='1' height='1' fill='%23ffffff' opacity='0.05'/%3E%3Crect x='30' y='50' width='1' height='1' fill='%23ffffff' opacity='0.03'/%3E%3Crect x='90' y='10' width='1' height='1' fill='%23ffffff' opacity='0.02'/%3E%3Crect x='70' y='80' width='1' height='1' fill='%23ffffff' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(5, 9, 8, 0.6);
  border-bottom: 1px solid rgba(242, 239, 231, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Bebas Neue", "Space Grotesk", sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(242, 239, 231, 0.18);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-items: center;
}

.nav-links .nav-portal-link {
  border-radius: 999px;
  padding: 8px 16px;
  background: linear-gradient(120deg, var(--clay), #f18b4b);
  color: #150b07;
  box-shadow: 0 10px 22px rgba(240, 139, 75, 0.28);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: none;
}

.nav-menu {
  display: none;
  position: relative;
}

.nav-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(242, 239, 231, 0.28);
  background: rgba(18, 28, 25, 0.6);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(242, 239, 231, 0.15);
  background: rgba(9, 14, 12, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.nav-menu-panel a {
  padding: 6px 8px;
  border-radius: 8px;
}

.nav-menu-panel a:hover,
.nav-menu-panel a:focus-visible {
  background: rgba(155, 193, 122, 0.15);
}

.nav-menu[open] summary {
  border-color: rgba(155, 193, 122, 0.6);
  box-shadow: 0 0 0 2px rgba(155, 193, 122, 0.15);
}

@media (prefers-reduced-motion: no-preference) {
  .nav-menu-panel {
    animation: rise 0.25s ease-out;
  }
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--moss);
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-family: "Bebas Neue", "Space Grotesk", sans-serif;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 20px;
  animation: rise 0.9s ease-out;
}

.lead {
  font-size: 18px;
  color: rgba(242, 239, 231, 0.8);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
}

.hero-actions a:not(.store-link),
button {
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-actions .store-link {
  padding: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.hero-actions .store-badge {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.hero-actions .store-badge.apple-badge {
  transform: scale(1.0);
  transform-origin: center;
}

.hero-actions a.primary,
button.primary {
  background: linear-gradient(120deg, var(--clay), #f18b4b);
  color: #150b07;
  box-shadow: 0 14px 30px rgba(240, 139, 75, 0.3);
}

.hero-actions a.ghost,
button.ghost {
  background: rgba(242, 239, 231, 0.08);
  color: var(--sand);
  border: 1px solid rgba(242, 239, 231, 0.2);
}

.hero-actions a:hover,
button:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 14px;
}

.hero-metrics .metric {
  display: block;
  font-weight: 600;
  color: var(--moss);
  margin-bottom: 6px;
}

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

.phone {
  width: min(360px, 90vw);
  background: linear-gradient(160deg, #1b2d27, #0d1613);
  border-radius: 32px;
  padding: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(155, 193, 122, 0.2);
  animation: float 4s ease-in-out infinite;
}

.screen {
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, #0d1b17 0%, #172722 100%);
  border: 1px solid rgba(242, 239, 231, 0.08);
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.map-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 16px;
  color: rgba(242, 239, 231, 0.7);
}

.map-header strong {
  font-size: 14px;
  color: var(--sand);
}

.map-line {
  height: 140px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(155, 193, 122, 0.2), rgba(240, 139, 75, 0.35));
  position: relative;
  overflow: hidden;
}

.map-line::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(242, 239, 231, 0.35);
  border-radius: 14px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
}

.stat-grid strong {
  display: block;
  font-size: 16px;
  margin-top: 4px;
}

.badge {
  position: absolute;
  bottom: -10px;
  right: 0;
  background: rgba(12, 18, 16, 0.9);
  border: 1px solid rgba(155, 193, 122, 0.3);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.feature-strip {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: rgba(11, 18, 16, 0.7);
  border-radius: 28px;
  border: 1px solid rgba(242, 239, 231, 0.08);
}

.feature-strip h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-strip p {
  font-size: 14px;
  color: rgba(242, 239, 231, 0.7);
}

.stats {
  max-width: var(--max-width);
  margin: 80px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.stats-copy h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.stat-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(20, 28, 25, 0.8);
  border: 1px solid rgba(155, 193, 122, 0.2);
}

.stat-card span {
  font-weight: 600;
  color: var(--moss);
}

.stats-visual {
  display: grid;
  gap: 16px;
}

.card {
  background: rgba(12, 19, 17, 0.95);
  border: 1px solid rgba(242, 239, 231, 0.1);
  padding: 18px;
  border-radius: 20px;
}

.card h3 {
  margin-bottom: 12px;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(242, 239, 231, 0.8);
}

.timeline {
  width: 100%;
  height: auto;
  aspect-ratio: 825 / 661;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(155, 193, 122, 0.2), rgba(240, 139, 75, 0.4));
  position: relative;
  overflow: hidden;
}

.timeline-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.story {
  max-width: var(--max-width);
  margin: 80px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.story-copy h2 {
  font-size: 34px;
  margin-bottom: 16px;
}

.story-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.story-grid {
  display: grid;
  gap: 16px;
}

.story-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(18, 29, 25, 0.85);
  border: 1px solid rgba(242, 239, 231, 0.08);
}

.story-card h3 {
  margin-bottom: 8px;
}

.cta {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 36px 24px;
  border-radius: 28px;
  background: linear-gradient(130deg, rgba(155, 193, 122, 0.15), rgba(240, 139, 75, 0.2));
  border: 1px solid rgba(242, 239, 231, 0.1);
  display: grid;
  gap: 20px;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-form input {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 239, 231, 0.2);
  background: rgba(6, 10, 9, 0.9);
  color: var(--sand);
}

.fine-print {
  font-size: 12px;
  color: rgba(242, 239, 231, 0.6);
}

.footer {
  padding: 32px 24px 50px;
  text-align: center;
  background: #060a09;
  color: rgba(242, 239, 231, 0.7);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .stats,
  .story {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
