/* journeybot 2.0 tokens (Design System artifact 5VUQg9XDUJRWHfN3LFCq3B) */
:root {
  --brand-orange: #ff5733;
  --brand-deep: #b43d24;
  --brand-cream: #faf3e0;
  --brand-ink: #1c1616;
  --on-brand: #ffffff;
  --sunrise-1: #ffef63;
  --sunrise-2: #ffd154;
  --sunrise-3: #ff9c3c;
  --sunrise-4: #ff4a1c;

  --bg: #ffffff;
  --label: #000000;
  --label-secondary: rgba(60, 60, 67, 0.6);
  --fill-card: rgba(118, 118, 128, 0.12);
  --fill-inset: rgba(116, 116, 128, 0.08);
  --separator: rgba(60, 60, 67, 0.29);
  --glass-fill: rgba(255, 255, 255, 0.55);
  /* The boarding pass and flow panels sit on the sunrise gradient; in dark mode the generic
     glass fill turns muddy there, so they get a deeper warm fill and brighter secondary text. */
  --pass-fill: var(--glass-fill);
  --pass-muted: var(--label-secondary);
  --chip-on-fill: rgba(255, 87, 51, 0.18);
  --chip-on-text: var(--accent-text);
  --accent-text: var(--brand-deep);
  --status-active: #34c759;
  --status-cancelled: #ff3b30;

  --space-1: 4px; --space-2: 8px; --space-3: 12px;
  --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --radius-sm: 12px; --radius-md: 16px; --radius-lg: 24px;
  --radius-xl: 36px; --radius-pill: 9999px;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --display: "SF Pro Display", -apple-system, "Hiragino Sans", "Apple SD Gothic Neo", system-ui, sans-serif;
  --expanded: "SF Pro Expanded", "SF Expanded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --condensed: "SF Pro Condensed", "SF Condensed", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --label: #ffffff;
    --label-secondary: rgba(235, 235, 245, 0.6);
    --fill-card: rgba(118, 118, 128, 0.24);
    --fill-inset: rgba(118, 118, 128, 0.18);
    --separator: rgba(84, 84, 88, 0.6);
    --glass-fill: rgba(36, 36, 38, 0.55);
    --pass-fill: rgba(28, 22, 22, 0.8);
    --pass-muted: rgba(255, 255, 255, 0.72);
    --chip-on-fill: rgba(255, 87, 51, 0.42);
    --chip-on-text: #ffffff;
    --accent-text: var(--brand-orange);
    --status-active: #30d158;
    --status-cancelled: #ff453a;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --label: #ffffff;
  --label-secondary: rgba(235, 235, 245, 0.6);
  --fill-card: rgba(118, 118, 128, 0.24);
  --fill-inset: rgba(118, 118, 128, 0.18);
  --separator: rgba(84, 84, 88, 0.6);
  --glass-fill: rgba(36, 36, 38, 0.55);
  --pass-fill: rgba(28, 22, 22, 0.8);
  --pass-muted: rgba(255, 255, 255, 0.72);
  --chip-on-fill: rgba(255, 87, 51, 0.42);
  --chip-on-text: #ffffff;
  --accent-text: var(--brand-orange);
  --status-active: #30d158;
  --status-cancelled: #ff453a;
}

/* The variable SF Pro carries the width axis; the static cuts don't. */
@font-face { font-family: "SF Expanded"; src: local("SF Pro"), local("SFPro-Regular"), local(".SFNS-Regular"); font-weight: 100 900; font-stretch: 125%; }
@font-face { font-family: "SF Condensed"; src: local("SF Pro"), local("SFPro-Regular"), local(".SFNS-Regular"); font-weight: 100 900; font-stretch: 75%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 17px/22px var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--space-4); }
.muted { color: var(--label-secondary); }

.ticket-caption {
  font-family: var(--condensed);
  font-stretch: 75%;
  font-size: 11px; line-height: 13px; font-weight: 600;
  letter-spacing: 0.6px; text-transform: uppercase;
}
.wordmark {
  font-family: var(--expanded);
  font-stretch: 125%;
  font-weight: 700; letter-spacing: -0.02em;
}

/* Hero: the one marketing gradient, full bleed */
.hero {
  background: linear-gradient(152deg, var(--sunrise-1) 0%, var(--sunrise-2) 30%, var(--sunrise-3) 68%, var(--sunrise-4) 100%);
  color: var(--brand-ink);
  padding: max(var(--space-4), env(safe-area-inset-top)) 0 calc(var(--space-8) * 1.5);
}
.topbar { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) 0 var(--space-8); color: inherit; text-decoration: none; }
.app-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: linear-gradient(180deg, var(--brand-orange) 0%, var(--brand-deep) 70%);
  display: grid; place-items: center;
}
.app-icon svg { width: 30px; height: 27px; color: var(--brand-cream); opacity: .9; }
.topbar .wordmark { font-size: 22px; line-height: 28px; }
.topbar .badge {
  margin-left: auto; padding: 6px 10px; border-radius: var(--radius-pill);
  background: rgba(28, 22, 22, 0.08);
}

.hero-grid { display: grid; gap: var(--space-8); align-items: center; grid-template-columns: 1.1fr 1fr; }
.headline {
  font-family: var(--expanded);
  font-stretch: 125%;
  font-weight: 700; letter-spacing: -0.01em;
  font-size: clamp(44px, 7vw, 76px); line-height: 0.98;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
.headline em { font-style: normal; color: var(--brand-deep); }
.subtitle {
  font-family: var(--display);
  font-size: clamp(19px, 2.2vw, 22px); line-height: 1.35;
  color: rgba(28, 22, 22, 0.72);
  margin: 0; max-width: 34ch;
}

/* The boarding pass: two glass halves, notched where they meet */
.pass { --notch: 12px; color: var(--label); }
.pass-half {
  background: var(--pass-fill);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
}
.pass-top {
  position: relative;
  padding: var(--space-4) var(--space-4) calc(var(--space-4) + var(--space-1));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 100%, #0000 calc(100% - .5px), #000) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 calc(100% - .5px), #000) 100% 0 / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 100%, #0000 calc(100% - .5px), #000) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 100%, #0000 calc(100% - .5px), #000) 100% 0 / 51% 100% no-repeat;
}
.pass-top::after {
  content: ""; position: absolute; bottom: 0;
  left: calc(var(--notch) + var(--space-2)); right: calc(var(--notch) + var(--space-2));
  /* separator washes out on tinted glass, so the rule follows the label color instead */
  border-top: 2px dashed color-mix(in srgb, var(--label) 28%, transparent);
}
.pass-bottom {
  padding: calc(var(--space-4) + var(--space-1)) var(--space-4) var(--space-4);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 calc(100% - .5px), #000) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 calc(100% - .5px), #000) 100% 0 / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 0, #0000 calc(100% - .5px), #000) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% 0, #0000 calc(100% - .5px), #000) 100% 0 / 51% 100% no-repeat;
}
.route { display: flex; align-items: center; gap: var(--space-3); }
.route .end { display: grid; gap: var(--space-1); }
.route .end:last-child { text-align: right; }
.route .code {
  font-family: var(--expanded); font-stretch: 125%;
  font-size: 34px; line-height: 41px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.route .path { flex: 1; display: flex; align-items: center; gap: var(--space-2); color: var(--brand-orange); }
.route .path::before, .route .path::after { content: ""; flex: 1; border-top: 1.5px dashed color-mix(in srgb, var(--label) 28%, transparent); }
.pass .muted, .panel .muted { color: var(--pass-muted); }
.route .path svg { width: 22px; height: 22px; flex: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.facts div { display: grid; gap: var(--space-1); }
.facts strong { font-size: 16px; line-height: 21px; font-weight: 600; }

form { display: grid; gap: var(--space-3); margin: 0; }
label.field { display: grid; gap: var(--space-2); }
input[type="email"] {
  font: inherit; color: var(--label);
  background: var(--fill-inset);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 14px var(--space-4);
  width: 100%; min-height: 50px;
  outline: none;
}
/* Keep autofill from painting the field yellow over the glass. */
input[type="email"]:-webkit-autofill { -webkit-text-fill-color: var(--label); transition: background-color 600000s 0s; }
input[type="email"]::placeholder { color: var(--label-secondary); }
input[type="email"]:focus-visible { border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.25); }

fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
legend { padding: 0; margin-bottom: var(--space-2); }
legend .plain { text-transform: none; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--fill-inset);
  font-size: 15px; line-height: 20px; font-weight: 500;
  border: 1px solid transparent;
}
.chip span svg { width: 14px; height: 14px; display: none; }
.chip span small { font-size: 13px; color: var(--label-secondary); font-weight: 400; }
.chip input:checked + span { background: var(--chip-on-fill); color: var(--chip-on-text); }
.chip input:checked + span small { color: inherit; }
.chip input:checked + span svg { display: inline; }
.chip input:focus-visible + span { border-color: var(--brand-orange); }

.button {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 17px/22px var(--sans);
  color: var(--on-brand);
  background: var(--brand-orange);
  border-radius: var(--radius-pill);
  min-height: 50px; padding: 14px var(--space-6);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform .2s cubic-bezier(.3, .7, .4, 1), filter .2s;
}
form .button { width: 100%; }
.button:hover { filter: brightness(1.05); }
.button:active { transform: scale(0.98); }
.button:focus-visible { outline: 3px solid rgba(255, 87, 51, 0.45); outline-offset: 3px; }
.button[disabled] { opacity: .6; cursor: progress; }
.button.glass { background: var(--glass-fill); color: var(--label); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: none; }
.fineprint { font-size: 13px; line-height: 18px; margin: 0; }
.error { color: var(--status-cancelled); font-size: 15px; line-height: 20px; margin: 0; }
.error:empty { display: none; }

/* Content sections: flat cards on bg */
main section { padding-top: var(--space-8); }
main section + section { padding-top: calc(var(--space-8) + var(--space-6)); }
.section-header { font-size: 20px; line-height: 25px; font-weight: 600; margin: 0 0 var(--space-1); }
.section-lede { margin: 0 0 var(--space-4); color: var(--label-secondary); font-size: 15px; line-height: 20px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.card { background: var(--fill-card); border-radius: var(--radius-lg); padding: var(--space-4); }
.feature { display: grid; gap: var(--space-3); align-content: start; }
.icon-badge {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 87, 51, 0.18); color: var(--brand-orange);
}
.icon-badge svg { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; line-height: 22px; font-weight: 600; margin: 0; }
.feature p { margin: 0; font-size: 15px; line-height: 20px; color: var(--label-secondary); }

.chip-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(255, 87, 51, 0.18); color: var(--accent-text);
}
.mac { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); padding: var(--space-6); }
.mac h3 { font-size: 17px; line-height: 22px; font-weight: 600; margin: 0 0 var(--space-1); }
.mac p { margin: 0; font-size: 15px; line-height: 20px; color: var(--label-secondary); }
.mac .row { display: flex; gap: var(--space-3); align-items: start; }
.mac .intro { display: grid; gap: var(--space-3); align-content: start; }
.mac .intro .title { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.mac .intro h2 { margin: 0; }
.mac .points { display: grid; gap: var(--space-3); }
.mac .point { background: var(--fill-inset); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }

.steps { display: grid; gap: var(--space-3); padding: var(--space-3); }
.step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; background: var(--fill-inset); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
.step .num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-orange); color: var(--on-brand);
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 17px; line-height: 22px; font-weight: 600; margin: 2px 0 var(--space-1); }
.step p { margin: 0; font-size: 15px; line-height: 20px; color: var(--label-secondary); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.notes { list-style: none; margin: 0; padding: 0; display: grid; }
.notes li { padding: var(--space-3) 0; border-top: 1px solid var(--separator); }
.notes li:first-child { border-top: 0; padding-top: 0; }
.notes li:last-child { padding-bottom: 0; }
.notes strong { display: block; font-weight: 600; margin-bottom: 2px; }
.notes span { font-size: 15px; line-height: 20px; color: var(--label-secondary); }

footer {
  margin-top: calc(var(--space-8) * 3);
  padding: calc(var(--space-8) * 1.5) var(--space-4) max(calc(var(--space-8) * 2), env(safe-area-inset-bottom));
  border-top: 1px solid var(--separator);
  text-align: center;
  display: grid; gap: var(--space-3); justify-items: center; align-content: start;
}
footer .wordmark { font-size: 20px; line-height: 25px; color: var(--label); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); font-size: 15px; line-height: 20px; }
footer nav a { color: var(--label-secondary); text-decoration: none; }
footer nav a:hover { color: var(--label); text-decoration: underline; }

/* Thanks and confirmed: one floating panel on the gradient */
.flow { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; }
.flow .hero { padding-bottom: var(--space-8); display: grid; grid-template-rows: auto 1fr; }
.flow .panel-wrap { display: grid; place-items: center; padding: var(--space-6) 0 var(--space-8); }
.panel {
  width: min(520px, 100%);
  background: var(--pass-fill);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  color: var(--label);
  text-align: center;
  display: grid; gap: var(--space-4); justify-items: center;
}
.panel .badge-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 87, 51, 0.18); color: var(--brand-orange);
}
.panel .badge-icon.done { background: rgba(52, 199, 89, 0.18); color: var(--status-active); }
.panel .badge-icon svg { width: 30px; height: 30px; }
.panel h1 {
  font-family: var(--expanded); font-stretch: 125%;
  font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0;
}
.panel p { margin: 0; max-width: 38ch; }
.panel ol { text-align: left; margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); width: 100%; }
.panel ol li { background: var(--fill-inset); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 15px; line-height: 20px; display: flex; gap: var(--space-3); align-items: baseline; }
.panel ol li b { color: var(--accent-text); font-variant-numeric: tabular-nums; }
.panel .actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.flow footer { margin-top: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .two-col, .mac { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { padding-bottom: var(--space-6); }
  .features { grid-template-columns: 1fr; }
  .route .code { font-size: 28px; line-height: 34px; }
  .mac { padding: var(--space-4); }
  .panel { padding: var(--space-6) var(--space-4); }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:active { transform: none; }
}
