:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --text: #172033;
  --muted: #5e6a7d;
  --line: #dfe6f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eaf1ff;
  --accent: #0f766e;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(22, 36, 62, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

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

.narrow {
  width: min(820px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 750;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  font-weight: 800;
}

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

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

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

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--bg-soft);
}

.hero {
  padding: 88px 0;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 58%),
    var(--bg);
}

.pricing-hero {
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
}

.eyebrow,
.panel-kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.pricing-hero h1 {
  margin: 0 auto;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-text {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
}

.pricing-hero .hero-text {
  margin-left: auto;
  margin-right: auto;
}

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

.pricing-hero .hero-actions {
  justify-content: center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

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

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

.button-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button-secondary {
  color: var(--text);
  background: #ffffff;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #b8c7dc;
}

.button-full {
  width: 100%;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
}

.trust-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.tool-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 24px;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.tool-header h2 {
  font-size: 1.35rem;
}

.status-pill {
  height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.generator-form {
  display: grid;
  gap: 12px;
}

label {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 750;
}

textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 120px;
  padding: 13px;
  resize: vertical;
}

select {
  min-height: 44px;
  padding: 0 12px;
}

textarea:focus,
select:focus {
  outline: 3px solid var(--primary-soft);
  border-color: var(--primary);
}

.upload-box {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed #aab8ca;
  border-radius: 8px;
  background: #f9fbff;
  color: var(--muted);
  text-align: center;
}

.upload-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row div {
  display: grid;
  gap: 8px;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 54px;
}

.prose {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.qa-grid,
.card-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.qa-grid {
  grid-template-columns: repeat(5, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

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

.card,
.price-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.card {
  padding: 22px;
}

.card p,
.price-card p,
.faq-item p,
.feature-list p {
  margin-top: 10px;
  color: var(--muted);
}

.price-card {
  padding: 26px;
  box-shadow: 0 10px 30px rgba(22, 36, 62, 0.05);
}

.price-card.featured {
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow: var(--shadow);
}

.price {
  margin-top: 16px;
  color: var(--text) !important;
  font-size: 1.7rem;
  font-weight: 850;
}

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

.price-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.center-action {
  margin-top: 28px;
  text-align: center;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-list article {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
}

.cta-section {
  padding-top: 70px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.cta-box p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 12px;
  color: var(--muted);
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 430px;
  margin-top: 12px;
  color: var(--muted);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-grid nav a {
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .qa-grid,
  .card-grid.four,
  .card-grid.five,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 64px;
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    position: static;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 54px 0;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .tool-panel,
  .cta-box {
    padding: 20px;
  }

  .form-row,
  .qa-grid,
  .card-grid.four,
  .card-grid.five,
  .pricing-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .cta-box,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
