:root {
  --bg: #f6fbff;
  --bg-strong: #edf5ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-deep: #183359;
  --text: #203655;
  --muted: #627897;
  --line: rgba(133, 172, 223, 0.22);
  --accent: #8dc9ff;
  --accent-deep: #5ca8f5;
  --accent-soft: #dff1ff;
  --glow: #c7e6ff;
  --lilac: #eef0ff;
  --shadow: 0 20px 60px rgba(126, 174, 224, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(227, 244, 255, 0.95), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(236, 239, 255, 0.9), transparent 24%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 38%, #f3f9ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 70%);
  opacity: 0.4;
}

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

img {
  max-width: 100%;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 64px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(125, 165, 213, 0.12);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(235, 246, 255, 0.92));
  box-shadow: 0 14px 30px rgba(161, 205, 241, 0.3);
  overflow: hidden;
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

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

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

.site-nav,
.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-solid {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fdfefe;
  box-shadow: 0 16px 34px rgba(104, 171, 239, 0.26);
}

.button-ghost {
  border-color: rgba(133, 172, 223, 0.24);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.section {
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 130px);
}

.eyebrow,
.eyebrow-pill,
.tier-label,
.story-kicker,
.screen-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.75rem;
}

.eyebrow-pill,
.screen-pill,
.tier-label {
  padding: 8px 12px;
  background: rgba(245, 251, 255, 0.95);
  color: var(--accent-deep);
  border: 1px solid rgba(133, 172, 223, 0.18);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-deep);
}

.hero h1,
.section-heading h2,
.plus-copy h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.3rem, 5vw, 6rem);
  max-width: 12ch;
}

.hero-lede,
.section-heading p,
.feature-card p,
.story-card p,
.process-card p,
.faq-card p,
.plus-copy p,
.cta-panel p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.04rem;
}

.hero-lede {
  max-width: 56ch;
  margin: 24px 0 28px;
  font-size: 1.125rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.hero-proof div,
.story-card,
.feature-card,
.process-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 18px;
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb-peach {
  display: none;
}

.orb-blue {
  width: 360px;
  height: 360px;
  top: 24px;
  left: 40px;
  background: radial-gradient(circle, rgba(207, 234, 255, 0.95), transparent 68%);
}

.orb-lilac {
  width: 300px;
  height: 300px;
  right: 0;
  bottom: 90px;
  background: radial-gradient(circle, rgba(235, 239, 255, 0.9), transparent 70%);
}

.spark {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.1) 70%);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.95),
    0 0 36px rgba(196, 231, 255, 0.8);
}

.spark::before,
.spark::after {
  content: "";
  position: absolute;
  inset: 50%;
  background: rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%);
}

.spark::before {
  width: 2px;
  height: 26px;
  border-radius: 999px;
}

.spark::after {
  width: 26px;
  height: 2px;
  border-radius: 999px;
}

.sparkle-a {
  top: 72px;
  right: 56px;
}

.sparkle-b {
  left: 84px;
  bottom: 170px;
  transform: scale(0.7);
}

.sparkle-c {
  top: 180px;
  left: 38px;
  transform: scale(0.55);
}

.hero-logo-halo {
  position: absolute;
  inset: 64px 74px 98px 74px;
  display: grid;
  place-items: center;
  z-index: 0;
}

.hero-logo-halo::before {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(215, 239, 255, 0.55) 48%, transparent 72%);
  filter: blur(16px);
}

.hero-logo-halo img {
  position: relative;
  width: min(100%, 360px);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.98;
  box-shadow: 0 20px 90px rgba(161, 213, 255, 0.35);
}

.phone-stack {
  position: relative;
  width: min(100%, 520px);
  height: 640px;
  z-index: 1;
}

.phone-card {
  position: absolute;
  border: 1px solid rgba(164, 201, 236, 0.5);
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 255, 0.88));
  box-shadow: 0 30px 90px rgba(139, 188, 231, 0.22);
}

.phone-primary {
  top: 0;
  left: 0;
  width: 330px;
  min-height: 620px;
  padding: 24px;
  transform: rotate(-6deg);
}

.phone-secondary {
  right: 0;
  bottom: 40px;
  width: 250px;
  min-height: 360px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(112, 175, 240, 0.92), rgba(140, 192, 245, 0.88));
  color: #fdfefe;
  transform: rotate(8deg);
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.screen-caption,
.chart-label,
.summary-footer {
  color: var(--muted);
  font-size: 0.88rem;
}

.phone-primary h2,
.phone-secondary h3,
.quote-card p {
  margin: 16px 0 0;
  font-family: "Fraunces", serif;
}

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

.metric-card,
.mini-chart {
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(177, 210, 239, 0.44);
  background: rgba(255, 255, 255, 0.78);
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.metric-card strong {
  margin-top: 8px;
  font-size: 1.4rem;
}

.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  height: 110px;
  margin: 16px 0;
}

.bars span {
  border-radius: 999px 999px 14px 14px;
  background: linear-gradient(180deg, #e7f5ff, var(--accent-deep));
}

.mini-chart p,
.summary-list,
.summary-footer {
  margin: 0;
  line-height: 1.6;
}

.summary-list {
  padding-left: 18px;
  color: rgba(255, 247, 239, 0.82);
}

.summary-footer {
  margin-top: 18px;
  color: rgba(255, 247, 239, 0.74);
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 12px;
}

.signal-band p {
  margin: 0;
  padding: 18px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

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

.section-heading h2,
.plus-copy h2,
.cta-panel h2 {
  font-size: clamp(2.4rem, 3.8vw, 4.3rem);
  max-width: 12ch;
}

.story-card,
.feature-card,
.process-card,
.faq-card {
  padding: 26px;
}

.story-kicker {
  margin-bottom: 18px;
  color: var(--accent-deep);
}

.story-card h3,
.feature-card h3,
.process-card h3,
.faq-card h3,
.tier-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.2;
}

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

.feature-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 0.9rem;
}

.plus-panel,
.quote-card,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 8px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(236, 245, 255, 0.82));
  box-shadow: var(--shadow);
}

.plus-panel {
  padding: 34px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.tier-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
}

.tier-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.tier-card-highlight {
  background: linear-gradient(180deg, #74b8f4, #96cdfd);
  color: #fdfefe;
}

.tier-card-highlight ul {
  color: rgba(253, 254, 255, 0.9);
}

.quote-card {
  padding: 48px;
  text-align: center;
}

.quote-card p {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.18;
}

.cta-section {
  padding-bottom: 24px;
}

.cta-panel {
  padding: 42px;
}

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

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

@media (max-width: 1120px) {
  .site-header {
    border-radius: 28px;
  }

  .site-nav {
    display: none;
  }

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

  .hero {
    padding-top: 48px;
    min-height: auto;
  }

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

  .story-grid .section-heading {
    margin-bottom: 0;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    border-radius: 26px;
  }

  .header-actions,
  .hero-actions,
  .hero-proof,
  .signal-band,
  .feature-grid,
  .process-grid,
  .faq-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.1rem);
  }

  .section-heading h2,
  .plus-copy h2,
  .cta-panel h2,
  .quote-card p {
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 16px;
  }

  .phone-stack {
    height: auto;
    display: grid;
    gap: 20px;
  }

  .phone-card {
    position: relative;
    transform: none;
    width: 100%;
    min-height: auto;
  }

  .phone-primary,
  .phone-secondary {
    inset: auto;
  }

  .quote-card,
  .plus-panel,
  .cta-panel {
    padding: 28px;
  }
}
