:root {
  color-scheme: light;
  --ink: #0a1720;
  --ink-2: #132733;
  --paper: #f3f1e9;
  --paper-2: #e8e5da;
  --signal: #f4ff52;
  --orange: #fa6c3b;
  --blue: #2f83ff;
  --muted: #667177;
  --line: rgba(10, 23, 32, 0.16);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: white;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand span {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand strong {
  font-size: 1.12rem;
  font-weight: 800;
}

.brand em {
  font-size: 1.12rem;
  font-style: normal;
  font-weight: 350;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: fit-content;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  justify-self: end;
  padding: 11px 15px;
}

.button-ghost {
  border: 1px solid var(--ink);
}

.button-primary {
  padding: 17px 22px;
  background: var(--signal);
  color: var(--ink);
}

.button-dark {
  width: 100%;
  padding: 17px 22px;
  background: var(--ink);
  color: white;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  gap: 70px;
  min-height: 730px;
  overflow: hidden;
  padding: 105px max(24px, calc((100vw - var(--max)) / 2)) 90px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -9vw;
  bottom: -24vw;
  width: 57vw;
  height: 57vw;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.97;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 78%);
  opacity: 0.22;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  right: -8vw;
  border: 1px solid rgba(10, 23, 32, 0.22);
  border-radius: 50%;
}

.orbit-one {
  top: 80px;
  width: 47vw;
  height: 47vw;
}

.orbit-two {
  top: 160px;
  right: -2vw;
  width: 36vw;
  height: 36vw;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--orange);
}

.hero h1,
.section-heading h2,
.standard h2,
.planner h2,
.manifesto h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(4rem, 7.8vw, 7.7rem);
  line-height: 0.88;
}

.hero h1 i {
  color: var(--orange);
  font-weight: 400;
}

.hero-lede {
  max-width: 600px;
  margin: 36px 0 0;
  color: #40505a;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.flight-card {
  position: relative;
  z-index: 4;
  align-self: center;
  width: 100%;
  max-width: 470px;
  margin-left: auto;
  background: var(--ink);
  color: white;
  box-shadow: 0 28px 80px rgba(10, 23, 32, 0.22);
  transform: rotate(2.2deg);
}

.flight-card-top,
.flight-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 0.59rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.flight-card-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.live-dot::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.flight-card-main {
  position: relative;
  min-height: 360px;
  padding: 30px;
  background-image: radial-gradient(circle at 76% 25%, rgba(244, 255, 82, 0.2), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.flight-number {
  margin: 0;
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.flight-card h2 {
  margin: 42px 0 60px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 5vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.telemetry span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.72rem;
}

.telemetry small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
}

.flight-card-bottom {
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0;
  text-transform: none;
}

.manifesto {
  padding: 100px max(24px, calc((100vw - var(--max)) / 2));
  background: white;
  text-align: center;
}

.manifesto p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 0.92rem;
}

.manifesto h2 {
  font-size: clamp(2.5rem, 5.7vw, 5.4rem);
}

.manifesto em {
  color: var(--orange);
}

.missions {
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  font-size: clamp(3rem, 5.2vw, 5.3rem);
  line-height: 0.96;
}

.section-heading > p:last-child {
  max-width: 510px;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.65;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.mission-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 430px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 180ms ease, color 180ms ease;
}

.mission-card:hover,
.mission-card-featured {
  background: var(--ink);
  color: white;
}

.mission-index {
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.mission-label {
  margin: 55px 0 8px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mission-card h3 {
  max-width: 440px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.3vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.mission-card p:not(.mission-label) {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.55;
}

.mission-card:hover p:not(.mission-label),
.mission-card-featured p:not(.mission-label) {
  color: rgba(255, 255, 255, 0.58);
}

.mission-select {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 740;
  text-align: left;
}

.standard {
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 120px;
}

.standard-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  padding: 80px;
  background: var(--ink);
  color: white;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.52);
}

.standard h2 {
  font-size: clamp(3rem, 4.7vw, 5rem);
  line-height: 0.95;
}

.standard-copy > p:last-child {
  max-width: 460px;
  margin: 35px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
}

.standard-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.standard-list li {
  display: grid;
  grid-template-columns: 42px 0.8fr 1.2fr;
  gap: 12px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.standard-list span {
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
}

.standard-list strong {
  font-size: 0.82rem;
}

.standard-list em {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.5;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.status-strip div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 24px max(24px, calc((100vw - var(--max)) / 6));
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip span {
  color: var(--orange);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.status-strip strong {
  font-size: 0.76rem;
}

.planner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--signal);
}

.planner h2 {
  max-width: 580px;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.planner-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 30px 0;
  line-height: 1.65;
}

.planner-copy > a {
  font-weight: 780;
}

.planner-form {
  padding: 32px;
  background: white;
  box-shadow: 0 24px 64px rgba(10, 23, 32, 0.12);
}

.planner-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planner-form select,
.planner-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f8f7f2;
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
}

.planner-form select {
  height: 49px;
  padding: 0 12px;
}

.planner-form textarea {
  min-height: 142px;
  padding: 13px;
  resize: vertical;
}

.planner-form select:focus,
.planner-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 131, 255, 0.13);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 50px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: white;
}

.brand-footer {
  grid-column: 1;
}

footer > p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.72rem;
  text-decoration: none;
}

.company-line {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-page {
  min-height: 70vh;
  padding: 90px max(24px, calc((100vw - 760px) / 2));
}

.legal-page h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.legal-page h2 {
  margin-top: 2.4rem;
  font-size: 1rem;
}

.legal-page p,
.legal-page li {
  color: #40505a;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 80px;
    padding-top: 80px;
  }

  .hero::after {
    width: 86vw;
    height: 86vw;
  }

  .flight-card {
    margin: 0 auto;
  }

  .section-heading,
  .standard-panel,
  .planner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 30px;
  }

  .standard-panel {
    gap: 60px;
    padding: 54px 38px;
  }

  .planner {
    gap: 60px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(calc(100% - 30px), var(--max));
  }

  .button-small {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 64px 20px 80px;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .flight-card-main {
    min-height: 315px;
  }

  .flight-card-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .missions,
  .planner,
  .manifesto {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .mission-grid,
  .status-strip,
  .field-row {
    grid-template-columns: 1fr;
  }

  .mission-card {
    min-height: 390px;
  }

  .standard {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 80px;
  }

  .standard-list li {
    grid-template-columns: 36px 1fr;
  }

  .standard-list em {
    grid-column: 2;
  }

  .status-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .planner-form {
    padding: 24px 18px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .brand-footer,
  .company-line {
    grid-column: 1;
  }
}

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

  .button {
    transition: none;
  }
}
