:root {
  --ink: #102133;
  --muted: #516275;
  --blue-900: #063f77;
  --blue-700: #0b6fb7;
  --blue-500: #16a3e6;
  --cyan: #6ee7f8;
  --green: #28c76f;
  --yellow: #ffd447;
  --coral: #ff6b5f;
  --surface: #ffffff;
  --surface-soft: #edf8ff;
  --line: rgba(16, 33, 51, 0.14);
  --shadow: 0 24px 70px rgba(4, 38, 74, 0.22);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbff;
  overflow-x: hidden;
}

body::selection {
  background: var(--cyan);
  color: var(--ink);
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: rgba(4, 43, 82, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue-900);
  background: var(--yellow);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.language-switcher button {
  min-width: 38px;
  padding: 8px 9px;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--blue-900);
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  overflow: hidden;
  padding: 132px clamp(20px, 6vw, 86px) 80px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(5, 33, 74, 0.10), rgba(5, 33, 74, 0.50)),
    linear-gradient(135deg, #063f77 0%, #0d7dcc 48%, #27c1ea 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 190px;
  background:
    radial-gradient(65% 50% at 15% 74%, rgba(110, 231, 248, 0.28), transparent 60%),
    linear-gradient(180deg, transparent, rgba(247, 251, 255, 0.96));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-light .eyebrow,
.legal-section .eyebrow {
  color: var(--blue-700);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 13vw, 150px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(20px, 3vw, 31px);
  line-height: 1.28;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action,
.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.primary-action {
  color: var(--blue-900);
  background: #ffffff;
}

.secondary-action {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 24px);
  opacity: 1;
  pointer-events: none;
}

.hero-visual img {
  width: min(18vw, 260px);
  min-width: 170px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img:first-child {
  transform: translateY(-34px) rotate(-4deg);
}

.hero-visual img:last-child {
  transform: translateY(38px) rotate(4deg);
}

.section {
  padding: clamp(70px, 9vw, 132px) clamp(20px, 6vw, 86px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading h2 {
  color: var(--ink);
}

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

.feature-card {
  min-height: 250px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(21, 84, 128, 0.08);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 44px;
  margin-bottom: 26px;
  padding: 0 10px;
  color: var(--blue-900);
  background: var(--surface-soft);
  border: 1px solid rgba(22, 163, 230, 0.26);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
}

.screenshots-section {
  color: #ffffff;
  background: linear-gradient(180deg, #073b70, #0b6fb7 62%, #0b90cf);
}

.screenshots-section .section-heading h2 {
  color: #ffffff;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 21, 48, 0.34);
}

figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-align: center;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  background:
    linear-gradient(90deg, rgba(255, 212, 71, 0.20), transparent 44%),
    #ffffff;
}

.support-section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.48;
}

.support-section .eyebrow {
  color: var(--coral);
}

.mail-link {
  color: #ffffff;
  background: var(--blue-700);
  box-shadow: 0 16px 36px rgba(11, 111, 183, 0.24);
}

.legal-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: #f2f7fb;
}

.legal-column {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-column p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.provider-address {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-size: 17px;
  line-height: 1.45;
}

.source-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.source-list li + li {
  margin-top: 10px;
}

.imprint-contact {
  margin-bottom: 0;
}

.page-hero {
  min-height: 68svh;
  display: grid;
  align-content: center;
  padding: 150px clamp(20px, 6vw, 86px) 80px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(5, 33, 74, 0.08), rgba(5, 33, 74, 0.42)),
    linear-gradient(135deg, #063f77 0%, #0d7dcc 58%, #27c1ea 100%);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 9vw, 112px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.35;
  font-weight: 650;
}

.page-hero .primary-action {
  justify-self: start;
  margin-top: 18px;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  color: rgba(255, 255, 255, 0.82);
  background: #062744;
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: flex-start;
    margin-top: 22px;
  }

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

  .support-section,
  .legal-section,
  .support-detail {
    grid-template-columns: 1fr;
  }

  .mail-link {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    max-width: 100vw;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switcher {
    justify-self: end;
    width: min(220px, 100%);
    min-width: 0;
  }

  .hero {
    min-height: 91svh;
    padding-top: 174px;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy > * {
    max-width: 100%;
    min-width: 0;
  }

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

  .hero-actions {
    display: grid;
    width: min(100%, 310px);
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action,
  .mail-link {
    width: 100%;
  }

  h1 {
    font-size: clamp(58px, 18vw, 76px);
  }

  .hero-visual {
    width: 100%;
    justify-content: center;
    opacity: 0.82;
  }

  .hero-visual img {
    width: min(38vw, 170px);
    min-width: 130px;
  }

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

  .screenshot-grid {
    max-width: 430px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
