:root {
  --graphite: #20242a;
  --muted: #5d6673;
  --green: #1e8e5a;
  --green-dark: #176d46;
  --blue: #2d6cdf;
  --line: #d8dee8;
  --soft: #f7f8fa;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(31, 42, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px min(40px, 4vw);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 222, 232, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.section {
  padding: 84px 0;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 92% 18%, rgba(45, 108, 223, 0.09), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 36%, rgba(255, 255, 255, 0.72) 54%, rgba(255, 255, 255, 0.18) 74%),
    url("assets/hero-main.png") right center / auto 100% no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  align-items: center;
  gap: 28px;
  width: min(1120px, calc(100% - 40px));
  min-height: 620px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 24px 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--green-dark);
  background: rgba(30, 142, 90, 0.1);
  border: 1px solid rgba(30, 142, 90, 0.18);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.section-kicker {
  min-height: auto;
  padding: 0 0 0 14px;
  color: var(--green-dark);
  background: transparent;
  border: 0;
  border-left: 4px solid var(--green);
  border-radius: 0;
  font-size: 16px;
}

.section-kicker.dark {
  color: #bfe6ce;
  border-left-color: #62c58d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 24px rgba(30, 142, 90, 0.18);
}

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

.button-secondary {
  color: var(--graphite);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: rgba(30, 142, 90, 0.35);
}

.trust-line {
  max-width: 540px;
  color: #6c7582;
  font-size: 14px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: #365242;
  background: rgba(30, 142, 90, 0.08);
  border: 1px solid rgba(30, 142, 90, 0.15);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  display: none;
}

.hero-visual img {
  width: 100%;
  filter: saturate(1.05) contrast(1.04);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.left-heading {
  margin: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 16px 0 14px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.audience-section,
.difference-section,
.check-section,
.pricing-section,
.final-cta {
  background: var(--soft);
}

.market-section,
.example-section,
.how-section,
.result-section,
.faq-section {
  background: var(--white);
}

.pain-grid,
.pricing-grid,
.steps {
  display: grid;
  gap: 18px;
}

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

.pain-card,
.step-card,
.price-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(216, 222, 232, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(31, 42, 55, 0.05);
}

.pain-card h3,
.step-card h3,
.price-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.pain-card p,
.step-card p,
.price-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 54px;
}

.comparison {
  display: grid;
  gap: 14px;
}

.compare-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.compare-item span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.before span {
  color: #355b86;
  background: #e8f1ff;
}

.after span {
  color: var(--green-dark);
  background: rgba(30, 142, 90, 0.12);
}

.compare-item p {
  margin: 0;
  font-size: 20px;
}

.compare-arrow {
  width: 2px;
  height: 28px;
  margin-left: 28px;
  background: var(--line);
  position: relative;
}

.compare-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
}

.result-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
  padding: 38px;
  background: #203129;
  border-radius: 8px;
  color: var(--white);
}

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

.difference-list article {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid rgba(216, 222, 232, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(31, 42, 55, 0.05);
}

.difference-list h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.difference-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.check-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(216, 222, 232, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(31, 42, 55, 0.05);
}

.check-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.check-grid p {
  margin: 0;
  color: var(--muted);
}

.market-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(216, 222, 232, 0.9);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%);
  box-shadow: 0 14px 40px rgba(31, 42, 55, 0.06);
}

.market-copy h2 {
  margin: 16px 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.market-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.market-points {
  display: grid;
  gap: 12px;
}

.market-points div {
  padding: 18px;
  border: 1px solid rgba(216, 222, 232, 0.9);
  border-radius: 8px;
  background: var(--white);
}

.market-points strong,
.market-points span {
  display: block;
}

.market-points strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.market-points span {
  color: var(--muted);
}

.result-band .eyebrow {
  color: #bfe6ce;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.result-band h2 {
  margin: 18px 0 0;
  font-size: 34px;
  line-height: 1.15;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.86);
}

.result-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card .button {
  margin-top: auto;
}

.featured {
  border-color: rgba(30, 142, 90, 0.45);
  box-shadow: 0 20px 50px rgba(30, 142, 90, 0.12);
}

.label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--green-dark);
  background: rgba(30, 142, 90, 0.1);
  font-weight: 800;
  font-size: 13px;
}

.price {
  font-size: 32px;
  font-weight: 900;
}

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

details {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.final-cta-inner {
  max-width: 760px;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1.15;
}

.final-cta p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-logo {
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  background: var(--soft);
}

.legal-main {
  padding: 70px 0;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-card h1 {
  font-size: 40px;
}

.legal-card h2 {
  margin-top: 30px;
  font-size: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 250, 0.92) 100%);
  }

  .hero-grid,
  .split-grid,
  .faq-grid,
  .market-panel,
  .result-band {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 44px;
  }

  .hero-visual {
    display: block;
    min-height: auto;
    order: 2;
    margin-top: 26px;
    overflow: hidden;
    border-radius: 8px;
  }

  .hero-visual img {
    width: min(100%, 720px);
    margin: 0 auto;
    border-radius: 8px;
  }

  .pain-grid,
  .check-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-header {
    padding: 14px;
  }

  .brand {
    font-size: 18px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section {
    padding: 58px 0;
  }

  .hero-grid {
    gap: 0;
    min-height: auto;
  }

  h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .pain-grid,
  .check-grid,
  .steps,
  .pricing-grid,
  .result-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 18px;
  }

  .hero-visual img {
    width: 100%;
  }

  .result-band,
  .legal-card {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }

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