:root {
  --bg: #fff8f4;
  --bg-soft: #fff2ec;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --ink: #151019;
  --muted: #645865;
  --line: rgba(24, 16, 32, 0.1);
  --coral: #ff5f6d;
  --orange: #ff8a5b;
  --gold: #ffcb77;
  --rose: #ff8ca1;
  --shadow: 0 28px 80px rgba(76, 28, 38, 0.16);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 138, 91, 0.28), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255, 95, 109, 0.18), transparent 18%),
    linear-gradient(180deg, #fff6f1 0%, #fffdfb 42%, #fff6f0 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar,
.hero,
.story-band,
.signals-section,
.safety-section,
.quote-section,
.download-section,
.faq-section,
.footer {
  backdrop-filter: blur(18px);
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(62, 26, 32, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: 0 12px 24px rgba(255, 95, 109, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.84rem;
}

.topnav {
  display: flex;
  gap: 22px;
  color: var(--muted);
}

.topnav a:hover,
.ghost-link:hover {
  color: var(--ink);
}

.ghost-link {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(21, 16, 25, 0.04);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 42px;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 245, 239, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--coral);
}

.hero h1,
.section-heading h2,
.download-section h2,
.quote-section h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  letter-spacing: -0.05em;
}

.hero-body,
.section-copy,
.safety-copy p,
.download-section p,
.faq-grid p,
.story-card p,
.signal-panel p,
.story-label,
.quote-meta,
.footer p {
  color: var(--muted);
}

.hero-body {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-button {
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: 0 18px 30px rgba(255, 95, 109, 0.26);
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.hero-stats article,
.signal-panel,
.story-card,
.faq-grid article,
.safety-board article {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 16, 32, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.hero-stats strong,
.story-card h3,
.signal-panel h3,
.faq-grid h3,
.safety-board strong {
  display: block;
  margin-bottom: 10px;
}

.hero-stats strong,
.story-card h3,
.signal-panel h3,
.download-section h2,
.faq-grid h3 {
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.halo-one {
  top: 5%;
  left: 6%;
  width: 220px;
  height: 220px;
  background: rgba(255, 95, 109, 0.24);
}

.halo-two {
  right: 0;
  bottom: 10%;
  width: 260px;
  height: 260px;
  background: rgba(255, 203, 119, 0.24);
}

.device-frame {
  position: relative;
  width: min(100%, 430px);
  padding: 16px;
  border-radius: 40px;
  background: linear-gradient(180deg, #251926 0%, #130f18 100%);
  box-shadow: 0 34px 90px rgba(28, 9, 20, 0.35);
}

.device-header {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.profile-card {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 237, 0.98));
}

.profile-image {
  height: 270px;
  background:
    linear-gradient(135deg, rgba(255, 95, 109, 0.22), rgba(255, 203, 119, 0.12)),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 24%),
    linear-gradient(135deg, #ffd7c7, #f7b49d 55%, #e58a79 100%);
}

.profile-content {
  padding: 22px;
}

.profile-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.profile-title-row h2 {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
}

.profile-title-row p,
.profile-summary {
  margin: 0;
  color: var(--muted);
}

.profile-summary {
  margin-top: 16px;
  line-height: 1.65;
}

.curated-chip {
  height: fit-content;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--orange));
}

.signal-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.signal-grid span {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 95, 109, 0.08);
  color: #5a4452;
  font-size: 0.95rem;
}

.floating-note {
  position: absolute;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(21, 16, 25, 0.16);
}

.floating-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.floating-note span {
  color: var(--muted);
  font-size: 0.9rem;
}

.note-left {
  left: -48px;
  bottom: 22%;
}

.note-right {
  right: -36px;
  top: 18%;
}

.story-band,
.signals-section,
.safety-section,
.quote-section,
.download-section,
.faq-section,
.footer {
  margin-top: 24px;
  padding: 36px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 60px rgba(72, 28, 38, 0.08);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}

.story-grid,
.signal-panels,
.faq-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-coral {
  background: linear-gradient(180deg, rgba(255, 95, 109, 0.1), rgba(255, 255, 255, 0.94));
}

.feature-ink {
  color: #fff;
  background: linear-gradient(180deg, #211723, #302233);
}

.feature-ink p,
.feature-ink .story-label {
  color: rgba(255, 255, 255, 0.75);
}

.feature-sand {
  background: linear-gradient(180deg, rgba(255, 203, 119, 0.18), rgba(255, 255, 255, 0.94));
}

.story-label,
.board-label {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-panels {
  grid-template-columns: repeat(3, 1fr);
}

.signal-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(135deg, var(--coral), var(--orange));
}

.safety-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 22px;
}

.safety-list {
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.8;
}

.safety-board {
  display: grid;
  gap: 14px;
}

.quote-section {
  text-align: center;
}

.quote-section blockquote {
  max-width: 860px;
  margin: 22px auto 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.22;
}

.quote-meta {
  margin-top: 18px;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.download-actions {
  display: grid;
  gap: 12px;
}

.store-pill {
  flex-direction: column;
  align-items: flex-start;
  min-width: 250px;
  padding: 16px 18px;
  color: #fff;
  background: linear-gradient(135deg, #221620, #392533);
}

.store-pill span {
  opacity: 0.72;
  font-size: 0.82rem;
}

.store-pill strong {
  margin-top: 4px;
  font-size: 1.02rem;
}

.store-pill.muted {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .hero,
  .safety-section,
  .download-section,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .story-grid,
  .signal-panels,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 18px;
  }

  .note-left,
  .note-right {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .topnav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .story-band,
  .signals-section,
  .safety-section,
  .quote-section,
  .download-section,
  .faq-section,
  .footer {
    padding: 24px;
    border-radius: 26px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
