:root {
  --bg: #f7f6f3;
  --bg-elevated: #fdfcfa;
  --surface: #ffffff;
  --text: #141414;
  --muted: #6b6b6f;
  --border: rgba(20, 20, 20, 0.08);
  --accent: #4a4a9c;
  --accent-soft: rgba(74, 74, 156, 0.1);
  --accent-line: rgba(74, 74, 156, 0.22);
  --radius: 22px;
  --shadow: 0 20px 60px rgba(20, 20, 20, 0.06);
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(164, 172, 220, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(210, 200, 185, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 80%, rgba(180, 190, 210, 0.12), transparent 45%),
    var(--bg);
  pointer-events: none;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(247, 246, 243, 0.72);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(20, 20, 20, 0.04);
  text-decoration: none;
}

.nav a.btn--primary {
  color: #fff;
}

.nav a.btn--primary:hover {
  color: #fff;
  background: #2a2a2a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.14);
}

.btn--primary:hover {
  background: #2a2a2a;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

svg.icon {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.icon--lg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
}

.icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 18px;
  overflow: hidden;
}

.hero {
  padding: 56px 0 72px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 30px;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 48ch;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero__note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 44ch;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-panel__inner {
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 22px 22px 8px;
  background: var(--bg-elevated);
}

.hero-panel__title {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.feature-row:first-child {
  border-top: none;
  padding-top: 0;
}

.feature-row__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.feature-row__icon svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
}

.feature-row__title {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-row__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--border);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section__head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

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

.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 8px 30px rgba(20, 20, 20, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(20, 20, 20, 0.06);
}

.section--alt .card {
  background: var(--bg-elevated);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.step {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
}

.step__num {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.price-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  background: #fff;
}

.price-card__label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

.price-card__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1;
}

.price-card__sub {
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 22px;
}

.price-card__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card .btn {
  margin-top: auto;
}

.pricing-note {
  text-align: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}

.section--alt .faq details {
  background: var(--bg-elevated);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta {
  padding: 72px 0 88px;
}

.cta__box {
  background: linear-gradient(145deg, #1e1e28 0%, #3a3a68 100%);
  color: #fff;
  border-radius: 30px;
  padding: 52px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta__box h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
}

.cta__box p {
  margin: 0 auto 26px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cta .btn--primary {
  background: #fff;
  color: var(--text);
}

.site-footer {
  padding: 40px 0 52px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.site-footer p,
.site-footer a {
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer h4 {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.legal-page {
  padding: 48px 0 72px;
}

.legal-page h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
}

.legal-page .lead {
  color: var(--muted);
  margin-bottom: 32px;
}

.legal-section {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.legal-section h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 900px) {
  .hero__grid,
  .cards,
  .steps,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }
}
