:root {
  color-scheme: dark;
  --bg: #050407;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.13);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.42);
  --custom-pink: #f74e93;
  --custom-pink-rgb: 247 78 147;
  --custom-red: #f40a5f;
  --custom-red-rgb: 244 10 95;
  --accent: var(--custom-pink);
  --accent-red: var(--custom-red);
  --accent-2: #7a4dff;
  --accent-2-rgb: 122 77 255;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgb(var(--custom-pink-rgb) / 0.32), transparent 30rem),
    radial-gradient(circle at 78% 2%, rgb(var(--custom-red-rgb) / 0.24), transparent 28rem),
    radial-gradient(circle at 52% 0%, rgb(var(--accent-2-rgb) / 0.16), transparent 34rem),
    linear-gradient(180deg, #0a0710 0%, var(--bg) 58%, #030204 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(5, 4, 7, 0.62);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(255, 63, 143, 0.35);
}

.brand-mark img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  white-space: nowrap;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(54px, 9vw, 108px) clamp(20px, 5vw, 72px) 72px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--custom-red), var(--custom-pink));
  box-shadow: 0 18px 44px rgb(var(--custom-pink-rgb) / 0.28);
}

.button.secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.08);
}

.phone-card {
  position: relative;
  max-width: 390px;
  justify-self: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.phone-screen {
  overflow: hidden;
  min-height: 650px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.92) 100%),
    radial-gradient(circle at 50% 22%, rgba(255, 217, 162, 0.7), transparent 12rem),
    linear-gradient(135deg, #2c1124, #0a0710 58%, #030204);
}

.story-preview {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.chapter-pill {
  width: fit-content;
  margin-bottom: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.story-preview h3 {
  font-size: 34px;
  line-height: 1.05;
}

.story-preview p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.section {
  padding: 72px clamp(20px, 5vw, 72px);
}

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

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.feature-card,
.legal-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.feature-card {
  padding: 26px;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 16px;
  background: var(--card-strong);
  font-size: 22px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.58;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 36px clamp(20px, 5vw, 72px) 72px;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--border);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 63, 143, 0.24), rgba(122, 124, 255, 0.18));
}

.cta p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--border);
  color: var(--soft);
  font-size: 14px;
}

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

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px clamp(20px, 5vw, 72px);
}

.legal-card {
  padding: clamp(24px, 5vw, 44px);
}

.legal-card h1 {
  font-size: clamp(40px, 7vw, 68px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.updated {
  color: var(--soft);
}

@media (max-width: 880px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .cta {
    grid-template-columns: 1fr;
  }

  .phone-card {
    width: min(100%, 390px);
  }

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

  .nav {
    width: 100%;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .phone-screen,
  .story-preview {
    min-height: 560px;
  }

  .actions,
  .button {
    width: 100%;
  }
}
