@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&display=swap");

:root {
  --bg: #f6f4ff;
  --bg-strong: #eee8ff;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: rgba(101, 62, 220, 0.14);
  --accent: #653edc;
  --accent-strong: #5031ae;
  --accent-soft: rgba(101, 62, 220, 0.12);
  --deep: #653edc;
  --success: #16a34a;
  --shadow-lg: 0 32px 80px rgba(101, 62, 220, 0.16);
  --shadow-md: 0 20px 48px rgba(101, 62, 220, 0.09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(101, 62, 220, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(79, 70, 229, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 48%, #f4f0ff 100%);
}

a {
  color: inherit;
}

.site-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding: 8px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.brand-text {
  display: inline-block;
  line-height: 1;
}

.top-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.top-nav a,
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
}

.top-nav a.active,
.top-nav a:hover,
.footer-nav a:hover {
  color: var(--text);
}

.page {
  padding: 24px 0 32px;
}

.page-home {
  padding-top: 12px;
}

.hero-panel,
.page-hero,
.surface-card,
.pricing-card,
.callout-band {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  padding: 36px;
  border-radius: var(--radius-xl);
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-card,
.surface-card,
.pricing-card,
.legal-nav,
.legal-content section,
.contact-card {
  border-radius: var(--radius-lg);
}

.hero-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 255, 0.96) 100%);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.card-label,
.plan-tag,
.footer-copy,
.billing-note,
.placeholder-note,
.last-updated {
  color: var(--muted);
}

.hero-card .card-label,
.hero-card .feature-list li,
.hero-card .feature-cluster-title,
.hero-card .feature-cluster-copy {
  color: var(--text);
}

.feature-cluster-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.feature-cluster {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(24, 42, 102, 0.1);
  border-radius: 16px;
  background: rgba(247, 249, 255, 0.82);
}

.feature-cluster-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.14), rgba(15, 118, 110, 0.14));
  color: #1d4ed8;
}

.feature-cluster-icon svg {
  width: 20px;
  height: 20px;
}

.feature-cluster-title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 800;
}

.feature-cluster-copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-proof-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 255, 0.96) 100%);
  box-shadow: var(--shadow-md);
}

.hero-proof-card .card-label {
  color: var(--muted);
}

.hero-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof-item {
  display: block;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(24, 42, 102, 0.1);
  border-radius: 16px;
  background: rgba(247, 249, 255, 0.82);
  color: var(--text);
}

.hero-proof-item > div {
  min-width: 0;
}

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

h1,
h2,
h3,
.plan-name {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.3rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 18ch;
}

h3,
.plan-name {
  font-size: 1.4rem;
}

.lede,
.legal-content p,
.surface-card p,
.footer-copy {
  line-height: 1.7;
}

.lede {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.1rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-block {
  width: 100%;
}

.button.primary {
  background: var(--deep);
  color: #ffffff;
}

.button.secondary,
.button.ghost {
  border-color: rgba(101, 62, 220, 0.2);
  background: transparent;
  color: var(--text);
}

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

.section {
  margin-top: 28px;
}

.section-heading {
  margin-bottom: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.trial-note {
  margin: 18px 0 0;
  font-weight: 700;
  color: var(--accent-strong);
}

.surface-card,
.pricing-card,
.contact-card,
.legal-nav,
.legal-content section {
  padding: 24px;
}

.surface-card h3 {
  margin-bottom: 10px;
}

.callout-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
}

.page-hero {
  padding: 34px;
  border-radius: var(--radius-xl);
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-card-highlight,
.pricing-card.yearly-active.pricing-card-highlight {
  border-color: rgba(101, 62, 220, 0.32);
  background:
    linear-gradient(180deg, rgba(101, 62, 220, 0.12), rgba(255, 255, 255, 0.96) 34%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.billing-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  padding: 4px;
  border: 1px solid rgba(101, 62, 220, 0.12);
  border-radius: 999px;
  background: rgba(101, 62, 220, 0.07);
  align-items: center;
}

.billing-choice {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.billing-choice.is-active {
  background: var(--deep);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(101, 62, 220, 0.22);
}

.savings-note {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.price-stack {
  display: grid;
  gap: 12px;
}

.price-option {
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  opacity: 0.72;
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.price-option-recommended {
  background: rgba(101, 62, 220, 0.08);
  border-color: rgba(101, 62, 220, 0.24);
}

.price-option.is-selected {
  opacity: 1;
  border-color: rgba(101, 62, 220, 0.34);
  transform: translateY(-1px);
}

.price-option:focus-visible {
  outline: 2px solid rgba(101, 62, 220, 0.38);
  outline-offset: 2px;
}

.price-label {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.price-value {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 800;
}

.price-term {
  font-size: 1rem;
  color: var(--muted);
}

.feature-list,
.legal-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.feature-list.compact {
  padding-left: 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.88);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table td {
  text-align: center;
}

.comparison-table thead th {
  background: rgba(101, 62, 220, 0.08);
  font-size: 0.95rem;
}

.comparison-table tbody th {
  min-width: 220px;
}

.row-title {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
  color: var(--text);
}

.row-meta {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
}

.feature-mark.included {
  background: rgba(101, 62, 220, 0.12);
  color: var(--accent-strong);
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.feature-chip-accent {
  background: rgba(101, 62, 220, 0.12);
  color: var(--accent-strong);
}

.feature-chip-premium {
  background: linear-gradient(135deg, rgba(101, 62, 220, 0.16), rgba(79, 70, 229, 0.14));
  color: var(--accent-strong);
}

.legal-page {
  padding-top: 12px;
}

.legal-hero {
  margin-bottom: 24px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 20px;
}

.legal-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.84);
}

.legal-nav p {
  margin: 0 0 14px;
  font-weight: 800;
}

.legal-nav a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-content section {
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.88);
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.site-footer {
  margin-top: 20px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(20, 38, 58, 0.12);
}

.brand-footer {
  display: inline-flex;
  margin-bottom: 8px;
}

@media (max-width: 980px) {
  .legal-layout,
  .pricing-grid,
  .three-up,
  .feature-grid,
  .callout-band {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .hero-proof-card {
    padding: 20px;
  }

  .callout-band {
    display: grid;
  }

  .legal-nav {
    position: static;
  }

  .hero-proof-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 18px 16px 28px;
  }

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

  .hero-panel,
  .page-hero,
  .surface-card,
  .pricing-card,
  .contact-card,
  .legal-nav,
  .legal-content section {
    padding: 22px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.05rem, 8.8vw, 3.2rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .billing-choice {
    padding: 10px 12px;
  }
  
  .actions {
    gap: 10px;
  }

  .actions .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .hero-proof-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-proof-item {
    padding: 12px;
  }

  .feature-cluster-title {
    font-size: 0.94rem;
  }

  .feature-cluster-copy {
    font-size: 0.85rem;
    line-height: 1.38;
  }
}
