:root {
  --bg: #100b12;
  --bg-soft: #1b1420;
  --card: rgba(27, 20, 32, 0.74);
  --card-solid: #ffffff;
  --line: rgba(211, 18, 92, 0.16);
  --text: #eee7eb;
  --text-muted: #bdaeb6;
  --heading: #fff8fb;
  --accent: #d3125c;
  --accent-strong: #c17a96;
  --accent-soft: rgba(211, 18, 92, 0.12);
  --legal-bg: #fbf7f8;
  --legal-text: #2b1f26;
  --legal-muted: #6f5b64;
  --shadow: 0 30px 60px rgba(17, 8, 14, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(211, 18, 92, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(154, 92, 119, 0.18), transparent 30%),
    linear-gradient(180deg, #100b12 0%, #120d16 46%, #0b070d 100%);
}

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

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 20px;
}

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

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  color: var(--heading);
}

.brand span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.main-nav a {
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-muted);
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--heading);
  border-color: var(--line);
  background: var(--accent-soft);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding: 42px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(20, 14, 22, 0.94), rgba(49, 28, 40, 0.84));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero-copy h1,
.section-heading h2,
.story-card h2,
.cta-banner h2,
.legal-card h1 {
  margin: 0;
  line-height: 1.05;
  color: var(--heading);
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.story-card p,
.cta-banner p,
.metric-grid span,
.feature-grid p,
.info-panel p,
.site-footer p {
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button.primary {
  color: #fff8fb;
  background: linear-gradient(135deg, #bb4875, #8f2f56);
  box-shadow: 0 12px 30px rgba(143, 47, 86, 0.24);
}

.button.secondary {
  border: 1px solid rgba(211, 18, 92, 0.22);
  background: rgba(255, 248, 251, 0.04);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-badges li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 251, 0.05);
  color: var(--heading);
  border: 1px solid rgba(211, 18, 92, 0.12);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(100%, 400px);
  min-height: 560px;
  padding: 22px;
  border-radius: 36px;
  border: 1px solid rgba(211, 18, 92, 0.18);
  background: linear-gradient(180deg, rgba(255, 248, 251, 0.1), rgba(255, 248, 251, 0.03));
}

.screen-glow {
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(211, 18, 92, 0.28), rgba(193, 122, 150, 0.14));
  filter: blur(30px);
  opacity: 0.65;
}

.phone-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(17, 11, 18, 0.94), rgba(33, 18, 28, 0.9));
}

.app-chip,
.card-float,
.small-stat,
.glass-card,
.info-panel,
.metric-grid article,
.cta-banner,
.site-footer,
.legal-card {
  backdrop-filter: blur(12px);
}

.app-chip {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(211, 18, 92, 0.14);
  border: 1px solid rgba(211, 18, 92, 0.16);
}

.chat-preview {
  margin-top: auto;
}

.card-float {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 248, 251, 0.06);
  border: 1px solid rgba(211, 18, 92, 0.12);
}

.card-float span,
.small-stat span {
  display: block;
  color: var(--accent-strong);
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.card-float strong,
.small-stat strong,
.metric-grid strong {
  color: var(--heading);
}

.stats-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.small-stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 248, 251, 0.05);
  border: 1px solid rgba(211, 18, 92, 0.12);
}

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

.metric-grid article,
.glass-card,
.info-panel,
.cta-banner {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 248, 251, 0.035);
}

.metric-grid article {
  padding: 24px;
}

.metric-grid strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
}

.content-section,
.split-section {
  padding: 96px 0 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.story-card h2,
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.glass-card,
.info-panel {
  padding: 28px;
}

.glass-card h3,
.info-panel h3,
.legal-card h2 {
  margin: 0 0 12px;
  color: var(--heading);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: start;
}

.story-card {
  padding: 34px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(34, 20, 31, 0.84), rgba(17, 11, 18, 0.76));
}

.stacked-panels {
  display: grid;
  gap: 16px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 96px 0 36px;
  padding: 34px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
  padding: 4px 0 20px;
  color: rgba(189, 174, 182, 0.76);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(189, 174, 182, 0.68);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 248, 251, 0.76);
  font-weight: 600;
}

.site-footer p {
  color: rgba(189, 174, 182, 0.64);
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgba(255, 248, 251, 0.86);
}

.legal-shell {
  width: min(980px, calc(100% - 32px));
}

.compact-header {
  padding-bottom: 8px;
}

.legal-main {
  padding: 28px 0 48px;
}

.legal-card {
  padding: 42px;
  border: 1px solid rgba(211, 18, 92, 0.1);
  border-radius: 32px;
  background: rgba(251, 247, 248, 0.98);
  color: var(--legal-text);
  box-shadow: 0 24px 54px rgba(39, 19, 29, 0.14);
}

.legal-card h1,
.legal-card h2 {
  color: var(--legal-text);
}

.legal-card h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.effective-date,
.legal-card p,
.legal-card a {
  color: var(--legal-muted);
  line-height: 1.8;
}

.legal-card section + section {
  margin-top: 28px;
}

.legal-card a {
  color: #9e305f;
}

@media (max-width: 980px) {
  .site-header,
  .cta-banner,
  .site-footer,
  .split-section,
  .hero-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card,
  .cta-banner,
  .site-footer,
  .legal-card {
    padding: 28px;
  }

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

@media (max-width: 720px) {
  .site-shell,
  .legal-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

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

  .feature-grid,
  .metric-grid,
  .stats-stack {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .button {
    width: 100%;
  }

  .phone-frame {
    min-height: 480px;
  }

  .content-section,
  .split-section {
    padding-top: 72px;
  }

  .cta-banner {
    margin-top: 72px;
  }

  .legal-card {
    padding: 26px 22px;
  }
}
