/* Landing page "/" and "/en" – Night Departure (brand/night-departure/artboards/Landing.dc.html).
   Mobile first; tokens, fonts and the page chrome live in base.css. No inline styles: the CSP
   of these pages only allows style-src 'self'. */
:root {
  --section: clamp(64px, 9vw, 96px);
}

/* Clips the ambient glows so they never widen the page. */
.page {
  position: relative;
  overflow: hidden;
  overflow: clip;
}
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.glow-hero {
  top: -260px;
  right: -180px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.24), rgba(255, 107, 74, 0) 64%);
}
.glow-closing {
  bottom: -420px;
  left: 50%;
  width: 1000px;
  height: 760px;
  margin-left: -500px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.3), rgba(255, 107, 74, 0) 66%);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

/* Header ------------------------------------------------------------------------------- */
.site-nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 26px;
  font-size: 15px;
}
.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover {
  color: var(--text);
}
.site-nav .lang {
  margin-left: auto;
}
.pill {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  background: var(--text);
  color: var(--ink);
  border-radius: 23px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.pill:hover {
  background: #fff;
  color: var(--ink);
}
@media (max-width: 900px) {
  .site-nav .optional {
    display: none;
  }
}
@media (max-width: 400px) {
  .pill {
    padding: 0 16px;
  }
}

/* Hero --------------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 40px;
  padding-top: 40px;
  padding-bottom: clamp(56px, 8vw, 90px);
}
.hero-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.tag {
  align-self: flex-start;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245, 196, 81, 0.45);
  border-radius: 8px;
  padding: 8px 12px;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-soft);
}
.lead-answer {
  color: var(--text);
}
.lead-answer strong {
  font-weight: 600;
  color: var(--aqua);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  scroll-margin-top: 24px;
}
.cta {
  min-height: 60px;
  padding: 0 26px 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--coral);
  color: var(--ink);
  border-radius: 16px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  box-shadow: 0 18px 40px -12px rgba(255, 107, 74, 0.6);
}
.cta svg {
  flex: none;
}
a.cta:hover {
  background: var(--coral-soft);
  color: var(--ink);
}
/* "Coming soon": no store link yet, so it is a label and not a button. */
.cta-soon {
  cursor: default;
}
.cta-dark {
  min-height: 56px;
  padding: 0 22px;
  justify-content: center;
  background: var(--ink);
  color: var(--text);
  font-size: 17px;
  box-shadow: none;
}
a.cta-dark:hover {
  background: #000;
  color: var(--text);
}
.cta-note {
  font-size: 14.5px;
  color: var(--text-muted);
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 14.5px;
  color: var(--text-soft);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check {
  flex: none;
  color: var(--aqua);
}

/* Example data: every price or temperature on this page sits in a block that says so. */
.example-tag {
  display: inline-block;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px dashed rgba(245, 196, 81, 0.6);
  border-radius: 8px;
  padding: 5px 10px;
  white-space: nowrap;
}

/* Two phones, drawn in CSS. --u is one artboard pixel: the pair (454 wide, about 504 with
   its tilt) scales with the column it stands in and is at full size from 504px on.
   Decorative (aria-hidden): the same content follows as real text further down. */
.hero-media {
  container-type: inline-size;
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
.phones {
  --u: clamp(0.5px, calc((100vw - 40px) / 504), 1px);
  width: 100%;
  height: calc(620 * var(--u));
  padding-top: calc(24 * var(--u));
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
@supports (width: 1cqw) {
  .phones {
    --u: clamp(0.5px, calc(100cqw / 504), 1px);
  }
}
.phone {
  flex: none;
  width: calc(250 * var(--u));
  height: calc(530 * var(--u));
  padding: calc(22 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  background: var(--bg);
  border: 1px solid #33426a;
  border-radius: calc(40 * var(--u));
  box-shadow: 0 calc(50 * var(--u)) calc(90 * var(--u)) calc(-40 * var(--u)) rgba(0, 0, 0, 0.95);
}
.phone-criteria {
  transform: rotate(-6deg);
}
.phone-report {
  margin-left: calc(-46 * var(--u));
  margin-top: calc(64 * var(--u));
  transform: rotate(5deg);
}
.phone-mark {
  font-family: var(--mono);
  font-weight: 700;
  font-size: calc(9 * var(--u));
  letter-spacing: 0.24em;
}
.phone-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(27 * var(--u));
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.phone-counter {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: calc(12 * var(--u));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(14 * var(--u));
}
.flaps {
  display: flex;
  gap: calc(4 * var(--u));
}
.flap {
  width: calc(36 * var(--u));
  height: calc(50 * var(--u));
  display: grid;
  place-items: center;
  background: var(--tile);
  border: 1px solid var(--line-tile);
  border-radius: calc(7 * var(--u));
  font-family: var(--mono);
  font-weight: 700;
  font-size: calc(32 * var(--u));
  line-height: 1;
  color: var(--amber);
}
.phone-counter-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: calc(15 * var(--u));
  line-height: 1.1;
}
.phone-rows {
  display: flex;
  flex-direction: column;
  font-size: calc(11.5 * var(--u));
  font-weight: 600;
}
.phone-row {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  height: calc(34 * var(--u));
  border-bottom: 1px solid var(--tile);
}
.phone-row:last-child {
  border-bottom: 0;
}
.phone-row-label {
  width: calc(56 * var(--u));
  font-family: var(--mono);
  font-weight: 400;
  font-size: calc(8 * var(--u));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.phone-row-value {
  flex: 1;
}
.phone .dot {
  width: calc(6 * var(--u));
  height: calc(6 * var(--u));
}
.phone-cta {
  margin-top: auto;
  height: calc(40 * var(--u));
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--ink);
  border-radius: calc(12 * var(--u));
  font-family: var(--display);
  font-weight: 700;
  font-size: calc(12.5 * var(--u));
}
.phone-kicker {
  font-family: var(--mono);
  font-size: calc(8.5 * var(--u));
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}
/* Boarding pass: paper card, dashed perforation, barcode strip, big mono total. */
.pass {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: calc(14 * var(--u));
}
.pass-top {
  display: flex;
  flex-direction: column;
  gap: calc(9 * var(--u));
  padding: calc(13 * var(--u)) calc(14 * var(--u)) calc(11 * var(--u));
}
.pass-route {
  display: flex;
  align-items: center;
  gap: calc(7 * var(--u));
}
.pass-code {
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(29 * var(--u));
  line-height: 1;
}
.pass-line {
  flex: 1;
  border-top: 2px dashed #9aa5b8;
}
.pass-meta {
  display: flex;
  justify-content: space-between;
  font-size: calc(10 * var(--u));
  font-weight: 600;
}
.pass-perforation {
  margin: 0 calc(10 * var(--u));
  border-top: 2px dashed #a9b3c4;
}
.pass-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: calc(10 * var(--u)) calc(14 * var(--u)) calc(13 * var(--u));
}
.pass-total {
  display: flex;
  flex-direction: column;
}
.pass-total-label {
  font-family: var(--mono);
  font-size: calc(7.5 * var(--u));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.pass-total-value {
  font-family: var(--mono);
  font-weight: 700;
  font-size: calc(27 * var(--u));
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.barcode {
  width: calc(62 * var(--u));
  height: calc(30 * var(--u));
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0,
    var(--ink) 2px,
    transparent 2px,
    transparent 5px,
    var(--ink) 5px,
    var(--ink) 6px,
    transparent 6px,
    transparent 9px
  );
}
.phone-costs {
  display: flex;
  flex-direction: column;
  gap: calc(7 * var(--u));
  font-size: calc(11 * var(--u));
  color: var(--text-soft);
}
.phone-costs > span {
  display: flex;
  justify-content: space-between;
}
.phone-costs .mono {
  font-weight: 700;
  color: var(--text);
}

/* Cost bar: flight coral, baggage amber, stay aqua, car slate – shares of the example trip. */
.costbar {
  display: flex;
  gap: 2px;
  height: 7px;
}
.costbar span {
  border-radius: 2px;
}
.phone .costbar {
  height: calc(7 * var(--u));
}
.costbar .cost-flight {
  width: 54.5%;
}
.costbar .cost-baggage {
  width: 8.1%;
}
.costbar .cost-stay {
  width: 29.3%;
}
.costbar .cost-car {
  flex: 1;
}
.cost-flight {
  background: var(--coral);
}
.cost-baggage {
  background: var(--amber);
}
.cost-stay {
  background: var(--aqua);
}
.cost-car {
  background: #6d7d9e;
}

/* Status dot: always next to a label, never the only signal. */
.dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
}
.dot-hollow {
  background: transparent;
  border: 2px solid currentColor;
}

/* Departure board ---------------------------------------------------------------------- */
.band {
  position: relative;
  background: var(--bg-band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: var(--section);
  padding-bottom: var(--section);
}
.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
}
.split-head h2 {
  flex: 1 1 480px;
  min-width: 0;
}
.split-head p {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 30em;
  margin: 0;
  color: var(--text-soft);
}
.board {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.board-frame {
  overflow-x: auto;
  padding: 6px 14px 8px;
  background: var(--bg);
  border: 1px solid var(--line-tile);
  border-radius: 22px;
}
.board-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
}
.board-table th,
.board-table td {
  padding: 0 10px 0 0;
  text-align: left;
}
.board-table th:last-child,
.board-table td:last-child {
  padding-right: 0;
}
.board-table thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-tile);
}
.board-table tbody th,
.board-table tbody td {
  height: 54px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--amber);
  border-bottom: 1px solid var(--tile);
}
.board-table tbody tr:last-child th,
.board-table tbody tr:last-child td {
  border-bottom: 0;
}
.board-table .is-near th,
.board-table .is-near td {
  color: var(--text-muted);
}
.board-table .col-code {
  display: none;
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--aqua);
}
.is-near .state {
  color: var(--amber);
}
.example-note {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (min-width: 640px) {
  .board-frame {
    padding: 10px 28px 14px;
  }
  .board-table th,
  .board-table td {
    padding-right: 12px;
  }
  .board-table thead th {
    font-size: 11px;
    letter-spacing: 0.22em;
  }
  .board-table tbody th,
  .board-table tbody td {
    height: 62px;
    font-size: 19px;
  }
  .board-table .col-code {
    display: table-cell;
  }
  .state {
    font-size: 12px;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }
}

/* Three questions ---------------------------------------------------------------------- */
.questions {
  display: flex;
  flex-wrap: wrap;
  gap: 44px 40px;
  padding-top: var(--section);
}
.question {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  border-top: 2px solid var(--coral);
}
.q-total {
  border-top-color: var(--amber);
}
.q-watch {
  border-top-color: var(--aqua);
}
.question h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.question p {
  margin: 0;
  font-size: 16px;
  color: var(--text-soft);
}

/* Features ----------------------------------------------------------------------------- */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: var(--section);
}
.feature {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px;
}
.feature-criteria {
  background: var(--surface);
  border: 1px solid var(--line);
}
.feature-report {
  background: var(--paper);
  color: var(--ink);
}
.feature-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua);
}
.feature h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.feature-head p:not(.kicker) {
  margin: 0;
  font-size: 16px;
  color: var(--text-soft);
}
.feature .example-tag {
  align-self: flex-start;
  margin-top: auto;
}
.feature-report .kicker {
  color: var(--ink-muted);
}
.feature-report .feature-head p:not(.kicker) {
  color: var(--ink-soft);
}
.feature-report .example-tag {
  color: var(--ink);
  border-color: var(--ink-muted);
}
.feature-report :focus-visible {
  outline-color: var(--ink);
}
.criteria {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-size: 15.5px;
  font-weight: 600;
}
.criteria li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
}
.criteria li:last-child {
  border-bottom: 0;
}
.criteria-kind {
  flex: none;
  width: 72px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.criteria-text {
  flex: 1;
}
.is-soft .criteria-text {
  color: var(--text-soft);
}
.is-soft .dot {
  color: var(--text-muted);
}
.report {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.report .costbar {
  height: 14px;
  gap: 3px;
}
.report .costbar span {
  border-radius: 4px;
}
/* On paper the bar needs darker tones than on the dark board. */
.feature-report .cost-flight {
  background: #e2512f;
}
.feature-report .cost-baggage {
  background: #c99412;
}
.feature-report .cost-stay {
  background: #0e8f84;
}
.feature-report .cost-car {
  background: var(--ink-muted);
}
.report-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 15px;
  font-weight: 600;
}
.report-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.swatch {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.report-total {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding-top: 14px;
  border-top: 2px dashed #a9b3c4;
}
.report-total-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.report-total-value {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Steps -------------------------------------------------------------------------------- */
/* Tour: what you enter, screen by screen ------------------------------------------------ */
.tour {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: var(--section);
  padding-bottom: var(--section);
}
.tour-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 20px;
}
.tour-step {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tour-number {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--amber);
}
.tour-shot {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  border-radius: 22px;
  border: 1px solid var(--line-tile);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.tour-step:last-child .tour-shot {
  border-color: var(--aqua);
}
.tour h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
}
.tour-step:last-child h3 {
  color: var(--aqua);
}
.tour-step p {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
}
@media (max-width: 1040px) {
  /* A strip that scrolls sideways inside its own box: the page itself never overflows. */
  .tour-steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(64vw, 260px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    scrollbar-color: var(--line-tile) transparent;
  }
  .tour-step {
    scroll-snap-align: start;
  }
}

/* Price -------------------------------------------------------------------------------- */
.pricing {
  padding-top: var(--section);
}
.price {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px 60px;
  padding: clamp(28px, 4.4vw, 60px);
  background: var(--coral);
  color: var(--ink);
  border-radius: 32px;
}
.price-ring {
  position: absolute;
  top: -140px;
  right: -90px;
  width: 420px;
  height: 420px;
  border: 60px solid rgba(10, 14, 24, 0.07);
  border-radius: 50%;
}
.price-copy {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.price-copy p {
  max-width: 32em;
  margin: 0;
  font-size: 17px;
}
.price-side {
  position: relative;
  flex: 0 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-value {
  margin: 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 600;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-list svg {
  flex: none;
}
.price :focus-visible {
  outline-color: var(--ink);
}

/* Questions and answers ---------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: var(--section);
}
.faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0 48px;
  border-top: 1px solid var(--line-tile);
}
.faq-item {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.faq h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
}
.faq p {
  margin: 0;
  font-size: 16px;
  color: var(--text-soft);
}

/* Closing ------------------------------------------------------------------------------ */
.closing {
  position: relative;
  overflow: hidden;
  margin-top: var(--section);
  border-top: 1px solid var(--line);
}
.closing-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding-top: clamp(72px, 10vw, 110px);
  padding-bottom: clamp(250px, 32vw, 400px);
}
/* Evening at the sea: sun, water, a beach chair (Strandkorb). Pure decoration. */
.shore {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(210px, 27vw, 360px);
  pointer-events: none;
}
.closing h2 {
  max-width: 12em;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.closing-note {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Footer ------------------------------------------------------------------------------- */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}

/* Watching: the app keeps checking and sends a message ----------------------------------- */
.watch {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
  padding-bottom: var(--section);
}
.glow-watch {
  top: -120px;
  right: -260px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(57, 224, 208, 0.13), rgba(57, 224, 208, 0) 64%);
}
.watch-copy {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.watch-copy p {
  margin: 0;
  max-width: 34em;
  color: var(--text-soft);
}
.watch-copy .kicker {
  color: var(--aqua);
}
.watch-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.watch-list li {
  padding-left: 18px;
  border-left: 2px solid var(--aqua);
  color: var(--text-soft);
  font-size: 16px;
}
.watch-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}
.notices {
  position: relative;
  flex: 1 1 360px;
  min-width: 0;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.notices .example-tag {
  align-self: flex-start;
}
.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notice {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line-tile);
  border-left: 3px solid var(--coral);
  border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}
.notice-new {
  border-left-color: var(--aqua);
}
.notice-origin {
  border-left-color: var(--amber);
}
.notice-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.notice-app {
  font-weight: 700;
  color: var(--text-soft);
}
.notice-app .slash {
  color: var(--coral);
}
.notice-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}
.notice-text {
  font-size: 15px;
  color: var(--text-soft);
}

/* Motion ------------------------------------------------------------------------------
   motion.js adds "motion" to <html> (never with prefers-reduced-motion). Without that class
   nothing below applies and the page shows its final state. */
.flight {
  display: none;
}
.motion .flight {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px var(--gutter) 16px;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.94) 58%, rgba(7, 10, 18, 0));
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.motion.is-airborne .flight {
  opacity: 1;
  transform: none;
}
.flight-code {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.is-landed .flight-code-to {
  color: var(--aqua);
}
.flight-route {
  position: relative;
  flex: 1;
  height: 24px;
}
.flight-route::before,
.flight-done {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  border-top: 2px dotted var(--line-input);
}
.flight-route::before {
  right: 0;
}
.flight-done {
  width: calc(var(--p, 0) * 100%);
  border-top-color: var(--coral);
}
.flight-plane {
  position: absolute;
  top: 50%;
  left: calc(var(--p, 0) * (100% - 24px));
  width: 24px;
  height: 24px;
  margin-top: -12px;
  color: var(--text);
  transform: translateY(calc(sin(var(--p, 0) * 3.1416) * -5px))
    rotate(calc((var(--p, 0) - 0.5) * 22deg));
}

.motion .reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 0.7s ease,
    translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion .reveal.is-in {
  opacity: 1;
  translate: 0 0;
}
.motion .notice.reveal {
  translate: 60px 0;
  transition-delay: calc(var(--i, 0) * 260ms + 200ms);
}
.motion .notice.reveal.is-in {
  translate: 0 0;
}

.motion .glow-hero {
  translate: 0 calc(var(--sy, 0px) * 0.3);
}
.motion .phone-criteria {
  translate: 0 calc(var(--sy, 0px) * -0.04);
}
.motion .phone-report {
  translate: 0 calc(var(--sy, 0px) * -0.1);
}

.motion .board-table tbody tr {
  opacity: 0;
  transform-origin: 50% 0;
}
.motion .board.is-in tbody tr {
  animation: flap-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}
@keyframes flap-in {
  from {
    opacity: 0;
    transform: perspective(700px) rotateX(-82deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.flap.is-flip {
  animation: flap-flip 0.42s ease both;
}
@keyframes flap-flip {
  0%,
  100% {
    transform: rotateX(0);
  }
  50% {
    transform: rotateX(-88deg);
  }
}

.motion .shore-sun {
  translate: 0 calc((1 - var(--v, 1)) * -110px);
}
.motion .shore-stars circle {
  animation: twinkle 3.6s ease-in-out infinite;
}
.motion .shore-stars circle:nth-child(3n) {
  animation-delay: 1.2s;
}
.motion .shore-stars circle:nth-child(3n + 1) {
  animation-delay: 2.3s;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.9;
  }
}
.motion .wave {
  animation: drift 9s linear infinite;
}
.motion .wave-far {
  animation-duration: 14s;
}
.motion .wave-near {
  animation-duration: 7s;
  animation-direction: reverse;
}
@keyframes drift {
  to {
    transform: translateX(240px);
  }
}
.motion .shore-glitter path {
  animation: glitter 2.8s ease-in-out infinite;
}
.motion .shore-glitter path:nth-child(2n) {
  animation-delay: 0.9s;
}
@keyframes glitter {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-6px);
  }
  50% {
    opacity: 0.95;
    transform: translateX(6px);
  }
}
.motion .shore-gulls {
  animation: glide 16s ease-in-out infinite alternate;
}
@keyframes glide {
  to {
    transform: translate(90px, -14px);
  }
}
