:root {
  --bg: #0b121a;
  --bg-soft: #121f2d;
  --surface: #142434;
  --surface-2: #1a2d41;
  --text: #f3f8ff;
  --muted: #9bb3cb;
  --line: rgba(209, 227, 248, 0.2);
  --line-soft: rgba(209, 227, 248, 0.1);
  --accent: #2fd08e;
  --accent-strong: #57e6af;
  --accent-soft: rgba(47, 208, 142, 0.16);
  --accent-border-strong: rgba(47, 208, 142, 0.68);
  --accent-border: rgba(47, 208, 142, 0.55);
  --accent-border-soft: rgba(47, 208, 142, 0.52);
  --accent-fill-soft: rgba(47, 208, 142, 0.18);
  --accent-fill-faint: rgba(47, 208, 142, 0.13);
  --accent-line-gradient: rgba(47, 208, 142, 0.5);
  --accent-shadow: rgba(47, 208, 142, 0.24);
  --accent-ink: #03140d;
  --accent-ink-strong: #06110b;
  --heading-muted: #9dc4e8;
  --text-soft: #dce9f8;
  --text-softer: #e1edfb;
  --step-number: #a8f4d4;
  --feature-icon: #9cf0ce;
  --footer-link: #c9dcf1;
  --menu-hover-text: #eaf2fb;
  --menu-active-bg: #99f0ce;
  --header-bg: rgba(11, 18, 26, 0.86);
  --footer-bg: rgba(11, 18, 26, 0.96);
  --panel-glass: rgba(18, 31, 45, 0.86);
  --panel-glass-strong: rgba(18, 31, 45, 0.97);
  --panel-surface: rgba(20, 36, 52, 0.86);
  --panel-surface-soft: rgba(20, 36, 52, 0.58);
  --panel-surface-medium: rgba(20, 36, 52, 0.84);
  --panel-surface-alt: rgba(20, 36, 52, 0.6);
  --selector-panel: rgba(18, 31, 45, 0.88);
  --brand-grad-start: #87f2ca;
  --brand-grad-end: #2fd08e;
  --bg-fx-1: rgba(47, 208, 142, 0.13);
  --bg-fx-2: rgba(52, 110, 201, 0.18);
  --contrast: #ffffff;
}

html[data-theme='light'] {
  --bg: #f3f7fb;
  --bg-soft: #e9f0f7;
  --surface: #ffffff;
  --surface-2: #edf3f9;
  --text: #102132;
  --muted: #5e7389;
  --line: rgba(24, 52, 80, 0.2);
  --line-soft: rgba(24, 52, 80, 0.12);
  --accent: #16ad72;
  --accent-strong: #0f9c65;
  --accent-soft: rgba(22, 173, 114, 0.16);
  --accent-border-strong: rgba(22, 173, 114, 0.68);
  --accent-border: rgba(22, 173, 114, 0.55);
  --accent-border-soft: rgba(22, 173, 114, 0.52);
  --accent-fill-soft: rgba(22, 173, 114, 0.18);
  --accent-fill-faint: rgba(22, 173, 114, 0.13);
  --accent-line-gradient: rgba(22, 173, 114, 0.5);
  --accent-shadow: rgba(22, 173, 114, 0.24);
  --accent-ink: #ffffff;
  --accent-ink-strong: #0a2b1e;
  --heading-muted: #3b5977;
  --text-soft: #20374d;
  --text-softer: #1a3045;
  --step-number: #149263;
  --feature-icon: #149263;
  --footer-link: #35587a;
  --menu-hover-text: #102132;
  --menu-active-bg: #d9f7ea;
  --header-bg: rgba(243, 247, 251, 0.88);
  --footer-bg: rgba(233, 240, 247, 0.95);
  --panel-glass: rgba(255, 255, 255, 0.88);
  --panel-glass-strong: rgba(255, 255, 255, 0.97);
  --panel-surface: rgba(255, 255, 255, 0.9);
  --panel-surface-soft: rgba(245, 249, 253, 0.92);
  --panel-surface-medium: rgba(255, 255, 255, 0.94);
  --panel-surface-alt: rgba(236, 243, 250, 0.88);
  --selector-panel: rgba(255, 255, 255, 0.9);
  --brand-grad-start: #2fd08e;
  --brand-grad-end: #16ad72;
  --bg-fx-1: rgba(22, 173, 114, 0.12);
  --bg-fx-2: rgba(52, 110, 201, 0.12);
  --contrast: #102132;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html[data-theme='light'] {
  color-scheme: light;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -5%, var(--bg-fx-1), transparent 32%),
    radial-gradient(circle at 92% 10%, var(--bg-fx-2), transparent 38%),
    var(--bg);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

h1,
h2 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid var(--line-soft);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
}

.header-shell {
  width: 100%;
  min-height: 78px;
  padding: 0.65rem clamp(1rem, 3.2vw, 2.4rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  text-decoration: none;
}

.brand-logo-dark {
  display: none;
}

html[data-theme='dark'] .brand-logo-light {
  display: none;
}

html[data-theme='dark'] .brand-logo-dark {
  display: block;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--accent-ink-strong);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  background: linear-gradient(145deg, var(--brand-grad-start) 0%, var(--brand-grad-end) 70%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-copy span {
  font-size: 0.79rem;
  color: var(--muted);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.main-menu {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.2rem;
}

.main-menu a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.48rem 0.76rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: var(--menu-hover-text);
  border-color: var(--line);
  background: var(--panel-surface-alt);
  outline: none;
}

.main-menu a.is-active {
  color: var(--accent-ink-strong);
  border-color: var(--accent-border-strong);
  background: var(--menu-active-bg);
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.language-dropdown {
  position: relative;
}

.language-toggle {
  min-width: 58px;
  min-height: 40px;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-surface-medium);
  color: var(--text-soft);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.theme-switcher {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  min-height: 40px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-surface-medium);
}

.theme-switcher-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  bottom: 3px;
  width: calc((100% - 6px) / 3);
  border-radius: 999px;
  border: 1px solid var(--accent-border-strong);
  background: var(--menu-active-bg);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.22s ease;
  transform: translateX(200%);
}

html[data-theme-mode='light'] .theme-switcher-thumb {
  transform: translateX(0);
}

html[data-theme-mode='dark'] .theme-switcher-thumb {
  transform: translateX(100%);
}

html[data-theme-mode='system'] .theme-switcher-thumb {
  transform: translateX(200%);
}

.theme-option {
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}

.theme-option:hover,
.theme-option:focus-visible {
  color: var(--text-soft);
  outline: none;
}

.theme-option.is-active {
  color: var(--accent-ink-strong);
}

.theme-option:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-border);
}

.theme-option-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.language-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-glass-strong);
  box-shadow: 0 12px 28px rgba(7, 14, 24, 0.18);
  min-width: 168px;
}

.language-dropdown.is-open .language-menu {
  display: block;
}

.language-menu a {
  display: block;
  padding: 0.52rem 0.62rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.language-menu a:hover,
.language-menu a:focus-visible,
.language-menu a.is-active {
  color: var(--contrast);
  background: var(--accent-soft);
  outline: none;
}

.section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.section-shell {
  width: 100%;
  padding: clamp(1.3rem, 4vw, 3rem) clamp(1rem, 3.6vw, 2.6rem);
}

.section-hero {
  min-height: calc(100vh - 78px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(1rem, 3vw, 2.1rem);
  align-items: stretch;
}

.hero-content {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(148deg, var(--accent-soft), transparent 38%),
    var(--panel-glass);
  padding: clamp(1.1rem, 3.2vw, 2.4rem);
}

.hero-content h1 {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.04;
  max-width: 17ch;
}

.hero-content p {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: var(--text-soft);
  max-width: 64ch;
}

.hero-media {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  background: var(--surface);
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.76rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.section-head span {
  min-width: 52px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--heading-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 0.86rem;
}

.section-head h2 {
  font-size: clamp(1.34rem, 3.1vw, 2.3rem);
  line-height: 1.12;
}

.section-head.no-index {
  grid-template-columns: 1fr;
}

.section-head.is-centered {
  justify-items: center;
  text-align: center;
}

.section-head.is-centered h2 {
  max-width: 26ch;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.steps-list li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-surface);
  padding: 0.95rem 0.95rem 0.95rem 2.8rem;
  color: var(--text-soft);
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.95rem;
  top: 0.86rem;
  width: 1.34rem;
  height: 1.34rem;
  border-radius: 999px;
  border: 1px solid var(--accent-border-soft);
  background: var(--accent-fill-soft);
  color: var(--step-number);
  font-family: 'Manrope', sans-serif;
  font-size: 0.74rem;
  display: grid;
  place-items: center;
}

.section-how .section-head {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.section-how .section-head span {
  min-width: 64px;
  min-height: 38px;
}

.section-how .section-head h2 {
  max-width: 26ch;
}

.section-how .steps-list {
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}

.section-how .steps-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 86px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent-line-gradient) 12%,
    var(--accent-line-gradient) 88%,
    transparent
  );
}

.section-how .steps-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-surface-soft);
  padding: 0.85rem 1rem 0.85rem 0;
  text-align: left;
  max-width: none;
  margin: 0;
  color: var(--text-softer);
  font-size: clamp(1rem, 1.38vw, 1.14rem);
}

.section-how .steps-list li::before {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  display: block;
  margin: 0;
  padding-right: 1rem;
  text-align: right;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  font-weight: 800;
  color: var(--feature-icon);
  text-shadow: 0 10px 20px var(--accent-shadow);
}

.section-why .features-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.62rem;
}

.section-why .feature-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 0.8rem;
  border: none;
  background: transparent;
  padding: 0.26rem 0;
  color: var(--text-soft);
}

.section-why .feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--accent-border);
  background: var(--accent-fill-faint);
  display: grid;
  place-items: center;
}

.section-why .feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--feature-icon);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-why .feature-text {
  color: var(--text-soft);
}

.feature-icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.section-cta p {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  color: var(--text-soft);
  max-width: 70ch;
  margin-inline: auto;
  text-align: center;
}

.cta-row {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
}

.section-cta .cta-row {
  justify-content: center;
}

.btn {
  min-height: 46px;
  padding: 0.74rem 1.12rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-strong);
  outline: none;
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text-soft);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--line-soft);
  color: var(--contrast);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 20, 0.62);
  backdrop-filter: blur(3px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-glass-strong);
  box-shadow: 0 22px 50px rgba(5, 12, 22, 0.34);
  padding: clamp(1rem, 2.6vw, 1.5rem);
}

.contact-modal__dialog h2 {
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  margin-bottom: 0.9rem;
}

.contact-modal__close {
  position: absolute;
  top: 0.68rem;
  right: 0.68rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 1.34rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__close:hover,
.contact-modal__close:focus-visible {
  color: var(--text-soft);
  border-color: var(--accent);
  outline: none;
}

.contact-form {
  display: grid;
  gap: 0.72rem;
}

.contact-form__field {
  display: grid;
  gap: 0.38rem;
}

.contact-form__field span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel-surface);
  color: var(--text);
  font: inherit;
  padding: 0.65rem 0.72rem;
}

.contact-form__field textarea {
  min-height: 138px;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--accent-border-strong);
  outline: none;
}

.contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.contact-form__status {
  min-height: 1.3rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form__status.is-success {
  color: var(--accent);
}

.contact-form__status.is-error {
  color: #ff7979;
}

.contact-form__submit[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--footer-bg);
}

.footer-shell {
  width: 100%;
  min-height: 88px;
  padding: 1rem clamp(1rem, 3.6vw, 2.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer strong {
  font-family: 'Manrope', sans-serif;
}

.site-footer p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: inline-flex;
  gap: 0.86rem;
}

.footer-links a {
  color: var(--footer-link);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--contrast);
}

.lazy-section {
  opacity: 1;
  transform: none;
}

.js .lazy-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.js .lazy-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), 1120px);
  margin-inline: auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.selector-hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 2rem 0;
}

.selector-inner {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--selector-panel);
  padding: 1.25rem;
  max-width: 940px;
}

.eyebrow {
  margin: 0;
  color: var(--heading-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
}

.lead {
  margin: 0.9rem 0 0;
  color: var(--text-soft);
  max-width: 64ch;
}

.locale-suggestion {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-surface);
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.68rem;
}

.locale-suggestion p {
  margin: 0;
}

.language-cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.language-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-surface);
  padding: 0.84rem 0.76rem;
  text-decoration: none;
}

.language-card strong {
  display: block;
  font-family: 'Manrope', sans-serif;
}

.language-card span {
  display: block;
  margin-top: 0.14rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.language-card:hover,
.language-card:focus-visible {
  border-color: var(--accent);
  outline: none;
}

@media (max-width: 1100px) {
  .header-shell {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.65rem;
  }

  .main-menu {
    order: 3;
  }

  .header-controls {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .hero-grid,
  .steps-list,
  .features-list {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 320px;
  }

  .language-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section,
  .section-hero {
    min-height: auto;
  }

  .section-shell {
    padding: 1.1rem 1rem 1.6rem;
  }

  .header-shell {
    grid-template-columns: auto auto 1fr;
    align-items: center;
    min-height: 60px;
  }

  .brand-copy span {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand {
    display: flex;
    align-items: center;
  }

  .main-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, border 0.3s ease;
    z-index: 100;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
  }

  .main-menu.is-open {
    max-height: 400px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .main-menu a {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
  }

  .hero-grid {
    text-align: center;
    justify-items: center;
  }

  .hero-content {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-content h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

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

  .site-footer .footer-shell {
    text-align: center;
  }

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

  .language-toggle {
    min-height: 38px;
    padding: 0.4rem 0.58rem;
  }

  .theme-switcher {
    min-height: 38px;
    padding: 2px;
  }

  .theme-switcher-thumb {
    left: 2px;
    top: 2px;
    bottom: 2px;
    width: calc((100% - 4px) / 3);
  }

  .theme-option {
    width: 31px;
    height: 31px;
  }

  .theme-option-icon {
    width: 16px;
    height: 16px;
  }

  .contact-modal {
    padding: 0.6rem;
  }

  .contact-modal__dialog {
    width: calc(100vw - 1.2rem);
    border-radius: 14px;
    padding: 0.92rem;
  }

  .contact-modal__close {
    top: 0.54rem;
    right: 0.54rem;
    width: 34px;
    height: 34px;
  }

  .section-how .steps-list::before {
    left: 54px;
  }

  .section-how .steps-list li {
    grid-template-columns: 106px 1fr;
    padding-right: 0.7rem;
  }

  .section-how .steps-list li::before {
    padding-right: 0.6rem;
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .section-why .feature-item {
    grid-template-columns: 44px 1fr;
  }

  .section-why .feature-icon {
    width: 42px;
    height: 42px;
  }

  .footer-shell {
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .footer-shell > div {
    width: 100%;
    text-align: center;
  }

  .language-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js .lazy-section,
  .js .lazy-section.is-visible {
    opacity: 1;
    transform: none;
  }
}
