/*
 * Travel Planner by Gildhart (/travel-planner/), with the Black Friday offer.
 * page-templates/travel-planner.php · travel-planner-thanks.php · assets/js/travel-planner.js
 *
 * The Gildhart system: navy and cream, gold, paper with a faint grid, the
 * red pencil and its Caveat notes, split-flap boards. Every "before" state
 * of a pencil exhibit is scoped to .is-live, which the script adds. The
 * Black Friday copy is .tp-on; body.tp-ended swaps it for .tp-off.
 */

.tp { --tp-navy: #0f172a; --tp-ink: #0b1222; --tp-gold: #C9A44A; --tp-gold-l: #e6c77e; --tp-gold-d: #8a6d1f; --tp-cream: #fdfbf5; --tp-red: #c62828; --tp-green: #1E3D2F; --tp-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive; color: var(--tp-navy); font-family: 'Inter', sans-serif; }
.tp *, .tp *::before, .tp *::after { box-sizing: border-box; }
.tp .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tp-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* The menu sits over the hero, as on the other new pages: no cream spacer under it. */
body.gh-tp-page .nav-spacer { display: none; }
.tp-thanks .tp-sec { padding-top: calc(var(--nav-h, 130px) + 4rem); }

/* Offer on / ended */
.tp-ended .tp-on { display: none !important; }
body:not(.tp-ended) .tp-off { display: none !important; }

/* Type */
.tp-eyebrow, .tp-kicker { margin: 0 0 1rem; font-family: 'Space Mono', monospace; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tp-gold-d); }
.tp-eyebrow, .tp-kicker--gold { color: var(--tp-gold-l); }
.tp-h1 { margin: 0 0 1.25rem; font-family: 'Outfit', sans-serif; font-size: clamp(2.4rem, 3.7vw, 3.3rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.035em; color: #ffffff; text-wrap: balance; }
.tp-h1 span { display: block; margin-top: 0.35rem; font-size: 0.72em; line-height: 1.12; letter-spacing: -0.025em; color: var(--tp-gold-l); }
.tp-h2 { margin: 0 0 1rem; font-family: 'Outfit', sans-serif; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--tp-navy); text-wrap: balance; }
.tp-h2--light { color: #ffffff; }
.tp-p { max-width: 40rem; margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.65; color: #374151; }
.tp-p--light { color: rgba(255, 255, 255, 0.75); }
.tp-p--strong { font-weight: 700; color: var(--tp-navy); }
.tp-lede { max-width: 36rem; margin: 0 0 1.6rem; font-size: 1.1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.tp-fine { margin: 1.2rem 0 0; font-size: 0.8rem; line-height: 1.5; color: #6b7280; }
.tp-fine--light { color: rgba(255, 255, 255, 0.5); }
.tp-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.tp-head .tp-p { margin-left: auto; margin-right: auto; }

/* Buttons */
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 1.5rem; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.tp-btn--gold { color: var(--tp-navy); background: var(--tp-gold); }
.tp-btn--gold:hover { color: var(--tp-navy); text-decoration: none; background: #d6b45a; }
.tp-btn--ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
.tp-btn--ghost:hover { color: #ffffff; text-decoration: none; border-color: #ffffff; }
.tp-btn--light { color: var(--tp-navy); background: #ffffff; }
.tp-btn--light:hover { background: #f3efe3; }
.tp-btn--wide { width: 100%; }

/* ── Sections ── */
.tp-sec { position: relative; padding: 6rem 0; overflow-x: clip; }
.tp-sec--cream { background: var(--tp-cream); }
.tp-sec--paper { background: #ffffff; }
.tp-sec--dark { color: #ffffff; background: radial-gradient(60% 50% at 100% 0%, rgba(201, 164, 74, 0.1) 0%, transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(30, 61, 47, 0.5) 0%, transparent 65%), var(--tp-ink); }
.tp-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: center; }
.tp-split--flip .tp-split-copy { order: 2; }

/* ── Hero ── */
.tp-hero { position: relative; padding: var(--nav-h, 130px) 0 5.5rem; overflow-x: clip; color: #ffffff; background: radial-gradient(55% 60% at 85% 10%, rgba(201, 164, 74, 0.14) 0%, transparent 60%), radial-gradient(45% 55% at 0% 100%, rgba(30, 61, 47, 0.55) 0%, transparent 70%), #070c18; }
.tp-offerbar { margin-bottom: 3.2rem; color: var(--tp-navy); background: linear-gradient(90deg, #d9b864, var(--tp-gold)); }
.tp-offerbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.tp-offerbar-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin: 0; font-size: 0.95rem; font-weight: 600; }
.tp-offerbar-t b { font-family: 'Space Mono', monospace; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; }
.tp-ended .tp-hero { padding-top: calc(var(--nav-h, 130px) + 3rem); }
.tp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.tp-hero-grid > * { min-width: 0; }
.tp-price { margin: 0 0 1.6rem; }
/* Hero, version 2 (?tphero=v2): the outcome as the headline, the line under it smaller */
.tp-h1--v2 { font-size: clamp(2.2rem, 3.2vw, 2.75rem); }
.tp-h1--v2 + .tp-lede { margin-bottom: 1.3rem; }
.tp-h1--v2 span { margin-top: 0.8rem; font-family: 'Inter', sans-serif; font-size: 0.42em; font-weight: 600; line-height: 1.45; letter-spacing: -0.005em; }
.tp-price--v2 { margin-bottom: 1.2rem; }
.tp-whynow { max-width: 34rem; margin: 0 0 1.2rem; padding: 0.75rem 0.95rem; font-size: 0.95rem; line-height: 1.55; color: rgba(255, 255, 255, 0.85); background: rgba(201, 164, 74, 0.1); border-left: 3px solid var(--tp-gold); border-radius: 0 8px 8px 0; }
.tp-whynow b { margin-right: 0.35rem; font-family: 'Space Mono', monospace; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tp-gold-l); }
.tp-livestrip--after { margin: 1.6rem 0 0; }
.tp-price-now { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 0.3rem; }
.tp-price-now b { font-family: 'Outfit', sans-serif; font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #ffffff; }
.tp-price-now span { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.tp-price-note { max-width: 32rem; margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--tp-gold-l); }
.tp-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.3rem; }
.tp-must { display: flex; align-items: flex-start; gap: 0.6rem; max-width: 34rem; margin: 0; font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.tp-must svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.12rem; color: var(--tp-gold-l); }
.tp-must b { color: #ffffff; }

/* ── The split-flap boards ── */
.tp-board { --tp-fs: 1rem; --tp-k: 0.82; --tp-gap: 3px; --tp-n1: 10; --tp-n2: 2; position: relative; margin: 0; padding: 1.3rem 1.3rem 1.2rem; background: linear-gradient(180deg, #0e1524 0%, #0a101c 100%); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.tp-board-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 0.9rem; }
.tp-board-t { margin: 0; font-family: 'Space Mono', monospace; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tp-gold-l); }
.tp-board-m { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; font-family: 'Space Mono', monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.tp-board-m i { width: 7px; height: 7px; border-radius: 50%; background: #3fb27f; box-shadow: 0 0 0 3px rgba(63, 178, 127, 0.18); animation: tp-pulse 2.4s ease-in-out infinite; }
.tp-board-cols, .tp-board-row { --tp-tile: calc(1.32 * var(--tp-k) * var(--tp-fs)); --tp-c1: calc(var(--tp-n1) * var(--tp-tile) + (var(--tp-n1) - 1) * var(--tp-gap)); --tp-c2: calc(var(--tp-n2) * var(--tp-tile) + (var(--tp-n2) - 1) * var(--tp-gap)); }
.tp-board-cols { display: grid; grid-template-columns: var(--tp-c1) var(--tp-c2) 1fr; gap: 0.75rem; padding: 0 0.6rem 0.45rem; font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.tp-board-cols span:last-child { text-align: right; }
.tp-board-rows { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.tp-board-row { display: grid; grid-template-columns: var(--tp-c1) var(--tp-c2) 1fr; align-items: center; gap: 0.75rem; padding: 0.5rem 0.6rem; font-size: var(--tp-fs); background: rgba(255, 255, 255, 0.025); border-radius: 8px; }
.tp-board .tp-flaps { gap: var(--tp-gap); font-size: calc(var(--tp-k) * var(--tp-fs)); }
.tp-flaps { display: inline-flex; gap: 3px; }
.tp-f { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 1.32em; height: 1.8em; font-family: 'Space Mono', monospace; font-weight: 700; line-height: 1; color: #f3d58a; background: linear-gradient(180deg, #1d2739 0%, #1a2334 49.5%, #141c2b 50.5%, #121a28 100%); border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 4px rgba(0, 0, 0, 0.45); }
.tp-f::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.6); }
.tp-f > span { display: block; }
.tp-f--sp { background: rgba(255, 255, 255, 0.015); box-shadow: none; }
.tp-f--sp::after { content: none; }
.tp-f.is-flip > span { animation: tp-flip 0.07s ease-in-out; }
.tp-flaps--n .tp-f { color: #ffffff; }
.tp-guide { justify-self: end; padding: 0.3rem 0.65rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; white-space: nowrap; }
.tp-guide.is-on { color: #9be3c1; border-color: rgba(63, 178, 127, 0.5); background: rgba(63, 178, 127, 0.1); }
.tp-board-cap { margin: 0.9rem 0.2rem 0; font-size: 0.86rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }
.tp-hero .tp-board { --tp-fs: 1.05rem; --tp-k: 0.95; }
.tp-board-cap--hero { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.tp-board-cap--light { color: rgba(255, 255, 255, 0.5); }

/* The notices board: date, country, the notice */
.tp-board--notices { --tp-k: 0.84; --tp-n1: 6; --tp-n2: 11; }
.tp-ctext { display: none; font-family: 'Outfit', sans-serif; font-size: 1.02rem; font-weight: 600; color: #ffffff; }
.tp-board-cols--n span:last-child { text-align: left; }
.tp-remark { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; color: #f8c68a; white-space: nowrap; }

.tp-board--notices { --tp-k: 0.95; }
.tp-board--notices .tp-board-cols, .tp-board--notices .tp-board-row--n { grid-template-columns: var(--tp-c1) minmax(0, 1fr) auto; gap: 1rem; }
.tp-board--notices .tp-flaps--c { display: none; }
.tp-board--notices .tp-ctext { display: block; }
.tp-board-row--n { padding-top: 0.6rem; padding-bottom: 0.6rem; }

/* ── Hero: live from NaTHNaC, as the planner itself shows it ── */
.tp-livestrip { margin: 0 0 1.7rem; }
.tp-livestrip-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin: 0 0 0.65rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.tp-livestrip-h i { width: 9px; height: 9px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2); animation: tp-pulse-y 2s ease-in-out infinite; }
.tp-livestrip-h b { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #ffffff; }
.tp-livestrip-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.tp-livestrip-chips li { display: inline-flex; align-items: baseline; gap: 0.45rem; padding: 0.45rem 0.8rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; }
.tp-livestrip-chips b { font-weight: 700; color: #ffffff; }
.tp-livestrip-chips small { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }

/* ── Live now: three pharmacies ── */
.tp-wall { max-width: 72rem; margin: 0 auto; }
.tp-wall-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0 0 1.5rem; }
.tp-wall-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1rem 1rem 1.1rem; overflow: hidden; color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; cursor: pointer; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.tp-wall-tabs button:hover { border-color: rgba(255, 255, 255, 0.25); }
.tp-wall-tabs button.is-on { color: #ffffff; background: rgba(201, 164, 74, 0.1); border-color: rgba(201, 164, 74, 0.55); }
.tp-wall-tabs button:focus-visible { outline: 2px solid var(--tp-gold-l); outline-offset: 2px; }
.tp-wall-logo { display: flex; align-items: center; justify-content: center; height: 2.4rem; }
.tp-wall-logo img { width: auto; max-width: 100%; height: 100%; object-fit: contain; opacity: 0.6; transition: opacity 0.25s ease; }
.tp-wall-tabs button.is-on .tp-wall-logo img { opacity: 1; }
.tp-wall-since { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; }
.tp-wall-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--tp-gold); }
.tp-wall-tabs button.is-on .tp-wall-bar.is-run { width: 100%; transition: width var(--tp-dwell, 7s) linear; }
.tp-wall-pane { display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; gap: 2rem; align-items: start; }
.tp-wall-pane[hidden] { display: none; }
.tp-wall-stage { padding: 0 3.5rem 3rem 0; }
.tp-browser { overflow: hidden; background: #ffffff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 90px -40px rgba(0, 0, 0, 0.9); }
.tp-browser-bar { display: flex; align-items: center; gap: 0.4rem; margin: 0; padding: 0.6rem 0.9rem; background: #eef0f3; border-bottom: 1px solid #dfe3e8; }
.tp-browser-bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #cfd5dd; }
.tp-browser-bar span { flex: 1; min-width: 0; margin-left: 0.6rem; padding: 0.3rem 0.8rem; overflow: hidden; font-size: 0.78rem; color: #4b5563; white-space: nowrap; text-overflow: ellipsis; background: #ffffff; border-radius: 999px; }
.tp-browser-view { position: relative; }
.tp-browser-view img { display: block; width: 100%; height: auto; }
.tp-wall-phone { position: absolute; right: 0; bottom: 0; width: 26%; max-width: 210px; padding: 7px; border-radius: 30px; }
.tp-wall-phone .tp-screen { border-radius: 24px; }
.tp-wall .tp-hot--phone { display: none; }
.tp-wall .tp-note--mob { display: none; }
.tp-wall .tp-note--tag { position: absolute; z-index: 3; width: auto; max-width: none; margin: 0; padding: 0.1em 0.45em 0.15em; font-size: 1.3rem; white-space: nowrap; background: #fffdf8; border-radius: 6px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5); transform: rotate(-2deg); }
.tp-wall-side { padding-top: 0.2rem; }
.tp-wall-name { margin: 0 0 0.9rem; font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: #ffffff; }
.tp-wall-facts { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.tp-wall-facts li { display: grid; grid-template-columns: minmax(3.4rem, auto) minmax(0, 1fr); align-items: baseline; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.tp-wall-facts b { font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--tp-gold-l); }
.tp-wall-facts span { font-size: 0.92rem; line-height: 1.45; color: rgba(255, 255, 255, 0.8); }
.tp-wall-line { margin: 1rem 0 0; font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.tp-wall-notice { margin: 0.6rem 0 0; font-size: 0.88rem; line-height: 1.5; color: #f8c68a; }
.tp-clockline { display: flex; align-items: center; gap: 1.1rem; max-width: 46rem; margin: 2.2rem auto 0; padding: 1rem 1.3rem; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; }
.tp-clockline p { margin: 0; font-size: 0.98rem; line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.tp-clockline b { color: #ffffff; }
.tp-clock { flex: none; width: 3.4rem; height: 3.4rem; color: var(--tp-gold-l); }
.tp-clock-h, .tp-clock-m { transform-box: view-box; transform-origin: 32px 32px; }
.tp-clock-h { transform: rotate(231.5deg); }
.tp-clock-m { transform: rotate(258deg); }
.tp-clock.is-live .tp-clock-h, .tp-clock.is-live .tp-clock-m { transform: rotate(0deg); }
.tp-clock.is-live.is-on .tp-clock-h { transform: rotate(231.5deg); transition: transform 1.8s cubic-bezier(0.3, 0.7, 0.2, 1); }
.tp-clock.is-live.is-on .tp-clock-m { transform: rotate(2778deg); transition: transform 1.8s cubic-bezier(0.3, 0.7, 0.2, 1); }
.tp-wall-cap { max-width: 46rem; margin: 1rem auto 0; font-size: 0.82rem; line-height: 1.5; text-align: center; color: rgba(255, 255, 255, 0.55); }

/* ── Coming in 2027 ── */
.tp-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; max-width: 60rem; margin: 2.5rem auto 0; padding: 1.1rem 1.4rem; color: #ffffff; background: linear-gradient(100deg, #0f172a, #1E3D2F); border-radius: 14px; }
.tp-soon-k { flex: none; margin: 0; padding: 0.3rem 0.7rem; font-family: 'Space Mono', monospace; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tp-navy); background: var(--tp-gold-l); border-radius: 999px; }
.tp-soon-t { flex: 1 1 20rem; margin: 0; font-size: 0.98rem; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.tp-soon-t b { color: #ffffff; }

/* ── The red pencil, its marks and its notes ── */
.tp-stage { position: relative; }
.tp-ink { position: absolute; left: 0; top: 0; z-index: 6; overflow: visible; pointer-events: none; }
.tp-ink path { fill: none; stroke: var(--tp-red); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.94; }
.tp-sec--dark .tp-ink path, .tp-hero .tp-ink path, .tp-board .tp-ink path { stroke: #ff5a4e; }
.tp-pencil { position: absolute; left: 0; top: 0; z-index: 7; display: none; width: 150px; height: 20px; margin-top: -10px; transform-origin: 0 50%; pointer-events: none; }
.tp-pencil svg { display: block; width: 100%; height: 100%; filter: drop-shadow(5px 9px 5px rgba(0, 0, 0, 0.35)); }
.tp-stage.is-live > .tp-pencil { display: block; opacity: 0; transition: opacity 0.3s ease; }
.tp-stage.is-live > .tp-pencil.is-shown { opacity: 1; }
.tp-pencil.is-writing svg { animation: tp-scribble 0.12s steps(2) infinite; }
.tp-note { display: block; width: fit-content; max-width: 100%; margin: 0.35rem 0 0.6rem auto; font-family: var(--tp-hand); font-size: 1.45rem; font-weight: 700; line-height: 1.05; color: var(--tp-red); transform: rotate(-2.5deg); }
.tp-note--board { margin: 0.7rem 0.2rem 0 auto; color: #ff6b60; }
.tp-note--phone { margin: 0.8rem auto 0; text-align: center; }
.tp-stage.is-live .tp-note { clip-path: inset(-0.4em 100% -0.4em 0); }
.tp-stage.is-live .tp-note.is-on { clip-path: inset(-0.4em -0.4em -0.4em 0); transition: clip-path var(--d, 0.6s) linear; }
/* No JavaScript: the marks as plain red ink */
.tp-stage:not(.is-live) [data-tp-do="ring"] { box-shadow: 0 0 0 2px var(--tp-red); border-radius: 10px; }
.tp-stage:not(.is-live) [data-tp-do="under"] { text-decoration: underline; text-decoration-color: var(--tp-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tp-stage:not(.is-live) .tp-ticks li::before { content: '✓'; }

/* ── The problem: a typical travel page ── */
.tp-mock { margin: 0; padding: 1.1rem 1.2rem 1.4rem; background-color: #fffdf8; background-image: linear-gradient(rgba(30, 61, 47, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 61, 47, 0.04) 1px, transparent 1px); background-size: 22px 22px; border: 1px solid rgba(201, 164, 74, 0.35); border-radius: 16px; box-shadow: 0 2px 6px rgba(26, 43, 60, 0.06), 0 42px 70px -32px rgba(26, 43, 60, 0.35); }
.tp-mock-k { margin: 0 0 0.8rem; font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tp-gold-d); }
.tp-mock-page { padding: 1.1rem 1.2rem 1rem; background: #ffffff; border: 1px solid #e6e1d3; border-radius: 10px; }
.tp-mock-url { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem; padding: 0.4rem 0.7rem; font-size: 0.75rem; color: #6b7280; background: #f3f4f6; border-radius: 999px; }
.tp-mock-url i { width: 0.55rem; height: 0.55rem; border: 1.5px solid #9ca3af; border-radius: 2px; }
.tp-mock-h { margin: 0 0 0.4rem; font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 700; color: #1f2937; }
.tp-mock-p { margin: 0 0 0.8rem; font-size: 0.9rem; line-height: 1.5; color: #4b5563; }
.tp-mock-list { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; width: fit-content; margin: 0; padding: 0.3rem 0.4rem; font-size: 0.88rem; color: #374151; list-style: none; }
.tp-mock-list li:not(:last-child)::after { content: '·'; margin-left: 0.5rem; color: #9ca3af; }
.tp-mock-ext { margin: 0.2rem 0 0; }
.tp-mock-ext span { display: inline-block; padding: 0.45rem 0.8rem; font-size: 0.85rem; font-weight: 600; color: #1d4ed8; background: #eff6ff; border-radius: 8px; }
.tp-mock-news { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1rem; margin: 0.4rem 0 0; padding: 0.7rem 0.8rem; font-size: 0.85rem; background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 8px; }
.tp-mock-news b { color: #374151; }
.tp-mock-news span { color: #9ca3af; }
.tp-mock-cta { margin: 0.5rem 0 0; font-size: 0.9rem; font-weight: 700; color: #374151; }

/* ── See it working: three phones ── */
.tp-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tp-phone-stage { max-width: 290px; margin: 0 auto; }
.tp-phone { padding: 9px; background: #0b1222; border-radius: 38px; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.2), 0 40px 70px -30px rgba(15, 23, 42, 0.55); }
.tp-screen { position: relative; overflow: hidden; aspect-ratio: 390 / 844; background: #ffffff; border-radius: 30px; }
.tp-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-hot { position: absolute; display: block; pointer-events: none; }
.tp-stage:not(.is-live) .tp-hot[data-tp-do="ring"] { border-radius: 8px; }
.tp-phone-t { display: flex; align-items: flex-start; gap: 0.6rem; max-width: 290px; margin: 1.4rem auto 0.4rem; font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.25; color: var(--tp-navy); }
.tp-phone-t span { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; font-family: 'Space Mono', monospace; font-size: 0.8rem; color: var(--tp-navy); background: var(--tp-gold-l); border-radius: 50%; }
.tp-phone-p { max-width: 290px; margin: 0 auto; font-size: 0.92rem; line-height: 1.55; color: #4b5563; }
.tp-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 4rem 0 0; padding: 0; list-style: none; }
.tp-feats li { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.1rem 1.2rem; background: var(--tp-cream); border: 1px solid #efe8d6; border-radius: 12px; }
.tp-feats b { font-family: 'Outfit', sans-serif; font-size: 1.02rem; color: var(--tp-navy); }
.tp-feats span { font-size: 0.9rem; line-height: 1.5; color: #4b5563; }

/* ── Points ── */
.tp-points { display: grid; gap: 0.9rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.tp-points li { position: relative; padding-left: 1.5rem; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.tp-points li::before { content: ''; position: absolute; left: 0; top: 0.6rem; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--tp-gold); transform: rotate(45deg); }
.tp-points b { color: #ffffff; }

/* ── Not booking today: the timeline ── */
.tp-tl { position: relative; display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 2.5rem; max-width: 60rem; margin: 0 auto; padding: 2rem; background-color: #fffdf8; background-image: linear-gradient(rgba(30, 61, 47, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 61, 47, 0.04) 1px, transparent 1px); background-size: 22px 22px; border: 1px solid rgba(201, 164, 74, 0.35); border-radius: 16px; box-shadow: 0 42px 70px -32px rgba(26, 43, 60, 0.3); }
.tp-tl-cal { position: sticky; top: 7rem; align-self: start; display: flex; flex-direction: column; align-items: center; overflow: hidden; background: #ffffff; border: 1px solid #e6e1d3; border-radius: 14px; box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.4); }
.tp-tl-cal-top { width: 100%; padding: 0.4rem 0; font-family: 'Space Mono', monospace; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; color: #ffffff; background: var(--tp-red); }
.tp-tl-cal-d { padding: 0.7rem 0 0; font-family: 'Outfit', sans-serif; font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--tp-navy); }
.tp-tl-cal-m { padding: 0.2rem 0 0.9rem; font-family: 'Space Mono', monospace; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7280; }
.tp-tl-cal.is-flip .tp-tl-cal-d { animation: tp-cal 0.35s ease; }
.tp-tl-steps { position: relative; display: grid; gap: 0.75rem; margin: 0; padding: 0 0 0 1.6rem; list-style: none; }
.tp-tl-steps::before { content: ''; position: absolute; left: 0.35rem; top: 0.6rem; bottom: 0.6rem; width: 2px; background: #e6e1d3; }
.tp-tl-steps li { position: relative; display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: 0.9rem; row-gap: 0.15rem; padding: 0.8rem 1rem; background: #ffffff; border: 1px solid #ece6d6; border-radius: 12px; transition: border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease, transform 0.35s ease; }
.tp-tl-steps li::before { content: ''; position: absolute; left: -1.6rem; top: 1.15rem; width: 0.85rem; height: 0.85rem; margin-left: -0.05rem; border-radius: 50%; background: #ffffff; border: 2px solid #d6cfbd; transition: background-color 0.3s ease, border-color 0.3s ease; }
.tp-tl-when { grid-row: span 2; font-family: 'Space Mono', monospace; font-size: 0.78rem; font-weight: 700; color: var(--tp-gold-d); padding-top: 0.15rem; }
.tp-tl-steps b { font-family: 'Outfit', sans-serif; font-size: 1.05rem; color: var(--tp-navy); }
.tp-tl-steps li > span:last-child { font-size: 0.9rem; line-height: 1.5; color: #4b5563; }
.tp-tl.is-live .tp-tl-steps li { opacity: 0.4; transform: translateX(6px); }
.tp-tl.is-live .tp-tl-steps li.is-on { opacity: 1; transform: none; border-color: rgba(201, 164, 74, 0.6); box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.5); }
.tp-tl-steps li.is-on::before, .tp-tl:not(.is-live) .tp-tl-steps li::before { background: var(--tp-gold); border-color: var(--tp-gold); }
.tp-tl-steps li.tp-tl-win.is-on, .tp-tl:not(.is-live) .tp-tl-steps li.tp-tl-win { border-color: rgba(63, 178, 127, 0.6); background: #f3fbf6; }
.tp-tl-steps li.tp-tl-win.is-on::before { background: #3fb27f; border-color: #3fb27f; }
.tp-tl-foot { grid-column: 1 / -1; margin: -1rem 0 0; font-size: 0.78rem; color: #8a93a2; text-align: right; }
.tp-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 60rem; margin: 2.5rem auto 0; padding: 0; list-style: none; }
.tp-cards3 li { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.2rem; background: #ffffff; border: 1px solid #efe8d6; border-radius: 12px; }
.tp-cards3 b { font-family: 'Outfit', sans-serif; font-size: 1.05rem; color: var(--tp-navy); }
.tp-cards3 span { font-size: 0.9rem; line-height: 1.55; color: #4b5563; }

/* ── Search and AI: 262 countries ── */
.tp-dots { margin: 0; padding: 1.5rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; }
.tp-dots-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; margin: 0 0 1.1rem; }
.tp-dots-n { display: flex; align-items: baseline; gap: 0.5rem; margin: 0; }
.tp-dots-n b { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--tp-gold-l); font-variant-numeric: tabular-nums; }
.tp-dots-n span, .tp-dots-s { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); }
.tp-dots-s b { color: #ffffff; }
.tp-dots-grid { display: grid; grid-template-columns: repeat(22, minmax(0, 1fr)); gap: 4px; }
.tp-dots-grid i { display: block; aspect-ratio: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.1); transition: background-color 0.35s ease, transform 0.35s ease; }
.tp-dots-grid i.is-on { background: var(--tp-gold); }
.tp-dots-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.2rem 0 0; }
.tp-dots-chips button { padding: 0.45rem 0.8rem; font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; cursor: pointer; }
.tp-dots-chips button:hover { border-color: rgba(255, 255, 255, 0.5); }
.tp-dots-chips button.is-on { color: var(--tp-navy); background: var(--tp-gold-l); border-color: var(--tp-gold-l); }
.tp-dots-chips button:focus-visible { outline: 2px solid var(--tp-gold-l); outline-offset: 2px; }

/* ── Done for you ── */
.tp-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 1.5rem; }
.tp-sheet { padding: 1.6rem 1.7rem; background-color: #fffdf8; background-image: linear-gradient(rgba(30, 61, 47, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 61, 47, 0.04) 1px, transparent 1px); background-size: 22px 22px; border: 1px solid rgba(201, 164, 74, 0.35); border-radius: 16px; box-shadow: 0 30px 60px -36px rgba(26, 43, 60, 0.35); }
.tp-sheet--you { background-color: #ffffff; }
.tp-sheet-k { margin: 0 0 0.8rem; padding: 0 0 0.7rem; font-family: 'Space Mono', monospace; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tp-gold-d); border-bottom: 1px solid rgba(30, 61, 47, 0.14); }
.tp-ticks { margin: 0; padding: 0; list-style: none; }
.tp-ticks li { position: relative; padding: 0.7rem 0 0.7rem 2.2rem; font-size: 0.98rem; line-height: 1.5; color: #1f2937; border-bottom: 1px dashed rgba(30, 61, 47, 0.18); }
.tp-ticks li:last-child { border-bottom: 0; }
.tp-ticks li::before { position: absolute; left: 0.2rem; top: 0.55rem; font-family: var(--tp-hand); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--tp-red); }
.tp-when { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.tp-when li { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.6rem 0.55rem; background: var(--tp-cream); border-radius: 8px; }
.tp-when b { font-family: 'Space Mono', monospace; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tp-gold-d); }
.tp-when span { font-size: 0.82rem; font-weight: 600; line-height: 1.35; color: var(--tp-navy); }
.tp-live3 { max-width: 46rem; margin: 2.5rem auto 0; font-size: 0.92rem; line-height: 1.6; text-align: center; color: #4b5563; }

/* ── The offer ── */
.tp-buy .tp-head { margin-bottom: 2.5rem; }
.tp-cd { display: inline-flex; gap: 0.6rem; }
.tp-cd-u { display: inline-flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.tp-cd-n { display: inline-flex; gap: 3px; }
.tp-cd-l { font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; }
.tp-cd--big { margin-top: 0.6rem; font-size: 2rem; }
.tp-cd--big .tp-cd-l { color: rgba(255, 255, 255, 0.55); }
.tp-cd--bar { font-size: 1rem; gap: 0.4rem; }
.tp-cd--bar .tp-cd-u { flex-direction: row; align-items: center; gap: 0.25rem; }
.tp-cd--bar .tp-cd-l { font-size: 0.6rem; letter-spacing: 0.06em; color: rgba(15, 23, 42, 0.7); }
.tp-buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
.tp-card, .tp-check { padding: 1.8rem; border-radius: 16px; }
.tp-card { color: var(--tp-navy); background-color: #fffdf8; background-image: linear-gradient(rgba(30, 61, 47, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 61, 47, 0.04) 1px, transparent 1px); background-size: 22px 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.tp-card-price { display: flex; align-items: baseline; gap: 0.6rem; margin: 0; }
.tp-card-price b { font-family: 'Outfit', sans-serif; font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.tp-card-price span { font-size: 1rem; font-weight: 600; color: #4b5563; }
.tp-card-inc { margin: 0.4rem 0 0.9rem; font-size: 0.85rem; color: #6b7280; }
.tp-card-lock { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.55; color: #1f2937; }
.tp-card-save { display: inline-block; margin: 0 0 1rem; padding: 0.35rem 0.7rem; font-size: 0.85rem; font-weight: 700; color: #7a1f1f; background: #fdecea; border-radius: 6px; }
.tp-card-town { margin: 0 0 1rem; padding: 0.7rem 0.85rem; font-size: 0.9rem; line-height: 1.5; color: #1f2937; background: rgba(201, 164, 74, 0.14); border-left: 3px solid var(--tp-gold); border-radius: 0 8px 8px 0; }
.tp-card-town b { color: var(--tp-navy); }
.tp-must--town { margin-top: 0.6rem; }
.tp-card-list { display: grid; gap: 0.5rem; margin: 0.4rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid rgba(30, 61, 47, 0.14); }
.tp-card-list li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; line-height: 1.45; color: #1f2937; }
.tp-card-list li::before { content: ''; position: absolute; left: 0.2rem; top: 0.3rem; width: 0.45rem; height: 0.75rem; border: solid var(--tp-green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tp-check { color: #ffffff; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.tp-check-step { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.4rem; font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; }
.tp-check-step span { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--tp-navy); background: var(--tp-gold-l); border-radius: 50%; }
.tp-check-step--2 { margin-top: 1.8rem; margin-bottom: 0.8rem; }
.tp-check-why a { color: #ffffff; }
.tp-check-why { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.tp-check-form { display: flex; gap: 0.5rem; }
.tp-check-form input { flex: 1; min-width: 0; padding: 0.85rem 1rem; font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--tp-navy); background: #ffffff; border: 2px solid transparent; border-radius: 10px; }
.tp-check-form input:focus { outline: none; border-color: var(--tp-gold-l); }
.tp-check-form .tp-btn { flex: none; padding: 0.85rem 1.1rem; }
.tp-check-out { min-height: 1.4rem; margin: 0.7rem 0 0; font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }
.tp-check-out.is-yes { color: #9be3c1; font-weight: 600; }
.tp-check-out.is-no { color: #ffb4a8; }
.tp-check-out a { color: inherit; text-decoration: underline; }
.tp-check-soon { margin: 0.6rem 0 0; font-size: 0.85rem; color: var(--tp-gold-l); }
.tp-check-fine { margin: 1rem 0 0; font-size: 0.8rem; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }
.tp-check-fine a { color: rgba(255, 255, 255, 0.8); }
.tp-check.is-yes .tp-btn--gold { box-shadow: 0 0 0 4px rgba(201, 164, 74, 0.3); }

/* The card form (inc/stripe.php's flow, on the page) */
.tp-pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.tp-pay-grid label { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.tp-pay-wide { grid-column: 1 / -1; }
.tp-pay-grid span { font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.tp-pay-grid input { width: 100%; padding: 0.75rem 0.9rem; font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--tp-navy); background: #ffffff; border: 2px solid transparent; border-radius: 10px; }
.tp-pay-grid input:focus { outline: none; border-color: var(--tp-gold-l); }
.tp-pay-grid input[readonly] { background: #eef0f3; color: #4b5563; }
.tp-pay-tick { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.9rem 0 0; font-size: 0.9rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85); cursor: pointer; }
.tp-pay-tick input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.1rem; accent-color: var(--tp-gold); }
.tp-pay-card { margin: 1.4rem 0 0; }
.tp-pay-mount { padding: 1rem; background: #ffffff; border-radius: 12px; }
.tp-pay-err { min-height: 0; margin: 0.8rem 0 0; font-size: 0.9rem; line-height: 1.45; color: #ffb4a8; }
.tp-pay-err:empty { display: none; }
.tp-pay .tp-btn { margin-top: 1rem; }
.tp-pay .tp-btn[disabled] { opacity: 0.7; cursor: progress; }
.tp-thanks [data-tpt-paid] b { color: var(--tp-navy); }

/* ── FAQ ── */
.tp-faq-in { max-width: 52rem; }
.tp-faq details { border-bottom: 1px solid rgba(30, 61, 47, 0.14); }
.tp-faq summary { position: relative; padding: 1.1rem 2.5rem 1.1rem 0; font-family: 'Outfit', sans-serif; font-size: 1.12rem; font-weight: 700; color: var(--tp-navy); cursor: pointer; list-style: none; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: '+'; position: absolute; right: 0.2rem; top: 50%; width: 1.7rem; height: 1.7rem; margin-top: -0.85rem; font-size: 1.1rem; line-height: 1.6rem; text-align: center; color: var(--tp-gold-d); border: 1px solid rgba(201, 164, 74, 0.55); border-radius: 50%; transition: transform 0.25s ease; }
.tp-faq details[open] summary::after { transform: rotate(45deg); }
.tp-faq summary:focus-visible { outline: 2px solid var(--tp-red); outline-offset: 2px; }
.tp-faq p { margin: -0.3rem 0 1.1rem; font-size: 1rem; line-height: 1.65; color: #374151; }
.tp-faq a { color: var(--tp-gold-d); font-weight: 600; }

/* ── Close ── */
.tp-close { padding: 4.5rem 0; color: #ffffff; text-align: center; background: #070c18; }
.tp-close-in { display: flex; flex-direction: column; align-items: center; }
.tp-close-t { margin: 0 0 0.5rem; font-family: 'Outfit', sans-serif; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; }
.tp-close-s { margin: 0 0 1.5rem; font-size: 1rem; color: rgba(255, 255, 255, 0.7); }
.tp-close-sig { margin: 1.5rem 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.tp-close-sig a { color: rgba(255, 255, 255, 0.8); }

/* ── Phones: the sticky offer ── */
.tp-sticky { display: none; }

/* ── Thank you ── */
.tp-thanks-in { max-width: 46rem; }
.tp-next { display: grid; gap: 0.8rem; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: tp-next; }
.tp-next li { position: relative; display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.2rem 1rem 3.4rem; background: #ffffff; border: 1px solid #efe8d6; border-radius: 12px; counter-increment: tp-next; }
.tp-next li::before { content: counter(tp-next); position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--tp-navy); background: var(--tp-gold-l); border-radius: 50%; }
.tp-next b { font-family: 'Outfit', sans-serif; font-size: 1.08rem; }
.tp-next span { font-size: 0.95rem; line-height: 1.55; color: #4b5563; }
.tp-thanks a { color: var(--tp-gold-d); font-weight: 600; }

@keyframes tp-flip { 0% { transform: scaleY(1); } 45% { transform: scaleY(0.06); } 100% { transform: scaleY(1); } }
@keyframes tp-pulse-y { 0%, 100% { box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22); } 50% { box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.04); } }
@keyframes tp-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(63, 178, 127, 0.18); } 50% { box-shadow: 0 0 0 5px rgba(63, 178, 127, 0.05); } }
@keyframes tp-scribble { 0% { transform: translate(0, 0); } 50% { transform: translate(0.6px, -0.8px); } }
@keyframes tp-cal { 0% { transform: rotateX(0); opacity: 1; } 50% { transform: rotateX(80deg); opacity: 0.2; } 100% { transform: rotateX(0); opacity: 1; } }

/* ── Screen widths ── */
@media (max-width: 1024px) {
  .tp-hero-grid, .tp-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .tp-split--flip .tp-split-copy { order: 0; }
  .tp-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-two { grid-template-columns: 1fr; }
  .tp-buy-grid { grid-template-columns: 1fr; max-width: 36rem; }
}
@media (max-width: 960px) {
  .tp-wall-pane { grid-template-columns: 1fr; gap: 1.2rem; }
  .tp-wall-stage { padding-right: 2.5rem; }
}
@media (max-width: 760px) {
  .tp-wall-stage { padding: 0; }
  .tp-browser { display: none; }
  .tp-wall-phone { position: relative; width: auto; max-width: 280px; margin: 0 auto; padding: 9px; border-radius: 38px; }
  .tp-wall-phone .tp-screen { border-radius: 30px; }
  .tp-wall .tp-hot--phone { display: block; }
  .tp-wall .tp-note--mob { display: block; }
  .tp-wall-tabs { gap: 0.45rem; }
  .tp-wall-tabs button { padding: 0.75rem 0.4rem 0.85rem; }
  .tp-wall-logo { height: 1.8rem; }
  .tp-wall-since { font-size: 0.68rem; text-align: center; }
  .tp-clockline { align-items: flex-start; }
  .tp-clock { width: 2.8rem; height: 2.8rem; }
}
@media (max-width: 860px) {
  .tp-phones { display: flex; gap: 1.25rem; margin: 0 -2rem; padding: 0.5rem 2rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tp-phones::-webkit-scrollbar { display: none; }
  .tp-phone-step { flex: 0 0 min(76vw, 290px); scroll-snap-align: center; }
  .tp-cards3 { grid-template-columns: 1fr; }
  .tp-tl { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.4rem; }
  .tp-tl-cal { position: static; flex-direction: row; justify-content: center; gap: 0.8rem; padding: 0 1rem 0 0; }
  .tp-tl-cal-top { width: auto; padding: 0.9rem 0.7rem; writing-mode: vertical-rl; transform: rotate(180deg); align-self: stretch; }
  .tp-tl-cal-d { padding: 0.5rem 0; font-size: 2.8rem; }
  .tp-tl-cal-m { padding: 0; }
  .tp-tl-foot { margin: 0; }
}
@media (max-width: 760px) {
  .tp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); color: #ffffff; background: rgba(7, 12, 24, 0.96); border-top: 1px solid rgba(201, 164, 74, 0.4); transform: translateY(110%); transition: transform 0.3s ease; }
  .tp-sticky.is-shown { transform: none; }
  .tp-sticky-t { display: flex; flex-direction: column; gap: 0.1rem; }
  .tp-sticky-t b { font-size: 0.95rem; }
  .tp-sticky-t small { font-size: 0.75rem; color: var(--tp-gold-l); }
  .tp-sticky .tp-btn { padding: 0.75rem 1.5rem; }
}
@media (max-width: 640px) {
  .tp-inner { padding: 0 1.25rem; }
  .tp-sec { padding: 4.5rem 0; }
  .tp-hero { padding-bottom: 4rem; }
  .tp-offerbar { margin-bottom: 2.5rem; }
  .tp-offerbar-in { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .tp-offerbar-t { font-size: 0.88rem; }
  .tp-h1 { font-size: 2.35rem; }
  .tp-h2 { font-size: 1.85rem; }
  .tp-price-now b { font-size: 2.7rem; }
  .tp-ctas .tp-btn { flex: 1 1 100%; }
  .tp-board { padding: 1rem 0.8rem 1rem; }
  .tp-board-row, .tp-board-cols { gap: 0.45rem; padding-left: 0.4rem; padding-right: 0.4rem; }
  .tp-board, .tp-hero .tp-board { --tp-fs: 0.86rem; --tp-k: 0.88; }
  .tp-board-cols { font-size: 0.56rem; }
  .tp-board-m { font-size: 0.64rem; }
  .tp-guide { padding: 0.22rem 0.45rem; font-size: 0.64rem; }
  .tp-board-row--n { grid-template-columns: var(--tp-c1) 1fr; column-gap: 0.8rem; row-gap: 0.25rem; }
  .tp-board-row--n .tp-remark { grid-column: 2; }
  .tp-board-cols--n { grid-template-columns: var(--tp-c1) 1fr; column-gap: 0.8rem; }
  .tp-board-cols--n span:last-child { display: none; }
  .tp-phones { margin: 0 -1.25rem; padding: 0.5rem 1.25rem 1rem; }
  .tp-feats { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .tp-note { font-size: 1.3rem; }
  .tp-pencil { width: 120px; height: 16px; margin-top: -8px; }
  .tp-dots { padding: 1.1rem; }
  .tp-dots-grid { grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 3px; }
  .tp-dots-n b { font-size: 2.4rem; }
  .tp-sheet { padding: 1.3rem 1.1rem; }
  .tp-when { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-card, .tp-check { padding: 1.4rem 1.2rem; }
  .tp-card-price b { font-size: 3rem; }
  .tp-check-form { flex-direction: column; }
  .tp-pay-grid { grid-template-columns: 1fr; }
  .tp-cd--big { font-size: 1.55rem; }
  .tp-tl-steps li { grid-template-columns: 1fr; }
  .tp-tl-when { grid-row: auto; }
  .tp-close { padding: 3.5rem 0 6rem; }
}
@media (max-width: 400px) {
  .tp-board, .tp-hero .tp-board { --tp-fs: 0.78rem; --tp-gap: 2px; }
  .tp-cd--bar { font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tp *, .tp *::before, .tp *::after { animation: none !important; transition: none !important; }
}
