@charset "UTF-8";
/* ============================================================
   Static Landing Template — main entry
   Generated CSS lives in /css/main.css (do NOT edit by hand).
   Edit the partials below, save, and Live Sass Compiler will
   rebuild main.css automatically.

   Load order matters — keep this list in cascade order:
     1. abstracts  — variables + mixins (no output of their own)
     2. base       — reset, page shell, typography
     3. layout     — header, footer, hero (page structure)
     4. components — buttons, forms, modal, faq, avatar (reusable)
     5. pages      — subpage + legal-page specifics
     6. utilities  — helpers, animations, a11y
     7. responsive — all media queries (last, to win the cascade)

   Add a new section style:
     1. Create scss/components/_my-section.scss (note the underscore)
     2. Add @use 'components/my-section'; below
     3. Save main.scss — compiler regenerates main.css
   ============================================================ */
/* ============================================================
   CSS Variables — design tokens
   Edit these to retheme the entire site.
   ============================================================ */
:root {
  --accent-color: #3B82F6;
  --accent-color-hover: #2563EB;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-gradient: linear-gradient(135deg, #3B82F6, #3B82F6);
  --contrast-color: #FFFFFF;
  --page-background: #FFFFFF;
  --text-color: #1F2937;
  --text-muted: #6B7280;
  --header-background: rgba(255, 255, 255, 0.95);
  --footer-background: #111827;
  --footer-text-color: #9CA3AF;
  --modal-background: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 0, 0, 0.08);
  --section-alt-bg: #F9FAFB;
  --green: #10B981;
  --cyan: #06B6D4;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --main-font: 'Inter', sans-serif;
  --heading-font: 'Inter', sans-serif;
  --default-text: 16px;
  --text-size-h1: 48px;
  --text-size-h2: 36px;
  --text-size-h3: 24px;
  --text-size-h4: 20px;
}

/* ============================================================
   Sass mixins — reusable patterns
   Use these instead of writing media queries by hand.
   Example:
     .card {
       padding: 36px;
       @include tablet { padding: 24px; }
       @include mobile { padding: 18px; }
     }
   ============================================================ */
/* 2-column grid that collapses to single column on mobile */
/* Glass card surface */
/* Image-fills-text-column trick — image height = text column height */
/* ============================================================
   Minimal reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

p {
  margin: 0;
}

/* ============================================================
   Base — page shell, container, section primitives
   ============================================================ */
html, body {
  color: var(--text-color);
  font-family: var(--main-font);
  font-size: var(--default-text);
  background-color: var(--page-background);
}

.page-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--page-background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  width: 100%;
}

section {
  position: relative;
  z-index: 0;
  scroll-margin-top: 50px;
}

section p {
  word-break: break-word;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--section-alt-bg);
}

.sec-background, .page-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  pointer-events: none;
}

.page-background {
  position: fixed;
  z-index: 0;
}

.text-section {
  padding: 130px 0;
}

.text-section table {
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
}

.full-height {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fade {
  opacity: 0.5;
}

.text-accent {
  color: var(--accent-color);
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-color);
  font-size: 20px;
  font-weight: 700;
}

.rating svg {
  width: 25px;
  height: 24px;
  margin-bottom: 3px;
}

/* ============================================================
   Typography — global heading + paragraph rules.
   h2/h3/h4 sizing must hold across every section — never write
   .section-x h2 { font-size: ... }. Fix global, not local.
   ============================================================ */
h1 {
  font-family: var(--heading-font);
  font-size: var(--text-size-h1);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--text-color);
}

h2 {
  font-family: var(--heading-font);
  font-size: var(--text-size-h2);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--text-color);
}

h3 {
  font-family: var(--heading-font);
  font-size: var(--text-size-h3);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--text-color);
}

h4 {
  font-family: var(--heading-font);
  font-size: var(--text-size-h4);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--text-color);
}

section p, p {
  font-size: var(--default-text);
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-muted);
}

section p:last-child {
  margin-bottom: 0;
}

section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

section ul li:last-child {
  margin-bottom: 0;
}

section ul li::before {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
  left: 6px;
  top: 9px;
}

/* ============================================================
   Header — fixed nav, logo, burger menu, dropdowns
   On mobile (≤1200px), burger replaces nav. Mobile overlay
   rules live in _responsive.scss to keep this file readable.
   ============================================================ */
.header {
  position: fixed;
  background-color: var(--header-background);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
  padding: 8px 0;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header.header--scroll {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header.header--static {
  position: static;
}

.header.header--hide {
  transform: translateY(-100%);
}

.header.header--transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}

.header.header--transparent.header--scroll {
  background-color: var(--header-background);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.header__top-text {
  position: absolute;
  font-size: 8px;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
  width: 100%;
  text-align: center;
  z-index: 3;
  color: var(--text-muted);
}

.header__top-text a {
  color: var(--text-muted) !important;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  max-width: 225px;
  height: 60px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo span {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.5px;
}

.logo span em {
  font-style: normal;
  color: var(--accent-color);
}

.wrap-nav {
  display: flex;
  gap: 20px;
}

ul.nav {
  display: flex;
  gap: 24px;
}

ul.nav a {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  color: var(--text-muted);
  transition: color 0.3s;
}

ul.nav a:hover, ul.nav a.active {
  color: var(--text-color);
}

ul.nav a::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: right;
}

ul.nav a:hover::before, ul.nav a.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__btn .desktop-hidden {
  display: none;
}

.resources-nav {
  position: relative;
}

.resources-nav.active svg {
  transform: rotateX(180deg);
}

.resources-nav__title {
  cursor: pointer;
}

.resources-nav__title svg {
  width: 14px;
  height: 8px;
  transition: transform 0.1s;
}

.resources-nav__list {
  position: absolute;
  display: none;
  background-color: var(--modal-background);
  padding: 10px 15px;
  top: 110%;
  width: calc(100% + 20px);
  left: -10px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--glass-border);
}

.resources-nav__list li {
  margin-bottom: 5px;
}

.resources-nav__list li:last-child {
  margin-bottom: 0;
}

.resources-nav__list a:hover {
  text-shadow: 0.5px 0 0 currentColor;
}

.header-top-menu, .header-bottom-menu {
  width: 100%;
}

.header-menu--top, .header-menu--bottom {
  width: 100%;
}

.header-menu--top .header-menu__list, .header-menu--bottom .header-menu__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.header-menu__item {
  margin: 0;
}

.header-menu__link {
  display: block;
  color: var(--text-color);
  transition: color 0.3s;
  font-weight: 500;
}

.header-menu__link:hover, .header-menu__link.active-link {
  color: var(--accent-color);
}

.header-menu--top {
  padding: 10px 0;
}

.header-menu--top .header-menu__link {
  font-size: 14px;
}

.header-menu--bottom {
  padding: 15px 0;
}

.header-menu--bottom .header-menu__link {
  font-size: 16px;
}

.header__timer {
  padding: 15px 15px 5px;
  text-align: center;
  width: 100%;
  background: var(--accent-color);
  color: var(--contrast-color);
  position: relative;
  z-index: 2;
  display: none;
}

.with-timer .header {
  padding: 0 0 8px;
}

.with-timer .header__timer {
  display: block;
}

.with-timer .header__wrapper {
  padding-top: 8px;
}

/* Burger — visible on ≤1200px (see _responsive.scss) */
.burger {
  height: 16px;
  width: 30px;
  justify-content: center;
  align-items: center;
  z-index: 350;
  cursor: pointer;
  transition: all 0.3s;
  display: none;
  position: relative;
  margin-right: 12px;
}

.burger::before {
  position: absolute;
  content: "";
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.03);
  width: 44px;
  height: 40px;
  top: -10px;
}

.burger span {
  position: absolute;
  background: var(--text-color);
  height: 3px;
  width: 30px;
  display: block;
  transition: all 0.3s;
  border-radius: 5px;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger span:nth-child(3) {
  bottom: 0;
}

.burger.active span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  bottom: 7px;
  transform: rotate(-45deg);
}

.menu-bottom-mob {
  display: none;
}

body {
  padding-top: 76px;
}

.with-timer body {
  padding-top: 120px;
}

/* ============================================================
   Footer — dark theme by default, brand description + columns
   ============================================================ */
.footer {
  margin-top: auto;
  background-color: var(--footer-background);
  color: var(--footer-text-color);
  padding: 60px 0 50px;
  z-index: 22;
}

.footer .logo span {
  color: #fff !important;
}

.footer .logo span em {
  color: var(--accent-color) !important;
}

.footer .logo img {
  filter: brightness(0) invert(1);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer__left {
  max-width: 440px;
}

.footer__menus {
  display: flex;
  gap: 55px;
  flex-wrap: wrap;
}

.footer__col {
  max-width: 250px;
}

.footer__col--title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E5E7EB;
}

.footer-nav a {
  color: var(--footer-text-color);
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
  font-size: 14px;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav li:last-child {
  margin-bottom: 0;
}

.footer__small-text {
  margin-top: 16px;
  line-height: 1.6;
  font-size: 13px;
  opacity: 0.7;
}

.footer__text {
  opacity: 0.7;
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
  margin-top: 10px;
}

.footer__text a {
  color: var(--footer-text-color);
  text-decoration: underline;
}

.footer__text p {
  margin-bottom: 12px;
  color: var(--footer-text-color);
}

.footer__text p:last-child {
  margin-bottom: 0;
}

.footer__text strong {
  color: var(--accent-color);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom-links a {
  color: var(--footer-text-color);
  font-size: 13px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer__bottom-links a:hover {
  opacity: 1;
}

/* ============================================================
   Hero — must fill first viewport (min-height: 100vh).
   See docs/layout.md#hero for visual-depth and form-card glow rules.
   ============================================================ */
.hero {
  min-height: calc(100vh - 77px);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.hero > .container {
  width: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content h1 {
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
}

.hero__form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
}

.hero__form-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-color);
}

.hero__form-subtext {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero__form-card .form__row {
  margin-bottom: 12px;
}

.hero__form-card .form__row:last-of-type {
  margin-bottom: 0;
}

/* ============================================================
   Buttons — .btn (base shape), .btn-base, .btn-outline,
   .btn-show-form (floating CTA with pulse animation).
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  user-select: none;
  width: fit-content;
  font-family: var(--main-font);
}

.btn.btn--center {
  margin-top: 20px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.btn-base {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
}

.btn-base:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  background: var(--accent-color-hover);
  color: var(--contrast-color);
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/* Floating CTA */
.btn-show-form {
  position: fixed;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--accent-color);
  right: 30px;
  bottom: 30px;
  z-index: 100;
}

.btn-show-form p {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 0;
}

.btn-show-form::before, .btn-show-form::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  opacity: 0.5;
  border-radius: 50%;
  z-index: -1;
  animation: btn-pulse 1.6s infinite;
}

.btn-show-form::after {
  animation-delay: 0.3s;
  opacity: 0.2;
  animation-name: btn-pulse2;
}

.btn-show-form svg {
  width: 25px;
  height: 25px;
  fill: #fff;
}

@keyframes btn-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70%, 100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
@keyframes btn-pulse2 {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  70%, 100% {
    transform: scale(2.3);
    opacity: 0;
  }
}
/* ============================================================
   Forms — .form-block (wrapper), .form__row, .form__input,
   .checkbox, intlTelInput (v18) styles, loader/preloader.
   See docs/forms.md for layout rules and intlTelInput gotchas.
   ============================================================ */
.form-block {
  width: 100%;
  position: relative;
  max-width: 100%;
}

.preloader {
  display: none;
  background: var(--modal-background);
  position: absolute;
  transform: scale(1.04);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9995;
  opacity: 0.8;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: var(--accent-color) var(--accent-color) transparent;
  animation: rotation 1s linear infinite;
}

.loader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent var(--accent-color) var(--accent-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: rotationBack 0.5s linear infinite;
}

@keyframes rotation {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rotationBack {
  to {
    transform: rotate(-360deg);
  }
}
.form__title {
  text-align: left;
  margin-bottom: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form__row--2col {
  grid-template-columns: 1fr 1fr;
}

.form__input-wrapper {
  width: 100%;
  position: relative;
}

.form__row .form__input-wrapper svg {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  pointer-events: none;
  color: var(--text-muted);
  opacity: 0.5;
}

.form__input {
  transition: border 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text-color);
  font-size: 15px !important;
  line-height: normal;
  height: 50px;
  padding: 0 18px;
  box-shadow: none;
  background-color: #F9FAFB;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
}

.form__input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form__row--icons .form__input {
  padding: 0 18px 0 46px;
}

.form__input::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.6 !important;
}

.form__input.error {
  border: 1px solid #FF2633;
  background: rgba(255, 38, 51, 0.06);
}

.form__input.valid {
  border: 1px solid #84E4A4;
  background: rgba(132, 228, 164, 0.06);
}

label.error {
  position: absolute;
  z-index: 2;
  top: calc(100% + 2px);
  left: 8px;
  width: 100%;
  max-width: 500px;
  background: #FF2633;
  border-radius: 8px;
  font-weight: 900;
  font-size: 14px;
  line-height: 18px;
  color: #FFF;
  padding: 7px 12px;
}

label.error::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 15px;
  height: 15px;
  background: #FF2633;
  border-radius: 2px;
  top: -6px;
  left: 10px;
  transform: rotate(45deg);
}

.form__submit {
  width: 100%;
}

.form__btn {
  width: 100% !important;
  margin-top: 16px;
  height: 54px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-muted);
}

.checkbox p {
  font-size: 11px;
  margin-bottom: 0;
  color: inherit;
  opacity: 0.6;
}

.checkbox a {
  color: var(--accent-color);
}

.checkbox input[type=checkbox] {
  appearance: none;
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  position: relative;
  cursor: pointer;
  margin: 0 !important;
  flex-shrink: 0;
  background: transparent;
}

.checkbox input[type=checkbox]::before {
  content: "";
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m13 1-8.25 9L1 5.91'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
}

.checkbox input[type=checkbox]:checked {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.checkbox input[type=checkbox]:checked::before {
  opacity: 1;
}

/* intlTelInput v18 — dropdown lives inside .iti__flag-container.
   Never overflow:hidden on .iti__flag-container — it clips the dropdown.
   See docs/forms.md#intltelinput-v18 */
.iti {
  width: 100%;
}

.iti--container {
  z-index: 10000;
}

.iti__flag-container {
  top: 0;
  bottom: 0;
  left: 0 !important;
  border-radius: 10px 0 0 10px;
}

.iti-arrow {
  display: none;
}

.iti__dropdown-content {
  background: var(--modal-background) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: var(--text-color);
  overflow-y: auto !important;
}

.iti__dropdown-content::-webkit-scrollbar {
  width: 6px;
}

.iti__dropdown-content::-webkit-scrollbar-track {
  background: transparent;
}

.iti__dropdown-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 3px;
}

.iti__dropdown-content::-webkit-scrollbar-button {
  display: none;
}

.iti__country-list {
  list-style: none;
  max-width: unset;
  background: transparent;
  color: var(--text-color);
}

.iti__country:hover,
.iti__country.iti__active {
  background: var(--accent-glow);
}

.iti .selected-dial-code {
  font-size: 15px !important;
  color: var(--text-color);
}

.selected-flag-line {
  position: absolute;
  right: 0;
  width: 1px;
  height: calc(100% - 25px);
  background-color: rgba(0, 0, 0, 0.1);
}

/* ============================================================
   Modal — full-screen overlay + sliding card body
   Use max-width, not min-width — see docs/forms.md#modal.
   ============================================================ */
.modal-wrap {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 20000000;
  overflow-y: auto;
  transition: opacity 0.3s, visibility 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}

.modal-wrap.active {
  opacity: 1;
  visibility: visible;
}

.modal-wrap.active .modal__body {
  transform: translateY(0);
  opacity: 1;
}

.modal-wrap.hide {
  animation: modalHide 0.3s;
}

.modal-wrap.hide .modal__body {
  transform: translateY(200px);
  opacity: 0;
}

@keyframes modalHide {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.modal {
  overflow: visible;
  height: fit-content;
  position: relative;
  max-width: 680px;
  width: 100%;
  padding: 40px 20px;
}

.modal__body {
  background-color: var(--modal-background);
  padding: 30px;
  padding-top: 55px;
  width: 100%;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.53, 0.2, 0.71, 1.33), opacity 0.3s;
  transform: translateY(200px);
  opacity: 0;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.modal__title {
  font-size: var(--text-size-h3);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.modal__title p {
  font-size: var(--text-size-h3);
  font-weight: 700;
  margin-bottom: 0;
}

.modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__close:hover {
  opacity: 0.5;
}

.modal__close svg {
  width: 26px;
  height: 26px;
  stroke: var(--text-muted);
  transform: rotate(45deg);
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   Avatar — CSS initials via data-initials attribute.
   Use instead of <img> for placeholder user avatars.
   ============================================================ */
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.avatar::before {
  content: attr(data-initials);
}

/* ============================================================
   FAQ accordion — class names use DASH, not double underscore.
   JS in main.js targets .faq-item .faq-item__question with
   jQuery slideDown(300)/slideUp(300). Do NOT add CSS max-height
   or transition on .faq-item__answer — it conflicts with jQuery
   and causes freezing/glitches.
   See docs/components.md#faq-accordion.
   ============================================================ */
.faq {
  padding: 100px 0;
}

.faq .sec-title {
  text-align: center;
  margin-bottom: 50px;
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: var(--glass-shadow);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  transition: color 0.2s;
}

.faq-item__question:hover {
  color: var(--accent-color);
}

.faq-item__chevron {
  width: 20px;
  min-width: 20px;
  height: 20px;
  transition: transform 0.3s;
  color: var(--accent-color);
}

.faq-item.active .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  display: none;
  padding: 0 24px 24px;
}

.faq-item__answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================================
   Sub-page styles — section titles, contact layout,
   page-content (privacy/terms/disclaimer body), page-hero.
   See docs/legal-pages.md for required structure.
   ============================================================ */
.sec-title {
  text-align: center;
  margin-bottom: 50px;
}

.sec-title h2 {
  margin-bottom: 12px;
}

.sec-title p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.contact {
  padding: 80px 0;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 20px;
}

.contact__info p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.contact__form {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 15px;
}

.page-content h1 {
  margin-bottom: 30px;
}

.page-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 24px;
}

.page-content h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 20px;
}

.page-content p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.page-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.page-content ul li::before {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
  left: 6px;
  top: 9px;
}

.page-content a {
  color: var(--accent-color);
}

.page-content a:hover {
  text-decoration: underline;
}

.page-hero {
  background: var(--section-alt-bg);
  color: var(--text-color);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.page-hero h1 {
  color: var(--text-color);
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   Legal pages — pages without .ticker-bar.
   The default .header { top: 32px } leaves an empty strip on
   privacy/terms/disclaimer. :has() is supported in all
   evergreen browsers.
   See docs/legal-pages.md.
   ============================================================ */
body:not(:has(.ticker-bar)) {
  padding-top: 76px;
}

body:not(:has(.ticker-bar)) .header {
  top: 0;
}

/* ============================================================
   Utility classes — text alignment, display, spacing, tables.
   Prefer these over inline styles.
   ============================================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-none {
  display: none !important;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-20 {
  gap: 20px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.table-scroll-wrapper {
  overflow-x: auto;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 10px 15px;
  border: 1px solid var(--glass-border);
  text-align: left;
  color: var(--text-color);
}

th {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 600;
}

tr:nth-child(even) td {
  background: rgba(59, 130, 246, 0.03);
}

/* ============================================================
   Animations — data-animate attribute pattern.
   IMPORTANT before Playwright screenshots:
     document.querySelectorAll('[data-animate]').forEach(el =>
       el.classList.add('animated'))
   Otherwise sections below the fold are invisible.
   ============================================================ */
.form-validation-messages {
  display: none;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate=fade-in] {
  transform: none;
}

[data-animate=scale-in] {
  transform: scale(0.92);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   Accessibility — reduced motion.
   Respect prefers-reduced-motion on EVERY animation/transition.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ============================================================
   Responsive overrides — all media queries collected here.
   Per docs/responsive.md:
   - ≤1200px: tablet — keep multi-column, reduce control sizes
   - ≤768px:  mobile — single column, burger nav, compact spacing
   ============================================================ */
@media (max-width: 1200px) {
  body {
    padding-top: 70px;
  }
  .full-height {
    min-height: unset;
  }
  .container {
    max-width: 720px;
  }
  section:not(section:first-of-type) {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  h1 {
    font-size: calc(var(--text-size-h1) * 0.72);
  }
  h2 {
    font-size: calc(var(--text-size-h2) * 0.78);
  }
  h3 {
    font-size: calc(var(--text-size-h3) * 0.88);
  }
  h4 {
    font-size: calc(var(--text-size-h4) * 0.88);
  }
  br {
    display: none !important;
  }
  .burger {
    display: flex;
    margin-left: auto;
    margin-right: 0;
  }
  .btn-show-form {
    display: none;
  }
  .header__btn {
    font-size: 0 !important;
    padding: 7px;
    width: 40px;
    height: 40px;
    border: none;
    gap: 0;
  }
  .header__btn .desktop-hidden {
    display: block;
    width: 24px;
    min-width: 24px;
    height: 24px;
    fill: #fff;
  }
  .header__right .lang-wrap {
    display: none;
  }
  .header .wrap-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--page-background);
    height: 100vh;
    padding-top: 76px;
    width: 100%;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    gap: 0;
    z-index: 99;
  }
  .header .wrap-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .header .nav {
    padding: 20px 15px;
    max-width: 720px;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .header .nav a {
    display: block;
    min-width: 200px;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    color: var(--text-color);
  }
  .header .nav a::before {
    display: none;
  }
  .header .nav a.active {
    background: var(--accent-glow);
    color: var(--accent-color);
  }
  .menu-bottom-mob {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    order: 3;
    padding: 15px 15px 70px;
    margin: auto auto 0 auto;
    font-size: 12px;
    font-weight: 600;
    max-width: 340px;
    width: 100%;
    opacity: 0.5;
  }
  .menu-bottom-mob a {
    color: var(--text-color);
  }
  .hero {
    padding: 90px 0 60px;
    min-height: auto;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__wrapper {
    grid-template-columns: 1fr;
  }
  .footer__top {
    flex-direction: column;
    gap: 30px;
  }
  .footer__left {
    max-width: 100%;
  }
  .modal {
    max-width: calc(100vw - 40px);
  }
  .modal__body {
    padding: 60px 15px 40px;
  }
}
@media (max-width: 768px) {
  .table-scroll-wrapper {
    overflow-x: auto;
    width: calc(100vw - 30px);
  }
  h1 {
    font-size: calc(var(--text-size-h1) * 0.55);
    margin-bottom: 18px;
  }
  h2 {
    font-size: calc(var(--text-size-h2) * 0.62);
  }
  h3 {
    font-size: calc(var(--text-size-h3) * 0.78);
  }
  section p {
    font-size: 15px !important;
  }
  section .checkbox p {
    font-size: 11px !important;
  }
  .hero {
    padding: 80px 0 40px;
  }
  .hero__form-card {
    padding: 24px 20px;
  }
  .form__row--2col {
    grid-template-columns: 1fr;
  }
  .contact {
    padding: 50px 0;
  }
  .page-content {
    padding: 50px 15px;
  }
  .page-hero {
    padding: 60px 0 40px;
  }
  .footer__menus {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
  }
  .modal__title, .modal__title p {
    font-size: calc(var(--text-size-h3) * 0.7) !important;
  }
  .modal__body {
    padding: 50px 15px 25px;
  }
}
