@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap");
:root { --ink: #151515; --paper: #f3f2ef; --card: #fbfbf9; --line: #dcdbd6; --dim: #6c6c66; --lav: #b3b0f6; --acc: #5853c4; --ok: #1f8a4c; --warn: #b4531a; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Inter Tight", system-ui, sans-serif; font-size: 17px; line-height: 1.5; }
.wrap { max-width: 860px; margin: 0 auto; padding: 32px 16px 80px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
header.top img { height: 34px; }
header.top span { font-size: 14px; color: var(--dim); }
h1 { font-size: 40px; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 8px; font-weight: 600; }
h2 { font-size: 22px; letter-spacing: -.015em; margin: 32px 0 12px; font-weight: 600; }
p.lead { color: var(--dim); margin: 0 0 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } h1 { font-size: 32px; } }
label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.field { margin-bottom: 14px; }
.hint { font-size: 13px; color: var(--dim); margin-top: 4px; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; padding: 13px 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none; }
button.lav { background: var(--lav); color: var(--ink); }
button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button:disabled { opacity: .5; cursor: not-allowed; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.total td { font-weight: 700; border-bottom: 0; }
.big { font-size: 46px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.lavtext { color: var(--lav); }
.err { color: #b42318; font-weight: 600; margin-top: 10px; }
.warn { background: #fdf1e7; color: var(--warn); border-radius: 12px; padding: 10px 14px; font-size: 15px; margin: 10px 0; }
.okbox { background: #e5f4e4; color: var(--ok); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.terms { font-size: 15px; color: #33332f; }
.terms ol { padding-left: 20px; } .terms li { margin-bottom: 8px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.item-row { display: grid; grid-template-columns: 1fr 110px 110px 70px 36px; gap: 8px; margin-bottom: 8px; align-items: center; }
.item-row button { padding: 8px; border-radius: 10px; background: transparent; color: var(--dim); border: 1px solid var(--line); }
@media (max-width: 640px) { .item-row { grid-template-columns: 1fr 1fr; } .item-row input:first-child { grid-column: span 2; } }
.out textarea { min-height: 120px; font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.muted { color: var(--dim); font-size: 14px; }
footer { margin-top: 40px; font-size: 13px; color: var(--dim); }
