:root {
  --ink: #17313E; --muted: #4A5D67; --line: #DDE4E7; --soft: #F5F9FA;
  --coral: #F04E23; --coral-dark: #C93A12; --green: #00B289; --green-dark: #00614F;
  --mint: #E6F7F2; --peach: #FEEDE7; --err: #B42318;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; color: var(--ink); font-family: 'Nunito Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--coral-dark); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #EAEFF1; }
.top-in { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top img { width: 112px; height: 44px; object-fit: contain; object-position: left center; display: block; }
.top .switch { font-size: 14.5px; font-weight: 800; color: var(--ink); background: #F3F6F7; padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.top .switch:hover { background: var(--ink); color: #fff; }

.page { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 24px clamp(56px, 8vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.intro { position: sticky; top: 110px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.intro h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 20px; }
.intro .lede { font-size: 18px; line-height: 1.6; color: var(--muted); margin-bottom: 28px; max-width: 46ch; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: #2E4450; }
.points li::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; background: var(--dot, var(--coral)); }

.card { background: var(--soft); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; grid-column: span 2; }
.field.kind-text, .field.kind-email, .field.kind-phone, .field.kind-url, .field.kind-select { grid-column: span 1; }
@media (max-width: 560px) { .field { grid-column: span 2 !important; } }
.lbl { font-size: 14.5px; font-weight: 800; }
.req { color: var(--coral-dark); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=password], select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,49,62,0.12); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.check:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.check input { accent-color: var(--coral); margin: 0; }
.check.other { flex-wrap: wrap; }
.check .other-text { width: 160px; padding: 6px 10px; font-size: 14px; border-radius: 8px; }
.check.single { border-radius: 12px; }
.file-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1.5px dashed #B8C6CD; border-radius: 14px; padding: 14px; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-btn { background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 800; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.file-input:focus-visible + .file-btn { outline: 3px solid rgba(240,78,35,0.4); outline-offset: 2px; }
.file-name { font-size: 14.5px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.help { font-size: 13.5px; color: var(--muted); }
.err { font-size: 13.5px; font-weight: 700; color: var(--err); min-height: 0; }
.err:empty { display: none; }
.form-err { margin-top: 18px; }
.actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.actions [hidden] { display: none; }
.btn { font: inherit; font-size: 16px; font-weight: 800; border: 0; border-radius: 999px; padding: 15px 28px; cursor: pointer; }
.btn.primary { background: var(--btn, var(--coral)); color: var(--btn-ink, #fff); }
.btn.primary:hover { background: var(--btn-hover, var(--coral-dark)); color: #fff; }
.btn.primary:disabled { opacity: .6; cursor: progress; }
.btn.ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); padding: 13px 26px; }
.step-name { font-size: 14px; font-weight: 800; color: var(--muted); margin-bottom: 16px; }
.thanks { text-align: center; padding: 32px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; outline: none; }
.thanks p { font-size: 19px; line-height: 1.55; font-weight: 700; max-width: 40ch; }
.thanks-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 30px; font-weight: 900; display: grid; place-items: center; }
.skeleton { display: grid; gap: 16px; }
.sk-line { height: 48px; border-radius: 12px; background: linear-gradient(90deg, #EAEFF1, #F5F8F9, #EAEFF1); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.closed { font-size: 17px; color: var(--muted); }
footer { background: var(--soft); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 28px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }
.foot-in a { color: var(--muted); }
@media (max-width: 820px) { .intro { position: static; } }
