:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1d2a2a;
  --muted: #5b6767;
  --line: #dcd8cf;
  --brand: #1f7a6b;
  --brand-ink: #ffffff;
  --brand-soft: #e2f1ec;
  --warn-soft: #fff4dc;
  --warn-line: #e9c46a;
  --host: #d08a2c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121817;
    --surface: #1a2221;
    --ink: #e8eeec;
    --muted: #9eaaa8;
    --line: #2e3a38;
    --brand: #4fbfa8;
    --brand-ink: #0d1a17;
    --brand-soft: #18322c;
    --warn-soft: #2b2617;
    --warn-line: #8a7230;
    --host: #e0a252;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 1.6rem; margin: 0 0 .6rem; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.wrap { max-width: 920px; margin: 0 auto; padding-inline: 16px; }
section { padding: 2.4rem 0; scroll-margin-top: 64px; }
.muted { color: var(--muted); }

.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.beta { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--brand-soft); color: var(--brand); padding: 2px 7px; border-radius: 99px; }
.toplinks { display: flex; align-items: center; gap: 16px; font-size: .95rem; }
.toplinks a:not(.btn) { color: var(--muted); text-decoration: none; }
@media (max-width: 620px) { .toplinks a:not(.btn) { display: none; } }

.btn { display: inline-block; border: 1.5px solid var(--brand); color: var(--brand); background: transparent; padding: .7rem 1.2rem; border-radius: 10px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--brand); color: var(--brand-ink); }
.btn.small { padding: .35rem .8rem; font-size: .9rem; }
.btn:disabled { opacity: .6; cursor: wait; }

.hero { padding-top: 3.2rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; max-width: 18ch; }
.lead { font-size: 1.2rem; max-width: 60ch; }
.notice { background: var(--brand-soft); border-radius: 10px; padding: .9rem 1rem; max-width: 64ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

.urgent { background: var(--warn-soft); border-block: 1px solid var(--warn-line); }
.urgent ul { padding-left: 1.2rem; margin: 0; }
.urgent li { margin: .45rem 0; }

.steps { padding-left: 1.3rem; }
.steps li { margin: .55rem 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 10px; overflow: hidden; font-size: .95rem; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .85rem; color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.demand { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.area { display: grid; grid-template-columns: minmax(110px, 200px) 1fr auto; align-items: center; gap: 12px; padding: .35rem 0; }
.area .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.area .bar { display: flex; height: 12px; background: var(--line); border-radius: 99px; overflow: hidden; }
.need { background: var(--brand); }
.host { background: var(--host); }
.area .nums { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.key { margin: .8rem 0 0; font-size: .85rem; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 8px; vertical-align: baseline; }
.sw.need { margin-left: 0; }
@media (max-width: 560px) { .area { grid-template-columns: 1fr auto; } .area .bar { grid-column: 1 / -1; grid-row: 2; } }

.join form { background: var(--surface); border: 1px solid var(--line); border-radius: 0 12px 12px 12px; padding: 1.2rem; }
.tabs { display: flex; gap: 4px; }
.tabs button { font: inherit; font-weight: 600; padding: .6rem 1rem; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--brand); }
fieldset { border: 0; padding: 0; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; margin-bottom: 12px; }
label { display: block; font-weight: 600; font-size: .95rem; }
label > input, label > select, label > textarea { display: block; margin-top: 4px; }
label.full { margin-bottom: 14px; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .7rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }
.msg { min-height: 1.4em; margin: .6rem 0 0; font-weight: 600; }
.msg.ok { background: var(--brand-soft); padding: .8rem 1rem; border-radius: 10px; font-weight: 400; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; margin: .5rem 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: .6rem 0 0; color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 1.6rem 0; font-size: .9rem; color: var(--muted); }
