/* =========================================================
   EduAudit — стили темы
   Порядок: шрифты → переменные → база → кнопки → шапка →
   первый экран → преимущества → будущее → решения → шаги →
   кто делает → вопросы → подвал → страницы → адаптив
   ========================================================= */

/* ---------- Шрифты (лежат в теме, без Google) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-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+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-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: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Переменные ---------- */
:root {
	--ea-violet: #5B3FD6;
	--ea-violet-dark: #4528B8;
	--ea-violet-soft: #E9E4FF;
	--ea-violet-bg: #F5F3FF;
	--ea-tint: #FAFAFE;
	--ea-ink: #12123A;
	--ea-text: #3F3F5C;
	--ea-muted: #5C5C7A;
	--ea-line: #ECEAF7;
	--ea-border: #E4E1F2;
	--ea-red: #DC2626;
	--ea-red-bg: #FEF2F2;
	--ea-amber: #D97706;
	--ea-amber-bg: #FFFBEB;
	--ea-green: #16A34A;
	--ea-green-bg: #F0FDF4;
	--ea-radius: 20px;
	--ea-shadow: 0 8px 28px rgba(60, 40, 160, 0.12);
	--ea-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ea-font-head: "Manrope", "Inter", system-ui, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ea-font); font-size: 16px; line-height: 1.55; color: var(--ea-ink); background: #FFFFFF; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ea-violet); }
a:hover { color: var(--ea-violet-dark); }
:focus-visible { outline: 3px solid var(--ea-violet); outline-offset: 2px; }

.ea-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ea-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ea-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: #FFFFFF; border-radius: 8px; }
.ea-skip:focus { left: 8px; }

.ea-h1, .ea-h2 { font-family: var(--ea-font-head); font-weight: 800; color: var(--ea-ink); margin: 0; }
.ea-h1 { font-size: 40px; line-height: 1.15; }
.ea-h2 { font-size: 40px; line-height: 1.15; }
.ea-h3 { font-size: 22px; margin: 0 0 8px; }
.ea-lead { font-size: 18px; line-height: 1.6; color: var(--ea-text); margin: 0; }
.ea-muted { font-size: 16px; line-height: 1.6; color: var(--ea-muted); margin: 0; }
.ea-accent { color: var(--ea-violet); }
.ea-icon { flex: 0 0 auto; }

.ea-section { padding: 88px 0; }
.ea-section--tint { background: var(--ea-tint); border-top: 1px solid var(--ea-line); border-bottom: 1px solid var(--ea-line); }
.ea-section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }

/* ---------- Кнопки ---------- */
.ea-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; font: 600 16px/1 var(--ea-font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.ea-btn--primary { background: var(--ea-violet); color: #FFFFFF; }
.ea-btn--primary:hover { background: var(--ea-violet-dark); color: #FFFFFF; }
.ea-btn--outline { border-color: var(--ea-violet); color: var(--ea-violet); background: transparent; }
.ea-btn--outline:hover { background: var(--ea-violet-bg); }
.ea-btn--ghost { border-color: #D6D2EC; color: var(--ea-ink); background: #FFFFFF; }
.ea-btn--ghost:hover { border-color: var(--ea-violet); color: var(--ea-violet); }
.ea-btn--white { background: #FFFFFF; color: var(--ea-violet-dark); font-weight: 700; min-height: 52px; }
.ea-btn--white:hover { background: var(--ea-violet-soft); color: var(--ea-violet-dark); }

/* ---------- Шапка ---------- */
.ea-header { background: #FFFFFF; border-bottom: 1px solid var(--ea-line); }
.ea-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.ea-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ea-ink); }
.ea-brand__text { display: flex; flex-direction: column; }
.ea-brand__name { font-family: var(--ea-font-head); font-weight: 800; font-size: 21px; line-height: 1.1; }
.ea-brand__tag { font-size: 12px; color: var(--ea-muted); }
.ea-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.ea-nav a { color: var(--ea-ink); text-decoration: none; }
.ea-nav a:hover { color: var(--ea-violet); }

/* ---------- Первый экран ---------- */
.ea-hero { position: relative; overflow: hidden; background: var(--ea-violet-bg); }
.ea-hero__circle { position: absolute; right: -120px; top: -80px; width: 640px; height: 640px; border-radius: 50%; background: var(--ea-violet-soft); }
.ea-hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.ea-hero__text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ea-pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--ea-violet-soft); color: var(--ea-violet-dark); font-size: 14px; font-weight: 600; }
.ea-hero__title { margin: 0; font-family: var(--ea-font-head); font-weight: 800; font-size: 54px; line-height: 1.08; letter-spacing: -0.01em; }
.ea-hero__lead { margin: 0; max-width: 600px; font-size: 19px; line-height: 1.55; color: var(--ea-text); }

.ea-checkform { display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; padding: 8px; background: #FFFFFF; border-radius: 16px; box-shadow: var(--ea-shadow); }
.ea-checkform__field { flex: 1 1 280px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.ea-checkform__field input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font: 400 17px var(--ea-font); color: var(--ea-ink); }
.ea-checkform__field input:focus { outline: none; }
.ea-checkform:focus-within { box-shadow: var(--ea-shadow), 0 0 0 3px var(--ea-violet-soft); }
.ea-checkform__btn { min-height: 52px; padding: 0 26px; font-size: 17px; }
.ea-checkform__error { flex-basis: 100%; margin: 0; padding: 0 12px 6px; font-size: 14px; color: #B91C1C; }

.ea-ticks { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--ea-text); }
.ea-ticks li { display: inline-flex; align-items: center; gap: 8px; }

.ea-hero__visual { flex: 1 1 440px; min-width: 0; position: relative; padding: 20px 0 40px; }
.ea-browser { max-width: 480px; overflow: hidden; background: #FFFFFF; border-radius: 18px; box-shadow: 0 24px 60px rgba(60, 40, 160, 0.18); }
.ea-browser__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #F1EFFA; }
.ea-browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #D6D2EC; }
.ea-browser__bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--ea-muted); }
.ea-browser__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.ea-browser__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.ea-browser__head small { font-size: 13px; color: var(--ea-muted); }
.ea-browser__head strong { font-family: var(--ea-font-head); font-weight: 800; font-size: 24px; line-height: 1.2; }
.ea-statrow { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.ea-statrow span { display: inline-flex; align-items: center; gap: 10px; }
.ea-statrow i { width: 10px; height: 10px; border-radius: 50%; }
.ea-statrow--red { background: var(--ea-red-bg); } .ea-statrow--red i { background: var(--ea-red); }
.ea-statrow--amber { background: var(--ea-amber-bg); } .ea-statrow--amber i { background: var(--ea-amber); }
.ea-statrow--green { background: var(--ea-green-bg); } .ea-statrow--green i { background: var(--ea-green); }
.ea-heatmap { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.ea-heatmap span { height: 22px; border-radius: 5px; }
.ea-heatmap .g { background: #BBF7D0; } .ea-heatmap .r { background: #FECACA; } .ea-heatmap .a { background: #FDE68A; }

.ea-floatcard { position: absolute; right: 0; bottom: 0; width: 250px; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: #FFFFFF; border-radius: 16px; box-shadow: 0 16px 40px rgba(60, 40, 160, 0.16); }
.ea-floatcard__title { font-size: 13px; font-weight: 600; color: var(--ea-muted); }
.ea-floatcard__row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.35; }
.ea-floatcard__row strong { font-weight: 600; }
.ea-floatcard__row--soon { color: var(--ea-muted); }

/* ---------- Преимущества ---------- */
.ea-features { border-bottom: 1px solid var(--ea-line); }
.ea-features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.ea-feature { display: flex; align-items: flex-start; gap: 14px; }
.ea-feature div { display: flex; flex-direction: column; gap: 4px; }
.ea-feature strong { font-size: 16px; }
.ea-feature span { font-size: 14px; line-height: 1.45; color: var(--ea-muted); }

/* ---------- Каким станет сайт ---------- */
.ea-future { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.ea-future__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ea-future__grid { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ea-tile { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--ea-violet-bg); border-radius: 18px; }
.ea-tile strong { font-size: 17px; }
.ea-tile span { font-size: 15px; line-height: 1.5; color: var(--ea-text); }

/* ---------- Решения ---------- */
.ea-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.ea-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #FFFFFF; border: 1px solid var(--ea-border); border-radius: var(--ea-radius); }
.ea-plan h3 { margin: 0; font-size: 19px; font-weight: 700; }
.ea-plan p { flex: 1; margin: 0; font-size: 15px; line-height: 1.5; color: var(--ea-text); }
.ea-plan__price { font-family: var(--ea-font-head); font-size: 24px; font-weight: 800; }
.ea-plan--featured { border: 2px solid var(--ea-violet); }
.ea-plan__badge { position: absolute; top: -14px; right: 20px; padding: 4px 12px; border-radius: 999px; background: var(--ea-violet); color: #FFFFFF; font-size: 13px; font-weight: 600; }

/* ---------- Шаги ---------- */
.ea-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.ea-steps li { display: flex; flex-direction: column; gap: 12px; }
.ea-steps strong { font-size: 18px; }
.ea-steps li > span:last-child { font-size: 15px; line-height: 1.5; color: var(--ea-muted); }
.ea-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ea-violet-soft); color: var(--ea-violet-dark); font-family: var(--ea-font-head); font-weight: 800; font-size: 18px; }
.ea-steps__num--final { background: var(--ea-violet); color: #FFFFFF; }

/* ---------- Кто делает ---------- */
.ea-about-wrap { padding: 0 24px; }
.ea-about { max-width: 1192px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: 40px; background: var(--ea-violet-bg); border-radius: 24px; }
.ea-about__photo { flex: 0 0 140px; width: 140px; height: 140px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #E0DAFB; color: var(--ea-violet-dark); font-size: 13px; }
.ea-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.ea-about__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ea-about__text p { margin: 0; font-size: 17px; color: var(--ea-text); }
.ea-about__name { font-family: var(--ea-font-head); font-size: 26px; font-weight: 800; }

/* ---------- Вопросы + призыв ---------- */
.ea-faq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.ea-faq__list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ea-faq__list .ea-h2 { margin-bottom: 12px; }
.ea-faq details { padding: 16px 20px; border: 1px solid var(--ea-border); border-radius: 14px; }
.ea-faq summary { font-size: 17px; font-weight: 600; cursor: pointer; }
.ea-faq details p { margin: 12px 0 0; font-size: 15px; color: var(--ea-text); }
.ea-cta { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 36px; background: var(--ea-violet); color: #FFFFFF; border-radius: 24px; }
.ea-cta strong { font-family: var(--ea-font-head); font-size: 26px; line-height: 1.25; }
.ea-cta p { margin: 0; color: var(--ea-violet-soft); }
.ea-cta__chat { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: #FFFFFF; font-weight: 600; }
.ea-cta__chat:hover { color: var(--ea-violet-soft); }

/* ---------- Подвал ---------- */
.ea-footer { margin-top: 88px; background: var(--ea-ink); color: #C9C7E0; font-size: 14px; }
.ea-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.ea-footer__col { display: flex; flex-direction: column; gap: 6px; }
.ea-footer__brand { font-family: var(--ea-font-head); font-weight: 800; font-size: 18px; color: #FFFFFF; }
.ea-footer a { color: #C4B5FD; }
.ea-footer a:hover { color: #FFFFFF; }
.ea-footer__menu { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Обычные страницы ---------- */
.ea-page { max-width: 860px; padding-top: 56px; }
.ea-article + .ea-article { margin-top: 40px; }
.ea-content { font-size: 17px; line-height: 1.7; color: var(--ea-text); }
.ea-content h2 { font-family: var(--ea-font-head); font-size: 28px; color: var(--ea-ink); margin: 40px 0 12px; }
.ea-content h3 { font-size: 21px; color: var(--ea-ink); margin: 28px 0 8px; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
	.ea-hero__title { font-size: 40px; }
	.ea-h2 { font-size: 32px; }
	.ea-nav { display: none; }
	.ea-floatcard { position: static; margin-top: 16px; width: auto; max-width: 480px; }
}
@media (max-width: 560px) {
	.ea-hero__inner { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
	.ea-hero__title { font-size: 32px; }
	.ea-hero__lead { font-size: 17px; }
	.ea-checkform__btn { width: 100%; }
	.ea-header__cta { display: none; }
	.ea-section { padding: 56px 0; }
	.ea-future__grid { grid-template-columns: 1fr; }
	.ea-about { padding: 28px; }
	.ea-cta { padding: 28px; }
}
