/* Сайт Nomlog (лендинг). Кольори й шрифти з дизайну застосунку. */
:root { --accent: #6B3FA0; --accent-d: #55307F; --bg: #F7F5FA; --text: #1B1F1A; --text-2: #5B6158; --soft: #EDE5F6; --line: #DCD6E8; --head: 'Nunito', Inter, sans-serif; --logo: 'Bricolage Grotesque', 'Nunito', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-d); }
img, svg, video { max-width: 100%; }
h1, h2, h3 { margin: 0; }
h1 { font-family: var(--head); font-weight: 900; letter-spacing: -1px; line-height: 1.02; font-size: clamp(40px, 6vw, 68px); }
h2 { font-family: var(--head); font-weight: 900; letter-spacing: -0.5px; line-height: 1.08; font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 640px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pill { align-self: flex-start; background: var(--soft); color: var(--accent); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; }
.pill-ua { background: #FFD700; color: var(--text); }
.soon { font-size: 11px; font-weight: 700; color: var(--accent); background: var(--soft); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 16px 26px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; min-height: 48px; }
.btn-sm { padding: 12px 20px; font-size: 15px; min-height: 44px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); color: #fff; }
.btn-white { background: #fff; color: var(--text); border: 1.5px solid var(--line); }
.btn-white:hover { color: var(--accent); border-color: var(--accent); }
.btn-yellow { background: #FFD700; color: var(--text); }
.btn-yellow:hover { color: var(--text); background: #ffe24d; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #A98BD0; outline-offset: 2px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247, 245, 250, 0.92); backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand span, .logo-text { font-family: var(--logo); font-weight: 800; letter-spacing: -1px; font-size: 26px; }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { color: var(--text); font-weight: 500; text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); font-weight: 700; }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.login { font-weight: 600; text-decoration: none; font-size: 15px; }
.burger { display: none; margin-left: auto; position: relative; }
.burger summary { list-style: none; width: 44px; height: 44px; border-radius: 22px; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.burger summary::-webkit-details-marker { display: none; }
.burger-menu { position: absolute; right: 0; top: 52px; width: min(300px, 86vw); background: #fff; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 20px 50px rgba(107, 63, 160, 0.2); }
.burger-menu a:not(.btn) { padding: 12px 10px; color: var(--text); text-decoration: none; font-weight: 600; border-radius: 12px; }
.burger-menu a:not(.btn):hover { background: var(--bg); }
.burger-menu .btn { margin-top: 6px; }

/* Секції */
.sec { padding: clamp(56px, 7vw, 88px) 0; }
.sec-white { background: #fff; }
.sec-soft { background: var(--bg); }
.sec-purple { background: var(--accent); color: #fff; }
.sec-purple p { color: #E3DCEC; }
.sec-ua { background: #0057B7; color: #fff; padding: 56px 0; }
.sec-ua h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-bottom: 36px; }
.sec-head p { font-size: 18px; color: var(--text-2); }
.sec > .wrap > h2 { margin-bottom: 36px; }
.page-head h1 { margin-bottom: 16px; }
.split { display: flex; align-items: center; gap: 48px; }
.split-top { align-items: flex-start; }
.split-text { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.split-text p { font-size: 17px; }
.sec-ua .split-text p { color: #fff; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* Головна: перший екран */
.hero { padding: 24px 0 88px; }
.hero-in { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.hero-art { position: relative; display: flex; align-items: flex-end; }
.hero-nom { margin-left: -40px; margin-bottom: -10px; position: relative; z-index: 1; }
.bubble { position: absolute; bottom: 196px; right: -20px; width: 220px; background: #fff; border-radius: 22px 22px 22px 6px; padding: 14px 16px; box-shadow: 0 12px 30px rgba(107, 63, 160, 0.18); font-size: 16px; line-height: 1.4; }
.bubble b { color: var(--accent); }
.phone { width: 280px; height: 560px; flex: none; border-radius: 40px; background: var(--text); padding: 10px; box-shadow: 0 30px 60px rgba(107, 63, 160, 0.25); }
.phone-in { width: 100%; height: 100%; border-radius: 31px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 28px 16px 16px; }
.ph-date { font-size: 11px; color: var(--text-2); }
.ph-title { font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -1px; }
.ph-card { background: #fff; border-radius: 16px; padding: 12px; font-size: 12px; display: flex; flex-direction: column; gap: 6px; }
.ph-card span { color: var(--text-2); }
.ph-ring { flex-direction: row; align-items: center; gap: 14px; border-radius: 18px; padding: 14px; }
.ph-macros { display: flex; flex-direction: column; gap: 6px; font-size: 11px; flex: 1; }
.ph-macros span { color: var(--text); }
.bar { height: 5px; border-radius: 3px; background: var(--t); position: relative; }
.bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--c); }
.ph-nom { background: var(--soft); border-radius: 16px; padding: 10px 12px; font-size: 12px; display: flex; align-items: center; gap: 8px; }

/* Картки */
.why { background: var(--bg); background: var(--bg, #fff); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.why svg { align-self: center; }
.why h3 { font-family: var(--head); font-weight: 800; letter-spacing: -0.5px; font-size: 24px; color: var(--fg); }
.why p { color: #2B302A; }
.feat { background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.sec-white .feat { background: var(--bg); }
.feat p, .tile p, .qa p, .steps p { color: var(--text-2); font-size: 15px; }
.ico { width: 48px; height: 48px; border-radius: 16px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.habit { display: flex; gap: 56px; align-items: flex-start; }
.habit-text { width: 440px; flex: none; display: flex; flex-direction: column; gap: 16px; }
.habit-text p { font-size: 18px; color: var(--text-2); }
.habit-side { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.tile { background: var(--bg); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.tile > span { font-size: 26px; }
.tile h3 { font-size: 18px; }
.insight { background: var(--accent); color: #fff; border-radius: 24px 24px 24px 6px; padding: 20px 22px; display: flex; gap: 14px; align-items: center; }
.insight > div { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.insight-tag { font-size: 12px; font-weight: 700; color: #D9C9EC; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.timeline li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.timeline li::before { content: ''; height: 8px; border-radius: 4px; background: var(--c); }
.timeline span { color: var(--text-2); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.steps li { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.steps h3 { font-size: 20px; }
.num { width: 52px; height: 52px; border-radius: 26px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; font-size: 24px; flex: none; }
.steps-col { flex-direction: column; gap: 14px; margin: 8px 0; }
.steps-col li { flex-direction: row; align-items: center; gap: 14px; }
.steps-col .num { width: 40px; height: 40px; font-size: 18px; }
.steps-col p { font-size: 16px; color: var(--text); }
.video-box { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.video-box video { width: min(380px, 100%); border-radius: 28px; background: #000; box-shadow: 0 20px 50px rgba(107, 63, 160, 0.2); }
.coach-card { flex: 1; background: var(--bg); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 600; background: #fff; }
.chips .on { background: var(--accent); color: #fff; }
.qa { background: #fff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.qa h3 { font-size: 17px; }
.more { display: inline-block; margin-top: 20px; font-weight: 700; }
.final { background: var(--soft); border-radius: 36px; padding: clamp(28px, 4vw, 56px); display: flex; align-items: center; gap: 40px; }
.final-text { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.final-text h2 { font-size: clamp(28px, 3.4vw, 44px); }
.final-text p { color: var(--text-2); font-size: 17px; }

/* Тарифи */
.beta-note { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--accent); border-radius: 22px; padding: 14px 18px; margin: 24px 0 32px; max-width: 760px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--line); }
.plan h2 { font-size: 22px; letter-spacing: -0.3px; }
.plan .price { font-family: var(--head); font-weight: 800; font-size: 44px; letter-spacing: -1px; }
.plan p { color: var(--text-2); font-size: 15px; flex: 1; margin: 8px 0 12px; }
.plan-best { border: 2.5px solid var(--accent); box-shadow: 0 20px 50px rgba(107, 63, 160, 0.15); }
.best { position: absolute; top: -13px; right: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.table-box { overflow-x: auto; border-radius: 22px; background: var(--bg); margin-bottom: 16px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 13px 18px; text-align: left; border-bottom: 1px solid #E6E0EF; }
.cmp thead th { font-weight: 700; background: var(--soft); }
.cmp tbody th { font-weight: 500; }
.cmp td { white-space: nowrap; }
.yes { color: #3B8455; font-weight: 800; }
.no { color: #8C8597; font-weight: 800; }

/* Питання */
.faq-wrap { max-width: 900px; }
.faq-head { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.faq-head > div { flex: 1; }
.faq-group { font-size: 26px; letter-spacing: -0.5px; margin: 30px 0 12px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border-radius: 20px; padding: 0 22px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-bottom: 18px; color: var(--text-2); }

/* Тренерам */
.coach-form { flex: 1; max-width: 520px; background: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.coach-form h2 { font-size: 28px; letter-spacing: -0.5px; }
.coach-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.coach-form input:not([type=checkbox]), .coach-form textarea { font: inherit; font-size: 16px; font-weight: 400; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--bg); color: var(--text); resize: vertical; }
.coach-form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.coach-form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.coach-form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: 15px; font-weight: 600; min-height: 1px; }
.form-msg.err { color: #B3261E; }
.form-msg.ok { color: #2E7046; }

/* Блог */
.posts { margin-top: 18px; }
.post { background: #fff; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
a.post:hover h3, a.post:hover h2 { color: var(--accent); }
.post p { color: var(--text-2); font-size: 15px; }
.post-art { height: 120px; border-radius: 18px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 52px; }
.post-tag { font-size: 13px; font-weight: 700; color: var(--accent); }
.post-soon { opacity: 0.75; }
.post-main { flex-direction: row; gap: 28px; padding: 28px; margin-top: 28px; align-items: center; }
.post-main .post-art { width: 300px; height: 200px; flex: none; font-size: 80px; }
.post-main > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post-main h2 { font-size: clamp(26px, 3vw, 36px); }
.article-wrap { display: flex; gap: 56px; align-items: flex-start; }
.article { flex: 1; max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.article h1 { font-size: clamp(34px, 4.5vw, 52px); }
.article h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.5px; margin-top: 18px; scroll-margin-top: 90px; }
.article p, .article li { font-size: 17px; line-height: 1.7; }
.article ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.crumbs { font-size: 14px; color: var(--text-2); }
.formula { background: var(--bg); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.disclaimer { border-top: 1px solid var(--line); padding-top: 16px; }
.article-side { width: 300px; flex: none; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.toc { background: var(--bg); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.toc a { text-decoration: none; }
.side-cta { background: var(--soft); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.side-cta span { color: var(--text-2); font-size: 15px; }

/* Підвал */
.foot { background: var(--text); color: #fff; padding: 48px 0; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand, .foot-col { display: flex; flex-direction: column; gap: 10px; color: #ABA3B8; }
.foot-brand .logo-text, .foot-col b { color: #fff; }
.foot a { color: #ABA3B8; text-decoration: none; }
.foot a:hover { color: #fff; }

/* Планшет і телефон */
@media (max-width: 1100px) {
  .nav, .top-cta { display: none; }
  .burger { display: block; }
  .hero-in { flex-direction: column; align-items: stretch; }
  .hero-art { align-self: center; }
  .habit { flex-direction: column; }
  .habit-text { width: auto; }
  .article-side { display: none; }
}
@media (max-width: 820px) {
  .grid3, .grid2, .plans { grid-template-columns: 1fr; }
  .split { flex-direction: column; align-items: stretch; }
  .split > svg { align-self: center; width: 180px; height: 180px; }
  .steps { flex-direction: column; gap: 22px; }
  .timeline { flex-direction: column; }
  .final { flex-direction: column; text-align: center; }
  .final-text { align-items: center; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .post-main { flex-direction: column; align-items: stretch; }
  .post-main .post-art { width: auto; height: 140px; }
  .faq-head svg { display: none; }
  .why { align-items: stretch; }
  .coach-form { max-width: none; }
}
@media (max-width: 480px) {
  .phone { width: 240px; height: 480px; }
  .hero-nom { display: none; }
  .row .btn { flex: 1; }
}
.beta-note svg, .insight svg, .ph-nom svg, .faq-head svg, .side-cta svg, .brand svg { flex: none; }
.article, .article-wrap > * { min-width: 0; }
@media (max-width: 480px) { .cmp th, .cmp td { padding: 11px 10px; font-size: 14px; } .cmp td { white-space: normal; } }
