:root {
  --bg: #f6f5ef;
  --ink: #0b1220;
  --muted: #465164;
  --accent: #0f766e;
  --accent-strong: #0b5b54;
  --accent-2: #f59e0b;
  --accent-3: #1d4ed8;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 30px 80px -50px rgba(15, 23, 42, 0.55);
  --radius: 18px;
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 15%, rgba(15, 118, 110, 0.12), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(245, 158, 11, 0.14), transparent 35%),
    linear-gradient(135deg, #f8f6f2, #eef1f7 50%, #f5f7fb);
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

h2 {
  font-size: clamp(2rem, 2vw + 1rem, 2.6rem);
  line-height: 1.1;
  margin: 12px 0 0;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.18), transparent 70%);
  filter: blur(10px);
}

body::after {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 70%);
  filter: blur(12px);
}

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

p {
  line-height: 1.7;
}

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  font-family: inherit;
  background: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 30px -20px rgba(15, 118, 110, 0.8);
}

.btn.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn.outline {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

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

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.section.tight {
  padding: 56px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding-bottom: 80px;
}

.hero h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.6rem, 3vw + 1rem, 3.6rem);
  line-height: 1.05;
  margin: 16px 0;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: rise 0.8s ease forwards;
}

.hero-card h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.stat-list {
  display: grid;
  gap: 16px;
}

.stat {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.stat span {
  color: var(--muted);
  font-weight: 500;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--surface-solid);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -45px rgba(15, 23, 42, 0.4);
}

.card h4 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.list li {
  list-style: none;
  padding-left: 20px;
  position: relative;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent-2);
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.plan-card {
  background: var(--surface-solid);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  min-height: 100%;
}

.plan-card.report {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(15, 118, 110, 0.35);
  box-shadow: 0 30px 80px -60px rgba(15, 118, 110, 0.5);
}

.plan-card.featured {
  border: 1px solid rgba(15, 118, 110, 0.4);
  box-shadow: 0 30px 70px -45px rgba(15, 118, 110, 0.6);
}

.plan-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.3rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-meta {
  color: var(--muted);
}

.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

form {
  display: grid;
  gap: 12px;
}

.steps {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps li::before {
  content: "•";
  margin-right: 8px;
  color: var(--accent);
}

input,
select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

input:focus,
select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.25);
  border-color: rgba(15, 118, 110, 0.5);
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.notice {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 20px;
}

.notice[data-state="ready"] {
  color: var(--accent);
  font-weight: 600;
}

.notice[data-state="error"] {
  color: #dc2626;
  font-weight: 600;
}

.notice[data-state="info"] {
  color: var(--ink);
}

.plans-ready .plan-card {
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: 0 18px 40px -30px rgba(15, 118, 110, 0.5);
}

.banner {
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.12), rgba(29, 78, 216, 0.12));
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer .nav-links {
  justify-content: flex-start;
}

.fade-up {
  animation: rise 0.8s ease forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .fade-up {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
