/* TripDoodle sales, upgrade and policy pages.
   The look is a street map at night with road-sign yellow for everything you can press; the sections are stops on a route,
   the offer is a travel ticket and the refund promise is a passport stamp. Fredoka is the letter the books are set in. */
@font-face { font-family: Fredoka; font-weight: 400; src: url(fonts/fredoka-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Fredoka; font-weight: 700; src: url(fonts/fredoka-latin-700-normal.woff2) format('woff2'); font-display: swap; }
:root {
  --night: #0c2e36; --night-2: #134653; --ink: #10292f; --soft: #4a6167; --paper: #f4f8f3; --card: #ffffff;
  --road: #ffc533; --road-hi: #ffdd77; --road-deep: #c58600; --pin: #ff5d43; --park: #1c8a5a; --water: #cfe8ee; --line: #d5e0da;
  --streets: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M-10 62h110l46 40h104M58-10v72M100 62v120l-50 68M146 102v70h104M100 182h46M196-10v112M146 172l40 78M-10 150h60'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.62 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0f6a52; }
h1, h2, h3 { font-family: Fredoka, 'Trebuchet MS', sans-serif; font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.mark { background: linear-gradient(transparent 12%, var(--road) 12%, var(--road) 92%, transparent 92%); color: #241800; padding: 0 0.18em; border-radius: 0.14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
:focus-visible { outline: 3px solid var(--pin); outline-offset: 3px; border-radius: 6px; }

/* ---------- the bar that stays ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(12, 46, 54, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; }
.brand { font: 700 1.4rem Fredoka, sans-serif; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.brand::before { content: ''; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--pin); transform: rotate(-45deg); box-shadow: inset 0 0 0 6px var(--pin), inset 0 0 0 11px #fff; }
.bar .once { font: 400 0.98rem Fredoka, sans-serif; color: #cfe3e3; }
.bar .once b { color: var(--road); font-weight: 700; }
.bar nav { display: flex; align-items: center; gap: 10px; }
.signin { font: 700 0.98rem Fredoka, sans-serif; color: #fff; text-decoration: none; padding: 8px 16px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 999px; }
.signin, .buy.small { white-space: nowrap; }
.signin:hover { border-color: #fff; }
.trail { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; font: 400 0.9rem Fredoka, sans-serif; color: #a9c4c6; }
.trail li { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); white-space: nowrap; }
.trail .done { color: #9fe0bd; border-color: rgba(159, 224, 189, 0.4); }
.trail .now { background: var(--road); color: #241800; border-color: var(--road); font-weight: 700; }
.note { background: #e4f4ea; color: #134a33; text-align: center; padding: 10px 20px; font-size: 0.98rem; }

/* ---------- the button ---------- */
.buy { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 18px 36px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: linear-gradient(var(--road-hi) 0%, var(--road) 55%, #f6a82a 100%); color: #241800; font: 700 1.3rem/1.15 Fredoka, sans-serif; text-decoration: none; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 0 var(--road-deep), 0 0 0 0 rgba(255, 197, 51, 0.55); transition: transform 0.12s, box-shadow 0.12s, filter 0.12s; animation: halo 2.4s ease-out infinite; }
.buy::before { content: ''; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent); transform: skewX(-18deg); animation: shine 3.4s ease-in-out infinite; }
.buy:hover { transform: translateY(3px); filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 3px 0 var(--road-deep), 0 0 0 0 rgba(255, 197, 51, 0); animation: none; }
.buy:active { transform: translateY(6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 0 var(--road-deep); }
.buy.big { font-size: clamp(1.3rem, 2.6vw, 1.6rem); padding: 22px 44px; }
.buy.small { font-size: 1rem; padding: 10px 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 3px 0 var(--road-deep); animation: none; }
.buy.small::before { display: none; }
@keyframes halo { 0% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 0 var(--road-deep), 0 0 0 0 rgba(255, 197, 51, 0.6); } 70%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 0 var(--road-deep), 0 0 0 22px rgba(255, 197, 51, 0); } }
@keyframes shine { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.cta { text-align: center; margin-top: 34px; }
.micro { font-size: 0.98rem; color: var(--soft); margin: 18px 0 0; }
.skip { display: inline-block; margin-top: 8px; padding: 12px 8px; color: var(--soft); font-size: 0.98rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font: 400 0.95rem Fredoka, sans-serif; }
.chips li { padding: 6px 14px 6px 32px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); position: relative; }
.chips li::before { content: ''; position: absolute; left: 13px; top: 50%; width: 10px; height: 6px; margin-top: -6px; border-left: 2.5px solid var(--park); border-bottom: 2.5px solid var(--park); transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: var(--streets), radial-gradient(1200px 600px at 78% 30%, var(--night-2), var(--night)); color: #fff; padding: clamp(36px, 6vw, 76px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.kicker { display: inline-block; font: 700 0.98rem Fredoka, sans-serif; color: var(--road); border: 1.5px solid rgba(255, 197, 51, 0.55); border-radius: 999px; padding: 6px 16px; margin-bottom: 20px; }
.hero h1 { margin-bottom: 0.42em; }
.hero .lede { font-size: 1.22rem; color: #d4e6e6; max-width: 34em; }
.hero .lede strong { color: #fff; }
.hero .cta { text-align: left; margin-top: 28px; }
.hero .micro { color: #b9d2d3; }
.hero .chips { justify-content: flex-start; }
.hero .chips li { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); color: #e9f3f2; }
.hero .chips li::before { border-color: var(--road); }
.hero .skip { color: #b9d2d3; }
.hero.solo .wrap { display: block; text-align: center; }
.hero.solo h1 { max-width: 19em; margin-inline: auto; font-size: clamp(2rem, 4.6vw, 3.5rem); }
.hero.solo .lede { margin-inline: auto; max-width: 40em; }
.hero.solo h1.tiers { max-width: none; line-height: 1.12; }
h1.tiers > span { display: block; }
h1.tiers .warm { background: linear-gradient(90deg, #ffe08a, var(--road) 45%, #ff9a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1.tiers .boxed { display: table; margin: 0.22em auto 0; padding: 0.06em 0.42em 0.1em; background: var(--road); color: #241800; border-radius: 0.2em; box-shadow: 0 0 34px rgba(255, 197, 51, 0.35); }
.hero .lede.small { font-size: 1rem; color: #b9d2d3; margin-top: -0.4em; }
.hero.solo video { display: block; width: min(940px, 100%); height: auto; margin: 30px auto 0; border-radius: 16px; border: 3px solid var(--road); background: #000; box-shadow: 0 0 0 8px rgba(255, 197, 51, 0.14), 0 26px 60px rgba(0, 0, 0, 0.45); }
.hero.solo .filmnote { color: #b9d2d3; font-size: 0.95rem; margin: 14px 0 0; }
.hero.solo .cta { text-align: center; }
.hero.solo .chips { justify-content: center; }
.fan { position: relative; aspect-ratio: 1 / 1.04; }
.fan img { position: absolute; width: 57%; border-radius: 6px; background: #fff; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45); animation: land 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.15) backwards; }
.fan img:nth-child(1) { left: 0; top: 15%; --r: -9deg; transform: rotate(var(--r)); animation-delay: 0.1s; }
.fan img:nth-child(2) { right: 0; top: 9%; --r: 8deg; transform: rotate(var(--r)); animation-delay: 0.25s; }
.fan img:nth-child(3) { left: 21.5%; top: 2%; --r: -1deg; transform: rotate(var(--r)); animation-delay: 0.4s; }
@keyframes land { from { opacity: 0; transform: translateY(-46px) rotate(calc(var(--r) * 2.2)); } }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.covers img { border-radius: 4px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); background: #fff; }
.hero .covers { grid-template-columns: repeat(2, 1fr); max-width: 440px; margin-inline: auto; }
.hero .covers img:nth-child(odd) { transform: rotate(-2deg); }
.hero .covers img:nth-child(even) { transform: rotate(2deg) translateY(10px); }

.film { background: var(--night); color: #fff; text-align: center; padding: 0 0 clamp(40px, 6vw, 72px); }
.film h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 22px; }
.film video { display: block; width: min(960px, 100%); height: auto; margin-inline: auto; border-radius: 16px; border: 3px solid var(--road); background: #000; box-shadow: 0 0 0 8px rgba(255, 197, 51, 0.14), 0 26px 60px rgba(0, 0, 0, 0.45); }
.film p { color: #b9d2d3; font-size: 0.95rem; margin: 16px 0 0; }

/* ---------- the facts strip and the running list ---------- */
.facts { background: var(--road); color: #241800; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 18px 0; list-style: none; text-align: center; font: 400 1rem/1.25 Fredoka, sans-serif; }
.facts b { display: block; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.05; }
.ticker { overflow: hidden; background: var(--night); color: #cfe3e3; border-block: 1px solid rgba(255, 255, 255, 0.12); }
.ticker ul { display: flex; gap: 0; width: max-content; margin: 0; padding: 12px 0; list-style: none; font: 700 1.05rem Fredoka, sans-serif; animation: run 46s linear infinite; }
.ticker:hover ul { animation-play-state: paused; }
.ticker li { padding: 0 20px; white-space: nowrap; position: relative; }
.ticker li::after { content: ''; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--pin); }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- stops on the route ---------- */
section { padding: clamp(52px, 8vw, 96px) 0; }
.stop { position: relative; padding-top: 132px; }
.stop::before { content: ''; position: absolute; left: 50%; top: 0; height: 70px; margin-left: -1.5px; border-left: 3px dashed #b8c9c1; }
.pin { position: absolute; left: 50%; top: 68px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50% 50% 50% 0; background: var(--pin); transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(255, 93, 67, 0.35); }
.pin b { transform: rotate(45deg); color: #fff; font: 700 1.25rem Fredoka, sans-serif; }
.head { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.head h2 { margin-bottom: 0.45em; }
.head p { color: var(--soft); font-size: 1.18rem; margin: 0 auto; max-width: 38em; }
.band { background: var(--streets), var(--night); color: #e7f1f0; }
.band h2, .band h3 { color: #fff; }
.band .head p { color: #bcd4d4; }
.band.stop::before { border-color: rgba(255, 255, 255, 0.3); }
.tint { background: #e8f1ea; }

.pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 26px 22px; margin: 0; padding: 0; list-style: none; }
.pages li { transition: transform 0.2s; }
.pages li:nth-child(odd) { transform: rotate(-1.2deg); }
.pages li:nth-child(even) { transform: rotate(1.1deg); }
.pages li:hover { transform: rotate(0) translateY(-6px) scale(1.03); }
.pages img { border-radius: 5px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 24px rgba(16, 41, 47, 0.16); }
.pages strong { display: block; margin-top: 12px; font: 700 1.1rem Fredoka, sans-serif; }
.pages span { color: var(--soft); font-size: 0.96rem; }
.after { text-align: center; color: var(--soft); max-width: 46em; margin: 30px auto 0; }

/* a page that turns over to its answer */
.flip { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 5px; }
.flip img { width: 100%; }
.flip .ans { position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s; }
.flip .tag { position: absolute; left: 10px; top: 10px; padding: 3px 12px; border-radius: 999px; background: var(--road); color: #241800; font: 700 0.85rem Fredoka, sans-serif; opacity: 0; transition: opacity 0.25s; }
.flip:hover .ans, .flip:hover .tag, .flip[aria-pressed="true"] .ans, .flip[aria-pressed="true"] .tag { opacity: 1; }
.pages .flip + strong { margin-top: 12px; }

/* the book you can turn */
.reader { display: grid; grid-template-columns: auto minmax(0, 860px) auto; gap: 14px; align-items: center; justify-content: center; }
.spread { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #b9c8c0; padding: 3px; border-radius: 8px; box-shadow: 0 22px 50px rgba(16, 41, 47, 0.28); }
.spread img { width: 100%; background: #fff; aspect-ratio: 560 / 725; }
.spread img[hidden] { display: block; visibility: hidden; }
.turn { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--road); color: #241800; font: 700 2rem/1 Fredoka, sans-serif; cursor: pointer; box-shadow: 0 4px 0 var(--road-deep); padding-bottom: 6px; }
.turn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--road-deep); }
.turn:disabled { opacity: 0.35; cursor: default; transform: none; }
.where { grid-column: 1 / -1; text-align: center; margin: 4px 0 0; font: 700 1.05rem Fredoka, sans-serif; color: var(--soft); }

.citygrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 18px; margin: 0; padding: 0; list-style: none; text-align: center; }
.citygrid img { width: 100%; border-radius: 5px; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 18px rgba(16, 41, 47, 0.14); transition: transform 0.2s; }
.citygrid li:hover img { transform: translateY(-5px) rotate(-1deg); }
.citygrid strong { display: block; margin-top: 8px; font: 700 1.05rem Fredoka, sans-serif; }

.steps.shots li { padding: 0 0 22px; overflow: hidden; }
.steps.shots li::before { margin: 18px 0 10px 22px; }
.steps.shots li::after { display: none; }
.steps.shots img { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.steps.shots h3, .steps.shots p { padding-inline: 22px; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.swatches button { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px 9px 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--card); font: 700 1rem Fredoka, sans-serif; color: var(--ink); cursor: pointer; }
.swatches button::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--c); }
.swatches button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.lookshot { max-width: min(460px, 100%); justify-self: center; }
.swatches button.plain { padding-left: 18px; }
.swatches button.plain::before { display: none; }
.band .swatches { justify-content: center; margin-bottom: 22px; }
.band .swatches button[aria-pressed="true"] { background: var(--road); border-color: var(--road); color: #241800; box-shadow: none; }
.split h3 { margin: 18px 0 4px; }
.small { font-size: 0.96rem; color: var(--soft); margin-top: 18px; }
.heroshot { display: block; width: min(980px, 100%); height: auto; margin: 40px auto 0; border-radius: 12px; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.hero .covers.heroshot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 980px; box-shadow: none; border-radius: 0; }
.hero .covers.heroshot img { transform: none; }
.hero .covers.heroshot img:nth-child(odd) { transform: rotate(-2deg); } .hero .covers.heroshot img:nth-child(even) { transform: rotate(2deg) translateY(8px); }
.wideshot { display: block; width: min(1000px, 100%); margin-inline: auto; }
.citygrid.six { grid-template-columns: repeat(6, 1fr); }
.citygrid span { display: block; color: var(--soft); font-size: 0.9rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.pair .shot { max-width: min(440px, 100%); margin: 16px auto 0; }
.pair .swatches { justify-content: center; }
.twopages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aplus { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.aplus img { width: 100%; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.aplus .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } .aplus .row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tree { margin: 0; padding: 22px 26px; border-radius: 14px; background: var(--night); color: #dcebea; font: 0.95rem/1.6 Consolas, 'Courier New', monospace; overflow-x: auto; }
.table.sheet { font-size: 0.92rem; white-space: nowrap; }
.table.sheet thead th:last-child, .table.sheet td:last-child { background: none; color: inherit; } .table.sheet thead th { background: #e8f1ea; }
.table.sheet td:first-child { font-family: inherit; font-weight: 400; }

.versus { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 20px; align-items: stretch; }
.versus > div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.versus small { display: block; font: 400 0.92rem Fredoka, sans-serif; color: var(--soft); margin-bottom: 4px; }
.versus ul { margin: 14px 0 0; padding: 0; list-style: none; }
.versus li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--line); font-size: 0.98rem; }
.versus li::before, .versus li::after { content: ''; position: absolute; left: 4px; top: 19px; width: 15px; height: 2.5px; background: #b3564a; transform: rotate(45deg); }
.versus li::after { transform: rotate(-45deg); }
.versus .ours { background: var(--night); color: #e7f1f0; border: 3px solid var(--road); box-shadow: 0 18px 40px rgba(12, 46, 54, 0.3); }
.versus .ours h3 { color: #fff; } .versus .ours small { color: var(--road); }
.versus .ours li { border-color: rgba(255, 255, 255, 0.16); }
.versus .ours li::before { left: 3px; top: 15px; width: 13px; height: 7px; background: none; border-left: 3px solid var(--road); border-bottom: 3px solid var(--road); transform: rotate(-45deg); }
.versus .ours li::after { display: none; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 26px 24px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; background: var(--road); color: #241800; font: 700 1.35rem Fredoka, sans-serif; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 49px; left: 82px; right: -26px; border-top: 3px dashed rgba(255, 197, 51, 0.5); }
.steps p { color: #c9dcdc; margin: 8px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 0.5em; }
.split > *, .pair > *, .promise > *, .ticket > *, .twopages > * { min-width: 0; }
.shot { max-width: 100%; height: auto; }
body { overflow-x: clip; }
.shot { border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 16px 38px rgba(16, 41, 47, 0.2); background: #fff; }
.list { margin: 16px 0 0; padding: 0; list-style: none; }
.list li { padding: 12px 0 12px 36px; border-top: 1px solid var(--line); position: relative; }
.list li::before { content: ''; position: absolute; left: 5px; top: 20px; width: 15px; height: 8px; border-left: 3px solid var(--park); border-bottom: 3px solid var(--park); transform: rotate(-45deg); }
.list strong { font-family: Fredoka, sans-serif; }
.band .list li { border-color: rgba(255, 255, 255, 0.16); }
.band .list li::before { border-color: var(--road); }
.cities { columns: 4 130px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--soft); }

.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 1rem; }
.table th, .table td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.table thead th { border-top: 0; font: 700 1.1rem Fredoka, sans-serif; background: #e8f1ea; }
.table thead th:last-child, .table td:last-child { background: #fff6da; }
.table thead th:last-child { background: var(--road); color: #241800; }
.table td:first-child { font-family: Fredoka, sans-serif; font-weight: 700; }
.table td:nth-child(2) { color: var(--soft); }
.scroll { overflow-x: auto; }

/* ---------- the offer: a travel ticket ---------- */
.ticket { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--card); border-radius: 22px; box-shadow: 0 24px 60px rgba(12, 46, 54, 0.22); position: relative; color: var(--ink); text-align: left; }
.ticket > div { padding: clamp(24px, 4vw, 42px); }
.ticket .stub { border-left: 3px dashed #b8c9c1; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fffaea; border-radius: 0 22px 22px 0; position: relative; }
.ticket .stub::before, .ticket .stub::after { content: ''; position: absolute; left: -16px; width: 30px; height: 30px; border-radius: 50%; background: var(--hole, var(--paper)); }
.ticket .stub::before { top: -15px; } .ticket .stub::after { bottom: -15px; }
.band .ticket, .tint .ticket { --hole: var(--night); } .tint .ticket { --hole: #e8f1ea; }
.ticket h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); }
.ticket .list li { padding-block: 9px; } .ticket .list li::before { top: 17px; }
.price { font: 700 clamp(3.4rem, 8vw, 5rem)/1 Fredoka, sans-serif; margin: 4px 0 2px; }
.price small { display: block; font-size: 1.05rem; font-weight: 400; color: var(--soft); margin-top: 6px; }
.ticket .buy { margin-top: 20px; }
.ticket .micro { font-size: 0.92rem; }
.upnote { text-align: center; color: var(--soft); font-size: 0.98rem; max-width: 44em; margin: 26px auto 0; }
.band .upnote { color: #bcd4d4; }

.promise { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; }
.stamp { width: 172px; height: 172px; border-radius: 50%; border: 4px double var(--pin); color: var(--pin); display: grid; place-content: center; text-align: center; transform: rotate(-11deg); font: 700 1rem/1.1 Fredoka, sans-serif; box-shadow: inset 0 0 0 7px var(--paper), inset 0 0 0 9px var(--pin); }
.promise h2 { margin-bottom: 0.4em; }
.stamp b { display: block; font-size: 3.4rem; line-height: 0.95; }
.honest { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--road); border-radius: 14px; padding: 22px 26px; }
.honest p:last-child { margin-bottom: 0; }
details { border-top: 1px solid var(--line); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 700 1.12rem Fredoka, sans-serif; list-style: none; position: relative; padding: 13px 36px 13px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 7px; font-size: 1.7rem; color: var(--park); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 14px; color: #2c454b; }
.last { text-align: center; background: var(--streets), radial-gradient(900px 420px at 50% 0, var(--night-2), var(--night)); color: #fff; }
.last p { color: #cfe3e3; font-size: 1.18rem; max-width: 34em; margin: 14px auto 0; }
.last .micro, .last .skip { color: #b9d2d3; font-size: 0.98rem; }

footer { background: #082229; color: #9db8ba; padding: 36px 0 96px; font-size: 0.9rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 18px; }
footer a { color: #d9eaea; }
footer p { max-width: 86ch; margin-bottom: 0.7em; }

/* the buy bar on a phone, once the first button has scrolled away */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 46, 54, 0.96); border-top: 1px solid rgba(255, 255, 255, 0.16); transform: translateY(110%); transition: transform 0.25s; }
.dock.on { transform: none; }
.dock .buy { width: 100%; font-size: 1.1rem; padding: 14px 18px; animation: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 0 var(--road-deep); }

/* ---------- policy pages ---------- */
.legal { padding: clamp(36px, 6vw, 64px) 0 clamp(48px, 8vw, 90px); }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 0.2em; }
.legal .dated { color: var(--soft); margin-bottom: 2em; }
.legal h2 { font-size: 1.45rem; margin: 1.9em 0 0.5em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.4em; }
.legal .honest { margin: 1.4em 0; }
.plain footer, footer.plain { padding-bottom: 48px; }

@media (max-width: 860px) {
  .hero .wrap, .split, .ticket, .promise { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .steps, .versus { grid-template-columns: 1fr; }
  .citygrid { grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
  .citygrid.six { grid-template-columns: repeat(3, 1fr); }
  .pair, .twopages { grid-template-columns: 1fr; }
  .hero .covers.heroshot { grid-template-columns: repeat(2, 1fr); }
  .aplus .row4 { grid-template-columns: repeat(2, 1fr); }
  .reader { grid-template-columns: 1fr 1fr; }
  .reader .spread { grid-column: 1 / -1; grid-row: 1; grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .reader .spread img + img { display: none; }
  .reader .turn { grid-row: 2; justify-self: end; }
  .reader .turn + .spread + .turn, .reader .turn:last-of-type { justify-self: start; }
  .reader .where { grid-row: 3; }
  .steps li:not(:last-child)::after { display: none; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .fan { max-width: 460px; margin-inline: auto; width: 100%; }
  .covers { grid-template-columns: repeat(2, 1fr); }
  .ticket .stub { border-left: 0; border-top: 3px dashed #b8c9c1; border-radius: 0 0 22px 22px; }
  .ticket .stub::before { top: -16px; left: -15px; } .ticket .stub::after { top: -16px; bottom: auto; left: auto; right: -15px; }
  .promise { justify-items: center; text-align: center; }
  .bar .once, .trail li:not(.now) { display: none; }
  .dock { display: block; }
  .buy { padding-inline: 24px; }
  .buy.big { font-size: 1.22rem; padding: 18px 22px; }
  .hero .buy.big { display: flex; }
  .bar .wrap { gap: 8px; }
  .signin { padding: 7px 12px; }
  .buy.small { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .buy, .buy::before, .fan img, .ticker ul { animation: none; }
  .buy::before { display: none; }
  .ticker ul { width: auto; flex-wrap: wrap; justify-content: center; }
  .ticker li[aria-hidden] { display: none; }
  .pages li, .buy, .dock, .flip .ans, .flip .tag, .citygrid img { transition: none; }
}
/* the narrowest phones: the Log in link moves to the foot of the page so the bar fits */
@media (max-width: 380px) {
  .bar nav:has(.buy) .signin { display: none; }
  .brand { font-size: 1.2rem; }
  .wrap, .narrow { width: min(1140px, 100% - 28px); }
  .buy.big { font-size: 1.1rem; padding: 16px 16px; }
  .ticket > div { padding: 20px 16px; }
  .price { font-size: 3rem; }
}

/* WarriorPlus: its own button under ours in the offer box, and its disclaimer in the footer */
/* WarriorPlus: its own button under ours in the offer box, and its disclaimer in the footer */
.wpbtn { display: block; margin-top: 14px; }
.wpbtn img { width: min(240px, 100%); height: auto; display: block; margin-inline: auto; }
.wplus_spdisclaimer { font-size: 0.86rem; line-height: 1.5; margin-bottom: 16px; }
.wplus_spdisclaimer:empty { display: none; }
