.home-body {
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(15, 74, 127, 0.18), transparent 60%),
    radial-gradient(900px 320px at 90% 0%, rgba(16, 185, 129, 0.14), transparent 58%),
    var(--bg);
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

body.theme-dark .public-header {
  background: rgba(21, 32, 44, 0.92);
}

.public-header .header-inner {
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.public-nav {
  display: flex;
  gap: 16px;
  font-weight: 600;
}

.nav-link {
  color: var(--muted);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 28px 84px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.pricing-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.hero-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--panel-shadow);
}

.hero-copy {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eyebrow {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 74, 127, 0.28);
  background: rgba(15, 74, 127, 0.1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(29px, 4.2vw, 44px);
  line-height: 1.1;
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.hero-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  font-size: 12px;
  color: var(--muted);
}

.hero-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(160deg, rgba(15, 74, 127, 0.15), var(--surface));
}

.hero-card h2 {
  margin: 0;
  font-size: 21px;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--accent), #10b981);
}

.inline-link {
  width: fit-content;
  font-weight: 700;
  color: var(--accent);
}

.section-block {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--panel-shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-title h2 {
  margin: 0;
  font-size: 28px;
}

.section-title p {
  margin-top: 8px;
}

.dimension-grid,
.workflow,
.faq-list {
  display: grid;
  gap: 12px;
}

.dimension-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dimension-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dimension-lead {
  width: fit-content;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 74, 127, 0.12);
}

.dimension-card h3 {
  margin: 0;
}

.dimension-card p {
  margin: 0;
  color: var(--muted);
}

.workflow {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.workflow-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-alt);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.workflow-index {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(130deg, var(--accent), #10b981);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.workflow-card h3,
.workflow-card p {
  margin: 0;
}

.workflow-card p {
  color: var(--muted);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-alt);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font: inherit;
  font-weight: 700;
  color: var(--text);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease;
}

.faq-answer {
  margin: 0;
  max-height: 0;
  padding: 0 16px;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding: 0 16px 16px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.cta {
  border-radius: 20px;
  border: 1px solid transparent;
  padding: 24px;
  background:
    linear-gradient(120deg, #0f4a7f, #0f766e 60%, #0b1025);
  color: #f9fcff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta .subtitle {
  color: rgba(245, 251, 255, 0.86);
}

.cta h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
}

.cta-copy {
  max-width: 680px;
}

.cta-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cta .btn-ghost {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f1722;
}

.cta .btn-ghost:hover {
  background: #e5eefb;
}

.footer {
  background: #0f1722;
  color: #d4dbe4;
  padding: 38px 28px;
  margin-top: 12px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer a {
  color: #d4dbe4;
  display: block;
  margin-top: 6px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

body.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.js-ready .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .public-nav {
    display: none;
  }

  .pricing-page {
    padding: 28px 18px 56px;
    gap: 24px;
  }

  .pricing-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-card,
  .section-block,
  .cta {
    border-radius: 16px;
    padding: 18px;
  }

  .section-title h2 {
    font-size: 24px;
  }
}
