@font-face {
  font-family: 'Golos Text';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/GolosText-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Golos Text';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/GolosText-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Golos Text';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/GolosText-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Onest';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Onest-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Onest';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Onest-Bold.woff2') format('woff2');
}

:root {
  color-scheme: light dark;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #fcfbf8;
  --text: #1a1a1a;
  --text-2: #6b6b6b;
  --border: #e6e2da;
  --ink: #1a1a1a;
  --on-ink: #f7f5f0;
  --accent: #2f6fed;
  --success: #2e7d4f;
  --success-bg: #edf5f0;
  --warning-bg: #fff4d6;
  --warning-border: #e0a400;
  --stripe: rgba(26, 26, 26, 0.05);
  --d-it: #2f6fed;
  --d-physics: #7b4fd1;
  --d-electrics: #e0a400;
  --d-cinema: #d2582a;
  --d-music: #d64b8a;
  --d-space: #1f4e79;
  --d-psychology: #1d8199;
  --d-history: #8a5a2b;
  --shadow: 0 1px 2px rgba(26, 26, 26, 0.04), 0 8px 24px rgba(26, 26, 26, 0.06);
  --font-body: 'Golos Text', Inter, system-ui, sans-serif;
  --font-heading: 'Onest', Inter, system-ui, sans-serif;
  --radius-card: 22px;
  --radius-button: 14px;
  --radius-panel: 16px;
  --wrap: 1040px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1c1c1e;
    --surface-2: #18181a;
    --text: #ededed;
    --text-2: #9a9a9a;
    --border: #2a2a2a;
    --ink: #ededed;
    --on-ink: #121212;
    --accent: #6b9cff;
    --success: #4caf7a;
    --success-bg: rgba(76, 175, 122, 0.12);
    --warning-bg: rgba(255, 201, 51, 0.12);
    --warning-border: #ffc933;
    --stripe: rgba(255, 255, 255, 0.045);
    --d-it: #6b9cff;
    --d-physics: #a88bff;
    --d-electrics: #ffc933;
    --d-cinema: #ff9466;
    --d-music: #ff8ac2;
    --d-space: #5b9bd5;
    --d-psychology: #4fc8da;
    --d-history: #c88b55;
    --shadow: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(24px, 3.4vw, 32px);
}

h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--gutter);
  top: 8px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 10;
}

.site-header {
  padding: 20px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  height: 26px;
  width: auto;
}

.logo .dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .logo .light {
    display: none;
  }

  .logo .dark {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}

.btn-store {
  background: var(--surface);
  color: var(--text-2);
  border-color: var(--border);
  cursor: not-allowed;
}

.soon {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--stripe);
  color: var(--text-2);
}

.hero {
  padding: 40px 0 64px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero .lead {
  font-size: 20px;
  color: var(--text-2);
  max-width: 34em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.stores .btn {
  min-height: 46px;
  font-size: 15px;
  padding: 0 16px;
}

.fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 440px;
  justify-self: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 14px;
}

.chip::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, var(--accent));
}

.fact-card h3 {
  font-size: 24px;
  line-height: 1.25;
}

.fact-card .myth {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 10px;
}

.fact-card .myth s {
  text-decoration-thickness: 1px;
}

.fact-card .source {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
}

.fact-card .ai {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-2);
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section .intro {
  color: var(--text-2);
  max-width: 40em;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}

.tile .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 8px;
}

.tile p {
  color: var(--text-2);
  margin: 0;
}

.domains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.domains li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
}

.domains li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot);
}

.principles {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 44em;
}

.principles li {
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
}

.principles strong {
  font-weight: 600;
}

.contact {
  font-size: 20px;
}

.doc {
  padding: 16px 0 64px;
}

.doc .wrap {
  max-width: 780px;
}

.doc h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 12px;
}

.doc h2 {
  font-size: 22px;
  margin-top: 40px;
}

.doc h3 {
  font-size: 18px;
  margin-top: 24px;
}

.doc .meta {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 28px;
}

.doc ul,
.doc ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

.doc li {
  margin-bottom: 0.4em;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.doc th {
  background: var(--surface-2);
  font-weight: 600;
}

.requisites {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 18px 22px;
}

.requisites p {
  margin: 0 0 0.3em;
}

.rule {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 20px 22px;
  margin-bottom: 12px;
}

.rule h2 {
  font-size: 19px;
  margin: 0 0 6px;
}

.rule p {
  margin: 0;
}

.draft-banner {
  background: var(--warning-bg);
  border-bottom: 2px solid var(--warning-border);
  color: var(--text);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  padding: 10px var(--gutter);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  color: var(--text-2);
  font-size: 15px;
}

.site-footer nav ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: var(--text);
}

.site-footer p {
  margin: 0 0 0.3em;
}

.notfound {
  padding: 64px 0 96px;
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fact-card {
    justify-self: stretch;
    max-width: none;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding: 16px 0 48px;
  }

  .hero .lead {
    font-size: 18px;
  }

  .cta .btn {
    width: 100%;
  }

  .fact-card {
    padding: 22px;
  }

  .fact-card h3 {
    font-size: 21px;
  }

  .section {
    padding: 44px 0;
  }

  .site-header .btn-small {
    padding: 0 12px;
  }

  .logo img {
    height: 22px;
  }
}

.dot-it {
  --dot: var(--d-it);
}

.dot-physics {
  --dot: var(--d-physics);
}

.dot-electrics {
  --dot: var(--d-electrics);
}

.dot-cinema {
  --dot: var(--d-cinema);
}

.dot-music {
  --dot: var(--d-music);
}

.dot-space {
  --dot: var(--d-space);
}

.dot-psychology {
  --dot: var(--d-psychology);
}

.dot-history {
  --dot: var(--d-history);
}
