/*
 * The front page, in both languages (/ and /en/). Tokens, fonts, header and
 * footer come from brand.css. The example itinerary mirrors the app's tickets.
 */

main.landing {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  flex: 1;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 490px);
  gap: 50px 80px;
  align-items: center;
  padding: 55px 0 65px;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 6.5vw, 86px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
}
h1 span { color: var(--brand); }

.hero-copy .eyebrow { color: var(--brand); font-size: 12px; letter-spacing: .1em; }
.hero-copy .lede {
  max-width: 510px;
  margin: 24px 0 0;
  color: #e6eef8;
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 450;
  line-height: 1.6;
}
.hero-actions { margin-top: 30px; }
.primary-link {
  display: inline-flex;
  gap: 28px;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 14px;
  padding: 16px 22px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(119, 234, 169, .14);
}
.primary-link:hover { background: var(--brand-ink); }
.platforms { margin: 12px 0 0; font-size: 14px; color: var(--text-muted); }
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 0;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--brand);
}
.soon__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.private-note { margin-top: 20px; color: var(--text-muted); font-size: 13px; }

/* ---------- The example itinerary ---------- */
.app-scene {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  background: rgba(11, 28, 53, .94);
  box-shadow: var(--shadow-md);
}
.scene-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.scene-heading .eyebrow { margin: 0; font-size: 10px; }
.scene-tabs { display: flex; gap: 24px; padding: 18px 0 23px; color: var(--text-muted); font-size: 12px; }
.scene-tabs span:first-child { color: var(--brand); font-weight: 700; }
.route { list-style: none; margin: 0; padding: 0; }
.scene-day { display: flex; gap: 12px; align-items: center; font-size: 13px; margin-bottom: 18px; }
.scene-day > span:last-child { color: var(--text-muted); }
.scene-node { width: 9px; height: 9px; border: 2px solid var(--brand); border-radius: 50%; }
.scene-item { position: relative; padding-left: 21px; }
.scene-item::before { content: ""; position: absolute; top: 0; bottom: 0; left: 4px; width: 2px; background: var(--border); }
.scene-item::after { content: ""; position: absolute; top: 27px; left: -1px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--brand); background: var(--bg); }
.scene-item:last-child::before { height: 28px; }
.scene-credit { margin: 18px 0 0 21px; font-size: 10px; color: var(--text-muted); }

/* Boarding pass */
.ticket {
  display: block;
  margin: 0 0 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.perf { position: relative; display: block; height: 18px; }
.perf::before, .perf::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
}
.perf::before { left: -9px; }
.perf::after { right: -9px; }
.perf__line { position: absolute; left: 16px; right: 16px; top: 8px; border-top: 2px dashed var(--border); }
.pass__body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 10px; }
.pass__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pass__carrier {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pass__route { display: flex; align-items: center; gap: 8px; }
.end { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.end--end { text-align: right; align-items: flex-end; }
.end__code { font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.end__name { font-size: 13px; color: var(--text-muted); }
.pass__arc { position: relative; flex: 1; min-width: 44px; display: flex; flex-direction: column; align-items: center; color: var(--brand); }
.pass__line { width: 100%; height: 24px; overflow: visible; }
.pass__line path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 4 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-plane { position: absolute; top: 0; }
.pass__duration { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--text-muted); }
.pass__times { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pass__clock { font-family: var(--display); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pass__note { font-size: 12px; color: var(--text-muted); }
.pass__stub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px 16px 14px; }
.stubfield { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stubfield__value { font-family: var(--display); font-size: 13px; font-weight: 600; }

/* Rental car and hotel */
.rental-preview {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 17px;
  margin-bottom: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 17px;
}
.rental-time { display: flex; flex-direction: column; gap: 6px; border-right: 1px dashed var(--border); padding-right: 12px; }
.rental-time strong { font-family: var(--display); font-size: 23px; }
.scene-item h3 { margin: 7px 0 5px; font-family: var(--display); font-size: 18px; line-height: 1.15; }
.rental-preview p, .hotel-preview p { margin: 0; color: var(--text-muted); font-size: 12px; }
.small-fact { display: block; margin-top: 9px; font-size: 11px; }
.hotel-preview { padding: 17px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 17px; }
.hotel-preview h3 { font-size: 24px; }
.hotel-preview .tlabel { color: var(--brand); }
.night-bars { display: flex; gap: 5px; margin: 16px 0; }
.night-bars i { flex: 1; height: 5px; border-radius: 2px; background: var(--brand); opacity: .4; }
.hotel-footer { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; color: var(--text-muted); }

/* ---------- Three benefits ---------- */
.benefit-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-top: 35px;
  border-top: 1px solid var(--border);
}
.benefit-row .eyebrow { margin-bottom: 14px; color: var(--brand); font-size: 12px; letter-spacing: .1em; }
.benefit-row h2 { margin: 0; font-family: var(--display); font-size: 24px; line-height: 1.15; }
.benefit-row p { margin: 12px 0 0; color: var(--text-muted); font-size: 16px; line-height: 1.65; }

/* ---------- For developers and AI assistants ---------- */
.dev {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 36px 64px;
  align-items: start;
  padding-top: 35px;
  border-top: 1px solid var(--border);
}
.dev .eyebrow { margin-bottom: 14px; color: var(--brand); font-size: 12px; letter-spacing: .1em; }
.dev h2 { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.dev__intro p { margin: 14px 0 0; color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.dev__intro .dev__note { margin-top: 18px; font-size: 13px; }
.dev__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dev-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.dev-card:hover { border-color: var(--brand); }
.dev-card:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.dev-card .tlabel { color: var(--brand); font-size: 11px; }
.dev-card h3 { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.15; }
.dev-card code {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(3, 14, 31, .45);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.dev-card p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; flex: 1; }
.dev-card__link { font-weight: 600; color: var(--brand); }

@media (max-width: 900px) {
  main.landing { grid-template-columns: 1fr 1fr; gap: 30px; }
  .app-scene { padding: 18px; }
  h1 { font-size: 56px; }
  .hero-copy .lede { font-size: 18px; }
  .dev { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  main.landing { width: calc(100% - 32px); grid-template-columns: 1fr; padding-top: 24px; gap: 40px; }
  h1 { font-size: clamp(48px, 12vw, 74px); }
  .hero-copy .lede { max-width: 520px; }
  .app-scene { max-width: 490px; width: 100%; margin: 0 auto; }
  .benefit-row { grid-template-columns: 1fr; gap: 28px; }
  .benefit-row h2 { font-size: 25px; }
  .dev h2 { font-size: 26px; }
  .dev__cards { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .end__code { font-size: 36px; }
  .pass__note { font-size: 11px; }
}
