:root {
  --ink: #0b1f33; --ink-2: #3d5166; --muted: #6b7c8f; --line: #e3e8ee;
  --bg: #ffffff; --bg-soft: #f5f7fa; --accent: #0e8f63; --accent-ink: #ffffff;
  --accent-soft: #e6f5ef; --leak: #d9482b; --leak-soft: #fdece8; --radius: 14px; --maxw: 760px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--accent); }
img, svg { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; max-width: 1080px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
@media (max-width: 520px) { .nav { display: none; } }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; padding: 12px 22px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(0.94); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: var(--leak); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }

.scan { padding: 36px 16px 56px; }
.plain { padding: 48px 16px 64px; min-height: 50vh; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin: 0; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 14px 0 12px; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 22px; }
.notice { background: var(--leak-soft); color: var(--ink); border-radius: 10px; padding: 10px 14px; }

.phone { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 28px; }
.phone h2 { font-size: 17px; margin: 0 0 4px; }
.phone p { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.row input { flex: 1 1 220px; }

.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; margin: 0 0 18px; background: #fff; }
.step h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 1.3; margin: 0 0 12px; }
.step h2 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.n { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; }
.steps { margin: 0 0 10px; padding-left: 22px; }
.steps li { margin: 6px 0; }
.fine { font-size: 14px; color: var(--muted); margin: 10px 0 0; }

label { display: block; font-size: 15px; font-weight: 600; margin: 12px 0 4px; }
label small { font-weight: 400; color: var(--muted); }
.sub { font-weight: 600; }
input[type=text], input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #c9d2dc; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, .btn:focus, .linkish:focus, .chip input:focus + span { outline: 3px solid rgba(14, 143, 99, 0.35); outline-offset: 2px; }
input[aria-invalid=true] { border-color: var(--leak); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.grid label { margin-top: 10px; }

fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-size: 15px; font-weight: 600; padding: 0; margin: 0 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; font-weight: 500; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid #c9d2dc; border-radius: 999px; cursor: pointer; font-size: 15px; background: #fff; }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); font-weight: 600; }

.drop { display: block; position: relative; border: 2px dashed #b7c3cf; border-radius: var(--radius); padding: 28px 16px; text-align: center; cursor: pointer; background: var(--bg-soft); font-weight: 500; margin: 0; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop.has-file { border-style: solid; border-color: var(--accent); background: var(--accent-soft); }
.drop-text { display: block; }

.status { min-height: 1.2em; font-size: 15px; margin: 10px 0 0; color: var(--ink-2); }
.status.bad { color: var(--leak); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#send { margin-top: 14px; }

.done { border: 2px solid var(--accent); border-radius: var(--radius); padding: 22px 20px; background: var(--accent-soft); }
.done h2 { margin: 0 0 8px; font-size: 22px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; max-width: 1080px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer .address, .site-footer .disclaimer { flex-basis: 100%; font-size: 13px; margin: 0; }
