:root {
  --ink: #102033;
  --muted: rgba(16, 32, 51, 0.72);
  --line: rgba(16, 32, 51, 0.12);
  --care-50: #e8fbf8;
  --care-100: #c9f5ef;
  --care-700: #00a896;
  --care-900: #007d70;
  --alpine: #f4f7fa;
  --white: #ffffff;
  --signal: #d64545;
  --shadow: 0 24px 80px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: var(--alpine);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: min(100% - 48px, 1360px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  background: rgba(232, 251, 248, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.12);
}

.nav {
  display: flex;
  gap: 36px;
  color: rgba(16, 32, 51, 0.82);
  font-size: 16px;
  font-weight: 700;
}

.nav a:hover,
.footer-links a:hover,
.back-link:hover {
  color: var(--care-700);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 700;
  transition: 160ms ease;
}

.button-primary {
  background: var(--care-700);
  color: var(--white);
}

.button-primary:hover,
.button-dark:hover {
  background: var(--care-900);
}

.button-dark {
  min-height: 40px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.button-outline {
  min-height: 50px;
  border-color: rgba(16, 32, 51, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 0 28px;
  font-size: 16px;
}

.button-outline:hover {
  border-color: var(--care-700);
  color: var(--care-700);
}

.language-switcher {
  display: inline-block;
  position: relative;
  width: 120px;
  flex: 0 0 120px;
}

.language-icon {
  color: var(--care-700);
  font-size: 18px;
  line-height: 1;
}

.language-trigger {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  border: 1px solid rgba(16, 32, 51, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  cursor: pointer;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: 160ms ease;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  border-color: rgba(0, 168, 150, 0.45);
  background: var(--white);
}

.language-chevron {
  color: rgba(16, 32, 51, 0.56);
  font-size: 12px;
}

.flag {
  display: inline-block;
  width: 25px;
  height: 17px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.18);
}

.flag-de {
  background: linear-gradient(to bottom, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%);
}

.flag-fr {
  background: linear-gradient(to right, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%);
}

.flag-it {
  background: linear-gradient(to right, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%);
}

.flag-gb {
  background:
    linear-gradient(27deg, transparent 44%, #fff 44% 49%, #c8102e 49% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(153deg, transparent 44%, #fff 44% 49%, #c8102e 49% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(to bottom, transparent 38%, #fff 38% 45%, #c8102e 45% 55%, #fff 55% 62%, transparent 62%),
    linear-gradient(to right, transparent 34%, #fff 34% 42%, #c8102e 42% 58%, #fff 58% 66%, transparent 66%),
    #012169;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  width: 184px;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 6px;
  box-shadow: 0 16px 40px rgba(16, 32, 51, 0.14);
}

.language-menu[hidden] {
  display: none;
}

.language-menu-option {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: 160ms ease;
}

.language-menu-option:hover {
  background: rgba(0, 168, 150, 0.1);
}

.language-menu-option.active {
  background: rgba(0, 168, 150, 0.16);
  color: var(--care-900);
}

.button-secondary {
  border-color: rgba(16, 32, 51, 0.15);
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(0, 168, 150, 0.4);
  color: var(--care-700);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(56px, 7vw, 112px);
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin-top: -86px;
  padding: 190px max(24px, calc((100vw - 1360px) / 2)) 88px;
  background:
    linear-gradient(180deg, rgba(232, 251, 248, 0.98) 0%, rgba(232, 251, 248, 0.9) 42%, rgba(244, 247, 250, 0) 100%);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--care-700);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  color: var(--care-700);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: 160ms ease;
}

.store-badge:hover {
  transform: translateY(-1px);
}

.store-badge img {
  display: block;
  height: 40px;
  object-fit: contain;
}

.store-badge-google img {
  width: auto;
  height: 52px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(16, 32, 51, 0.78);
  font-size: 15px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, transparent 45%, var(--white) 46% 58%, transparent 59%),
    var(--care-700);
}

.hero-visual {
  position: relative;
}

.hero-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 32, 51, 0.14);
  aspect-ratio: 3 / 2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 80px 0;
}

.section-white {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-cta {
  border-top: 1px solid var(--line);
  background: var(--care-50);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--care-700);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: var(--care-100);
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.04);
}

.card-soft {
  background: var(--alpine);
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 10px;
  background: var(--care-50);
  color: var(--care-700);
  font-size: 22px;
}

.card p {
  margin-bottom: 0;
  color: rgba(16, 32, 51, 0.68);
  line-height: 1.6;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.audience-grid div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
  font-weight: 700;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer {
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  color: rgba(16, 32, 51, 0.64);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.legal-main {
  min-height: 100vh;
  background: var(--white);
}

.legal-page {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--care-700);
  font-size: 14px;
  font-weight: 800;
}

.legal-page h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 54px);
}

.legal-box {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 26px;
}

.legal-box.soft {
  background: var(--alpine);
}

.legal-box p {
  color: var(--muted);
  line-height: 1.65;
}

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

:focus-visible {
  outline: 2px solid var(--care-700);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero,
  .section-grid,
  .cta-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    margin-top: -82px;
    padding-top: 144px;
  }

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

  .cta-row {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container,
  .legal-page {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    gap: 14px;
  }

  .brand {
    font-size: 17px;
  }

  .language-switcher {
    margin-left: auto;
    width: 108px;
    flex-basis: 108px;
  }

  .language-trigger {
    min-height: 42px;
    padding: 0 10px;
  }

  .button-dark {
    padding: 0 14px;
  }

  .hero {
    gap: 36px;
    padding: 126px 14px 64px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .check-list,
  .card-grid,
  .feature-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

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