:root {
  --bg: #f6f8f5; --card: #ffffff; --ink: #14231b; --muted: #55665c; --line: #dfe6e0;
  --green: #0f5132; --green-2: #198754; --sun: #f5b301; --good-bg: #e8f5ec; --mid-bg: #fff6dc; --bad-bg: #fdecea;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--green-2); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.sun { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245,179,1,.25); }
.toplink { font-size: 15px; }
.hero { padding: 28px 0 8px; }
.kicker { margin: 0 0 6px; color: var(--green-2); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 0 0 12px; }
h1 em { font-style: normal; color: var(--green-2); }
h2 { font-size: 20px; margin: 24px 0 10px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 14px; }
.trust { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 15px; }
.trust li::before { content: "✓ "; color: var(--green-2); font-weight: 700; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; margin: 16px 0; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
@media (min-width: 600px) { .card { padding: 28px; } }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg); padding: 4px; border-radius: 10px; margin-bottom: 16px; }
.tab { border: 0; background: transparent; padding: 10px 4px; min-height: 44px; border-radius: 8px; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; }
.tab.active { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.hint { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 2px dashed var(--line); border-radius: 12px; padding: 24px 12px; cursor: pointer; min-height: 120px; }
.drop:hover, .drop:focus-within { border-color: var(--green-2); background: var(--good-bg); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-txt strong { color: var(--green-2); }
.drop-sub { font-size: 14px; color: var(--muted); }
.status { min-height: 1.5em; font-size: 15px; margin: 10px 0 0; }
.status.busy { color: var(--muted); }
.status.ok { color: var(--green); }
.status.err, .error { color: #b02a37; }
.error { min-height: 1.2em; margin: 8px 0 0; font-size: 15px; }
label { display: block; font-weight: 600; font-size: 15px; }
.unit { font-weight: 400; color: var(--muted); font-size: 13px; display: block; }
input[type=number], input[type=email], input[type=tel], input:not([type]) {
  width: 100%; font: inherit; font-size: 16px; padding: 12px; margin-top: 6px; border: 1px solid #c6d1c9; border-radius: 10px; min-height: 48px; background: #fff;
}
input:focus { outline: 3px solid rgba(25,135,84,.3); border-color: var(--green-2); }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 18px 0 0; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.tlk label, .want label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin: 0 16px 8px 0; min-height: 44px; }
.want label { display: flex; margin-right: 0; }
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--green-2); flex: none; }
.btn { display: block; width: 100%; border: 0; border-radius: 10px; padding: 14px 18px; font: inherit; font-weight: 700; font-size: 17px; min-height: 52px; cursor: pointer; margin-top: 18px; }
.btn.primary { background: var(--green-2); color: #fff; }
.btn.primary:hover { background: var(--green); }
.btn:disabled { opacity: .6; cursor: wait; }
.result .big { font-size: clamp(22px, 5vw, 28px); line-height: 1.25; margin: 0 0 6px; }
.result .big strong { color: #b02a37; }
.range { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.advice { border-radius: 12px; padding: 14px 16px; }
.advice p { margin: 4px 0 0; }
.advice.good { background: var(--good-bg); }
.advice.mid { background: var(--mid-bg); }
.advice.bad { background: var(--bad-bg); }
.table-wrap { overflow-x: auto; }
table.bt { width: 100%; border-collapse: collapse; font-size: 15px; }
.bt th, .bt td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.bt th:first-child, .bt tbody th { text-align: left; font-weight: 400; color: var(--muted); }
.bt thead th { font-weight: 700; color: var(--ink); }
.tips { padding-left: 20px; margin: 0; }
.tips li { margin-bottom: 8px; }
.assumptions { margin-top: 18px; font-size: 14px; color: var(--muted); }
.assumptions summary, .faq summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.consent { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; }
.consent input { margin-top: 2px; }
.hp { position: absolute; left: -9999px; }
.small { font-size: 13px; color: var(--muted); }
.thanks h3 { margin-top: 0; color: var(--green); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq p { margin: 0 0 12px; color: var(--muted); }
.foot { padding: 24px 0 40px; font-size: 13px; color: var(--muted); }
