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

:root {
  --bg: #351c75;
  --bg-soft: #422089;
  --accent: #a33be7;
  --accent-soft: rgba(163, 59, 231, 0.14);
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.14);
  --max: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image: linear-gradient(168deg, #351c75 0%, #43206f 42%, #351c75 100%);
  min-height: 100vh;
}

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

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 17.1rem;
  height: 4.5rem;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: #b24ef0;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.hero h1 {
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 14ch;
}

.hero-lede {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-aside {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem;
  background: rgba(0, 0, 0, 0.12);
}

.hero-aside p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.hero-aside strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--white);
  font-weight: 600;
}

.section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--line);
}

.section-title {
  margin: 0 0 0.5rem;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-item {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.feature-item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.plan-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.plan-tagline {
  margin: 0.35rem 0 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.plan-price {
  margin: 0 0 1rem;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.plan-price small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan-list li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.plan-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.plan-list li strong {
  color: var(--white);
  font-weight: 600;
}

.plan .btn {
  width: 100%;
}

.cta-band {
  padding: 2.75rem 0 4rem;
  border-top: 1px solid var(--line);
}

.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  max-width: 32rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.85fr;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
