/* Shared layout for all nine language versions. */
:root {
  --navy: #0b265e;
  --deep: #071f49;
  --green: #28bd6b;
  --green-dark: #158348;
  --ink: #142a50;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, iframe:focus-visible { outline: 3px solid #1473d2; outline-offset: 5px; }
h1, h2, h3, p { overflow-wrap: break-word; }
.site-header { background: #0b2651; color: #fff; }
.header-inner { max-width: 1500px; min-height: 74px; padding: 7px 24px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 62px; height: 62px; object-fit: contain; flex: 0 0 auto; }
.brand-name { font-weight: 800; font-size: 1.4375rem; letter-spacing: 0; line-height: 1.15; }
.lang-menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.lang-menu a { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 32px; padding: 5px 6px; border-radius: 8px; text-decoration: none; font-size: .75rem; font-weight: 750; white-space: nowrap; }
.lang-menu img { display: block; width: 16px; height: 11px; object-fit: cover; }
.lang-menu a.active, .lang-menu a:hover { background: var(--green-dark); color: #fff; }
.hero {
  background-color: #e8f5ff;
  background-image: linear-gradient(90deg, rgba(232,245,255,.98) 0%, rgba(232,245,255,.92) 24%, rgba(232,245,255,.35) 48%, rgba(232,245,255,0) 64%), url('/assets/hero-panorama-v5.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
  background-position: center;
  padding: 28px 24px 32px;
}
/* Natural grid rows grow with translated text and browser font settings. */
.hero-inner { width: 100%; max-width: 1500px; margin: auto; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.1fr) minmax(0, 1.22fr); gap: 30px 24px; align-items: center; }
.hero-inner > * { min-width: 0; }
.hero-heading { grid-column: 1 / 3; grid-row: 1; z-index: 2; }
h1 { margin: 0; color: var(--navy); font-family: Arial, Helvetica, sans-serif; font-size: 2.75rem; font-size: clamp(2.125rem, 2.75vw, 2.75rem); line-height: 1.14; letter-spacing: -.025em; font-weight: 800; }
.green-mark { height: 5px; width: 75px; border-radius: 9px; background: var(--green); margin: 12px 0 0; }
.hero-copy { grid-column: 1; grid-row: 2; align-self: center; }
.intro { font-size: 1rem; line-height: 1.5; margin: 0 0 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { font-size: .9375rem; font-weight: 750; line-height: 1.4; display: flex; align-items: center; gap: 9px; }
.checklist li::before { content: '✓'; background: #0ba960; color: #fff; border-radius: 50%; width: 23px; height: 23px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 23px; }
/* The video overlaps the continuous panoramic photograph. */
.hero-video { grid-column: 2; grid-row: 2; width: calc(100% + 80px); width: calc(100% + clamp(56px, 5vw, 80px)); align-self: center; position: relative; z-index: 3; margin: 0; }
.video-launch { display: block; position: relative; width: 100%; padding: 0; border: 4px solid #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 16px 34px #0b265e4c; cursor: pointer; background: #041b45; }
.video-launch img { display: block; width: 100%; height: auto; }
.play-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #ed142b; border-radius: 16px; width: 86px; height: 60px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px #0005; }
.play-mark::before { content: ''; width: 0; height: 0; margin-left: 5px; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 23px solid #fff; }
.video-caption { margin: 10px 0 0; text-align: center; font-size: .875rem; line-height: 1.4; font-weight: 750; color: var(--navy); }
.benefits { max-width: 1240px; padding: 30px 24px 20px; margin: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit { text-align: center; padding: 10px 23px; border-right: 1px solid #d4dff0; min-width: 0; }
.benefit:last-child { border: 0; }
.icon { height: 66px; width: 66px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--navy); }
.icon svg { width: 62px; height: 62px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.benefit h2 { font-size: 1.125rem; line-height: 1.3; margin: 0 0 10px; color: var(--navy); }
.benefit p { margin: 0; font-size: 1rem; }
.cta-section { padding: 26px 20px 44px; text-align: center; }
.cta { display: inline-block; max-width: 100%; border-radius: 999px; background: linear-gradient(120deg, #11713f, #158348); color: #fff; text-decoration: none; padding: 18px 48px; font-size: 1.375rem; font-size: clamp(1rem, 2vw, 1.4375rem); line-height: 1.4; font-weight: 800; box-shadow: 0 5px 0 #0a6033; overflow-wrap: break-word; }
.cta:hover { filter: brightness(1.08); }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; font-weight: 700; font-size: .875rem; }
.trust li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--green-dark); color: var(--green-dark); width: 21px; height: 21px; border-radius: 50%; margin-right: 8px; }
.audience { background: linear-gradient(130deg, #eaf5ff, #f5fbff); padding: 42px 22px 54px; text-align: center; }
.audience h2 { font-size: 2.125rem; font-size: clamp(1.5rem, 2.7vw, 2.125rem); line-height: 1.25; margin: 0; color: var(--navy); }
.center-mark { margin: 14px auto 25px; width: 68px; height: 5px; background: var(--green); border-radius: 8px; }
.audience-grid { max-width: 1160px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.audience-card { background: #fff; border-radius: 17px; text-align: left; padding: 27px; display: flex; align-items: center; gap: 18px; box-shadow: 0 8px 24px #0f376010; min-width: 0; }
.audience-card > div:last-child { min-width: 0; }
.audience-card .icon { width: 58px; height: 58px; flex: 0 0 58px; margin: 0; }
.audience-card .icon svg { width: 55px; height: 55px; }
.audience-card h3 { margin: 0 0 5px; font-size: 1.1875rem; }
.audience-card p { margin: 0; font-size: 1rem; }
.footer { background: var(--deep); color: #fff; padding: 30px 26px; }
.footer-inner { max-width: 1500px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .875rem; }
.footer .brand { gap: 8px; }
.footer .brand img { width: 52px; height: 52px; }
.footer .brand-name { font-size: 1rem; }
.footer-links { display: flex; gap: 12px 15px; align-items: center; flex-wrap: wrap; }
.footer a { overflow-wrap: anywhere; }
.footer-links a:hover { color: #76e7b4; }
.policy-page { max-width: 940px; margin: 38px auto 58px; padding: 0 26px; min-height: 50vh; }
.policy-page h1 { font-size: 2.375rem; font-size: clamp(1.875rem, 3.4vw, 2.375rem); }
.policy-page section { margin: 22px 0; }
.policy-page h2 { font-size: 1.25rem; color: var(--navy); margin: 0 0 9px; }
.policy-page h3 { font-size: 1.125rem; }
.policy-page p { font-size: 1rem; line-height: 1.72; margin: 0 0 12px; }
.policy-page a { color: #125a9b; text-decoration: underline; overflow-wrap: anywhere; }
.controller-details { margin: 16px 0 22px; border: 1px solid #d8e6f4; border-left: 5px solid var(--green); background: #f7fbff; border-radius: 10px; padding: 18px 22px; }
.controller-details address { font-style: normal; line-height: 1.75; overflow-wrap: anywhere; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 15px; top: 15px; z-index: 90; background: #fff; padding: 10px; color: var(--navy); }
.noscript-video { font-size: .875rem; text-align: center; }
/* The modal scrolls on short screens, including landscape phones. */
.modal { position: fixed; inset: 0; background: #00102bdc; z-index: 50; display: none; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.modal.open { display: flex; }
.modal-box { width: 100%; max-width: 1120px; max-height: 100%; position: relative; padding-top: 50px; padding-bottom: 12px; }
.modal-close { position: absolute; right: 0; top: 0; border: 0; background: #fff; color: var(--navy); height: 42px; width: 42px; border-radius: 50%; font-size: 1.875rem; line-height: 1; cursor: pointer; z-index: 2; box-shadow: 0 5px 18px #0007; }
.player-shell { background: #071e46; border: 4px solid #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 25px 60px #000a; }
.player-shell iframe { display: block; width: 100%; height: 56.25vw; max-height: calc(100vh - 110px); aspect-ratio: 16 / 9; border: 0; }
@supports (aspect-ratio: 16 / 9) { .player-shell iframe { height: auto; } }
.consent-panel { padding: 30px; color: #fff; background: #092653; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.consent-panel p { max-width: 730px; margin: 0; font-size: 1.0625rem; }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn { padding: 11px 27px; border: 0; border-radius: 8px; font-weight: 750; cursor: pointer; }
.btn-primary { background: var(--green-dark); color: #fff; }
.btn-danger { background: #b52932; color: #fff; }
body.modal-open { overflow: hidden; }
@media (max-width: 1099px) {
  .hero { display: block; min-height: 0; background: linear-gradient(110deg, #e8f5ff, #deeffe); }
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
  .lang-menu { justify-content: center; }
  .hero-inner { max-width: 960px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 32px; }
  .hero-heading { grid-column: 1 / -1; }
  .hero-video { width: 100%; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .benefit:nth-child(2n) { border-right: 0; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { max-width: 680px; width: 100%; margin: auto; }
}
@media (max-width: 720px) {
  .hero { padding: 26px 18px 30px; }
  .hero-inner { max-width: 640px; display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
  .hero-heading, .hero-copy, .hero-video { width: 100%; }
  /* One common font size, fitted to the longest translation (Russian). */
  .hero-heading h1 {
    font-size: calc((100vw - 48px) / 15.97);
    font-size: min(2.625rem, calc((100vw - 48px) / 15.97), calc(620px / 15.97));
    line-height: 1.12;
    letter-spacing: -.025em;
    white-space: nowrap;
  }
  .hero-copy, .hero-video { align-self: stretch; }
  /* Show the full presentation before the explanatory text on phones. */
  .hero-heading { order: 0; }
  .hero-video { order: 1; }
  .hero-copy { order: 2; min-height: 0; }
  .hero-heading .green-mark { margin-top: 14px; }
  .checklist li { font-size: 1rem; }
  .video-caption { font-size: .875rem; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }
}
@media (max-width: 560px) {
  .header-inner { padding: 8px 10px 10px; flex-direction: column; gap: 6px; }
  .site-header .brand { gap: 8px; max-width: 100%; justify-content: center; }
  .site-header .brand img { width: 52px; height: 52px; }
  .site-header .brand-name { font-size: 1.0625rem; font-size: clamp(.875rem, 4.2vw, 1.1875rem); }
  .lang-menu { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0; }
  .lang-menu a { flex: 0 0 28px; min-width: 0; min-height: 36px; padding: 6px 2px; }
  .lang-menu img { width: 24px; height: 16px; }
  .lang-menu .lang-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .hero { padding: 24px 16px 28px; }
  .hero-inner { gap: 20px; }
  .intro { margin-bottom: 17px; }
  .video-launch { border: 3px solid #fff; border-radius: 12px; }
  .play-mark { width: 70px; height: 49px; border-radius: 12px; }
  .play-mark::before { border-top-width: 11px; border-bottom-width: 11px; border-left-width: 19px; }
  .benefits { padding: 20px 10px 8px; gap: 0; }
  .benefit { padding: 16px 10px; border-bottom: 1px solid #d4dff0; }
  .benefit:nth-last-child(-n+2) { border-bottom: 0; }
  .benefit .icon { width: 48px; height: 48px; margin-bottom: 9px; }
  .benefit .icon svg { width: 46px; height: 46px; }
  .benefit h2 { font-size: 1rem; margin-bottom: 7px; }
  .benefit p { font-size: .875rem; line-height: 1.5; }
  .cta-section { padding: 20px 16px 30px; }
  .cta { display: block; width: 100%; max-width: 440px; margin: auto; padding: 16px 18px; font-size: 1rem; }
  .trust { gap: 10px 18px; margin-top: 22px; }
  .audience { padding: 30px 16px 36px; }
  .audience-grid { gap: 14px; }
  .audience-card { padding: 18px 14px; gap: 12px; }
  .audience-card .icon { width: 46px; height: 46px; flex: 0 0 46px; }
  .audience-card .icon svg { width: 44px; height: 44px; }
  .audience-card h3 { font-size: 1.0625rem; }
  .audience-card p { font-size: .875rem; }
  .footer { padding: 24px 16px; }
  .footer .brand img { width: 46px; height: 46px; }
  .footer .brand-name { font-size: .875rem; }
  .policy-page { margin-top: 28px; padding: 0 18px; }
  .controller-details { padding: 16px; }
  .modal { padding: 10px; }
  .consent-panel { padding: 24px 16px; min-height: 0; }
  .consent-panel p { font-size: 1rem; }
}
@media (max-width: 359px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit:nth-child(2n) { border-right: 0; border-bottom: 1px solid #d4dff0; }
  .benefit:last-child { border-bottom: 0; }
  .lang-menu { gap: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .hero-video, .modal, .cta-section { display: none; }
  .hero-inner { display: block; }
  .hero-heading { margin-bottom: 20px; }
  .hero, .audience, .footer { background: #fff; color: #000; }
}
