:root {
  color-scheme: light;
  --teal: #2f8580;
  --teal-deep: #073f3f;
  --teal-dark: #052d2f;
  --teal-soft: #dff2ef;
  --attention: #ff6d3f;
  --attention-dark: #b33a20;
  --cyan: #2bb8c7;
  --magenta: #b60b68;
  --paper: #fffaf2;
  --paper-warm: #f7ecdd;
  --ink: #102525;
  --muted: #4e6968;
  --line: rgba(7, 63, 63, 0.18);
  --white: #ffffff;
  --top-bar-height: 90px;
  --hero-headline-size: clamp(2.75rem, min(4.1vw, 7.8vh), 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: var(--teal);
  color: var(--white);
}

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

a {
  color: inherit;
}

.poster-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px min(5vw, 60px);
  pointer-events: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}

.brand-logo {
  width: 142px;
  height: auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  border: 1px solid rgba(7, 63, 63, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.64);
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a[aria-current="page"] {
  border-color: var(--attention);
  background: rgba(255, 109, 63, 0.14);
  outline: none;
}

.flag-icon {
  display: block;
  width: 25px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(7, 63, 63, 0.16);
}

body:not(.privacy-page) .poster-header {
  position: relative;
  height: var(--top-bar-height);
  padding: 0 min(5vw, 60px);
  background: var(--paper);
}

.poster-hero {
  position: relative;
  min-height: calc(100svh - var(--top-bar-height));
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  grid-template-rows: minmax(320px, 1fr) auto;
  align-items: center;
  column-gap: clamp(24px, 3vw, 56px);
  row-gap: clamp(20px, 3.2vh, 42px);
  padding: clamp(42px, 7vh, 84px) min(5vw, 60px) clamp(34px, 5vh, 48px);
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.signal-field {
  position: relative;
  grid-column: 2;
  grid-row: 1 / -1;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.signal-illustration {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
}

.poster-stage {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  position: relative;
  z-index: 1;
}

.poster-slides {
  position: relative;
  min-height: clamp(300px, 44vh, 460px);
}

.poster-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  opacity: 0;
  animation: poster-fade 40s infinite;
}

.slide-one {
  animation-delay: 0s;
}

.slide-two {
  animation-delay: 10s;
}

.slide-three {
  animation-delay: 20s;
}

.slide-four {
  animation-delay: 30s;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--attention-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--teal-deep);
  line-height: 0.95;
  letter-spacing: 0;
}

h1,
.poster-slide h2 {
  margin-bottom: 0;
  max-width: 820px;
  font-size: var(--hero-headline-size);
  line-height: 1;
}

.poster-hero h1,
.poster-hero .poster-slide h2 {
  color: var(--paper);
}

.poster-support {
  max-width: 560px;
  margin: clamp(14px, 2vh, 22px) 0 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 700;
  line-height: 1.35;
}

.poster-actions {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 21px;
  border: 2px solid var(--teal-deep);
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid rgba(255, 109, 63, 0.34);
  outline-offset: 3px;
}

.button-primary {
  border-color: var(--attention);
  background: var(--attention);
  color: var(--white);
}

.button-secondary {
  background: rgba(255, 250, 242, 0.72);
  color: var(--teal-deep);
}

.poster-hero .button-secondary {
  border-color: rgba(255, 250, 242, 0.82);
  background: rgba(3, 6, 6, 0.5);
  color: var(--paper);
}

.problem-section,
.explanation-section,
.pilot-section {
  padding: 18vh min(5vw, 60px);
}

.problem-section {
  background: var(--teal-deep);
  color: var(--white);
}

.text-block {
  width: min(900px, 100%);
}

.problem-section .section-kicker {
  color: #ffd2c3;
}

.problem-section h2 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: 4.6rem;
}

.problem-section p:not(.section-kicker) {
  max-width: 760px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.45rem;
}

.explanation-section {
  background: var(--paper);
}

.explanation-section h2 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--teal-deep);
  font-size: 3.8rem;
}

.explanation-section p:not(.section-kicker) {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 1.32rem;
}

.pilot-section {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96), rgba(247, 236, 221, 0.82)),
    var(--paper-warm);
}

.pilot-line {
  width: min(980px, 100%);
}

.pilot-line h2 {
  margin-bottom: 30px;
  color: var(--teal-deep);
  font-size: 4rem;
}

.privacy-page {
  background: var(--paper);
}

.privacy-main {
  min-height: 100svh;
  padding: 132px min(5vw, 60px) 72px;
}

.privacy-content {
  width: min(820px, 100%);
}

.privacy-content h1 {
  margin-bottom: 28px;
  color: var(--teal-deep);
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.privacy-content p:not(.section-kicker) {
  max-width: 720px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1.22rem;
}

.privacy-content a {
  color: var(--attention-dark);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px min(5vw, 60px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--teal-dark);
  color: var(--white);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  color: #ffd2c3;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@keyframes poster-fade {
  0%,
  23.5% {
    opacity: 1;
  }

  24.5%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 1020px) {
  .problem-section h2,
  .pilot-line h2 {
    font-size: 3.4rem;
  }

  .poster-hero {
    column-gap: 32px;
  }
}

@media (max-width: 1100px) {
  :root {
    --hero-headline-size: clamp(3rem, min(6.6vw, 7.4vh), 4.25rem);
  }

  .poster-hero {
    min-height: calc(100svh - var(--top-bar-height));
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(150px, min(22svh, 230px)) auto;
    row-gap: 22px;
    padding-top: 42px;
  }

  .poster-stage {
    grid-column: 1;
    grid-row: 1;
  }

  .poster-slides {
    min-height: min(38svh, 330px);
  }

  .signal-field {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: clamp(150px, 22svh, 230px);
    min-height: 0;
    align-self: center;
  }

  .poster-actions {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (min-width: 1101px) and (max-height: 850px) {
  :root {
    --hero-headline-size: clamp(2.75rem, min(3.9vw, 7.1vh), 4rem);
  }

  .poster-hero {
    row-gap: clamp(18px, 3vh, 30px);
    padding-top: clamp(34px, 6vh, 56px);
    padding-bottom: 34px;
  }

  .poster-slides {
    min-height: min(40vh, 340px);
  }
}

@media (max-width: 680px) {
  :root {
    --top-bar-height: 70px;
    --hero-headline-size: clamp(2.5rem, min(10.5vw, 6.8vh), 3rem);
  }

  .poster-header {
    padding: 18px 20px;
  }

  .brand-logo {
    width: 124px;
  }

  .language-switch {
    gap: 6px;
  }

  .language-switch a {
    min-width: 38px;
    min-height: 34px;
    font-size: 0.78rem;
  }

  .poster-hero {
    min-height: auto;
    grid-template-rows: auto minmax(150px, min(24svh, 230px)) auto;
    row-gap: 18px;
    padding: 34px 20px max(30px, env(safe-area-inset-bottom));
  }

  .poster-stage {
    width: 100%;
  }

  .poster-slides {
    min-height: clamp(248px, 35svh, 304px);
  }

  .poster-support {
    max-width: 280px;
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .section-kicker {
    margin-bottom: 14px;
  }

  .button {
    width: 100%;
  }

  .signal-field {
    height: clamp(150px, 24svh, 230px);
    opacity: 1;
  }

  .signal-illustration {
    object-fit: contain;
    object-position: center;
  }

  .problem-section,
  .explanation-section,
  .pilot-section {
    padding: 96px 20px;
  }

  .privacy-main {
    padding: 112px 20px 72px;
  }

  .privacy-content h1 {
    font-size: 2.75rem;
  }

  .privacy-content p:not(.section-kicker) {
    font-size: 1.08rem;
  }

  .problem-section h2,
  .explanation-section h2,
  .pilot-line h2 {
    font-size: 2.65rem;
  }

  .problem-section p:not(.section-kicker),
  .explanation-section p:not(.section-kicker) {
    font-size: 1.16rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .poster-slide {
    opacity: 0;
    animation: none;
  }

  .slide-one {
    opacity: 1;
  }
}
