@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b1f33;
  --ink-soft: #3d5266;
  --blue: #05508f;
  --blue-deep: #033a68;
  --sky: #38a8e0;
  --wash: #eaf3fa;
  --line: #d3e2ee;
  --paper: #ffffff;
  --hivis: #ffb800;
  --hivis-ink: #4a3300;
  --radius-s: 8px;
  --radius-l: 36px;
  --page: min(1120px, 100% - 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
}

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

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-deep);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: var(--page);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-s);
  z-index: 10;
}

.skip:focus {
  left: 0.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 5;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.6rem;
}

.brand img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a:not(.button) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.nav a:not(.button):hover {
  color: var(--blue);
  text-decoration: underline;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-stretch: 108%;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-s);
  border: 2px solid var(--blue);
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

.button-quiet {
  background: transparent;
  color: var(--blue);
}

.button-quiet:hover {
  background: var(--wash);
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}

.button-small {
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  font-stretch: 120%;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-stretch: 114%;
}

h3 {
  font-size: 1.25rem;
  font-stretch: 108%;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34em;
  margin: 1.5rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.fine {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 1.1rem 0 0;
}

/* Phone lock screen, the memorable element */
.phone {
  justify-self: center;
  width: min(100%, 360px);
}

.screen {
  background: linear-gradient(165deg, var(--blue-deep) 0%, var(--blue) 55%, #2a8fcf 100%);
  border-radius: var(--radius-l);
  padding: 1.6rem 1.1rem 1.4rem;
  color: #fff;
  box-shadow: 0 0 0 8px #0b1f33, 0 30px 60px -20px rgba(3, 58, 104, 0.55);
}

.clock {
  text-align: center;
  margin-bottom: 1.2rem;
}

.clock .day {
  display: block;
  font-size: 0.95rem;
  opacity: 0.85;
}

.clock .time {
  display: block;
  font-size: 4rem;
  font-weight: 300;
  font-stretch: 100%;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.note {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: 18px;
  padding: 0.75rem 0.85rem 0.8rem;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 0.7rem;
  align-items: start;
  animation: arrive 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.note:nth-child(1) { animation-delay: 0.35s; }
.note:nth-child(2) { animation-delay: 1.15s; }
.note:nth-child(3) { animation-delay: 1.95s; }

.note img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px;
}

.note-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

.note-head strong {
  color: var(--ink);
  font-weight: 700;
}

.note p {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  line-height: 1.38;
}

.flag {
  display: inline-block;
  background: var(--hivis);
  color: var(--hivis-ink);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.05rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.35rem;
}

.caption {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 1.2rem 0 0;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-head p {
  color: var(--ink-soft);
  margin: 1rem 0 0;
}

/* Steps: a real sequence, so numbered */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
  border-top: 3px solid var(--blue);
}

.steps li {
  counter-increment: step;
  padding: 1.4rem 1.4rem 0.4rem 0;
  position: relative;
}

.steps li + li {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  color: var(--sky);
  margin-bottom: 0.7rem;
}

.steps p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* Trust points */
.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3.5rem;
  margin: 0;
}

.points div {
  border-left: 4px solid var(--blue);
  padding-left: 1.2rem;
}

.points dt {
  font-weight: 800;
  font-stretch: 108%;
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0;
}

.points dd {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
}

/* Pilot band */
.pilot .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.pilot p {
  color: var(--ink-soft);
  margin: 1rem 0 0;
  max-width: 34em;
}

.towns {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.towns li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-weight: 500;
  font-size: 0.97rem;
}

.pilot h3 {
  margin-bottom: 0.9rem;
}

/* FAQ */
.faq {
  max-width: 46rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-weight: 700;
  font-stretch: 106%;
  font-size: 1.12rem;
  line-height: 1.3;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  max-width: 40em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.2rem 2.8rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.site-footer p {
  margin: 0 0 0.6rem;
}

.site-footer strong {
  color: var(--ink);
}

/* Responsive */
@media (max-width: 920px) {
  .hero .wrap,
  .pilot .wrap,
  .site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .steps li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
  }

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

  .nav a:not(.button) {
    display: none;
  }

  .nav a.nav-direct {
    display: inline-block;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .nav {
    gap: 0.7rem;
  }

  .nav .button-small {
    padding: 0.45rem 0.65rem;
    font-size: 0.84rem;
    white-space: nowrap;
  }
}

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

  .steps li,
  .steps li + li {
    padding-left: 0;
    border-left: 0;
  }

  .steps li + li {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
  }

  .site-header .wrap {
    gap: 0.6rem;
  }

  .brand img {
    height: 40px;
  }

  .nav {
    gap: 0.4rem;
  }

  .nav a.nav-direct {
    font-size: 0.76rem;
  }

  .nav .button-small {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }

  .actions .button {
    width: 100%;
    text-align: center;
  }
}

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

  .note {
    animation: none;
  }

  .button,
  .faq summary::after {
    transition: none;
  }
}
