/* Outta Here landing page: page CSS. What sits inside the visuals (the app's screens in the Outta Here
   palette), the logo mark, the waitlist form's layout, one --p-h per card group,
   and the sizing layer at the end that keeps every section whole on short and narrow screens. */

/* ---------- logo: the app icon beside the wordmark, "outta here." with the orange full stop */
.nav__logo { gap: 10px; font-weight: 600; letter-spacing: -0.02em; }
.wordmark { font-weight: 700; font-size: 21px; letter-spacing: -0.045em; line-height: 1; }
.wordmark i, .close__word i { font-style: normal; color: var(--p-accent); }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; flex: none; }

/* ---------- the waitlist form (system.css .form: the email and the phone, then the button) */
.waitlist { max-width: 519px; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.waitlist .form__status:empty { display: none; }
.waitlist .form__status { font-size: var(--t-body); font-weight: 500; color: var(--ink); }
.hero__text > .waitlist { margin-top: var(--s-6); }
.hero__proof { font-size: var(--t-body); color: var(--ink); max-width: 46ch; }

/* ---------- the app's tokens, in the Outta Here palette, for every drawn screen */
.mui {
  --fx-bg: #ffffff; --fx-surface: #f4f8fc; --fx-ink: #1f1f1f; --fx-muted: #57534e; --fx-accent: #ff6a00; --fx-accent-ink: #1f1f1f;
  --m-bg: #ffffff; --m-alt: #e8f1f9; --m-sunk: #f4f8fc; --m-line: #e3e8ed; --m-line2: #c9d2da;
  --m-ink: #1f1f1f; --m-muted: #57534e; --m-faint: #6b6660;
  --m-ver: #ff6a00; --m-ver-soft: #ffead8; --m-ver-ink: #b34700;
  --m-lag: #6fa8d6; --m-lag-soft: #dceaf6; --m-lag-ink: #2c6a9a;
  --m-go: #1f9d6b; --m-go-soft: #dff5ec; --m-go-ink: #136b49; --m-amber: #e0a100;
  --ui-font: var(--font-text); --ui-mono: var(--font-mono);
  font-family: var(--font-text); color: var(--m-ink); text-align: left;
}
.mui b { font-weight: 600; }
.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: -0.01em; }

/* the phone: the app's own ground, edge to edge, a thin dark bezel and no heavy shadow */
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 19.5; overflow: hidden;
  border-radius: 46px; background: var(--m-bg); color: var(--m-ink);
  box-shadow: 0 0 0 7px #1a1a1a, 0 30px 60px -36px rgb(31 31 31 / .45);
  font-size: 13px; line-height: 1.35;
}
.phone__bar { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 32px; font: 600 13px/1 var(--font-text); }
.phone__icons { display: flex; gap: 6px; align-items: center; }
.phone__icons svg { height: 10px; width: auto; }
.phone__body { padding: 2px 16px 0; display: grid; }
.m-ic { width: 16px; height: 16px; }
.m-top, .m-row { display: flex; align-items: center; justify-content: space-between; height: 34px; font-weight: 500; font-size: 13px; }
.m-row--top > span:first-child { font-size: 20px; line-height: 1; width: 16px; }
.m-h { margin: 8px 0 2px; font: 600 21px/1.15 var(--font-display); letter-spacing: -0.025em; }
.m-h2 { margin: 6px 0 2px; font: 600 22px/1.15 var(--font-display); letter-spacing: -0.03em; }
.m-sub { margin: 0; color: var(--m-muted); font-size: 12.5px; }
.m-src { display: flex; align-items: center; gap: 7px; margin: 10px 0 12px; font-size: 11.5px; color: var(--m-muted); }
.m-tt { display: inline-grid; place-items: center; flex: none; min-width: 22px; height: 16px; padding: 0 3px; border-radius: 4px; background: var(--m-ink); color: #fff; font: 500 8.5px/1 var(--font-mono); letter-spacing: 0; vertical-align: 1px; }
.m-note { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-block: 1px solid var(--m-line); font-size: 12px; }
.m-note b { display: block; font-weight: 600; }
.m-note span { color: var(--m-muted); }
.m-tick { width: 16px; height: 16px; margin-top: 1px; }
.m-label { margin: 14px 0 6px; font-size: 12px; font-weight: 500; color: var(--m-muted); }
.m-place { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--m-line); }
.m-place b { display: block; font-size: 14px; line-height: 1.25; letter-spacing: -0.01em; }
.m-place > div { display: grid; gap: 6px; }
.m-check { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--m-line2); }
.m-check.is-on { border: 0; background: var(--m-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.m-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.m-chip { padding: 2px 9px; border: 1px solid var(--m-line2); border-radius: 999px; font-size: 11px; white-space: nowrap; }
.m-city { font-size: 11.5px; color: var(--m-muted); }
.m-quote { margin: 0; font-size: 12px; color: var(--m-muted); }
.m-ts { padding: 3px 8px; border-radius: 999px; background: var(--m-ver-soft); color: var(--m-ver-ink); font: 500 10px/1.2 var(--font-mono); white-space: nowrap; }
.m-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--m-go-soft); color: var(--m-go-ink); font: 500 11px/1 var(--font-text); white-space: nowrap; }
.m-avs { display: inline-flex; }
.m-avs i, .sv__av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: hsl(var(--h) 70% 82%); color: var(--m-ink); font: 600 8.5px/1 var(--font-text); font-style: normal; }
.m-avs i { margin-left: -6px; border: 2px solid #fff; }
.m-avs i:first-child { margin-left: 0; }
.m-avs--sm i { width: 22px; height: 22px; }
.m-date { display: grid; color: var(--m-ink); font: 500 13px/1.1 var(--font-mono); letter-spacing: -0.01em; }
.m-date small { font: 400 10px/1.2 var(--font-text); color: var(--m-muted); }
.m-arrow { color: var(--m-muted); }
.m-tally { display: flex; height: 6px; border-radius: 3px; background: var(--m-sunk); overflow: hidden; }
.m-tally i { width: var(--v); background: var(--m-go); }

/* ---------- hero: the phone centred on the lit ground, cut by the frame's foot, the reading card over it */
/* the hero frame: the brand board's sunset, Travel Cream at the top into Journey Blue, a warm sun top right */
.hero__art {
  background:
    radial-gradient(55% 42% at 84% 8%, #ffd8b0, transparent 72%),
    linear-gradient(180deg, #fff1e1 0%, #f7ede6 42%, #d8e7f4 100%);
}
.hero__art > .ly-piece--main.hero-phone { left: 50%; right: auto; translate: -50% 0; top: var(--s-8); width: min(340px, calc(100% - 2 * var(--s-6))); }
.hero__art > .hero-card { left: var(--s-6); bottom: var(--s-6); width: 272px; z-index: 2; }
.hero-card { padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgb(31 31 31 / .06), 0 18px 40px -20px rgb(31 31 31 / .45); font-size: 13px; }
.hc__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.hc__title { font-weight: 600; font-size: 13.5px; }
.hc__line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--m-line); color: var(--m-muted); }
.hc__line i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--m-go-soft); color: var(--m-go-ink); font: 700 11px/1 var(--font-text); font-style: normal; }
.hc__line b { color: var(--m-ink); font-weight: 600; }
@media (max-width: 1023px) {
  .hero__art > .ly-piece--main.hero-phone { top: var(--s-5); width: 300px; }
  .hero__art > .hero-card { left: var(--s-4); bottom: var(--s-4); width: 260px; }
}
@media (max-width: 639px) { .hero__art > .ly-piece--main.hero-phone { top: var(--s-4); width: 264px; } }

/* ---------- fragments on panels and frames */
.frag { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid rgb(31 31 31 / .08); box-shadow: 0 14px 32px -18px rgb(31 31 31 / .35); font-size: 13px; line-height: 1.4; }
.frag__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.frag__head b { font-size: 14px; }
.frag__head span { color: var(--m-muted); font-size: 12px; }

/* ---------- shared text columns */
.split__text { display: grid; gap: var(--s-5); align-content: start; justify-items: start; }
.split__text > * { margin: 0; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-3); max-width: 46ch; }
.facts li { position: relative; padding-left: 26px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--ground-bg); box-shadow: inset 0 0 0 3px color-mix(in oklab, var(--ink) 80%, transparent); }
.facts--2 { margin-top: var(--s-4); }
.head__aside { display: grid; gap: var(--s-3); }
.head__aside > p { margin: 0; }

/* ---------- the problem: three pains, and the group chat they end in */
.pains { margin: 0; padding: 0; list-style: none; width: 100%; max-width: 46ch; }
.pains li { display: grid; gap: 2px; padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains b { font-weight: 500; font-size: var(--t-lead); }
.pains p { margin: 0; }
.frame--chat { padding: 0; align-items: flex-start; }
.frame > .chat-ph { position: absolute; top: var(--s-7); left: 50%; translate: -50% 0; width: 330px; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 6px 16px 10px; border-bottom: 1px solid var(--m-line); }
.chat-top div { display: grid; }
.chat-top b { font-size: 14px; }
.chat-top div span { font-size: 11.5px; color: var(--m-muted); }
.chat { display: grid; gap: 10px; padding: 14px 16px; }
.chat__msg { display: grid; gap: 2px; justify-items: start; }
.chat__msg--me { justify-items: end; }
.chat__who { font-size: 11px; color: var(--m-muted); padding-left: 10px; }
.chat__bubble { max-width: 86%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: var(--m-alt); font-size: 13px; }
.chat__msg--me .chat__bubble { border-radius: 16px 16px 4px 16px; font-weight: 500; }
.chat__card { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; font-weight: 500; }
.chat__card img { width: 44px; height: 64px; object-fit: cover; border-radius: 8px; }
.chat__gap { margin: 4px 0; justify-self: center; font-size: 11px; color: var(--m-muted); }

/* ---------- how it works: four steps, each with its working demo */
.steps4 > .card { grid-column: 1 / -1; }
@media (min-width: 640px) { .steps4 > .card { grid-column: auto / span 6; } }
@media (min-width: 1280px) { .steps4 > .card { grid-column: auto / span 3; } }
.steps4 > .card > .step-num { margin-bottom: var(--s-4); }
#how .panel { --p-h: 300px; }
.sf__row, .sb__row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--m-line); }
.sf__row div { display: grid; gap: 4px; justify-items: start; }
.sf__row b, .sb__row b { font-size: 13px; }
.frag__head .m-tt { margin-right: 4px; }
.sp__row { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--m-alt); }
.sp__row--meal { background: var(--m-ver-soft); }
.sp__row .mono { font-size: 10.5px; color: var(--m-muted); }
.sv { display: grid; gap: 12px; }
.sv .m-poll__dates { display: flex; align-items: center; gap: 8px; }
.sv__votes, .voters { display: flex; flex-wrap: wrap; gap: 8px; }
.sv__votes span, .voters span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border: 1px solid var(--m-line); border-radius: 999px; font-size: 12px; font-weight: 500; }
.sv__alt { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--m-line); }
.sv__alt .m-date { color: var(--m-muted); }
.sv__lock { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--m-go-soft); color: var(--m-go-ink); font-size: 12px; font-weight: 600; }
.sb__row b { flex: 1; }
.sb__ok { padding: 3px 9px; border-radius: 999px; background: var(--m-go-soft); color: var(--m-go-ink); font-size: 11.5px; font-weight: 600; }
.sb__wait { padding: 3px 9px; border-radius: 999px; background: var(--m-sunk); color: var(--m-muted); font-size: 11.5px; font-weight: 500; }

/* ---------- place guides: one photograph across the .wrap (liquid-hover) */
.place-photo { margin-top: var(--s-7); min-height: 0; border-radius: var(--r-lg); }
.place-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; }

/* ---------- the day planner: the timetable cut by the frame's right and foot */
#planner .frame--split, #booked .frame--split, #trust .frame--split { height: 100%; --ratio: 0px; }
.tt-host { --ax: 40px; --ay: 40px; width: calc(100% - var(--ax) + 40px); }
.tt { height: 100%; padding: 16px 68px 0 20px; border-radius: 20px; overflow: hidden; }
.tt__tabs { display: flex; gap: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--m-line); font: 600 14px/1.2 var(--font-text); color: var(--m-muted); }
.tt__tabs .is-on { color: var(--m-ink); box-shadow: 0 12px 0 -10px var(--m-ink); }
.tt__chose { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: var(--m-sunk); font-size: 12px; color: var(--m-muted); }
.tt__chose b { color: var(--m-ink); }
.tt__spark { color: var(--m-ver); font-size: 13px; }
.tt__undo { color: var(--m-lag-ink); font-weight: 600; }
.tt__grid { --hr: 52px; position: relative; height: calc(var(--hr) * 12); margin-top: 18px; margin-left: 46px; }
.tt__h { position: absolute; left: -46px; top: calc(var(--t) * var(--hr) - 7px); font: 500 10px/1 var(--font-mono); color: var(--m-faint); }
.tt__h::after { content: ""; position: absolute; left: 46px; top: 7px; width: 600px; height: 1px; background: var(--m-line); }
.tt__b { position: absolute; left: 0; right: 24px; top: calc(var(--s) * var(--hr)); height: calc(var(--d) * var(--hr) - 4px); padding: 6px 10px; border-radius: 10px; background: var(--m-alt); display: grid; align-content: start; gap: 1px; overflow: hidden; font-size: 12px; }
.tt__b b { font-size: 12.5px; line-height: 1.2; }
.tt__b span { color: var(--m-muted); font-family: var(--font-mono); font-size: 10px; }
.tt__b--meal { background: var(--m-ver-soft); }
.tt__b--meal span { color: var(--m-ver-ink); }
.tt__b--short { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; }
.tt__gap { position: absolute; left: 10px; top: calc(var(--s) * var(--hr) - 19px); font-size: 10.5px; color: var(--m-muted); background: #fff; padding: 0 4px; }

/* ---------- planning together: the poll and the shared plan side by side, the nudge between them */
.frame--duo { margin-top: var(--s-7); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding: var(--s-7) 0 0; min-height: 0; }
.frame--duo::before { display: none; }
.frame--duo > .duo__ph { width: 100%; height: 100%; overflow: hidden; display: flex; justify-content: center; padding: 8px 8px 0; }
.duo__ph > .phone { width: min(310px, 100%); flex: none; }
.frame > .nudge { position: absolute; left: 50%; bottom: var(--s-7); translate: -50% 0; z-index: 2; width: 240px; display: grid; gap: 10px; padding: 14px 16px; border-radius: 20px 20px 20px 6px; background: #fff; box-shadow: 0 18px 40px -20px rgb(31 31 31 / .55); font-size: 13.5px; }
.nudge p { margin: 0; }
.nudge b { justify-self: start; padding: 7px 14px; border-radius: 999px; background: var(--m-ver); color: var(--m-ink); font-size: 13px; }
.m-poll { display: grid; gap: 9px; padding: 14px 0; border-top: 1px solid var(--m-line); }
.m-poll__dates { display: flex; align-items: center; gap: 8px; }
.m-nights { margin-left: auto; display: grid; justify-items: end; gap: 3px; font-size: 11.5px; color: var(--m-muted); }
.m-nights em { font-style: normal; padding: 2px 7px; border-radius: 999px; background: var(--m-go-soft); color: var(--m-go-ink); font-size: 10px; font-weight: 500; }
.voters__wait { color: var(--m-muted); border-style: dashed !important; }
.sv__av--wait { opacity: .55; }
.m-count { margin: 0; font: 400 10.5px/1.3 var(--font-mono); color: var(--m-muted); }
.m-lock { justify-self: start; font-size: 12px; font-weight: 600; color: var(--m-lag-ink); }
.here { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-size: 12px; color: var(--m-muted); }
.here__dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(330 70% 62%); }
.here__dot--go { background: var(--m-go); }
.ip { display: grid; }
.ip__row { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 12px 4px 12px 14px; border-bottom: 1px solid var(--m-line); }
.ip__row .mono { font-size: 10.5px; color: var(--m-muted); }
.ip__row--edit::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: hsl(330 70% 62%); }
.ip__tag { grid-column: 3; grid-row: 1; font-size: 11px; font-weight: 600; color: hsl(330 62% 46%); }

/* ---------- the core (dark band): the bookings screen, fares and who's booked */
.book-frame { padding: 0; align-items: flex-start; }
.frame > .book-ph { position: absolute; top: var(--s-7); left: 50%; translate: -50% 0; width: 330px; }
.bk-fare { display: grid; gap: 10px; margin-top: 4px; padding: 14px; border-radius: 16px; background: var(--m-ink); color: #fcffff; }
.bk-fare__route { display: flex; align-items: center; gap: 12px; font: 500 22px/1 var(--font-mono); letter-spacing: -0.02em; }
.bk-fare__route i { flex: 1; height: 0; border-top: 2px dashed rgb(252 255 255 / .45); }
.bk-fare__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; font: 500 12px/1.3 var(--font-mono); }
.bk-fare__meta small { display: block; font: 400 10px/1.4 var(--font-text); opacity: .7; }
.bk-fare__note { margin: 0; font-size: 11.5px; opacity: .8; }
.bk-list { display: grid; }
.bk-count { margin: 8px 0 0; padding: 9px 12px; border-radius: 12px; background: var(--m-sunk); font-size: 12px; font-weight: 500; }
.booked__note { color: var(--muted); }

/* ---------- the statement moment */
.statement .mo-la__type { max-width: 12ch; }
.statement .mo-la__sub { color: var(--ink); }

/* ---------- trust: the rows and the app's two booking sheets */
.trust-rows { width: 100%; }
.trust-rows li { display: grid; gap: var(--s-1); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.trust-rows .rows__name { font-weight: 500; font-size: var(--t-lead); }
.trust-rows p { margin: 0; max-width: 52ch; }
.leave-frame { align-items: center; }
.leave { display: grid; gap: var(--s-5); width: min(360px, 100%); }
.sheet { position: relative; display: grid; gap: 10px; padding: 18px; border-radius: 22px; }
.sheet p { margin: 0; color: var(--m-muted); font-size: 13px; }
.sheet__grab { justify-self: center; width: 36px; height: 4px; border-radius: 2px; background: var(--m-line2); }
.sheet__h { font: 600 18px/1.2 var(--font-display); letter-spacing: -0.02em; }
.sheet__btn { padding: 11px 0; border-radius: 999px; text-align: center; font-weight: 600; font-size: 13.5px; border: 1px solid var(--m-line2); }
.sheet__btn.is-main { background: var(--m-ver); border-color: var(--m-ver); color: var(--m-ink); }
.sheet__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- questions: the profile's data controls under the link */
.privacy-frame { --ratio: 0px; justify-self: stretch; min-height: 280px; padding: var(--s-6); justify-content: center; }
.privacy { width: min(320px, 100%); }
.pv__row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--m-line); font-weight: 500; }
.pv__go { color: var(--m-faint); font-size: 18px; line-height: 1; }
.pv__row--danger { color: #b42318; }

/* ---------- the close: the waitlist beside the h2, then the name across the .wrap */
.close__head { row-gap: var(--s-6); }
.close__head .waitlist { max-width: none; }
.footer--statement .closing__cta { container-type: inline-size; }
.footer--statement .close__word { font-size: 11.5cqi; line-height: 1.04; }

/* ================================================================== sizing
   The kit holds each section to exactly the screen's height from 1280px up. On a laptop whose window is
   short (1366x657, 1440x790, 1536x730) the content is taller than that and ran into the next section, so
   here every section, the hero and the footer included, is at least its screens and grows past them
   rather than overlap. At 1440x900 and the other judged sizes nothing changes: the content fits. */
main > :is(section, .section), footer.closing { height: auto; min-height: calc(var(--h, 1) * 100vh); min-height: calc(var(--h, 1) * 100svh); }
:where(main > :is(section, .section):not(.hero), footer.closing) { display: flex; flex-direction: column; }
main > :is(section, .section):not(.hero) > .wrap, footer.closing > .wrap { flex: 1 0 auto; height: auto; min-height: 0; }
main > .hero { display: flex; flex-direction: column; }
main > .hero > .wrap { flex: 1 0 auto; height: auto; display: flex; flex-direction: column; }
main > .hero > .wrap > .hero-text { flex: 1 0 auto; height: auto; }
@media (min-width: 1024px) { main > .hero .hero__art { min-height: 520px; } }
/* a full-width frame or photograph that fills what the screen leaves keeps a usable height when it cannot */
#places .place-photo, #group .frame--duo { min-height: 420px; }
@media (min-width: 1024px) { #problem .frame--chat, #planner .frame--split, #booked .frame--split { min-height: 520px; } }

/* ---------- 1024 to 1279: the four steps two by two over two screens */
@media (min-width: 1024px) and (max-width: 1279px) and (max-height: 1100px) { #how { --h: 2; } }
/* ---------- the tablet (640 to 1023), held upright or on its side */
@media (max-width: 1023px) {
  #planner .frame--split, #booked .frame--split, #trust .frame--split, #problem .frame--chat { height: auto; }
  .tt-host { width: min(460px, calc(100% - 40px)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #how { --h: 2; }
  #how .panel { --p-h: 280px; }
  #problem .frame--chat, #booked .frame--split { min-height: 520px; }
  .leave { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; align-items: start; }
  #trust .frame--split { min-height: 0; padding: var(--s-6); }
}
/* ---------- the phone */
@media (max-width: 639px) {
  .hero__proof { display: none; }
  #planner .facts, #booked .facts { display: none; }
  .tt-host { --ax: 16px; --ay: 16px; width: calc(100% - 16px); }
  .tt { padding-right: 20px; }
  #problem .frame--chat, #booked .frame--split { min-height: 460px; }
  .frame > .chat-ph, .frame > .book-ph { width: 280px; top: var(--s-5); }
  #how { --hm: 3; }
  #how .panel { --p-h: 200px; }
  .frame--duo { grid-template-columns: minmax(0, 1fr); padding-top: var(--s-5); }
  .frame--duo > .duo__ph:nth-child(2) { display: none; }
  .duo__ph > .phone { width: min(280px, 100%); }
  .frame > .nudge { left: var(--s-4); bottom: var(--s-5); translate: none; width: 210px; }
  #group .frame--duo, #places .place-photo { min-height: 360px; }
  #faq .split__text > .link { display: none; }
  .privacy-frame { padding: var(--s-4); }
  .privacy .frag__head { display: none; }
  .privacy .pv__row:first-of-type { border-top: 0; }
  #faq .faq > .faq__item { padding: var(--s-3) 0; }
}

/* ---------- fixes from the layout check */
/* a .fill block never shrinks below what it holds: the section grows instead (the kit's 1 1 0 let a split's
   rows run out of a short section on the tablet and the phone) */
main > :is(section, .section) > .wrap > .fill { flex: 1 0 auto; }
/* the hero's headline stays within three lines at its longest (the check fills it to 47 characters) */
.hero--collage h1 { font-size: calc(var(--ly-h1-col) * .92); }
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero--collage h1 { font-size: 44px; }
  .hero__proof { display: none; }
}
/* the tablet: the four steps two by two on one screen */
@media (min-width: 640px) and (max-width: 1023px) { #how { --h: 1; } #how .panel { --p-h: 180px; } }
/* the phone: the steps take the screens their content needs */
@media (max-width: 639px) { #how { --hm: 1; } }
/* the place photograph and the two phones fill what the screen leaves; they never set the section's height */
#places .place-photo, #group .frame--duo { flex: 1 1 0; }
#places .place-photo > img { position: absolute; inset: 0; }
@media (max-width: 639px) { #how { --hm: 2; } #how .panel { --p-h: 180px; } }

/* questions: the data panel runs down beside the questions, so the section is full, not a column over a gap */
@media (min-width: 1024px) { #faq .split__text { display: flex; flex-direction: column; height: 100%; } #faq .privacy-frame { flex: 1 1 auto; } }
/* the plan step's fragment, cut by its panel's right and foot */
#how .at-corner.to-edge > .ui { width: var(--w, 300px); }

/* questions: the profile settings fill the panel */
.privacy { width: min(360px, 100%); }
.pv__group { margin: 12px 0 2px; font-size: 11.5px; font-weight: 500; color: var(--m-muted); }
.pv__val { color: var(--m-muted); font-size: 11.5px; }
@media (max-width: 639px) { .pv__trip { display: none; } }

/* ---------- the banner (the statement moment): the brand board's "outta here." with its arrow, on Travel Cream */
.banner { background: var(--p-surface); }
.banner .mo-la__type.banner__type { position: relative; display: inline-block; width: max-content; max-width: none; padding-right: .82em; color: #e05600; font-weight: 700; letter-spacing: -0.055em; line-height: .92; }
.banner__arrow { position: absolute; top: .1em; right: 0; width: .74em; height: .74em; color: #e05600; }
.banner .mo-la__sub { margin-top: var(--s-6); font-size: var(--t-lead); color: var(--ink); }
.banner .mo-la__sub b { font-weight: 500; }

/* ---------- the orange (#FF6A00) is 2.87:1 on white: the focus ring takes the ink, and the wordmark's
   full stop a deeper orange, so both reach 3:1 */
:focus-visible { outline-color: var(--ink); }
.wordmark i, .close__word i { color: #d95400; }
/* a narrow phone keeps the icon in the bar; the link is named by its aria-label */
@media (max-width: 379px) { .nav .nav__logo .wordmark { display: none; } }
/* the fields' own focus ring (motion.css) in the ink, with an orange halo */
html:not([data-motion="off"]) .field :is(input, select, textarea):focus, .field :is(input, select, textarea):focus {
  border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px color-mix(in oklab, var(--p-accent) 32%, transparent);
}
