/* DELOCHAS — базовые токены, сброс и типографика.
 * Шрифты — из бренд-пакета design/delochas-brand/fonts/web (SIL OFL): Rubik + Inter Tight.
 */
@font-face { font-family: "Rubik"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Rubik-Regular.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Rubik-Medium.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Rubik-Bold.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/Rubik-Black.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/InterTight-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/InterTight-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/InterTight-SemiBold.woff2") format("woff2"); }

:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-2: #f1eee8;
  --ink: #1f1d1a;
  --ink-2: #4d4a44;
  --muted: #78736a;
  --border: #e3ddd3;
  --accent: #c64a35;
  --accent-ink: #ffffff;
  --good: #2f7d5c;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(31, 29, 26, .07);
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Rubik", "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max-width: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding-left: 1.2em; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3 { font-family: var(--font-display); }
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 900;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
}
h3 { font-size: 1.08rem; line-height: 1.3; font-weight: 500; }

.lead {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.eyebrow {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted { color: var(--muted); }

.todo {
  display: inline-block;
  padding: 2px 7px;
  border: 1px dashed #c9a227;
  border-radius: 6px;
  background: #fff8e1;
  color: #6b5300;
  font-size: .82em;
  line-height: 1.35;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
