:root {
  --navy: #1c154a;
  --navy-soft: #2a2267;
  --orange: #fe3a20;
  --orange-soft: #ff7a63;
  --cream: #f7f4ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #191728;
  --muted: #5f6276;
  --line: rgba(28, 21, 74, 0.1);
  --shadow: 0 24px 70px rgba(23, 18, 58, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(254, 58, 32, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(28, 21, 74, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf8f4 0%, #f1ede8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(28, 21, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 21, 74, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

img {
  display: block;
  max-width: 100%;
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.intro-band,
.panel,
.feature-story,
.feature-chip,
.screen-card,
.community-section,
.cta-section,
.site-footer {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(28, 21, 74, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 34px rgba(28, 21, 74, 0.08);
}

.brand img {
  width: clamp(180px, 22vw, 240px);
  filter: drop-shadow(0 6px 16px rgba(28, 21, 74, 0.08));
}

.site-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(28, 21, 74, 0.08);
  border-radius: 14px;
  background: rgba(247, 244, 239, 0.92);
  color: var(--navy);
  font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(28, 21, 74, 0.72);
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  color: var(--navy);
  background: rgba(28, 21, 74, 0.06);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
  padding: 56px 0 44px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.97;
  color: var(--navy);
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  line-height: 1.02;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--navy);
}

.hero-text,
.intro-copy p:last-child,
.panel p,
.feature-story p,
.feature-chip p,
.community-copy p:last-child,
.cta-copy p:last-child,
.site-footer p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-note {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  background: linear-gradient(90deg, rgba(254, 58, 32, 0.08), rgba(255, 255, 255, 0.45));
  border-radius: 0 14px 14px 0;
}

.hero-note-mobile {
  display: none;
}

.hero-note strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.hero-note span {
  color: var(--muted);
  line-height: 1.65;
}

.panel-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(254, 58, 32, 0.1);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  align-items: stretch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(254, 58, 32, 0.22);
}

.button-primary:hover {
  background: #eb3218;
}

.button-secondary {
  border: 1px solid rgba(28, 21, 74, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-visual {
  position: relative;
  min-height: 700px;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.95;
  z-index: 0;
}

.hero-glow-orange {
  width: 220px;
  height: 220px;
  right: 4%;
  top: 6%;
  background: radial-gradient(circle, rgba(254, 58, 32, 0.3), transparent 68%);
}

.hero-glow-navy {
  width: 280px;
  height: 280px;
  left: -2%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(28, 21, 74, 0.18), transparent 70%);
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65)),
    linear-gradient(135deg, rgba(254, 58, 32, 0.12), rgba(28, 21, 74, 0.12));
  box-shadow: var(--shadow);
  z-index: 1;
}

.hero-card-primary {
  width: min(340px, 76%);
  right: 6%;
  top: 2%;
  padding: 8px;
  transform: rotate(1deg);
}

.hero-card-secondary {
  width: min(250px, 58%);
  left: 2%;
  bottom: 9%;
  padding: 8px;
  transform: rotate(-5deg);
  opacity: 0.96;
}

.phone-screen {
  width: 100%;
  border-radius: 18px;
}

.hero-badge {
  position: absolute;
  left: 10%;
  top: 8%;
  display: grid;
  gap: 6px;
  max-width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(28, 21, 74, 0.1);
  z-index: 2;
}

.hero-badge-label {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge strong {
  color: var(--navy);
  line-height: 1.35;
  font-size: 0.98rem;
}

.intro-band,
.community-section,
.cta-section,
.site-footer {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.intro-media img {
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 26px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 72px;
}

.stats-strip article {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 21, 74, 0.08);
  box-shadow: 0 16px 34px rgba(28, 21, 74, 0.06);
}

.stats-strip strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
}

.stats-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.steps-section,
.features-section,
.screens-section {
  margin-top: 34px;
}

.section-heading {
  margin-bottom: 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.panel,
.feature-story,
.feature-chip,
.screen-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel {
  min-height: 280px;
  padding: 32px 28px 28px;
  background: rgba(255, 255, 255, 0.95);
}

.panel::before {
  content: attr(data-step);
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: rgba(28, 21, 74, 0.08);
  z-index: 0;
}

.panel h3,
.feature-story h3,
.feature-chip h3 {
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.panel p,
.panel .panel-index {
  position: relative;
  z-index: 1;
}

.panel .panel-index {
  display: none;
}

.features-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.feature-story {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(254, 58, 32, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.82);
}

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

.feature-chip {
  padding: 24px;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.screen-card {
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(28, 21, 74, 0.04), rgba(254, 58, 32, 0.04)),
    rgba(255, 255, 255, 0.9);
  aspect-ratio: 0.63;
}

.screen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 18px;
  align-items: center;
  padding: 30px;
  margin-top: 34px;
  background:
    radial-gradient(circle at top right, rgba(254, 58, 32, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 240, 252, 0.82));
}

.community-mark {
  display: flex;
  justify-content: center;
}

.community-mark img {
  width: min(100%, 230px);
  filter: drop-shadow(0 18px 30px rgba(254, 58, 32, 0.18));
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(28, 21, 74, 0.98), rgba(39, 31, 99, 0.96));
}

.cta-section .eyebrow,
.cta-section h2,
.cta-section p {
  color: #ffffff;
}

.cta-copy p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  max-width: 520px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.store-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.store-link img {
  height: 42px;
  width: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 26px;
}

.site-footer strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.footer-support a,
.footer-copy {
  color: var(--navy);
}

.footer-support a {
  font-weight: 700;
}

.footer-meta {
  text-align: right;
}

.footer-note {
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .hero,
  .intro-band,
  .features-layout,
  .community-section,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-section,
  .site-footer {
    display: grid;
  }

  .hero {
    gap: 22px;
  }

  .hero-note-desktop {
    display: none;
  }

  .hero-note-mobile {
    display: grid;
    margin-top: 40px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .steps-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .site-header {
    border-radius: 16px;
    padding: 14px;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 6px;
    padding: 6px;
    flex-wrap: nowrap;
  }

  .site-nav a {
    text-align: center;
    padding: 10px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hero {
    gap: 16px;
    padding-top: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 54px;
    padding: 0 12px;
  }

  .hero-copy {
    padding-bottom: 16px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.2rem, 8.6vw, 2.9rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .hero-visual {
    min-height: 430px;
    margin-top: -16px;
  }

  .hero-card-primary {
    width: min(225px, 68%);
    right: 2%;
    top: 0;
  }

  .hero-card-secondary {
    width: min(170px, 50%);
    left: 0;
    bottom: 8%;
  }

  .hero-badge {
    left: 2%;
    top: 0;
    max-width: 168px;
    padding: 10px 12px;
  }

  .hero-note {
    padding: 14px 16px;
  }

  .intro-band,
  .community-section,
  .cta-section,
  .panel,
  .feature-story,
  .feature-chip,
  .screen-card,
  .site-footer {
    border-radius: 16px;
  }

  .store-buttons {
    width: 100%;
  }

  .screens-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 62vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .screen-card {
    aspect-ratio: 0.58;
    scroll-snap-align: start;
  }

  .footer-note {
    white-space: normal;
  }

  .footer-meta {
    text-align: left;
  }
}
