:root {
  --brand: #0f766e;
  --brand-dark: #0b5a54;
  --accent: #f4b740;
  --tint: #e6f4f1;
  --ink: #12302d;
  --muted: #4b6460;
  --bg: #ffffff;
  --line: #d6e4e1;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--brand); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--brand); text-decoration: none; }
.links { display: flex; align-items: center; gap: 22px; }
.links a { text-decoration: none; color: var(--ink); font-weight: 500; }
.links a:hover { color: var(--brand); }
.links a.btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border: 2px solid var(--brand);
  background: var(--brand); color: #fff; font: inherit; font-weight: 600;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.btn-small { padding: 8px 16px; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--tint); color: var(--brand-dark); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint), #fff); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--brand); margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .95rem; }
.trust li::before { content: "✓ "; color: var(--brand); font-weight: 700; }
.hero-art { max-width: 340px; margin-inline: auto; }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.section-sub + .cards { margin-top: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card ul { padding-left: 18px; margin: 12px 0 0; color: var(--muted); }
.card li + li { margin-top: 6px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--brand-dark); margin-bottom: 10px; }
.tag-alt { background: #fdf0d0; color: #7a5600; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; }
.steps p { margin: 0; color: var(--muted); }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 32px; }
.features p { margin: 0; color: var(--muted); }

/* Sign-up */
.section-brand { background: var(--brand); color: #fff; }
.section-brand h2 { color: #fff; }
.signup-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.signup-copy p { color: #d3ece8; font-size: 1.1rem; }
.check { list-style: none; padding: 0; margin: 24px 0 0; }
.check li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.req { color: #b42318; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
.invalid { border-color: #b42318 !important; }
.err { color: #b42318; font-size: .85rem; margin: 4px 0 0; min-height: 0; }
.err:empty { display: none; }
.choice { display: flex; gap: 12px; }
.choice label { flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 500; cursor: pointer; margin: 0; }
.choice label:has(input:checked) { border-color: var(--brand); background: var(--tint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.status { margin: 12px 0 0; font-weight: 600; }
.status.ok { color: var(--brand-dark); background: var(--tint); padding: 12px 14px; border-radius: 10px; }
.status.fail { color: #b42318; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.footer { background: #0c2623; color: #bcd5d1; padding: 36px 0; text-align: center; }
.footer a { color: #fff; }
.footer p { margin: 4px 0; }
.small { font-size: .85rem; opacity: .8; }

/* Responsive */
@media (max-width: 820px) {
  .hero-grid, .signup-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 240px; order: -1; }
  .links a:not(.btn) { display: none; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
