/* Self-hosted (Google Fonts latin + latin-ext). Не редагувати вручну — див. site/src/fonts/. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-400-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-400-latin.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-600-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-600-latin.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-700-latin-ext.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-700-latin.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;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sora-600-latin-ext.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: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sora-600-latin.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;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/sora-700-latin-ext.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: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/sora-700-latin.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;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/sora-800-latin-ext.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: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/sora-800-latin.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;
}

/* Шрифти self-host: @font-face додається build.py з site/src/fonts.css */

:root {
  --ink-900: #1a1029;
  --ink-800: #241a3d;
  --ink-700: #332654;
  --ink-100: #e7e3ef;
  --ink-050: #f7f5fa;
  --teal-600: #0c8579;
  --teal-500: #0f9b8e;
  --teal-400: #3eb6ab;
  --teal-200: #a9e1db;
  --teal-100: #dff4f2;
  --coral-700: #d6383d;
  --coral-400: #ff7b7f;
  --coral-600: #f04a50;
  --coral-500: #ff5a5f;
  --green-500: #2fa84f;
  --white: #fff;
  --surface-page: #f7f5fa;
  --surface-card: #fff;
  --surface-dark: #241a3d;
  --surface-dark-raised: #332654;
  --text-heading: #241a3d;
  --text-body: #4a4458;
  --text-muted: #6b5c90;
  --text-legal: #6b5c90;
  --text-legal-on-dark: #b7b0c8;
  --text-on-dark: #fff;
  --text-on-dark-muted: #cdc7da;
  --action-primary: #ff5a5f;
  --action-primary-hover: #f04a50;
  --action-primary-press: #d6383d;
  --accent: #0f9b8e;
  --accent-text: #0b7a6f;
  --accent-hover: #0c8579;
  --trust: #2fa84f;
  --border-subtle: #e7e3ef;
  --border-on-dark: rgba(255, 255, 255, 0.14);
  --focus-ring: #0f9b8e;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-text: "Manrope", "Segoe UI", system-ui, sans-serif;
  --container-max: 1200px;
  --section-pad-y: 88px;
  --section-pad-y-sm: 56px;
  --grid-gap: 24px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --btn-h: 50px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-cta: 0 6px 18px rgba(255, 90, 95, 0.28);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --blur-nav: saturate(1.2) blur(12px);
  --slider-track-h: 6px;
  --slider-thumb: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font: 400 16px/1.6 var(--font-text);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
}
a {
  color: var(--accent-text);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--blur-nav);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 18px/1 var(--font-display);
  color: var(--text-heading);
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover {
  text-decoration: none;
}
.logo img {
  width: 43px;
  height: 36px;
  border-radius: 0;
  flex: none;
}
.logo-text span {
  color: var(--accent-text);
}
.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo img {
  width: 201px;
  height: 52px;
  border-radius: 0;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text-heading);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  font: 600 15px/1 var(--font-text);
  color: var(--text-heading);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  color: var(--accent-text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font: 600 16px/1 var(--font-text);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink-900);
  background: var(--action-primary);
  transition: background var(--dur-base) var(--ease-out), transform 120ms var(--ease-out);
}
.btn:hover {
  background: var(--coral-400);
  color: var(--ink-900);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 15px;
}

.hero {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f9b8e, #463672);
  opacity: 0.16;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin: 0 0 16px;
  font: 800 48px/1.1 var(--font-display);
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 18ch;
}
.hero .lead {
  margin: 0 0 28px;
  max-width: 62ch;
  color: var(--text-on-dark-muted);
  font-size: 18px;
}

.calc-wrap {
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
}
.calc {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--grid-gap);
  align-items: stretch;
}
.calc-controls {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: grid;
  gap: 40px;
  align-content: start;
}
.range-field {
  display: grid;
  gap: 12px;
}
.range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.range-head label {
  font: 600 15px/1 var(--font-text);
  color: var(--text-muted);
}
.range-head output {
  font: 800 26px/1 var(--font-display);
  color: var(--text-heading);
}
.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-legal);
}
.cfl-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: var(--slider-track-h);
  border-radius: var(--radius-pill);
  background: var(--border-subtle);
  outline: none;
  margin: 0;
}
.cfl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--slider-thumb);
  height: var(--slider-thumb);
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--white);
  box-shadow: 0 2px 8px rgba(15, 155, 142, 0.45);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out);
}
.cfl-range::-webkit-slider-thumb:hover {
  transform: scale(1.08);
}
.cfl-range::-webkit-slider-thumb:active {
  transform: scale(0.96);
}
.cfl-range::-moz-range-thumb {
  width: var(--slider-thumb);
  height: var(--slider-thumb);
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--white);
  box-shadow: 0 2px 8px rgba(15, 155, 142, 0.45);
  cursor: pointer;
}
.calc-result {
  background: var(--surface-dark);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  display: grid;
  gap: 20px;
  align-content: start;
}
.calc-result .eyebrow {
  font: 600 11px/1 var(--font-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-200);
  margin-bottom: 12px;
}
.calc-result .total {
  font: 800 44px/1 var(--font-display);
  color: var(--teal-400);
  letter-spacing: -0.02em;
}
.calc-breakdown {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border-on-dark);
  padding-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}
.calc-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.calc-breakdown .is-due {
  color: var(--text-on-dark);
  font-weight: 700;
}
.calc-result .btn {
  width: 100%;
}
.calc-disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}

.article {
  padding: var(--section-pad-y) 0;
}
.article h2 {
  font: 700 32px/1.2 var(--font-display);
  color: var(--text-heading);
  margin: 48px 0 16px;
  letter-spacing: -0.015em;
}
.article h2:first-child {
  margin-top: 0;
}
.article h3 {
  font: 600 22px/1.3 var(--font-display);
  color: var(--text-heading);
  margin: 28px 0 12px;
}
.article p {
  margin: 0 0 16px;
}
.article ul,
.article ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.article li {
  margin-bottom: 6px;
}
.table-scroll {
  overflow-x: auto;
  margin: 0 0 24px;
  border-radius: var(--radius-card);
  -webkit-overflow-scrolling: touch;
}
.table-scroll:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.article table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0;
  font-size: 15px;
}
.article th,
.article td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.article th {
  background: var(--teal-100);
  color: var(--text-heading);
}
.article .figure {
  margin: 24px 0;
}
.article .figure figcaption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.article .article-cta {
  margin: 24px 0 8px;
}

.faq details {
  border-bottom: 1px solid var(--border-subtle);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font: 700 18px/1.4 var(--font-display);
  color: var(--text-heading);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.faq details[open] summary::after {
  content: "×";
  background: var(--accent);
  color: #fff;
}
.faq details p {
  margin: 0 48px 20px 0;
}

.cta-band {
  background: var(--coral-500);
  color: var(--ink-900);
  text-align: center;
  padding: 56px 24px;
}
.cta-band .cta-title {
  margin: 0 0 12px;
  font: 700 32px/1.2 var(--font-display);
  color: var(--ink-900);
}
.cta-band .btn {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.cta-band .btn:hover {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.form-section {
  padding: 0 0 var(--section-pad-y);
}
.form-card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  max-width: 640px;
}
.form-card .form-title {
  margin: 0 0 8px;
  font: 700 28px/1.2 var(--font-display);
  color: var(--text-heading);
}
.field {
  margin: 16px 0;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-heading);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  font: 400 16px/1.4 var(--font-text);
}
.field .error {
  color: var(--coral-600);
  font-size: 13px;
  display: none;
}
.field.is-invalid .error {
  display: block;
}
.form-success {
  padding: 24px;
  background: var(--teal-100);
  border-radius: var(--radius-card);
  color: var(--text-heading);
  font-weight: 600;
}
.form-success[hidden] {
  display: none;
}

.site-footer {
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.site-footer a {
  color: var(--text-on-dark-muted);
  display: block;
  margin: 8px 0;
  font-size: 15px;
}
.site-footer h3 {
  margin: 0 0 12px;
  font: 600 11px/1 var(--font-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-200);
}
.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-legal-nav a {
  display: inline-block;
  margin: 0;
}
.legal-line {
  border-top: 1px solid var(--border-on-dark);
  margin-top: 48px;
  padding-top: 24px;
  font: 400 12px/1.5 var(--font-text);
  color: var(--text-legal-on-dark);
}
.legal-line a {
  display: inline;
  margin: 0;
  color: var(--teal-200);
  text-decoration: underline;
}
.crumbs {
  padding: 16px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}
.crumbs a {
  color: var(--accent-text);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
    max-width: none;
  }
  .logo-text {
    font-size: 15px;
    white-space: normal;
    max-width: 150px;
    line-height: 1.15;
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border-subtle);
    align-items: flex-start;
  }
  .nav.is-open {
    display: flex;
  }
  .calc-wrap {
    margin-top: 24px;
  }
  .calc {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
