/* inter-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-cyrillic-ext-wght-normal-ca15706333.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* inter-cyrillic-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-cyrillic-wght-normal-71d5ee93cc.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-greek-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-greek-ext-wght-normal-6e9e020a25.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}

/* inter-greek-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-greek-wght-normal-1be3448e29.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* inter-vietnamese-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-vietnamese-wght-normal-5c66f9e07e.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* inter-latin-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin-ext-wght-normal-34b9c504ca.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;
}

/* inter-latin-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin-wght-normal-3100e775e8.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;
}
:root {
  --enot-color-accent: #3FB5A0;
  --enot-color-accent-hover: #35A090;
  --enot-color-on-accent: #0E1513;
  --enot-color-accent-soft: #243737;
  --enot-color-secondary: #E0A458;
  --enot-color-on-secondary: #17191C;
  --enot-color-background: #17191C;
  --enot-color-surface: #1F2226;
  --enot-color-surface-raised: #26292E;
  --enot-color-border: #2E3237;
  --enot-color-border-strong: #3A3F45;
  --enot-color-text: #E6E8EB;
  --enot-color-text-muted: #9AA1A9;
  --enot-color-success: #4CAF7D;
  --enot-color-danger: #E5534B;
  --enot-space-xs: 4px;
  --enot-space-sm: 8px;
  --enot-space-md: 12px;
  --enot-space-lg: 16px;
  --enot-space-xl: 24px;
  --enot-space-xxl: 32px;
  --enot-space-xxxl: 56px;
  --enot-radius-sm: 6px;
  --enot-radius-md: 10px;
  --enot-radius-lg: 16px;
  --enot-radius-pill: 999px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-enot-theme="dark"]) {
  --enot-color-accent: #1F7A69;
  --enot-color-accent-hover: #1A6759;
  --enot-color-on-accent: #FFFFFF;
  --enot-color-accent-soft: #E9F2F0;
  --enot-color-secondary: #8A5A18;
  --enot-color-on-secondary: #FFFFFF;
  --enot-color-background: #F3F4F6;
  --enot-color-surface: #FFFFFF;
  --enot-color-surface-raised: #E9EBEF;
  --enot-color-border: #E3E5E9;
  --enot-color-border-strong: #CFD3D9;
  --enot-color-text: #17191C;
  --enot-color-text-muted: #5C646E;
  --enot-color-success: #27704D;
  --enot-color-danger: #B83228;
  --enot-space-xs: 4px;
  --enot-space-sm: 8px;
  --enot-space-md: 12px;
  --enot-space-lg: 16px;
  --enot-space-xl: 24px;
  --enot-space-xxl: 32px;
  --enot-space-xxxl: 56px;
  --enot-radius-sm: 6px;
  --enot-radius-md: 10px;
  --enot-radius-lg: 16px;
  --enot-radius-pill: 999px;
    color-scheme: light;
  }
}
:root[data-enot-theme="light"] {
  --enot-color-accent: #1F7A69;
  --enot-color-accent-hover: #1A6759;
  --enot-color-on-accent: #FFFFFF;
  --enot-color-accent-soft: #E9F2F0;
  --enot-color-secondary: #8A5A18;
  --enot-color-on-secondary: #FFFFFF;
  --enot-color-background: #F3F4F6;
  --enot-color-surface: #FFFFFF;
  --enot-color-surface-raised: #E9EBEF;
  --enot-color-border: #E3E5E9;
  --enot-color-border-strong: #CFD3D9;
  --enot-color-text: #17191C;
  --enot-color-text-muted: #5C646E;
  --enot-color-success: #27704D;
  --enot-color-danger: #B83228;
  --enot-space-xs: 4px;
  --enot-space-sm: 8px;
  --enot-space-md: 12px;
  --enot-space-lg: 16px;
  --enot-space-xl: 24px;
  --enot-space-xxl: 32px;
  --enot-space-xxxl: 56px;
  --enot-radius-sm: 6px;
  --enot-radius-md: 10px;
  --enot-radius-lg: 16px;
  --enot-radius-pill: 999px;
  color-scheme: light;
}


.st-icon-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-enot-theme="dark"]) .st-icon-dark { display: none; }
  :root:not([data-enot-theme="dark"]) .st-icon-light { display: flex; }
}
:root[data-enot-theme="light"] .st-icon-dark { display: none; }
:root[data-enot-theme="light"] .st-icon-light { display: flex; }


.enot-button {
  min-height: 44px;
  box-sizing: border-box;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition:
    background-color 120ms cubic-bezier(0.2, 0, 0, 1),
    border-color 120ms cubic-bezier(0.2, 0, 0, 1),
    transform 120ms cubic-bezier(0.2, 0, 0, 1);
}
.enot-button--primary {
  background: var(--enot-color-accent);
  color: var(--enot-color-on-accent);
  border: none;
  font-weight: 650;
}
.enot-button--ghost {
  background: transparent;
  color: var(--enot-color-text);
  border: 1px solid var(--enot-color-border-strong);
  font-weight: 500;
}
.enot-button--primary:hover:not(:disabled) { background: var(--enot-color-accent-hover); }
.enot-button--ghost:hover:not(:disabled) { background: var(--enot-color-surface-raised); }
.enot-button:active:not(:disabled) { transform: scale(0.97); }


html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--enot-color-background);
  color: var(--enot-color-text);
  font-family: "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; flex: 0 0 auto; }
h1, h2, h3 { margin: 0; }

/* Фокус с клавиатуры виден всегда: обводка акцентом вокруг элемента. */
:focus-visible {
  outline: 2px solid var(--enot-color-accent);
  outline-offset: 2px;
}

.st-skip {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--enot-color-surface);
  z-index: 1;
}
.st-skip:focus { top: 8px; }

.st-head,
.st-hero,
.st-sec,
.st-foot,
.st-missing {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.st-headbar { border-bottom: 1px solid var(--enot-color-border); }
.st-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 48px;
}
.st-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 650;
  text-decoration: none;
}
.st-logo { border-radius: 7px; }
.st-nav { display: flex; gap: 4px; font-size: 14px; }
.st-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 10px;
  color: var(--enot-color-text-muted);
  text-decoration: none;
}
.st-nav a:hover { color: var(--enot-color-text); }
.st-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.st-lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  font-size: 12.5px;
  background: var(--enot-color-surface);
  border: 1px solid var(--enot-color-border);
  border-radius: 999px;
}
.st-lang a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  border-radius: 999px;
  color: var(--enot-color-text-muted);
  text-decoration: none;
}
.st-lang a:hover { color: var(--enot-color-text); }
.st-lang a[aria-current="page"] {
  background: var(--enot-color-accent-soft);
  color: var(--enot-color-accent);
  font-weight: 650;
}
.st-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--enot-color-border);
  background: transparent;
  color: var(--enot-color-text-muted);
  cursor: pointer;
}
.st-icon:hover { color: var(--enot-color-text); background: var(--enot-color-surface-raised); }
.st-icon-dark, .st-icon-light { align-items: center; }
.st-icon-dark { display: flex; }

.enot-button.st-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  text-decoration: none;
}

.st-herobar { background: linear-gradient(160deg, var(--enot-color-accent-soft), transparent 55%); }
.st-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 48px 56px;
}
.st-hero h1 {
  max-width: 14ch;
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.st-lead { max-width: 44ch; margin: 0; color: var(--enot-color-text-muted); }
.st-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}
.st-hint { margin: 0; font-size: 13px; }

.st-preview {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  background: var(--enot-color-surface);
  border: 1px solid var(--enot-color-border);
  border-radius: 16px;
}
.st-preview-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 4px 8px 10px;
  border-bottom: 1px solid var(--enot-color-border);
}
.st-strong { font-weight: 600; }
.st-muted { color: var(--enot-color-text-muted); }
.st-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px;
  border-radius: 10px;
  font-size: 14px;
}
.st-row-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.st-row-body > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.st-row-body .st-muted { font-size: 12.5px; }
.st-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.st-time { font-size: 11.5px; color: var(--enot-color-text-muted); }
.st-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  box-sizing: border-box;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--enot-color-accent);
  color: var(--enot-color-on-accent);
  font-size: 11px;
  font-weight: 700;
}
.st-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--enot-color-accent);
  color: var(--enot-color-on-accent);
  font-size: 13px;
  font-weight: 700;
}
.st-avatar--group {
  border-radius: 10px;
  background: var(--enot-color-secondary);
  color: var(--enot-color-on-secondary);
}
.st-avatar--muted {
  background: var(--enot-color-surface-raised);
  color: var(--enot-color-text-muted);
  border: 1px solid var(--enot-color-border);
}

.st-sec { padding: 40px 48px 8px; scroll-margin-top: 16px; }
.st-sec h2 { margin: 0 0 16px; font-size: 22px; letter-spacing: -0.01em; }
.st-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.st-card {
  padding: 24px 16px;
  background: var(--enot-color-surface);
  border: 1px solid var(--enot-color-border);
  border-radius: 16px;
}
.st-card h3 { margin: 12px 0 6px; font-size: 15px; }
.st-card p { margin: 0; color: var(--enot-color-text-muted); font-size: 13.5px; }
.st-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--enot-color-accent-soft);
  color: var(--enot-color-accent);
}
.st-ico--lg { width: 48px; height: 48px; flex: 0 0 auto; }
.st-dl {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--enot-color-surface);
  border: 1px solid var(--enot-color-border);
  border-radius: 16px;
}
.st-dl-txt { flex: 1; min-width: 0; }
.st-dl-txt h3 { font-size: 15px; font-weight: 600; }
.st-dl-txt p { margin: 0; font-size: 13px; }
.st-note { margin: 12px 0 0; font-size: 13px; color: var(--enot-color-text-muted); }

.st-footbar { margin-top: 40px; border-top: 1px solid var(--enot-color-border); }
.st-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 48px;
  font-size: 13px;
  color: var(--enot-color-text-muted);
}
.st-foot-links { display: flex; gap: 16px; }
.st-foot-links a { text-underline-offset: 3px; }

.st-missing { padding: 96px 48px; }
.st-missing h1 { margin: 0 0 16px; font-size: 32px; letter-spacing: -0.02em; }

@media (max-width: 720px) {
  .st-head { gap: 8px; padding: 12px 16px; }
  .st-brand-name, .st-nav, .st-tools .st-login { display: none; }
  .st-hero { grid-template-columns: 1fr; padding: 40px 16px 32px; }
  .st-hero h1 { font-size: 30px; }
  .st-cta { flex-direction: column; }
  .st-preview { display: none; }
  .st-sec { padding: 28px 16px 4px; }
  .st-grid { grid-template-columns: 1fr; gap: 12px; }
  .st-dl { flex-wrap: wrap; padding: 16px; }
  .st-dl .st-button { width: 100%; }
  .st-footbar { margin-top: 28px; }
  .st-foot { flex-direction: column; align-items: flex-start; padding: 16px; }
  .st-foot-links { flex-direction: column; gap: 8px; }
  .st-missing { padding: 56px 16px; }
}

/* Планшет: четыре карточки в ряд уже не влезают. */
@media (min-width: 721px) and (max-width: 1023px) {
  .st-grid { grid-template-columns: repeat(2, 1fr); }
}

.st-nav a, .st-lang a, .st-icon {
  transition:
    color 120ms cubic-bezier(0.2, 0, 0, 1),
    background-color 120ms cubic-bezier(0.2, 0, 0, 1);
}

/* Без анимаций по просьбе системы (§7 ТЗ). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
