:root {
  --bg: #131520;
  --bg-elevated: #1A1D2A;
  --text: #FFFFFF;
  --text-soft: #999999;
  --accent: #4299E1;
  --accent-hover: #5BA8E8;
  --accent-2: #4FFFEA;
  --border: #2A2D3A;
  --serif: 'Iowan Old Style', 'Apple Garamond', Baskerville, Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background:
    radial-gradient(ellipse 600px 500px at 65% 25%, rgba(66, 153, 225, 0.22), transparent 65%),
    radial-gradient(ellipse 500px 600px at 95% 75%, rgba(79, 255, 234, 0.10), transparent 60%),
    radial-gradient(ellipse 400px 400px at 5% 65%, rgba(66, 153, 225, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* Hero */
.hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 32px 120px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
}

.divider {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 40px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6.2vw, 68px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 28px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 auto 48px;
  max-width: 600px;
}

.cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 36px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(66, 153, 225, 0.25);
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(66, 153, 225, 0.35);
  outline: none;
}

.cta:active {
  transform: translateY(0);
}

/* Sections */
.features,
.how,
.pricing {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.005em;
  margin: 0 0 64px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
}

.feature p {
  color: var(--text-soft);
  margin: 0;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.steps li {
  text-align: center;
}

.step-number {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}

.steps h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
}

.steps p {
  color: var(--text-soft);
  margin: 0;
}

/* Pricing */
.pricing {
  text-align: center;
}

.pricing-line {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}

.pricing-line strong {
  color: var(--accent);
  font-weight: 500;
}

/* Legal pages */
.legal {
  padding: 80px 0 120px;
  border-top: 1px solid var(--border);
}

.legal h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.legal-meta {
  color: var(--text-soft);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 56px;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 40px 0 12px;
}

.legal p {
  max-width: 680px;
  color: var(--text);
  margin: 0 0 14px;
}

.legal a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.legal a:hover,
.legal a:focus-visible {
  border-bottom-color: var(--accent);
  outline: none;
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.copy { margin: 0; }

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
  outline: none;
}

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }

  .container { padding: 0 24px; }

  .hero {
    padding: 48px 24px 88px;
    min-height: calc(100vh - 88px);
  }

  .divider { margin-bottom: 32px; }
  .hero-sub { font-size: 17px; margin-bottom: 40px; }

  .features,
  .how,
  .pricing {
    padding: 80px 0;
  }

  .section-title { margin-bottom: 48px; }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
