:root {
  --sheet: #f7f7f4;
  --surface: #ffffff;
  --ink: #161a1d;
  --steel: #626a70;
  --muted: #7b8388;
  --rule: #d3d9d6;
  --rule-strong: #aeb8b4;
  --blue: #2457d6;
  --blue-dark: #173b98;
  --blue-wash: #e9eef5;
  --black: #0d1114;
  --page: min(1180px, calc(100vw - 48px));
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sheet);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--surface);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--black);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--black);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--mono);
}

.page-shell,
.header-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--surface);
}

.header-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-symbol {
  display: inline-block;
  width: 34px;
  height: 32px;
  margin-right: 11px;
  flex: 0 0 auto;
}

.brand-symbol img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 18px;
}

.brand-context {
  padding-left: 13px;
  margin-left: 13px;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.site-nav a {
  color: #454c51;
  font-size: 13px;
  font-weight: 550;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-account {
  display: none;
}

.header-action {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  overflow: hidden;
  max-width: 210px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-action:hover {
  color: var(--surface);
  background: var(--ink);
}

.nav-toggle {
  display: none;
}

.intro {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--rule);
}

.intro-index {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
  gap: 64px;
  align-items: start;
  padding-top: 30px;
}

.intro-copy {
  max-width: 590px;
  padding-top: 24px;
}

.intro h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 54px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.048em;
}

.intro-copy > p {
  max-width: 690px;
  margin: 22px 0 0;
  color: #50585d;
  font-size: 17px;
  line-height: 1.6;
}

.intro-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 25px;
}

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
}

.button-primary {
  color: var(--surface);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.text-action {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.text-action span {
  font-size: 17px;
  line-height: 1;
}

.text-action:hover {
  color: var(--blue-dark);
}

.scope-builder {
  min-width: 0;
  border-top: 3px solid var(--ink);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
  background: var(--surface);
}

.builder-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--rule);
}

.builder-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.builder-status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--steel);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.builder-status > span {
  width: 7px;
  height: 7px;
  background: var(--blue);
}

.builder-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.builder-field {
  min-width: 0;
  padding: 11px 13px 13px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.builder-field:nth-child(3) {
  border-right: 0;
}

.builder-field-wide {
  grid-column: 1 / -1;
  border-right: 0;
}

.builder-field:last-child {
  border-bottom: 0;
}

.builder-field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.builder-field input,
.builder-field select {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  color: var(--ink);
  background: var(--surface);
  font: 12px var(--sans);
}

.builder-field input::placeholder {
  color: #949b9f;
}

.feed-passport {
  color: #dbe1e3;
  background: var(--black);
}

.passport-heading {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid #343b3f;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.passport-heading span:first-child {
  color: #8aa7ff;
  font-size: 10px;
  font-weight: 650;
}

.passport-heading span:last-child {
  color: #778186;
}

.passport-register {
  margin: 0;
  padding: 8px 15px;
}

.passport-register div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 5px 0;
  border-bottom: 1px solid #282e32;
}

.passport-register div:last-child {
  border-bottom: 0;
}

.passport-register dt,
.passport-fields > span {
  color: #788287;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.passport-register dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #f4f6f7;
  font-size: 11px;
}

.passport-fields {
  padding: 10px 15px 13px;
  border-top: 1px solid #343b3f;
}

.passport-fields p {
  margin: 5px 0 0;
  color: #aeb8bd;
  font-size: 9px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.builder-actions {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
  padding: 12px 13px 9px;
}

.builder-actions .button {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
}

.button-secondary {
  border-color: var(--rule-strong);
  background: var(--surface);
  cursor: pointer;
}

.button-secondary:hover {
  border-color: var(--ink);
}

.builder-message {
  min-height: 25px;
  margin: 0;
  padding: 0 13px 10px;
  color: var(--muted);
  font-size: 8px;
}

.flight-search {
  min-width: 0;
  border-top: 3px solid var(--ink);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
  background: var(--surface);
}

.search-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule-strong);
  background: #f4f6f5;
}

.search-tabs button {
  min-height: 45px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid var(--rule);
  color: var(--steel);
  background: transparent;
  cursor: pointer;
  font: 600 11px var(--sans);
  text-align: left;
}

.search-tabs button:last-child {
  border-right: 0;
}

.search-tabs button .mono {
  margin-right: 6px;
  color: var(--muted);
  font-size: 7px;
}

.search-tabs button[aria-selected="true"] {
  color: var(--surface);
  background: var(--ink);
}

.search-tabs button[aria-selected="true"] .mono {
  color: #8aa7ff;
}

.search-panel[hidden] {
  display: none;
}

.commerce-mode {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--rule);
  background: #fafbf9;
}

.commerce-mode > span {
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-right: 1px solid var(--rule);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.commerce-mode > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.commerce-mode button {
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid var(--rule);
  color: var(--steel);
  background: transparent;
  cursor: pointer;
  font: 600 10px var(--sans);
  text-align: left;
}

.commerce-mode button:last-child {
  border-right: 0;
}

.commerce-mode button[aria-pressed="true"] {
  box-shadow: inset 0 -2px var(--blue);
  color: var(--blue);
  background: var(--surface);
}

.search-field-primary {
  background: #f4f6f5;
}

.search-fields-compact {
  grid-template-columns: minmax(145px, 0.65fr) minmax(0, 1.35fr);
}

.search-fields-compact .search-field {
  grid-column: auto;
  border-bottom: 0;
}

.search-fields-compact .search-field:first-child {
  border-right: 1px solid var(--rule);
}

.search-fields-compact .search-field:last-child {
  border-right: 0;
}

.search-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--rule);
}

.search-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.search-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.search-status-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--steel);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-status-badge > span {
  width: 7px;
  height: 7px;
  background: #1a8b55;
}

.search-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.search-field {
  min-width: 0;
  padding: 12px 13px 14px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.search-field:nth-child(2n) {
  border-right: 0;
}

.search-field:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.search-field-wide {
  grid-column: 1 / -1;
  border-right: 0;
}

.search-field-airline,
.search-field-primary {
  border-bottom: 1px solid var(--rule);
  background: #f4f6f5;
}

.search-field-date {
  border-bottom: 0;
}

.search-field:nth-child(2) {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.search-field:nth-child(3) {
  border-right: 0;
  border-bottom: 1px solid var(--rule);
}

.search-field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.search-field input,
.search-field select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  color: var(--ink);
  background: var(--surface);
  font: 13px var(--sans);
}

.search-field input[name="origin"],
.search-field input[name="destination"] {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-results {
  color: #dbe1e3;
  background: var(--black);
}

.results-heading {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 15px;
  border-bottom: 1px solid #343b3f;
}

.results-heading > div {
  display: grid;
  gap: 3px;
}

.results-heading > div span {
  color: #778186;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results-heading strong {
  color: #fff;
  font-size: 15px;
  font-weight: 650;
}

.result-label {
  padding: 4px 6px;
  border: 1px solid #526069;
  color: #aeb8bd;
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 1.5fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 15px;
  border-bottom: 1px solid #282e32;
}

.result-row strong {
  color: #f4f6f7;
  font-size: 11px;
  font-weight: 650;
}

.result-row > span:not(.mono) {
  color: #aeb8bd;
  font-size: 10px;
  text-transform: capitalize;
}

.result-row > .mono {
  color: #8aa7ff;
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-access-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 20px;
  border-bottom: 1px solid #416ad4;
  color: #fff;
  background: var(--blue);
}

.search-results[data-state="sign-in-required"] .results-heading .result-label {
  color: #fff;
  background: var(--blue);
}

.search-results[data-state="sign-in-required"] .result-list {
  display: none;
}

.search-results[data-state="executing"] .result-list,
.search-results[data-state="executing"] .result-access-gate,
.search-results[data-state="executing"] .result-notice {
  display: none;
}

.execution-progress {
  padding: 15px;
  border-bottom: 1px solid #343b3f;
  background: #171b1d;
}

.execution-progress-head {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.execution-progress-head > span {
  color: #8aa7ff;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.execution-progress-head strong {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.execution-progress ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.execution-progress li {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: #b7c0c4;
  font-size: 10px;
}

.execution-progress li > .mono {
  color: #68757b;
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.execution-event-marker {
  width: 7px;
  height: 7px;
  border: 1px solid #718087;
  background: transparent;
}

.execution-progress li[data-level="success"] .execution-event-marker {
  border-color: #36ad73;
  background: #36ad73;
}

.execution-progress li[data-level="warning"] .execution-event-marker {
  border-color: #e4aa4b;
  background: #e4aa4b;
}

.execution-progress li[data-level="error"] .execution-event-marker {
  border-color: #ed6b63;
  background: #ed6b63;
}

.result-access-copy {
  display: grid;
  gap: 4px;
}

.result-access-gate span {
  color: #cbd8ff;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.result-access-gate strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.result-access-gate p {
  margin: 0;
  color: #dce5ff;
  font-size: 10px;
  line-height: 1.4;
}

.result-sign-in {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #fff;
  color: var(--blue-dark);
  background: #fff;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}

.result-sign-in:hover {
  color: #fff;
  background: transparent;
}

.result-sign-in span {
  margin-left: 5px;
  color: currentColor;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.result-sign-in:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.result-notice {
  margin: 0;
  padding: 10px 15px 12px;
  color: #788287;
  font-size: 8px;
  line-height: 1.5;
}

.turnstile-slot:not(:empty) {
  padding: 12px 13px 0;
}

.search-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 13px 9px;
}

.search-button {
  position: relative;
  min-width: 160px;
  cursor: pointer;
}

.search-button:disabled {
  cursor: wait;
  opacity: 0.86;
}

.button-spinner {
  display: none;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border: 1.5px solid rgb(255 255 255 / 45%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.flight-search[data-busy] .button-spinner {
  display: inline-block;
}

.search-security {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.search-message {
  min-height: 25px;
  margin: 0;
  padding: 0 13px 10px;
  color: var(--muted);
  font-size: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.coverage-notice {
  margin: 29px 0 0;
  padding: 15px 17px;
  border-left: 3px solid var(--blue);
  color: #50585d;
  background: var(--blue-wash);
  font-size: 13px;
}

.coverage-notice strong {
  color: var(--ink);
  font-weight: 650;
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 70px;
  align-items: end;
  margin-bottom: 38px;
}

.section-label {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2,
.split-copy h2,
.quality-intro h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading > p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.catalog {
  background: var(--surface);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border: 1px solid var(--rule);
  border-bottom: 0;
  background: var(--sheet);
}

.filter-group {
  display: flex;
  align-self: stretch;
}

.filter-group button {
  min-width: 88px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.filter-group button[aria-pressed="true"] {
  color: var(--surface);
  background: var(--ink);
}

.filter-group button:not([aria-pressed="true"]):hover {
  color: var(--blue);
  background: var(--surface);
}

.catalog-count {
  padding: 0 16px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--surface);
}

.feed-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.feed-table th {
  padding: 13px 14px;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--muted);
  background: #fafbf9;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.feed-table th:nth-child(1) { width: 13%; }
.feed-table th:nth-child(2) { width: 16%; }
.feed-table th:nth-child(3) { width: 23%; }
.feed-table th:nth-child(4) { width: 14%; }
.feed-table th:nth-child(5) { width: 15%; }
.feed-table th:nth-child(6) { width: 19%; }

.feed-table td {
  padding: 21px 14px;
  border-bottom: 1px solid var(--rule);
  color: #4f575c;
  font-size: 12px;
  line-height: 1.55;
  vertical-align: top;
}

.feed-table tbody tr:last-child td {
  border-bottom: 0;
}

.feed-table tbody tr:hover td {
  background: #f8fafc;
}

.feed-id {
  color: var(--blue);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.domain-name {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feed-table td strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.catalog-note {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.coverage {
  background: var(--blue-wash);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 92px;
  align-items: start;
}

.split-copy > p:not(.section-label) {
  max-width: 500px;
  margin: 25px 0 24px;
  color: #525c62;
  font-size: 15px;
  line-height: 1.7;
}

.scope-sheet {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  background: var(--surface);
}

.sheet-heading {
  padding: 15px 18px;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scope-sheet dl {
  margin: 0;
}

.scope-sheet dl div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--rule);
}

.scope-sheet dl div:last-child {
  border-bottom: 0;
}

.scope-sheet dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.scope-sheet dd {
  margin: 0;
  color: var(--steel);
  font-size: 12px;
}

.compact-heading {
  margin-bottom: 31px;
}

.method-list {
  border-top: 2px solid var(--ink);
}

.method-list article {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 220px;
  gap: 36px;
  align-items: center;
  min-height: 104px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.method-name {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: center;
}

.method-name > span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.method-name h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.method-list article > p {
  margin: 0;
  color: var(--steel);
  font-size: 13px;
}

.method-list dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  margin: 0;
  font-size: 11px;
}

.method-list dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.method-list dd {
  margin: 0;
}

.quality {
  color: #edf1f2;
  background: var(--black);
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  gap: 94px;
  align-items: start;
}

.quality-intro .section-label {
  color: #8aa7ff;
}

.quality-intro h2 {
  color: var(--surface);
}

.quality-intro > p:not(.section-label) {
  max-width: 440px;
  margin: 25px 0 0;
  color: #aab2b6;
  font-size: 14px;
  line-height: 1.7;
}

.quality-register {
  margin: 0;
  border-top: 1px solid #596064;
}

.quality-register div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  padding: 17px 0;
  border-bottom: 1px solid #343b3f;
}

.quality-register dt {
  color: var(--surface);
  font-size: 12px;
  font-weight: 650;
}

.quality-register dd {
  margin: 0;
  color: #9ea7ab;
  font-size: 12px;
}

.contact {
  padding: 78px 0;
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 80px;
  align-items: end;
}

.contact-layout h2 {
  max-width: 700px;
}

.contact-action > p {
  margin: 0 0 22px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.contact-email {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 9px;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--rule);
  background: var(--sheet);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 260px;
  gap: 70px;
  align-items: start;
}

.footer-brand .brand-symbol {
  width: 30px;
  height: 28px;
}

.footer-brand .brand-name {
  font-size: 16px;
}

.footer-layout > div:first-child > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.footer-links {
  display: grid;
  grid-template-columns: auto auto;
  gap: 9px 28px;
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-end;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.auth-dialog {
  width: min(440px, calc(100% - 30px));
  padding: 0;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 80px rgb(22 29 33 / 24%);
}

.auth-dialog::backdrop {
  background: rgb(22 29 33 / 52%);
  backdrop-filter: blur(2px);
}

.auth-dialog-shell {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-top: 3px solid var(--blue);
}

.auth-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.auth-dialog-header span,
.auth-field > span {
  color: var(--blue);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.auth-dialog-header h2 {
  margin: 5px 0 0;
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.auth-dialog-header button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.auth-dialog-shell > p:not(.auth-message) {
  margin: 0;
  color: var(--steel);
  font-size: 13px;
  line-height: 1.55;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field input {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  font: 13px var(--sans);
}

.auth-message {
  min-height: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.account-summary {
  display: grid;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.account-summary > div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.account-summary > div:last-child {
  border-bottom: 0;
}

.account-summary span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-summary strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 620;
  text-align: right;
}

.auth-dialog-shell > .account-note {
  margin: 0;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.55;
}

.account-package-field {
  display: grid;
  gap: 0.45rem;
}

.account-package-field span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-package-field select {
  width: 100%;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 0.75rem 0.85rem;
}

.account-package-field[hidden] {
  display: none;
}

.account-sign-out {
  border-color: var(--rule-strong);
  color: var(--ink);
  background: transparent;
}

.account-billing-message {
  min-height: 0;
  color: var(--steel);
}

.account-billing[hidden] {
  display: none;
}

.payment-dialog-shell {
  justify-items: stretch;
}

.payment-qr-frame {
  display: grid;
  place-items: center;
  min-height: 276px;
  border: 1px solid var(--rule-strong);
  background: #fff;
}

.payment-qr-frame img {
  display: block;
  width: 240px;
  height: 240px;
  object-fit: contain;
}

@media (max-width: 1040px) {
  .brand-context {
    display: none;
  }

  .intro-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
    gap: 40px;
  }

  .section-heading,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 48px;
  }

  .split-layout,
  .quality-layout {
    gap: 54px;
  }

  .method-list article {
    grid-template-columns: 240px minmax(0, 1fr) 180px;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  :root {
    --page: min(100% - 36px, 720px);
  }

  .header-shell {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .header-action {
    display: none;
  }

  html[data-js] .nav-toggle {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--ink);
    background: var(--surface);
  }

  .nav-toggle span:not(.sr-only) {
    position: absolute;
    width: 16px;
    height: 1px;
    background: var(--ink);
  }

  .nav-toggle span:last-child {
    transform: translateY(5px);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
  }

  html[data-js] .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--rule);
    background: var(--surface);
  }

  html[data-js] .site-nav[data-open] {
    display: flex;
  }

  html[data-js] .site-nav a {
    padding: 14px 17px;
    border-bottom: 1px solid var(--rule);
  }

  html[data-js] .site-nav a:last-child {
    border-bottom: 0;
  }

  html[data-js] .site-nav .nav-account {
    display: block;
    padding: 14px 17px;
    border: 0;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
    font: 650 13px var(--sans);
    text-align: left;
  }

  html:not([data-js]) .site-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 14px 22px;
    padding-bottom: 14px;
  }

  .intro-layout,
  .section-heading,
  .split-layout,
  .quality-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-layout {
    gap: 48px;
  }

  .intro-copy {
    max-width: 650px;
    padding-top: 0;
  }

  .scope-builder {
    width: min(100%, 620px);
  }

  .flight-search {
    width: min(100%, 620px);
  }

  .section-heading,
  .contact-layout {
    gap: 28px;
  }

  .split-layout,
  .quality-layout {
    gap: 52px;
  }

  .scope-sheet {
    width: 100%;
  }

  .method-list article {
    grid-template-columns: 220px 1fr;
  }

  .method-list dl {
    grid-column: 2;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .footer-meta {
    grid-column: 1 / -1;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100% - 28px);
  }

  .site-header,
  .header-shell {
    min-height: 64px;
  }

  .brand-name {
    font-size: 17px;
  }

  .intro {
    padding: 31px 0 42px;
  }

  .intro-index {
    font-size: 8px;
  }

  .intro-layout {
    padding-top: 32px;
  }

  .intro h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .intro-copy > p {
    font-size: 16px;
  }

  .builder-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .search-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .builder-fields {
    grid-template-columns: 1fr;
  }

  .builder-field,
  .builder-field:nth-child(3) {
    grid-column: auto;
    border-right: 0;
  }

  .builder-field:not(:last-child) {
    border-bottom: 1px solid var(--rule);
  }

  .builder-actions {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .search-fields {
    grid-template-columns: 1fr;
  }

  .search-tabs {
    grid-template-columns: 1fr;
  }

  .search-tabs button {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .search-tabs button:last-child {
    border-bottom: 0;
  }

  .search-fields-compact {
    grid-template-columns: 1fr;
  }

  .search-fields-compact .search-field:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .commerce-mode {
    grid-template-columns: 1fr;
  }

  .commerce-mode > span {
    min-height: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .search-field,
  .search-field:nth-child(2n),
  .search-field:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .search-field:last-child {
    border-bottom: 0;
  }

  .search-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .search-security {
    text-align: center;
  }

  .result-row {
    grid-template-columns: 1fr auto;
  }

  .result-row > span:not(.mono) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .result-access-gate {
    align-items: stretch;
    flex-direction: column;
  }

  .result-sign-in {
    width: 100%;
  }

  .intro-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .coverage-notice {
    margin-top: 34px;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading h2,
  .split-copy h2,
  .quality-intro h2,
  .contact-layout h2 {
    font-size: clamp(33px, 10.5vw, 44px);
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filter-group button {
    min-height: 44px;
    border-bottom: 1px solid var(--rule);
  }

  .catalog-count {
    padding-block: 11px;
  }

  .table-scroll {
    overflow: visible;
    border: 0;
  }

  .feed-table,
  .feed-table tbody,
  .feed-table tr,
  .feed-table td {
    display: block;
    width: 100%;
  }

  .feed-table {
    table-layout: auto;
  }

  .feed-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .feed-table tbody {
    border: 1px solid var(--rule);
  }

  .feed-table tr {
    padding: 14px 0;
    border-bottom: 2px solid var(--ink);
  }

  .feed-table tr:last-child {
    border-bottom: 0;
  }

  .feed-table td,
  .feed-table tbody tr:last-child td {
    display: grid;
    grid-template-columns: 102px 1fr;
    gap: 13px;
    padding: 8px 14px;
    border-bottom: 0;
  }

  .feed-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .feed-table tbody tr:hover td {
    background: transparent;
  }

  .scope-sheet dl div,
  .quality-register div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .method-list article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 27px 0;
  }

  .method-list dl {
    grid-column: auto;
  }

  .contact-action .button {
    width: 100%;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-meta {
    grid-column: auto;
  }
}

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

  .button-spinner {
    animation-duration: 1.5s;
  }
}
