@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-cyrillic-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sea: #0c5a9e;
  --sea-dark: #08396a;
  --sky: #5fc4f5;
  --ink: #1d2b44;
  --muted: #5d6b85;
  --paper: #ffffff;
  --line: #e3e9f3;
  --orange: #ff8a1f;
  --orange-dark: #d9650a;
  --green: #2fc46a;
  --red: #ef4b4b;
  --yellow: #ffc83d;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -120px, #7fd4ff 0%, transparent 70%),
    linear-gradient(180deg, #2c8fd6 0%, var(--sea) 340px, var(--sea-dark) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sea); font-weight: 800; }

/* Смуга «контейнерів» угорі */
.stripe {
  height: 10px;
  background: repeating-linear-gradient(90deg,
    var(--red) 0 60px, var(--yellow) 60px 120px, var(--green) 120px 180px,
    #3f8cff 180px 240px, var(--orange) 240px 300px, #a35cff 300px 360px);
}

.top {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 1000;
  font-size: 22px;
  letter-spacing: .5px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .25);
}
.spacer { flex: 1; }

.lang {
  display: flex;
  background: rgba(0, 0, 0, .22);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.lang button {
  border: 0;
  background: transparent;
  color: #d6ecff;
  font: inherit;
  font-weight: 900;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.lang button.on {
  background: #fff;
  color: var(--sea);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .2);
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 48px;
}

/* ---------- Головна ---------- */
.hero {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 0 rgba(0, 0, 0, .18), 0 24px 50px rgba(0, 0, 0, .25);
  aspect-ratio: 1024 / 500;
  background: var(--sea-dark);
}
.hero img { width: 100%; height: 100%; display: block; object-fit: cover; }

.intro {
  text-align: center;
  color: #fff;
  margin: 34px auto 26px;
  max-width: 640px;
}
.intro h1 {
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 1000;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .25);
}
.intro p { font-size: 18px; margin: 0; color: #e2f2ff; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffa23f, var(--orange));
  color: #fff;
  text-decoration: none;
  font-weight: 1000;
  font-size: 18px;
  box-shadow: 0 6px 0 var(--orange-dark), 0 12px 24px rgba(0, 0, 0, .25);
  transition: transform .12s, box-shadow .12s;
}
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--orange-dark); }
.cta.soon { background: linear-gradient(180deg, #4fb0ff, #2a86e0); box-shadow: 0 6px 0 #1b62ad, 0 12px 24px rgba(0, 0, 0, .25); cursor: default; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 10px 0 30px;
}
.feature {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 6px 0 #c7d5ea;
}
.feature .ic { font-size: 30px; line-height: 1; }
.feature h3 { margin: 10px 0 4px; font-size: 18px; font-weight: 1000; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.shots {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 10px 0 34px;
}
.shots img {
  width: min(42vw, 260px);
  border-radius: 20px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, .2), 0 20px 40px rgba(0, 0, 0, .3);
}
.shots img:nth-child(1) { transform: rotate(-3deg); }
.shots img:nth-child(2) { transform: rotate(3deg) translateY(16px); }

/* ---------- Документ (політика) ---------- */
.doc {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(22px, 5vw, 48px);
  box-shadow: 0 8px 0 #b9cbe4, 0 24px 50px rgba(0, 0, 0, .22);
}
.doc .badge {
  display: inline-block;
  background: #eaf4ff;
  color: var(--sea);
  font-weight: 900;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.doc h1 {
  margin: 0 0 6px;
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.15;
  font-weight: 1000;
}
.doc .date { color: var(--muted); margin: 0 0 22px; font-weight: 700; }
.doc h2 {
  font-size: 20px;
  font-weight: 1000;
  margin: 30px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc h2 .n {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  background: var(--sea);
  box-shadow: 0 3px 0 var(--sea-dark);
}
.doc h2:nth-of-type(6n+2) .n { background: var(--orange); box-shadow: 0 3px 0 var(--orange-dark); }
.doc h2:nth-of-type(6n+3) .n { background: var(--green); box-shadow: 0 3px 0 #1f9a50; }
.doc h2:nth-of-type(6n+4) .n { background: #a35cff; box-shadow: 0 3px 0 #7a3bd1; }
.doc h2:nth-of-type(6n+5) .n { background: var(--red); box-shadow: 0 3px 0 #c13434; }
.doc h2:nth-of-type(6n) .n { background: #e0a400; box-shadow: 0 3px 0 #b38200; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.doc li::marker { color: var(--orange); }

.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 0 0 8px;
}
.summary div {
  background: #f3f8ff;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
}
.summary b { display: block; font-size: 22px; line-height: 1.2; margin-bottom: 2px; }

table.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 10px 0;
  font-size: 15px;
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
table.data th, table.data td { text-align: left; padding: 10px 12px; vertical-align: top; }
table.data th { background: #f3f8ff; font-weight: 900; }
table.data tr + tr td { border-top: 2px solid var(--line); }

.contact {
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff6e9, #ffeccf);
  border: 2px solid #ffd59a;
  font-weight: 700;
}

[data-lang-block] { display: none; }
[data-lang-block].on { display: block; }

footer {
  text-align: center;
  color: #bcdcff;
  font-size: 14px;
  padding: 10px 20px 36px;
}
footer a { color: #fff; }

@media (max-width: 560px) {
  .brand span { display: none; }
  .doc h2 { font-size: 18px; }
  table.data { font-size: 14px; }
}
span[data-lang-block].on { display: inline; }
table.data { table-layout: fixed; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 560px) {
  .doc { padding: 22px 16px; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr:first-child { display: none; }
  table.data tr + tr td { border-top: 0; }
  table.data tr { padding: 10px 12px; }
  table.data tr + tr { border-top: 2px solid var(--line); }
  table.data td { padding: 2px 0; }
  table.data td:first-child { font-weight: 900; }
  table.data td:nth-child(2)::before { content: '→ '; color: var(--orange); font-weight: 900; }
  table.data td:nth-child(3) { color: var(--muted); font-size: 13px; }
}
html, body { overflow-x: hidden; }
