/* VINNYK ACADEMY: общая дизайн-система (та же палитра, что у ORBITS) */
:root {
  --space: #071523; --hull: #0d2233; --line: #1d3d57;
  --signal: #5ce6b0; --signal-ink: #1f7a58; --orbit: #3a8fa3; --horizon: #f0a45b;
  --cream: #efe7d8; --cream-2: #ddd1bb; --ink: #0f2130; --ink-soft: #3d4f5e;
  --text: #e8eef2; --muted: #93a8b8;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Onest", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1160px; --r-lg: 20px; --r-md: 14px; --hud: 60px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--space); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(30px, 8vw, 60px); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(24px, 5.6vw, 40px); text-wrap: balance; }
h3 { font-size: 18px; }
p { margin: 0; }
.kicker { font: 500 12px/1.4 var(--mono); color: var(--signal); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.cream .kicker { color: var(--signal-ink); }
.lead { font-size: 17px; color: #c1d0da; max-width: 60ch; margin-top: 14px; }
.cream { background: var(--cream); color: var(--ink); }
.cream .lead { color: var(--ink-soft); }
section { padding: 72px 0; }

/* заглушки: видно, что сюда вписать */
.ph { border: 1.5px dashed var(--horizon); border-radius: 12px; padding: 10px 12px; color: #f3d3b0; background: rgba(240,164,91,.06); font-size: 14.5px; }
.ph::before { content: "Заглушка · "; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--horizon); }
.cream .ph { color: #7a4a1d; background: rgba(240,164,91,.12); }
.ph + .ph { margin-top: 8px; }

/* кнопки */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--signal); color: #04221a; text-decoration: none;
  font: 700 16px/1.2 var(--body); padding: 16px 24px; border-radius: 999px; border: 0; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(92,230,176,.6); transition: transform .15s, background .2s; }
.cta:hover { background: #7af0c2; transform: translateY(-1px); }
.ghost { display: inline-flex; align-items: center; justify-content: center; padding: 15px 22px; border-radius: 999px; border: 1px solid rgba(147,168,184,.45); text-decoration: none; font-weight: 600; transition: border-color .2s, color .2s; }
.ghost:hover { border-color: var(--signal); color: var(--signal); }
.cream .ghost { border-color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* шапка */
.hud { position: sticky; top: 0; z-index: 50; background: rgba(7,21,35,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(58,143,163,.25); }
.hud .wrap { display: flex; align-items: center; gap: 18px; height: var(--hud); }
.brand { font: 800 14px/1 var(--display); letter-spacing: .22em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--signal); }
.nav { display: none; gap: 20px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.menu-btn { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 42px; height: 38px; font-size: 18px; cursor: pointer; }
.mnav { display: grid; gap: 2px; padding: 8px 18px 16px; border-bottom: 1px solid var(--line); background: var(--space); }
.mnav a { text-decoration: none; padding: 11px 0; border-bottom: 1px solid #13283b; font-weight: 600; }

/* первый экран главной */
.hero { position: relative; overflow: hidden; padding: 0; min-height: calc(100svh - var(--hud)); display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0 0 auto 0; height: 52%; background: url(/assets/hosts.webp) 50% 0 / cover no-repeat;
  -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 40%); mask-image: linear-gradient(0deg, transparent 0, #000 40%); }
.hero .wrap { position: relative; padding-bottom: 36px; width: 100%; }
.hero .lead { max-width: 52ch; }

/* карточки продуктов */
.products { display: grid; gap: 12px; margin-top: 26px; }
.product { position: relative; display: grid; gap: 8px; background: var(--hull); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; text-decoration: none; transition: border-color .2s, transform .2s; }
a.product:hover { border-color: var(--signal); transform: translateY(-2px); }
.product .tag { justify-self: start; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 6px; border: 1px solid; }
.tag.live { color: var(--signal); border-color: rgba(92,230,176,.5); }
.tag.soon { color: var(--horizon); border-color: rgba(240,164,91,.5); }
.product h3 { font-size: 24px; }
.product p { color: #c9d6e1; }
.product .more { margin-top: 6px; color: var(--signal); font-weight: 600; }
.product.big { border-color: rgba(92,230,176,.45); background: linear-gradient(135deg, rgba(92,230,176,.1), transparent 60%), var(--hull); }

/* авторы */
.authors { display: grid; gap: 14px; margin-top: 24px; }
.author { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; background: #f8f1e4; border: 1px solid var(--cream-2); border-radius: var(--r-lg); padding: 14px; text-decoration: none; color: var(--ink); transition: transform .2s; }
.author:hover { transform: translateY(-2px); }
.photo { border-radius: var(--r-md); aspect-ratio: 3 / 4; background: #10233a url(/assets/hosts.webp) no-repeat; background-size: 300% auto; }
.photo.pavel { background-position: 62% 7%; } .photo.alla { background-position: 27% 10%; }
.author h3 { font-size: 22px; }
.author .role { color: var(--signal-ink); font-weight: 600; font-size: 14px; margin: 4px 0 6px; }
.author .more { font-weight: 600; font-size: 14px; }

/* соцсети */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--hull); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.socials a:hover { border-color: var(--signal); }
.socials svg { width: 18px; height: 18px; }
.socials a.empty { border-style: dashed; border-color: var(--horizon); color: #f3d3b0; }
.cream .socials a { background: #f8f1e4; border-color: var(--cream-2); }

/* страница автора */
.person { display: grid; gap: 22px; align-items: center; }
.person .photo { width: min(100%, 320px); }
.quote { margin-top: 18px; font: 600 18px/1.45 var(--body); border-left: 3px solid var(--signal); padding-left: 14px; }
.quote span { display: block; margin-top: 6px; font: 500 12px var(--mono); color: var(--signal); text-transform: uppercase; letter-spacing: .08em; }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.facts li { background: var(--hull); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.facts b { color: var(--signal); }
.timeline { display: grid; gap: 10px; margin-top: 20px; }
.timeline > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.timeline b { font: 700 14px var(--display); color: var(--signal-ink); }

/* простые блоки */
.cards { display: grid; gap: 12px; margin-top: 22px; }
.card { background: var(--hull); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.cream .card { background: #f8f1e4; border-color: var(--cream-2); }
.card h3 { margin-bottom: 6px; }
.center { text-align: center; }
.center .lead, .center h2 { margin-left: auto; margin-right: auto; }
.center .actions { justify-content: center; }
.band { background: radial-gradient(70% 90% at 50% 0%, rgba(92,230,176,.14), transparent 70%), #050f1a; }

/* подвал */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 13px; }
footer .wrap { display: grid; gap: 14px; }
.foot-cols { display: grid; gap: 18px; }
.foot-cols b { display: block; color: var(--text); font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.foot-cols a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.foot-cols a:hover { color: var(--text); }
.copy { font-size: 12px; color: #6f879a; }

@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .menu-btn, .mnav { display: none !important; }
  .nav { display: flex; }
  .products { grid-template-columns: 1fr 1fr; }
  .product.big { grid-column: 1 / -1; }
  .authors { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
  .person { grid-template-columns: 320px 1fr; gap: 48px; }
  section { padding: 96px 0; }
}
@media (min-width: 1024px) {
  .hero { align-items: center; }
  .hero-bg { inset: 0 0 0 auto; width: 56%; height: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .hero .wrap { padding-bottom: 0; }
  .hero-text { max-width: 560px; }
}
