:root {
  color-scheme: dark;
  --bg: #061116;
  --bg-soft: #0a1b22;
  --panel: rgba(10, 28, 35, 0.78);
  --panel-strong: #0a1b22;
  --text: #f6f0dc;
  --muted: #9fb8ba;
  --muted-strong: #d7e5e1;
  --line: rgba(232, 214, 165, 0.16);
  --line-cool: rgba(110, 225, 223, 0.16);
  --teal: #6ee1df;
  --teal-deep: #0d7c84;
  --gold: #d9b45f;
  --gold-soft: #f4dfae;
  --ink: #07151a;
  --shadow: rgba(0, 0, 0, 0.36);
  font-family: Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 10%, rgba(110, 225, 223, 0.15), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(217, 180, 95, 0.16), transparent 24rem),
    linear-gradient(145deg, #061116 0%, #071a20 46%, #03090d 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 72%);
}

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

.site-header,
.site-footer,
.hero,
.section,
.cta,
.page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 20px 0;
  backdrop-filter: blur(18px);
}

.brand,
nav,
.site-footer div,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

nav a:hover,
.site-footer a:hover,
.prose a:not(.button):hover { color: var(--text); }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 58px;
  padding: 54px 0 92px;
}

.hero-copy,
.hero-art,
.section,
.cta,
.prose { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1,
h2 {
  font-family: Didot, Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7vw, 7.2rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.6vw, 4.3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lede,
.section-heading p,
.feature-grid p,
.community-panel p,
.timeline-grid p,
.cta p,
.prose p {
  color: var(--muted);
  line-height: 1.72;
}

.lede {
  max-width: 700px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 1000;
}

.button.primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #10110a;
  box-shadow: 0 18px 46px rgba(217, 180, 95, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--muted-strong);
}

.hero-art {
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-cool);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(110, 225, 223, 0.18), transparent 15rem),
    linear-gradient(180deg, rgba(10, 28, 35, 0.58), rgba(5, 13, 17, 0.86));
  box-shadow: 0 34px 88px var(--shadow);
}

.phone-preview {
  width: min(100%, 390px);
  border: 1px solid rgba(244, 223, 174, 0.18);
  border-radius: 38px;
  padding: 14px;
  background: linear-gradient(180deg, #10262d, #061116 72%);
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.46);
}

.phone-notch {
  width: 84px;
  height: 6px;
  margin: 5px auto 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.app-toolbar,
.community-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-cool);
  border-radius: 18px;
  padding: 12px;
  background: rgba(3, 10, 13, 0.46);
}

.app-toolbar img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34));
}

.app-toolbar strong,
.app-toolbar span,
.community-preview strong,
.community-preview span {
  display: block;
}

.app-toolbar strong,
.community-preview strong {
  color: var(--text);
  line-height: 1.2;
}

.app-toolbar span,
.community-preview span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.catch-preview-card {
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(3, 10, 13, 0.62);
}

.catch-preview-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(110, 225, 223, 0.24), transparent 9rem),
    linear-gradient(145deg, rgba(13, 124, 132, 0.28), rgba(217, 180, 95, 0.08));
}

.catch-preview-visual > img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.46));
}

.catch-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(3, 10, 13, 0.76);
}

.catch-badge span,
.catch-badge strong {
  display: block;
}

.catch-badge span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catch-badge strong {
  color: var(--gold-soft);
  font-size: 1.12rem;
}

.catch-preview-body {
  padding: 18px 18px 8px;
}

.catch-preview-body .eyebrow {
  margin-bottom: 8px;
}

.catch-preview-body h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.22rem;
}

.catch-preview-body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.condition-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}

.condition-strip span {
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(110, 225, 223, 0.1);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.community-preview {
  justify-content: space-between;
}

.section { margin-bottom: 94px; }

.section-heading {
  max-width: 830px;
  margin-bottom: 30px;
}

.feature-grid,
.timeline-grid {
  display: grid;
  gap: 18px;
}

.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-grid article,
.timeline-grid article,
.community-panel,
.cta,
.prose,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.feature-grid article,
.timeline-grid article { padding: 26px; }

.feature-grid span,
.timeline-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.community-panel {
  padding: clamp(30px, 6vw, 64px);
  background:
    radial-gradient(circle at 84% 18%, rgba(217, 180, 95, 0.13), transparent 18rem),
    radial-gradient(circle at 12% 80%, rgba(110, 225, 223, 0.12), transparent 18rem),
    var(--panel);
}

.community-panel h2 { max-width: 850px; }
.community-panel p { max-width: 760px; }

.community-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.community-points span {
  border: 1px solid var(--line-cool);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted-strong);
  font-weight: 800;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 92px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(10, 28, 35, 0.84), rgba(5, 13, 17, 0.84)),
    var(--panel);
}

.cta h2 {
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.cta p { margin-bottom: 0; max-width: 680px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  color: var(--muted);
}

.page {
  padding: 80px 0 104px;
}

.prose {
  max-width: 880px;
  padding: clamp(28px, 5vw, 58px);
}

.prose h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.prose h2 {
  margin-top: 38px;
  font-family: Avenir, "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.35rem;
}

.prose a:not(.button) {
  color: var(--teal);
  font-weight: 900;
}

.support-card {
  margin: 28px 0;
  padding: 22px;
}

.support-card h2 { margin-top: 0; }
.support-card p { margin-bottom: 0; }

@media (max-width: 980px) {
  .hero,
  .cta { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 44px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  h1 { font-size: clamp(3rem, 14vw, 4.8rem); }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-art { min-height: 0; padding: 18px; }
  .phone-preview { width: 100%; border-radius: 30px; }
  .catch-preview-visual { min-height: 220px; }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
