:root {
  --paper: #fcfbf9;
  --ink: #191a19;
  --muted: #62615d;
  --accent: #e74624;
  --line: #deddd8;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #ce3717; outline-offset: 5px; }
button { touch-action: manipulation; }
[hidden], html[lang=en] .lang-uk, html[lang=uk] .lang-en { display: none !important; }
.skip { position: fixed; z-index: 30; left: 1rem; top: -6rem; background: white; border-radius: 4px; padding: .8rem 1rem; }
.skip:focus { top: 1rem; }
.site-frame { margin: 0 clamp(12px,2.1vw,38px); border-inline: 1px solid var(--line); }
.section-shell { width: min(100%, 1240px); margin-inline: auto; padding-inline: 32px; }
.masthead { position: relative; z-index: 5; border-bottom: 1px solid var(--line); }
.masthead::before, .masthead::after { content: ""; position: absolute; bottom: -3.5px; width: 6px; height: 6px; border: 1px solid var(--accent); border-radius: 50%; background: var(--paper); }
.masthead::before { left: -3.5px; } .masthead::after { right: -3.5px; }
.masthead-inner { min-height: 76px; max-width: 1680px; margin: auto; padding: 12px clamp(18px,2.5vw,42px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand-link { display: inline-flex; justify-self: start; align-items: center; }
.brand-link img { width: clamp(112px,10.6vw,154px); height: auto; object-fit: contain; }
.desktop-nav { display: flex; gap: 4px; align-items: center; border: 1px solid #e7e5df; background: #fff; border-radius: 30px; padding: 4px 8px; box-shadow: 0 3px 7px #3b2d1b06; }
.desktop-nav a { padding: 8px 13px; border-radius: 22px; font-size: .84rem; font-weight: 550; transition: background .18s; }
.desktop-nav a:hover { background: #f1f0ec; }
.nav-actions { display: flex; justify-self: end; align-items: center; gap: 20px; }
.language-control { display: inline-flex; align-items: center; gap: 2px; }
.language-control button { border: 0; background: transparent; padding: 9px 4px; font: 500 .76rem var(--mono); color: #73716e; }
.language-control button[aria-pressed=true] { color: var(--ink); font-weight: 750; }
.language-control span { display: inline-block; width: 1px; height: 10px; background: #cfcdc7; transform: rotate(18deg); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border-radius: 100px; font-size: .9rem; font-weight: 600; letter-spacing: -.025em; color: white; background: linear-gradient(170deg,#f05430,#df3c1b); border: 1px solid #d1391a; box-shadow: inset 0 1px 0 #ffffff39, 0 6px 15px -7px #e7462470; transition: background .18s, transform .18s, box-shadow .18s; }
.button:hover { background: #ce3619; transform: translateY(-1px); box-shadow: 0 7px 15px -6px #d339235e; }
.header-cta { min-height: 40px; padding: 0 19px; font-size: .82rem; }
.menu-toggle, .mobile-nav { display: none; }
.hero { position: relative; border-bottom: 1px solid var(--line); padding-top: clamp(24px,2.7vw,43px); }
.hero-frame { position: relative; width: min(calc(100% - 64px), 826px); margin: 0 auto; padding: 16px 18px 12px; text-align: center; }
.crop { width: 15px; height: 15px; position: absolute; border: solid #b9b8b1; border-width: 0; pointer-events: none; }
.crop-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.crop-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.crop-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.crop-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.ai-label { display: inline-flex; align-items: center; gap: 8px; vertical-align: top; font: 550 .7rem var(--mono); line-height: 1.3; letter-spacing: .104em; padding: 5px 10px 5px 9px; border: 1px solid #e6ded5; border-radius: 99px; color: #5a5149; background: #faf5ef; }
.ai-label i { width: 6px; height: 6px; border-radius: 100%; background: var(--accent); box-shadow: 0 0 0 2px #f7dbd1; }
.hero h1 { margin: clamp(20px,1.7vw,28px) 0 0; font-size: clamp(4.3rem,6.8vw,7.1rem); line-height: .98; font-weight: 575; letter-spacing: -.08em; }
.headline-first { display: block; margin-bottom: .07em; }
.headline-selection { display: inline-block; position: relative; color: var(--accent); padding: 0 .075em .045em .025em; border: 1px solid #a8a49c; line-height: .92; }
.handle { position: absolute; width: 6px; height: 6px; background: var(--paper); border: 1px solid #79776e; border-radius: 1px; pointer-events: none; }
.h-tl,.h-bl { left: -3.5px; } .h-tr,.h-br { right: -3.5px; } .h-tc,.h-bc { left: calc(50% - 3px); }
.h-tl,.h-tc,.h-tr { top: -3.5px; } .h-bl,.h-bc,.h-br { bottom: -3.5px; }
.ratio-tag { position: absolute; top: -10px; left: calc(100% + 10px); line-height: 1; border-radius: 3px; padding: 4px 6px; background: #242522; color: #fff; font: 500 .68rem var(--mono); letter-spacing: 0; white-space: nowrap; }
.hero-copy { max-width: 555px; margin: 24px auto 0; color: #565652; font-size: clamp(1rem,1.23vw,1.15rem); line-height: 1.47; letter-spacing: -.031em; text-wrap: pretty; }
.hero-actions { margin-top: 25px; display: flex; justify-content: center; align-items: center; gap: 24px; }
.primary-cta { padding: 0 23px; }
.text-cta { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 580; letter-spacing: -.025em; padding: 12px 0; }
.text-cta > span:last-child { border-bottom: 1px solid #8e8a80; padding-bottom: 1px; }
.text-cta:hover { color: var(--accent); }
.tiny-play { width: 16px; height: 16px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; }
.tiny-play::after { content: ""; width: 0; height: 0; border-block: 3px solid transparent; border-left: 4px solid currentColor; margin-left: 1px; }
.site-footer { border-top: 1px solid var(--line); }
.foot-inner { width: min(100%,1240px); margin: 0 auto; padding: 35px 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: .85rem; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.copyright { color: #78756f; font-size: .8rem; }
.player-dialog { width: fit-content; min-width: min(290px,94vw); max-width: min(980px,94vw); max-height: 94dvh; margin: auto; padding: 0; border: 1px solid #4b4943; border-radius: 15px; background: #191919; color: white; overflow: auto; box-shadow: 0 20px 100px #0004; }
.player-dialog::backdrop { background: #151511bd; backdrop-filter: blur(6px); }
.player-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 14px 11px 18px; }
.player-header h2 { font-size: .95rem; margin: 0; font-weight: 550; letter-spacing: -.025em; }
.player-close { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #555; background: #343434; }
.player-dialog video { display: block; margin-inline: auto; width: auto; height: min(73dvh,780px); max-width: 100%; object-fit: contain; background: #111; }
.playback-error { padding: .6rem 1rem; }
@media(max-width: 970px) {
  .masthead-inner { gap: 12px; padding-inline: 20px; }
  .desktop-nav a { padding-inline: 11px; }
  .nav-actions { gap: 10px; }
  .hero-frame { width: min(calc(100% - 50px),720px); }
  .hero h1 { font-size: clamp(4.4rem,8.4vw,6rem); }
  .hero-copy { max-width: 505px; }
}
@media(max-width: 700px) {
  .site-frame { margin-inline: 11px; }
  .masthead-inner { min-height: 63px; display: flex; justify-content: space-between; padding: 10px 15px; }
  .nav-actions { gap: 12px; }
  .desktop-nav, .header-cta { display: none; }
  .brand-link img { width: 121px; }
  .menu-toggle { display: grid; place-content: center; gap: 4px; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
  .menu-toggle i { display: block; width: 14px; height: 1px; background: var(--ink); }
  .menu-toggle[aria-expanded=true] i:first-child { transform: translateY(2.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: grid; position: absolute; top: 100%; right: 0; left: 0; padding: 12px 20px 16px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: var(--paper); box-shadow: 0 12px 20px #29251a12; }
  .mobile-nav a { padding: 11px 4px; font-size: .93rem; }
  .hero { padding-top: 26px; }
  .hero-frame { width: calc(100% - 26px); padding: 12px 10px; }
  .crop { width: 10px; height: 10px; }
  .hero h1 { font-size: clamp(3.1rem,10.4vw,4.7rem); margin-top: 21px; }
  html[lang=uk] .hero h1 { font-size: clamp(2.8rem,9.1vw,4.15rem); }
  .ratio-tag { left: calc(100% + 3px); top: -15px; font-size: .52rem; }
  .hero-copy { font-size: 1rem; max-width: 440px; margin-top: 20px; line-height: 1.48; padding-inline: 2px; }
  .hero-actions { gap: 18px; margin-top: 19px; }
  .primary-cta { padding-inline: 17px; }
  .foot-inner { padding: 26px 18px; flex-wrap: wrap; gap: 22px; }
  .footer-links { order: 3; flex-basis: 100%; gap: 18px; }
  .section-shell { padding-inline: 18px; }
}
@media(max-width: 359px) {
  .hero-frame { width: calc(100% - 12px); }
  .hero-actions { gap: 11px; }
  .text-cta, .primary-cta { font-size: .8rem; }
  .ratio-tag { display: none; }
}
@media(prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: .01ms !important; }
}
