/* ==========================================================================
   TicketProof homepage, Apple-style rebuild (22 Nov 2026).
   Loaded only on the homepage, after site.css. Everything is scoped to
   .page-apple so the help, legal and contact pages are untouched.
   Principles: white space, one idea per section, real app screenshots, the
   system typeface, quiet colour, no glow, no gradients on text, no emoji.
   ========================================================================== */
.page-apple {
  --ap-ink: #1d1d1f;
  --ap-ink-2: #6e6e73;
  --ap-line: #d2d2d7;
  --ap-bg: #ffffff;
  --ap-bg-2: #f5f5f7;
  --ap-link: #0066cc;
  --ap-blue: #0071e3;
  --ap-amber: #F5A623;
  --ap-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--ap-bg);
  color: var(--ap-ink);
  font-family: var(--ap-font);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
.page-apple main { overflow: hidden; }

/* ---- Shared section rhythm ---------------------------------------------- */
.ap-section { padding: 110px 22px; text-align: center; }
.ap-section--alt { background: var(--ap-bg-2); }
.ap-section--dark { background: #000; color: #f5f5f7; }
.ap-wrap { max-width: 980px; margin: 0 auto; }
.ap-kicker { font-size: 17px; font-weight: 600; color: #B9700A; margin: 0 0 10px; letter-spacing: -0.01em; }
.ap-section--dark .ap-kicker { color: var(--ap-amber); }
.ap-h1 { font-size: clamp(48px, 8vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; margin: 0; }
.ap-h2 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; margin: 0 auto; max-width: 15ch; }
.ap-lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--ap-ink-2); font-weight: 400; margin: 18px auto 0; max-width: 34em; letter-spacing: -0.012em; }
.ap-section--dark .ap-lede { color: #a1a1a6; }
.ap-small { font-size: 14px; line-height: 1.45; color: var(--ap-ink-2); margin: 16px auto 0; max-width: 40em; }
.ap-section--dark .ap-small { color: #86868b; }

.ap-ctas { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.ap-btn {
  display: inline-block; background: var(--ap-blue); color: #fff; text-decoration: none;
  font-size: 17px; font-weight: 400; padding: 12px 22px; border-radius: 980px; letter-spacing: -0.01em;
}
.ap-btn:hover { background: #0077ed; color: #fff; }
.ap-link { color: var(--ap-link); text-decoration: none; font-size: 19px; letter-spacing: -0.01em; }
.ap-link::after { content: ' \203A'; }
.ap-link:hover { text-decoration: underline; }
.ap-section--dark .ap-link { color: #2997ff; }

/* ---- Hero ---------------------------------------------------------------- */
.ap-hero { padding: 88px 22px 0; text-align: center; background: var(--ap-bg); }
.ap-hero .ap-lede { max-width: 30em; }
.ap-hero-shot { margin: 64px auto 0; max-width: 380px; }

/* ---- The phone: a plain, neutral frame around a real screenshot ---------- */
.ap-phone {
  position: relative; margin: 0 auto; width: min(100%, 360px);
  border-radius: 54px; padding: 12px; background: #1d1d1f;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.35);
}
.ap-phone img { display: block; width: 100%; height: auto; border-radius: 42px; background: #f5f5f7; }
.ap-shot { margin: 56px auto 0; max-width: 360px; }
.ap-caption { font-size: 12px; color: var(--ap-ink-2); margin-top: 14px; }

/* ---- Two-up: text beside a screenshot on wide screens --------------------- */
.ap-split { display: grid; gap: 48px; align-items: center; text-align: left; }
.ap-split .ap-h2, .ap-split .ap-lede { margin-left: 0; }
.ap-split .ap-ctas { justify-content: flex-start; }
@media (min-width: 900px) {
  .ap-split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .ap-split--flip .ap-split-media { order: -1; }
  .ap-split .ap-shot { margin-top: 0; }
}
@media (max-width: 899px) {
  .ap-split { text-align: center; }
  .ap-split .ap-h2, .ap-split .ap-lede { margin-left: auto; }
  .ap-split .ap-ctas { justify-content: center; }
}

/* ---- Tiles ---------------------------------------------------------------- */
.ap-tiles { display: grid; gap: 20px; margin-top: 56px; text-align: left; }
@media (min-width: 760px) { .ap-tiles { grid-template-columns: 1fr 1fr; } }
.ap-tile { background: var(--ap-bg); border-radius: 28px; padding: 40px 36px; min-height: 220px; display: flex; flex-direction: column; }
.ap-section--alt .ap-tile { background: #fff; }
.ap-tile h3 { font-size: 28px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 10px; }
.ap-tile p { font-size: 17px; line-height: 1.47; color: var(--ap-ink-2); margin: 0; }
.ap-tile-icon { width: 40px; height: 40px; margin-bottom: 22px; color: var(--ap-ink); }

/* ---- Privacy points (dark) ----------------------------------------------- */
.ap-points { display: grid; gap: 40px; margin: 64px auto 0; max-width: 900px; text-align: left; }
@media (min-width: 760px) { .ap-points { grid-template-columns: repeat(3, 1fr); } }
.ap-point h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; color: #f5f5f7; }
.ap-point p { font-size: 17px; line-height: 1.47; color: #a1a1a6; margin: 0; }

/* ---- Waitlist -------------------------------------------------------------- */
.ap-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 34px auto 0; max-width: 520px; }
.ap-form input[type='email'] {
  flex: 1 1 260px; min-width: 0; font: inherit; font-size: 17px; color: var(--ap-ink);
  padding: 13px 18px; border-radius: 12px; border: 1px solid var(--ap-line); background: #fff;
}
.ap-form input[type='email']:focus { outline: none; border-color: var(--ap-blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18); }
.ap-form button { border: 0; cursor: pointer; font: inherit; }
.ap-form button:disabled { opacity: 0.5; cursor: default; }
.ap-status { min-height: 1.4em; font-size: 15px; color: var(--ap-ink-2); margin-top: 14px; }
.ap-status.is-error { color: #d70015; }
.ap-status.is-success { color: #1d7d3a; }
.ap-badge { font-size: 17px; margin-top: 14px; }
.ap-badge strong { font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Gentle entrance, only when JS is on and motion is welcome ------------ */
.js .page-apple [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .page-apple [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .page-apple [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 600px) {
  .ap-section { padding: 80px 20px; }
  .ap-hero { padding-top: 64px; }
  .ap-tile { padding: 32px 26px; min-height: 0; }
  .ap-phone { border-radius: 46px; padding: 10px; }
  .ap-phone img { border-radius: 36px; }
}
.ap-inline { color: var(--ap-link); text-decoration: none; }
.ap-inline:hover { text-decoration: underline; }

/* A card on its own (no phone frame), for the close-up in "The map". */
.ap-card-shot { margin: 0 auto; max-width: 440px; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 24px 50px -28px rgba(0, 0, 0, 0.3); }
.ap-card-shot img { display: block; width: 100%; height: auto; }


/* ==========================================================================
   Sub-pages (Help, Contact, Privacy, Terms, thanks pages) in the same style.
   The navy banner, mono labels and dashed route lines are retired.
   ========================================================================== */
.page-sub.page-apple { background: var(--ap-bg); }
.page-apple .page-hero, .page-apple .page-hero.on-dark {
  background: var(--ap-bg); color: var(--ap-ink);
  padding: 72px 0 28px; border: 0;
}
.page-apple .page-hero::before, .page-apple .page-hero::after { display: none; }
.page-apple .page-hero h1 {
  color: var(--ap-ink); font-family: var(--ap-font);
  font-size: clamp(40px, 6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em;
}
.page-apple .page-hero .lede, .page-apple .page-hero p { color: var(--ap-ink-2); font-family: var(--ap-font); font-size: 19px; line-height: 1.45; }
.page-apple .page-hero a { color: var(--ap-link); text-decoration: none; }
.page-apple .page-hero a:hover { text-decoration: underline; }
.page-apple .crumb, .page-apple .crumb * {
  font-family: var(--ap-font); text-transform: none; letter-spacing: 0;
  font-size: 13px; color: var(--ap-ink-2); font-weight: 400;
}
.page-apple .route-divider, .page-apple .contact-route, .page-apple .contact-route-line { display: none; }
.page-apple .eyebrow {
  font-family: var(--ap-font); text-transform: none; letter-spacing: -0.01em;
  font-size: 17px; font-weight: 600; color: #B9700A;
}
.page-apple .section { font-family: var(--ap-font); }
.page-apple .section h2, .page-apple .section h3 { font-family: var(--ap-font); color: var(--ap-ink); letter-spacing: -0.025em; }
.page-apple .section p, .page-apple .section li { color: var(--ap-ink-2); }
.page-apple .section a:not(.btn) { color: var(--ap-link); }

/* Help search: a plain light field. */
.page-apple .help-search, .page-apple .help-search input {
  background: var(--ap-bg-2); color: var(--ap-ink); border: 1px solid transparent; border-radius: 12px; font-family: var(--ap-font);
}
.page-apple .help-search input::placeholder { color: #86868b; }
.page-apple .help-search:focus-within { border-color: var(--ap-blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }

/* Cards: borderless, rounded, soft. */
.page-apple .help-card, .page-apple .help-faq-item, .page-apple .contact-card, .page-apple .contact-meta {
  border: 0; border-left: 0; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 12px 32px -22px rgba(0, 0, 0, 0.25);
}
.page-apple .help-body, .page-apple .section.help-body { background: var(--ap-bg); }

/* Forms. */
.page-apple .cf-label {
  font-family: var(--ap-font); text-transform: none; letter-spacing: 0;
  font-size: 14px; font-weight: 500; color: var(--ap-ink);
}
.page-apple .cf-input {
  font-family: var(--ap-font); font-size: 17px; color: var(--ap-ink);
  border: 1px solid var(--ap-line); border-radius: 12px; background: #fff;
}
.page-apple .cf-input:focus { outline: none; border-color: var(--ap-blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
.page-apple .btn, .page-apple .btn-primary {
  background: var(--ap-blue); color: #fff; border: 0; border-radius: 980px;
  font-family: var(--ap-font); font-weight: 400; font-size: 17px; letter-spacing: -0.01em; box-shadow: none;
}
.page-apple .btn:hover, .page-apple .btn-primary:hover { background: #0077ed; color: #fff; transform: none; }
.page-apple .mono-note, .page-apple .mono { font-family: var(--ap-font); text-transform: none; letter-spacing: 0; }

/* Legal pages: contents and text in the system face. */
.page-apple .legal-prose, .page-apple .legal-toc { font-family: var(--ap-font); }
.page-apple .legal-prose h2 { color: var(--ap-ink); }
.page-apple .legal-toc-title, .page-apple .legal-lede, .page-apple .legal-back, .page-apple .legal-toc a {
  font-family: var(--ap-font); text-transform: none; letter-spacing: 0;
}
.page-apple .legal-toc-title { font-size: 13px; font-weight: 600; color: var(--ap-ink); }
.page-apple .legal-lede { font-size: 14px; color: var(--ap-ink-2); }

/* ==========================================================================
   MERGED HOMEPAGE (23 Nov 2026): the immersive parts of the previous design
   inside the Apple layout. Dark stage with the floating mark, amber "Proof",
   the scroll route and pin, the animated warden demo.
   ========================================================================== */

/* The wordmark: "Proof" in amber everywhere, as before. */
.page-apple .wordmark-text em { color: #E8951E; font-style: normal; }



/* The pin drops here before it starts riding the route. */
.hero-pin-anchor { position: absolute; left: 12%; top: 64%; width: 1px; height: 1px; }

/* Entrance: the same fade family as before, but it starts at once (the old
   delays waited for an intro that no longer exists). */
.page-apple .hero-fade.d1 { animation-delay: 0.35s; }
.page-apple .hero-fade.d2 { animation-delay: 0.5s; }
.page-apple .hero-fade.d3 { animation-delay: 0.65s; }
.page-apple .hero-fade.d4 { animation-delay: 0.8s; }
.page-apple .hero-fade.d5 { animation-delay: 0.95s; }

/* The scroll route over light sections: a touch quieter than on the old page. */
.page-apple .scroll-route-line { stroke: rgba(232, 149, 30, 0.45); }

/* The animated warden demo sits in the split like a screenshot. */
.ap-demo { margin: 0 auto; max-width: 440px; width: 100%; }
.ap-demo .mock { border-radius: 28px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.35); }

/* Waitlist number from home.js, in the Apple style. */
.page-apple .waitlist-badge { font-family: var(--ap-font); font-size: 17px; color: var(--ap-ink); margin-top: 14px; display: flex; gap: 6px; justify-content: center; }
.page-apple .waitlist-badge strong { color: #B9700A; }
.page-apple .waitlist-status.is-success, .page-apple .ap-status.is-success { color: #1d7d3a; }
.page-apple .waitlist-status.is-error, .page-apple .ap-status.is-error { color: #d70015; }

@media (max-width: 600px) {
  .page-apple .hero.ap-hero-dark { padding-top: 56px; }
}
/* The route passes behind pictures and cards and shows in open space, as on
   the previous design (it never crosses a screenshot). */
.page-apple .ap-phone, .page-apple .ap-card-shot, .page-apple .ap-demo, .page-apple .ap-tile,
.page-apple .ap-form, .page-apple .ap-point { position: relative; z-index: 3; }

/* ==========================================================================
   SECOND MERGE (23 Nov 2026): about a quarter of the previous design.
   The previous navy stage (not near-black), its two-column hero with big
   type, the floating mark, the previous 3D phone with real screenshots, the
   previous header and footer, and the previous phone frame on every picture.
   ========================================================================== */
.page-apple .hero.ap-hero-mix {
  display: block; min-height: 0; overflow: hidden; color: #fff;
  background-color: #151b29;
  background-image:
    radial-gradient(52rem 38rem at 22% 40%, rgba(240, 166, 61, 0.13) 0%, rgba(240, 166, 61, 0) 62%),
    radial-gradient(70rem 46rem at 88% -12%, rgba(86, 116, 196, 0.28) 0%, rgba(86, 116, 196, 0) 58%),
    radial-gradient(90rem 52rem at 50% 125%, rgba(8, 10, 16, 0.55) 0%, rgba(8, 10, 16, 0) 62%);
}
.ap-hero-grid {
  position: relative; z-index: 5;
  display: grid; align-items: center; gap: clamp(32px, 5vw, 72px);
  padding: 128px 0 88px;
}
@media (min-width: 900px) { .ap-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.ap-hero-text { text-align: left; }
.ap-hero-mark { width: 112px; margin: 0 0 18px -6px; }
.ap-hero-h1 {
  font-family: var(--ap-font); color: #fff; margin: 0;
  font-size: clamp(48px, 7vw, 92px); line-height: 1.0; font-weight: 700; letter-spacing: -0.045em;
}
.ap-hero-h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #FFE3A6 0%, #F5B451 38%, #F0A63D 64%, #FF8A5B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ap-hero-sub {
  font-family: var(--ap-font); color: rgba(232, 236, 245, 0.8);
  font-size: clamp(20px, 1.9vw, 24px); line-height: 1.4; letter-spacing: -0.012em;
  margin: 22px 0 0; max-width: 28em;
}
.ap-ctas--left { justify-content: flex-start; }
.ap-hero-mix .ap-link { color: #6cb6ff; }
.ap-hero-phone .p3-dots { margin-top: 22px; }
@media (max-width: 899px) {
  .ap-hero-grid { padding: 112px 0 64px; text-align: center; }
  .ap-hero-text { text-align: center; }
  .ap-hero-mark { margin: 0 auto 14px; width: 96px; }
  .ap-ctas--left { justify-content: center; }
  .ap-hero-sub { margin-left: auto; margin-right: auto; }
}

/* The previous phone frame on every screenshot: dark bezel, the island, a
   slight turn in 3D, straightening when you hover. */
.ap-shot { perspective: 1400px; }
.page-apple .ap-phone {
  background: #12151C; border-radius: 46px; padding: 11px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.09), 0 60px 80px -38px rgba(18, 21, 28, 0.55);
  transform: rotateY(-12deg) rotateX(5deg); transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ap-split--flip .ap-phone { transform: rotateY(12deg) rotateX(5deg); }
.page-apple .ap-phone:hover { transform: rotateY(0) rotateX(0); }
.page-apple .ap-phone::before {
  content: ''; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 23px; border-radius: 999px; background: #12151C; z-index: 2;
}
.page-apple .ap-phone img { border-radius: 36px; }
@media (prefers-reduced-motion: reduce) { .page-apple .ap-phone, .ap-split--flip .ap-phone { transform: none; } }
/* The pin lands in the open space at the foot of the hero, clear of the text. */
.ap-hero-mix .hero-pin-anchor { left: 50%; top: auto; bottom: 46px; }

/* ==========================================================================
   LIGHT HERO + SCREENSHOTS WITH MOTION (23 Nov 2026, third pass).
   The hero is light again (founder: the previous one was not dark), with a
   soft amber and blue glow so it still feels immersive. The floating mark is
   the app-icon tile. Real screenshots carry small animated overlays drawn from
   the app's own wording.
   ========================================================================== */
.page-apple .hero.ap-hero-mix.ap-hero-light {
  color: var(--ap-ink);
  background-color: #fbfbfd;
  background-image:
    radial-gradient(48rem 34rem at 16% 36%, rgba(245, 166, 35, 0.16) 0%, rgba(245, 166, 35, 0) 62%),
    radial-gradient(56rem 40rem at 86% 8%, rgba(0, 113, 227, 0.10) 0%, rgba(0, 113, 227, 0) 60%),
    radial-gradient(70rem 30rem at 50% 115%, rgba(245, 166, 35, 0.08) 0%, rgba(245, 166, 35, 0) 60%);
}
.ap-hero-light .ap-hero-h1 { color: var(--ap-ink); }
.ap-hero-light .ap-hero-h1 em {
  background: linear-gradient(100deg, #F0A63D 0%, #E8851E 55%, #E2683A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ap-hero-light .ap-hero-sub { color: var(--ap-ink-2); }
.ap-hero-light .ap-link { color: var(--ap-link); }
.ap-hero-light .ap-hero-mark img { border-radius: 24%; filter: drop-shadow(0 18px 30px rgba(28, 35, 51, 0.28)); }
.ap-hero-light .mark-sheen { display: none; }
.ap-hero-light .mark-aura { opacity: 0.55; }
.ap-hero-light .mark-floor { background: radial-gradient(closest-side, rgba(28, 35, 51, 0.28), rgba(28, 35, 51, 0)); }
.ap-hero-light .p3-dot { background: rgba(29, 29, 31, 0.22); }
.ap-hero-light .p3-dot.is-current { background: #E8951E; }

.ap-shot { position: relative; }
/* The old hero's dark shading layers stay off on the light hero. */
.page-apple .hero.ap-hero-mix::before, .page-apple .hero.ap-hero-mix::after { display: none !important; }

/* ==========================================================================
   PHONES THAT MOVE THE WAY THE APP DOES (23 Nov 2026, fourth pass).
   Each phone is the app's real screen, and the motion copies the app:
   - the car park sheet slides up over the map (the app's Animated.View);
   - the Clean Air Zone banner arrives over the map, styled as in App.js
     (white card, amber left edge, amber disc with the cloud icon, ✕, amber
     "Check my vehicle on GOV.UK" button), wording from lib/cleanAirZones.js;
   - the appeal ticket gets the amber scan line, timed like AppealIntro.js
     (1.6 s down, 0.5 s pause, repeat; none under reduced motion).
   Our own logo (not the app tile) floats in the hero and stays interactive.
   ========================================================================== */
.ap-hero-light .ap-hero-mark { width: clamp(120px, 12vw, 150px); }
.ap-hero-light .ap-hero-mark img { border-radius: 0; filter: drop-shadow(0 16px 26px rgba(28, 35, 51, 0.22)); }
.ap-hero-light .mark-sheen {
  display: block;
  -webkit-mask: url('/assets/logo-mark-onlight.png') center / contain no-repeat;
  mask: url('/assets/logo-mark-onlight.png') center / contain no-repeat;
}

.ap-screen { position: relative; overflow: hidden; border-radius: 36px; background: #f2f0ea; }
.ap-screen > img:first-child { display: block; width: 100%; height: auto; }

/* The car park sheet. */
.ap-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; border-radius: 0;
  transform: translateY(102%);
}
.ap-shot.is-in .ap-sheet { animation: ap-sheet-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s forwards; }
@keyframes ap-sheet-up { to { transform: translateY(0); } }

/* The Clean Air Zone banner, drawn to App.js (cazBanner and friends) in the
   app's own points, scaled to the phone picture like the warden and
   navigation cards: 1 pt = 1/412 of the screen width (container units). It
   used fixed pixels sized for the desktop phone, so on a phone's smaller
   picture it came out oversized and its text ran out of the screen. */
.cz-layer { position: absolute; inset: 0; container-type: size; --dp: calc(100cqw / 412); pointer-events: none; }
.ap-caz-banner {
  position: absolute; top: 19%; left: calc(var(--dp) * 12); right: calc(var(--dp) * 12);
  background: #fff; border-radius: calc(var(--dp) * 14); border-left: calc(var(--dp) * 3) solid #F5A623;
  padding: calc(var(--dp) * 11) calc(var(--dp) * 14) calc(var(--dp) * 10); text-align: left;
  box-shadow: 0 calc(var(--dp) * 3) calc(var(--dp) * 10) rgba(0, 0, 0, 0.18);
  opacity: 0; transform: translateY(calc(var(--dp) * -16));
}
.ap-shot.is-in .ap-caz-banner { animation: ap-caz-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards; }
@keyframes ap-caz-in { to { opacity: 1; transform: none; } }
.ap-caz-row { display: flex; align-items: flex-start; gap: calc(var(--dp) * 11); }
.ap-caz-icon { flex: none; width: calc(var(--dp) * 30); height: calc(var(--dp) * 30); border-radius: 50%; background: #F5A623; display: grid; place-items: center; }
.ap-caz-icon svg { width: calc(var(--dp) * 17); height: calc(var(--dp) * 17); }
.ap-caz-text { flex: 1; display: flex; flex-direction: column; gap: calc(var(--dp) * 3); font-family: 'Inter', var(--ap-font); }
.ap-caz-text b { font-size: calc(var(--dp) * 14); line-height: calc(var(--dp) * 19); font-weight: 700; color: #1a1a1a; letter-spacing: 0; }
.ap-caz-text span { font-size: calc(var(--dp) * 12); line-height: calc(var(--dp) * 17); color: #6b7280; }
.ap-caz-x { font-size: calc(var(--dp) * 15); font-weight: 700; color: #6b7280; line-height: 1; }
.ap-caz-btn {
  display: block; margin-top: calc(var(--dp) * 9); background: #F5A623; border-radius: calc(var(--dp) * 10); padding: calc(var(--dp) * 9) 0;
  text-align: center; font-family: 'Inter', var(--ap-font); font-size: calc(var(--dp) * 13); font-weight: 700; color: #1a1a1a;
}

/* The appeal scan line over the ticket in the screenshot. */
.ap-scan { position: absolute; left: 11.3%; top: 14.1%; width: 29.9%; height: 19.7%; transform: rotate(-3deg); overflow: hidden; border-radius: 6px; pointer-events: none; }
.ap-scan span {
  position: absolute; left: 0; right: 0; height: 2px; top: 5%;
  background: #F5A623; box-shadow: 0 0 7px 1px rgba(245, 166, 35, 0.9); opacity: 0;
  animation: ap-scan 2.4s ease-in-out infinite;
}
@keyframes ap-scan {
  0% { top: 5%; opacity: 0; }
  3% { opacity: 1; }
  60% { opacity: 1; }
  66.7% { top: 89%; opacity: 0; }
  100% { top: 89%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-sheet { transform: none; animation: none !important; }
  .ap-caz-banner { opacity: 1; transform: none; animation: none !important; }
  .ap-scan { display: none; }
}

/* ---- The warden card, drawn to App.js (markerCard and friends) -------------
   Sizes are the app's own points, scaled to the phone picture: 1 pt = 1/412 of
   the screen width (container units). Light theme colours from App.js theme.
   Loops: marker pops in, card slides up with the red bar pulsing, then away. */
.wd-layer { position: absolute; inset: 0; container-type: size; --dp: calc(100cqw / 412); pointer-events: none; }
.wd-marker {
  position: absolute; left: 35%; top: 43.3%; width: calc(var(--dp) * 44); /* on Brook Avenue, west of the car park */ height: calc(var(--dp) * 44);
  transform: translate(-50%, -50%) scale(0); z-index: 2;
}
.wd-dot {
  position: absolute; inset: 0; border-radius: 50%; background: #E53935; border: calc(var(--dp) * 2) solid #fff;
  display: grid; place-items: center; font-size: calc(var(--dp) * 22); line-height: 1;
  box-shadow: 0 calc(var(--dp) * 2) calc(var(--dp) * 4) rgba(0, 0, 0, 0.35);
}
.wd-card {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; overflow: hidden;
  background: #fff; border-radius: calc(var(--dp) * 22) calc(var(--dp) * 22) 0 0;
  padding: calc(var(--dp) * 20) calc(var(--dp) * 20) calc(var(--dp) * 28);
  box-shadow: 0 calc(var(--dp) * -4) calc(var(--dp) * 12) rgba(0, 0, 0, 0.12);
  font-family: 'Inter', var(--ap-font); text-align: left; color: #1a1a1a;
  transform: translateY(105%);
}
.wd-pulse { position: absolute; top: 0; left: 0; right: 0; height: calc(var(--dp) * 4); background: #E53935; opacity: 0.4; }
.wd-close {
  position: absolute; top: calc(var(--dp) * 16); right: calc(var(--dp) * 16);
  width: calc(var(--dp) * 30); height: calc(var(--dp) * 30); border-radius: 50%; background: #f0f0f0;
  display: grid; place-items: center; font-size: calc(var(--dp) * 14); color: #555;
}
.wd-head { display: flex; align-items: center; margin-bottom: calc(var(--dp) * 10); padding-right: calc(var(--dp) * 40); }
.wd-info { flex: 1; display: flex; flex-direction: column; }
.wd-title { font-size: calc(var(--dp) * 21); font-weight: 700; letter-spacing: -0.01em; margin-bottom: calc(var(--dp) * 3); }
.wd-sub { font-size: calc(var(--dp) * 13); font-weight: 500; color: #888; margin-bottom: calc(var(--dp) * 2); }
.wd-street { font-size: calc(var(--dp) * 12.5); color: #888; }
.wd-badge {
  flex: none; width: calc(var(--dp) * 52); height: calc(var(--dp) * 52); border-radius: 50%; background: #E53935;
  display: grid; place-items: center; font-size: calc(var(--dp) * 26); line-height: 1; margin-left: calc(var(--dp) * 14);
  box-shadow: 0 calc(var(--dp) * 2) calc(var(--dp) * 4) rgba(229, 57, 53, 0.4);
}
.wd-confirm { display: flex; align-items: center; margin-bottom: calc(var(--dp) * 12); }
.wd-thumb { font-size: calc(var(--dp) * 15); }
.wd-count { font-size: calc(var(--dp) * 14); font-weight: 700; color: #888; margin-left: calc(var(--dp) * 4); }
.wd-pill {
  display: inline-flex; align-items: center; gap: calc(var(--dp) * 5); margin-left: calc(var(--dp) * 12);
  border-radius: calc(var(--dp) * 12); padding: calc(var(--dp) * 4) calc(var(--dp) * 10);
  background: rgba(76, 175, 80, 0.133); color: #4CAF50; font-size: calc(var(--dp) * 11.5); font-weight: 700; letter-spacing: 0.02em;
}
.wd-pill i { width: calc(var(--dp) * 7); height: calc(var(--dp) * 7); border-radius: 50%; background: #4CAF50; }
.wd-divider { display: block; height: 1px; background: #f0f0f0; margin-bottom: calc(var(--dp) * 14); }
.wd-btns { display: flex; gap: calc(var(--dp) * 12); }
.wd-btns span {
  flex: 1; text-align: center; border-radius: calc(var(--dp) * 14); padding: calc(var(--dp) * 15) 0;
  font-size: calc(var(--dp) * 15); font-weight: 700;
}
.wd-yes { background: #E53935; color: #fff; }
.wd-no { background: #f0f0f0; color: #1a1a1a; }
.wd-abuse { display: block; text-align: center; margin-top: calc(var(--dp) * 12); font-size: calc(var(--dp) * 12); font-weight: 600; color: #888; }

.ap-shot.is-in .wd-marker { animation: wd-marker 9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s infinite; }
.ap-shot.is-in .wd-card { animation: wd-card 9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s infinite; }
.ap-shot.is-in .wd-pulse { animation: wd-pulse 1.2s ease-in-out infinite alternate; }
@keyframes wd-marker {
  0% { transform: translate(-50%, -50%) scale(0); }
  5% { transform: translate(-50%, -50%) scale(1.15); }
  8%, 90% { transform: translate(-50%, -50%) scale(1); }
  96%, 100% { transform: translate(-50%, -50%) scale(0); }
}
@keyframes wd-card {
  0%, 14% { transform: translateY(105%); }
  21%, 82% { transform: translateY(0); }
  89%, 100% { transform: translateY(105%); }
}
@keyframes wd-pulse { from { opacity: 0.35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .wd-marker { transform: translate(-50%, -50%) scale(1); animation: none !important; }
  .wd-card { transform: none; animation: none !important; }
  .wd-pulse { animation: none !important; }
}

/* ---- Hero logo, fifth pass (23 Nov 2026) ----------------------------------
   Bigger. The round radar rings are gone; instead an amber silhouette of the
   logo itself grows out from behind it and fades, peaking at the ring's old
   opacity (0.65). Two of them, offset, like the rings were. The tap burst
   takes the same logo shape. */
.ap-hero-light .ap-hero-mark { width: clamp(168px, 16vw, 212px); margin: 0 0 6px -18px; }
.mark-tilt { position: relative; }
.ap-hero-light .mark-tilt img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.mark-echo, .ap-hero-light .mark-burst {
  position: absolute; inset: 0; border: 0; border-radius: 0; box-shadow: none;
  background: #F0A63D;
  -webkit-mask: url('/assets/logo-mark-onlight.png') center / contain no-repeat;
  mask: url('/assets/logo-mark-onlight.png') center / contain no-repeat;
  pointer-events: none;
}
.mark-echo { z-index: 0; opacity: 0; transform: scale(1); animation: mark-echo 5s cubic-bezier(0.2, 0.6, 0.3, 1) 2.2s infinite; }
.mark-echo--2 { animation-delay: 4.7s; }
@keyframes mark-echo {
  0% { opacity: 0; transform: scale(0.96); }
  12% { opacity: 0.65; }
  100% { opacity: 0; transform: scale(1.55); }
}
.ap-hero-light .mark-burst { z-index: 0; animation: mark-burst-logo 0.9s cubic-bezier(0.2, 0.6, 0.3, 1) forwards; }
@keyframes mark-burst-logo {
  from { opacity: 0.9; transform: scale(0.98); }
  to { opacity: 0; transform: scale(1.7); }
}
@media (max-width: 899px) {
  .ap-hero-light .ap-hero-mark { width: 150px; margin: 0 auto 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .mark-echo { display: none; }
}
/* The reveal fade gives each picture its own layer, which trapped the z-index
   above inside it; lift the whole figure so the route and its pin pass behind
   every phone (the pin sits at 15). */
.page-apple .ap-shot { position: relative; z-index: 16; }

/* Help > Warden reports figure: the marker's spot, here rather than in a style
   attribute, which the site's CSP (style-src 'self') blocks (27 Nov 2026). */
.marker-at-help-warden { left: 54.4%; top: 38.9%; }
/* Help figure captions: the plain system face like the rest of the redesign,
   not the old design's monospace labels (27 Nov 2026). */
.page-apple .help-fig figcaption {
  font-family: var(--ap-font); font-size: 14px; letter-spacing: 0; text-transform: none;
  color: var(--ap-ink-2); line-height: 1.45;
}
/* Inner pages (27 Nov 2026): the 19 Nov pass made every .section h2 a 4.1rem
   headline, which also caught the help-topic card titles and help-article
   headings (65px over 17px text). Give them back their own sizes, and close
   the 136px gap between a page title and the first section under it. */
.page-apple .help-card h2 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; margin-bottom: 0.45rem; }
.page-apple .help-card h2::after { font-family: var(--ap-font); }
.page-apple .prose h2 { font-size: clamp(1.55rem, 2.3vw, 1.9rem); line-height: 1.2; letter-spacing: -0.022em; margin-top: 2.2em; }
.page-apple .prose h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; }
.page-apple .page-hero + .section { padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.page-apple .prose .updated { font-family: var(--ap-font); font-size: 14px; letter-spacing: 0; color: var(--ap-ink-2); }
/* The old design's dashed route divider (only the Help Centre still had one)
   left a blank band under the search; and an article's first heading keeps
   no top margin, so the text starts right under the page title. */
.page-apple .route-divider { display: none; }
.page-apple .prose > h2:first-child { margin-top: 0; }
.page-apple .page-hero + .route-divider + .section { padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.page-apple .help-jump, .page-apple .help-jump-label { font-family: var(--ap-font); text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ap-ink-2); }
/* Last of the old monospace: the footer's legal lines and the small labels in
   the help-article figures now use the system face, with even-width digits so
   times and counts still line up (27 Nov 2026). */
.page-apple .site-footer p, .page-apple .footer-legal,
.page-apple .help-fig span, .page-apple .help-fig em, .page-apple .help-fig b, .page-apple .help-fig small {
  font-family: var(--ap-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
/* "And the small things": six tiles, three across on a wide screen (27 Nov 2026). */
@media (min-width: 1000px) {
  .ap-tiles--six { grid-template-columns: repeat(3, 1fr); }
  .ap-tiles--six .ap-tile { padding: 36px 32px; }
  .ap-tiles--six .ap-tile h3 { font-size: 26px; }
}
/* Hero 3D phone (27 Nov 2026): the frame was 9:19.2, narrower than the app
   screenshots (720 wide, status bar cropped, about 1:2.01), so "cover"
   trimmed ~5% off each side ("ou get a warning", half of "Skip"). The screen
   area now matches the screenshots, the same shape as the section phones. */
.page-apple .ap-hero-mix .phone3d-frame { aspect-ratio: 0.52; }
.page-apple .ap-hero-mix img.p3-map { object-position: 50% 0%; }
/* Illustration labels (27 Nov 2026): anything drawn rather than captured says
   so on the picture itself, so no example can be read as a real report. */
.ap-shot { text-align: center; }
.ap-illus { display: inline-block; margin: 22px auto 0; max-width: 34ch; font-size: 13px; line-height: 1.45; color: var(--ap-ink-2); }
.ap-illus span { display: inline-block; font-weight: 600; color: #fff; background: rgba(28, 35, 51, 0.78); border-radius: 999px; padding: 2px 9px; margin-right: 4px; font-size: 12px; }
.page-apple .help-fig { position: relative; }
.page-apple .help-fig::before {
  content: 'Illustration';
  position: absolute; top: 10px; left: 10px; z-index: 7;
  font: 600 12px/1 var(--ap-font); color: #fff;
  background: rgba(28, 35, 51, 0.78); border-radius: 999px; padding: 5px 9px;
  pointer-events: none;
}
/* Header "Join the waitlist" (27 Nov 2026): a small pill on the right, the
   same blue as the hero button; jumps to the form, clear of the sticky header. */
.page-apple .header-cta {
  display: inline-flex; align-items: center; height: 32px; padding: 0 15px;
  border-radius: 999px; background: var(--ap-blue, #0071e3); color: #fff;
  font: 600 14px/1 var(--ap-font); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease;
}
.page-apple .header-cta:hover { background: #0077ed; color: #fff; }
.page-apple .header-cta:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; }
.page-apple #waitlist { scroll-margin-top: 64px; }
/* Phones: the logo and the waitlist button only (the page itself is the
   features; FAQ, Help Centre and Contact stay in the footer), so nothing
   crowds the wordmark or pushes past the edge. */
@media (max-width: 600px) {
  .page-apple .header-nav { display: none; }
  .page-apple .header-cta { height: 32px; padding: 0 14px; font-size: 14px; }
}
.page-apple .ap-founding { max-width: 46ch; margin: 14px auto 0; }
/* The waitlist form sits above the route car (z 15), like the pictures do, so a
   car parked over the email field can never take the click meant for it. */
.page-apple .ap-form { position: relative; z-index: 16; }
/* The touch hint, readable on the light hero (it was white for the old navy one). */
.ap-hero-light .mark-hint { color: var(--ap-ink-2); background: rgba(29, 29, 31, 0.06); border-color: rgba(29, 29, 31, 0.1); }
/* Illustration captions, quieter (27 Nov 2026): small grey text directly under
   the picture, no dark pill; the word "Illustration" stays, in a slightly
   stronger grey, so the label is never hidden. */
.ap-illus { display: block; margin: 10px auto 0; max-width: 32ch; font-size: 12px; line-height: 1.45; color: #86868b; text-align: center; }
.ap-illus span { display: inline; font-weight: 600; color: #6e6e73; background: none; padding: 0; margin-right: 2px; font-size: inherit; border-radius: 0; }

/* ==========================================================================
   PLATINUM "Join the waitlist" (27 Nov 2026): the header pill, the hero button
   and the form's submit button. The palette is the site's own Platinum badge
   (site.css, .tierdeck-stage[data-tier='platinum']): white highs, an ice-blue
   and faint-violet mid, a #8FA6C4 rim, and #1B2130 type, which that palette
   measured at 7.9:1. The glint copies the badge's rhythm too: one pass, then a
   long rest, because a constant sweep reads as a loading spinner rather than
   light catching metal. Reduced motion: no glint, same colours.
   ========================================================================== */
.page-apple .ap-platinum {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #1B2130;
  background: linear-gradient(135deg, #FFFFFF 0%, #D6E6FA 26%, #9DB4D1 52%, #EDE2F6 78%, #FFFFFF 100%);
  border: 1px solid #8FA6C4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(143, 166, 196, 0.55),
    0 3px 10px -4px rgba(27, 33, 48, 0.35),
    0 0 16px -6px rgba(190, 214, 255, 0.9);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}
.page-apple .ap-platinum::after {
  content: '';
  position: absolute;
  top: -30%; bottom: -30%;
  left: -45%;
  width: 32%;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 42%,
    rgba(214, 230, 250, 0.75) 54%,
    rgba(237, 226, 246, 0) 100%);
  transform: translateX(0) skewX(-18deg);
  animation: plat-glint 5.4s cubic-bezier(0.5, 0, 0.5, 1) 1.2s infinite;
  pointer-events: none;
}
.page-apple .header-cta.ap-platinum::after { animation-delay: 2.6s; }
@keyframes plat-glint {
  0%        { transform: translateX(0) skewX(-18deg); }
  38%, 100% { transform: translateX(560%) skewX(-18deg); }
}
.page-apple .ap-platinum:hover {
  color: #1B2130;
  background: linear-gradient(135deg, #FFFFFF 0%, #DFECFC 26%, #A9BED8 52%, #F1E8F8 78%, #FFFFFF 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(143, 166, 196, 0.6),
    0 6px 16px -6px rgba(27, 33, 48, 0.4),
    0 0 22px -6px rgba(190, 214, 255, 1);
  transform: translateY(-1px);
}
.page-apple .ap-platinum:hover::after { animation-duration: 1.6s; animation-delay: 0s; }
.page-apple .ap-platinum:active { transform: translateY(0); filter: brightness(0.97); }
.page-apple .ap-platinum:focus-visible { outline: 3px solid rgba(27, 33, 48, 0.55); outline-offset: 3px; }
.page-apple .ap-platinum:disabled, .page-apple .ap-platinum[aria-disabled="true"] { opacity: 0.7; cursor: progress; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .page-apple .ap-platinum::after { animation: none; opacity: 0; }
  .page-apple .ap-platinum, .page-apple .ap-platinum:hover { transform: none; transition: none; }
}
@media (forced-colors: active) {
  .page-apple .ap-platinum { border: 1px solid ButtonText; }
  .page-apple .ap-platinum::after { display: none; }
}

/* ==========================================================================
   Design merge (27 Nov 2026): a few motion and layout ideas, in our light style.
   The floating frosted header with a lit pill for the current section, a typed
   line in the hero, icon chips on the feature kickers, and a soft amber glow
   behind the section being read.
   ========================================================================== */

/* Floating header: a frosted bar inset from the edges, on every page. */
.page-apple .site-header--light {
  position: sticky; top: 0; z-index: 30;
  padding: 10px 12px 0;
  background: transparent; border-bottom: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  pointer-events: none;
}
.page-apple .site-header--light .header-inner {
  pointer-events: auto;
  max-width: 1120px; margin: 0 auto;
  padding: 7px 8px 7px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(18, 21, 28, 0.08);
  box-shadow: 0 1px 1px rgba(18, 21, 28, 0.03), 0 10px 30px -16px rgba(18, 21, 28, 0.28);
}
.page-apple .header-nav { gap: 2px; }
.page-apple .header-nav a {
  padding: 7px 12px; border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.page-apple .header-nav a:hover { background: rgba(18, 21, 28, 0.05); }
.page-apple .header-nav a[aria-current] { background: rgba(18, 21, 28, 0.08); color: var(--ink, #12151C); }
.page-apple .header-nav a:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 1px; }
.page-apple .header-right { gap: 10px; }
.page-apple section[id], .page-apple #waitlist { scroll-margin-top: 84px; }
@media (max-width: 600px) {
  .page-apple .site-header--light { padding: 8px 8px 0; }
  .page-apple .site-header--light .header-inner { padding: 6px 6px 6px 12px; border-radius: 16px; }
}

/* Hero: one line typed out, then deleted, cycling through four phrases. */
.page-apple .ap-typer {
  margin: 0 0 14px; min-height: 1.4em;
  font: 600 18px/1.4 var(--ap-font); letter-spacing: -0.01em; color: var(--ap-ink-2, #6e6e73);
}
.page-apple .ap-typer-word { color: #B9700A; }
.page-apple .ap-typer-caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.14em;
  background: var(--ap-amber, #F5A623); border-radius: 1px;
  animation: typer-caret 1s steps(1) infinite;
}
@keyframes typer-caret { 50% { opacity: 0; } }
@media (max-width: 600px) {
  .page-apple .ap-typer { font-size: 16px; min-height: 2.8em; }
}

/* Feature kickers as icon chips. */
.page-apple .ap-chip { display: inline-flex; align-items: center; gap: 9px; }
.page-apple .ap-chip-icon {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: #fff; color: #B9700A;
  box-shadow: 0 1px 2px rgba(18, 21, 28, 0.08), 0 0 0 1px rgba(18, 21, 28, 0.06);
}
.page-apple .ap-section--alt .ap-chip-icon { background: #FFF8EC; }
.page-apple .ap-chip-icon svg { width: 18px; height: 18px; }

/* A soft amber glow behind the text of the section being read. */
.page-apple .ap-split-text { position: relative; }
.page-apple .ap-split-text::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: -12%; top: -18%; width: 90%; height: 120%;
  background: radial-gradient(closest-side, rgba(245, 166, 35, 0.16), rgba(245, 166, 35, 0));
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.page-apple .ap-section.is-current .ap-split-text::before { opacity: 1; transform: none; }
.page-apple .ap-split { isolation: isolate; }

/* Small-things tiles: the icon sits on its own tile, like the chips. */
.page-apple .ap-tile-icon {
  box-sizing: content-box; padding: 9px; border-radius: 12px;
  background: #FFF8EC; color: #B9700A;
  box-shadow: 0 0 0 1px rgba(185, 112, 10, 0.12);
}
.page-apple .ap-tile { transition: box-shadow 0.25s ease, transform 0.25s ease; }
.page-apple .ap-tile:hover { box-shadow: 0 18px 40px -24px rgba(185, 112, 10, 0.45); }

@media (prefers-reduced-motion: reduce) {
  .page-apple .ap-typer-caret { animation: none; opacity: 0; }
  .page-apple .ap-split-text::before { transition: none; }
  .page-apple .ap-tile { transition: none; }
}
@media (forced-colors: active) {
  .page-apple .site-header--light .header-inner { border: 1px solid CanvasText; }
  .page-apple .header-nav a[aria-current] { outline: 1px solid LinkText; }
  .page-apple .ap-split-text::before { display: none; }
}
/* The "Illustration" tag sits on the figure's top edge, so it never covers a
   step number or label inside the figure. */
.page-apple .help-fig::before { top: -11px; left: 12px; box-shadow: 0 0 0 3px var(--ap-bg, #fff); }

/* ==========================================================================
   Design merge, part 2 (27 Nov 2026)
   ========================================================================== */

/* Bigger hero: logo, headline, typed line. */
.ap-hero-light .ap-hero-mark { width: clamp(190px, 18vw, 252px); }
.page-apple .ap-hero-h1 { font-size: clamp(52px, 6.6vw, 96px); }
@media (min-width: 900px) { .page-apple .ap-hero-h1 em, .page-apple .h1-tail { white-space: nowrap; } }
.page-apple .ap-hero-sub { max-width: 31em; }
.page-apple .ap-typer { font-size: clamp(18px, 1.5vw, 21px); }
.page-apple .h1-vis { display: inline; }

/* Typing: a character waits hidden until its turn; the cursor takes no room. */
.sync .page-apple .tw-c { opacity: 0; }
.sync .page-apple .tw-c.on { opacity: 1; }
.page-apple .tw-caret {
  display: inline-block; width: 0.07em; height: 0.86em; margin: 0 -0.11em 0 0.04em; vertical-align: -0.06em;
  background: var(--ap-amber, #F5A623); border-radius: 2px;
  animation: typer-caret 1s steps(1) infinite;
}

/* Feature blocks move with the scroll (--e: 1 entering, 0 settled; set by
   apple-home.js). Text rises in; on wide screens it slides in from its own side.
   The phone lifts, tilts upright and grows into place. */
.sync .page-apple .ap-split > [data-reveal] { transition: none; will-change: transform, opacity; }
.sync .page-apple .ap-split > .ap-split-text[data-reveal] {
  opacity: calc(1 - var(--e, 0)); transform: translate3d(0, calc(var(--e, 0) * 70px), 0);
}
.sync .page-apple .ap-split > .ap-split-media[data-reveal] {
  opacity: calc(1 - var(--e, 0) * 0.9);
  transform: perspective(1400px) translate3d(0, calc(var(--e, 0) * 150px), 0) rotateX(calc(var(--e, 0) * 24deg)) scale(calc(1 - var(--e, 0) * 0.12));
  transform-origin: 50% 100%;
}
@media (min-width: 900px) {
  .sync .page-apple .ap-split > .ap-split-text[data-reveal]:first-child { transform: translate3d(calc(var(--e, 0) * -80px), 0, 0); }
  .sync .page-apple .ap-split > .ap-split-text[data-reveal]:last-child { transform: translate3d(calc(var(--e, 0) * 80px), 0, 0); }
}

/* Our app is blue; tickets are yellow. The logo's pulse, the tap burst and
   the glow behind it, the route car and its shield ring all take the blue. */
.mark-echo, .ap-hero-light .mark-burst { background: #4DA3FF; }
.ap-hero-light .mark-aura {
  background: conic-gradient(from 0deg,
    rgba(77, 163, 255, 0) 0deg, rgba(77, 163, 255, 0.42) 70deg, rgba(140, 195, 247, 0.26) 150deg,
    rgba(240, 166, 61, 0.16) 230deg, rgba(91, 140, 255, 0.2) 300deg, rgba(77, 163, 255, 0) 360deg);
}

/* Platinum, a touch more matte: flatter metal, softer edge, quieter glint. */
.page-apple .ap-platinum {
  background: linear-gradient(135deg, #F2F5F9 0%, #DEE5EE 42%, #CBD5E2 64%, #EAEEF3 100%);
  border-color: #AEBBCC;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 8px -5px rgba(27, 33, 48, 0.3);
  text-shadow: none;
}
.page-apple .ap-platinum:hover {
  background: linear-gradient(135deg, #F5F7FA 0%, #E3E9F1 42%, #D1DAE6 64%, #EDF0F4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 14px -8px rgba(27, 33, 48, 0.35);
}
.page-apple .ap-platinum::after { opacity: 0.45; }

/* Hero phone: named tabs under the phone, the warden screen. */
.page-apple .p3-dots { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.page-apple .p3-tab {
  font: 600 13px/1 var(--ap-font); letter-spacing: -0.005em; color: var(--ap-ink-2, #6e6e73);
  padding: 8px 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(18, 21, 28, 0.05);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.page-apple .p3-tab:hover { background: rgba(18, 21, 28, 0.09); color: var(--ap-ink, #1d1d1f); }
.page-apple .p3-tab.is-current { background: #1d1d1f; color: #fff; }
.page-apple .p3-tab:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; }
.p3-screen--warden .wd-layer { z-index: 2; }
.p3-illus {
  position: absolute; z-index: 3; top: 56px; left: 14px;
  font: 600 11px/1 var(--ap-font); color: #fff; background: rgba(28, 35, 51, 0.78);
  border-radius: 999px; padding: 5px 8px; pointer-events: none;
}
.p3-screen--warden.is-current .wd-marker { animation: wd-marker 9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s infinite; }
.p3-screen--warden.is-current .wd-card { animation: wd-card 9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s infinite; }
.p3-screen--warden.is-current .wd-pulse { animation: wd-pulse 1.2s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .page-apple .tw-caret { display: none; }
  .page-apple .p3-tab { transition: none; }
}
@media (forced-colors: active) {
  .page-apple .p3-tab.is-current { outline: 2px solid Highlight; }
}

/* ==========================================================================
   Redesign, 28 Nov 2026: a quieter top, one phone tour, a clean footer.
   ========================================================================== */

/* Header: subtle Apple-style glass. */
.page-apple .site-header--light .header-inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 0.5px rgba(18, 21, 28, 0.1), 0 8px 24px -16px rgba(18, 21, 28, 0.25);
}

/* No "Illustration" tags. */
.page-apple .help-fig::before { content: none; display: none; }

/* Hero: centred, high up, one heading in two lines (problem, then answer). */
.tp-hero { position: relative; text-align: center; padding: clamp(64px, 11vh, 128px) 22px clamp(88px, 14vh, 150px); }
.tp-hero-inner { max-width: 1240px; margin: 0 auto; }
.tp-h1 {
  margin: 0; font: 700 clamp(36px, 4.7vw, 70px)/1.06 var(--ap-font, system-ui, sans-serif);
  letter-spacing: -0.045em; color: var(--ap-ink, #1d1d1f);
}
.tp-h1-a, .tp-h1-b { display: block; }
.tp-h1-a { color: #a1a1a6; }
.page-apple .tp-typer { margin: 22px auto 0; font-size: clamp(17px, 1.45vw, 20px); min-height: 1.4em; }
.tp-hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tp-soon { font: 500 13px/1 var(--ap-font, system-ui, sans-serif); color: var(--ap-ink-2, #6e6e73); letter-spacing: -0.005em; }
.tp-hero .hero-pin-anchor { left: 50%; top: auto; bottom: 30px; }
@media (max-width: 600px) {
  .page-apple .tp-typer { min-height: 2.8em; }
}

/* The tour: one phone, four steps. */
.tp-tour { position: relative; padding: 40px 22px 80px; }
.tp-tour.is-scroll { height: calc(var(--steps, 4) * 85vh + 15vh); padding: 0 22px; }
.tp-tour-stage {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 7vw, 110px); align-items: center;
}
.tp-tour.is-scroll .tp-tour-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.tp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; z-index: 16; }
.tp-step {
  -webkit-appearance: none; appearance: none; width: 100%; margin: 0; border: 0; background: none; color: inherit; font: inherit;
  display: flex; align-items: flex-start; gap: 14px; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 18px;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.tp-step .ap-chip-icon { flex: none; width: 38px; height: 38px; border-radius: 11px; margin-top: 1px; transition: background-color 0.35s ease, color 0.35s ease; }
.tp-step .ap-chip-icon svg { width: 20px; height: 20px; }
.tp-step-body { display: block; min-width: 0; }
.tp-step-title { display: block; font: 600 clamp(19px, 1.7vw, 23px)/1.25 var(--ap-font, system-ui, sans-serif); letter-spacing: -0.02em; color: var(--ap-ink, #1d1d1f); transition: color 0.35s ease; padding-top: 6px; }
.tp-step-text { display: block; margin-top: 6px; font: 400 16px/1.5 var(--ap-font, system-ui, sans-serif); color: var(--ap-ink-2, #6e6e73); max-width: 34ch; }
.js .tp-step .tp-step-text { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease; }
.js .tp-step:not(.is-current) .tp-step-title { color: #a1a1a6; }
.js .tp-step:not(.is-current) .ap-chip-icon { background: transparent; box-shadow: none; color: #a1a1a6; }
.js .tp-step.is-current .tp-step-text { max-height: 9em; opacity: 1; margin-top: 6px; }
.tp-step.is-current {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 0.5px rgba(18, 21, 28, 0.08), 0 14px 34px -22px rgba(18, 21, 28, 0.35);
}
.tp-step:hover .tp-step-title { color: var(--ap-ink, #1d1d1f); }
.tp-step:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; }

.tp-phone { position: relative; z-index: 16; width: clamp(240px, 25vw, 318px); }
.page-apple .tp-screens { position: relative; aspect-ratio: 720 / 1480; touch-action: pan-y; cursor: grab; outline: none; }
.page-apple .tp-screens:focus-visible { box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.45); }
.page-apple .tp-screen.ap-shot { position: absolute; inset: 0; z-index: 0; visibility: hidden; }
.page-apple .tp-screen.ap-shot.is-current { visibility: visible; z-index: 2; }
.page-apple .tp-screen.ap-shot.was-current { visibility: visible; z-index: 1; }
.page-apple .tp-screens .tp-screen > img:first-child { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; -webkit-user-drag: none; user-select: none; }
/* The next screen opens out of a TicketProof shield. */
.tp-screen.is-wipe {
  -webkit-mask-image: url("/assets/shield-mask.svg"); mask-image: url("/assets/shield-mask.svg");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 50% 46%; mask-position: 50% 46%;
  animation: tp-shield 0.85s cubic-bezier(0.25, 0.7, 0.2, 1) both;
}
@keyframes tp-shield {
  from { -webkit-mask-size: 0%; mask-size: 0%; }
  to { -webkit-mask-size: 360%; mask-size: 360%; }
}

@media (max-width: 899px) {
  .tp-tour-stage { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 18px; }
  .tp-phone { order: -1; width: min(60vw, 27vh, 300px); }
  .tp-steps { width: 100%; max-width: 440px; }
  .tp-tour.is-scroll .tp-steps > li { display: none; }
  .tp-tour.is-scroll .tp-steps > li.is-current { display: block; }
  .tp-step { padding: 12px 14px; }
}

/* Small things: shorter lines. */
.page-apple .ap-tile p { max-width: 26ch; }

/* The logo now sits above the waitlist. Tap it: one soft white pulse. */
.page-apple .tp-mark { width: clamp(104px, 10vw, 132px); margin: 0 auto 18px; }
.page-apple .tp-mark .mark-stage { --hero-out: 0 !important; }
.page-apple .tp-mark .mark-hint { display: none; }
.page-apple .tp-mark .mark-aura { opacity: 0.3; }
.page-apple .mark-echo { display: none; }
.page-apple .ap-hero-light .mark-burst {
  background: #fff;
  filter: drop-shadow(0 0 5px rgba(72, 98, 134, 0.5));
}

/* The route car: white and minimal; its shield ring is white and pulses once
   per tap instead of all the time. */
.route-car .car-glyph { filter: drop-shadow(0 1px 1.5px rgba(18, 21, 28, 0.3)); }
.route-car .car-ring { animation: none; opacity: 0; stroke-width: 1.2; filter: drop-shadow(0 0 1.2px rgba(28, 35, 51, 0.55)); }
.route-car.is-tapped .car-ring { animation: pin-pulse 1.3s ease-out 1; }

/* Footer: one line, like a signature. */
.page-apple .site-footer.tp-footer {
  background: transparent; color: var(--ap-ink-2, #6e6e73);
  padding: 56px 0 30px; font-size: 13px; border-top: 1px solid rgba(18, 21, 28, 0.08);
}
.tp-footer-mail {
  display: table; margin: 0 auto 44px; padding-bottom: 6px;
  font: 500 17px/1.3 var(--ap-font, system-ui, sans-serif); color: var(--ap-ink, #1d1d1f);
  text-decoration: none; border-bottom: 1px solid rgba(18, 21, 28, 0.22);
}
.tp-footer-mail:hover { border-bottom-color: currentColor; }
.tp-footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 28px; }
.tp-footer-left { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.tp-footer-left a { color: var(--ap-ink-2, #6e6e73); text-decoration: none; }
.tp-footer-left a:hover { color: var(--ap-ink, #1d1d1f); }
.tp-footer-credits { margin: 0; color: #86868b; }
.contact-company { margin: 28px 0 0; font-size: 13px; color: var(--text-2, #6e6e73); }
@media (max-width: 600px) {
  .tp-footer-bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-step, .tp-step .ap-chip-icon, .tp-step-title, .js .tp-step .tp-step-text { transition: none; }
  .route-car.is-tapped .car-ring { animation: none; }
}
/* The redesign hero is light (the old .hero is dark). */
.page-apple .hero.tp-hero {
  color: var(--ap-ink, #1d1d1f); min-height: 0; display: block;
  background-color: #fbfbfd;
  background-image:
    radial-gradient(60rem 34rem at 50% -10%, rgba(77, 163, 255, 0.1) 0%, rgba(77, 163, 255, 0) 62%),
    radial-gradient(50rem 28rem at 50% 112%, rgba(245, 166, 35, 0.07) 0%, rgba(245, 166, 35, 0) 60%);
}
.page-apple .hero.tp-hero::before, .page-apple .hero.tp-hero::after { content: none; display: none; }
.page-apple .hero.tp-hero .tp-h1 { color: var(--ap-ink, #1d1d1f); text-shadow: none; max-width: none; }
.page-apple .hero.tp-hero .tp-h1-a { color: #a1a1a6; }
/* The tour's phone stays in view while you scroll (position: sticky), which a
   main that clips both ways would stop. Clip sideways only: the route art still
   can't cause a horizontal scroll. */
.page-apple main { overflow: visible; overflow-x: clip; }
/* The stage (sticky, so its own layer) sits above the route art like the
   phones always have; its empty space lets clicks through to the route car. */
.tp-tour.is-scroll .tp-tour-stage { z-index: 16; pointer-events: none; }
.tp-tour.is-scroll .tp-steps, .tp-tour.is-scroll .tp-phone { pointer-events: auto; }
.tp-footer-credits { margin-left: auto; text-align: right; }
@media (max-width: 600px) { .tp-footer-credits { margin-left: 0; text-align: left; } }

/* ==========================================================================
   Dark mode (28 Nov 2026): follows the visitor's system setting. Pure CSS, so
   no flash of the light page. The app's embedded Help pages set their own
   theme (data-theme), and an explicit light theme from the app always wins.
   App screenshots inside the phones stay as they are (the app's light look).
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    /* site.css palette (Help, Privacy, Terms, Contact), as the app's dark theme */
    --ink: rgba(255, 255, 255, 0.94);
    --mist: #0b0b0d;
    --text-2: rgba(255, 255, 255, 0.74);
    --text-3: rgba(255, 255, 255, 0.62);
    --line: rgba(255, 255, 255, 0.14);
    --surface: #1c1c1e;
    --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
    --signal-deep: var(--signal);
    --route-deep: var(--route);
    --ticket-deep: var(--ticket);
    --apple-ink: #f5f5f7;
  }
  :root:not([data-theme='light']) body { background: #0b0b0d; }
  :root:not([data-theme='light']) .page-apple {
    --ap-ink: #f5f5f7;
    --ap-ink-2: #a1a1a6;
    --ap-line: #3a3a3c;
    --ap-bg: #0b0b0d;
    --ap-bg-2: #161618;
    --ap-link: #2997ff;
  }
  :root:not([data-theme='light']) ::selection { background: rgba(240, 166, 61, 0.45); }

  /* header glass */
  :root:not([data-theme='light']) .page-apple .site-header--light .header-inner {
    background: linear-gradient(180deg, rgba(40, 40, 44, 0.78), rgba(28, 28, 30, 0.66));
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 10px 28px -16px rgba(0, 0, 0, 0.8);
  }
  :root:not([data-theme='light']) .page-apple .header-nav a:hover { background: rgba(255, 255, 255, 0.08); }
  :root:not([data-theme='light']) .page-apple .header-nav a[aria-current] { background: rgba(255, 255, 255, 0.14); color: #fff; }

  /* hero */
  :root:not([data-theme='light']) .page-apple .hero.tp-hero {
    background-color: #0b0b0d;
    background-image:
      radial-gradient(60rem 34rem at 50% -10%, rgba(77, 163, 255, 0.16) 0%, rgba(77, 163, 255, 0) 62%),
      radial-gradient(50rem 28rem at 50% 112%, rgba(245, 166, 35, 0.08) 0%, rgba(245, 166, 35, 0) 60%);
  }
  :root:not([data-theme='light']) .page-apple .hero.tp-hero .tp-h1-a { color: #6e6e73; }
  :root:not([data-theme='light']) .page-apple .ap-typer-word,
  :root:not([data-theme='light']) .page-apple .ap-kicker { color: #F5B451; }

  /* tour */
  :root:not([data-theme='light']) .tp-step.is-current {
    background: rgba(44, 44, 46, 0.72);
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 16px 36px -22px rgba(0, 0, 0, 0.9);
  }
  :root:not([data-theme='light']) .js .tp-step:not(.is-current) .tp-step-title,
  :root:not([data-theme='light']) .js .tp-step:not(.is-current) .ap-chip-icon { color: #6e6e73; }
  :root:not([data-theme='light']) .page-apple .ap-chip-icon,
  :root:not([data-theme='light']) .page-apple .ap-section--alt .ap-chip-icon {
    background: rgba(245, 166, 35, 0.14); color: #F5B451;
    box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.18);
  }
  :root:not([data-theme='light']) .page-apple .ap-phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }

  /* tiles, form, logo, footer */
  :root:not([data-theme='light']) .page-apple .ap-tile,
  :root:not([data-theme='light']) .page-apple .ap-section--alt .ap-tile { background: #1c1c1e; }
  :root:not([data-theme='light']) .page-apple .ap-tile-icon { background: rgba(245, 166, 35, 0.14); color: #F5B451; box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.18); }
  :root:not([data-theme='light']) .page-apple .ap-tile:hover { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9); }
  :root:not([data-theme='light']) .page-apple .ap-form input[type='email'] { background: #1c1c1e; border-color: #3a3a3c; color: #f5f5f7; }
  :root:not([data-theme='light']) .page-apple .ap-hero-light .mark-tilt img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); }
  :root:not([data-theme='light']) .page-apple .site-footer.tp-footer { border-top-color: rgba(255, 255, 255, 0.1); }
  :root:not([data-theme='light']) .tp-footer-mail { border-bottom-color: rgba(255, 255, 255, 0.28); }
  :root:not([data-theme='light']) .tp-footer-credits { color: #6e6e73; }
  :root:not([data-theme='light']) .to-top { background: #1c1c1e; border-color: rgba(255, 255, 255, 0.14); color: #f5f5f7; }

  /* Help, Privacy, Terms, Contact: cards on the dark surface (as in the app) */
  :root:not([data-theme='light']) .help-faq-item,
  :root:not([data-theme='light']) .help-card,
  :root:not([data-theme='light']) .help-jump a,
  :root:not([data-theme='light']) .prose-foot,
  :root:not([data-theme='light']) .contact-card,
  :root:not([data-theme='light']) .fig-panel,
  :root:not([data-theme='light']) .fig-step,
  :root:not([data-theme='light']) .fig-type-badge { background: var(--surface); }
  :root:not([data-theme='light']) .fig-step svg { color: var(--ink); }
}
/* The logo picture (dark mode swaps in the white-outline version); the hero
   fades into the page with one glow at the top, so there is no band where it ends. */
.page-apple .tp-mark picture { display: block; }
.page-apple .hero.tp-hero {
  background-color: var(--ap-bg, #fff);
  background-image: radial-gradient(64rem 36rem at 50% -12%, rgba(77, 163, 255, 0.11) 0%, rgba(77, 163, 255, 0) 64%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .page-apple .hero.tp-hero {
    background-color: var(--ap-bg, #0b0b0d);
    background-image: radial-gradient(64rem 36rem at 50% -12%, rgba(77, 163, 255, 0.18) 0%, rgba(77, 163, 255, 0) 64%);
  }
  :root:not([data-theme='light']) .page-apple .ap-hero-light .mark-tilt img { border-radius: 0; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .page-apple input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
  :root:not([data-theme='light']) .page-apple textarea,
  :root:not([data-theme='light']) .page-apple select {
    background: #1c1c1e; color: #f5f5f7; border-color: rgba(255, 255, 255, 0.16);
  }
  :root:not([data-theme='light']) .page-apple input::placeholder,
  :root:not([data-theme='light']) .page-apple textarea::placeholder { color: #8e8e93; }
}

/* ==========================================================================
   Scroll to drive, second pass (28 Nov 2026). Premium rather than cartoon:
   the road is a few fine lines of light on the page itself (no tarmac), a
   soft glow sits on the horizon, and each feature passes as a frosted-glass
   card (the kind of thing the app shows you) instead of a sign on a pole.
   The phone on the right opens that screen out of a TicketProof shield.
   apple-home.js sets --road-y and --enter, and places the cards.
   ========================================================================== */
.page-apple .tp-h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #F0A63D 0%, #E8851E 55%, #E2683A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.tp-drive {
  --line: rgba(29, 29, 31, 0.13); --dash: rgba(29, 29, 31, 0.26);
  --floor: rgba(15, 30, 53, 0.045); --glow: rgba(77, 163, 255, 0.16); --glow-2: rgba(245, 166, 35, 0.08);
}
.tp-drive.is-scroll { height: calc(var(--steps, 6) * 78vh + 15vh); }
.tp-drive.is-scroll .tp-tour-stage {
  display: block; max-width: none; margin: 0; position: sticky; top: 0;
  height: 100vh; height: 100svh; overflow: hidden;
}
.tp-drive.is-scroll .tp-stops, .tp-drive.is-scroll .tp-phone { pointer-events: auto; }

/* the horizon and the road: light, not paint */
.tp-scene { position: absolute; inset: 0; pointer-events: none; opacity: calc(0.25 + var(--enter, 1) * 0.75); }
.tp-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(34% 16% at 50% 44%, var(--glow-2), transparent 72%),
    radial-gradient(62% 34% at 50% 44%, var(--glow), transparent 70%);
}
.tp-road { position: absolute; inset: 0; perspective: 520px; perspective-origin: 50% 40%; }
.tp-road-plane {
  position: absolute; left: 50%; bottom: -2vh;
  width: min(62vw, 880px); height: 300vh; transform: translateX(-50%) rotateX(81deg); transform-origin: 50% 100%;
  background:
    repeating-linear-gradient(to bottom, var(--dash) 0 130px, transparent 130px 320px) 50% var(--road-y, 0px) / 3px 320px repeat-y,
    linear-gradient(to right, transparent 0 3%, var(--line) 3% 3.2%, transparent 3.2% 96.8%, var(--line) 96.8% 97%, transparent 97%),
    linear-gradient(to right, transparent 0%, var(--floor) 3%, var(--floor) 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 46%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 46%, #000 88%, transparent 100%);
}
/* lights passing overhead, a soft band that sweeps down the road */
.tp-road-plane::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 520px, rgba(255, 255, 255, 0.5) 600px, transparent 680px 1100px) 0 calc(var(--road-y, 0px) * 1) / 100% 1100px;
  opacity: 0.35;
}

/* the cards: frosted glass, an app-icon tile, two lines. JS moves each one
   from the horizon past you on the left. */
.tp-card {
  position: absolute; left: 0; top: 0; opacity: 0; transform-origin: 50% 50%;
  display: flex; align-items: center; gap: 14px;
  width: 330px; padding: 14px 20px 14px 14px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.6));
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 0.5px rgba(15, 23, 42, 0.07), 0 32px 64px -30px rgba(15, 23, 42, 0.42), inset 0 1px 0 #fff;
  font-family: var(--ap-font, system-ui, sans-serif); color: var(--ap-ink, #1d1d1f); text-align: left;
  will-change: transform, opacity;
}
.tp-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 42%);
}
.tp-card-icon {
  position: relative; flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  color: #fff; background: var(--tint);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 8px 16px -8px var(--tint-glow);
}
.tp-card-icon svg { width: 26px; height: 26px; }
.tp-card-icon b { font: 700 30px/1 var(--ap-font, system-ui, sans-serif); letter-spacing: -0.02em; }
.tp-card-text { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tp-card-text b { font: 600 17px/1.2 var(--ap-font, system-ui, sans-serif); letter-spacing: -0.022em; white-space: nowrap; }
.tp-card-text span { font: 400 14px/1.3 var(--ap-font, system-ui, sans-serif); color: var(--ap-ink-2, #6e6e73); letter-spacing: -0.01em; white-space: nowrap; }
.tp-card--park   { --tint: linear-gradient(165deg, #4C97FF, #0A5BD6); --tint-glow: rgba(10, 91, 214, 0.7); }
.tp-card--nav    { --tint: linear-gradient(165deg, #5AC8FA, #0A84FF); --tint-glow: rgba(10, 132, 255, 0.7); }
.tp-card--caz    { --tint: linear-gradient(165deg, #4CD964, #1F8A45); --tint-glow: rgba(31, 138, 69, 0.7); }
.tp-card--warden { --tint: linear-gradient(165deg, #FF6F61, #D93025); --tint-glow: rgba(217, 48, 37, 0.65); }
.tp-card--timer  { --tint: linear-gradient(165deg, #FFB547, #F08A00); --tint-glow: rgba(240, 138, 0, 0.7); }
.tp-card--appeal { --tint: linear-gradient(165deg, #2B4472, #0F1E35); --tint-glow: rgba(15, 30, 53, 0.7); }
.tp-card--appeal .tp-card-icon { color: #F5B451; }

/* the caption: what this stop is, typed in */
.tp-caption {
  position: absolute; z-index: 2; left: 50%; top: clamp(80px, 13vh, 132px); transform: translateX(-50%);
  width: min(90vw, 760px); text-align: center; pointer-events: none;
  opacity: var(--enter, 1);
}
.tp-cap-title { margin: 0 0 10px; font: 600 15px/1 var(--ap-font, system-ui, sans-serif); color: #B9700A; letter-spacing: 0.01em; }
.tp-cap-line {
  margin: 0; min-height: 2.3em;
  font: 700 clamp(24px, 3vw, 42px)/1.14 var(--ap-font, system-ui, sans-serif); letter-spacing: -0.035em;
  color: var(--ap-ink, #1d1d1f);
}

/* the stops: glass pills along the bottom */
.tp-drive.is-scroll .tp-stops {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 5px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 0 0 0.5px rgba(18, 21, 28, 0.1), 0 10px 30px -18px rgba(18, 21, 28, 0.35);
}
.tp-stop {
  -webkit-appearance: none; appearance: none; border: 0; margin: 0; cursor: pointer; font: inherit; color: inherit; background: none;
}
.tp-drive.is-scroll .tp-stop {
  padding: 8px 13px; border-radius: 999px; font: 600 13px/1 var(--ap-font, system-ui, sans-serif);
  color: var(--ap-ink-2, #6e6e73); white-space: nowrap; transition: background-color 0.35s ease, color 0.35s ease;
}
.tp-drive.is-scroll .tp-stop:hover { color: var(--ap-ink, #1d1d1f); }
.tp-drive.is-scroll .tp-stop.is-current { background: var(--ap-ink, #1d1d1f); color: var(--ap-bg, #fff); }
.tp-drive.is-scroll .tp-stop-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.tp-stop:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; }

/* the phone, floating on the right with a soft contact shadow; it rises
   into place as the drive begins */
.tp-drive.is-scroll .tp-phone {
  position: absolute; z-index: 3; right: max(5vw, calc(50% - 600px)); bottom: 10vh;
  width: clamp(200px, 18.5vw, 268px);
  transform: translate3d(0, calc((1 - var(--enter, 1)) * 90px), 0) scale(calc(0.9 + var(--enter, 1) * 0.1));
  transform-origin: 50% 100%;
}
/* a slow quarter-turn of the phone as you drive (--p, 0 to 1, from JS) */
.tp-drive.is-scroll .tp-phone { perspective: 1400px; }
.tp-drive.is-scroll .tp-phone .ap-phone { transform: rotateY(calc(-16deg + var(--p, 0) * 12deg)) rotateX(4deg); transition: transform 0.25s linear; }
.tp-drive.is-scroll .tp-phone .ap-phone:hover { transform: rotateY(0) rotateX(0); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tp-drive .tp-phone::after {
  content: ''; position: absolute; left: 8%; right: 8%; bottom: -34px; height: 40px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(15, 30, 53, 0.26), rgba(15, 30, 53, 0));
}
.tp-drive:not(.is-scroll) .tp-phone::after { display: none; }

/* Without the drive (no JavaScript, or reduced motion): a plain list beside the phone. */
.tp-drive:not(.is-scroll) .tp-scene, .tp-drive:not(.is-scroll) .tp-caption { display: none; }
.tp-drive:not(.is-scroll) .tp-tour-stage {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center;
  max-width: 1080px; margin: 0 auto; padding: 40px 0;
}
.tp-drive:not(.is-scroll) .tp-stops { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.tp-drive:not(.is-scroll) .tp-stop { display: block; text-align: left; padding: 0; }
.tp-drive:not(.is-scroll) .tp-stop-title { display: block; font: 600 22px/1.25 var(--ap-font, system-ui, sans-serif); color: var(--ap-ink, #1d1d1f); }
.tp-drive:not(.is-scroll) .tp-stop-text { display: block; margin-top: 4px; font: 400 16px/1.5 var(--ap-font, system-ui, sans-serif); color: var(--ap-ink-2, #6e6e73); max-width: 36ch; }

/* the page's route and car step aside while you drive */
.scroll-route, .scroll-route-pin, .route-warden { transition: opacity 0.4s ease; }
.page-apple.is-driving .scroll-route,
.page-apple.is-driving .scroll-route-pin, .page-apple.is-driving .route-warden { opacity: 0 !important; pointer-events: none; }

/* ---- New phone screens: Directions and the parking timer -----------------
   Drawn to App.js (navInstructionCard and friends, the #2196F3 route with
   its casing) and components/ParkingTimer.js (the chip and the running
   sheet). Same scale as the warden card: 1 pt = 1/412 of the screen width.
   Line icons instead of the app's emoji. */
.nv-layer, .tm-layer { position: absolute; inset: 0; container-type: size; --dp: calc(100cqw / 412); pointer-events: none; font-family: 'Inter', var(--ap-font); text-align: left; }
.nv-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.nv-casing { fill: none; stroke: rgba(0, 0, 0, 0.15); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.nv-line { fill: none; stroke: #2196F3; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.nv-halo { fill: rgba(33, 150, 243, 0.2); transform-box: fill-box; transform-origin: center; }
.nv-puck { fill: #2196F3; stroke: #fff; stroke-width: 4.5; }
.ap-shot.is-in .nv-line { animation: nv-draw 1.4s cubic-bezier(0.5, 0, 0.2, 1) 0.35s both; }
.ap-shot.is-in .nv-halo { animation: nv-halo 2s ease-out 0.4s infinite; }
@keyframes nv-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes nv-halo { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.nv-card {
  position: absolute; top: calc(var(--dp) * 14); left: calc(var(--dp) * 10); right: calc(var(--dp) * 10);
  background: #0d0d0d; border-radius: calc(var(--dp) * 18); overflow: hidden;
  box-shadow: 0 calc(var(--dp) * 4) calc(var(--dp) * 12) rgba(0, 0, 0, 0.4);
  transform: translateY(-120%);
}
.ap-shot.is-in .nv-card { animation: nv-drop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; }
@keyframes nv-drop { to { transform: none; } }
.nv-row { display: flex; align-items: center; padding: calc(var(--dp) * 14) calc(var(--dp) * 14) calc(var(--dp) * 12); }
.nv-arrow { flex: none; width: calc(var(--dp) * 50); display: grid; place-items: center; color: #fff; }
.nv-arrow svg { width: calc(var(--dp) * 34); height: calc(var(--dp) * 34); }
.nv-center { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 calc(var(--dp) * 10); }
.nv-center b { color: #fff; font-size: calc(var(--dp) * 22); line-height: 1.18; font-weight: 700; }
.nv-center span { color: #cfd8dc; font-size: calc(var(--dp) * 16); line-height: 1.25; font-weight: 600; margin-top: calc(var(--dp) * 2); }
.nv-end { flex: none; background: #333; color: #fff; border-radius: calc(var(--dp) * 20); padding: calc(var(--dp) * 8) calc(var(--dp) * 14); font-size: calc(var(--dp) * 14); font-weight: 700; }
.nv-div { display: block; height: 1px; margin: 0 calc(var(--dp) * 14); background: rgba(255, 255, 255, 0.12); }
.nv-sum { display: block; padding: calc(var(--dp) * 9) calc(var(--dp) * 14) calc(var(--dp) * 12); color: #b0bec5; font-size: calc(var(--dp) * 13.5); font-weight: 600; font-variant-numeric: tabular-nums; }
.nv-progress { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--dp) * 3); background: rgba(255, 255, 255, 0.1); }
.nv-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; background: #2196F3; }

.tm-chip {
  position: absolute; left: 50%; top: calc(var(--dp) * 74); transform: translateX(-50%);
  display: flex; align-items: center; max-width: 80%; white-space: nowrap;
  background: #1565C0; color: #fff; border-radius: calc(var(--dp) * 20); padding: calc(var(--dp) * 9) calc(var(--dp) * 16);
  box-shadow: 0 calc(var(--dp) * 3) calc(var(--dp) * 5) rgba(0, 0, 0, 0.3);
}
.tm-chip svg { flex: none; width: calc(var(--dp) * 15); height: calc(var(--dp) * 15); margin-right: calc(var(--dp) * 6); }
.tm-chip b { font-size: calc(var(--dp) * 15); font-weight: 800; font-variant-numeric: tabular-nums; }
.tm-chip span { font-size: calc(var(--dp) * 13); font-weight: 600; color: rgba(255, 255, 255, 0.85); overflow: hidden; text-overflow: ellipsis; }
.tm-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); opacity: 0; }
.tm-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
  background: #fff; color: #1a1a1a; border-radius: calc(var(--dp) * 22) calc(var(--dp) * 22) 0 0;
  padding: calc(var(--dp) * 24) calc(var(--dp) * 24) calc(var(--dp) * 40);
  transform: translateY(105%);
}
.ap-shot.is-in .tm-dim { animation: tm-dim 0.5s ease 0.6s forwards; }
.ap-shot.is-in .tm-sheet { animation: tm-up 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards; }
@keyframes tm-dim { to { opacity: 1; } }
@keyframes tm-up { to { transform: none; } }
.tm-close {
  position: absolute; top: calc(var(--dp) * 16); right: calc(var(--dp) * 16); width: calc(var(--dp) * 32); height: calc(var(--dp) * 32);
  border-radius: 50%; background: #f0f0f0; color: #555; display: grid; place-items: center; font-size: calc(var(--dp) * 14);
}
.tm-title { font-size: calc(var(--dp) * 18); font-weight: 700; margin-bottom: calc(var(--dp) * 6); }
.tm-sub { display: flex; align-items: center; gap: calc(var(--dp) * 5); font-size: calc(var(--dp) * 14); color: #6b7280; }
.tm-sub svg { width: calc(var(--dp) * 14); height: calc(var(--dp) * 14); color: #F5A623; }
.tm-count { align-self: center; margin-top: calc(var(--dp) * 18); font-size: calc(var(--dp) * 48); font-weight: 800; letter-spacing: calc(var(--dp) * 1); font-variant-numeric: tabular-nums; line-height: 1.1; }
.tm-label { align-self: center; margin: calc(var(--dp) * 8) 0 calc(var(--dp) * 18); font-size: calc(var(--dp) * 14); color: #6b7280; font-variant-numeric: tabular-nums; }
.tm-end { display: block; text-align: center; background: #E53935; color: #fff; border-radius: calc(var(--dp) * 14); padding: calc(var(--dp) * 15) 0; font-size: calc(var(--dp) * 15); font-weight: 700; margin-top: calc(var(--dp) * 8); }

/* The warden demo: line icons in place of the app's emoji. */
.wd-ico { width: 56%; height: 56%; }
.wd-dot, .wd-badge { color: #fff; }
.wd-thumb { display: inline-grid; place-items: center; width: calc(var(--dp) * 17); height: calc(var(--dp) * 17); color: #888; }
.wd-thumb .wd-ico { width: 100%; height: 100%; }
.wd-abuse { display: flex; align-items: center; justify-content: center; gap: calc(var(--dp) * 5); }
.wd-abuse .wd-ico { width: calc(var(--dp) * 12); height: calc(var(--dp) * 12); }

@media (prefers-reduced-motion: reduce) {
  .nv-card, .tm-sheet { transform: none; animation: none !important; }
  .tm-dim { opacity: 1; animation: none !important; }
  .nv-line, .nv-halo { animation: none !important; }
}

/* ---- Apple-style motion elsewhere on the page ------------------------------ */
/* the hero eases back and fades as you scroll on (--out, 0 to 1, from JS) */
.sync .tp-hero-inner {
  transform: translate3d(0, calc(var(--out, 0) * -70px), 0) scale(calc(1 - var(--out, 0) * 0.08));
  opacity: calc(1 - var(--out, 0) * 1.25);
  will-change: transform, opacity;
}
/* the small things: four tiles (two by two) that sharpen into place one
   after another, with a soft light that follows the pointer */
.sync .page-apple .ap-tiles > .ap-tile[data-reveal] {
  filter: blur(10px); transform: translate3d(0, 34px, 0) scale(0.97);
  transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.sync .page-apple .ap-tiles > .ap-tile[data-reveal].is-in { filter: none; transform: none; }
.sync .page-apple .ap-tiles > .ap-tile:nth-child(2) { transition-delay: 0.1s; }
.sync .page-apple .ap-tiles > .ap-tile:nth-child(3) { transition-delay: 0.2s; }
.sync .page-apple .ap-tiles > .ap-tile:nth-child(4) { transition-delay: 0.3s; }
.page-apple .ap-tile { position: relative; overflow: hidden; }
.page-apple .ap-tile::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 163, 255, 0.09), transparent 65%);
}
.page-apple .ap-tile:hover::after { opacity: 1; }
/* About: one line that lights up word by word as you read down */
.page-apple .ap-statement { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; font-weight: 600; letter-spacing: -0.025em; color: var(--ap-ink, #1d1d1f); max-width: 26em; }
.sync .page-apple [data-lit] .lw { color: #c7c7cc; transition: color 0.35s ease; }
.sync .page-apple [data-lit] .lw.on { color: var(--ap-ink, #1d1d1f); }

@media (max-width: 899px) {
  .tp-road-plane { width: 108vw; }
  .tp-card { width: 262px; gap: 11px; padding: 11px 16px 11px 11px; border-radius: 20px; }
  .tp-card-icon { width: 40px; height: 40px; border-radius: 11px; }
  .tp-card-icon svg { width: 21px; height: 21px; }
  .tp-card-icon b { font-size: 24px; }
  .tp-card-text b { font-size: 15px; }
  .tp-card-text span { font-size: 12.5px; }
  .tp-caption { top: 74px; width: 86vw; }
  .tp-cap-line { font-size: 22px; }
  .tp-drive.is-scroll .tp-phone { right: 5vw; bottom: 76px; width: min(40vw, 30vh); }
  /* the stops become dots; their names stay for screen readers */
  .tp-drive.is-scroll .tp-stops { bottom: 14px; gap: 4px; padding: 8px 10px; }
  .tp-drive.is-scroll .tp-stop { width: 22px; height: 22px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: none; }
  .tp-drive.is-scroll .tp-stop::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ap-ink-2, #6e6e73); opacity: 0.45; transition: opacity 0.3s ease, transform 0.3s ease; }
  .tp-drive.is-scroll .tp-stop.is-current { background: none; }
  .tp-drive.is-scroll .tp-stop.is-current::before { opacity: 1; transform: scale(1.25); background: var(--ap-ink, #1d1d1f); }
  .tp-drive.is-scroll .tp-stop-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .tp-drive:not(.is-scroll) .tp-tour-stage { grid-template-columns: 1fr; justify-items: center; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .tp-drive {
    --line: rgba(255, 255, 255, 0.16); --dash: rgba(255, 255, 255, 0.62);
    --floor: rgba(255, 255, 255, 0.035); --glow: rgba(77, 163, 255, 0.2); --glow-2: rgba(245, 166, 35, 0.12);
  }
  :root:not([data-theme='light']) .tp-road-plane::after { opacity: 0.08; }
  :root:not([data-theme='light']) .tp-card {
    background: linear-gradient(135deg, rgba(64, 64, 70, 0.72), rgba(36, 36, 40, 0.55));
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 32px 64px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  :root:not([data-theme='light']) .tp-card::before { background: linear-gradient(118deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 42%); }
  :root:not([data-theme='light']) .tp-cap-title { color: #F5B451; }
  :root:not([data-theme='light']) .tp-drive.is-scroll .tp-stops { background: rgba(40, 40, 44, 0.66); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.1), 0 10px 30px -18px rgba(0, 0, 0, 0.8); }
  :root:not([data-theme='light']) .tp-drive .tp-phone::after { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); }
  :root:not([data-theme='light']) .page-apple .ap-tile::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.07), transparent 65%); }
  :root.sync:not([data-theme='light']) .page-apple [data-lit] .lw:not(.on) { color: #48484a; }
}
@media (prefers-reduced-motion: reduce) {
  .sync .tp-hero-inner { transform: none; opacity: 1; }
}

/* ==========================================================================
   Hero, 28 Nov 2026 (later). A more formal heading whose first line warms
   from grey to gold once it has typed (the gold runs on into the amber of
   "confidence."); a glass waitlist button that a soft wave of light runs
   through while the pointer is over it; tilted iPhone and Android badges
   beside it. The badges are plain phone outlines, not the Apple or Android
   logos (Apple does not allow its logo on other companies' sites); the
   official store badges replace them at launch.
   ========================================================================== */
.page-apple .hero.tp-hero .tp-h1-a { color: #a1a1a6; transition: color 1.8s ease; }
.page-apple .hero.tp-hero .tp-h1.is-warm .tp-h1-a,
html:not(.sync) .page-apple .hero.tp-hero .tp-h1-a { color: #D69A1C; }

/* the call to action: badge, button, badge */
.tp-hero-cta { flex-direction: row; justify-content: center; gap: 18px; margin-top: 34px; }
.tp-os {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 16px;
  font: 600 14px/1.1 var(--ap-font, system-ui, sans-serif); letter-spacing: -0.01em; color: var(--ap-ink, #1d1d1f);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.45));
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 0.5px rgba(15, 23, 42, 0.1), 0 12px 26px -14px rgba(15, 23, 42, 0.4), inset 0 1px 0 #fff;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tp-os svg { width: 20px; height: 20px; flex: none; }
.tp-os small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ap-ink-2, #6e6e73); margin-top: 2px; }
.tp-os > span { display: block; text-align: left; }
.tp-os--ios { transform: rotate(-8deg) translateY(4px); }
.tp-os--android { transform: rotate(8deg) translateY(4px); }
.tp-hero-cta:hover .tp-os { transform: none; }
.sync .tp-os--ios { animation: tp-bob 6s ease-in-out infinite; }
.sync .tp-os--android { animation: tp-bob 6s ease-in-out 3s infinite; }
@keyframes tp-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

/* the glass button */
.page-apple .ap-btn.ap-glass {
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  padding: 14px 28px; font-weight: 600; letter-spacing: -0.015em;
  color: #0F1E35;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 242, 250, 0.62) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 0.5px rgba(15, 30, 53, 0.16),
    0 14px 32px -14px rgba(15, 30, 53, 0.45),
    inset 0 1px 0 #fff,
    inset 0 -10px 18px -12px rgba(77, 120, 180, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* a soft light under the pointer */
.page-apple .ap-glass::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(140, 190, 255, 0.35), transparent 70%);
  opacity: 0; transition: opacity 0.35s ease;
}
/* the wave: one period of light (/assets/glass-wave.svg) tiled across,
   drifting sideways while the pointer is over the button */
.page-apple .ap-glass::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; pointer-events: none;
  background: url("/assets/glass-wave.svg") repeat-x 0 var(--wy, 55%) / 80px 30px;
  opacity: 0; transition: opacity 0.45s ease, background-position-y 0.6s ease;
}
.page-apple .ap-glass:hover, .page-apple .ap-glass:focus-visible {
  color: #0F1E35; background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(232, 240, 251, 0.7) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 0.5px rgba(15, 30, 53, 0.2),
    0 18px 38px -14px rgba(15, 30, 53, 0.5),
    inset 0 1px 0 #fff,
    inset 0 -10px 18px -12px rgba(77, 120, 180, 0.34);
}
.page-apple .ap-glass:hover::before { opacity: 1; }
.page-apple .ap-glass:hover::after { opacity: 0.75; animation: glass-wave 2.4s linear infinite; }
@keyframes glass-wave { to { background-position-x: 80px; } }
.page-apple .ap-glass:active { transform: translateY(0) scale(0.985); }
.page-apple .ap-glass:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 3px; }
.page-apple .ap-glass:disabled, .page-apple .ap-glass[aria-disabled="true"] { opacity: 0.7; cursor: progress; transform: none; }

@media (max-width: 600px) {
  .tp-hero-cta { flex-wrap: wrap; gap: 14px 12px; }
  .tp-hero-cta .ap-glass { order: -1; flex-basis: 100%; max-width: 260px; margin: 0 calc(50% - 130px); text-align: center; }
  .tp-os { padding: 8px 13px 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-os--ios, .tp-os--android { animation: none; }
  .page-apple .ap-glass:hover::after { animation: none; }
  .page-apple .ap-glass, .page-apple .ap-glass:hover { transform: none; }
}
@media (forced-colors: active) {
  .page-apple .ap-glass { border: 1px solid ButtonText; }
  .page-apple .ap-glass::before, .page-apple .ap-glass::after { display: none; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .page-apple .hero.tp-hero .tp-h1-a { color: #6e6e73; }
  :root:not([data-theme='light']) .page-apple .hero.tp-hero .tp-h1.is-warm .tp-h1-a,
  :root:not([data-theme='light']):not(.sync) .page-apple .hero.tp-hero .tp-h1-a { color: #F6C453; }
  :root:not([data-theme='light']) .tp-os {
    color: #f5f5f7;
    background: linear-gradient(160deg, rgba(72, 72, 78, 0.6), rgba(40, 40, 44, 0.4));
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.5), 0 12px 26px -14px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  :root:not([data-theme='light']) .tp-os small { color: #a1a1a6; }
  :root:not([data-theme='light']) .page-apple .ap-btn.ap-glass {
    color: #f5f5f7;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.07) 100%);
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 14px 32px -14px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -10px 18px -12px rgba(140, 190, 255, 0.2);
  }
  :root:not([data-theme='light']) .page-apple .ap-glass:hover,
  :root:not([data-theme='light']) .page-apple .ap-glass:focus-visible {
    color: #fff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 18px 38px -14px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.36), inset 0 -10px 18px -12px rgba(140, 190, 255, 0.3);
  }
  :root:not([data-theme='light']) .page-apple .ap-glass::before { background: radial-gradient(90px circle at var(--mx, 50%) var(--my, 50%), rgba(140, 190, 255, 0.28), transparent 70%); }
  :root:not([data-theme='light']) .page-apple .ap-glass:hover::after { opacity: 0.4; }
}

/* ==========================================================================
   28 Nov 2026 (founder's pass). Later rules here override the ones above.
   ========================================================================== */

/* The phone is always flat and sharp. A 3D turn makes the browser resample
   the screenshot, which is why it only looked crisp once hovered. */
.page-apple .ap-phone,
.page-apple .ap-phone:hover,
.ap-split--flip .ap-phone,
.tp-drive.is-scroll .tp-phone .ap-phone,
.tp-drive.is-scroll .tp-phone .ap-phone:hover { transform: none; }

/* The statistic types in grey and settles on a warm grey (no longer gold);
   both pass 3:1 for large text (light #86868b 3.6:1, #857c6b 4.1:1). */
.page-apple .hero.tp-hero .tp-h1-a { color: #86868b; }
.page-apple .hero.tp-hero .tp-h1.is-warm .tp-h1-a,
html:not(.sync) .page-apple .hero.tp-hero .tp-h1-a { color: #857c6b; }

/* The wave, moved by the pointer (apple-home.js sets --wx and --wo). */
html.glass-js .page-apple .ap-glass::after,
html.glass-js .page-apple .ap-glass:hover::after {
  opacity: calc(var(--wo, 0) * 0.75);
  background-position: var(--wx, 0px) var(--wy, 55%);
  animation: none;
  transition: background-position-y 0.6s ease;
}

/* The two key tiles carry the app's blue on their icon. */
.ap-tile--key .ap-tile-icon { color: var(--ap-blue, #0071e3); }

/* The timer's own states, as in the app: orange in the last 10 minutes,
   red when it runs out; then a short light as the hour ends. */
.tm-layer.is-urgent .tm-chip { background: #E65100; }
.tm-layer.is-urgent .tm-count { color: #E65100; }
.tm-layer.is-expired .tm-chip { background: #C62828; }
.tm-layer.is-expired .tm-count { color: #C62828; letter-spacing: calc(var(--dp) * 2); }
.tm-layer.is-expired .tm-label { text-align: center; max-width: 86%; line-height: 1.35; }
.tm-layer::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 74%, rgba(255, 255, 255, 0.7), rgba(255, 220, 200, 0.25) 30%, rgba(255, 255, 255, 0) 58%);
}
.ap-shot.is-in .tm-layer.is-done::after { animation: tm-done 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
@keyframes tm-done {
  0% { opacity: 0; transform: scale(0.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.3); }
}

/* Header: the route you've travelled down the page, in the app's route blue
   with its location dot at the tip; the current section is a small dot
   under its link rather than a pill. */
.page-apple .site-header--light .header-inner { position: relative; }
.header-route { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* One moving piece: the line and its dot slide together (transform only),
       so they can't drift apart. Two separate animations (a scaled line and
       a dot moved by `left`) came apart on iPhone Safari, leaving the dot
       well ahead of its line (28 Nov). The box clips the line where the
       route starts and lets the dot's halo show. */
    .page-apple .header-route {
      display: block; position: absolute; left: 18px; right: 18px; bottom: 3px; height: 2px; pointer-events: none;
      clip-path: inset(-8px -8px -8px 0);
    }
    .page-apple .header-route i {
      position: absolute; inset: 0; border-radius: 2px;
      background: linear-gradient(90deg, rgba(33, 150, 243, 0.25), #2196F3);
      transform: translateX(-100%);
      animation: hr-go linear both; animation-timeline: scroll(root block);
    }
    .page-apple .header-route i::after {
      content: ''; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; margin: -3.5px -3.5px 0 0; border-radius: 50%;
      background: #2196F3; box-shadow: 0 0 0 1.5px #fff, 0 0 0 5px rgba(33, 150, 243, 0.16);
    }
  }
}
@keyframes hr-go { 0% { transform: translateX(-100%); opacity: 0; } 3% { opacity: 1; } 100% { transform: translateX(0); opacity: 1; } }
.page-apple .header-nav a[aria-current] { position: relative; background: transparent; }
.page-apple .header-nav a[aria-current]::after {
  content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: #2196F3;
}
.page-apple .header-nav a[aria-current]:hover { background: rgba(18, 21, 28, 0.05); }

@media (prefers-reduced-motion: reduce) {
  .tm-layer::after { display: none; }
}
@media (forced-colors: active) {
  .page-apple .header-route { display: none; }
  .page-apple .header-nav a[aria-current]::after { background: LinkText; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .page-apple .hero.tp-hero .tp-h1-a { color: #6e6e73; }
  :root:not([data-theme='light']) .page-apple .hero.tp-hero .tp-h1.is-warm .tp-h1-a,
  :root:not([data-theme='light']):not(.sync) .page-apple .hero.tp-hero .tp-h1-a { color: #b3a68a; }
  :root.glass-js:not([data-theme='light']) .page-apple .ap-glass::after,
  :root.glass-js:not([data-theme='light']) .page-apple .ap-glass:hover::after { opacity: calc(var(--wo, 0) * 0.4); }
  :root:not([data-theme='light']) .page-apple .header-route i::after { box-shadow: 0 0 0 1.5px #1c1c1e, 0 0 0 5px rgba(33, 150, 243, 0.22); }
  :root:not([data-theme='light']) .page-apple .header-nav a[aria-current] { background: transparent; }
  :root:not([data-theme='light']) .page-apple .header-nav a[aria-current]::after { background: #64B5F6; }
}
/* The amber word's gradient is clipped to its letters, transparent or not,
   so letters not typed yet are hidden outright (it showed early before). */
.sync .page-apple .tp-h1 em .tw-c:not(.on) { visibility: hidden; }
/* The statistic is the lead-in, the answer is the headline: the grey line is
   set a step smaller, more so on phones, so the heading stays short. */
.page-apple .hero.tp-hero .tp-h1-a { font-size: 0.8em; line-height: 1.12; margin-bottom: 0.22em; }
@media (max-width: 600px) {
  .page-apple .hero.tp-hero .tp-h1-a { font-size: 0.66em; letter-spacing: -0.01em; }
}
/* The note under a drawn screen: small, quiet, readable (#6e6e73 is 5:1 on white). */
.tp-note { margin: 12px 0 0; min-height: 1.3em; text-align: center; font: 500 12px/1.3 var(--ap-font, system-ui, sans-serif); letter-spacing: 0; color: #6e6e73; }
.tp-drive.is-scroll .tp-note { position: absolute; left: -20%; right: -20%; top: 100%; margin-top: 14px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .tp-note { color: #98989d; }
}

/* ==========================================================================
   Help-page drawings, restyled to the new look (28 Nov 2026): each figure sits
   in a frosted-glass frame like the homepage cards, and the hand-drawn maps
   use the app's light map palette (white roads, pale blocks, soft green) in
   light mode; dark mode keeps the dark map. Overlays drawn to the app (the
   black navigation card) keep the app's own colours.
   ========================================================================== */
.page-apple .help-fig .fig-map-wrap,
.page-apple .help-fig .fig-panel {
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 252, 0.7));
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 0 0 0.5px rgba(15, 30, 53, 0.1), 0 26px 50px -28px rgba(15, 30, 53, 0.35), inset 0 1px 0 #fff;
}
.page-apple .help-fig .fig-map { border-radius: inherit; }
/* the map, in the app's light palette */
.page-apple .help-fig .fig-map svg [fill="#2A3242"] { fill: #FFFFFF; }
.page-apple .help-fig .fig-map svg [fill="#4A5B7B"],
.page-apple .help-fig .fig-map svg [fill="#46587A"],
.page-apple .help-fig .fig-map svg [fill="#2C3A52"] { fill: #ECEAE4; }
.page-apple .help-fig .fig-map svg [fill="#2A6B52"],
.page-apple .help-fig .fig-map svg [fill="#2E6B52"] { fill: #D6EBD2; }
.page-apple .help-fig .fig-map svg [stroke="#39445A"] { stroke: #E1E3E8; }
.page-apple .help-fig .fig-map svg [stroke="#7C8391"],
.page-apple .help-fig .fig-map svg [stroke="#9AA0B0"] { stroke: #C9CDD4; }
.page-apple .help-fig .fig-card,
.page-apple .help-fig .fig-timer-chip { box-shadow: 0 0 0 0.5px rgba(15, 30, 53, 0.12), 0 16px 34px -18px rgba(15, 30, 53, 0.45); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map-wrap,
  :root:not([data-theme='light']) .page-apple .help-fig .fig-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(58, 58, 64, 0.55), rgba(28, 28, 30, 0.5));
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 26px 50px -28px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  /* dark mode keeps the drawn dark map */
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [fill="#2A3242"] { fill: #2A3242; }
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [fill="#4A5B7B"] { fill: #4A5B7B; }
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [fill="#46587A"] { fill: #46587A; }
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [fill="#2C3A52"] { fill: #2C3A52; }
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [fill="#2A6B52"] { fill: #2A6B52; }
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [fill="#2E6B52"] { fill: #2E6B52; }
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [stroke="#39445A"] { stroke: #39445A; }
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [stroke="#7C8391"] { stroke: #7C8391; }
  :root:not([data-theme='light']) .page-apple .help-fig .fig-map svg [stroke="#9AA0B0"] { stroke: #9AA0B0; }
}
/* The cards drawn in the help figures follow the app's theme (App.js theme:
   card #fff, text #1a1a1a, subtext #888 in light; the dark values in dark),
   like the warden card on the homepage. The navigation card stays near-black
   in both, as in the app. */
.page-apple .help-fig { --app-bg: #fff; --app-bg-2: #f0f0f0; --app-line: #e0e0e0; --app-text: #1a1a1a; --app-text-2: #888; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .page-apple .help-fig { --app-bg: #1c1c1e; --app-bg-2: #2c2c2e; --app-line: #3a3a3c; --app-text: #fff; --app-text-2: #999; }
}
/* The statistic settles on gold again, a touch greyer than the original
   (founder, 28 Nov): light #B38323 (3.4:1 on white, passes for large text;
   the original #D69A1C was 2.5:1), dark #EBC162 (the original #F6C453 with
   18% grey). It still types in grey first. */
.page-apple .hero.tp-hero .tp-h1.is-warm .tp-h1-a,
html:not(.sync) .page-apple .hero.tp-hero .tp-h1-a { color: #B38323; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .page-apple .hero.tp-hero .tp-h1.is-warm .tp-h1-a,
  :root:not([data-theme='light']):not(.sync) .page-apple .hero.tp-hero .tp-h1-a { color: #EBC162; }
}

/* Phones (28 Nov 2026): under 700 px the phone sits in the middle, sized to
   the space between the tallest caption (--cap-b, measured by apple-home.js)
   and the stop dots (78 px for the dots, 16 px gap; the frame adds about
   22 px to a 720:1480 screen, hence -72px and 2.056), so it is the same
   size at every stop and never meets the text. The height is 100svh, like the stage: 100vh on iPhone is the
   height with the toolbars hidden, which made the phone too tall for the
   stage and pushed it up into the caption. No road cards on phones; the
   stop's icon sits in front of its name instead. */
.tp-cap-icon { display: none; }
@media (max-width: 699px) {
  .tp-drive.is-scroll .tp-phone {
    left: 50%; right: auto; bottom: 78px;
    width: min(58vw, 260px, calc((100vh - var(--cap-b, 210px) - 72px) / 2.056));
    width: min(58vw, 260px, calc((100svh - var(--cap-b, 210px) - 72px) / 2.056));
    transform: translate3d(-50%, calc((1 - var(--enter, 1)) * 60px), 0);
    transform-origin: 50% 100%;
  }
  .tp-drive.is-scroll .tp-note { left: -30%; right: -30%; margin-top: 8px; font-size: 11.5px; }
  .tp-drive.is-scroll .tp-card { display: none; }
  .tp-drive.is-scroll .tp-cap-title { display: flex; align-items: center; justify-content: center; gap: 8px; line-height: 26px; }
  .tp-drive.is-scroll .tp-cap-icon { display: inline-grid; width: 26px; height: 26px; border-radius: 8px; }
  .tp-drive.is-scroll .tp-cap-icon svg { width: 15px; height: 15px; }
  .tp-drive.is-scroll .tp-cap-icon b { font-size: 16px; }
  .tp-cap-icon.tp-card--appeal { color: #F5B451; }
}
/* Short phone screens (iPhone SE with Safari's bars showing): a smaller
   caption leaves the phone more room. */
@media (max-width: 699px) and (max-height: 620px) {
  .tp-caption { top: 66px; }
  .tp-cap-line { font-size: 19px; }
}

/* The "Patient" badge claim card (shown only when the server switch is on and
   the demo hour has run out). */
.tp-patience {
  position: absolute; z-index: 20; left: 50%; bottom: 84px; transform: translateX(-50%);
  width: min(420px, calc(100vw - 32px)); padding: 18px 18px 14px; border-radius: 22px; text-align: left;
  color: var(--ap-ink, #1d1d1f);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 252, 0.72));
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 0.5px rgba(15, 30, 53, 0.12), 0 24px 48px -22px rgba(15, 30, 53, 0.45);
  pointer-events: auto; animation: tp-pt-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.tp-patience-title { margin: 0; font: 700 18px/1.25 var(--ap-font); letter-spacing: -0.01em; }
.tp-patience-line { margin: 6px 0 12px; font-size: 14px; line-height: 1.45; color: var(--ap-ink-2, #6e6e73); }
.tp-patience-row { display: flex; gap: 8px; }
.tp-patience-row input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(15, 30, 53, 0.16); font: 15px var(--ap-font); background: #fff; color: #1d1d1f; }
.tp-patience-row .ap-btn { padding: 11px 18px; }
.tp-patience-note { margin: 10px 0 0; font-size: 12px; color: #6e6e73; }
.tp-patience-status { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; min-height: 1.2em; }
.tp-drive:not(.is-scroll) .tp-patience { position: static; transform: none; margin: 18px auto 0; }
@keyframes tp-pt-in { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .tp-patience { animation: none; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .tp-patience {
    color: #f5f5f7; background: linear-gradient(160deg, rgba(58, 58, 64, 0.82), rgba(28, 28, 30, 0.78));
    border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 24px 48px -22px rgba(0, 0, 0, 0.9);
  }
  :root:not([data-theme='light']) .tp-patience-line, :root:not([data-theme='light']) .tp-patience-note { color: #a1a1a6; }
  :root:not([data-theme='light']) .tp-patience-row input { background: #1c1c1e; color: #f5f5f7; border-color: rgba(255, 255, 255, 0.18); }
}

