﻿:root[data-theme="light"] {
  --md-sys-color-primary: #006c42;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #84f8af;
  --md-sys-color-on-primary-container: #002111;
  --md-sys-color-secondary: #4e6354;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #d0e8d6;
  --md-sys-color-on-secondary-container: #0b1f13;
  --md-sys-color-tertiary: #3b6472;
  --md-sys-color-on-tertiary: #ffffff;
  --md-sys-color-tertiary-container: #beeafa;
  --md-sys-color-on-tertiary-container: #001f28;
  --md-sys-color-error: #ba1a1a;
  --md-sys-color-on-error: #ffffff;
  --md-sys-color-error-container: #ffdad6;
  --md-sys-color-on-error-container: #410002;
  --md-sys-color-surface: #fbfdf8;
  --md-sys-color-on-surface: #191c19;
  --md-sys-color-surface-variant: #dce5dd;
  --md-sys-color-on-surface-variant: #404942;
  --md-sys-color-outline: #717972;
  --md-sys-color-surface-container: #edf2ec;
  --md-sys-color-surface-container-high: #e7ece6;
  --md-sys-color-surface-container-highest: #e1e7e0;
}

:root[data-theme="dark"] {
  --md-sys-color-primary: #66db95;
  --md-sys-color-on-primary: #003820;
  --md-sys-color-primary-container: #005230;
  --md-sys-color-on-primary-container: #84f8af;
  --md-sys-color-secondary: #b4ccbb;
  --md-sys-color-on-secondary: #203527;
  --md-sys-color-secondary-container: #364b3d;
  --md-sys-color-on-secondary-container: #d0e8d6;
  --md-sys-color-tertiary: #a2cddd;
  --md-sys-color-on-tertiary: #043542;
  --md-sys-color-tertiary-container: #224c59;
  --md-sys-color-on-tertiary-container: #beeafa;
  --md-sys-color-error: #ffb4ab;
  --md-sys-color-on-error: #690005;
  --md-sys-color-error-container: #93000a;
  --md-sys-color-on-error-container: #ffdad6;
  --md-sys-color-surface: #111411;
  --md-sys-color-on-surface: #e1e3df;
  --md-sys-color-surface-variant: #404942;
  --md-sys-color-on-surface-variant: #c0c9c1;
  --md-sys-color-outline: #8a938c;
  --md-sys-color-surface-container: #1d201d;
  --md-sys-color-surface-container-high: #282b28;
  --md-sys-color-surface-container-highest: #323632;
}

:root {
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-full: 9999px;

  --md-sys-shape-corner-xs: var(--md-sys-shape-corner-extra-small);
  --md-sys-shape-corner-sm: var(--md-sys-shape-corner-small);
  --md-sys-shape-corner-md: var(--md-sys-shape-corner-medium);
  --md-sys-shape-corner-lg: var(--md-sys-shape-corner-large);
  --md-sys-shape-corner-xl: var(--md-sys-shape-corner-extra-large);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  outline: none;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: var(--md-sys-color-on-surface);
  background: var(--md-sys-color-surface);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.section {
  padding: 4.5rem 0;
  scroll-margin-top: 88px;
}

#home {
  scroll-margin-top: 88px;
}

.section-soft {
  background: var(--md-sys-color-surface-container);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--md-sys-color-surface-container-high);
}

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

.logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  letter-spacing: 0.01em;
}

.logo-semibold {
  font-weight: 400;
  margin-left: 0;
}

.footer-logo {
  flex-direction: column;
  align-items: start;
}

.footer-logo img {
  width: 64px !important;
  height: auto;
  object-fit: contain;
}

.logo-footer-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--md-sys-color-primary) !important;
  letter-spacing: 0.01em;
}

.logo img {
  margin-right: 8px;
  width: 38px;
  height: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  gap: 1.25rem;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 500;
}

.menu a {
  position: relative;
  padding: 0.34rem 0.56rem;
  border-radius: var(--md-sys-shape-corner-full);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

@media (min-width: 921px) {
  .menu {
    align-items: center;
  }

  .menu a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

.menu a:hover {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  transform: translateY(-1px);
}

.menu a.is-active {
  background: transparent;
  color: var(--md-sys-color-primary);
}

.menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0.56rem;
  right: 0.56rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu a:active {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  transform: translateY(0);
}

.menu a:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.menu .menu-cta {
  margin-left: 0.2rem;
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border: 1px solid var(--md-sys-color-primary);
}

.menu .menu-cta:hover {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-color: var(--md-sys-color-primary-container);
}

.menu .menu-cta:active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-color: var(--md-sys-color-primary);
}

.menu .menu-cta.is-active {
  color: var(--md-sys-color-on-primary);
}

.menu .menu-cta.is-active::after {
  content: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface-container-highest);
  color: var(--md-sys-color-on-surface);
  padding: 0;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.menu-toggle-icon {
  position: absolute;
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.menu-toggle-icon-open {
  opacity: 1;
}

.header.is-menu-open .menu-toggle-icon-open {
  opacity: 0;
}

.header.is-menu-open .menu-toggle-icon-close {
  opacity: 1;
}

.menu-toggle:active {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-color: var(--md-sys-color-primary);
  transform: translateY(0);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  width: 52px;
  height: 100%;
  padding: 3px;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 999px;
  background: var(--md-sys-color-surface-container-highest);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.theme-switch:hover {
  background: var(--md-sys-color-secondary-container);
}

.theme-switch:active {
  background: var(--md-sys-color-secondary);
  border-color: var(--md-sys-color-primary);
}

.theme-switch:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.theme-switch-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  transform: translateX(0);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.theme-icon {
  position: absolute;
  font-size: 16px;
  line-height: 0.5;
  opacity: 0;
  transition: opacity 0.2s ease;
}

:root[data-theme="light"] .theme-icon-sun {
  opacity: 1;
}

:root[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
}

:root[data-theme="dark"] .theme-switch-thumb {
  transform: translateX(20px);
}

:root:not([data-theme]) .theme-icon-sun {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-switch-thumb {
    transform: translateX(20px);
  }

  :root:not([data-theme]) .theme-icon-sun {
    opacity: 0;
  }

  :root:not([data-theme]) .theme-icon-moon {
    opacity: 1;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  transform: translateY(-1px);
}

.btn:active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.btn-small {
  min-height: 36px;
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
}

.btn-tonal {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}

.btn-tonal:hover {
  background: var(--md-sys-color-secondary);
  color: var(--md-sys-color-on-secondary);
}

.btn-tonal:active {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--md-sys-color-primary);
  font-weight: 500;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 500;
}

h3 {
  font-size: 1.08rem;
  font-weight: 500;
}

.lead,
.text {
  margin-top: 1rem;
  color: var(--md-sys-color-on-surface-variant);
  max-width: 62ch;
}

.hero {
  padding-top: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  gap: 1rem;
}

.hero-copy h1 {
  margin-top: 0.6rem;
}

.hero-copy.reveal.is-visible {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-tags {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-tags span {
  border: none;
  border-radius: 14px;
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface-variant);
  padding: 0.34rem 0.64rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-phone img {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sync-button {
  margin-top: 0.9rem;
  width: 100%;
  border: none;
  border-radius: 20px;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  min-height: 40px;
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.sync-button:hover {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  transform: translateY(-1px);
}

.sync-button:active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  transform: translateY(0);
}

.sync-button:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.sync-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.sync-grid article {
  background: var(--md-sys-color-surface-container-highest);
  border: none;
  border-radius: var(--md-sys-shape-corner-sm);
  min-height: 84px;
  padding: 0.6rem;
}

.sync-grid strong {
  display: block;
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
}

.sync-grid span {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.8rem;
}

.last-sync {
  margin-top: 0.7rem;
  background: var(--md-sys-color-surface-container-highest);
  border: none;
  border-radius: var(--md-sys-shape-corner-sm);
  padding: 0.6rem;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.83rem;
}

.section-title {
  margin-top: 0.5rem;
  max-width: 24ch;
}

.screens-showcase {
  position: relative;
  overflow: hidden;
}

.screens-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.screens-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 1.8rem;
}

.screens-layout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.screens-copy {
  padding-right: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screens-copy h2 {
  margin-top: 0.65rem;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 500;
}

.screens-copy .text {
  margin-top: 1.1rem;
  max-width: 43ch;
}

.screens-gallery {
  position: relative;
  min-width: 0;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screens-gallery::before,
.screens-gallery::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 2.3rem;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.screens-gallery::before {
  left: 2rem;
  background: linear-gradient(
    90deg,
    var(--md-sys-color-surface) 12%,
    rgba(6, 9, 10, 0) 100%
  );
}

.screens-gallery::after {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--md-sys-color-surface) 16%,
    rgba(6, 9, 10, 0) 100%
  );
}

.screens-track {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.85rem 0;
}

.screens-track::before,
.screens-track::after {
  content: "";
  flex: 0 0 max(0px, calc(50% - min(328px, 74%) / 2));
}

.screens-track::-webkit-scrollbar {
  display: none;
}

.screen-panel {
  flex: 0 0 min(328px, 74%);
  min-height: 260px;
  padding: 1.2rem;
  border-radius: 16px;
  border: none;
  background: var(--md-sys-color-surface-container-high);
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.screen-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.screen-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(185, 215, 111, 0.16);
  border: 1px solid rgba(185, 215, 111, 0.24);
}

.screen-icon svg {
  width: 17px;
  height: 17px;
  fill: var(--md-sys-color-primary);
}

.screen-panel-kicker {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--md-sys-color-on-surface-variant);
}

.screen-panel h3 {
  margin-top: 1.1rem;
  font-size: 1.22rem;
}

.screen-panel p {
  margin-top: 0.62rem;
  color: var(--md-sys-color-on-surface-variant);
  max-width: 27ch;
}

.screens-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.screens-controls {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.screen-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 999px;
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface-variant);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.screen-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.screen-arrow:hover {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  transform: translateY(-1px);
}

.screen-arrow:active {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-color: var(--md-sys-color-primary);
  transform: translateY(0);
}

.screen-arrow:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.screen-arrow:disabled {
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-outline);
  border-color: var(--md-sys-color-outline);
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.screen-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: var(--md-sys-color-surface-variant);
  padding: 0;
  transition:
    width 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
  cursor: pointer;
}

.screen-dot:hover {
  background: var(--md-sys-color-secondary-container);
  transform: translateY(-1px);
}

.screen-dot:active {
  background: var(--md-sys-color-primary-container);
  transform: translateY(0);
}

.screen-dot:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.screen-dot.is-active {
  width: 30px;
  background: var(--md-sys-color-primary);
}

.feature-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature-card {
  background: var(--md-sys-color-surface-container-high);
  border: none;
  border-radius: var(--md-sys-shape-corner-md);
  padding: 1.05rem;
}

.feature-card p {
  margin-top: 0.56rem;
  color: var(--md-sys-color-on-surface-variant);
}

.workflow {
  display: grid;
  gap: 1rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.step {
  background: var(--md-sys-color-surface-container);
  border: none;
  border-radius: var(--md-sys-shape-corner-md);
  padding: 1.05rem;
}

.step span {
  color: var(--md-sys-color-primary);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.step h3 {
  margin-top: 0.48rem;
}

.step p {
  margin-top: 0.56rem;
  color: var(--md-sys-color-on-surface-variant);
}

@media (min-width: 1025px) {
  .steps {
    --step-stair-offset: 2rem;
  }

  .steps .step {
    height: 220px;
  }

  .steps .step:nth-child(2) {
    margin-top: var(--step-stair-offset);
  }

  .steps .step:nth-child(3) {
    margin-top: calc(var(--step-stair-offset) * 2);
  }

  .steps .step:nth-child(4) {
    margin-top: calc(var(--step-stair-offset) * 3);
  }
}

.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: start;
}

.security-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--md-sys-color-on-surface-variant);
}

.security-list li + li {
  margin-top: 0.5rem;
}

.contact-cta-section {
  padding-bottom: 0;
}

.contact-cta-card {
  background: #1f2811;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: -3.2rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.8rem;
  color: #f2f5ea;
}

.contact-cta-card .eyebrow {
  color: #d5e8ab;
}

.contact-cta-title {
  margin-top: 0.62rem;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.08;
}

.contact-cta-side .text {
  margin-top: 0;
  color: rgba(242, 245, 234, 0.82);
}

.contact-cta-actions {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.contact-cta-actions .btn {
  white-space: nowrap;
}

.contact-cta-mail {
  display: inline-block;
  color: #d5e8ab;
  font-weight: 500;
}

.footer {
  margin-top: -1px;
  padding: 5.6rem 0 1.7rem;
  background: var(--md-sys-color-surface-container-high);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  color: var(--md-sys-color-on-surface-variant);
  max-width: 30ch;
}

.footer-leftside {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.44rem;
}

.footer-links h3 {
  margin: 0 0 0.18rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  color: var(--md-sys-color-on-surface-variant);
}

.footer-links a:hover {
  color: var(--md-sys-color-primary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-switch {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(44px, max-content));
  align-items: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
  max-width: 100%;
}

.language-switch-label {
  font-size: 0.82rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-right: 0.15rem;
  grid-row: 1 / -1;
}

.lang-btn {
  min-height: 30px;
  min-width: 44px;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-full);
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.lang-btn:hover {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  transform: translateY(-1px);
}

.lang-btn:active {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-color: var(--md-sys-color-primary);
  transform: translateY(0);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.lang-btn.is-active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-color: var(--md-sys-color-primary);
}

.footer-status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  background: var(--md-sys-color-surface-container-high);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.82rem;
}

.footer-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86b43f;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.88rem;
}

.footer-legal a {
  color: var(--md-sys-color-on-surface-variant);
}

.footer-legal-link {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.52rem;
  border-radius: var(--md-sys-shape-corner-full);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-legal-link:hover {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  transform: translateY(-1px);
}

.footer-legal-link:active {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  transform: translateY(0);
}

.footer-legal-link:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
}

.footer-legal-link.is-current,
.footer-legal-link[aria-current="page"] {
  background: var(--md-sys-color-surface-container-highest);
  color: var(--md-sys-color-primary);
  pointer-events: none;
}

.legal-main {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.legal-layout {
  width: min(820px, 100%);
}

.legal-layout h1 {
  margin-top: 0.6rem;
}

.legal-updated {
  margin-top: 0.9rem;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.88rem;
}

.legal-stack {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.85rem;
}

.legal-card {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-md);
  padding: 1.2rem;
}

.legal-card h2 {
  font-size: 1.1rem;
}

.legal-card p {
  margin-top: 0.55rem;
  color: var(--md-sys-color-on-surface-variant);
}

.legal-card ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  color: var(--md-sys-color-on-surface-variant);
}

.legal-card li + li {
  margin-top: 0.35rem;
}

.legal-footer-bottom {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .btn-small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header {
    --header-menu-offset: 64px;
  }

  .menu {
    position: fixed;
    top: var(--header-menu-offset);
    left: 0;
    right: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0 0.5rem;
    border-radius: 0 0 var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large);
    background: var(--md-sys-color-surface-container-high);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    max-height: 0;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 35;
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 320ms cubic-bezier(0.2, 0, 0, 1),
      padding 320ms cubic-bezier(0.2, 0, 0, 1),
      border-width 320ms cubic-bezier(0.2, 0, 0, 1),
      opacity 180ms cubic-bezier(0.2, 0, 0, 1);
  }

  .header.is-menu-open .menu {
    max-height: calc(100dvh - var(--header-menu-offset));
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-top-color: var(--md-sys-color-outline);
    border-bottom-color: var(--md-sys-color-outline);
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
  }

  .header.is-menu-open .menu a {
    display: block;
    padding: 0.56rem 0.7rem;
  }

  .header.is-menu-open .menu .menu-cta {
    margin-top: 0.4rem;
    margin-left: 0;
    text-align: center;
  }

  .nav {
    min-height: 64px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo img {
    width: 34px;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .hero-grid,
  .screens-layout,
  .security {
    grid-template-columns: 1fr;
  }

  .screens-layout::before {
    display: none;
  }

  .screens-copy {
    padding-right: 0;
  }

  .screens-gallery {
    padding-left: 0;
    margin-top: 0.5rem;
  }

  .screens-gallery::before {
    left: 0;
  }

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

  .section-title {
    max-width: 28ch;
  }

  .contact-cta-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-cta-title {
    max-width: 18ch;
  }

  .footer-top {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .footer-leftside {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .section {
    padding: 3.8rem 0;
  }

  .nav {
    min-height: 60px;
  }

  .header {
    --header-menu-offset: 60px;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo img {
    width: 30px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .sync-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .screen-panel {
    flex-basis: min(296px, 86%);
    min-height: 290px;
  }

  .contact-cta-card {
    padding: 1.25rem;
  }

  .contact-cta-actions {
    width: 100%;
  }

  .contact-cta-actions .btn {
    flex: 1 1 auto;
    white-space: normal;
  }

  .footer {
    padding-top: 4.7rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .footer-leftside {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .language-switch {
    grid-template-columns: repeat(4, minmax(44px, max-content));
  }

  .language-switch-label {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .legal-footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, calc(100% - 1rem));
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .nav {
    min-height: 56px;
    gap: 0.5rem;
  }

  .header {
    --header-menu-offset: 56px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .screen-panel {
    flex-basis: min(280px, 92%);
  }

  .screens-controls {
    gap: 0.5rem;
  }

  .screen-arrow {
    width: 34px;
    height: 34px;
  }

  .contact-cta-card {
    padding: 1rem;
  }

  .footer {
    padding-top: 4.2rem;
  }

  .legal-main {
    padding-top: 3.4rem;
  }

  .legal-card {
    padding: 1rem;
  }

  .language-switch {
    grid-template-columns: repeat(3, minmax(44px, max-content));
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .section {
    padding: 2.8rem 0;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .nav {
    min-height: 58px;
  }

  .header {
    --header-menu-offset: 58px;
  }

  .hero-tags {
    margin-top: 0.8rem;
  }

  .contact-cta-card {
    padding: 1.25rem;
    margin-bottom: -2.4rem;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (min-width: 640px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
  }

  .hero-phone {
    justify-content: flex-end;
  }

  .hero-phone img {
    max-width: 220px;
  }
}

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