:root {
  --bg: #fffdfd;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(252, 244, 247, 0.72);
  --stroke: rgba(193, 165, 177, 0.28);
  --shadow: 0 24px 60px rgba(157, 124, 139, 0.14);
  --shadow-soft: 0 16px 34px rgba(165, 127, 143, 0.1);
  --ink: #4f4450;
  --muted: #7c6f7b;
  --pink: #f56fa2;
  --pink-deep: #dc5f91;
  --pink-soft: #f8dce6;
  --sky: #7cc9db;
  --sky-soft: #dceef4;
  --butter: #fff4e8;
  --max: 1220px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(245, 111, 162, 0.13), transparent 24%),
    radial-gradient(circle at 90% 12%, rgba(124, 201, 219, 0.18), transparent 18%),
    radial-gradient(circle at 20% 92%, rgba(247, 219, 228, 0.5), transparent 16%),
    linear-gradient(180deg, #fffefe 0%, #fbf7f8 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.ambient-one {
  width: 280px;
  height: 280px;
  top: 72px;
  left: -88px;
  background: rgba(245, 111, 162, 0.16);
}

.ambient-two {
  width: 340px;
  height: 340px;
  right: -100px;
  top: 300px;
  background: rgba(124, 201, 219, 0.18);
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(var(--max), calc(100% - 28px));
  margin: 18px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 14px;
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(201, 141, 165, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--pink-soft);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.section {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 88px 0 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
  gap: 48px;
  align-items: center;
  padding-top: 60px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.98;
  max-width: 11ch;
}

.lede,
.section-head p,
.story-body p,
.module-card p,
.showcase-panel p,
.highlight-card p,
.design-points p,
.footer-note {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink) 0%, #ef7bab 100%);
  box-shadow: 0 16px 34px rgba(240, 105, 159, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(201, 172, 183, 0.4);
}

.hero-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 56ch;
}

.hero-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--sky));
}

.phone-mock {
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 246, 248, 0.96));
  box-shadow: 0 42px 90px rgba(113, 86, 100, 0.18);
  border: 8px solid rgba(255, 255, 255, 0.92);
}

.phone-header {
  min-height: 96px;
  padding: 18px 22px;
  background: linear-gradient(180deg, var(--pink) 0%, #ed6a9d 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.burger {
  display: inline-grid;
  gap: 4px;
  width: 18px;
}

.burger span {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.phone-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-overline {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.84;
}

.phone-titles strong {
  font-size: 1.8rem;
}

.phone-body {
  padding: 22px 18px 24px;
  background:
    radial-gradient(circle at top right, rgba(247, 219, 228, 0.55), transparent 18%),
    radial-gradient(circle at left 32%, rgba(124, 201, 219, 0.2), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 245, 247, 0.96));
}

.tracker-card {
  padding: 10px 4px 0;
}

.tracker-ring {
  width: min(100%, 296px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(248, 214, 222, 0.94) 0 56%, transparent 56.5%),
    conic-gradient(from 210deg, var(--pink) 0deg 110deg, var(--sky) 110deg 320deg, rgba(124, 201, 219, 0.14) 320deg 360deg);
  box-shadow: 0 18px 34px rgba(124, 201, 219, 0.16);
  position: relative;
}

.tracker-ring::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(249, 232, 238, 0.98), rgba(247, 214, 223, 0.94));
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.86);
}

.ring-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}

.ring-number {
  font-size: clamp(3.5rem, 8vw, 4.7rem);
  font-weight: 800;
  line-height: 1;
}

.ring-meta {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 6px;
}

.ring-note {
  font-size: 0.92rem;
  margin-top: 10px;
  opacity: 0.94;
}

.tracker-tags {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.tracker-tags span,
.visual-chips span,
.quote-band span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(206, 180, 189, 0.38);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.phone-info {
  margin-top: 20px;
  padding: 18px 18px 18px 16px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.phone-info h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.phone-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ff86b2 0%, var(--pink) 100%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}

.visual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
}

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

.highlight-card,
.story-card,
.module-card,
.showcase-panel,
.design-points article {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.highlight-card {
  padding: 24px 24px 26px;
  border-radius: var(--radius-lg);
}

.highlight-label,
.story-kicker,
.panel-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 111, 162, 0.12);
  color: var(--pink-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-card h2 {
  font-size: 1.7rem;
  line-height: 1.14;
  margin-bottom: 12px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

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

.story-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.story-media {
  min-height: 240px;
  background: linear-gradient(180deg, rgba(255, 242, 246, 0.92), rgba(242, 249, 251, 0.88));
  display: grid;
  place-items: center;
  padding: 20px;
}

.story-media img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
}

.story-media.collage {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  align-items: center;
  gap: 16px;
}

.story-body {
  padding: 22px 22px 24px;
}

.story-body h3,
.module-card h3,
.showcase-panel h3,
.design-points h3 {
  font-size: 1.5rem;
  line-height: 1.16;
  margin-bottom: 10px;
}

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

.module-card {
  border-radius: 22px;
  padding: 22px 18px 22px;
  min-height: 240px;
}

.module-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--pink-deep);
  background: linear-gradient(180deg, rgba(248, 220, 230, 0.94), rgba(255, 255, 255, 0.86));
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(231, 184, 201, 0.55);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}

.showcase-panel {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.showcase-panel.wide {
  grid-column: 1 / -1;
}

.panel-head {
  margin-bottom: 18px;
}

.predictor-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.predictor-strip figure {
  margin: 0;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(219, 196, 205, 0.36);
  display: grid;
  gap: 10px;
  place-items: center;
}

.predictor-strip img {
  max-height: 180px;
  width: auto;
}

.predictor-strip figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

.image-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(223, 201, 208, 0.36);
  padding: 14px;
}

.quote-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.design-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 24px;
  align-items: start;
}

.design-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.design-points article {
  padding: 22px;
  border-radius: 24px;
}

.site-footer {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 90px 0 48px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer > p:first-child {
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.footer-note {
  margin-top: 10px;
}

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

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

@media (max-width: 1160px) {
  .modules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 6px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .design-layout,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .highlights,
  .timeline-grid,
  .modules-grid,
  .design-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .section {
    padding-top: 72px;
  }

  .hero {
    padding-top: 34px;
  }

  .highlights,
  .timeline-grid,
  .modules-grid,
  .design-points,
  .image-stack,
  .predictor-strip {
    grid-template-columns: 1fr;
  }

  .story-media.collage {
    grid-template-columns: 1fr;
  }

  .tracker-tags {
    flex-direction: column;
  }

  .phone-mock {
    max-width: 420px;
    margin: 0 auto;
  }

  h1 {
    max-width: 10ch;
  }
}

body.legal-page .site-footer {
  padding-top: 48px;
}

.legal-header {
  width: min(980px, calc(100% - 28px));
  margin: 18px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.legal-nav a {
  color: var(--muted);
  font-weight: 700;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--ink);
}

.legal-shell {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0 60px;
  position: relative;
  z-index: 1;
}

.legal-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 34px 30px 36px;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

.legal-prose h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
  max-width: none;
  margin-bottom: 16px;
}

.legal-prose h2 {
  font-size: 1.55rem;
  line-height: 1.15;
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-prose ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-prose li + li {
  margin-top: 8px;
}

.legal-prose a {
  color: var(--pink-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 700px) {
  .legal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-nav {
    flex-wrap: wrap;
  }

  .legal-card {
    padding: 26px 20px 28px;
    border-radius: 24px;
  }
}
