/* Stitch web style, from the Paper file "Stitch website", artboard "Stitch — Travel points v2 (window seat)".
   Shared by the console, prices and legal pages (served at /assets/site.css). ABC Diatype where it's installed;
   Inter otherwise. */
@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;700&family=JetBrains+Mono:wght@400&display=swap");

:root {
  --ink: #0B1B2E; --ink-2: #2B3A4F; --ink-3: #3B4B61; --muted: #4A5A70; --label: #6A7A90;
  --blue: #3A82DA; --blue-ink: #2563B8; --orange: #F4A259; --orange-pale: #FDE7D2;
  --line: #E6ECF4; --line-2: #DDE5EF; --pale: #F5F8FC; --panel: #FFFFFF; --bad: #B42318; --ok-bg: #EAF2FC;
  --sans: "ABC Diatype", Inter, system-ui, -apple-system, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --code: "JetBrains Mono", ui-monospace, monospace;
  --shadow: #0B1B2E0F 0 0 0 1px, #0B1B2E0A 0 2px 4px, #2563B814 0 12px 32px;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--pale); color: var(--ink); font: 15px/1.5 var(--sans); font-synthesis: none; }
a { color: var(--blue-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* the band at the top of every page: the hero's dawn gradient, cut short */
.band { background: linear-gradient(180deg, #FCF6EF 0%, #F7EBDD 55%, var(--pale) 100%);
        background: linear-gradient(in oklab 180deg, oklab(97.3% 0.007 0.019) 0%, oklab(93.9% 0.016 0.041) 55%, oklab(97.5% -0.002 -0.006) 100%); }
nav.top { max-width: 1120px; margin: 0 auto; height: 76px; padding-inline: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 24px; }
.navlinks { display: flex; align-items: center; gap: 24px; font-size: 15px; line-height: 20px; color: var(--muted); flex-wrap: wrap; }
.navlinks a { color: var(--muted); text-decoration: none; }
.navlinks a:hover, .navlinks a.here { color: var(--ink); }
.navlinks .who { color: var(--label); font-size: 14px; }

main { max-width: 1120px; margin: 0 auto; padding: 8px 24px 96px; }
main.narrow { max-width: 760px; }
.page-title { margin: 28px 0 8px; font-size: clamp(36px, 5vw, 52px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.lede { margin: 0 0 28px; max-width: 620px; color: var(--ink-2); font-size: 18px; line-height: 28px; letter-spacing: -0.01em; }

section.card { background: var(--panel); border-radius: 16px; box-shadow: var(--shadow); padding: 28px; margin-bottom: 20px; }
section.card > h2, .card-head h2 { margin: 0 0 6px; font-size: 22px; line-height: 28px; font-weight: 500; letter-spacing: -0.02em; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.card-head > :first-child { flex: 1; min-width: 0; }
p { margin: 0 0 12px; }
.small { font-size: 14px; line-height: 21px; color: var(--muted); }
.k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); line-height: 14px; }

label { display: block; font-weight: 500; font-size: 14px; margin: 14px 0 6px; color: var(--ink); }
input[type=email], input[type=text], input[type=number], input[type=date], input[type=search], select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
input[type=date] { min-height: 44px; }
input::placeholder { color: #8A97A8; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > input { flex: 1; min-width: 180px; width: auto; }
.choice { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; margin: 8px 0; cursor: pointer; font-weight: 400; font-size: 15px; background: #fff; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { margin-top: 4px; accent-color: var(--ink); }
.choice b { display: block; font-weight: 500; }

.btn, button { font: inherit; font-weight: 700; font-size: 15px; line-height: 20px; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; transition: transform .15s ease; }
.btn:hover, button:hover { transform: translateY(-1px); }
button.ghost, .btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; }
button.link { background: none; color: var(--blue-ink); padding: 0; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
button.link:hover { transform: none; }
button:disabled { opacity: .45; cursor: default; transform: none; }

.err { color: var(--bad); font-size: 14px; margin-top: 10px; min-height: 1em; }
.banner { background: var(--ok-bg); color: var(--ink); border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; font-size: 15px; }
.banner.warn { background: var(--orange-pale); color: #7A3E0A; }
.secret { font-family: var(--code); font-size: 13px; background: var(--pale); border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px 14px; word-break: break-all; }
pre { font-family: var(--code); font-size: 12.5px; line-height: 20px; background: #181818; color: #E8E8E8; border-radius: 10px; padding: 14px 16px; overflow-x: auto; margin: 6px 0 14px; }
code { font-family: var(--code); font-size: 13px; background: var(--pale); padding: 1px 6px; border-radius: 5px; }

.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
td, th { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); font-weight: 400; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 500; background: var(--pale); color: var(--ink-3); }
.pill.orange { background: var(--orange-pale); color: #9A3412; }
.pill.blue { background: var(--ok-bg); color: var(--blue-ink); }

footer.site { max-width: 1120px; margin: 0 auto; padding: 8px 24px 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
footer.site .links { display: flex; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
.hidden { display: none !important; }

/* the boarding pass: a ticket with an orange stub, from the design's hero */
.pass { display: flex; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: #0B1B2E1A 0 1px 2px, #0B1B2E1F 0 10px 24px, #2563B81A 0 24px 48px; }
.pass .main { flex: 1; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.pass .stub { width: 210px; flex-shrink: 0; background: var(--orange); border-left: 1.5px dashed #0B1B2E47; padding: 22px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.pass .stub .k { color: var(--ink); }
.pass .big { font-size: 34px; line-height: 36px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pass .fields { display: flex; gap: 28px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.pass .fields .v { font-size: 17px; font-weight: 500; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* legal and other prose pages */
.prose h2 { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.015em; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; line-height: 26px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); margin-bottom: 28px; }

@media (max-width: 720px) {
  nav.top { height: auto; padding: 16px; flex-wrap: wrap; }
  main { padding: 4px 16px 72px; }
  section.card { padding: 20px; border-radius: 14px; }
  .pass { flex-direction: column; }
  .pass .stub { width: auto; border-left: 0; border-top: 1.5px dashed #0B1B2E47; flex-direction: row; align-items: flex-end; }
  footer.site { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
