.oge-native {
  margin: 0;
  background: #f5f0e8;
  color: #33291f;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.oge-native * {
  box-sizing: border-box;
}

.oge-header {
  max-width: 1280px;
  margin: auto;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd4c8;
}

.oge-brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
}

.oge-mark {
  display: grid;
  place-items: center;
  border-radius: 14px;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  background: #aa603d;
  color: #fff9ee;
  font-size: 28px;
}

.oge-subtitle {
  display: block;
  color: #8f7768;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  margin-top: 3px;
}

.oge-header-note {
  color: #8f7768;
  font-size: 13px;
}

.oge-layout {
  max-width: 1184px;
  margin: 72px auto 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 94px;
  padding: 0 48px;
  align-items: start;
}

.oge-intro {
  padding-top: 44px;
}

.oge-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #a26040;
  font-weight: 700;
  line-height: 1.6;
}

.oge-intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 25px 0;
}

.oge-intro > p:not(.oge-eyebrow) {
  color: #7c6e61;
  line-height: 1.75;
  font-size: 16px;
  max-width: 390px;
}

.oge-facts {
  display: flex;
  gap: 30px;
  margin: 36px 0;
}

.oge-facts span {
  font-size: 12px;
  color: #827361;
}

.oge-facts b {
  font-family: Georgia, "Times New Roman", serif;
  display: block;
  color: #433426;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 5px;
}

.oge-note {
  font-size: 12px;
  color: #8b7968;
  border-top: 1px solid #dfd4c6;
  padding-top: 20px;
}

.oge-card {
  min-width: 0;
  background: #fffcf7;
  padding: 35px;
  border: 1px solid #e5dacc;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(111, 80, 58, 0.035);
}

.oge-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  margin: 8px 0 14px;
  letter-spacing: -0.5px;
}

.oge-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #433426;
  font-size: 22px;
  font-weight: 500;
  margin: 30px 0 12px;
}

.oge-muted {
  color: #8b7968;
  font-size: 13px;
  line-height: 1.7;
}

.oge-field {
  display: block;
  color: #736454;
  font-size: 12px;
  margin: 18px 0;
}

.oge-field input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 7px;
  padding: 13px 15px;
  border: 1px solid #d9ccbc;
  background: #fffdfa;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  color: #3d3025;
  outline: 0;
}

.oge-field input:focus {
  border-color: #a96340;
  box-shadow: 0 0 0 3px rgba(175, 103, 60, 0.08);
}

.oge-field input[readonly] {
  background: #f8f1e9;
  color: #665447;
}

.oge-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  border: 0;
}

.oge-choice-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oge-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
  color: #736454;
  font-size: 12px;
  font-weight: 600;
}

.oge-choice label {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.oge-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.oge-choice span {
  display: block;
  min-height: 92px;
  padding: 15px;
  border: 1px solid #ddd0c1;
  border-radius: 10px;
  background: #fffdfa;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.oge-choice strong,
.oge-choice small {
  display: block;
}

.oge-choice strong {
  color: #433426;
  font-size: 13px;
}

.oge-choice small {
  margin-top: 7px;
  color: #8b7968;
  font-size: 11px;
  line-height: 1.45;
}

.oge-choice input:checked + span {
  border-color: #aa603d;
  background: #f6e9df;
  box-shadow: 0 0 0 3px rgba(170, 96, 61, 0.08);
}

.oge-choice input:focus-visible + span {
  outline: 3px solid #b87c4f;
  outline-offset: 3px;
}

.oge-button {
  cursor: pointer;
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid #aa603d;
  border-radius: 9px;
  background: #aa603d;
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-top: 7px;
}

.oge-button:hover {
  border-color: #8e4b2e;
  background: #8e4b2e;
}

.oge-button-secondary {
  border-color: #d9ccbc;
  background: #fffdfa;
  color: #8e4b2e;
}

.oge-button-secondary:hover {
  border-color: #bd9278;
  background: #f6e9df;
}

.oge-auth-switch {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #e7dfd3;
  color: #8b7968;
  font-size: 12px;
  text-align: center;
}

.oge-small {
  font-size: 11px;
  line-height: 1.6;
  color: #958371;
  margin-top: 20px;
}

.oge-error,
.oge-success {
  border-radius: 8px;
  margin: 18px 0;
  padding: 14px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.oge-error {
  background: #fceae3;
  color: #964e35;
  border: 1px solid #f2d0c2;
}

.oge-error a {
  color: inherit;
  font-weight: 700;
}

.oge-success {
  background: #eaf3e9;
  color: #476645;
  border: 1px solid #d3e4d0;
}

.oge-success p {
  font-size: 11px;
}

.oge-back {
  display: inline-block;
  margin-top: 25px;
  color: #9a5a3b;
  font-size: 13px;
  text-decoration: none;
}

.oge-back:hover {
  text-decoration: underline;
}

.oge-divider {
  height: 1px;
  margin: 32px 0;
  border: 0;
  background: #e7dfd3;
}

.oge-footer {
  border-top: 1px solid #ddd4c8;
  color: #a39280;
  font-size: 11px;
  padding: 24px 48px;
  max-width: 1280px;
  margin: auto;
}

.oge-students {
  padding: 0;
  list-style: none;
}

.oge-students li {
  border-bottom: 1px solid #e7dfd3;
  padding: 12px 0;
  font-size: 13px;
}

.oge-students li span {
  display: block;
  color: #8b7968;
  font-size: 11px;
  margin-top: 4px;
}

.oge-wide {
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 55px;
}

.oge-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f5f0e8;
  color: #86725f;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.platform-signout {
  white-space: nowrap;
}

.oge-native a:focus-visible,
.oge-button:focus-visible {
  outline: 3px solid #b87c4f;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .oge-layout,
  .oge-wide {
    grid-template-columns: 1fr;
    gap: 35px;
    margin: 35px auto;
    padding: 0 24px;
    max-width: 620px;
  }

  .oge-intro {
    padding-top: 0;
  }

  .oge-intro h1 {
    font-size: 46px;
    margin: 15px 0;
  }

  .oge-intro > p:not(.oge-eyebrow) {
    max-width: none;
  }

  .oge-facts,
  .oge-note {
    display: none;
  }

  .oge-header {
    padding: 22px 24px;
  }

  .oge-card {
    padding: 26px;
  }

  .oge-footer {
    padding: 24px;
  }

  .oge-header-note {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .oge-choice,
  .oge-choice-three {
    grid-template-columns: 1fr;
  }

  .oge-choice span {
    min-height: 76px;
  }
}

@media (max-width: 450px) {
  .oge-layout {
    padding: 0 16px;
  }

  .oge-card {
    padding: 22px;
  }

  .oge-intro h1 {
    font-size: 40px;
  }

  .oge-intro > p:not(.oge-eyebrow) {
    font-size: 14px;
  }

  .oge-header {
    padding: 18px 16px;
  }

  .oge-brand {
    font-size: 15px;
  }

  .oge-subtitle,
  .oge-header-note {
    display: none;
  }
}

/* Этап 2: переключатели и ссылки-кнопки (учётная запись, панели) */
.x-switch { display: flex; align-items: center; gap: 10px; margin: 12px 0; font-size: 14px; color: #33291f; cursor: pointer; }
.x-switch input { width: 18px; height: 18px; accent-color: #aa603d; }
.x-link { padding: 0; border: 0; background: none; color: #8e4b2e; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.x-link:hover { color: #6f3c26; }
.x-red { color: #a54034; }

/* ---------- ЭКЗАМЕН: тёплая палитра, крупное название, бегущая строка, плавные анимации ---------- */
:root { --x-display: "Unbounded", "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif; --x-ease: cubic-bezier(.2, .8, .2, 1); }
html { scroll-behavior: smooth; }
.oge-native { background: #f5efe6; -webkit-font-smoothing: antialiased; }
.oge-header { position: sticky; top: 0; z-index: 50; max-width: none; padding: 16px max(24px, calc((100% - 1184px) / 2)); background: #f5efe6d9; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid #e3d8ca; }
.oge-brand { gap: 12px; }
.oge-header .oge-mark { display: none; }
.oge-word { display: block; font-family: var(--x-display); font-weight: 900; font-size: 24px; line-height: 1; letter-spacing: .09em; color: #33291f; transition: color .2s; }
.oge-brand:hover .oge-word { color: #aa603d; }
.oge-subtitle { margin-top: 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #a26040; }
.oge-header-note { padding: 7px 14px; border: 1px solid #ddcfbf; border-radius: 999px; background: #fffaf4; color: #6f5c4c; font-weight: 600; }
.oge-layout { margin-top: 48px; }
.oge-intro h1 { font-size: 54px; letter-spacing: -1.4px; color: #2e241b; }
.oge-intro > p:not(.oge-eyebrow) { max-width: 440px; font-size: 17px; }
.oge-eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #f0e1d4; color: #8e4b2e; font-size: 11px; letter-spacing: .12em; }
.oge-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0 30px; max-width: 520px; }
.oge-bento > div { padding: 16px 18px; border: 1px solid #e5dacc; border-radius: 18px; background: #fffdfa; box-shadow: 0 10px 26px #6f503a10; transition: transform .35s var(--x-ease), box-shadow .35s var(--x-ease); }
.oge-bento > div:hover { transform: translateY(-4px); box-shadow: 0 18px 36px #6f503a1f; }
.oge-bento b { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 21px; color: #33291f; margin-bottom: 4px; }
.oge-bento span { font-size: 13px; color: #7c6e61; line-height: 1.45; }
.oge-bento .oge-bento-accent { grid-column: 1 / -1; background: #aa603d; border-color: #aa603d; }
.oge-bento .oge-bento-accent b { color: #fff; }
.oge-bento .oge-bento-accent span { color: #f6dccb; }
.oge-card { border-radius: 24px; padding: 38px; box-shadow: 0 24px 60px #6f503a14, 0 2px 6px #6f503a0d; }
.oge-field input { border-radius: 12px; transition: border-color .18s, box-shadow .18s, background .18s; }
.oge-field input:hover { border-color: #c9b39f; }
.oge-choice span { border-radius: 14px; }
.oge-choice label:hover span { border-color: #c98b6b; transform: translateY(-2px); }
.oge-choice span { transition: border-color .18s, background .18s, box-shadow .18s, transform .25s var(--x-ease); }
.oge-button { position: relative; overflow: hidden; border-radius: 12px; transition: background .18s, border-color .18s, box-shadow .2s, transform .15s var(--x-ease); }
.oge-button:not(.oge-button-secondary):hover { box-shadow: 0 12px 26px #aa603d40; }
.oge-button:active { transform: scale(.98); }
.oge-button:not(.oge-button-secondary)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, #ffffff3d 50%, transparent 65%); transform: translateX(-120%); animation: x-shine 3.2s 1.2s infinite; pointer-events: none; }
@keyframes x-shine { 55%, 100% { transform: translateX(120%); } }
.oge-ticker { overflow: hidden; background: #33291f; color: #f3d9c6; padding: 11px 0; }
.oge-ticker-track { display: flex; width: max-content; animation: x-marquee 46s linear infinite; }
.oge-ticker-track span { padding-right: 0; white-space: pre; font-family: var(--x-display); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.oge-ticker:hover .oge-ticker-track { animation-play-state: paused; }
@keyframes x-marquee { to { transform: translateX(-50%); } }
.oge-footer { max-width: none; padding: 22px max(24px, calc((100% - 1184px) / 2)); border-top: 0; }
/* Появление при загрузке: блоки мягко выезжают по очереди */
@keyframes x-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.oge-intro > *, .oge-card { animation: x-rise .8s var(--x-ease) both; }
.oge-intro > *:nth-child(2) { animation-delay: .08s; }
.oge-intro > *:nth-child(3) { animation-delay: .16s; }
.oge-intro > *:nth-child(4) { animation-delay: .24s; }
.oge-intro > *:nth-child(5) { animation-delay: .32s; }
.oge-card { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .oge-intro > *, .oge-card, .oge-ticker-track, .oge-button::after { animation: none !important; }
}
@media (max-width: 900px) {
  .oge-card { order: -1; }
  .oge-intro h1 { font-size: 38px; }
  .oge-bento { margin: 22px 0 6px; }
  .oge-word { font-size: 20px; }
}
@media (max-width: 450px) {
  .oge-bento { grid-template-columns: 1fr; }
  .oge-word { font-size: 18px; }
  .oge-header-note { display: none; }
}
/* «Ваш тариф» в учётной записи преподавателя (app/tariffs.php) */
.x-tariff-mine { padding: 14px 16px; border: 1px solid #e5dacc; border-radius: 14px; background: #fffaf4; }
.x-tariff-mine p { margin: 4px 0; }
.x-tariff-bar { display: block; height: 6px; margin: 6px 0 2px; border-radius: 4px; background: #efe4d8; overflow: hidden; }
.x-tariff-bar i { display: block; height: 100%; border-radius: 4px; background: #aa603d; }
.x-tariff-list { margin: 6px 0 12px; padding-left: 18px; font-size: 14px; }
/* Оформление текста (3.10.0): [b] [i] [u] [s] [mark] [red] [blue] [green] [sup] [sub] [h] — see assets/inline-images.js */
.x-c-red { color: #c0392b; }
.x-c-blue { color: #1f5fbf; }
.x-c-green { color: #2e7d32; }
.x-h { display: inline-block; margin: .15em 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.22em; font-weight: 600; line-height: 1.3; color: #33291f; }
mark { background: #ffe58a; color: inherit; padding: 0 .12em; border-radius: 3px; }
sup, sub { font-size: .72em; line-height: 0; }
.x-fmt-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin: 6px 0 4px; padding: 4px; border: 1px solid #e5dacc; border-radius: 10px; background: #fffaf4; }
.x-fmt-btn { min-width: 32px; height: 32px; padding: 0 8px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #4a3b2e; font: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; }
.x-fmt-btn:hover { background: #f6e9df; border-color: #e3cdbd; }
.x-fmt-btn:focus-visible { outline: 2px solid #aa603d; outline-offset: 1px; }
.x-fmt-b { font-weight: 900; }
.x-fmt-i { font-style: italic; font-family: Georgia, serif; }
.x-fmt-u { text-decoration: underline; }
.x-fmt-s { text-decoration: line-through; }
.x-fmt-mark { background: #ffe58a; }
.x-fmt-mark:hover { background: #ffd95a; }
.x-fmt-red { color: #c0392b; font-weight: 800; }
.x-fmt-blue { color: #1f5fbf; font-weight: 800; }
.x-fmt-green { color: #2e7d32; font-weight: 800; }
.x-fmt-h { font-family: Georgia, serif; }
.x-fmt-clear { color: #8a7a6b; font-weight: 500; }
.x-fmt-sep { width: 1px; height: 20px; margin: 0 3px; background: #e5dacc; }
@media (max-width: 600px) { .x-fmt-btn { min-width: 36px; height: 36px; } .x-fmt-sep { display: none; } }
/* Ссылка «О платформе» в шапке входа и регистрации (3.13.1) */
.oge-header-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.oge-header-about { padding: 8px 16px; border-radius: 999px; border: 1.5px solid #b4613d; background: #fff; color: #8f4a2b; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.oge-header-about:hover { background: #f8ebe0; }
.oge-auth-switch + .oge-back { display: block; margin-top: 18px; text-align: center; font-size: 14px; }
