:root {
  --navy: #1f2f3d;
  --navy-2: #142432;
  --orange: #f08804;
  --paper: #f7f5ef;
  --ink: #182532;
  --muted: #5d6975;
  --line: rgba(31, 47, 61, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(31, 47, 61, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: 176px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 9px;
}

.lang-switch button.is-active {
  color: var(--navy);
  background: var(--white);
}

.hero {
  min-height: 720px;
  color: var(--white);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(20, 36, 50, 0.9), rgba(20, 36, 50, 0.48), rgba(20, 36, 50, 0.84)),
    url("hero-messinia.webp") center / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  gap: 54px;
  padding: 88px 0 64px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.device-shot {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-shot img {
  width: min(100%, 430px);
  display: block;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.section {
  padding: 74px 0;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 52px);
}

.section-title p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat strong {
  display: block;
  color: var(--orange);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 9px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 22px;
}

.card-body h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px;
  background: rgba(31, 47, 61, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
}

.notice {
  padding: 28px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}

.notice h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-2);
  padding: 34px 0;
}

.footer a {
  color: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
}

.legal-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.legal-content {
  padding: 56px 0 80px;
}

.legal-content article {
  display: none;
}

.legal-content article.is-active,
[data-lang-panel].is-active {
  display: block;
}

.legal-content h2 {
  margin-top: 34px;
  color: var(--navy);
}

.legal-content h3 {
  margin-top: 24px;
  color: var(--navy);
}

.legal-content p,
.legal-content li {
  color: #33414f;
}

.legal-content ul {
  padding-left: 22px;
}

[data-lang-panel] {
  display: none;
}

[data-lang-panel].is-active {
  display: block;
}

@media (max-width: 860px) {
  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 150px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0 42px;
    gap: 30px;
  }

  .stats,
  .cards,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }
}
