:root {
  --c-bg: #14181f;
  --c-surface: #1c222c;
  --c-surface-2: #252d3a;
  --c-deep: #0d1117;
  --c-line: #3b4657;
  --c-text: #eef1f5;
  --c-muted: #bdc6d2;
  --c-accent: #f18a73;
  --c-accent-hover: #ffa18d;
  --c-accent-ink: #14181f;
  --c-link: #a5cdff;
  --c-focus: #ffdb86;
  --c-paper: #ffffff;
  --c-paper-link: #154b92;
  --c-field: #10141a;
  --c-success: #12261c;
  --c-success-line: #71cb98;
  --f-display: Georgia, "Times New Roman", serif;
  --f-body: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 72px;
  --s-7: 96px;
  --radius: 8px;
  --motion: 200ms ease-out;
  --maxw: 1280px;
  --consent-space: 184px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s-7); }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--f-body); font-size: 1.125rem; line-height: 1.65; padding-bottom: var(--consent-space); }
html[data-consent] body { padding-bottom: 0; }
[hidden]:not([hidden="until-found" i]) { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--c-link); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.18; margin: 0 0 var(--s-2); font-weight: 700; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.375rem; }
p { margin: 0 0 var(--s-2); }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--s-4); }
.page { isolation: isolate; }
.main { min-height: 60vh; }
.page__skip { position: fixed; left: var(--s-2); top: var(--s-2); background: var(--c-paper); color: var(--c-bg); padding: var(--s-2); z-index: 100; transform: translateY(-200%); }
.page__skip:focus { transform: none; }
.topbar { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.topbar__inner { display: flex; align-items: center; gap: var(--s-2); min-height: 88px; flex-wrap: wrap; padding-block: var(--s-2); }
.topbar__brand { display: block; flex: none; }
.topbar__brand img { width: 160px; height: 40px; }
.topbar__nav { flex: 1 1 auto; margin-left: auto; }
.topbar__account { background: var(--c-accent); color: var(--c-accent-ink); font-weight: 700; padding: 12px 24px; border-radius: var(--radius); text-decoration: none; min-height: 48px; }
.topbar__account:hover { background: var(--c-accent-hover); color: var(--c-accent-ink); }
.menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: var(--s-1); }
.menu__item { min-width: 0; }
.menu__link { display: block; color: var(--c-text); text-decoration: none; padding: 12px; border-radius: var(--radius); font-size: 1rem; min-height: 48px; }
.menu__link:hover { background: var(--c-surface-2); color: var(--c-text); }
.menu__link--current { box-shadow: inset 0 -2px 0 var(--c-accent); }
.consent { position: fixed; inset: auto 0 0; z-index: 50; background: var(--c-paper); color: var(--c-bg); padding: var(--s-3) max(var(--s-3), calc((100vw - var(--maxw)) / 2 + var(--s-4))); padding-bottom: max(var(--s-3), env(safe-area-inset-bottom)); display: flex; gap: var(--s-3); align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--c-line); max-height: 65dvh; overflow-y: auto; }
.consent__text { margin: 0; flex: 1 1 480px; font-size: 1rem; line-height: 1.5; }
.consent__text a { color: var(--c-paper-link); }
.consent__actions { display: flex; gap: var(--s-1); }
.consent__btn { min-width: 128px; min-height: 48px; padding: 8px 16px; font-weight: 700; background: var(--c-bg); color: var(--c-paper); border: 2px solid var(--c-bg); border-radius: var(--radius); }
.consent__btn:hover { background: var(--c-surface-2); }
.consent :focus-visible { outline-color: var(--c-paper-link); }
.stage { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.stage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-5); align-items: center; padding-block: var(--s-6); }
.stage__kicker, .eyebrow { color: var(--c-accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: var(--s-2); line-height: 1.5; }
.stage__lead { color: var(--c-muted); font-size: 1.125rem; max-width: 65ch; }
.stage__media { min-width: 0; }
.stage__media img { border-radius: var(--radius); width: 100%; }
.stage__caption { color: var(--c-muted); padding-top: var(--s-2); font-size: .875rem; border-bottom: 1px solid var(--c-line); padding-bottom: var(--s-2); }
.stage__facts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-4) 0 0; padding: var(--s-3) 0 0; list-style: none; border-top: 1px solid var(--c-line); }
.stage__fact { min-width: 96px; }
.stage__num { display: block; font-family: var(--f-display); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; white-space: nowrap; line-height: 1.2; }
.stage__cap { display: block; color: var(--c-muted); font-size: .875rem; margin-top: var(--s-1); }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--c-accent); color: var(--c-accent-ink); font-weight: 700; padding: 12px 24px; border-radius: var(--radius); border: 2px solid var(--c-accent); text-decoration: none; cursor: pointer; transition: background var(--motion); min-height: 52px; text-align: center; line-height: 1.5; }
.btn:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: var(--c-accent-ink); }
.btn--line { background: transparent; color: var(--c-text); border-color: var(--c-muted); }
.btn--line:hover { background: var(--c-surface-2); border-color: var(--c-text); color: var(--c-text); }
.btn-row { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-3); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.block { padding-block: var(--s-6); }
.block--alt { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.block__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-4); }
.block__head h2 { margin-bottom: var(--s-1); }
.block__intro { color: var(--c-muted); max-width: 68ch; margin: var(--s-2) 0 0; }
.grid { display: grid; gap: var(--s-3); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }
.vcard { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); display: flex; flex-direction: column; min-width: 0; }
.block--alt .vcard { background: var(--c-bg); }
.vcard__thumb { position: relative; display: block; }
.vcard__img { width: 100%; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
.vcard__time { position: absolute; right: var(--s-1); bottom: var(--s-1); background: var(--c-deep); color: var(--c-paper); font-size: .875rem; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.vcard__body { padding: var(--s-2); }
.vcard__cat { color: var(--c-accent); font-size: .875rem; font-weight: 700; margin: 0 0 var(--s-1); }
.vcard__title { font-size: 1.25rem; margin: 0 0 var(--s-2); line-height: 1.3; }
.vcard__title a { color: var(--c-text); text-decoration: none; }
.vcard__title a:hover { text-decoration: underline; }
.vcard__text { color: var(--c-muted); font-size: 1rem; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.cat { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); display: flex; flex-direction: column; }
.cat__media { display: block; }
.cat__media img { width: 100%; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
.cat__body { padding: var(--s-3); }
.cat__title { margin-bottom: var(--s-1); }
.cat__title a { color: var(--c-text); text-decoration: none; }
.cat__title a:hover { text-decoration: underline; }
.cat__text { color: var(--c-muted); font-size: 1rem; }
.cat__count { color: var(--c-accent); font-weight: 700; font-size: .875rem; margin: 0; }
.catalog-group + .catalog-group { margin-top: var(--s-6); }
.tabs { display: flex; flex-wrap: wrap; gap: var(--s-1); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.tabs__link { display: block; padding: 12px 16px; border: 1px solid var(--c-line); border-radius: 4px; color: var(--c-text); text-decoration: none; font-size: 1rem; min-height: 48px; }
.tabs__link:hover { background: var(--c-surface-2); color: var(--c-text); }
.tabs__link--current, .tabs__link--current:hover { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); font-weight: 700; }
.head { padding-block: var(--s-5); border-bottom: 1px solid var(--c-line); background: var(--c-surface); }
.head p { color: var(--c-muted); max-width: 70ch; margin-bottom: 0; }
.head .eyebrow { color: var(--c-accent); margin-bottom: var(--s-2); }
.crumbs { font-size: .875rem; color: var(--c-muted); margin-bottom: var(--s-3); }
.crumbs a { display: inline-block; padding-block: var(--s-1); }
.search { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: end; margin-bottom: var(--s-3); }
.search__field { flex: 1 1 280px; }
.result-count { color: var(--c-muted); margin-bottom: var(--s-4); }
.field { margin-bottom: var(--s-3); min-width: 0; }
.field__label { display: block; font-weight: 700; margin-bottom: var(--s-1); }
.field__input, .field__area, .field__select { display: block; width: 100%; font: inherit; color: var(--c-text); background: var(--c-field); border: 2px solid var(--c-muted); border-radius: var(--radius); padding: 12px; min-height: 56px; max-width: 100%; }
.field__input::placeholder { color: var(--c-muted); opacity: 1; }
.field__area { min-height: 176px; resize: vertical; }
.field__input:focus, .field__area:focus, .field__select:focus { border-color: var(--c-focus); outline: 2px solid var(--c-focus); outline-offset: 2px; }
.field__hint { color: var(--c-muted); font-size: .875rem; margin: var(--s-1) 0 var(--s-2); }
.field--trap { display: none; }
.notice { border: 2px solid var(--c-success-line); background: var(--c-success); border-radius: var(--radius); padding: var(--s-3); margin-bottom: var(--s-4); }
.notice__title { margin-bottom: var(--s-1); font-size: 1.25rem; }
.notice p { margin: 0; }
.player { background: var(--c-deep); border: 1px solid var(--c-line); border-radius: var(--radius); }
.player__screen { position: relative; }
.player__screen img { width: 100%; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
.player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: var(--c-accent); color: var(--c-bg); border: 2px solid var(--c-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.player__play:hover { background: var(--c-accent-hover); }
.df-icon { display: inline-block; width: 24px; height: 24px; flex: none; }
.player__play .df-icon { width: 32px; height: 32px; fill: currentColor; }
.player__bar { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: var(--s-2) var(--s-3); background: var(--c-surface); align-items: center; justify-content: space-between; border-radius: 0 0 var(--radius) var(--radius); }
.player__meta { margin: 0; color: var(--c-muted); font-size: .875rem; }
.detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s-5); padding-block: var(--s-5); }
.detail__main { min-width: 0; }
.detail__heading { margin-top: var(--s-4); }
.detail__side { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-3); align-self: start; }
.detail__list { margin: 0; padding: 0; list-style: none; }
.detail__list li { padding-block: 12px; border-bottom: 1px solid var(--c-line); }
.detail__list li:last-child { border-bottom: 0; }
.detail__key { display: block; color: var(--c-muted); font-size: .875rem; }
.plan { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-4); align-self: start; }
.plan--main { border: 2px solid var(--c-accent); }
.plan__price { display: flex; align-items: baseline; gap: var(--s-1); flex-wrap: wrap; font-family: var(--f-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-block: var(--s-3); line-height: 1.2; }
.plan__price span { white-space: nowrap; }
.plan__price small { font-size: 1rem; color: var(--c-muted); font-weight: 400; font-family: var(--f-body); white-space: nowrap; }
.plan__list { margin: var(--s-3) 0; padding: 0; list-style: none; }
.plan__list li { display: flex; gap: var(--s-2); padding-block: var(--s-1); align-items: flex-start; }
.plan__list .df-icon { margin-top: 4px; stroke: var(--c-success-line); fill: none; stroke-width: 2; }
.person { text-align: left; }
.person__name { margin: 0 0 var(--s-1); font-size: 1.375rem; }
.person__role { color: var(--c-accent); font-weight: 700; font-size: .875rem; margin: 0 0 var(--s-1); }
.person__text { color: var(--c-muted); font-size: 1rem; margin: 0; }
.team-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.team-story > img { width: 100%; height: auto; border-radius: var(--radius); }
.quote { background: var(--c-surface); border-top: 2px solid var(--c-accent); padding: var(--s-3) 0 0; margin: 0; }
.block--alt .quote { background: transparent; }
.quote__text { margin: 0 0 var(--s-2); font-family: var(--f-display); font-size: 1.25rem; line-height: 1.6; }
.quote__by { color: var(--c-muted); font-size: .875rem; margin: 0; }
.faq { max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--c-line); padding-block: var(--s-1); }
.faq__q { cursor: pointer; font-weight: 700; font-size: 1.125rem; padding-block: var(--s-2); min-height: 56px; }
.faq__a { color: var(--c-muted); margin: var(--s-1) 0 var(--s-2); }
.prose { max-width: 72ch; padding-block: var(--s-5) var(--s-6); }
.prose h2 { margin-top: var(--s-4); font-size: 1.625rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: var(--s-3); }
.prose li { margin-bottom: var(--s-1); }
.cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-5); }
.cols > * { min-width: 0; }
.contact-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-4); align-self: start; }
.contact-card dl { margin: 0; }
.contact-card dt, .operator dt { color: var(--c-muted); font-size: .875rem; margin-top: var(--s-3); }
.contact-card dd, .operator dd { margin: var(--s-1) 0 0; overflow-wrap: anywhere; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-5); align-items: center; }
.story img { border-radius: var(--radius); width: 100%; height: auto; }
.foot { background: var(--c-deep); border-top: 1px solid var(--c-line); padding-top: var(--s-5); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.5fr; gap: var(--s-4); }
.foot__col { min-width: 0; }
.foot__logo { width: 160px; height: 40px; margin-bottom: var(--s-2); }
.foot__about { color: var(--c-muted); font-size: 1rem; }
.foot__title { font-size: 1rem; font-family: var(--f-body); margin-bottom: var(--s-2); }
.foot__list { list-style: none; margin: 0; padding: 0; }
.foot__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-text); font-size: 1rem; }
.foot__address { font-style: normal; font-size: 1rem; }
.foot__address a { color: var(--c-text); display: inline-block; padding-block: var(--s-1); }
.foot__line { display: block; margin-bottom: var(--s-1); overflow-wrap: anywhere; }
.foot__bottom { border-top: 1px solid var(--c-line); margin-top: var(--s-4); padding-block: var(--s-3) var(--s-4); }
.foot__copy { color: var(--c-muted); font-size: .875rem; margin: 0; }
.empty { border: 1px dashed var(--c-line); border-radius: var(--radius); padding: var(--s-4); color: var(--c-muted); }
@media (max-width: 1199px) {
  .topbar__nav { order: 3; flex-basis: 100%; }
  .menu { justify-content: flex-start; }
  .topbar__account { margin-left: auto; }
  .stage__grid { gap: var(--s-4); }
}
@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage__grid, .detail, .cols, .story, .team-story { grid-template-columns: minmax(0, 1fr); }
  .stage__text { max-width: 72ch; }
  .stage__media { max-width: 880px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --consent-space: 272px; }
  .wrap { padding-inline: var(--s-3); }
  .block { padding-block: var(--s-5); }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .consent { padding: var(--s-2); gap: var(--s-2); }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1; min-width: 0; }
  .stage__grid { padding-block: var(--s-5); }
  .stage__facts { gap: var(--s-2); }
  .foot__grid { gap: var(--s-4); }
}
@media (max-width: 479px) {
  :root { --consent-space: 320px; }
  .wrap { padding-inline: var(--s-2); }
  .grid--4, .grid--2, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .stage__facts { justify-content: space-between; }
  .stage__fact { min-width: 0; flex: 1 1 80px; }
  .stage__cap { font-size: .8rem; }
  .btn-row > .btn { width: 100%; }
  .search > .field { width: 100%; }
  .plan, .contact-card { padding: var(--s-3); }
  .menu__link { padding: 12px 8px; }
  .topbar__inner { gap: var(--s-1); }
  .topbar__account { padding-inline: var(--s-2); }
  .tabs__link { padding-inline: 12px; }
  .player__bar { padding: var(--s-2); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
