:root {
  --bg: #0e0d10;
  --bg-raised: #17151b;
  --surface: #1d1a22;
  --surface-2: #241f2b;
  --line: #332e3a;
  --ink: #fff3e4;
  --muted: #c9bfb3;
  --coral: #ff6b5a;
  --coral-deep: #e24c3c;
  --violet: #8b7cf6;
  --mint: #9fe3c2;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 4%, rgba(139, 124, 246, 0.14), transparent 32rem),
    radial-gradient(circle at 8% 28%, rgba(255, 107, 90, 0.09), transparent 30rem),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

::selection {
  color: #1a0c09;
  background: var(--coral);
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  color: #1a0c09;
  background: var(--mint);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 243, 228, 0.08);
  background: rgba(14, 13, 16, 0.82);
  backdrop-filter: blur(18px);
}

.site-header .wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.brand-tag {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 243, 228, 0.06);
}.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 243, 228, 0.08);
}

.nav a[href$="party.html"] {
  color: var(--mint);
}

.nav a[href$="party.html"]:hover {
  background: rgba(159, 227, 194, 0.12);
}

.nav .nav-cta {
  margin-left: 4px;
  padding: 10px 16px;
  color: #1a0c09;
  background: var(--coral);
  font-weight: 700;
}

.nav .nav-cta:hover {
  color: #1a0c09;
  background: #ff8a7a;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 52px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -12%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 90, 0.12), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 18px var(--coral);
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(48px, 7.2vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.gradient-text {
  background: linear-gradient(105deg, var(--coral), #ff9d7a 42%, var(--violet));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lede {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  color: #1a0c09;
  background: linear-gradient(135deg, var(--coral), #ff8a6a);
  box-shadow: 0 14px 34px rgba(255, 107, 90, 0.24);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 243, 228, 0.025);
}

.btn-ghost:hover {
  border-color: rgba(255, 243, 228, 0.28);
  background: rgba(255, 243, 228, 0.05);
}

.hero-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.halo {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 90, 0.3), rgba(139, 124, 246, 0.18) 46%, transparent 70%);
  filter: blur(14px);
}

.phone {
  position: relative;
  padding: 10px;
  border: 1px solid #3b3445;
  border-radius: 42px;
  background: #08070a;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 7px;
  border-radius: 999px;
  background: #2a2530;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 33px;
  object-fit: cover;
}

.hero-phone {
  width: min(310px, 76vw);
  transform: rotate(1.4deg);
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(23, 21, 27, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.score-card {
  top: 16%;
  left: 0;
}

.score-card strong {
  display: block;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.score-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.clue-card {
  right: 0;
  bottom: 13%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 107, 90, 0.55);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 90, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 107, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 90, 0);
  }
}

.trust-strip {
  border-top: 1px solid rgba(255, 243, 228, 0.08);
  border-bottom: 1px solid rgba(255, 243, 228, 0.08);
  background: rgba(255, 243, 228, 0.018);
}

.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.trust-item::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section h2 {
  margin: 12px 0 14px;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

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

.stage-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 243, 228, 0.045), rgba(255, 243, 228, 0.012));
}

.stage-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -58px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 124, 246, 0.2), transparent 68%);
}

.stage-card.is-active {
  border-color: rgba(255, 107, 90, 0.52);
  background: linear-gradient(160deg, rgba(255, 107, 90, 0.13), rgba(139, 124, 246, 0.06));
}

.stage-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-time {
  margin: 14px 0 2px;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stage-points {
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
}

.stage-card p {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-raised);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--coral);
  background: rgba(255, 107, 90, 0.1);
}

.feature-card:nth-child(even) .feature-icon {
  color: var(--violet);
  background: rgba(139, 124, 246, 0.12);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-bottom: 7px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
}

.gallery {
  background: linear-gradient(180deg, transparent, rgba(139, 124, 246, 0.055), transparent);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

.screens-grid figure {
  min-width: 0;
}

.screen-phone {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  border-radius: 34px;
}

.screen-phone img {
  border-radius: 26px;
}

.screens-grid figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.demo-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(159, 227, 194, 0.24);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(159, 227, 194, 0.08), rgba(139, 124, 246, 0.06));
}

.demo-card h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.demo-card p {
  color: var(--muted);
}

.demo-list {
  display: grid;
  align-content: center;
  gap: 12px;
  list-style: none;
}

.demo-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 243, 228, 0.08);
  border-radius: 12px;
  background: rgba(14, 13, 16, 0.28);
  color: var(--muted);
  font-size: 14px;
}

.demo-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
}

.cta-band {
  padding: 24px 0 80px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 68px);
  border: 1px solid rgba(255, 107, 90, 0.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 20%, rgba(139, 124, 246, 0.24), transparent 26rem),
    linear-gradient(135deg, rgba(255, 107, 90, 0.14), rgba(23, 21, 27, 0.7));
  text-align: center;
}

.cta-card h2 {
  margin: 0 auto 14px;
  max-width: 720px;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.cta-card p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.cta-card .btn {
  margin-top: 28px;
}

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(255, 243, 228, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.footer-brand span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-legal {
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
}

.policy-hero {
  padding: clamp(56px, 8vw, 92px) 0 38px;
  border-bottom: 1px solid rgba(255, 243, 228, 0.08);
}

.policy-hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.policy-meta {
  color: var(--muted);
  font-size: 14px;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.glance {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 243, 228, 0.025);
}

.glance strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14px;
}

.glance span {
  color: var(--muted);
  font-size: 12px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  padding: 48px 0 84px;
}

.policy-toc {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 243, 228, 0.025);
}

.policy-toc strong {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.policy-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.policy-toc a:hover {
  color: var(--coral);
}

.policy-content {
  min-width: 0;
}

.policy-content h2 {
  margin: 42px 0 12px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  margin: 26px 0 8px;
  font-size: 17px;
}

.policy-content p {
  margin: 0 0 13px;
  color: var(--muted);
}

.policy-content ul {
  margin: 0 0 18px 20px;
}

.policy-content li {
  margin: 7px 0;
  color: var(--muted);
}

.policy-content strong {
  color: var(--ink);
}

.policy-content a {
  color: var(--coral);
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 107, 90, 0.2);
  border-left: 4px solid var(--coral);
  border-radius: 12px;
  background: rgba(255, 107, 90, 0.06);
}

.callout p:last-child {
  margin-bottom: 0;
}

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

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

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

  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 22px;
  }

  .demo-card {
    grid-template-columns: 1fr;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .policy-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 18px;
  }

  .policy-toc strong {
    grid-column: 1 / -1;
  }
}

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

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

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

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .site-header .wrap {
    min-height: 68px;
    gap: 12px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-tag {
    display: none;
  }

  .nav a[data-desktop-only="true"] {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

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

  .hero-phone {
    width: min(280px, 72vw);
  }

  .score-card {
    top: 8%;
    left: 0;
    padding: 11px 14px;
  }

  .score-card strong {
    font-size: 20px;
  }

  .clue-card {
    right: 0;
    bottom: 6%;
  }

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

  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 14px;
  }

  .screen-phone {
    border-radius: 28px;
  }

  .screen-phone img {
    border-radius: 21px;
  }

  .policy-toc {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
