:root {
  --paper: #f0f2f5;
  --paper-2: #e4e7ec;
  --ink: #1a1d23;
  --ink-soft: #3a4150;
  --muted: #545c68;
  --line: #cfd4dc;
  --card: #ffffff;
  --ember: #3b6fd8;
  --ember-hover: #2f5bb8;
  --focus: #3b6fd8;
  --error: #b42318;
  --ok: #1d5a38;
  --radius: 6px;
  --max: 68rem;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--ember);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ember-hover);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.bar,
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.mark:hover {
  color: var(--ink);
}

.mark-glyph {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--ember);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.mark-short {
  display: none;
}

.mark-full {
  display: inline;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  justify-content: flex-end;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.25rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

nav a:hover {
  color: var(--ember);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--ember-hover);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 1.1rem;
  max-width: none;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  text-wrap: balance;
}

h2 {
  margin: 0 0 0.85rem;
  max-width: none;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  text-wrap: balance;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.lead,
.section-lead {
  max-width: 42rem;
  color: var(--ink-soft);
}

.lead {
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
}

.hero-note,
.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--ember);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--ember-hover);
  color: #ffffff;
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--paper-2);
}

.cards,
.outcomes,
.steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card,
.outcomes li,
.steps li {
  padding: 1.25rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card p,
.outcomes p,
.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.outcomes {
  grid-template-columns: 1fr;
}

h3.outcome-stat {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  counter-reset: step;
}

.steps h3::before {
  counter-increment: step;
  content: "0" counter(step) "  ";
  color: var(--ember);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}


.steps li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.step-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 1.1rem;
  min-height: 12rem;
}

.step-svg {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  max-width: 15rem;
}


.contact-grid {
  display: grid;
  gap: 2rem;
}

.form {
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:user-invalid,
textarea:user-invalid,
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--error);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--error);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.4em;
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.form-status.is-ok {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--error);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.75rem;
  padding-bottom: calc(1.75rem + env(safe-area-inset-bottom));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 800px) {
  .hero {
    padding-top: 5.5rem;
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-bar {
    min-height: 3rem;
  }
}

@media (max-width: 720px) {
  .bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 0;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .mark-full {
    display: none;
  }

  .mark-short {
    display: inline;
  }

  .section {
    padding: 2.25rem 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 400px) {
  .eyebrow {
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
  }
}

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


img.step-svg {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  border-radius: 8px;
  background: transparent;
}


.hero-role {
  margin: 1rem 0 0.35rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.prose {
  max-width: 46rem;
}

.prose > p {
  color: var(--ink-soft);
}

.prose-list {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.prose-list li {
  margin-bottom: 0.65rem;
}

.prose-list li::marker {
  color: var(--ember);
}

.outcomes-close {
  margin-top: 1.5rem;
}

.footer-copy {
  display: grid;
  gap: 0.25rem;
}

.footer-copy p:first-child {
  color: var(--ink-soft);
  font-weight: 600;
}

@media (max-width: 960px) {
  nav {
    gap: 0.25rem 0.65rem;
  }

  nav a {
    font-size: 0.85rem;
    min-height: 40px;
    padding: 0.35rem 0.2rem;
  }
}
