:root {
  --bg: #07111d;
  --bg-elevated: #0c1524;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --bg-softer: rgba(255, 255, 255, 0.06);
  --text: #f2f4f8;
  --muted: #aab4c3;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #ef4e5f;
  --accent-strong: #ff5f70;
  --blue: #4d8dff;
  --purple: #8c5cff;
  --amber: #ffb84d;
  --green: #38d996;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 78, 95, 0.22), transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(77, 141, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #08111f 0%, #07111d 45%, #050b14 100%);
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px;
}

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

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

button,
a {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 17, 29, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: clamp(124px, 14vw, 176px);
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.95rem;
  color: rgba(242, 244, 248, 0.88);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(239, 78, 95, 0.3);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.header-cta:hover,
.button:hover,
.social-link:hover,
.social-link:focus-visible,
.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 42px;
  padding: 68px 0 42px;
}

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

.hero-label-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  transform: translateX(-54px);
}

.eyebrow,
.section-kicker,
.card-kicker,
.mini-label,
.floating-label,
.score-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow,
.section-kicker,
.card-kicker {
  color: rgba(239, 78, 95, 0.96);
}

.eyebrow-chip,
.proof-pill,
.badge,
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.83rem;
}

.hero-title,
.section-copy h2,
.step-card h3,
.insight-card h3,
.legal-heading,
.review-card .quote,
.pattern-card h2,
.cta-panel h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: -0.03em;
}

.hero-title {
  margin: 20px 0 0;
  font-size: clamp(3.8rem, 8vw, 7.3rem);
  line-height: 0.9;
  max-width: 680px;
  text-align: left;
}

.hero-description {
  max-width: 520px;
  margin: 24px 0 0;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(242, 244, 248, 0.68);
  line-height: 1.6;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

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

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.7;
}

.hero-glow-red {
  width: 280px;
  height: 280px;
  right: 10%;
  top: 10%;
  background: rgba(239, 78, 95, 0.34);
}

.hero-glow-blue {
  width: 220px;
  height: 220px;
  left: 6%;
  bottom: 8%;
  background: rgba(77, 141, 255, 0.26);
}

.phone-duo {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  min-height: 590px;
}

.mobile-phone-carousel {
  display: none;
}

.phone-mockup {
  position: absolute;
  filter: drop-shadow(0 28px 64px rgba(0, 0, 0, 0.46));
}

.phone-front {
  left: 10px;
  bottom: 0;
  z-index: 3;
  width: min(100%, 320px);
  animation: float-phone 5.8s ease-in-out infinite;
}

.phone-back {
  right: -2px;
  top: 26px;
  z-index: 1;
  width: min(100%, 248px);
  transform: rotate(9deg);
  transform-origin: 50% 60%;
  animation: float-phone-back 6.4s ease-in-out infinite;
}

.phone-frame {
  position: relative;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #232932 0%, #06080d 85%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: #020203;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.06);
}

.screen {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.screen-image {
  background: #0b1220;
}

.screen-image img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-label,
.mini-label {
  color: rgba(242, 244, 248, 0.6);
}

.pattern-card,
.gut-summary,
.floating-card,
.problem-card,
.step-card,
.feature-phone-card,
.insight-card,
.review-card,
.cta-panel,
.site-footer {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --spotlight-x: 50%;
  --spotlight-y: 50%;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  opacity: 0;
  transition: opacity 220ms ease;
  background:
    radial-gradient(
      520px circle at var(--spotlight-x) var(--spotlight-y),
      rgba(77, 141, 255, 0.16),
      transparent 32%
    ),
    radial-gradient(
      340px circle at var(--spotlight-x) var(--spotlight-y),
      rgba(239, 78, 95, 0.14),
      transparent 22%
    );
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

.spotlight-card:hover::before,
.spotlight-card:focus-within::before,
.spotlight-card.is-active::before {
  opacity: 1;
}

.pattern-card,
.gut-summary {
  margin-top: 16px;
  padding: 18px;
}

.pattern-card h2 {
  margin: 8px 0 8px;
  font-size: 1.45rem;
  line-height: 1;
}

.pattern-card p,
.gut-summary p,
.section-copy p,
.problem-card p,
.step-card p,
.insight-card h3,
.cta-copy,
.footer-copy,
.footer-owner {
  color: var(--muted);
  line-height: 1.7;
}

.gut-summary p:last-child {
  margin: 8px 0 0;
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 16px 18px;
  backdrop-filter: blur(16px);
}

.receipt-card {
  top: 16%;
  left: 2%;
  width: min(230px, 48%);
}

.reaction-card {
  right: 2%;
  bottom: 14%;
  width: min(250px, 52%);
}

.receipt-lines {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
}

.receipt-lines span {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #d5dce7;
}

.reaction-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.how-section,
.download-section {
  padding: 52px 0 0;
}

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

.how-section .section-copy,
.download-section .cta-panel {
  margin-inline: auto;
  text-align: center;
}

.section-copy h2,
.cta-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  line-height: 0.95;
}

.section-copy p {
  max-width: 640px;
  margin-top: 16px;
}

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

.step-card {
  min-height: 210px;
  padding: 24px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(239, 78, 95, 0.14);
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.4rem;
}

.step-card h3 {
  margin: 22px 0 10px;
  font-size: 1.9rem;
  line-height: 0.95;
}

.cta-panel {
  padding: 28px;
}

.download-section {
  padding-top: 58px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 24%, rgba(77, 141, 255, 0.18), transparent 22%),
    radial-gradient(circle at 82% 76%, rgba(239, 78, 95, 0.22), transparent 20%),
    rgba(255, 255, 255, 0.04);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.store-button {
  display: inline-flex;
  align-items: center;
  min-width: 194px;
  min-height: 60px;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 14, 22, 0.85);
  box-shadow: var(--shadow-soft);
}

.store-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.store-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.store-copy {
  display: flex;
  flex-direction: column;
}

.store-copy span {
  font-size: 0.72rem;
  color: rgba(242, 244, 248, 0.72);
}

.store-copy strong {
  margin-top: 2px;
  font-size: 1.02rem;
  line-height: 1.1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  margin-top: 36px;
  padding: 28px;
}

.footer-logo {
  width: 180px;
}

.footer-brand {
  justify-self: start;
  align-self: center;
  text-align: left;
  padding-top: 28px;
}

.footer-owner {
  margin: 14px 0 0;
}

.footer-links-group {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: rgba(242, 244, 248, 0.82);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-meta {
  display: grid;
  gap: 18px;
}

.footer-copy,
.footer-copyright {
  margin: 0;
}

.footer-copyright {
  color: rgba(242, 244, 248, 0.72);
}

.mobile-sticky-cta {
  display: none;
}

.legal-header {
  grid-template-columns: auto 1fr;
}

.legal-nav {
  justify-content: flex-end;
}

.legal-page {
  padding: 48px 0 80px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 24px;
}

.legal-title {
  margin: 10px 0 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.legal-updated {
  margin: 18px 0 0;
  color: rgba(242, 244, 248, 0.68);
}

.legal-sections {
  display: grid;
  gap: 18px;
}

.legal-section-card {
  padding: 24px 26px;
}

.legal-section-card h2 {
  margin: 0 0 12px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.legal-section-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
}

.glitch::before {
  color: rgba(77, 141, 255, 0.38);
  transform: translate(2px, 0);
  clip-path: polygon(0 0, 100% 0, 100% 44%, 0 36%);
  animation: glitch-shift 3s infinite linear alternate;
}

.glitch::after {
  color: rgba(239, 78, 95, 0.36);
  transform: translate(-2px, 0);
  clip-path: polygon(0 62%, 100% 54%, 100% 100%, 0 100%);
  animation: glitch-shift 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-shift {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(1px, -1px);
  }
  40% {
    transform: translate(-2px, 1px);
  }
  60% {
    transform: translate(2px, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

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

@keyframes float-phone-back {
  0%,
  100% {
    transform: rotate(9deg) translateY(0);
  }
  50% {
    transform: rotate(9deg) translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal.is-visible,
  .signal-pill {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-bottom: 120px;
  }

  .site-header {
    grid-template-columns: auto auto auto;
    gap: 12px;
  }

  .legal-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7, 17, 29, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .header-cta {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero {
    padding-top: 38px;
    gap: 28px;
  }

  .hero-description {
    font-size: 1.02rem;
  }

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

  .phone-duo {
    width: min(100%, 490px);
    min-height: 700px;
  }

  .phone-front {
    width: min(100%, 370px);
  }

  .phone-back {
    width: min(100%, 304px);
    right: 4px;
    top: 42px;
  }

  .receipt-card,
  .reaction-card {
    width: min(210px, 52%);
  }

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

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

  .store-button {
    width: 100%;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: block;
  }

  .mobile-sticky-cta .button {
    width: 100%;
    min-height: 56px;
    box-shadow: 0 18px 34px rgba(239, 78, 95, 0.34);
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .header-cta {
    justify-self: end;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero-title {
    font-size: clamp(3.2rem, 16vw, 5.1rem);
    text-align: center;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-label-row {
    justify-content: center;
    transform: none;
  }

  .hero-description,
  .hero-trust {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

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

  .button {
    width: 100%;
  }

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

  .phone-duo {
    display: none;
  }

  .mobile-phone-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 14px;
    width: 100%;
    overflow-x: auto;
    padding: 0 8px 8px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-phone-carousel::-webkit-scrollbar {
    display: none;
  }

  .mobile-phone-slide {
    scroll-snap-align: center;
    width: 100%;
  }

  .mobile-phone-slide .phone-frame {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .mobile-sticky-cta {
    display: none;
  }

  .steps-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .steps-grid::-webkit-scrollbar {
    display: none;
  }

  .step-card {
    min-height: 240px;
    scroll-snap-align: start;
  }

  .quote {
    font-size: 1.6rem;
  }

  .site-footer,
  .cta-panel,
  .step-card,
  .legal-section-card {
    padding: 22px;
  }
}
