:root {
  --sea: #1f6f8b; --sea-d: #175a71; --terra: #c8553d; --sand: #fbf6ef; --card: #ffffff;
  --ink: #1d2a33; --muted: #5b6b75; --line: #e4dccf; --chip: #f2ebe0; --ok: #2e7d4f; --err: #b3261e; --on-sea: #fff; --on-terra: #fff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sea: #5fb3cf; --sea-d: #7cc4dc; --terra: #e57d63; --sand: #12191e; --card: #1b252c;
    --ink: #e8edf0; --muted: #9fb0ba; --line: #2c3a43; --chip: #24323b; --ok: #6fcf97; --err: #ff8a80; --on-sea: #0d1a20; --on-terra: #1a0f0b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sea: #5fb3cf; --sea-d: #7cc4dc; --terra: #e57d63; --sand: #12191e; --card: #1b252c;
  --ink: #e8edf0; --muted: #9fb0ba; --line: #2c3a43; --chip: #24323b; --ok: #6fcf97; --err: #ff8a80; --on-sea: #0d1a20; --on-terra: #1a0f0b;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--sea); }
main, .top, .foot { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.top { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 6px; }
.logo { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 24px; letter-spacing: -.5px; }
.lang select { font: inherit; font-size: 15px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }

.hero { padding: 28px 0 8px; }
.tag { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 99px; background: var(--chip); color: var(--terra); font-weight: 600; font-size: 14px; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.5px; }
h2 { font-size: 23px; margin: 0 0 14px; }
.sub { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--terra); color: var(--on-terra); font: inherit; font-weight: 700; padding: 14px 22px; border-radius: 14px;
  min-height: 48px;
}
.btn:hover { filter: brightness(1.06); }
.btn.alt { background: var(--sea); color: var(--on-sea); }
.btn[disabled] { opacity: .6; cursor: wait; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.trust li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

section { margin: 36px 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 60px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--sea); color: var(--on-sea); font-weight: 700; display: grid; place-items: center; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 15px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps li { padding: 54px 16px 16px; } .steps li::before { top: 14px; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.grid button {
  font: inherit; font-size: 15px; text-align: left; cursor: pointer; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-height: 56px;
  display: flex; align-items: center; gap: 8px;
}
.grid button:hover { border-color: var(--sea); }
.grid .ic { font-size: 22px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 16px; }
@media (min-width: 600px) { .card { padding: 26px; } }
.muted { color: var(--muted); margin-top: -6px; }
form label, form fieldset { display: block; margin: 0 0 14px; border: 0; padding: 0; }
form label > span, legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--sand); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; min-height: 48px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; }
.seg, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .chips label { margin: 0; }
.seg input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span, .chips span {
  display: inline-block; font-weight: 500 !important; font-size: 15px; margin: 0 !important; cursor: pointer;
  padding: 9px 14px; border-radius: 99px; background: var(--chip); border: 1px solid transparent;
}
.seg input:checked + span, .chips input:checked + span { background: var(--sea); color: var(--on-sea); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--sea); }
.check span { font-weight: 400 !important; font-size: 14px !important; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.err { color: var(--err); font-weight: 600; min-height: 1em; margin: 0 0 10px; }
.done h3 { color: var(--ok); margin-top: 0; }
form .btn { width: 100%; }

.pro { background: var(--chip); border-radius: 20px; padding: 22px 16px; }
.pro > p { color: var(--muted); }
.pro .card { margin-top: 16px; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.foot { padding-top: 10px; padding-bottom: 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

.doc h1 { font-size: 30px; }
.doc h2 { font-size: 19px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc section { margin: 0; }
