/* Unfoco — «Бумага и тишина». Цвета — только переменные :root. */
@font-face { font-family: 'Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-serif-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* В Instrument Serif нет кириллицы — для RU/UK тот же «Display» берётся из Cormorant Garamond. */
@font-face { font-family: 'Display'; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 110%; src: url('/assets/fonts/cormorant-garamond-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Display'; font-style: italic; font-weight: 400; font-display: swap; size-adjust: 110%; src: url('/assets/fonts/cormorant-garamond-cyrillic-500-italic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Display'; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 110%; src: url('/assets/fonts/cormorant-garamond-cyrillic-ext-500-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Display'; font-style: italic; font-weight: 400; font-display: swap; size-adjust: 110%; src: url('/assets/fonts/cormorant-garamond-cyrillic-ext-500-italic.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Text'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Text'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Text'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Text'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-cyrillic-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  color-scheme: light;
  --bg: #f3efe6;
  --surface: #fbf9f4;
  --line: #e2dccf;
  --line-strong: #cfc8b8;
  --text: #1c1b18;
  --muted: #615d55;
  --accent: #6d7a5e;
  --danger: #a33a2a;
  --invert-bg: #1c1b18;
  --invert-text: #f3efe6;
  --font-display: 'Display', 'Iowan Old Style', Georgia, serif;
  --font-text: 'Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --max: 880px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #16150f;
    --surface: #1e1d17;
    --line: #2c2a22;
    --line-strong: #3d3a30;
    --text: #ece6d8;
    --muted: #a8a191;
    --accent: #a3b18f;
    --danger: #e08b7c;
    --invert-bg: #ece6d8;
    --invert-text: #16150f;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font-text); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: var(--invert-bg); color: var(--invert-text); }
.skip:focus { top: 12px; }

.site-header, main, .site-footer { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .site-header, main, .site-footer { padding-left: 32px; padding-right: 32px; } }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; letter-spacing: -0.01em; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; color: var(--muted); }
.site-nav > a { text-decoration: none; }
.site-nav > a:hover { color: var(--text); }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgb(0 0 0 / 0.08); }
.lang-menu li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang-menu li a:hover { background: var(--bg); }
.lang-menu li a[aria-current='page'] { color: var(--text); font-weight: 600; }

.lang-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; padding: 10px 16px; background: var(--invert-bg); color: var(--invert-text); font-size: 0.9rem; }
.lang-hint a { font-weight: 600; }
.lang-hint button { padding: 4px 8px; background: none; border: 0; color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; }

.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.display { margin: 0 0 20px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 9vw, 5rem); line-height: 1; letter-spacing: -0.015em; }
.display em { color: var(--accent); }
.display-md { margin-bottom: 8px; font-size: clamp(2.2rem, 7vw, 3.4rem); }
.lead { margin: 0; max-width: 34rem; font-size: 1.15rem; color: var(--muted); }

.block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.label { margin: 0 0 18px; font: 600 0.75rem/1.2 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.app-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.app-row { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.app-row:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.app-icon { flex: none; width: 48px; height: 48px; border-radius: 22%; }
.app-icon-lg { width: 72px; height: 72px; }
.app-row-text { display: grid; flex: 1 1 200px; min-width: 0; }
.app-row-text strong { font-size: 1.05rem; }
.app-row-text span { font-size: 0.95rem; color: var(--muted); }
.pill { display: inline-block; flex: none; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.pill-live { background: var(--invert-bg); border-color: var(--invert-bg); color: var(--invert-text); }
.block > .pill { margin: 0 0 16px; }
@media (max-width: 480px) { .app-row { flex-wrap: wrap; } .app-row .pill { margin-left: 64px; } }

.principles, .features { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(3, 1fr); } .features { grid-template-columns: repeat(2, 1fr); } }
.principles h3, .features h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.principles p, .features p { margin: 0; color: var(--muted); }

.app-hero { display: flex; align-items: center; gap: 20px; padding: 56px 0 32px; }
.app-description { max-width: 38rem; margin: 0 0 24px; font-size: 1.1rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores a { display: block; line-height: 0; border-radius: 10px; }
.stores img { width: 168px; }
.shots { display: flex; gap: 12px; margin: 32px -16px 0; padding: 0 16px 8px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; }
.shots li { flex: 0 0 auto; scroll-snap-align: start; }
.shots img { width: 200px; border: 1px solid var(--line); border-radius: 18px; }
.support-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }

.waitlist { max-width: 30rem; }
.waitlist-lead { margin: 0 0 12px; }
.waitlist-row { display: flex; gap: 8px; }
.waitlist input[type='email'] { flex: 1; min-width: 0; padding: 10px 14px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; }
.waitlist button, .button { display: inline-block; padding: 12px 18px; font: 600 0.95rem/1 var(--font-text); color: var(--invert-text); background: var(--invert-bg); border: 0; border-radius: 10px; text-decoration: none; cursor: pointer; }
.waitlist button[disabled] { opacity: 0.6; cursor: progress; }
.waitlist-note { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }
.waitlist-status { min-height: 1.6em; margin: 10px 0 0; font-weight: 500; }
.waitlist-status[data-state='error'], .waitlist-status[data-state='invalid'] { color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) { .waitlist-row { flex-direction: column; } }

.crumbs { padding: 28px 0 0; font-size: 0.95rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.prose { max-width: 42rem; padding: 16px 0 56px; }
.prose h1 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1.05; }
.prose h2 { margin: 40px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.prose h3 { margin: 24px 0 6px; font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 4px; }
.prose .updated { font-size: 0.9rem; color: var(--muted); }
.prose .canonical { margin-top: 40px; word-break: break-all; }
.prose [id] { scroll-margin-top: 24px; }

.site-footer { display: grid; gap: 20px; padding-top: 32px; padding-bottom: 48px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.footer-apps { display: grid; gap: 8px; }
.footer-app { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-app-name { font-weight: 600; color: var(--text); text-decoration: none; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.go-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-height: 100vh; text-align: center; }
