/*
  ODO's site: odomiles.app (work drivers) and odomiles.app/pcp (PCP drivers). Source of truth: ODO
  repo, Website/odo/, the site's root (copied to budtik-site odomiles/). Dark, like ODO in dark mode. The app's
  screens and cards are built in HTML and SVG at their real size (iPhone points, scaled to fit), and
  play out once as each scrolls into view (assets/odo.js).
*/
:root {
  --bg: #0C0D0C; --card: #161716; --card-2: #1A1B1A; --line: #2C2D2B;
  --ink: #F3F2EE; --muted: #8E8D88; --brand: #3CD195;
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--sys); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10; height: 52px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 13, 12, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; text-decoration: none; margin-right: auto; }
.logo { width: 28px; height: 28px; border-radius: 8px; background: #121312; box-shadow: 0 0 0 1px var(--line) inset; display: grid; place-items: center; flex: none; }
.nav a.link { font-size: 13px; color: var(--muted); text-decoration: none; }
.nav a.link:hover { color: var(--ink); }
.nav a.get { font-size: 13px; font-weight: 600; text-decoration: none; color: #0C0D0C; background: var(--brand); border-radius: 999px; padding: 5px 14px; white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow { font-size: 19px; font-weight: 600; color: var(--brand); letter-spacing: -0.01em; margin: 0 0 10px; }
h1 { font-size: clamp(40px, 7.2vw, 84px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 700; margin: 0; text-wrap: balance; }
.glow { background: linear-gradient(100deg, #3CD195 0%, #9DE8C6 55%, #F3F2EE 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.4; color: var(--muted); font-weight: 500; letter-spacing: -0.01em; max-width: 700px; margin: 22px auto 0; text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 600; }
.lede + .lede { margin-top: 14px; }

/* ---------- The ask ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 999px;
  background: var(--brand); color: #0C0D0C; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: #57DCA6; }
.btn:active { transform: scale(0.97); }
.cta { margin-top: 34px; }
.fine { font-size: 14px; color: var(--muted); margin: 14px auto 0; max-width: 470px; text-wrap: balance; }
.aside { display: inline-block; margin-top: 16px; font-size: 15px; color: var(--muted); text-decoration: none; }
.aside span { color: var(--brand); font-weight: 600; white-space: nowrap; }
.aside:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; text-align: center; }
.h1sub { font-size: clamp(21px, 2.8vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 18px auto 0; max-width: 760px; text-wrap: balance; }
.hook {
  display: inline-block; margin: 30px auto 0; padding: 10px 20px; border-radius: 22px; max-width: 640px;
  background: rgba(60, 209, 149, 0.12); color: #A9EBCD; font-size: 17px; font-weight: 600; line-height: 1.35; text-wrap: balance;
}
.herocard {
  position: relative; height: 660px; margin-top: 64px; border-radius: 40px; overflow: hidden; background: #101110;
  display: flex; justify-content: center; align-items: flex-start; padding-top: 72px;
}
.herocard .device { --w: 380px; }
/* The PCP allowance, beside the phone on the work drivers' page. */
.inset { position: absolute; z-index: 2; width: 300px; left: calc(50% + 170px); top: 300px; }
.inset .uc { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }

/* A soft gradient that drifts, and stirs more as the page scrolls. */
.fluid { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fluid i { position: absolute; left: 50%; top: 50%; width: 72%; aspect-ratio: 1; margin: -36% 0 0 -36%; border-radius: 50%; will-change: transform; }
.fluid i:nth-child(1) { background: radial-gradient(closest-side, rgba(60, 209, 149, 0.34), transparent); }
.fluid i:nth-child(2) { background: radial-gradient(closest-side, rgba(20, 140, 96, 0.42), transparent); }
.fluid i:nth-child(3) { background: radial-gradient(closest-side, rgba(157, 232, 198, 0.16), transparent); }
.fluid i:nth-child(4) { background: radial-gradient(closest-side, rgba(12, 90, 62, 0.5), transparent); }
.herocard > :not(.fluid), .stagecard > :not(.fluid), .vis > :not(.fluid) { position: relative; z-index: 1; }
.herocard > .inset { position: absolute; z-index: 2; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { display: flex; align-items: center; gap: 12px; padding: 22px 18px; font-size: 15px; font-weight: 500; color: #D9D8D3; line-height: 1.3; text-align: left; }
.trust div + div { border-left: 1px solid var(--line); }
.trust .ti { width: 34px; height: 34px; border-radius: 50%; background: rgba(60, 209, 149, 0.12); color: var(--brand); display: grid; place-items: center; flex: none; font-weight: 700; font-size: 16px; }

/* ---------- Sections ---------- */
section { padding-top: 160px; }
.head { max-width: 840px; margin: 0 auto; text-align: center; }

/* The problem: a paper logbook with gaps, beside ODO's log for the same week. */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; margin: 56px auto 0; }
.compare figure { margin: 0; background: var(--card); border-radius: 32px; padding: 40px 28px 28px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.compare figcaption { margin-top: auto; padding-top: 26px; font-size: 15px; color: var(--muted); text-align: center; }
.compare figcaption b { color: var(--ink); font-weight: 600; }
.logbook {
  width: 370px; padding: 22px 22px 18px; border-radius: 6px; color: #2E2B26; transform: rotate(-1.6deg);
  background: repeating-linear-gradient(#F1ECDD 0 33px, #C9D6E4 33px 34px), #F1ECDD; background-position: 0 44px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive; text-align: left; position: relative;
}
.logbook::before { content: ""; position: absolute; top: 0; bottom: 0; left: 64px; width: 1px; background: rgba(214, 89, 89, 0.55); }
.logbook .lt { font-size: 25px; font-weight: 700; line-height: 34px; height: 44px; }
.logbook .lr { display: grid; grid-template-columns: 50px 1fr 46px; height: 34px; align-items: end; font-size: 23px; line-height: 1; padding-bottom: 4px; }
.logbook .lr span:first-child { color: #57534B; }
.logbook .lr .x { text-decoration: line-through; color: #8A847A; }
.logbook .lr .q { color: #B4533F; }
.logbook .lr .m { text-align: right; }
.logbook .tot { height: 34px; display: flex; align-items: end; justify-content: flex-end; gap: 8px; font-size: 23px; padding-bottom: 4px; }
.lrow { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; align-items: center; }
.lrow + .lrow { border-top: 1px solid #2C2D2B; }
.lrow b { font-size: 15px; font-weight: 600; }
.lrow .w { font-size: 12px; color: #8E8D88; }
.lrow .m { grid-row: span 2; text-align: right; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lrow .m small { display: block; font-size: 12px; font-weight: 500; color: #3CD195; }
.lrow .p { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: rgba(60, 209, 149, 0.15); color: #3CD195; }
.ltot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 14px 16px; border-radius: 16px; background: #F3F2EE; color: #121312; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* How it works: text beside a picture, alternating sides. */
.features { display: flex; flex-direction: column; gap: 140px; margin-top: 80px; }
.feature { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.feature.flip .ftext { order: 2; }
.ftext h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; line-height: 1.08; margin: 0 0 18px; font-weight: 700; text-wrap: balance; }
.ftext p { color: var(--muted); font-size: 19px; line-height: 1.45; margin: 0 0 14px; text-wrap: pretty; }
.ftext p b { color: var(--ink); font-weight: 600; }
.ftext a { color: var(--brand); }
.vis { position: relative; border-radius: 34px; overflow: hidden; background: #101110; min-height: 560px; display: grid; place-items: center; padding: 48px 28px; }
.vis.crop { place-items: start center; padding-top: 56px; height: 620px; min-height: 0; }
.vis.crop .device { --w: 300px; }
.after-features { margin-top: 96px; text-align: center; }

/* ---------- The app's pieces, at their real size ---------- */
.fit { transform-origin: center; }
.app { font-family: var(--sys); color: #F3F2EE; line-height: 1.25; text-align: left; width: 370px; display: flex; flex-direction: column; gap: 12px; }
.app .uc { box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); transition: filter 0.35s; }
.uc.dim, .ui.dim { filter: brightness(0.45) blur(1.5px); transition: filter 0.35s; }
.ui { transition: filter 0.35s; }
.pop { animation: pulse 0.6s ease-out; }
@keyframes pulse { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* A notification, and its long-press menu */
.note { display: flex; gap: 12px; padding: 14px; border-radius: 24px; background: rgba(46, 47, 45, 0.94); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.55s cubic-bezier(0.2, 1.2, 0.4, 1), opacity 0.35s; text-align: left; }
.note .ai { width: 38px; height: 38px; border-radius: 9px; background: #121312; display: grid; place-items: center; flex: none; }
.note .nh { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 600; }
.note .nh span { font-weight: 400; font-size: 13px; color: #A3A29C; }
.note p { margin: 2px 0 0; font-size: 15px; color: #E4E3DE; line-height: 1.3; }
.menu { width: 230px; border-radius: 14px; background: rgba(52, 53, 51, 0.96); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s cubic-bezier(0.2, 1.2, 0.4, 1), opacity 0.3s; transform-origin: top left; }
.menu div { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 16px; font-size: 16px; transition: background 0.2s; }
.menu div + div { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.menu div.press { background: rgba(255, 255, 255, 0.14); }
.note.away, .menu.away { opacity: 0; transform: translateY(-14px) scale(0.96); }
.note.gone, .menu.gone { opacity: 0; transform: scale(0.92); }
/* The banner as it drops in over the app. */
.ios .banner { position: absolute; top: 56px; left: 10px; right: 10px; z-index: 6; }
.ios .banner.away { transform: translateY(-140%); opacity: 1; }
.ios .hmenu { position: absolute; top: 162px; left: 62px; z-index: 6; }

/* ODO Business card */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.cols > div > span { display: block; font-size: 12px; color: #8E8D88; margin-bottom: 4px; }
.cols .fig { font-size: 32px; }
.cols .fig small { font-size: 13px; }
.totag { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 18px; margin-top: 16px; border-radius: 23px; background: #F3F2EE; color: #121312; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Plan ahead */
.ask { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 16px; border-radius: 16px; background: rgba(44, 45, 43, 0.5); font-size: 15px; margin-top: 14px; }
.ask span:first-child { color: #8E8D88; }
.pills { display: flex; gap: 10px; margin-top: 14px; }
.pills span { font-size: 15px; font-weight: 600; padding: 11px 18px; border-radius: 999px; background: #2C2D2B; }
.pills span:first-child { background: #F3F2EE; color: #121312; }
.icirc.warnc { background: rgba(255, 162, 58, 0.15); color: #FFA23A; }

/* The claim for the tax year, with the 10,000-mile point marked */
.claimcard .claim { font-size: 60px; margin: 20px 0 6px; }
.claimcard .csub { font-size: 15px; color: #8E8D88; font-variant-numeric: tabular-nums; }
.thr { position: relative; margin: 44px 0 10px; }
.thr .track { height: 14px; border-radius: 7px; background: #2C2D2B; overflow: hidden; display: flex; }
.thr .track i { display: block; height: 100%; background: #3CD195; width: 0; }
.thr .mark { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; border-radius: 1px; background: #F3F2EE; }
.thr .mlabel { position: absolute; top: -26px; transform: translateX(-50%); font-size: 12px; font-weight: 600; white-space: nowrap; }
.thr .ends { display: flex; margin-top: 10px; font-size: 12px; color: #8E8D88; }
.thr .ends span:first-child { width: 71.43%; }
.thr .ends span + span { padding-left: 10px; }
.rates { margin-top: 26px; }

/* The exported PDF */
.pdf { width: 520px; background: #fff; color: #1C1C1B; border-radius: 6px; padding: 30px 30px 22px; font-family: var(--sys); line-height: 1.3; text-align: left; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
.pdf .ph { display: flex; align-items: center; gap: 10px; }
.pdf .ph .lg { width: 32px; height: 32px; border-radius: 8px; background: #121312; display: grid; place-items: center; }
.pdf .ph b { display: block; font-size: 15px; }
.pdf .ph span { font-size: 11px; color: #75736D; }
.pdf .ph .gen { margin-left: auto; align-self: flex-start; font-size: 10px; }
.pdf h4 { font-size: 27px; letter-spacing: -0.6px; margin: 22px 0 0; }
.pdf .per { font-size: 13px; color: #75736D; margin-top: 2px; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 14px; }
.pstats div { background: #F5F3EE; border-radius: 8px; padding: 9px 11px; }
.pstats span { display: block; font-size: 10px; color: #75736D; }
.pstats b { display: block; font-size: 21px; letter-spacing: -0.4px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ptable { width: 100%; border-collapse: collapse; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.ptable th { text-align: left; font-weight: 600; color: #75736D; padding: 6px 4px; border-bottom: 1px solid #E4E1D8; }
.ptable td { padding: 7px 4px; }
.ptable tr:nth-child(even) td { background: #F7F5F0; }
.ptable .r { text-align: right; }
.ptable tbody tr { transition: opacity 0.35s, transform 0.35s; }
.ptable tbody tr.away { opacity: 0; transform: translateY(6px); }
.pfoot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 10px; border-top: 1px solid #E4E1D8; font-size: 9px; color: #75736D; }

/* In the car: ODO's live panel on the car's screen */
.carplay { width: 400px; height: 208px; border-radius: 22px; background: #000; padding: 10px; display: grid; grid-template-columns: 54px 1fr; gap: 10px;
  box-shadow: 0 0 0 7px #1C1D1C, 0 30px 60px rgba(0, 0, 0, 0.5); font-family: var(--sys); color: #F3F2EE; line-height: 1.2; text-align: left; }
.cp-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px 0; }
.cp-side .t { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cp-side i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #2A2B29; }
.cp-side i.odo { background: #121312; box-shadow: 0 0 0 1px #2C2D2B inset; }
.cp-main { border-radius: 16px; background: #1C1D1C; padding: 16px 18px; display: flex; flex-direction: column; }
.cp-main .lh { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.cp-main .lc { width: 28px; height: 28px; border-radius: 50%; background: #3CD195; display: grid; place-items: center; color: #0C0D0C; }
.cp-main .tag { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; }
.cp-main .fig { font-size: 40px; margin: 18px 0 14px; }
.cp-main .fig small { font-size: 16px; }
.dots { display: flex; gap: 3px; }
.dots i { flex: 1; aspect-ratio: 1; border-radius: 50%; background: #2C2D2B; transition: background 0.3s; }
.dots i.on { background: #3CD195; }
.cp-main .left { font-size: 12px; color: #8E8D88; margin-top: auto; font-variant-numeric: tabular-nums; }
.tripcard { width: 400px; }
.tripcard .mapcard { height: 230px; }

/* PCP: a band of its own */
.band { margin-top: 170px; padding: 130px 0 140px; background: linear-gradient(180deg, #0E1712 0%, #0B120E 100%); border-top: 1px solid #1B2A21; border-bottom: 1px solid #1B2A21; }
.band section, section.inband { padding-top: 0; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.three > div { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 24px; padding: 28px; }
.three b { display: block; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.three p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.twonum { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 780px; margin: 64px auto 0; }
.twonum .app { width: 100%; }
.twonum .uc { box-shadow: none; background: #161E19; border: 1px solid rgba(255, 255, 255, 0.06); }
.twonum .fig { font-size: 52px; margin: 22px 0 8px; }
.twonum .fig small { font-size: 20px; }
.twonum .csub { font-size: 15px; color: #8E8D88; }
.twonum .meter { margin-top: 16px; height: 22px; gap: 3px; }
.twocap { margin-top: 26px; text-align: center; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }

/* Privacy */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.trio div { background: var(--card); border-radius: 24px; padding: 28px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; text-align: left; }
.trio svg { display: block; margin-bottom: 18px; }
.more { display: inline-block; margin-top: 26px; color: var(--brand); text-decoration: none; font-size: 19px; font-weight: 500; }
.more:hover { text-decoration: underline; }

/* Pricing: the recommended plan first, and largest */
.plans { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-top: 56px; text-align: left; align-items: stretch; }
.plan { background: var(--card); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; }
.plan.rec { box-shadow: 0 0 0 2px var(--brand) inset; background: linear-gradient(180deg, #13211A 0%, var(--card) 70%); padding: 36px; }
.plan .lbl { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.plan.rec .lbl { color: #0C0D0C; background: var(--brand); padding: 4px 11px; border-radius: 999px; }
.plan h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.price { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.plan.rec .price { font-size: 56px; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .save { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--brand); }
.plan .alt { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; line-height: 1.35; color: #D9D8D3; }
.plan li svg { flex: none; margin-top: 2px; }
.pnote { max-width: 760px; margin: 36px auto 0; color: var(--muted); font-size: 15px; line-height: 1.5; text-wrap: balance; }
.pnote + .pnote { margin-top: 10px; }
.pnote b { color: var(--ink); font-weight: 600; }
.pnote small { display: block; margin-top: 6px; font-size: 13px; color: #6E6D68; }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; text-align: left; }
.faq h3 { font-size: 15px; font-weight: 600; color: var(--brand); letter-spacing: 0; margin: 40px 0 6px; }
.faq h3:first-child { margin-top: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { margin: 0 0 24px; color: var(--muted); font-size: 17px; max-width: 700px; line-height: 1.5; }

/* Closing and footer */
.closing { padding: 200px 0 40px; text-align: center; }
footer { margin-top: 120px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 44px; color: var(--muted); font-size: 13px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .also { flex-basis: 100%; color: #6E6D68; }

/* Fade up as each part scrolls into view, only once the script is running. */
.js .rise { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- The phone, in iPhone points ---------- */
.device {
  --w: 300px; position: relative; width: var(--w); padding: 10px; border-radius: calc(var(--w) * 0.18); background: #070707;
  box-shadow: 0 0 0 2px #2E2F2C inset, 0 40px 90px rgba(0, 0, 0, 0.55); flex: none;
}
.screen { position: relative; width: 100%; aspect-ratio: 402 / 874; border-radius: calc(var(--w) * 0.148); overflow: hidden; background: #0C0D0C; }
.ios {
  position: absolute; top: 0; left: 0; width: 402px; height: 874px; transform-origin: 0 0; transform: scale(var(--s));
  font-family: var(--sys); color: #F3F2EE; background: #0C0D0C; overflow: hidden; line-height: 1.25; text-align: left;
}
.island { position: absolute; top: 11px; left: 138px; width: 125px; height: 37px; border-radius: 19px; background: #000; z-index: 7; }
.sb { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 50px; font: 600 17px/1 var(--sys); z-index: 4; }
.ui { position: absolute; left: 16px; right: 16px; display: flex; flex-direction: column; gap: 12px; }
.uc { background: #1A1B1A; border-radius: 28px; padding: 20px; }
.ch { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.ch .end { margin-left: auto; }
.icirc { width: 32px; height: 32px; border-radius: 50%; background: #2C2D2B; display: grid; place-items: center; flex: none; }
.tag { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #2C2D2B; white-space: nowrap; }
.tag.warn { color: #FFA23A; background: rgba(255, 162, 58, 0.15); }
.tag.danger { color: #FF6A6F; background: rgba(255, 106, 111, 0.15); }
.fig { display: flex; align-items: baseline; gap: 4px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; }
.fig small { font-weight: 500; color: #8E8D88; letter-spacing: 0; }
.meter { display: flex; gap: 4px; height: 28px; }
.meter i { flex: 1; border-radius: 999px; background: #2C2D2B; transition: background 0.25s; }
.sec { color: #8E8D88; }
.bar { height: 6px; border-radius: 3px; background: #2C2D2B; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: #3CD195; transition: width 0.5s; }

/* Dashboard */
.hdr { display: flex; align-items: center; gap: 10px; height: 52px; }
.hdr b { font-size: 34px; font-weight: 600; letter-spacing: -0.5px; margin-right: auto; }
.cbtn { width: 44px; height: 44px; border-radius: 50%; background: #1A1B1A; display: grid; place-items: center; }
.trip { height: 72px; border-radius: 36px; background: #F3F2EE; color: #121312; display: flex; align-items: center; gap: 14px; padding: 0 12px; transition: background-color 0.45s; }
.trip .tc { width: 48px; height: 48px; border-radius: 50%; background: rgba(18, 19, 18, 0.1); display: grid; place-items: center; flex: none; }
.trip .tt { display: flex; flex-direction: column; gap: 2px; }
.trip .tt b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.trip .tt span { font-size: 15px; opacity: 0.65; }
.trip .tb { margin-left: auto; height: 48px; padding: 0 22px; border-radius: 24px; background: #3CD195; color: #0C0D0C; font-size: 17px; font-weight: 600; display: grid; place-items: center; transition: background-color 0.45s, color 0.45s, transform 0.15s; }
.trip.driving { background: #3CD195; color: #0C0D0C; }
.trip.driving .tb { background: #0C0D0C; color: #3CD195; }
.trip .tb.press { transform: scale(0.9); }

/* Allowance dial */
.dial { position: relative; width: 260px; height: 228px; margin: 18px auto 0; }
.dial svg { position: absolute; inset: 0; }
.dial .dc { position: absolute; left: 0; right: 0; top: 92px; text-align: center; }
/* Inside the ring of ticks, 180 points across, even at five digits. */
.dial .dc .fig { justify-content: center; font-size: 40px; }
.dial .dc .fig small { font-size: 16px; }
.dial .dc .of { font-size: 17px; color: #8E8D88; margin-top: 8px; }
.ptg { display: flex; justify-content: center; margin-top: 6px; }
.ptg .tag { font-size: 13px; padding: 6px 12px; display: inline-flex; gap: 6px; align-items: center; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin: 22px 0 18px; }
.stats3 > div + div { border-left: 1px solid #2C2D2B; }
.stats3 > div > span { display: block; font-size: 13px; color: #8E8D88; }
.stats3 .fig { justify-content: center; font-size: 24px; margin-top: 4px; }
.stats3 .fig small { font-size: 13px; }
.info { background: rgba(44, 45, 43, 0.5); border-radius: 18px; padding: 0 16px; }
.irow { display: flex; align-items: center; justify-content: space-between; height: 52px; font-size: 15px; font-variant-numeric: tabular-nums; }
.irow + .irow { border-top: 1px solid #2C2D2B; }
.irow span:first-child { color: #8E8D88; }
.pacecard { width: 370px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.28); font-family: var(--sys); color: #F3F2EE; line-height: 1.25; text-align: left; }
.pacecard .ptg { opacity: 0; transform: scale(0.85); transition: opacity 0.3s, transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
.pacecard .ptg.on { opacity: 1; transform: scale(1); }
.pacecard .info { opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s; }
.pacecard .info.on { opacity: 1; transform: none; }
.pacecard .dtag { display: inline-block; font-variant-numeric: tabular-nums; }
.pacecard .dtag.pulse { animation: pulse 0.6s ease-out; }

/* A drive's page, and its map */
.navb { position: absolute; top: 60px; left: 16px; right: 16px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; }
.navb .back { position: absolute; left: 0; width: 44px; height: 44px; border-radius: 50%; background: #1A1B1A; display: grid; place-items: center; }
.mapcard { position: relative; height: 360px; border-radius: 28px; overflow: hidden; background: #2A425A; }
.mapcard .map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.route-line, .route-glow { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.start-dot, .route-head { opacity: 0; transition: opacity 0.2s; }
.pin-inner { transform: scale(0.3); opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin-inner.landed { transform: scale(1); opacity: 1; transition: transform 0.45s cubic-bezier(0.3, 1.8, 0.5, 1), opacity 0.2s; }
.replay {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(40, 42, 40, 0.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center; opacity: 0; transition: opacity 0.3s; color: #F3F2EE;
}
.replay.on { opacity: 1; }
.places { display: flex; flex-direction: column; }
.prow { display: flex; align-items: center; gap: 12px; height: 24px; font-size: 15px; font-weight: 500; }
.prow .mk { width: 20px; display: grid; place-items: center; flex: none; }
.prow .nm { transition: opacity 0.25s; }
.prow .nm.pending { color: #8E8D88; }
.prow .tm { margin-left: auto; color: #8E8D88; font-weight: 400; font-variant-numeric: tabular-nums; }
.jl { display: flex; align-items: center; gap: 12px; height: 24px; }
.jl i { width: 2px; height: 24px; margin: 0 9px; background: #2C2D2B; border-radius: 1px; }
.jl span { font-size: 12px; font-weight: 500; color: #8E8D88; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.duo > div > span { display: block; font-size: 12px; color: #8E8D88; margin-bottom: 4px; }
.duo .fig { font-size: 36px; }
.duo .fig small { font-size: 15px; }

/* Tagging drives */
.zstack { display: grid; }
.zdrive { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; }
.zmap { position: relative; height: 240px; border-radius: 28px; overflow: hidden; background: #2A425A; }
.zmap svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.zwhen { font-size: 15px; font-variant-numeric: tabular-nums; }
.zplaces { display: block; font-size: 17px; font-weight: 600; margin-top: 10px; }
.zfig { font-size: 44px; margin-top: 12px; }
.zfig small { font-size: 19px; }
.zbottom { display: grid; }
.zbottom > * { grid-area: 1 / 1; align-self: start; transition: opacity 0.3s, transform 0.45s cubic-bezier(0.3, 0.9, 0.3, 1); }
.zpicker { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.zpicker.away { opacity: 0; transform: scale(0.96); }
.zpick { align-self: stretch; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #2C2D2B; }
.zpick span { flex: 1; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 600; transition: background 0.25s, color 0.25s; }
.zpick span.on { background: #F3F2EE; color: #121312; }
.zskip { font-size: 15px; font-weight: 500; color: #8E8D88; }
.zpurpose { padding: 14px; }
.zpurpose.away { opacity: 0; transform: translateY(12px); }
.zfield { padding: 0 6px; font-size: 15px; line-height: 22px; color: #6E6D68; }
.zfield.filled { color: #F3F2EE; }
.zchips { display: flex; gap: 8px; margin-top: 10px; overflow: hidden; transition: opacity 0.25s; }
.zchips .tag { transition: background 0.2s, color 0.2s; }
.zchips .tag.press { background: #F3F2EE; color: #121312; }
.znext { margin-top: 14px; height: 44px; border-radius: 999px; background: #F3F2EE; color: #121312; display: grid; place-items: center; font-size: 15px; font-weight: 600; transition: transform 0.15s; }

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 18px; }
  .nav a.link { display: none; }
  .hero { padding-top: 60px; }
  .hook { font-size: 16px; }
  .herocard { height: 560px; margin-top: 48px; border-radius: 30px; padding-top: 48px; }
  .herocard .device { --w: 300px; }
  .inset { left: auto; top: auto; right: 10px; bottom: 14px; transform: scale(0.56); transform-origin: bottom right; }
  .fluid i { width: 130%; margin: -65% 0 0 -65%; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div { padding: 18px 12px; font-size: 14px; }
  .trust div:nth-child(3) { border-left: 0; }
  .trust div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  section { padding-top: 112px; }
  .compare, .three, .twonum, .trio, .plans { grid-template-columns: 1fr; margin-top: 40px; }
  .compare figure { padding: 32px 16px 24px; border-radius: 28px; }
  .features { gap: 96px; margin-top: 56px; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .ftext { order: 0; }
  .ftext p { font-size: 17px; }
  .vis { min-height: 0; padding: 36px 16px; border-radius: 28px; }
  .vis.crop { height: 560px; padding-top: 40px; }
  .vis.crop .device { --w: 280px; }
  .band { margin-top: 120px; padding: 96px 0 104px; }
  .plan, .plan.rec { padding: 28px 24px; }
  .faq summary { font-size: 17px; }
  .closing { padding-top: 140px; }
}
