:root {
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --background: #f4f6fb;
  --surface: #ffffff;
  --surface-muted: #f2f4fb;
  --border: #dbe1ef;
  --border-strong: #cbd4e8;
  --text: #111827;
  --text-muted: #4c5568;
  --primary: #4f46e5;
  --primary-strong: #3f37c9;
  --ring: rgba(79, 70, 229, 0.3);
  --elev-shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 18px 40px rgba(17, 24, 39, 0.07);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, #fdfdff 0%, #f4f6fb 55%),
    linear-gradient(180deg, #f4f6fb, #f8f9fd 65%);
}

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

main {
  min-height: 100dvh;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 251, 0.86);
  border-bottom: 1px solid rgba(219, 225, 239, 0.85);
}

.nav-inner {
  min-height: 4.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.62rem;
  background: linear-gradient(142deg, #5b51ec, #4338ca);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 20px rgba(67, 56, 202, 0.28);
}

.brand-text {
  font-size: 1.14rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 550;
  transition: color 0.2s ease;
}

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

.hero {
  position: relative;
  overflow: clip;
  padding: 5.2rem 0 3.1rem;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.36;
}

.hero::before {
  width: 20rem;
  height: 20rem;
  top: -7rem;
  left: -8rem;
  background: radial-gradient(circle at center, #8d88ff, transparent 70%);
  animation: drift-a 12s ease-in-out infinite;
}

.hero::after {
  width: 17rem;
  height: 17rem;
  top: 1rem;
  right: -5rem;
  background: radial-gradient(circle at center, #7bc7ff, transparent 68%);
  animation: drift-b 14s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 1.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: #eaecff;
  color: #3935a7;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-eyebrows {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.eyebrow-muted {
  background: #eef1f9;
  color: #4a566e;
}

h1 {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2.05rem, 4.2vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  letter-spacing: -0.01em;
}

.hero-copy {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  line-height: 1.65;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  padding: 0.5rem 1.02rem;
  font-size: 0.95rem;
  font-weight: 650;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:focus-visible,
details summary:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(142deg, #5a50eb, #4338ca);
  box-shadow: 0 12px 20px rgba(67, 56, 202, 0.24);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 24px rgba(67, 56, 202, 0.3);
}

.button-muted {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.button-muted:hover {
  transform: translateY(-1px);
  background: var(--surface-muted);
}

.subtle-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.15rem;
  box-shadow: var(--elev-shadow);
}

.hero-panel {
  display: grid;
  gap: 0.85rem;
}

.panel-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6273;
}

blockquote {
  margin: 0;
  padding-left: 0.82rem;
  border-left: 2px solid #d4d8ff;
  line-height: 1.55;
  font-size: 1.07rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.metric {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: #fbfcff;
  padding: 0.72rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 8px 14px rgba(17, 24, 39, 0.08);
}

.metric-value {
  margin: 0;
  font-size: 1.23rem;
  font-weight: 760;
}

.metric-label {
  margin: 0.26rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.3;
}

.signal-list {
  display: grid;
  gap: 0.42rem;
}

.signal-list p {
  margin: 0;
  padding: 0.52rem 0.65rem;
  border-radius: 0.62rem;
  border: 1px solid var(--border);
  background: #f7f9ff;
  color: #374151;
  font-size: 0.86rem;
  line-height: 1.35;
}

.section {
  padding: 2.45rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(232, 235, 253, 0.52), rgba(232, 235, 253, 0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip {
  padding-top: 0.2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.trust-chip {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--surface);
  padding: 0.78rem 0.85rem;
  color: #404a5f;
  font-size: 0.9rem;
  line-height: 1.35;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.05);
}

.card-grid,
.friction-grid,
.segment-grid,
.love-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card,
.friction-card,
.segment-card,
.love-card,
.price-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.card:hover,
.friction-card:hover,
.segment-card:hover,
.love-card:hover,
.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 14px 24px rgba(17, 24, 39, 0.1);
}

.card h3,
.friction-card h3,
.segment-card h3,
.price-card h2 {
  margin: 0 0 0.48rem;
  font-size: 1.1rem;
}

.card p,
.friction-card p,
.segment-card p,
.love-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.segment-card {
  display: grid;
  gap: 0.58rem;
}

.segment-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #3d45a2;
}

.segment-card strong {
  color: var(--text);
}

.love-card {
  border-left: 3px solid #cfd5ff;
  background: #fcfcff;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--surface);
  padding: 0.8rem 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 620;
}

.faq-list p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.cta-section {
  padding-bottom: 4rem;
}

.cta-box {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.2rem;
  box-shadow: var(--elev-shadow);
}

.cta-box p {
  margin: 0 0 1rem;
  max-width: 72ch;
  color: var(--text-muted);
  line-height: 1.62;
}

.pricing-hero {
  padding-top: 4.5rem;
  padding-bottom: 1.5rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-card-featured {
  border-color: rgba(79, 70, 229, 0.38);
  box-shadow:
    0 0 0 1px rgba(79, 70, 229, 0.17),
    0 16px 30px rgba(79, 70, 229, 0.16);
}

.price-amount {
  margin: 0;
  font-size: 2rem;
  font-weight: 760;
  line-height: 1.06;
}

.price-cadence {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.price-note {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  min-height: 2.8rem;
}

.price-points {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  line-height: 1.45;
  font-size: 0.94rem;
}

.pledge-box {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1rem;
  margin-bottom: 1rem;
}

.pledge-box h2 {
  margin: 0 0 0.45rem;
}

.pledge-box p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.comparison-table {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface);
}

.comparison-head,
.comparison-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
}

.comparison-head {
  border-bottom: 1px solid var(--border);
  background: #fafbff;
  font-weight: 700;
  font-size: 0.9rem;
}

.comparison-head p,
.comparison-row p {
  margin: 0;
  line-height: 1.45;
}

.comparison-row {
  font-size: 0.92rem;
}

.comparison-row + .comparison-row {
  border-top: 1px solid var(--border);
}

.comparison-row p:nth-child(2) {
  color: #2f3fb7;
  font-weight: 620;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up 700ms cubic-bezier(0.21, 1, 0.32, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(18px, 12px, 0);
  }
}

@keyframes drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-14px, 18px, 0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .metric-grid,
  .trust-grid,
  .card-grid,
  .friction-grid,
  .segment-grid,
  .love-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.35rem;
  }

  .nav-links {
    gap: 0.9rem;
  }
}

@media (max-width: 640px) {
  .top-nav {
    position: static;
  }

  .nav-inner {
    min-height: 3.8rem;
  }

  .nav-links {
    font-size: 0.86rem;
    gap: 0.65rem;
  }

  .button {
    width: 100%;
  }

  .comparison-head,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-head p:nth-child(2),
  .comparison-head p:nth-child(3) {
    display: none;
  }

  .comparison-row p {
    border-bottom: 1px dashed var(--border);
    padding-bottom: 0.35rem;
  }

  .comparison-row p:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
