
:root {
  --ink: #11201c;
  --body: #33413c;
  --muted: #66736e;
  --line: #dce5e1;
  --paper: #ffffff;
  --soft: #f5f8f5;
  --mint: #dff3e8;
  --teal: #0f766e;
  --green: #168653;
  --gold: #b9852a;
  --night: #10231f;
  --shadow: 0 18px 45px rgba(16, 35, 31, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 6vw, 5.6rem); max-width: 950px; }
h2 { font-size: clamp(1.75rem, 3vw, 3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 229, 225, 0.85);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img, .footer-brand img {
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.94rem;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--body);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  font: inherit;
}

.nav-button,
.button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.7);
}

.button.secondary:not(.light) {
  border-color: var(--line);
  background: var(--paper);
}

.button.full { width: 100%; }

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 40px));
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
}

.hero-compact {
  min-height: 500px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--paper));
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 24, 20, 0.78), rgba(9, 24, 20, 0.38) 48%, rgba(9, 24, 20, 0.05));
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 24, 20, 0.82), rgba(9, 24, 20, 0.48) 50%, rgba(9, 24, 20, 0.16));
  z-index: 1;
}

.home-hero {
  background: var(--night);
}

.home-hero .hero-bg {
  object-position: center 46%;
}

.home-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 24, 20, 0.82), rgba(9, 24, 20, 0.42) 45%, rgba(9, 24, 20, 0.08)),
    linear-gradient(0deg, rgba(9, 24, 20, 0.28), rgba(9, 24, 20, 0));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 120px;
  color: #fff;
}

.hero-content h1,
.hero-content p,
.hero-content .eyebrow {
  color: #fff;
}

.hero-content > p:not(.eyebrow) {
  max-width: 690px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow,
.kicker,
.meta {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

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

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

.trust-strip {
  width: min(1160px, calc(100% - 40px));
  margin: -42px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { display: block; color: var(--ink); }
.trust-strip span { display: block; color: var(--muted); font-size: 0.94rem; }

.band {
  padding: 88px 0;
}

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

.section-header {
  max-width: 780px;
  margin: 0 0 34px;
}

.section-header p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.image-card,
.blog-card,
.price-card,
.feature-grid article,
.process-grid article,
.statement-grid article,
.info-panel,
.form-panel,
.article-aside,
.quiz-shell,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(17, 32, 28, 0.06);
}

.image-card,
.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.image-card img,
.blog-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card > div,
.blog-card > div {
  padding: 22px;
}

.text-link {
  color: var(--green);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.split-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.split-copy p {
  color: var(--body);
}

.check-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 24px;
}

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

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 2px;
  background: var(--gold);
}

.process-grid,
.feature-grid,
.statement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

.process-grid article,
.feature-grid article,
.statement-grid article {
  padding: 24px;
}

.process-grid span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.service-stack {
  display: grid;
  gap: 34px;
}

.service-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-row img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-copy h3 {
  margin-top: 24px;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 18px 20px;
  margin-bottom: 38px;
  background: var(--mint);
  border-color: #bee6cf;
}

.pricing-group {
  margin-top: 54px;
}

.pricing-group h2 {
  margin-bottom: 20px;
}

.price-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.price {
  margin: 18px 0 4px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.price span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

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

.page-title,
.article-hero {
  padding: 96px 0 34px;
  background: var(--soft);
}

.article-hero img {
  width: min(1160px, calc(100% - 40px));
  max-height: 520px;
  margin: 34px auto 0;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-meta {
  color: var(--muted);
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.article-body {
  font-size: 1.06rem;
}

.article-body h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-aside {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.article-nav {
  display: grid;
  gap: 10px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.blog-card .meta {
  color: var(--gold);
}

.blog-card h3 a {
  text-decoration: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.form-panel,
.info-panel {
  padding: 28px;
}

.form-panel {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 750;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

textarea { resize: vertical; }

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 750;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-lines p {
  margin: 0;
}

.contact-lines strong {
  display: block;
  color: var(--ink);
}

.legal-body {
  max-width: 900px;
}

.legal-body h2 {
  margin-top: 34px;
}

.legal-body h3 {
  margin-top: 24px;
}

.quiz-shell {
  padding: 28px;
}

.quiz-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.progress-bar {
  height: 10px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width 0.2s ease;
}

.quiz-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.quiz-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.quiz-option {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.quiz-option:hover,
.quiz-option[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--mint);
}

.quiz-option.correct {
  border-color: var(--green);
  background: #e3f7ec;
}

.quiz-option.wrong {
  border-color: #c35f4b;
  background: #fff0ed;
}

.quiz-feedback {
  min-height: 28px;
  margin: 16px 0 0;
  color: var(--body);
  font-weight: 700;
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.quiz-result {
  margin-top: 24px;
  padding: 24px;
  text-align: center;
  border: 1px solid #bee6cf;
  border-radius: var(--radius);
  background: var(--mint);
}

.quiz-result .score {
  margin: 8px 0;
  color: var(--green);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0;
  color: #fff;
  background: var(--night);
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: 0;
}

.cta-band .container {
  position: relative;
  z-index: 2;
}

.cta-band h2,
.cta-band p,
.cta-band .eyebrow {
  color: #fff;
}

.cta-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.78);
  padding: 58px 0 22px;
}

.site-footer h2,
.site-footer .footer-brand {
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.footer-bottom {
  width: min(1160px, calc(100% - 40px));
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; }
  .trust-strip,
  .card-grid.three,
  .process-grid,
  .feature-grid,
  .statement-grid,
  .service-row,
  .split-section,
  .contact-layout,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .trust-strip div:last-child { border-bottom: 0; }
  .service-row img,
  .split-media img {
    min-height: 320px;
  }
  .article-aside { position: static; }
}

@media (max-width: 640px) {
  .header-inner { width: min(100% - 24px, 1240px); }
  .container,
  .container.narrow,
  .split-section,
  .trust-strip,
  .footer-grid,
  .footer-bottom {
    width: min(1160px, calc(100% - 28px));
  }
  .hero {
    min-height: 620px;
  }
  .hero-compact {
    min-height: 460px;
  }
  .hero-content {
    padding: 96px 0 92px;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(9, 24, 20, 0.78), rgba(9, 24, 20, 0.72));
  }
  .band,
  .split-section {
    padding: 64px 0;
  }
  .button,
  .nav-button,
  .hero-actions .button,
  .quiz-controls .button {
    width: 100%;
  }
  .notice,
  .quiz-top,
  .quiz-controls,
  .footer-bottom {
    flex-direction: column;
  }
  .form-panel,
  .info-panel,
  .quiz-shell {
    padding: 20px;
  }
}
