:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5f6878;
  --paper: #f8f6f1;
  --surface: #ffffff;
  --accent: #075a5a;
  --accent-dark: #034242;
  --highlight: #e3b341;
  --line: #d8d5cd;
  --shadow: 0 22px 55px rgba(20, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-160%);
  background: white;
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

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

.brand > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--accent);
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  min-height: 68vh;
  padding-block: 72px 96px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-row > span {
  color: var(--muted);
  font-size: 0.85rem;
}

.primary-cta,
.secondary-cta {
  display: inline-block;
  padding: 15px 24px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-cta {
  background: var(--accent);
  color: white;
}

.secondary-cta {
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  background: white;
}

.primary-cta:hover,
.primary-cta:focus-visible,
.secondary-cta:hover,
.secondary-cta:focus-visible {
  transform: translateY(-2px);
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: var(--accent-dark);
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  background: rgba(7, 90, 90, 0.06);
}

.primary-cta[aria-disabled="true"],
.secondary-cta[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.cta-note {
  max-width: 500px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.checklist-card {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.checklist-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 7px;
  background: var(--highlight);
  content: "";
}

.checklist-card ul {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.checklist-card li {
  position: relative;
  padding-left: 30px;
}

.checklist-card li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
  content: "✓";
}

.card-foot {
  margin: 24px 0 0;
  font-size: 0.9rem;
}

.card-foot a {
  color: var(--accent-dark);
  font-weight: 800;
}

.funnel-steps {
  padding-block: 88px;
  border-top: 1px solid var(--line);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps-grid li {
  padding: 28px 24px;
  background: var(--surface);
  border-top: 4px solid var(--accent);
}

.steps-grid li > span {
  display: block;
  margin-bottom: 16px;
  color: var(--highlight);
  font-size: 1.6rem;
  font-weight: 900;
}

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

.fit {
  padding-block: 96px;
  border-top: 1px solid var(--line);
}

.fit > h2 {
  max-width: 720px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.fit-grid article {
  padding-top: 20px;
  border-top: 4px solid var(--accent);
}

.task-before-tool {
  padding-block: 88px;
  border-top: 1px solid var(--line);
}

.task-before-tool p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 760px;
}

.guide-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding: clamp(36px, 7vw, 72px);
  margin-block: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.guide-teaser p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.fit-grid p,
.final-cta p,
footer,
.guide-teaser p {
  color: var(--muted);
}

.final-cta {
  margin-block: 32px 96px;
  padding: clamp(36px, 7vw, 72px);
  background: var(--ink);
  color: white;
  text-align: center;
}

.final-cta p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: #d7dce4;
}

.final-cta .primary-cta {
  background: var(--highlight);
  color: var(--ink);
}

.legal-page {
  max-width: 760px;
  padding-block: 56px 96px;
}

.legal-page section {
  margin-top: 40px;
}

.legal-page h2 {
  font-size: 1.5rem;
}

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

footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

footer nav {
  display: flex;
  gap: 18px;
}

footer nav a {
  font-weight: 700;
  text-decoration: none;
}

.copyright {
  margin: 16px 0 0;
}

.configuration-notice {
  color: #8b3a20;
  font-weight: 700;
}

.sticky-cta {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(20, 32, 51, 0.96);
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sticky-cta p {
  margin: 0;
  font-weight: 700;
}

.sticky-cta .primary-cta {
  padding: 12px 18px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero,
  .fit-grid,
  .steps-grid,
  .guide-teaser {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-block: 48px 72px;
  }

  .site-header span,
  .site-nav {
    display: none;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-cta,
  .secondary-cta {
    transition: none;
  }
}
