:root {
  --ink: #122631;
  --teal: #2f788b;
  --teal-dark: #10434d;
  --mist: #eef5f7;
  --paper: #ffffff;
  --muted: #64727a;
  --line: #d7e4e8;
  --red: #ee352e;
  --green: #00933c;
  --blue: #2850ad;
  --orange: #ff6319;
  --yellow: #fccc0a;
  color: var(--ink);
  font-family: system-ui;
  background: #f7fbfc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 0;
  padding: 12px 18px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  height: 34px;
  width: 34px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  gap: 14px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 120, 139, 0.38), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(238, 53, 46, 0.22), transparent 24%),
    linear-gradient(155deg, #102631 0%, #153642 58%, #0c1d25 100%);
  color: #ffffff;
  display: grid;
  gap: 30px;
  min-height: 92vh;
  overflow: hidden;
  padding: 62px 20px 36px;
  position: relative;
}

.hero-content {
  align-self: end;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

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

.hero .eyebrow {
  color: #a8dbe4;
}

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

h1 {
  font-size: clamp(42px, 13vw, 78px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(30px, 8vw, 52px);
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 14px;
}

h3 {
  font-size: 21px;
  line-height: 1.12;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero-copy {
  color: #d7e4e8;
  font-size: 18px;
  max-width: 560px;
}

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

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
}

.button.primary {
  background: #ffffff;
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.app-preview {
  align-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  justify-self: center;
  max-width: 640px;
  position: relative;
  width: min(100%, 640px);
  z-index: 1;
}

.app-screenshot {
  aspect-ratio: 1320 / 2868;
  background: #ffffff;
  border: 8px solid #07181f;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  display: block;
  height: auto;
  object-fit: cover;
  width: clamp(92px, 28vw, 200px);
}

.screenshot-home {
  transform: rotate(-5deg) translateX(18px) translateY(34px);
  z-index: 1;
}

.screenshot-tunnel {
  transform: translateY(-10px);
  z-index: 3;
}

.screenshot-arrivals {
  transform: rotate(5deg) translateX(-18px) translateY(34px);
  z-index: 2;
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 52px 20px;
}

.intro-strip {
  display: grid;
  gap: 14px;
}

.intro-strip div,
.feature-grid article,
.faq-section details,
.beta-section,
.support-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.intro-strip strong {
  font-size: 19px;
}

.intro-strip p {
  margin: 5px 0 0;
}

.feature-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.feature-icon {
  align-items: center;
  background: var(--mist);
  border-radius: 50%;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 17px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.split-section {
  display: grid;
  gap: 22px;
  overflow: hidden;
}

.split-copy p {
  font-size: 18px;
  max-width: 640px;
}

.showcase-top,
.showcase-row {
  margin: 0;
}

.showcase-top {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, auto));
  justify-content: center;
}

.showcase-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, auto));
  justify-content: center;
}

.showcase-screenshot {
  aspect-ratio: 1320 / 2868;
  background: #ffffff;
  border: 8px solid #07181f;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
  display: block;
  height: auto;
  object-fit: cover;
  width: clamp(92px, 28vw, 200px);
}

.screenshot-recommended {
  object-position: top center;
}

.beta-section {
  background: var(--ink);
  color: #ffffff;
}

.beta-section p {
  color: #d5e3e8;
}

.support-section a {
  color: var(--teal-dark);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.faq-section details {
  padding: 0;
}

.faq-section summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
  padding: 18px 20px;
}

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

.faq-section summary::after {
  color: var(--teal);
  content: "+";
  float: right;
  font-size: 24px;
  line-height: 1;
}

.faq-section details[open] summary::after {
  content: "-";
}

.faq-section details p {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 14px 20px 0;
}

.faq-section details p:last-child {
  padding-bottom: 18px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 24px 20px 36px;
}

.site-footer span {
  font-weight: 900;
}

.policy-page {
  background: #f6fafb;
}

.policy-main {
  margin: 0 auto;
  max-width: 860px;
  padding: 34px 20px 60px;
}

.policy-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.policy-card h1 {
  color: var(--ink);
  font-size: 38px;
}

.policy-card h2 {
  font-size: 24px;
  margin-top: 34px;
}

.policy-card h3 {
  font-size: 18px;
  margin-top: 24px;
}

.policy-card li {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 5px;
}

.effective-date {
  color: var(--muted);
  font-weight: 800;
}

@media (min-width: 760px) {
  .site-header {
    padding: 14px 34px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 640px);
    min-height: 760px;
    padding: 96px 44px 54px;
  }

  .hero-content {
    align-self: center;
  }

  .app-preview {
    align-self: center;
  }

  .app-screenshot {
    width: clamp(128px, 15vw, 210px);
  }

  .intro-strip,
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .split-section {
    align-items: start;
    column-gap: clamp(56px, 8vw, 140px);
    grid-template-columns: 1fr minmax(360px, 520px);
    grid-template-areas:
      "copy-top screen-top"
      "copy-bottom screen-bottom";
    row-gap: 16px;
  }

  .split-copy-top {
    grid-area: copy-top;
  }

  .showcase-top {
    grid-area: screen-top;
    justify-self: center;
  }

  .split-copy-bottom {
    grid-area: copy-bottom;
  }

  .showcase-row {
    grid-area: screen-bottom;
  }

  .showcase-screenshot {
    width: clamp(128px, 15vw, 210px);
  }

  .site-footer {
    padding-left: 34px;
    padding-right: 34px;
  }
}
