:root {
  --ink: #16181d;
  --muted: #5b616e;
  --line: #e3e5ea;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --accent: #0b6b4f;
  --accent-ink: #ffffff;
  --warn: #9a3b00;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #eef0f3; --muted: #a6acb8; --line: #2c3038; --bg: #121418; --soft: #1a1d23; --accent: #39b98c; --accent-ink: #0b1210; --warn: #ffb27a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 12px 0 16px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.brand { font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand img { border-radius: 7px; }
.price { margin: 18px 0 0; font-weight: 600; }
form { margin-top: 28px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 18px; min-inline-size: 0; }
legend { font-weight: 600; padding: 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 8px 14px; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.35; cursor: pointer; }
label.check input { margin-top: 3px; }
.field { display: block; margin: 0 0 14px; }
.field span { display: block; font-weight: 600; margin-bottom: 6px; }
input[type=email], input[type=text], select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.grades { display: flex; flex-wrap: wrap; gap: 8px; }
.grades select { width: auto; }
.hint { font-size: 14px; color: var(--muted); }
button, .button { display: inline-block; font: inherit; font-weight: 600; border: 0; border-radius: 8px; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; }
button.quiet { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
button:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: 8px; background: var(--soft); }
.msg.err { color: var(--warn); }
.tenders { list-style: none; padding: 0; margin: 12px 0 0; }
.tenders li { padding: 12px 0; border-top: 1px solid var(--line); }
.tenders .no { font-weight: 600; }
.tenders .meta { font-size: 14px; color: var(--muted); }
footer { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer a { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
