/* ==========================================================================
   TIOO marketing — "Who it's for" landing pages (v3 page kit, 2026-10).
   Loads after tokens / base / components / mocks / pages.css, only on
   public_site/landing.html. One template, ten looks: the hero variant and
   the drawn product piece per page come from the view (`kind`), everything
   here is the layout for those drawings (lp-*), the photo band, the
   two-column "what you get" spread and the related-pages swipe row.
   Mobile first; no sideways scroll at 360–1920.
   ========================================================================== */

/* ---- hero: split with the drawing on the right (or left: --flip) ------ */
.lp-hero .page-hero__copy .eyebrow { margin-bottom: 18px; }
.lp-hero .crumbs { margin-bottom: 18px; }
.lp-hero--split .page-hero__copy h1 { max-width: 18ch; }
.lp-hero--frame .page-hero__copy h1 { max-width: 22ch; }
.lp-hero--frame .page-hero__side .eyebrow { margin-bottom: 14px; display: inline-flex; }
@media (min-width: 1000px) {
  .lp-hero--flip .hero-grid > .page-hero__copy { order: 2; }
  .lp-hero--flip .hero-grid > .page-hero__visual { order: 1; }
}
@media (min-width: 1400px) {
  .lp-hero--flip .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
/* the drawing sits a touch lower than the words on wide screens so the two
   columns read as one spread, not two stacked blocks */
.lp-hero__visual { min-width: 0; }
.band-blue .lp-hero__visual .mock-card, .band-warm .lp-hero__visual .mock-card { box-shadow: var(--shadow-xl); }

/* a full-width stage (hotel / short lets): the dashboard frame with a small
   card overlapping its bottom-right corner */
.lp-stage { position: relative; }
.lp-stage .ui-frame { font-size: 12.5px; }
.lp-float { position: relative; margin: 14px 0 0; max-width: none; }
@media (min-width: 900px) {
  .lp-stage { padding-bottom: 36px; }
  .lp-float { position: absolute; right: -8px; bottom: 0; width: 300px; margin: 0; }
}
@media (min-width: 1300px) { .lp-float { right: -24px; width: 340px; } }
.lp-float--turn { width: auto; }
@media (min-width: 900px) { .lp-float--turn { width: 360px; } }
.lp-stage--cal .ui-frame { font-size: 12px; }

/* card heading row shared by the small drawings */
.lp-card-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12px; color: var(--ink-3); }
.lp-card-h b { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.lp-example { margin-left: auto; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 2px 6px; white-space: nowrap; align-self: center; }

/* a drawing beside the guest-app phone (b&b, holiday let, vacation rental, airbnb) */
.lp-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px); gap: 16px; align-items: center; justify-content: center; }
@media (min-width: 600px) { .lp-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 200px); gap: 24px; } }
@media (min-width: 1400px) { .lp-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 230px); gap: 32px; } }
.lp-pair .mock-card { max-width: none; }
.lp-pair__phone { max-width: none; margin: 0; }
.lp-pair--flip { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
.lp-pair--flip .lp-pair__phone { order: 1; }
.lp-pair--flip .mock-card { order: 2; }
@media (min-width: 600px) { .lp-pair--flip { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); } }
@media (min-width: 1400px) { .lp-pair--flip { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); } }

/* b&b: tomorrow's day */
.lp-day .clean .row span { white-space: nowrap; }
.lp-day__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); line-height: 1.35; }
.lp-day__foot b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }

/* holiday let: one property */
.lp-prop { padding: 0; overflow: hidden; }
.lp-prop__photo { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #d6c3a5, #9b8365); }
.lp-prop__photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-prop__photo .lp-example { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.9); margin: 0; }
.lp-prop__body { padding: 14px; display: grid; gap: 6px; }
.lp-prop__body > b { font-size: 15px; color: var(--ink); font-weight: 600; }
.lp-prop__body > span { color: var(--ink-3); font-size: 12px; }
.lp-prop__cal { margin-top: 6px; }
.lp-prop__cal .mini-row { grid-template-columns: 34px repeat(7, 1fr); }
.lp-prop__rows { display: grid; gap: 6px; margin-top: 8px; }
.lp-prop__rows div { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-s); font-size: 11.5px; color: var(--ink-2); line-height: 1.35; }
.lp-prop__rows svg { width: 14px; height: 14px; flex: none; color: var(--ink); margin-top: 1px; }

/* vacation rental: inbox + languages */
.lp-langs { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.lp-langs b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.lp-langs small { color: var(--ink-3); font-size: 11px; }

/* serviced accommodation: long stays + an invoice, stacked and offset */
.lp-stack { display: grid; gap: 14px; }
.lp-stack .mock-card { max-width: none; }
@media (min-width: 600px) { .lp-stack { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .lp-stack .lp-inv { margin-top: 48px; } }
.lp-inv .inv { font-size: 12.5px; }

/* short let: turnover timeline */
.lp-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.lp-timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; padding: 8px 0; position: relative; font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.lp-timeline li + li { border-top: 1px dashed var(--line-2); }
.lp-timeline b { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* self check-in: the door journey (three phones + the clip) */
.lp-journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.lp-journey__step { display: grid; gap: 12px; }
.lp-journey__step .mock-phone { max-width: 230px; }
.lp-journey__step > p { display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; font-size: var(--fs-s); color: var(--ink-3); line-height: 1.45; align-items: start; }
.lp-journey__step > p b { color: var(--ink); font-weight: 600; font-size: var(--fs-m); }
.lp-journey__step > p > span:last-child { grid-column: 2; }
.lp-journey__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; grid-row: 1 / 3; }
.lp-journey__door { aspect-ratio: 540 / 1169; max-width: 230px; width: 100%; border-radius: 30px; margin: 0 auto; }
.lp-journey__step--video { align-self: stretch; }
@media (max-width: 899px) {
  .lp-journey { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .lp-journey::-webkit-scrollbar { display: none; }
  .lp-journey__step { flex: 0 0 62%; max-width: 250px; scroll-snap-align: start; scroll-snap-stop: always; }
  .lp-journey > :last-child { margin-right: var(--gutter); }
}
@media (min-width: 600px) and (max-width: 899px) { .lp-journey__step { flex-basis: 34%; } }

/* direct booking: the website with the sum overlapping its corner */
.lp-site { position: relative; }
.lp-saving { position: relative; margin-top: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-l); padding: 14px 16px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .lp-site { padding-bottom: 40px; } .lp-saving { position: absolute; right: -8px; bottom: 0; width: 250px; margin: 0; } }
@media (min-width: 1300px) { .lp-saving { right: -24px; width: 290px; font-size: 13.5px; } }
.lp-saving .k { color: var(--ink-3); font-weight: 500; }
.lp-saving .row { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.lp-saving .row span:last-child { white-space: nowrap; }
.lp-saving .row.total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2); font-weight: 600; color: var(--ink); }
.lp-saving .row.total span:last-child { color: var(--ok-ink); }
.lp-saving .note { margin-top: 6px; font-size: 11px; color: var(--ink-3); }
@media (max-width: 600px) { .lp-site .site .nav-bar span:not(.bk) { display: none; } }

/* free plan: the plan card + what isn't in it */
.lp-plan { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }
.lp-plan__card { border: 1px solid var(--line-2); border-radius: var(--radius-l); box-shadow: var(--shadow-xl); }
.lp-plan__card .name .lp-example { margin-left: 0; }
.lp-plan__card .desc { min-height: 0; }
.lp-plan__card li svg { width: 15px; height: 15px; flex: none; color: var(--accent); margin-top: 3px; }
.lp-plan__not { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-l); background: rgba(255,255,255,.6); font-size: var(--fs-s); color: var(--ink-3); line-height: 1.5; }
.lp-plan__not b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (min-width: 1400px) { .lp-plan { max-width: 560px; } }

/* ---- 01 what you get: drawing left, hairline rows right ---------------- */
.lp-points { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .lp-points { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: calc(var(--col-gap) * 2); } .lp-points__visual { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (min-width: 1280px) { .lp-points { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(var(--col-gap) * 3); } }
.lp-points__list { margin-top: 0; }
.lp-points__list .row { cursor: default; }
.lp-points__visual .site { max-width: 640px; }
.lp-mock-stage { min-height: 0; }
.lp-frame { font-size: 12px; }
.lp-frame__pad { padding: 14px; background: var(--bg-2); }
.lp-frame__pad .cal { --days: 7; }
.lp-frame__pad .cal .d8, .lp-frame__pad .cal-row .bar.offscreen { display: none; }
@media (min-width: 1280px) { .lp-points__list .feature-list a, .lp-points__list .feature-list .row { padding: 20px 0; } }
/* two columns of rows when the page has many points and the screen is wide */
@media (min-width: 1600px) {
  .lp-hotel .lp-points { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .lp-hotel .lp-points__list { grid-template-columns: 1fr 1fr; column-gap: var(--col-gap); border-top: 0; }
  .lp-hotel .lp-points__list li { border-top: 1px solid var(--line); border-bottom: 0; }
}

/* ---- 02 photo band: the card photo beside the audience list ----------- */
.lp-photo-band { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .lp-photo-band { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: calc(var(--col-gap) * 2); } }
@media (min-width: 1280px) { .lp-photo-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: calc(var(--col-gap) * 3); } }
.lp-photo { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #1a1c22; min-height: 220px; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
@media (min-width: 900px) { .lp-photo { aspect-ratio: 3 / 2; } }
.lp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-photo__label { position: absolute; left: 16px; bottom: 16px; z-index: 2; color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.lp-photo:has(img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,9,12,.72), rgba(8,9,12,0) 55%); }
.lp-photo:has(.lp-photo__phone), .lp-photo:has(.lp-door) { background: transparent; border: 0; aspect-ratio: auto; display: grid; place-items: center; }
.lp-photo__phone { max-width: 240px; width: 100%; }
.lp-door { aspect-ratio: 9 / 14; width: 100%; max-width: 320px; max-height: 480px; }
.lp-photo-copy h2 { font-size: var(--fs-h2-s); text-wrap: balance; }
.lp-photo-copy .eyebrow + h2 { margin-top: 20px; }
.lp-photo-copy .checks { margin-top: 24px; }
.lp-photo-copy .actions { margin-top: 28px; }
/* country pages line under the audience list (seo_content.py local_links) */
.lp-local { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 18px; font-size: var(--fs-s); color: var(--ink-3); }
.lp-local span { flex-basis: 100%; }
.lp-local .text-link { padding-top: 14px; }

/* ---- 06 related: the sibling pages as photo cards (swipe on phones) --- */
.lp-related-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-self: end; }
.lp-related { display: grid; gap: 16px; }
@media (min-width: 700px) { .lp-related { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.lp-related .who-card { min-height: 220px; }
.lp-related .who-card.has-photo { min-height: 260px; }
.lp-related .who-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (min-width: 1400px) { .lp-related .who-card.has-photo { min-height: 300px; } }

/* ---- swipe rows on phones: cards ~80% wide, the next one peeking ------- */
.swipe-hint { display: none; }
@media (max-width: 699px) {
  .lp-related[data-swipe] { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .lp-related[data-swipe]::-webkit-scrollbar { display: none; }
  .lp-related[data-swipe] > .who-card { flex: 0 0 80%; max-width: 320px; scroll-snap-align: start; scroll-snap-stop: always; min-height: 240px; padding: 16px; }
  .lp-related[data-swipe] > .who-card.reveal { transition-delay: 0s; }
  .lp-related[data-swipe] > :last-child { margin-right: var(--gutter); }
}
@media (max-width: 899px) {
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
  .swipe-hint svg { width: 14px; height: 14px; }
  .swipe-hint .swipe-count:not(:empty)::before { content: "·"; margin: 0 4px 0 2px; }
  .swipe-hint .swipe-count:empty { display: none; }
}
@media (min-width: 700px) and (max-width: 899px) { #related .swipe-hint { display: none; } }

/* the trust line never starts a line with a dot: one item per line on phones */
@media (max-width: 599px) {
  .lp-hero .note-row { flex-direction: column; gap: 4px; }
  .lp-hero .note-row span + span::before { display: none; }
}
/* the small drawings read bigger on wide screens */
@media (min-width: 1280px) {
  .lp-pair .mock-card, .lp-stack .mock-card { font-size: 13.5px; padding: 18px; }
  .lp-pair .clean .row, .lp-stack .clean .row { padding: 12px 13px; }
  .lp-pair .clean .row span, .lp-stack .clean .row span { font-size: 12px; }
  .lp-prop__body { padding: 18px; }
  .lp-prop__body > b { font-size: 17px; }
  .lp-prop__rows div { font-size: 12.5px; }
  .lp-timeline li { font-size: 13px; }
}

/* ---- phones: readable drawings, sensible order ------------------------- */
@media (max-width: 599px) {
  .lp-pair { grid-template-columns: minmax(0, 1fr); }
  .lp-pair__phone { max-width: 200px; }
  .lp-pair--flip .lp-pair__phone { order: 2; }
  .lp-pair--flip .mock-card { order: 1; }
  .lp-day__foot { grid-template-columns: 1fr; }
  .lp-stage .app-top .seg { display: none; }
  .lp-photo-copy h2 { font-size: clamp(28px, 8vw, 36px); }
}
