@font-face { font-family: "Noto Sans"; src: url("/fonts/NotoSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/fonts/NotoSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --pine: #164d3a; --cream: #f7f5ef; --white: #fff; --graphite: #202a25; --soft: #dcece3;
  --muted: #55605a; --line: #e0ded6; --field: #8a9089; --red: #9b3028; --soft-red: #fbe8e6;
  --control: 12px; --card: 16px; --panel: 24px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--graphite); font: 16px/24px "Noto Sans", system-ui, sans-serif; }
a { color: var(--pine); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
[hidden] { display: none !important; }

.bar, main, footer { width: min(100% - 32px, 960px); margin-inline: auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; text-decoration: none; }
.bar-link { font-weight: 700; padding: 10px 0; }

.hero { padding: 40px 24px; border-radius: var(--panel); background: var(--soft); display: grid; gap: 16px; justify-items: start; }
h1 { margin: 0; max-width: 18ch; color: var(--pine); font-size: clamp(28px, 6vw, 44px); line-height: 1.2; text-wrap: balance; }
h2 { margin: 0 0 16px; font-size: 24px; line-height: 32px; }
h3 { margin: 0; font-size: 18px; }
.lead { margin: 0; max-width: 56ch; }
section + section { margin-top: 48px; }

@media (min-width: 840px) {
  .hero { padding: 64px 48px; padding-right: 380px; background: var(--soft) url("/assets/mark.svg") no-repeat right 56px center / 280px; }
}

.free { padding: 48px 24px; border-radius: var(--panel); background: var(--pine); color: var(--white); text-align: center; }
.free h2 { margin: 0 0 12px; font-size: clamp(28px, 5vw, 40px); line-height: 1.2; text-wrap: balance; }
.free p { max-width: 44ch; margin: 0 auto; font-size: 18px; line-height: 28px; text-wrap: balance; }

.button { display: inline-block; min-height: 52px; padding: 14px 24px; border: 0; border-radius: var(--control); background: var(--pine); color: var(--white); font: 700 16px/24px "Noto Sans", system-ui, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.button:disabled { opacity: .6; cursor: default; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--card); background: var(--white); display: grid; gap: 8px; align-content: start; }
.steps p { margin: 0; color: var(--muted); }
.number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--pine); font-weight: 700; }

.steps li { grid-template-rows: auto auto 1fr auto; }
.phone { width: min(100%, 240px); aspect-ratio: 1 / 2; margin: 16px auto 0; overflow: hidden; border: 6px solid var(--graphite); border-radius: 32px; background: var(--cream); box-sizing: content-box; }
.phone img { display: block; width: 100%; height: auto; }

.panel { padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--panel); background: var(--white); scroll-margin-top: 16px; }
.panel > * { max-width: 560px; margin-inline: auto; }
.panel > p { margin-block: 0 24px; color: var(--muted); }
form { display: grid; gap: 8px; }
label { font-weight: 700; margin-top: 8px; }
input, textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--field); border-radius: var(--control); background: var(--white); color: inherit; font: inherit; }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.error { margin: 0; color: var(--red); font-size: 14px; line-height: 20px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#challenge { margin-top: 8px; }
form .button { margin-top: 16px; }
.status { margin: 8px 0 0; padding: 12px 16px; border-radius: var(--control); background: var(--soft); overflow-wrap: anywhere; }
.status[data-tone="error"] { background: var(--soft-red); color: var(--red); }
.note { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 20px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 32px; color: var(--muted); font-size: 14px; }
footer a { overflow-wrap: anywhere; }
