/* Home-page sections and the layered, light-only journey stage.
   No generated device geometry, no dark-mode fork, no external assets. */

/* --- Hero ------------------------------------------------------------- */
/* The first screen is a column at least one viewport tall: the copy takes the
   height it needs and the stage takes what is left, so the scene always starts
   directly under the country pills instead of leaving a dead band. */
.journey-hero{background:#fff;padding-top:0;display:flex;flex-direction:column;min-height:100svh}
/* width:100% keeps the auto side margins centring a full-width box: a flex item
   with auto cross margins does not stretch, it shrinks to its content. */
/* The copy band is full-bleed in both states — static and pinned — and holds
   its 1120 px measure with its own side padding instead of a max-width. So
   enhancing the hero cannot move it a pixel, whichever state is painted. */
.hero-copy{flex:0 0 auto;width:100%;text-align:center;max-width:none;padding:26px max(24px,calc((100% - 1120px) / 2)) 12px;margin:auto}
.hero-copy h1{font-size:clamp(34px,5vw,72px);font-weight:760;letter-spacing:-.04em;max-width:26ch;margin:0 auto}
/* Each sentence of the headline is its own block, so a line can never hold the
   end of one sentence and the start of the next. Within a sentence the text
   wraps normally — including CJK, which still breaks only at its punctuation. */
.hero-copy h1 .headline-part{display:block}
.hero-copy .lead{font-size:19px;margin:20px auto 22px;max-width:760px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:0}
.hero-actions .button{min-height:52px;font-size:17px}
/* Before launch the store button is an <a> with no href: the primary control by
   weight, but inert — no pointer cursor, no focus, no hover shift. */
.store-button{min-width:264px;padding-inline:32px;text-align:center}
.button[aria-disabled="true"]{cursor:default}
.button[aria-disabled="true"]:hover{background:var(--red)}
.cta-secondary-line{margin-top:14px;font-size:14px;display:flex;flex-wrap:wrap;gap:6px 20px;justify-content:center;align-items:baseline}
.cta-secondary-line a{color:var(--muted);text-decoration:underline}
.cta-secondary-line a:hover{color:var(--ink)}
.hero-copy .coming{margin-top:8px}
.proof-strip{list-style:none;margin:34px auto 0;padding:22px 0 0;max-width:840px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.proof-strip li{display:grid;gap:2px;align-content:start;justify-items:center;min-width:0}
/* All four figures are the same element with the same class — including the one
   the live country directory rewrites — so none of them can pick up the label
   style below by being a span. */
.proof-strip .proof-figure{font-size:30px;font-weight:720;letter-spacing:-.03em;line-height:1.1}
.proof-strip li>span{font-size:12px;color:var(--muted);line-height:1.4;text-wrap:balance}
/* The inline count hook always reads as the text around it. */
.live-count{font:inherit;color:inherit;letter-spacing:inherit}
.hero-countries-label{margin:26px 0 10px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.hero-countries{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.hero-countries li{display:flex;align-items:center;gap:7px;font-size:14px;padding:7px 14px;border:1px solid var(--line);border-radius:99px;background:#fff}

/* --- Journey stage ---------------------------------------------------- */
.journey-theatre{flex:1 1 auto;width:100%;min-height:clamp(320px,42svh,560px);margin:26px auto 0;max-width:1800px}
.journey-theatre fieldset{border:0;margin:0;padding:0;min-width:0;position:relative}
.scene-choice{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
/* One full-width column: the device centres in it and the absolutely placed
   artwork and callouts resolve their percentages against the whole window
   rather than against the device's own track. */
.journey-viewport{height:636px;position:relative;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;isolation:isolate;overflow:hidden;contain:layout paint}
/* The artwork fills the whole stage window and keeps its ground line at the
   bottom, so the scene is visible from the window's first pixel — including the
   shallow window that is left under the hero copy on the first screen. */
.scene-art{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom;opacity:0;visibility:hidden;transition:opacity .32s ease;pointer-events:none}
.device-composite{--device-width:286px;width:var(--device-width);aspect-ratio:462/978;position:relative;z-index:2}
.device-frame{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
.phone-display{position:absolute;left:calc(100% * 11 / 462);top:calc(100% * 11 / 978);width:calc(100% * 440 / 462);height:calc(100% * 956 / 978);border-radius:calc(var(--device-width) * 55 / 462);overflow:hidden;background:#fff}
.phone-panel{position:absolute;inset:0;opacity:0;visibility:hidden;transform:translateX(18px) scale(.985);transition:opacity .45s ease,transform .55s cubic-bezier(.2,.7,.2,1),visibility .45s}
.phone-panel img{display:block;width:100%;height:100%;object-fit:contain}
.journey-callout{position:absolute;z-index:1;top:25%;left:max(24px,calc(50% - 480px));width:270px;max-width:280px;opacity:0;visibility:hidden;translate:0 16px;transition:opacity .4s ease,translate .6s cubic-bezier(.2,.7,.2,1),visibility .4s}
.callout-body{padding:17px 22px;background:#ffffffed;border:1px solid #eaeaea;border-radius:18px;box-shadow:0 3px 5px #00000003,0 16px 40px #00000008;backdrop-filter:blur(8px)}
.journey-callout.callout-1{left:auto;right:max(24px,calc(50% - 490px));top:43%;transition-delay:70ms}
.journey-callout.callout-2{top:65%;left:max(24px,calc(50% - 450px));width:250px;transition-delay:140ms}
.callout-body>span{display:block;font-size:13px;color:var(--muted)}
.journey-callout strong{display:block;font-size:19px;line-height:1.4;letter-spacing:-.02em;margin:3px 0;overflow-wrap:anywhere}
.journey-callout small{font-size:12px;color:var(--red)}
#phase-before:checked~.journey-viewport .scene-before,
#phase-during:checked~.journey-viewport .scene-during,
#phase-after:checked~.journey-viewport .scene-after{opacity:1;visibility:visible;translate:0 0}
#phase-before:checked~.journey-viewport .phone-panel.scene-before,
#phase-during:checked~.journey-viewport .phone-panel.scene-during,
#phase-after:checked~.journey-viewport .phone-panel.scene-after{transform:translateX(0) scale(1)}
[data-direction="backward"] .phone-panel{transform:translateX(-18px) scale(.985)}
.phase-controls{display:flex;justify-content:center;gap:42px;margin:0 auto;max-width:820px;padding:7px 20px 0}
.phase-controls label{position:relative;padding:12px 10px 16px;min-height:52px;cursor:pointer;color:#666;font-weight:600;text-align:center;min-width:0}
#phase-before:checked~.phase-controls label[for="phase-before"],
#phase-during:checked~.phase-controls label[for="phase-during"],
#phase-after:checked~.phase-controls label[for="phase-after"]{color:var(--red);border-bottom:3px solid var(--red)}
#phase-before:focus-visible~.phase-controls label[for="phase-before"],
#phase-during:focus-visible~.phase-controls label[for="phase-during"],
#phase-after:focus-visible~.phase-controls label[for="phase-after"]{outline:3px solid var(--focus);outline-offset:3px;border-radius:5px}
.demo-note{color:var(--muted);font-size:11px;margin:18px 24px 26px}
.journey-hero>.demo-note{text-align:center;margin-top:17px}

/* --- One app instead of seven ----------------------------------------- */
.coverage{border-top:1px solid var(--line)}
.countries{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:14px;padding:0;margin:0 0 22px}
.countries li{display:flex;align-items:center;gap:12px;background:#fafafa;padding:18px 20px;border:1px solid var(--line);border-radius:18px;min-width:0}
.countries .flag{font-size:24px;line-height:1.1}
.countries strong{font-size:17px;letter-spacing:-.02em;overflow-wrap:anywhere}

/* --- Every mode ------------------------------------------------------- */
.modes{border-top:1px solid var(--line)}
.mode-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(304px,1fr));gap:16px;padding:0;margin:0 0 22px}
.mode-grid li{border:1px solid var(--line);border-radius:18px;padding:22px;background:#fff;min-width:0}
.mode-mark{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:#fdf3f1;color:var(--red);margin-bottom:14px}
.mode-icon{display:block}
.mode-grid h3{font-size:18px;letter-spacing:-.02em;margin-bottom:7px;text-wrap:balance}
.mode-grid p{font-size:14px;line-height:1.6;color:var(--muted)}

/* --- Showcase cards ---------------------------------------------------
   The screenshot is the content. Every card gives its phone at least ~300 px
   of width on desktop, keeps the text column to about a third, and clips its
   own overflow so a phone can bleed past an edge or show one enlarged region
   of a screen without anything being cropped in the file. Nothing is rotated:
   these are interfaces people are meant to read. */
.showcase{border-top:1px solid var(--line);--accent:var(--red)}
.accent-red{--accent:#cc3523}
.accent-night{--accent:#2f4d9b}
.accent-green{--accent:#1d7a55}
.accent-amber{--accent:#9a6118}
.bento{display:grid;grid-template-columns:repeat(12,1fr);gap:20px}
.card{grid-column:span 12;position:relative;display:flex;flex-direction:column;gap:18px;padding:26px;border-radius:28px;background:#f5f5f4;overflow:clip}
.card--12{grid-column:span 12}
.card--7{grid-column:span 7}
.card--5{grid-column:span 5}
.card--night{background:#0f1523;color:#e9edf6}
.card__copy{position:relative;z-index:2}
.card__copy--left{max-width:34ch}
.caption{font-size:15px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.card--night .caption{color:#b3bdd2}
.caption .lead{font-weight:650;color:var(--accent)}
.card--night .caption .lead{color:#9db3ff}
.card .fine{margin-top:8px}
.card--night .fine{color:#8e9ab4}
.card__stage{position:relative;flex:1 1 auto;min-height:0;overflow:clip}
.shot{display:block;height:auto;max-width:100%;border-radius:20px;background:#fff}
/* A whole phone screen may carry one restrained shadow. A cropped panel never
   does: on a cut edge a shadow reads as a fade, which is what it is. */
/* Cropped panels are cut to the inside of the app's own sheet, so the card
   supplies the shape: white behind, the sheet's radius at this scale, and one
   hairline to separate the white panel from the card. */
.shot--panel{border-radius:12px;border:1px solid #ececea}

/* Panels are cropped in the asset pipeline, at the pixel rectangles recorded in
   docs/journey-artwork-2026-09-17.md, so a card only has to place one. Nothing
   is pulled out of frame here and no screen background can show around it. */
/* The tracked ride is a card of its own now, so its crop can be read. */
/* Drawn on real track: the map is the hero, upright and uncropped at the
   bottom so the OpenStreetMap credit inside the capture stays in frame. */

/* Whole phones, upright, leaning out of the bottom of the card. */
.stat-row{list-style:none;display:grid;gap:18px;margin:26px 0 0;padding:0}
.stat-row li{display:grid;gap:1px}
.stat-row strong{font-size:38px;font-weight:760;letter-spacing:-.03em;line-height:1}
.stat-row span{font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--accent)}
.stat-row small{font-size:13px;color:var(--muted)}

/* --- The Live Activity, rebuilt from the app's own views --------------- */
/* Sizes are the app's points, `--u` long. On the Lock Screen a point is 1/440
   of the phone's screen, so the activity keeps the proportions it has on a real
   iPhone; the island pills in the copy column take theirs from the expanded
   island's 413 points. Colours are the app's: the ÖBB line colour, realtime red
   for the countdown and the new platform, the dark-appearance delay colour, and
   a secondary that is half white. */
.la-card,.la-island{--brand:#e20015;--la-secondary:#ffffff80}
.la-card,.la-pill{color:#fff;font-variant-numeric:tabular-nums;line-height:1.2}
.la-card p,.la-pill p{margin:0}
.la-badge{display:inline-block;background:var(--brand);color:#fff;font-weight:700;white-space:nowrap;font-size:calc(var(--u) * 11);padding:calc(var(--u) * 2) calc(var(--u) * 5);border-radius:calc(var(--u) * 4)}
.la-card{--u:calc(100cqw / 440);width:100%;padding:calc(var(--u) * 8);border-radius:calc(var(--u) * 25);background:#000000e6;display:grid;gap:calc(var(--u) * 5)}
.la-head{display:flex;align-items:center;gap:calc(var(--u) * 8)}
.la-glyph{display:inline-flex;align-items:center;justify-content:center;width:calc(var(--u) * 28);height:calc(var(--u) * 28);border-radius:50%;background:#ffffff21;color:#fff;flex:none}
.la-glyph svg{width:calc(var(--u) * 13.4);height:calc(var(--u) * 13.4)}
.la-count{margin-left:auto;color:#e30014;font-size:calc(var(--u) * 17);font-weight:600}
/* The platform-change layout the Lock Screen and the expanded island share. */
.la-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:calc(var(--u) * 10)}
.la-where{display:grid;gap:calc(var(--u) * 3);min-width:0}
.la-dir{font-size:calc(var(--u) * 11);font-weight:600;color:var(--la-secondary)}
.la-where strong{font-size:calc(var(--u) * 17);font-weight:600}
.la-change{display:flex;align-items:baseline;gap:calc(var(--u) * 6);white-space:nowrap}
.la-change s{font-size:calc(var(--u) * 15);color:var(--la-secondary)}
.la-new{font-size:calc(var(--u) * 17);font-weight:600;color:#e30014}
.la-late{font-size:calc(var(--u) * 12);color:#ff5c57}
/* The island: a black capsule, compact beside the camera or expanded. */
.la-pill{--u:calc(100cqw / 413);background:#000;border-radius:999px}
.la-pill--compact{width:calc(var(--u) * 249);height:calc(var(--u) * 36.3);display:flex;align-items:center;justify-content:space-between;padding:0 calc(var(--u) * 12.7) 0 calc(var(--u) * 6.3)}
.la-badge--compact{font-size:calc(var(--u) * 12);font-weight:600;padding:calc(var(--u) * 2) calc(var(--u) * 3)}
.la-trailing{display:grid;justify-items:end;gap:calc(var(--u) * 1);font-size:calc(var(--u) * 12);font-weight:600;white-space:nowrap}
.la-moved{color:#ff5c57}
.la-pill--expanded{width:100%;min-height:calc(var(--u) * 96.3);padding:calc(var(--u) * 18) calc(var(--u) * 27);display:grid;align-content:space-between;gap:calc(var(--u) * 10)}
.la-top{display:flex;align-items:center;justify-content:space-between;gap:calc(var(--u) * 8)}
.la-note{font-size:calc(var(--u) * 12);color:var(--la-secondary);text-align:right}

/* --- Follow your ride: notifications as a loose stack ----------------- */
.note-stack{list-style:none;padding:0;margin:0;display:grid;gap:10px;align-content:start}
/* Four alerts in the order they arrive, read left to right, two to a row. */
.note-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin-bottom:26px}
/* An iOS notification, not a floating card: the app icon, a bold title, the
   body, and how long ago it arrived. Equal widths, aligned, never overlapping. */
.note-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;column-gap:11px;row-gap:2px;padding:13px 15px;border:1px solid #e9e9ec;border-radius:20px;background:#f3f3f6;min-width:0}
.note-icon{grid-row:span 2;width:38px;height:38px;border-radius:9px;align-self:center}
.note-body{display:grid;gap:2px;min-width:0}
.note-time{font-size:12px;color:#8a8a8f;white-space:nowrap}

.note-card strong{font-size:14px;letter-spacing:-.01em;line-height:1.35}
.note-body span{font-size:13px;line-height:1.45;color:#4a4a4f;overflow-wrap:anywhere}
.follow>.fine{margin-top:18px}

/* --- Pro -------------------------------------------------------------- */
.pro-section{border-top:1px solid var(--line)}
/* The price cards run straight into the comparison table: one section-sized
   gap, the same rhythm the rest of the block keeps. */
/* Each card is only as tall as what it says. The Free card is one short line now
   that the comparison table carries the list, and stretching it to the height of
   the Pro card would leave a third of it empty. */
.plans{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:20px;margin-bottom:26px}
.plan{border:1px solid var(--line);border-radius:22px;padding:26px;background:#fff;min-width:0}
.plan-paid{border-color:#e6bdb5;background:#fffaf9}
.plan h3{font-size:20px;margin-bottom:10px}
.plan-price{font-size:30px;font-weight:720;letter-spacing:-.03em;line-height:1.2}
.plan-annual{font-size:15px;color:var(--muted);margin-top:4px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.plan-save{display:inline-flex;padding:3px 10px;border-radius:99px;background:var(--red);color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em}
.plan>p:last-child{margin-top:14px;font-size:14px;line-height:1.6;color:var(--muted)}
.comparison-wrap{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff}
.comparison{border-collapse:collapse;width:100%;table-layout:fixed}
.comparison caption{text-align:left;padding:22px 26px;font-size:16px;font-weight:650;border-bottom:1px solid var(--line)}
.comparison col:first-child{width:60%}
.comparison col:not(:first-child){width:20%}
.comparison th,.comparison td{padding:17px 24px;border-bottom:1px solid var(--line)}
.comparison thead th{background:#fafafa;font-size:15px;text-align:center}
.comparison th:first-child{text-align:left}
.comparison tbody th{font-size:15px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
/* Korean is written with spaces, so a narrow feature cell should break between
   words rather than inside 다이내믹 아일랜드. Chinese and Japanese keep their
   normal any-character wrapping here, which is correct for running text. */
:lang(ko) .comparison tbody th{word-break:keep-all}
.comparison td{text-align:center;vertical-align:middle}
.comparison thead th:last-child{color:var(--red)}
.comparison td:last-child{background:#fff8f6}
.comparison tbody tr:last-child>*{border-bottom:0}
.comparison tr:not(.paid-row)+tr.paid-row>*{border-top:2px solid #ebc7c1}
.included,.excluded{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;font-size:22px;line-height:1}
.included{color:var(--red);font-weight:650}
.excluded{color:#777;font-weight:400}
.plan-footnotes{max-width:74ch;color:var(--muted);font-size:12px;line-height:1.6;margin-top:20px}

/* --- Principles and closing ------------------------------------------- */
.principles{border-top:1px solid var(--line)}
.principle-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(196px,1fr));gap:22px;padding:0;margin:0}
.principle-grid li{border-top:2px solid var(--red);padding-top:14px;min-width:0}
.principle-grid h3{font-size:17px;letter-spacing:-.02em;margin-bottom:6px;text-wrap:balance}
.principle-grid p{font-size:14px;line-height:1.6;color:var(--muted)}
.closing{border-top:1px solid var(--line);text-align:center}
.closing .section-heading{margin:0 auto 26px;max-width:640px}
.closing .hero-actions{justify-content:center}
.closing .coming{margin-top:12px}

/* Wide cards put their copy beside the visual; half cards stay stacked. */
@media(min-width:861px){
 /* Text keeps about a third; the visual gets the rest. */
 /* Only the wide cards put text beside the visual; a 5-column card stacks so
    its phone keeps the full width of the card. */
 .card--7,.card--12{flex-direction:row;align-items:center;gap:30px}
 .card--7>.card__copy{flex:0 0 32%}
 .card--12>.card__copy{flex:0 0 34%}
 .card--7>.card__stage,.card--12>.card__stage{flex:1 1 auto;align-self:stretch}
 .card--night{flex-direction:column;align-items:stretch}
 .card--night>.card__copy{flex:none;max-width:70ch}
 /* The matched-route capture is upright and tall; its caption belongs at the
    top of the card rather than floating halfway down beside it. */
 .maps .card--12{align-items:flex-start}
}
@media(max-width:1000px){
 .journey-callout{left:24px;width:200px}
 .journey-callout.callout-1{right:24px;width:200px}
 .journey-callout.callout-2{left:42px;width:190px}
}
@media(max-width:860px){
 .card--7,.card--5{grid-column:span 12}
 .card__copy--left{max-width:none}
 .stat-row{grid-template-columns:1fr 1fr;gap:14px}
 .plans{grid-template-columns:1fr}
}
@media(max-width:760px){
 .journey-hero{padding-top:26px}
 .hero-copy h1{font-size:clamp(32px,8.6vw,46px);max-width:none}
 .hero-copy .lead{font-size:16px;max-width:560px}
 .proof-strip{grid-template-columns:repeat(2,1fr);gap:16px;margin-top:28px}
 .proof-strip strong{font-size:26px}
 .journey-viewport{height:570px;align-items:start;padding-top:10px}
 .device-composite{--device-width:226px}
 .journey-callout{top:auto;bottom:0;left:18px;right:18px;width:auto;max-width:none;transform:none;text-align:left}
 .journey-callout .callout-body{grid-template-columns:auto minmax(0,1fr)}
 .callout-body{padding:9px 16px}
 .journey-callout.callout-1,.journey-callout.callout-2{display:none}
 .journey-callout strong{font-size:17px;margin:1px 0}
 .callout-body>span,.journey-callout small{font-size:11px}
 .phase-controls{gap:14px;margin-top:5px}
 .phase-controls label{flex:1;font-size:13px;padding:10px 5px 13px}
 .comparison th,.comparison td{padding:14px 13px}
 .comparison tbody th{font-size:14px}
 .comparison caption{padding:20px 16px}
}
@media(max-width:600px){
 .journey-hero{padding-top:12px}
 .hero-copy{padding:0 20px 10px}
 .hero-copy .lead{font-size:15px;line-height:1.55;margin:13px auto 16px}
 .hero-actions .button{font-size:15px;min-height:46px;min-width:0;width:100%}
 .hero-copy .coming{margin-top:8px}
 .proof-strip{margin-top:16px;padding-top:15px;gap:11px}
 .proof-strip strong{font-size:24px}
 .hero-countries-label{margin:15px 0 7px}
 .hero-countries{gap:6px}
 .hero-countries li{font-size:13px;padding:5px 10px;gap:6px}
 .journey-viewport{height:562px}
 .device-composite{--device-width:212px}
 .phase-controls{gap:8px;padding-inline:20px}
 .journey-hero>.demo-note{font-size:10px}
 .bento{gap:14px}
 .card{padding:20px;border-radius:24px;gap:18px}
 /* Two whole phones must still fit the card on a phone screen. */
 .stat-row strong{font-size:32px}
 .la-island{width:min(340px,100%)}
 /* The cards keep their character; the horizontal scroller they replaced is
    gone, so a phone never scrolls sideways to see a screenshot. */
 .countries li{padding:16px}
 .mode-grid li{padding:18px}
 .plan{padding:20px}
}
@media(max-width:400px){
 .comparison col:first-child{width:56%}
 .comparison col:not(:first-child){width:22%}
 .comparison thead th{font-size:12px}
 .comparison th,.comparison td{padding:13px 9px}
 .proof-strip strong{font-size:23px}
 .plan-price{font-size:26px}
}
@media(prefers-reduced-motion:reduce){
 .scene-art,.phone-panel,.journey-callout{transition:none}
}

/* The viewport is pinned while native scroll advances through three scenes.
   Every length here is CSS: the small-viewport unit for the pinned frame, and
   min()/max() over the device's own 462:978 ratio for the phone. Nothing is
   measured or written by the controller while the page scrolls, which is what
   used to relayout the 1774 px artwork on every frame of the approach.
   --stage-head is the compact header's bottom edge plus its gap, --bar-space
   the floating scene bar plus its gap, --callout-space the card that sits below
   the phone on a narrow screen, and --device-slack the room the composition
   keeps under the phone.

   The stage covers the whole hero, starting at its very top, and the hero copy
   scrolls over it on an opaque white band. So the scene is already in place
   under the copy on the first screen — the window onto it simply grows as the
   copy slides away — and neither the stage nor the copy is ever re-laid-out. */
.journey-hero[data-stage="pinned"]{position:relative;padding-bottom:calc(100svh * 2.6);display:block}
/* Only paint order changes here: the copy's box is already the same one the
   static hero lays out, so pinning the stage cannot shift it. */
.journey-hero[data-stage="pinned"]>.hero-copy{position:relative;z-index:3;background:#fff}
/* A zero-size marker at the copy's bottom edge: an observer watches it instead
   of measuring how much of the stage shows. */
.journey-hero[data-stage="pinned"]>.hero-copy .stage-sentinel{position:absolute;left:0;bottom:0;width:1px;height:1px}
.journey-hero[data-stage="pinned"]>.demo-note{position:absolute;left:0;right:0;bottom:0;z-index:2;margin-bottom:14px}
.journey-theatre[data-enhanced="true"]{--stage-head:80px;--bar-space:82px;--callout-space:0px;--device-slack:38px;position:absolute;top:0;left:0;right:0;height:100%;margin:0 auto;min-height:0}
.journey-theatre[data-enhanced="true"] fieldset{position:sticky;top:0;height:100svh;min-height:0}
.journey-theatre[data-enhanced="true"] .journey-viewport{height:100%;padding:var(--stage-head) 0 var(--bar-space);align-items:center}
.journey-theatre[data-enhanced="true"] .device-composite{--device-width:min(286px,max(140px,100svh - var(--stage-head) - var(--bar-space) - var(--callout-space) - var(--device-slack)) * 462 / 978,100vw - 64px)}
.journey-theatre[data-enhanced="true"] .phase-controls{position:fixed;z-index:40;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;width:max-content;max-width:calc(100vw - 32px);gap:3px;padding:5px;margin:0;border:1px solid #e6e6e6;border-radius:99px;background:#fffffff5;box-shadow:0 10px 35px #00000012;backdrop-filter:blur(14px);visibility:hidden}
.journey-theatre[data-visible="true"] .phase-controls{visibility:visible}
.journey-theatre[data-enhanced="true"] .phase-controls label{padding:10px 21px;min-height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:99px;white-space:nowrap;font-size:14px}
.journey-theatre[data-enhanced="true"] #phase-before:checked~.phase-controls label[for="phase-before"],
.journey-theatre[data-enhanced="true"] #phase-during:checked~.phase-controls label[for="phase-during"],
.journey-theatre[data-enhanced="true"] #phase-after:checked~.phase-controls label[for="phase-after"]{background:#cc3523;color:#fff;border:0}
/* A quiet way out of the stage: kept visually separate from the scene tabs. */
.stage-skip{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:10px 16px;margin-left:6px;border-left:1px solid var(--line);border-radius:0 99px 99px 0;font-size:13px;color:var(--muted);text-decoration:none;min-height:44px}
.stage-skip:hover{background:#f6f6f6;color:var(--ink)}
@media(max-width:600px){
 /* The compact header is shorter here, so the stage starts higher. */
 .journey-theatre[data-enhanced="true"]{--stage-head:74px}
}
@media(max-width:760px){
 /* Below 760 px the callout sits under the phone instead of beside it. */
 .journey-theatre[data-enhanced="true"]{--callout-space:92px}
 .journey-theatre[data-enhanced="true"] .journey-viewport{padding-bottom:calc(var(--bar-space) + 94px)}
 .journey-theatre[data-enhanced="true"] .journey-callout{bottom:var(--bar-space);max-width:340px}
 .journey-theatre[data-enhanced="true"] .phase-controls{max-width:calc(100vw - 20px);width:calc(100vw - 20px);gap:0}
 .journey-theatre[data-enhanced="true"] .phase-controls label{font-size:12px;padding:10px 8px;white-space:normal;line-height:1.3;flex:1}
 .stage-skip{font-size:12px;padding:10px 10px}
}

/* --- Cards whose copy column must carry the card, not float in it ------- */
/* The matched-track card: caption at the top, the figures the capture shows in
   the middle, the Journal proof row and the caveat at the bottom, so the column
   fills the height of the map beside it instead of leaving a dead band. */
.maps .card__copy{display:flex;flex-direction:column;gap:22px;align-self:center}
.stat-row--pair{grid-template-columns:1fr 1fr;margin:0}
/* The Passport card carries three figures in a 330 px column beside the
   cluster, so they stack rather than shrink; where the copy runs the full width
   of the card they line up again. */
.stat-row--stack{grid-template-columns:1fr;gap:20px;margin:22px 0 0}
@media(max-width:860px){
 .stat-row--stack{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px}
}
.maps .stat-row strong{font-size:32px}
@media(min-width:861px){
 /* The map is 360 px here; the copy takes everything else rather than a third. */
 .maps .card--12>.card__copy{flex:1 1 auto}
 /* A basis, not a percentage: a shrink-to-fit column cannot resolve 100%. */
 .maps .card--12>.card__stage{flex:0 0 343px}
}
@media(max-width:860px){
 .maps .card__copy{gap:18px}
 .maps .stat-row--pair{grid-template-columns:1fr 1fr}
}
/* This card's copy column is the card, so it is not capped to a 34ch measure;
   its own blocks keep a readable width instead. */
.maps .shot--proof{width:min(460px,100%);align-self:flex-start}
.maps .card__copy--left{max-width:none}
.maps .caption{max-width:52ch}

/* --- Whole phones on a card -------------------------------------------- */
/* Every feature visual is the full screenshot inside the licensed frame. The
   card grows to hold the phones: nothing is cropped, nothing bleeds off an
   edge, and no phone covers another. */
.phone-row{display:flex;flex-wrap:wrap;gap:22px;justify-content:center;align-items:flex-start;width:100%}
.phone-row .device-composite{--device-width:305px;flex:0 0 auto}
.stage--phones{display:flex;justify-content:center;align-items:flex-start;overflow:visible}
.phone-display>img{display:block;width:100%;height:100%;object-fit:cover}
.card__stage.stage--phones{overflow:visible}
.maps .phone-row .device-composite{--device-width:343px}
/* Benefit lines: the section's own sentences, one per line, next to the phone. */
.benefits{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:10px}
.benefits li{position:relative;padding-left:18px;font-size:15px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.benefits li::before{content:"";position:absolute;left:0;top:10px;width:7px;height:7px;border-radius:50%;background:var(--accent)}
.card--night .benefits li{color:#b3bdd2}
.card--stacked{flex-direction:column}
@media(min-width:861px){
 /* Copy beside the phones, and mirrored on the card that puts phones first. */
 .card--stacked{flex-direction:column}
 .card--stacked>.card__copy{flex:none;max-width:70ch}
 .card--mirrored>.card__copy{flex:0 0 32%}
}
@media(max-width:860px){
 .card--mirrored{flex-direction:column-reverse}
 .phone-row{gap:20px}
}
@media(max-width:700px){
 /* One phone per row rather than two small ones. */
 .phone-row{flex-direction:column;align-items:center;gap:22px}
 .phone-row .device-composite,.maps .phone-row .device-composite,.cluster-col .device-composite{--device-width:min(280px,100%)}
 .note-list{grid-template-columns:1fr}
}

/* --- Cards that feel alive ---------------------------------------------- */
/* One shadow system for the whole page: a hairline contact shadow and a soft
   wide one. Composited, never animated. */
.note-card{background:#fff;border-color:#ececef;box-shadow:0 1px 2px #0000000d,0 10px 30px #00000014}
.note-icon{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fdeeea}
.note-icon img{width:31px;height:31px}
.note-icon .status-icon{position:absolute;right:-7px;bottom:-7px;width:20px;height:20px;padding:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000026}
.status-icon{flex:none}
.tone-red{color:var(--red)}
.tone-amber{color:#9a6118}
.tone-green{color:#1d7a55}
.tone-neutral{color:#5b5b60}
/* The banners arrive in sequence when the block scrolls into view. */
@media(prefers-reduced-motion:no-preference){
 .js .note-list .note-card{opacity:0;transform:translateY(10px)}
 .js .note-list[data-revealed="true"] .note-card{animation:card-in .55s cubic-bezier(.2,.7,.25,1) both}
 .note-list .note-card:nth-child(2){animation-delay:.1s}
 .note-list .note-card:nth-child(3){animation-delay:.2s}
 .note-list .note-card:nth-child(4){animation-delay:.3s}
}
@keyframes card-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* --- The hero's floating notification cards ------------------------------ */
.journey-callout{--depth:1;--scale:1;--lift:0 1px 2px #0000000d,0 14px 34px #00000017}
.callout-1{--scale:.965;--lift:0 1px 2px #0000000a,0 10px 24px #00000014}
.callout-2{--scale:.935;--lift:0 1px 2px #00000008,0 8px 18px #00000012}
.callout-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:start;padding:13px 15px;background:#fff;border:1px solid #ececef;border-radius:20px;box-shadow:var(--lift);backdrop-filter:none}
.callout-2 .callout-body strong{color:#3d3d42}
.callout-text{display:grid;gap:1px;min-width:0}
.journey-callout .status-icon{margin-top:1px;width:22px;height:22px}
#phase-before:checked~.journey-viewport .journey-callout.scene-before,
#phase-during:checked~.journey-viewport .journey-callout.scene-during,
#phase-after:checked~.journey-viewport .journey-callout.scene-after{opacity:1;translate:0 0;transform:scale(var(--scale))}
@media(prefers-reduced-motion:no-preference){
 #phase-before:checked~.journey-viewport .journey-callout.scene-before,
 #phase-during:checked~.journey-viewport .journey-callout.scene-during,
 #phase-after:checked~.journey-viewport .journey-callout.scene-after{
   animation:callout-in .7s var(--enter-delay,0ms) cubic-bezier(.2,.7,.25,1) both,callout-float 7s calc(var(--enter-delay,0ms) + .8s) ease-in-out infinite}
 .callout-1{--enter-delay:130ms}
 .callout-2{--enter-delay:260ms}
}
@keyframes callout-in{from{opacity:0;transform:translateY(16px) scale(calc(var(--scale) * .97))}to{opacity:1;transform:scale(var(--scale))}}
@keyframes callout-float{0%,100%{transform:scale(var(--scale))}50%{transform:translateY(-5px) scale(var(--scale))}}

/* --- The scene bar as a segmented control -------------------------------- */
.phase-controls label{display:flex;align-items:center;justify-content:center;gap:8px}
.phase-controls .status-icon{width:18px;height:18px;color:inherit}
.journey-theatre[data-enhanced="true"] .phase-controls label{gap:7px}

/* --- The Live Activity where it lives: a Lock Screen --------------------- */
.card--lock .phone-row{gap:34px;align-items:center}
.lock-phone .phone-display{background:linear-gradient(165deg,#241026 0%,#7d2028 46%,#16203a 100%);display:flex;flex-direction:column;align-items:center;container-type:inline-size}
/* The activity sits 14.67 of the screen's 440 points in from each side, as it
   does on the Lock Screen. */
.lockscreen{display:flex;flex-direction:column;align-items:center;width:100%;height:100%;padding:9% 3.333% 6%;font-size:calc(100cqw / 440 * 21.2);color:#fff}
.lock-date{font-size:1em;opacity:.92}
.lock-time{font-size:3.6em;font-weight:250;letter-spacing:-.02em;line-height:1.05;margin-top:.1em}
.lock-activity{width:100%;margin-top:auto}
.lock-buttons{display:flex;justify-content:space-between;width:74%;margin-top:1.1em}
.lock-button{display:grid;place-items:center;width:2.3em;height:2.3em;border-radius:50%;background:#ffffff2e;color:#fff}

/* --- Phones: one shadow, one entrance ------------------------------------ */
.phone-row .device-composite,.cluster-col .device-composite{border-radius:calc(var(--device-width) * 62 / 462);box-shadow:0 2px 6px #00000014,0 22px 44px #0000001f;filter:none}
.cluster-col .device-composite{box-shadow:14px 26px 56px #00000026,0 2px 6px #00000014}
.stage--phones,.stage--cluster{overflow:clip;overflow-clip-margin:26px}
@keyframes phone-rise{from{transform:translateY(var(--enter-from,40%))}to{transform:none}}
/* The cluster drifts through its neutral position instead of arriving at it:
   at the card's reading position the composition is the one that was designed,
   and the two columns keep parting slowly while the page scrolls past. */
@keyframes cluster-drift{from{transform:translateY(var(--drift-from,8%))}to{transform:translateY(var(--drift-to,-8%))}}
@media(prefers-reduced-motion:no-preference){
 @supports (animation-timeline:view()){
  /* The scroll is the easing, so the timing function stays linear.
     `cover 83vh` is 83vh of scrolling after the phone’s top edge appears at the
     bottom of the screen — which is the moment that edge reaches 15 % from the
     top, whatever the phone, the card and the viewport measure. As a percentage
     this lands somewhere different on every card and every screen; as a length
     it is the same arrival everywhere. The travel starts just after the phone
     appears and is spread over the whole of that arrival. */
  .phone-row .device-composite{animation:phone-rise linear both;animation-timeline:view();animation-range:entry 5% cover 83vh}
  .phone-row .device-composite:nth-child(odd){--enter-from:-46%}
  .phone-row .device-composite:nth-child(even){--enter-from:46%}
  @media(max-width:860px){
   /* Stacked, the copy sits directly above the phones and a phone row does not
      clip, so a phone coming down from above would travel across the caption.
      On these layouts every phone rises from below, where the card's own edge
      is what cuts it off, and over a shorter distance, so the slot it is
      heading for is never a screenful of empty card. */
   .phone-row .device-composite:nth-child(odd),.phone-row .device-composite:nth-child(even){--enter-from:26%}
  }
  /* The cluster's drift spans the whole traverse, entry to exit. */
  .cluster-col{animation:cluster-drift linear both;animation-timeline:view();animation-range:cover}
  .cluster-col--rise{--drift-from:10%;--drift-to:-10%}
  .cluster-col--sink{--drift-from:-10%;--drift-to:10%}
  @media(max-width:700px){
   /* A narrow column keeps much less of itself hidden past the card's edges —
      as little as 26 px under the stage at 360 px — so here the drift is a
      fixed 12 px, which cannot uncover a corner of the window at any width. */
   .cluster-col--rise{--drift-from:12px;--drift-to:-12px}
   .cluster-col--sink{--drift-from:-12px;--drift-to:12px}
  }
 }
 @supports not (animation-timeline:view()){
  /* One shot, so it has to last long enough not to be over before the card is
     in place either: the observer marks the card as arrived when it is properly
     on screen rather than on its first pixel, and the travel takes 1.2 s. */
  .js .phone-row .device-composite,.js .cluster-col{transform:translateY(var(--enter-from,40%));transition:transform 1.2s cubic-bezier(.16,.84,.34,1)}
  .js .phone-row .device-composite:nth-child(odd){--enter-from:-46%}
  .js .phone-row .device-composite:nth-child(even){--enter-from:46%}
  @media(max-width:860px){
   .js .phone-row .device-composite:nth-child(odd),.js .phone-row .device-composite:nth-child(even){--enter-from:26%}
  }
  .js .cluster-col--rise{--enter-from:16%}
  .js .cluster-col--sink{--enter-from:-16%}
  .js .phone-row[data-arrived="true"] .device-composite,.js .phone-cluster[data-arrived="true"] .cluster-col{transform:none}
  .js .phone-row .device-composite:nth-child(even){transition-delay:.12s}
 }
}

/* --- The Passport cluster: four screens, deliberately cropped ------------ */
.stage--cluster{display:flex;justify-content:center;height:clamp(430px,58vw,720px)}
.phone-cluster{display:flex;gap:22px;height:100%}
.cluster-col{display:grid;gap:24px;align-content:start}
.cluster-col--rise{margin-top:-330px}
.cluster-col--sink{margin-top:-170px}
.cluster-col .device-composite{--device-width:300px;flex:0 0 auto}


/* --- Confetti over the Pro price cards ------------------------------------
   One burst, once, when the price row scrolls into view. The band belongs to
   the price row and reaches --burst-lift above it and a little below, so the
   pieces leave the top edge of the cards — wherever a locale's heading has put
   it — fly up over the title row and rain back down across both cards. The
   element the observer marks is the price row, and the pieces are inside it,
   so that one relationship is all the markup has to keep. */
.plans{position:relative}
.confetti{--burst-lift:280px;position:absolute;left:0;right:0;top:calc(var(--burst-lift) * -1);bottom:-220px;z-index:0;overflow:clip;pointer-events:none}
.confetti-piece{position:absolute;left:var(--x);top:var(--burst-lift);width:var(--size);height:var(--size);margin-left:calc(var(--size) / -2);background:var(--tone);border-radius:2px;opacity:0;visibility:hidden}
.confetti-piece--round{border-radius:50%}
.confetti-piece--strip{width:calc(var(--size) * 1.8);height:calc(var(--size) * .5)}
@media(prefers-reduced-motion:no-preference){
 .js .plans[data-revealed="true"] .confetti-piece{animation:confetti-fly 2.6s var(--delay) cubic-bezier(.25,.6,.35,1) forwards}
}
@keyframes confetti-fly{
 0%{opacity:0;visibility:visible;transform:translate3d(0,0,0) rotate(0deg)}
 12%{opacity:1;transform:translate3d(calc(var(--drift) * .3),calc(var(--rise) * -1),0) rotate(calc(var(--spin) * .25))}
 60%{opacity:1}
 100%{opacity:0;visibility:hidden;transform:translate3d(var(--drift),calc(var(--rise) * 1.8),0) rotate(var(--spin))}
}

/* --- Compact copy columns ------------------------------------------------ */
@media(min-width:861px){
 .card--12{justify-content:center;gap:56px}
 .card--12:not(.card--cluster)>.card__copy{flex:0 1 360px;max-width:360px;align-self:center}
 .card--12>.card__stage{flex:1 1 auto;min-width:0}
 /* One phone: the stage is as wide as the phone, so the copy and the phone
    close up and sit centred together instead of leaving half the card empty. */
 .card--single>.card__stage{flex:0 0 auto}
 .card--single>.card__copy{flex-basis:400px;max-width:400px}
 .maps .card__copy{display:grid;gap:22px;align-content:center;justify-items:start}
 .card--cluster>.card__copy{flex:0 1 330px;max-width:330px;align-self:center}
 .card--cluster>.card__stage{flex:0 0 auto}
}

/* --- Review fixes: island in the copy column, cluster and confetti ------- */
.la-island{display:grid;gap:6px;width:min(360px,100%);margin:20px 0 0;container-type:inline-size}
.island-label{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin-top:10px}
.island-label:first-child{margin-top:0}
/* "Dynamic Island" names the group of pills; the labels under it name states. */
.island-label--group{color:var(--ink);padding-bottom:7px;border-bottom:1px solid var(--line)}
.card--lock .la-island{width:min(360px,100%);align-self:start}
.card--lock .phone-row{gap:0}
/* The cluster is cropped by the card's own edge — no band, no mask. */
.phone-cluster{align-items:flex-start}
.cluster-col{min-width:0}
@media(max-width:860px){
 /* Stacked, the copy sits directly above the cluster, and the 26 px the stages
    let a sliding phone bleed would cover the last line of the stats. Here the
    cluster is cropped exactly at its own edge instead. */
 /* 0px, not 0: this property takes a <length> and drops a unitless zero. */
 .card--cluster>.card__stage{overflow-clip-margin:0px}
}
@media(min-width:861px){
 .card--lock>.card__copy{flex:0 1 400px;max-width:400px}
}
@media(max-width:700px){
 /* Two columns that fit the card's inner width, never cut at the side. */
 .phone-cluster{gap:14px;width:100%}
 .cluster-col{flex:1 1 0;min-width:0}
 .cluster-col .device-composite{--device-width:100%}
 .stage--cluster{height:clamp(380px,120vw,560px)}
 .cluster-col--rise{margin-top:-120px}
 .cluster-col--sink{margin-top:-60px}
}
/* Confetti sits over the card surfaces and under everything readable. The two
   price cards are painted before the burst (they are positioned, with no
   z-index, and they come first in the markup), their text after it, and every
   other block of the section above it — so a piece can land on a card but
   never on a word. */
.pro-section{position:relative;isolation:isolate}
.pro-section>.section-heading,.pro-section>.comparison-wrap,.pro-section>.plan-footnotes{position:relative;z-index:1}
.plan,.plan-paid{position:relative}
.plan>*{position:relative;z-index:1}
