/* Mileage Ready's look: white, chunky Bricolage headlines, colour-block cards, dark bands. Loaded after style.css. */
:root { --sun: #FFC94A; --mint: #8FD6B4; --sky: #9CC8FF; --coral: #FF9E80; --ink: #13201A;
  --sun-soft: #FFF1C9; --mint-soft: #DDF3E7; --sky-soft: #E2EEFF; --coral-soft: #FFE3DA; --lilac-soft: #F1ECFF; --sand: #F4F1EA; }
html { overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#claim { scroll-margin-top: 16px; }
body { font-size: 17px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 8vw, 64px); line-height: 1; }
h2 { font-size: clamp(30px, 5vw, 40px); line-height: 1.05; }
.lede { color: #3E4A43; }

header.site .wrap, footer.site .wrap { max-width: 1200px; }
.brand { font-size: 23px; font-weight: 800; text-transform: lowercase; }
nav.top { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; }
nav.top a { margin: 0; color: var(--ink); }
nav.top a.nav-cta { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }
footer.site { background: var(--sand); border: 0; color: var(--ink); }
footer.site a { color: var(--ink); }

.btn { border-radius: 999px; min-height: 58px; font-weight: 700; }
.btn.ghost { background: var(--sand); border: 0; color: var(--ink); }
.btn.claim { background: var(--sun); color: var(--ink); gap: 8px; }
.btn.claim:hover { background: #FFBE2E; }
.pill { display: inline-block; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; background: var(--ink); color: var(--sun); }
.pill.soft { background: var(--mint-soft); color: var(--ink); }

/* Full-width bands inside the narrow page column. */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Home */
.hero { text-align: center; padding: 32px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero h1 { margin: 0; max-width: 900px; font-size: clamp(48px, 10vw, 84px); line-height: .96; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { max-width: 640px; margin: 0; font-size: 20px; }
.hero .cta { justify-content: center; margin: 4px 0 0; }

.people { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 24px 0 0; padding: 0; list-style: none; }
.person { border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; height: 300px; object-fit: cover; display: block; }
.person div { padding: 20px; display: flex; flex-direction: column; gap: 2px; }
.person strong { font-size: 20px; }
.person .amount { font: 600 26px "IBM Plex Mono", monospace; }
.person .how { font-size: 13px; }
.person:nth-child(1) { background: var(--sun); } .person:nth-child(2) { background: var(--mint); }
.person:nth-child(3) { background: var(--sky); } .person:nth-child(4) { background: var(--coral); }
@media (min-width: 1100px) { .person:nth-child(even) { margin-top: 40px; } }

.dark { background: var(--ink); color: #fff; margin-top: 56px; }
.dark .inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.dark h2 { color: #fff; margin: 0 0 8px; font-size: clamp(34px, 6vw, 50px); }
.steps { flex: 999 1 420px; display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step b { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step:nth-of-type(1) b { background: var(--sun); } .step:nth-of-type(2) b { background: var(--mint); } .step:nth-of-type(3) b { background: var(--coral); }
.step strong { font-size: 19px; } .step p { margin: 4px 0 0; color: #C9D3CC; }

/* The app's home screen, drawn in HTML so it stays sharp and up to date. */
.phone { flex: 1 1 300px; display: flex; justify-content: center; }
.phone .frame { width: 300px; height: 620px; border-radius: 38px; background: #0A120E; padding: 8px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.phone .screen { height: 100%; border-radius: 31px; overflow: hidden; background: #F5F7F4; color: var(--ink); display: flex; flex-direction: column; padding: 30px 18px 0; gap: 10px; font-size: 11px; line-height: 1.35; }
.phone .row { display: flex; justify-content: space-between; align-items: baseline; }
.phone .year { font: 700 24px var(--head), sans-serif; }
.phone .claim { background: #1F6F4A; color: #fff; border-radius: 18px; padding: 16px; }
.phone .claim .big { font: 600 32px "IBM Plex Mono", monospace; margin: 4px 0; }
.phone .box { background: #fff; border: 1px solid #E2E8E3; border-radius: 16px; padding: 12px; }
.phone .bar { height: 6px; background: #E2E8E3; border-radius: 3px; margin: 8px 0; } .phone .bar i { display: block; width: 62%; height: 6px; background: #1F6F4A; border-radius: 3px; }
.phone .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone .two .num { font-size: 20px; display: block; }
.phone .go { background: #1F6F4A; color: #fff; border-radius: 14px; height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.phone .hand { text-align: center; color: #1F6F4A; font-weight: 600; font-size: 12px; }
.phone .tabs { margin: auto -18px 0; display: flex; justify-content: space-around; padding: 10px 6px 16px; border-top: 1px solid #E2E8E3; background: #fff; font-weight: 600; color: #56635B; }
.phone .tabs span:first-child { color: #1F6F4A; }

/* "What goes in your log": swipes edge to edge on a phone. */
.section-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin: 72px 0 22px; }
.section-head h2 { margin: 0; }
.section-head .pill { background: var(--sun-soft); color: var(--ink); }
.log-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; display: flex; }
.log-scroll::-webkit-scrollbar { display: none; }
.log-scroll::after { content: ""; flex: 0 0 24px; }
.log-box { flex: 1 0 auto; min-width: 760px; border: 2px solid var(--ink); border-radius: 28px; overflow: hidden; }
table.log { width: 100%; border-collapse: collapse; font-size: 15px; }
table.log th, table.log td { padding: 16px 18px; text-align: left; white-space: nowrap; }
table.log thead { background: var(--ink); color: #fff; }
table.log tbody tr:nth-child(even) { background: #F7F5F0; }
table.log .r { text-align: right; } table.log .m { font-family: "IBM Plex Mono", monospace; } table.log .v { font-weight: 600; }
.tag { border-radius: 999px; padding: 4px 10px; font-weight: 600; font-size: 13px; }

/* Calculator teaser and the full calculator */
.calc-band { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin-top: 72px; }
.calc-band > div:first-child { flex: 999 1 420px; }
.calc-band h2 { margin: 12px 0 10px; font-size: clamp(34px, 6vw, 50px); }
.tool { background: var(--sky); border: 0; border-radius: 32px; padding: 24px; }
.tool label { border-color: rgba(19,32,26,.15); font-weight: 600; }
.tool input, .tool select { background: #fff; border: 0; border-radius: 14px; min-height: 48px; font-weight: 600; color: var(--ink); }
.tool .result { background: #fff; border-radius: 22px; padding: 18px 20px; margin-top: 16px; }
.tool .muted { color: #25352C; }
.mini { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; margin: 0; }
.mini .kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.mini .kinds button { min-height: 44px; border: 0; border-radius: 999px; padding: 0 16px; background: rgba(255,255,255,.7); color: var(--ink); font: 700 14px Inter, sans-serif; cursor: pointer; }
.mini .kinds button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mini label { border: 0; padding: 0; }
.mini input { width: 150px; font: 600 18px "IBM Plex Mono", monospace; }
.mini .out { background: #fff; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.mini .out .num { font-size: 40px; color: var(--accent); }
.mini .out small { color: #3E4A43; font-size: 14px; }
.mini a { font-weight: 700; color: var(--ink); }

/* Private by design */
.blocks { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.block { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.block h3 { margin: 4px 0 0; font-size: 24px; } .block p { margin: 0; line-height: 1.5; }
.block:nth-child(1) { background: var(--sun-soft); } .block:nth-child(2) { background: var(--mint-soft); }
.block:nth-child(3) { background: var(--coral-soft); } .block:nth-child(4) { background: var(--sky-soft); }

.pro { display: flex; flex-wrap: wrap; gap: 24px; margin: 56px 0 0; }
.pro img { flex: 1 1 360px; min-width: 0; width: 100%; min-height: 340px; max-height: 460px; object-fit: cover; border-radius: 32px; }
.pro div { flex: 1 1 360px; background: var(--sand); border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.pro h2 { margin: 0; } .pro p { margin: 0; }
.pro .btn { align-self: flex-start; }
.pro .btn.ghost { background: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { text-decoration: none; color: var(--ink); border-radius: 999px; padding: 14px 20px; font-weight: 600; }
.chip:nth-child(5n+1) { background: var(--sun-soft); } .chip:nth-child(5n+2) { background: var(--mint-soft); }
.chip:nth-child(5n+3) { background: var(--sky-soft); } .chip:nth-child(5n+4) { background: var(--coral-soft); } .chip:nth-child(5n) { background: var(--lilac-soft); }
.chip.more { background: var(--ink); color: #fff; }

/* Shared bits on the other pages */
.card { border-radius: 28px; border: 0; background: var(--sand); }
.cards .card.guide:nth-child(4n+1) { background: var(--sun-soft); } .cards .card.guide:nth-child(4n+2) { background: var(--mint-soft); }
.cards .card.guide:nth-child(4n+3) { background: var(--sky-soft); } .cards .card.guide:nth-child(4n) { background: var(--coral-soft); }
.app-box { border-radius: 32px; padding: 32px; }
.app-box .btn { background: var(--sun); color: var(--ink); }
.app-box .btn.ghost { background: transparent; color: #fff; border: 1px solid #C9D3CC; }
.toc, .faq details { background: var(--sand); border: 0; }
.prose blockquote { background: var(--sun-soft); border-left: 0; border-radius: 20px; }
table.data { border-radius: 20px; overflow: hidden; }
table.data th { background: var(--ink); color: #fff; }

/* Live totals strip */
.totals { margin: 36px 0 0; background: var(--ink); color: #fff; border-radius: 32px; padding: 26px 24px; text-align: center; }
.totals-lead { margin: 0 0 14px; color: #C9D3CC; font-weight: 600; font-size: 15px; }
.totals-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.total { display: flex; flex-direction: column; gap: 2px; }
.total .num { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; }
.total [data-total="people"] { color: var(--coral); } .total [data-total="trips"] { color: var(--sun); }
.total [data-total="miles"] { color: var(--mint); } .total [data-total="value"] { color: var(--sky); }
.total span:last-child { color: #C9D3CC; font-size: 14px; }
