:root {
  --bg: #f6f1ff;
  --bg-deep: #efe5ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #111111;
  --muted: #5b5870;
  --line: rgba(123, 44, 191, 0.12);
  --berry: #7b2cbf;
  --plum: #6a0dad;
  --terracotta: #9d4edd;
  --gold: #caa8ff;
  --shadow: 0 28px 70px rgba(90, 0, 157, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(157, 78, 221, 0.2), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(123, 44, 191, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf9ff 0%, var(--bg) 46%, #ede3ff 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #7b2cbf, #6a0dad 48%, #9d4edd);
  transition:
    opacity 500ms ease,
    visibility 500ms ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-screen__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(30px);
  animation: pulse-glow 1.7s ease-in-out infinite;
}

.loading-screen__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.loading-mark {
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
}

.loading-mark img {
  width: 154px;
  height: 154px;
  object-fit: contain;
  animation: pulse-mark 1.6s ease-in-out infinite;
}

.loading-brand,
.loading-copy {
  margin: 0;
  color: #ffffff;
}

.loading-brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.loading-copy {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(123, 44, 191, 0.1);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(90, 0, 157, 0.08);
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brandmark__logo,
.footer-brand__logo,
.cta-panel__logo {
  object-fit: contain;
}

.brandmark__logo {
  width: 42px;
  height: 42px;
}

.brandmark__lockup {
  display: grid;
  gap: 2px;
}

.brandmark__text,
.brand-footer {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brandmark__tag {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.site-nav,
.header-actions,
.hero-actions,
.footer-links,
.signal-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.footer-links a:hover,
.privacy-item a:hover {
  color: var(--berry);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button--solid {
  color: #ffffff;
  background: linear-gradient(135deg, var(--berry), var(--terracotta));
  box-shadow: 0 16px 34px rgba(123, 44, 191, 0.26);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(123, 44, 191, 0.16);
}

.button--large {
  min-height: 56px;
  padding: 0 24px;
}

.section {
  margin: 30px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 140px);
  padding: 34px 0 10px;
}

.hero-copy,
.privacy-panel,
.cta-panel,
.stats-band,
.step-card,
.feature-card,
.glass-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(245, 239, 255, 0.92)),
    var(--surface-strong);
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.18), transparent 70%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--berry);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  max-width: 9ch;
}

.hero h1 span {
  display: block;
  color: var(--berry);
}

.hero-copy__lede,
.cta-panel p,
.feature-card p,
.step-card p,
.privacy-item p,
.stat-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-copy__lede {
  max-width: 37rem;
  margin: 22px 0 0;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
}

.hero-stage {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 18px 0;
}

.hero-stage__halo {
  position: absolute;
  inset: 20% 12% auto;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.26), transparent 68%);
  filter: blur(18px);
}

.hero-stage__logo-wrap {
  display: grid;
  place-items: center;
  margin-bottom: -10px;
}

.hero-stage__logo {
  width: 184px;
  height: 184px;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(106, 13, 173, 0.18));
  animation: pulse-mark 2.4s ease-in-out infinite;
}

.glass-card {
  position: relative;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px);
}

.glass-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
}

.card-label,
.stat-kicker,
.step-index,
.feature-title,
.privacy-item h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card-label {
  margin: 0;
  color: var(--berry);
}

.card-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.rhythm-card {
  margin-left: 42px;
}

.signal-card {
  margin-right: 50px;
}

.rhythm-meter {
  width: 100%;
  height: 14px;
  margin: 18px 0 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(95, 49, 90, 0.12);
}

.rhythm-meter__fill {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--terracotta), var(--berry));
}

.rhythm-stat {
  margin: 0 0 12px;
  font-size: 1.6rem;
  font-family: "Fraunces", Georgia, serif;
}

.signal-grid span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(123, 44, 191, 0.08);
  color: var(--plum);
  font-weight: 700;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
}

.section--split,
.privacy-grid,
.feature-grid,
.steps {
  display: grid;
  gap: 18px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.section-intro {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}

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

.step-card,
.feature-card,
.privacy-item {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.step-index {
  color: var(--terracotta);
  font-size: 0.95rem;
}

.step-card h3,
.privacy-item h3,
.feature-title {
  margin: 10px 0;
  font-size: 1.25rem;
}

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

.feature-grid--overview .feature-card {
  grid-column: span 4;
}

.feature-card {
  grid-column: span 4;
}

.feature-card--wide {
  grid-column: span 8;
}

.feature-card--accent {
  background: linear-gradient(145deg, rgba(123, 44, 191, 0.95), rgba(106, 13, 173, 0.92));
  color: #ffffff;
}

.feature-card--accent p {
  color: rgba(255, 255, 255, 0.84);
}

.privacy-panel,
.cta-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 233, 255, 0.88)),
    var(--surface-strong);
}

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

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

.pricing-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pricing-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(123, 44, 191, 0.08);
  color: var(--plum);
  border: 1px solid rgba(123, 44, 191, 0.12);
  font-size: 0.94rem;
  font-weight: 700;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pricing-card--trial,
.pricing-card--pro {
  background: #fbf7ff;
}

.pricing-card--pro {
  border-color: rgba(123, 44, 191, 0.34);
  box-shadow: 0 24px 56px rgba(106, 13, 173, 0.16);
  background: linear-gradient(180deg, rgba(251, 247, 255, 0.98), rgba(244, 235, 255, 0.96));
}

.pricing-card--pro .pricing-label,
.pricing-card--trial .pricing-label {
  color: var(--berry);
}

.pricing-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pricing-label {
  margin: 0;
  color: var(--berry);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pricing-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(123, 44, 191, 0.12);
  color: var(--plum);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-chip--soft {
  background: rgba(91, 88, 112, 0.08);
  color: var(--muted);
}

.pricing-chip--pro {
  background: rgba(123, 44, 191, 0.18);
  color: var(--plum);
}

.pricing-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-price {
  margin: 10px 0 0;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--plum);
  letter-spacing: -0.03em;
}

.pricing-price span {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.pricing-highlight {
  margin: 12px 0 16px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.pricing-features {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--berry);
  font-weight: 800;
}

.pricing-note {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
  border-top: 1px solid rgba(123, 44, 191, 0.1);
}

.cta-section {
  padding-top: 10px;
}

.cta-panel {
  text-align: center;
}

.cta-panel__logo {
  width: 74px;
  height: 74px;
  margin-bottom: 8px;
}

.cta-panel p {
  max-width: 42rem;
  margin: 14px auto 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 4px 0;
  color: var(--muted);
}

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

.footer-brand__logo {
  width: 42px;
  height: 42px;
}

.footer-copy {
  margin: 6px 0 0;
}

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

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

.stagger {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-visible .stagger {
  animation: rise 600ms ease forwards;
}

.reveal.is-visible .stagger:nth-child(2) {
  animation-delay: 90ms;
}

.reveal.is-visible .stagger:nth-child(3) {
  animation-delay: 180ms;
}

.reveal.is-visible .stagger:nth-child(4) {
  animation-delay: 270ms;
}

.reveal.is-visible .stagger:nth-child(5) {
  animation-delay: 360ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-mark {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.88;
  }
}

@media (max-width: 1080px) {
  .hero,
  .steps,
  .privacy-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card--wide {
    grid-column: span 12;
  }

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

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

  .site-header {
    position: static;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .rhythm-card,
  .signal-card {
    margin: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 14px;
  }

  .hero-copy,
  .privacy-panel,
  .cta-panel,
  .glass-card,
  .step-card,
  .feature-card,
  .privacy-item,
  .stats-band {
    padding: 20px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.4rem);
  }

  .section-heading h2,
  .cta-panel h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .site-nav {
    gap: 10px 18px;
    justify-content: flex-start;
  }

  .header-actions,
  .hero-actions {
    width: 100%;
  }

  .header-actions .button,
  .hero-actions .button {
    width: 100%;
  }

  .loading-mark {
    width: 150px;
    height: 150px;
  }

  .loading-mark img {
    width: 124px;
    height: 124px;
  }
}
