:root {
  --bg: #0d1715;
  --bg-panel: #14211f;
  --bg-panel-soft: #1b2a28;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eff7f3;
  --muted: rgba(239, 247, 243, 0.72);
  --green: #30d16f;
  --green-soft: #95f0b9;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  --radius: 20px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(48, 209, 111, 0.14), transparent 26%),
    linear-gradient(180deg, #223633 0 74px, var(--bg) 74px 100%);
  color: var(--text);
  line-height: 1.5;
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(33, 49, 46, 0.9);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-low {
  color: #fff;
}

.brand-green {
  color: var(--green);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-end;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.hero {
  padding: 48px 0 40px;
  background: linear-gradient(90deg, rgba(15, 31, 34, 0.93), rgba(15, 46, 31, 0.9));
}

.hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
}

.hero-copy {
  padding: 24px 0 12px;
}

.eyebrow {
  display: inline-flex;
  padding: 12px 18px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--green);
  font-weight: 800;
}

.hero h1,
.section-heading h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.hero p,
.section-heading p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions,
.search-actions,
.submit-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.hero-card,
.panel,
.feature-card,
.search-shell,
.result-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 24px;
}

.hero-card-title {
  margin-bottom: 18px;
  color: var(--green-soft);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card-list,
.stack-list {
  display: grid;
  gap: 12px;
}

.mini-row,
.list-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.list-row small,
.mini-row small {
  display: block;
  color: var(--muted);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--green);
  color: #062313;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid var(--line);
}

.section {
  padding: 40px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.02);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.search-shell,
.submit-form {
  padding: 22px;
}

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.field span {
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(48, 209, 111, 0.12);
  color: var(--green-soft);
  font-weight: 800;
}

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

.results-grid,
.feature-grid,
.dashboard-grid,
.content-ad-grid,
.form-layout,
.editorial-grid,
.insight-grid,
.faq-layout,
.trust-strip {
  display: grid;
  gap: 20px;
}

.results-grid {
  margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.result-card {
  padding: 18px;
}

.result-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.result-meta {
  color: var(--muted);
  margin: 4px 0;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.price-tag {
  color: var(--green-soft);
  font-size: 1.5rem;
  font-weight: 900;
}

.empty-state,
.alert-placeholder,
.form-message {
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--line);
}

.hidden {
  display: none;
}

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

.feature-card,
.panel {
  padding: 24px;
}

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

.article-card h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

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

.article-kicker {
  color: var(--green-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.insight-card,
.trust-card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.insight-card h3 {
  margin: 0 0 12px;
}

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

.content-ad-grid {
  grid-template-columns: 1.2fr 320px;
  align-items: start;
}

.ad-slot {
  padding-top: 18px;
}

.ad-inner,
.ad-side {
  display: grid;
  gap: 10px;
}

.ad-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.ad-box {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: #171717;
  color: rgba(255, 255, 255, 0.62);
}

.ad-box-banner {
  min-height: 120px;
}

.ad-box-rectangle {
  min-height: 280px;
}

.sticky-ad {
  position: sticky;
  bottom: 0;
  z-index: 19;
  display: none;
  gap: 8px;
  padding: 10px 16px 14px;
  background: rgba(9, 13, 12, 0.96);
  border-top: 1px solid var(--line);
}

.ad-box-sticky {
  min-height: 74px;
}

.dashboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

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

.form-layout {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.info-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.info-list li + li {
  margin-top: 12px;
}

.faq-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

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

.faq-item {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

.trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-card {
  display: grid;
  gap: 6px;
}

.trust-card strong {
  font-size: 1.05rem;
}

.trust-card span {
  color: var(--muted);
}

.legal-copy h1,
.legal-copy h2 {
  letter-spacing: -0.04em;
}

.legal-copy h2 {
  margin-top: 28px;
}

.legal-copy p {
  color: var(--muted);
}

.hidden-input {
  position: absolute;
  left: -9999px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 110px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 980px) {
  .hero-grid,
  .content-ad-grid,
  .dashboard-grid,
  .dashboard-grid-secondary,
  .form-layout,
  .editorial-grid,
  .insight-grid,
  .faq-layout,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .sticky-ad {
    display: grid;
  }
}

@media (max-width: 720px) {
  body {
    background: linear-gradient(180deg, #223633 0 130px, var(--bg) 130px 100%);
  }

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

  .main-nav {
    gap: 16px;
  }

  .hero {
    padding-top: 26px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .footer-row {
    flex-direction: column;
    padding-bottom: 132px;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .search-actions,
  .submit-tools {
    display: grid;
  }
}
