@font-face {
  font-family: "Inter";
  src: url("/kvesty/assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #153c33;
  --muted: #5a6d68;
  --paper: #fffaf0;
  --card: #ffffff;
  --line: #d9cfb7;
  --red: #b83245;
  --gold: #bf8f2f;
  --width: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #e3b940; outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -100px; padding: 10px 14px; background: #fff; border-radius: 8px; z-index: 2; }
.skip:focus { top: 14px; }
.topline { min-height: 9px; background: repeating-linear-gradient(90deg, var(--red) 0 36px, #e1bd5b 36px 72px, #1a6754 72px 108px); }
.header { border-bottom: 1px solid var(--line); background: rgba(255,250,240,.96); }
.header__inner, main, .footer__inner { width: min(calc(100% - 40px), var(--width)); margin: auto; }
.header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--ink); border-radius: 9px; font-size: 13px; }
.back { color: var(--muted); font-size: 14px; }
main { padding: 56px 0 72px; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 0; font-size: clamp(32px, 6vw, 54px); line-height: 1.04; letter-spacing: -.045em; }
h2 { margin: 48px 0 18px; font-size: clamp(23px, 4vw, 31px); line-height: 1.16; letter-spacing: -.03em; }
h3 { margin: 28px 0 10px; font-size: 19px; line-height: 1.3; }
p, li { max-width: 760px; }
li + li { margin-top: 8px; }
.lead { max-width: 720px; margin: 22px 0 0; color: #40544e; font-size: 19px; }
.notice { margin: 30px 0; padding: 20px 22px; border-left: 5px solid var(--red); border-radius: 8px; background: #fff3dc; }
.notice p { margin: 0; }
.card { margin-top: 28px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 10px 30px rgba(35, 68, 57, .07); }
.card dl { display: grid; grid-template-columns: minmax(160px, .38fr) 1fr; gap: 10px 20px; margin: 0; }
.card dt { color: var(--muted); font-weight: 700; }
.card dd { margin: 0; }
.anchor-list { margin: 28px 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.anchor-list a { color: var(--ink); font-weight: 700; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f6ebcf; }
.fine { color: var(--muted); font-size: 14px; }
.footer { border-top: 5px solid var(--red); background: #fff4dd; }
.footer__inner { padding: 28px 0 34px; color: var(--muted); font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 12px 0 0; }
@media (max-width: 620px) {
  .header__inner, main, .footer__inner { width: min(calc(100% - 32px), var(--width)); }
  .header__inner { min-height: 66px; }
  .back { font-size: 13px; }
  main { padding: 40px 0 52px; }
  .card { padding: 20px 16px; }
  .card dl { grid-template-columns: 1fr; gap: 3px; }
  .card dd { margin-bottom: 12px; }
}
