:root {
  color-scheme: light;
  --navy: #0a1333;
  --navy-2: #111d43;
  --blue: #1a73ff;
  --blue-dark: #0d5ee1;
  --cyan: #00d5ff;
  --green: #22e3a6;
  --gray: #f2f4f7;
  --white: #ffffff;
  --ink: #0a1333;
  --muted: #65708b;
  --line: #dfe4ec;
  --line-strong: #ccd5e2;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 22px 70px rgba(10, 19, 51, 0.1);
  font-family: Inter, Manrope, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--white); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-180%); border-radius: 9px; padding: 10px 14px; color: var(--white); background: var(--navy); font-weight: 750; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.site-header__inner, .section__inner, .footer__inner, .legal-layout { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }
.site-header__inner { display: flex; min-height: 76px; align-items: center; gap: 42px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { display: block; width: 176px; max-width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a { color: #45516f; font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--blue); border-radius: 12px; padding: 13px 21px; color: var(--white); background: var(--blue); font-size: .96rem; font-weight: 780; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { border-color: var(--blue-dark); background: var(--blue-dark); transform: translateY(-1px); }
.button--small { min-height: 42px; padding: 9px 18px; }
.button--secondary { margin-left: 0; border-color: var(--line-strong); color: var(--navy); background: var(--white); }
.button--secondary:hover { border-color: var(--blue); color: var(--blue); background: #f7faff; }
.text-link { color: var(--blue); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.hero { overflow: hidden; background: var(--white); }
.hero__inner { display: grid; min-height: 680px; align-items: center; gap: clamp(44px, 5.5vw, 84px); grid-template-columns: minmax(360px,.78fr) minmax(570px,1.22fr); padding-block: 66px 78px; }
.hero__copy { max-width: 540px; }
.hero h1 { margin: 0; font-size: clamp(2.75rem, 4.55vw, 4rem); font-weight: 680; line-height: 1.04; letter-spacing: -.055em; }
.hero__lead { max-width: 520px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 26px; margin-top: 32px; }
.hero__facts { display: grid; gap: 9px; margin: 30px 0 0; padding: 0; color: #4d5873; font-size: .84rem; list-style: none; }
.hero__facts li { display: flex; align-items: center; gap: 9px; }
.hero__facts span { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: #067a56; background: rgba(34,227,166,.17); font-size: .69rem; font-weight: 900; }

.product-window { display: grid; grid-template-columns: 118px 1fr; overflow: hidden; border: 1px solid #d7deea; border-radius: var(--radius-lg); background: var(--gray); box-shadow: var(--shadow); }
.product-window__nav { min-height: 570px; padding: 22px 13px; color: var(--white); background: var(--navy); }
.app-icon { position: relative; display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; border-radius: 13px; color: var(--white); background: var(--navy); font-weight: 550; letter-spacing: -.08em; }
.app-icon i { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: var(--blue); clip-path: polygon(100% 0,100% 100%,0 0); }
.app-icon--small { width: 36px; height: 36px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.19); border-radius: 10px; font-size: .78rem; }
.product-window__nav-label { display: block; font-size: .72rem; font-weight: 730; }
.product-window__nav-items { display: grid; gap: 8px; margin-top: 30px; }
.product-window__nav-items span { border-radius: 8px; padding: 9px 8px; color: #aeb8d0; font-size: .67rem; }
.product-window__nav-items .is-active { color: var(--white); background: var(--blue); }
.product-window__main { min-width: 0; padding: 19px; background: #f7f9fc; }
.product-window__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.product-window__top div { display: grid; gap: 3px; }
.product-window__top small, .ui-label { color: #77819a; font-size: .66rem; font-weight: 650; }
.product-window__top strong { font-size: .98rem; }
.avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-size: .64rem; font-weight: 800; }
.publish-flow { position: relative; }
.material-card { display: grid; align-items: center; gap: 13px; grid-template-columns: 70px 1fr auto; border: 1px solid var(--line); border-radius: 15px; padding: 12px; background: var(--white); }
.material-card__media { display: grid; width: 68px; height: 66px; place-items: center; border-radius: 11px; color: var(--blue); background: #edf4ff; }
.material-card__media svg { width: 45px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.material-card h2 { margin: 3px 0 0; font-size: .86rem; letter-spacing: -.02em; }
.material-card p { margin: 5px 0 0; color: var(--muted); font-size: .66rem; }
.ui-state { border-radius: 999px; padding: 6px 9px; color: #077355; background: rgba(34,227,166,.14); font-size: .64rem; font-weight: 800; }
.flow-connector { width: 1px; height: 13px; margin-inline: 34px auto; background: #cfd7e5; }
.flow-stage { border: 1px solid var(--line); border-radius: 15px; padding: 12px; background: var(--white); }
.flow-stage__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.flow-stage__head h3 { margin: 0; font-size: .78rem; }
.flow-stage__head > span { color: var(--blue); font-size: .64rem; font-weight: 750; }
.destination-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.destination { display: grid; align-items: center; gap: 9px; grid-template-columns: 28px 1fr auto; border: 1px solid #e3e8f0; border-radius: 10px; padding: 8px; }
.destination--selected { border-color: #c9dcff; background: #f7faff; }
.destination > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.destination strong { overflow: hidden; font-size: .66rem; text-overflow: ellipsis; }
.destination small { overflow: hidden; color: var(--muted); font-size: .57rem; text-overflow: ellipsis; }
.destination b { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-size: .58rem; }
.destination em { color: var(--muted); font-size: .56rem; font-style: normal; font-weight: 750; }
.flow-summary { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 15px; padding: 12px; background: var(--white); }
.flow-summary > div { display: grid; gap: 5px; }
.flow-summary > div + div { border-left: 1px solid var(--line); padding-left: 12px; }
.flow-summary strong { font-size: .68rem; }
.flow-results { display: grid; gap: 6px; margin-top: 8px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.flow-results > span { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px; background: var(--white); }
.flow-results b { overflow: hidden; font-size: .58rem; text-overflow: ellipsis; }
.flow-results em { color: #086a51; font-size: .53rem; font-style: normal; font-weight: 750; }
.flow-results em::before { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--green); content: ""; vertical-align: 1px; }

.platform-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--white); }
.platform-icon svg { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; stroke-width: 1.7; }
.destination .platform-icon { width: 28px; height: 28px; border-radius: 8px; }
.destination .platform-icon svg { width: 18px; height: 18px; }
.platform-icon--telegram { color: #159ddd; background: #eaf8ff; }
.platform-icon--instagram { color: #db327f; background: #fff0f7; }
.platform-icon--instagram svg, .platform-icon--web svg { fill: none; }
.platform-icon--instagram .is-filled, .platform-icon--youtube .is-filled { fill: currentColor; stroke: none; }
.platform-icon--web { color: var(--blue); background: #edf4ff; }
.platform-icon--youtube { color: #e82127; background: #fff0f0; }
.platform-icon--youtube svg rect { fill: currentColor; stroke: none; }
.platform-icon--youtube svg path { color: var(--white); }

.section { padding-block: clamp(76px,9vw,116px); }
.section--white { background: var(--white); }
.section--soft { background: var(--gray); }
.section--navy { color: var(--white); background: var(--navy); }
.section__heading { display: grid; gap: 54px; grid-template-columns: 42px minmax(0,720px); margin-bottom: 54px; }
.section__index { margin: 7px 0 0; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.section__heading h2, .control-copy h2, .youtube-copy h2, .cta-band h2, .legal-hero h1 { margin: 0; font-size: clamp(2.15rem,3.8vw,3.35rem); font-weight: 680; line-height: 1.08; letter-spacing: -.05em; }
.section__heading p:not(.section__index), .control-copy > p:not(.section__index), .youtube-copy > p, .cta-band p { max-width: 650px; margin: 17px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.steps { display: grid; margin: 0; padding: 0; counter-reset: item; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; }
.step { position: relative; display: grid; align-content: start; gap: 19px; min-height: 190px; border-top: 1px solid var(--line-strong); padding: 20px 24px 0 0; }
.step:not(:last-child)::after { position: absolute; top: -4px; right: 18px; width: 7px; height: 7px; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); transform: rotate(45deg); content: ""; }
.step__number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--blue); background: #edf4ff; font-size: .76rem; font-weight: 850; }
.step h3 { margin: 0; font-size: 1.02rem; letter-spacing: -.02em; }
.step p { margin: 9px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }

.platforms { display: grid; gap: 14px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.platform { display: flex; min-height: 290px; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.platform > .platform-icon { width: 46px; height: 46px; }
.platform h3 { margin: 29px 0 0; font-size: 1.22rem; letter-spacing: -.025em; }
.platform p { margin: 13px 0 24px; color: var(--muted); font-size: .87rem; line-height: 1.58; }
.platform__state { display: flex; align-items: center; gap: 8px; margin-top: auto; color: #505c77; font-size: .72rem; font-weight: 700; }
.platform__state i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.platform__state--planned { border-radius: 999px; padding: 7px 10px; color: #6a748c; background: var(--gray); }
.platform--planned { background: #fbfcfd; }

.control-grid { display: grid; align-items: center; gap: clamp(60px,8vw,118px); grid-template-columns: minmax(0,.9fr) minmax(450px,1.1fr); }
.control-copy .section__index { color: var(--cyan); }
.control-copy > p:not(.section__index) { color: #b7c1d8; }
.control-copy ul { display: grid; gap: 14px; margin: 29px 0 0; padding: 0; color: #dbe2f1; list-style: none; }
.control-copy li { display: flex; align-items: center; gap: 11px; }
.control-copy li::before { width: 8px; height: 8px; border: 2px solid var(--cyan); border-radius: 50%; content: ""; }
.result-panel { overflow: hidden; border: 1px solid #344166; border-radius: 22px; padding: 8px 22px; background: var(--navy-2); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.result-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 18px; }
.result-panel__head div { display: grid; gap: 5px; }
.result-panel__head small { color: #8d99b7; }
.result-panel__head > span { color: #aeb9d0; font-size: .72rem; }
.result-row { display: grid; align-items: center; gap: 14px; grid-template-columns: 42px 1fr auto; border-top: 1px solid #303d61; padding: 15px 0; }
.result-row > div { display: grid; gap: 4px; }
.result-row strong { font-size: .88rem; }
.result-row small { color: #8995b1; font-size: .68rem; }
.result-status { border-radius: 999px; padding: 7px 10px; font-size: .68rem; font-weight: 800; }
.result-status--done { color: var(--green); background: rgba(34,227,166,.1); }
.result-status--queue { color: #62dff9; background: rgba(0,213,255,.09); }
.result-status--scheduled { color: #a9c9ff; background: rgba(26,115,255,.13); }

.youtube-grid { display: grid; align-items: center; gap: clamp(50px,9vw,130px); grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); }
.youtube-mark { display: grid; min-height: 300px; place-content: center; justify-items: center; gap: 23px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--gray); }
.youtube-mark .platform-icon { width: 82px; height: 82px; border-radius: 22px; }
.youtube-mark .platform-icon svg { width: 48px; height: 48px; }
.youtube-mark > span:last-child { color: #59647c; font-size: .78rem; font-weight: 750; letter-spacing: .04em; }
.youtube-copy > p { max-width: 700px; }
.youtube-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; color: #3e4964; list-style: none; }
.youtube-list li { display: flex; gap: 11px; line-height: 1.5; }
.youtube-list li::before { flex: 0 0 auto; width: 7px; height: 7px; margin-top: .48em; border-radius: 50%; background: var(--blue); content: ""; }
.transparency-links { display: flex; flex-wrap: wrap; gap: 11px 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.transparency-links a { color: var(--blue); font-size: .8rem; font-weight: 750; text-underline-offset: 3px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px,5vw,58px); background: var(--white); }
.cta-band h2 { max-width: 680px; font-size: clamp(2rem,3.3vw,3rem); }
.cta-band .button { flex: 0 0 auto; }

.footer { border-top: 1px solid var(--line); padding-block: 46px; background: var(--white); }
.footer__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.footer__brand p { max-width: 430px; margin: 14px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.footer__copyright { display: block; margin-top: 10px; color: #7a849a; font-size: .7rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 13px 24px; }
.footer__links a { color: #4e5972; font-size: .77rem; font-weight: 650; text-underline-offset: 3px; }

/* Legal documents: layout and typography only; document text remains authoritative. */
.legal-hero { border-bottom: 1px solid var(--line); padding-block: 74px 64px; background: var(--gray); }
.legal-hero .section__inner { max-width: 1240px; }
.legal-hero .eyebrow { margin: 0 0 15px; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-hero h1 { max-width: 900px; font-size: clamp(2.7rem,5vw,4.8rem); }
.legal-hero > .section__inner > p:last-child { max-width: 720px; margin: 23px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.legal-layout { display: grid; align-items: start; gap: clamp(50px,8vw,105px); grid-template-columns: 220px minmax(0,780px); justify-content: center; padding-block: 64px 108px; }
.legal-toc { position: sticky; top: 24px; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.legal-toc strong { padding: 16px 17px 12px; font-size: .76rem; }
.legal-toc a { border-top: 1px solid #edf0f4; padding: 10px 17px; color: #626d86; font-size: .73rem; line-height: 1.35; text-decoration: none; }
.legal-toc a:hover { color: var(--blue); background: #f7faff; }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 24px; border-top: 1px solid var(--line); padding-block: 36px 13px; }
.legal-content section:first-child { border-top: 0; padding-top: 0; }
.legal-content h2 { margin: 0 0 18px; font-size: clamp(1.45rem,2.6vw,2rem); line-height: 1.2; letter-spacing: -.035em; }
.legal-content h3 { margin: 27px 0 10px; font-size: 1.03rem; }
.legal-content p, .legal-content li { color: #46516b; font-size: .95rem; line-height: 1.78; }
.legal-content p { margin: 0 0 15px; }
.legal-content ul, .legal-content ol { display: grid; gap: 8px; margin: 14px 0 20px; padding-left: 22px; }
.legal-content a { color: var(--blue-dark); font-weight: 650; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-note { margin: 24px 0; border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; padding: 18px 20px; color: #26314e; background: #f2f6ff; font-size: .9rem; line-height: 1.65; }
.code-line { display: block; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; padding: 11px 13px; color: #22304f; background: var(--gray); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 700px; }
  .product-window { width: min(100%,760px); }
  .platforms { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .control-grid { grid-template-columns: 1fr; }
  .result-panel { max-width: 720px; }
  .youtube-grid { gap: 54px; }
}

@media (max-width: 760px) {
  .site-header__inner, .section__inner, .footer__inner, .legal-layout { width: min(calc(100% - 32px),1240px); }
  .site-header__inner { min-height: 66px; gap: 16px; }
  .brand img { width: 150px; }
  .site-nav { display: none; }
  .site-header .button { margin-left: auto; }
  .hero__inner { min-height: 0; gap: 40px; padding-block: 48px 62px; }
  .hero h1 { max-width: 600px; font-size: clamp(2.3rem,10.4vw,3.55rem); line-height: 1.06; }
  .hero__lead { margin-top: 20px; font-size: .99rem; line-height: 1.58; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 17px; margin-top: 27px; }
  .hero__actions .button { width: 100%; }
  .hero__actions .text-link { align-self: center; font-size: .85rem; }
  .hero__facts { margin-top: 25px; }
  .product-window { display: block; border-radius: 22px; }
  .product-window__nav { display: flex; min-height: 0; align-items: center; gap: 9px; padding: 12px 14px; }
  .app-icon--small { width: 31px; height: 31px; margin: 0; border-radius: 8px; font-size: .68rem; }
  .product-window__nav-items { display: none; }
  .product-window__main { padding: 12px; }
  .product-window__top { padding-inline: 2px; }
  .material-card { grid-template-columns: 54px 1fr; }
  .material-card__media { width: 52px; height: 52px; }
  .material-card__media svg { width: 36px; }
  .material-card .ui-state { display: none; }
  .destination-list { grid-template-columns: 1fr; }
  .destination { padding: 9px 10px; }
  .flow-summary { grid-template-columns: 1fr; }
  .flow-summary > div + div { border-top: 1px solid var(--line); border-left: 0; padding-top: 10px; padding-left: 0; }
  .section { padding-block: 70px; }
  .section__heading { gap: 10px; grid-template-columns: 1fr; margin-bottom: 38px; }
  .section__heading h2, .control-copy h2, .youtube-copy h2 { font-size: clamp(2rem,9vw,2.65rem); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; gap: 17px; grid-template-columns: 42px 1fr; border-top: 1px solid var(--line); padding: 20px 0; }
  .step:not(:last-child)::after { display: none; }
  .platforms { grid-template-columns: 1fr; }
  .platform { min-height: 0; padding: 22px; }
  .platform h3 { margin-top: 20px; }
  .control-grid { gap: 45px; }
  .result-panel { padding-inline: 15px; }
  .result-panel__head > span { display: none; }
  .result-row { grid-template-columns: 38px 1fr; }
  .result-status { grid-column: 2; justify-self: start; }
  .youtube-grid { grid-template-columns: 1fr; }
  .youtube-mark { min-height: 190px; }
  .transparency-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cta-band { align-items: stretch; flex-direction: column; padding: 30px 24px; }
  .cta-band .button { width: 100%; }
  .footer__inner { align-items: flex-start; flex-direction: column; }
  .footer__links { display: grid; justify-content: start; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .legal-hero { padding-block: 54px 44px; }
  .legal-hero h1 { font-size: clamp(2.4rem,11.5vw,3.5rem); overflow-wrap: anywhere; }
  .legal-hero > .section__inner > p:last-child { font-size: .96rem; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; padding-block: 32px 78px; }
  .legal-toc { position: static; }
  .legal-content p, .legal-content li { font-size: .92rem; }
}

@media (max-width: 560px) {
  .site-header__inner, .section__inner, .footer__inner, .legal-layout { width: min(calc(100% - 28px),1240px); }
  .site-header .button { min-height: 38px; padding: 8px 13px; font-size: .78rem; }
  .hero__inner { padding-top: 40px; }
  .hero h1 { font-size: 2.28rem; }
  .hero__facts { font-size: .77rem; }
  .material-card h2 { font-size: .75rem; }
  .destination strong { font-size: .69rem; }
  .transparency-links, .footer__links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
