:root {
  color-scheme: dark;
  --bg: #07090b;
  --bg-soft: #101317;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f7f4;
  --muted: #a7a8ad;
  --faint: #6f737b;
  --line: rgba(255, 255, 255, 0.12);
  --red: #d95652;
  --red-strong: #f1625d;
  --green: #2f7d43;
  --gold: #f2c84b;
  --purple: #be7dff;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1180px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --bg-soft: #ffffff;
  --surface: rgba(0, 0, 0, 0.055);
  --surface-strong: rgba(0, 0, 0, 0.09);
  --text: #111316;
  --muted: #5e626a;
  --faint: #858a92;
  --line: rgba(0, 0, 0, 0.11);
  --shadow: rgba(42, 34, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 86, 82, 0.26), transparent 32rem),
    radial-gradient(circle at top right, rgba(47, 125, 67, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-soft) 48%, var(--bg));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 70%);
  z-index: -1;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(var(--shell), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(24px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  color: var(--red-strong);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(217, 86, 82, 0.9), rgba(47, 125, 67, 0.75)),
    var(--surface);
  color: white;
  box-shadow: 0 18px 48px rgba(217, 86, 82, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  min-height: 44px;
  padding: 0.35rem 0.8rem 0.35rem 0.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 750;
  cursor: pointer;
}

.theme-toggle-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section.compact {
  padding: 10px 0 72px;
}

.hero {
  padding-top: 78px;
  min-height: 780px;
  display: grid;
  align-items: center;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: 0.95fr 1fr;
}

.eyebrow {
  color: var(--red-strong);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  margin: 0 0 1rem;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 1.4rem;
}

h2 {
  font-size: clamp(2.2rem, 4.7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 1.1rem;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.hero-text,
.section-copy p,
.section-heading p,
.feature-band p,
.final-panel p,
.cue-panel p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 1.25rem;
  font-weight: 850;
  border: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--red), #f06b64);
  color: white;
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(217, 86, 82, 0.28);
}

.button.secondary {
  background: var(--surface);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.hero-proof span,
.pill-list span,
.cue-list span,
.mini-grid span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.54rem 0.82rem;
  font-weight: 700;
}

.hero-stage {
  min-height: 680px;
  position: relative;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.55;
}

.glow-red {
  background: rgba(217, 86, 82, 0.34);
  top: 40px;
  right: 44px;
}

.glow-green {
  background: rgba(47, 125, 67, 0.28);
  bottom: 50px;
  left: 20px;
}

.phone {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 42px;
  background: #080a0d;
  box-shadow:
    0 44px 110px var(--shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  border: 10px solid color-mix(in srgb, var(--text) 12%, #0b0d10);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050608;
  z-index: 2;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-main {
  width: min(330px, 70vw);
  aspect-ratio: 1320 / 2868;
  z-index: 3;
  animation: float-main 8s ease-in-out infinite;
}

.phone-left,
.phone-right {
  position: absolute;
  width: min(230px, 40vw);
  aspect-ratio: 1320 / 2868;
  opacity: 0.72;
  filter: saturate(0.94);
}

.phone-left {
  left: 0;
  bottom: 26px;
  transform: rotate(-9deg);
}

.phone-right {
  right: 0;
  top: 38px;
  transform: rotate(8deg);
}

.showcase-phone {
  width: min(360px, 84vw);
  aspect-ratio: 1320 / 2868;
  justify-self: center;
}

.small-phone {
  width: min(310px, 78vw);
  aspect-ratio: 1320 / 2868;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--line);
  box-shadow: 0 30px 80px var(--shadow);
}

.metric-strip div {
  background: color-mix(in srgb, var(--bg-soft) 86%, transparent);
  padding: 1.35rem;
}

.metric-strip strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.metric-strip span {
  color: var(--muted);
  font-weight: 620;
}

.split-section.alt {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.035), transparent),
    radial-gradient(circle at 20% 50%, rgba(47, 125, 67, 0.12), transparent 34rem);
}

.section-copy {
  max-width: 660px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  color: var(--text);
  font-weight: 750;
  padding-left: 2rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  box-shadow: 0 0 0 5px rgba(47, 125, 67, 0.14);
}

.notice {
  border: 1px solid rgba(242, 200, 75, 0.28);
  background: rgba(242, 200, 75, 0.08);
  color: color-mix(in srgb, var(--text) 82%, var(--gold));
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.96rem !important;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.feature-card,
.cue-panel,
.final-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--surface-strong), var(--surface)),
    color-mix(in srgb, var(--bg-soft) 92%, transparent);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.14);
}

.card {
  padding: 1.35rem;
}

.card p,
.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--red), var(--purple));
  font-weight: 900;
}

.mini-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  min-height: 210px;
  padding: 1.35rem;
}

.feature-card:nth-child(3n + 1) {
  background:
    linear-gradient(160deg, rgba(217, 86, 82, 0.16), transparent 58%),
    var(--surface);
}

.feature-card:nth-child(3n + 2) {
  background:
    linear-gradient(160deg, rgba(47, 125, 67, 0.18), transparent 58%),
    var(--surface);
}

.feature-card:nth-child(3n) {
  background:
    linear-gradient(160deg, rgba(190, 125, 255, 0.16), transparent 58%),
    var(--surface);
}

.media-grid-section {
  padding-top: 20px;
}

.media-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 5vw, 4rem);
}

.media-grid .small-phone:nth-child(2) {
  margin-top: 60px;
}

.notifications-section {
  background:
    radial-gradient(circle at 70% 45%, rgba(190, 125, 255, 0.2), transparent 28rem),
    linear-gradient(180deg, transparent, rgba(217, 86, 82, 0.055), transparent);
}

.pill-list,
.cue-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 1.35rem;
}

.live-card-stack {
  display: grid;
  gap: 1rem;
  max-width: 520px;
  justify-self: center;
}

.live-activity-card,
.notification-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(217, 86, 82, 0.2), rgba(47, 125, 67, 0.12)),
    var(--surface);
  box-shadow: 0 28px 80px var(--shadow);
}

.live-activity-card {
  min-height: 180px;
  display: grid;
  align-content: center;
  gap: 0.4rem;
}

.live-activity-card span,
.notification-card span {
  color: var(--muted);
  font-weight: 800;
}

.live-activity-card strong {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.live-activity-card small {
  color: var(--muted);
  font-size: 1rem;
}

.notification-card strong {
  display: block;
  font-size: 1.45rem;
  margin: 0.25rem 0;
}

.notification-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.notification-card.muted {
  opacity: 0.78;
}

.cue-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 200, 75, 0.18), transparent 22rem),
    radial-gradient(circle at 80% 70%, rgba(217, 86, 82, 0.2), transparent 24rem),
    var(--surface);
}

.final-cta {
  padding-top: 40px;
}

.final-panel {
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.final-panel p {
  margin-left: auto;
  margin-right: auto;
}

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

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-grid p {
  margin: 0.5rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 720;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .split-grid.reverse,
  .feature-band,
  .cue-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

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

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

  .cards.three,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .media-grid {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }

  .media-grid .small-phone {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }

  .media-grid .small-phone:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, var(--shell));
  }

  .site-header {
    position: static;
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .theme-toggle {
    font-size: 0.9rem;
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 540px;
  }

  .phone-main {
    width: min(280px, 76vw);
  }

  .phone-left,
  .phone-right {
    width: min(180px, 42vw);
  }

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
