/* Shared base for every page: tokens, nav, hero, sections, footer. Page-specific styles live in team.css, dashboard.css, join.css and doc.css. */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-600.woff2) format('woff2'); }
:root {
  --orange: #ff6b35;
  --orange-deep: #b4451c;
  --ink: #20201f;
  --paper: #faf9f6;
  --line: #deddd7;
  --muted: #6a6a63;
  --card: #ffffff;
  --sand: #efeee8;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, summary { outline-offset: 5px; }
button { cursor: pointer; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: auto; padding: 0 56px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Nav */
nav.top { height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 22px; letter-spacing: -1px; }
.brand img { height: 44px; width: 44px; border-radius: 12px; }
.links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.links .store-badge + .store-badge { margin-left: -20px; }
.links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.btn { border: 0; border-radius: 8px; background: var(--ink); color: #fff; padding: 14px 20px; font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* Store badge placeholders. Swap for Apple's and Google's official artwork, linked to the listings, at launch. */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 18px 0 14px; background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 10px; cursor: default; user-select: none; }
.store-badge svg { width: 24px; height: 29px; fill: currentColor; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; }
.store-badge small { font-size: 11px; letter-spacing: .2px; }
.store-badge b { font-size: 21px; font-weight: 500; letter-spacing: -.4px; margin-top: 2px; }
.store-badge.play svg { width: 23px; height: 26px; }
.store-badge.play small { font-size: 9.5px; letter-spacing: .6px; }
.store-badge.compact { height: 40px; padding: 0 12px 0 10px; border-radius: 8px; gap: 7px; }
.store-badge.compact svg { width: 17px; height: 21px; }
.store-badge.compact small { font-size: 8.5px; }
.store-badge.play.compact svg { width: 16px; height: 18px; }
.store-badge.play.compact small { font-size: 7.5px; }
.store-badge.compact b { font-size: 16px; }
.soon { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 6px 11px; opacity: .8; }

/* Hero */
.hero { background: var(--orange); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; min-height: 640px; padding: 30px 0 80px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.eyebrow .dot { width: 7px; height: 7px; background: currentColor; border-radius: 100%; }
h1 { font-size: clamp(56px, 6.7vw, 91px); line-height: .99; letter-spacing: -.055em; font-weight: 600; margin: 26px 0; }
h1 .white { color: #fff7ef; }
p { font-size: 17px; line-height: 1.65; }
.hero-copy { max-width: 430px; margin: 22px 0 28px; }
.hero .store-badges { margin-bottom: 18px; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 14px; }
.textlink { text-decoration: underline; text-underline-offset: 5px; }
.micro { font-size: 12px; opacity: .75; }
.hero-art { position: relative; min-height: 550px; display: flex; align-items: center; justify-content: center; }
.orbit { position: absolute; width: 480px; height: 480px; border: 1px solid #24242133; border-radius: 50%; }
.orbit::after { content: ''; position: absolute; inset: 36px; border: 1px dashed #24242133; border-radius: 50%; }
.phone { width: 292px; background: #f8f8f6; border: 7px solid #242421; border-radius: 43px; padding: 14px 16px 15px; box-shadow: 18px 30px 0 #25242116; transform: rotate(5deg); z-index: 2; position: relative; }
.island { height: 19px; width: 86px; background: #222; border-radius: 20px; margin: -6px auto 22px; }
.status { font-size: 9px; display: flex; justify-content: space-between; margin-top: -36px; padding-bottom: 32px; }
.phone h3 { font-size: 25px; letter-spacing: -1px; margin: 6px 0 15px; }
.phone .hello { font-size: 10px; color: #777; }
.balance { border-top: 1px solid #ddd; padding: 13px 0; }
.balance > span { font-size: 10px; color: #777; }
.balance strong { display: block; font-size: 37px; letter-spacing: -2px; }
.balance strong span { font-size: 20px; letter-spacing: 0; }
.balance small { font-size: 9px; color: #777; }
.map { height: 137px; background: #e8eae2; border-radius: 12px; overflow: hidden; position: relative; }
.map svg { width: 100%; height: 100%; display: block; }
.map .place { position: absolute; font-size: 8px; color: #64715e; }
.trip { padding: 12px 0; }
.trip-top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }
.trip small { font-size: 9px; color: #777; }
.classify { display: flex; gap: 7px; margin: 12px 0 4px; }
.classify button { border: 1px solid #ddd; background: #fff; border-radius: 7px; font-size: 10px; padding: 10px; flex: 1; }
.classify .selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.phone-nav { display: flex; justify-content: space-around; border-top: 1px solid #ddd; padding-top: 13px; font-size: 9px; color: #777; }
.phone-nav b { color: var(--ink); }
.float { position: absolute; z-index: 3; background: #fffef9; border: 1px solid #24242110; border-radius: 12px; padding: 17px 20px; box-shadow: 0 10px 25px #2b200c12; }
.float.a { left: -5px; top: 103px; transform: rotate(-7deg); }
.float.b { right: -9px; bottom: 78px; transform: rotate(-4deg); }
.float small { display: block; font-size: 10px; color: #777; margin-bottom: 5px; }
.float strong { font-size: 19px; letter-spacing: -.5px; }
.check { display: inline-flex; border-radius: 50%; background: #e5edde; color: #45623a; width: 22px; height: 22px; align-items: center; justify-content: center; margin-right: 7px; font-size: 13px; }
.art-note { position: absolute; bottom: 0; font-size: 10px; opacity: .6; }

/* Feature strip */
.strip { border-bottom: 1px solid var(--line); padding: 24px 0; }
.strip .wrap { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.strip span::before { content: '↗'; margin-right: 12px; color: var(--orange-deep); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
h2 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; margin: 20px 0; }
.section-intro { max-width: 470px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head p { max-width: 320px; color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 55px; }
.step { border-top: 1px solid #aaa; padding-top: 17px; }
.number { font-size: 12px; color: #827f75; }
.step h3 { font-size: 26px; letter-spacing: -1px; margin: 25px 0 8px; }
.step p { font-size: 15px; color: var(--muted); }
.mini { height: 150px; background: #eeede7; border-radius: 12px; margin-top: 23px; padding: 27px; display: flex; flex-direction: column; justify-content: center; }
.route-mini { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.route-mini i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.mini .route-line { height: 25px; border-left: 2px dashed #aaa; margin-left: 3px; }
.pills { display: flex; gap: 8px; }
.pill { font-size: 11px; padding: 12px 15px; background: #fff; border-radius: 6px; }
.pill.active { background: var(--orange); }
.mini-report { display: flex; align-items: center; gap: 14px; }
.doc { background: #fff; border-radius: 5px; padding: 14px 18px; font-size: 25px; }

/* Calculator */
.dark { background: var(--ink); color: var(--paper); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.dark .section-intro { color: #b9b9b0; }
.calculator { background: #30302d; padding: 35px; border-radius: 14px; }
.calculator label { font-size: 14px; }
.miles { font-size: 54px; letter-spacing: -2px; display: block; margin: 15px 0 5px; }
.miles small { font-size: 16px; color: #bbb; letter-spacing: 0; }
input[type=range] { width: 100%; accent-color: var(--orange); margin: 17px 0; }
.range-labels { display: flex; justify-content: space-between; font-size: 11px; color: #aaa; }
.result { border-top: 1px solid #555; margin-top: 24px; padding-top: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; }
.result + .result { border-top: 0; margin-top: 0; padding-top: 6px; }
.result strong { font-size: 24px; font-weight: 500; }
.result.value strong { color: var(--orange); font-size: 34px; font-weight: 600; letter-spacing: -1px; }
.calculator .micro { font-size: 11px; line-height: 1.5; color: #aaa; opacity: 1; margin-bottom: 0; }

/* Reports */
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 85px; align-items: center; }
.report { background: var(--sand); padding: 42px; border-radius: 16px; position: relative; }
.sheet { background: #fff; padding: 29px; box-shadow: 0 12px 30px #24242109; transform: rotate(-3deg); border: 1px solid #e1e0da; }
.sheet .brand { font-size: 14px; letter-spacing: -.5px; }
.sheet .brand img { width: 26px; height: 26px; border-radius: 6px; }
.sheet h3 { font-size: 27px; letter-spacing: -1px; margin-bottom: 5px; }
.sheet small { font-size: 11px; color: #888; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 10px; margin-top: 25px; }
.sheet td, .sheet th { text-align: left; padding: 13px 0; border-bottom: 1px solid #eee; }
.sheet td:last-child, .sheet th:last-child { text-align: right; }
.report-total { display: flex; justify-content: space-between; margin: 25px 0; font-size: 12px; }
.report-total strong { font-size: 20px; }
.xero-stamp { background: var(--ink); color: #fff; border-radius: 9px; padding: 16px 20px; font-size: 12px; position: relative; margin: -6px -15px 0 50px; transform: rotate(2deg); display: flex; justify-content: space-between; gap: 12px; }
.benefit { display: flex; gap: 15px; margin-top: 24px; font-size: 14px; }
.benefit b { display: block; margin-bottom: 5px; }
.benefit span { color: #74746d; }
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 32px 0; margin-top: 75px; }
.trust h3 { font-size: 15px; }
.trust p { font-size: 13px; color: #73736b; }

/* Pricing */
.pricing { background: var(--sand); }
.pricing .section-head { align-items: flex-end; }
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.billing-toggle button { border: 0; background: transparent; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.save-tag { font-size: 11px; font-weight: 600; background: #ffe2d4; color: var(--orange-deep); border-radius: 999px; padding: 3px 8px; }
.billing-toggle button[aria-pressed="true"] .save-tag { background: var(--orange); color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--ink); box-shadow: 10px 14px 0 #2421200d; }
.plan .flag { position: absolute; top: -13px; left: 22px; background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 999px; padding: 5px 11px; }
.plan h3 { font-size: 22px; letter-spacing: -.5px; margin: 0; }
.plan .who { font-size: 14px; color: var(--muted); margin: 6px 0 0; line-height: 1.45; min-height: 41px; }
.price { margin: 22px 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amount { font-size: 44px; font-weight: 600; letter-spacing: -2px; line-height: 1; }
.price .per { font-size: 14px; color: var(--muted); }
.price-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; min-height: 40px; line-height: 1.5; }
.price-note b { color: var(--orange-deep); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 24px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; flex: 1; }
.plan li { display: flex; gap: 10px; margin: 0 0 11px; line-height: 1.45; }
.plan li::before { content: '✓'; color: var(--orange-deep); font-weight: 600; flex: none; }
.plan li.plus::before { content: '+'; }
.plan li.lead { font-weight: 600; }
.plan li.lead::before { content: '↗'; }
.plan-cta { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 16px; line-height: 1.5; }
.plan-cta a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.plan-cta strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 3px; }

.compare { margin-top: 56px; }
.compare > summary { font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--ink); border-radius: 8px; padding: 12px 18px; }
.compare > summary::-webkit-details-marker { display: none; }
.compare > summary::after { content: '+'; font-size: 20px; line-height: 1; }
.compare[open] > summary::after { content: '−'; }
.table-scroll { overflow-x: auto; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare th[scope=row] { text-align: left; font-weight: 400; }
.compare thead th { font-size: 13px; font-weight: 600; background: #f6f5f0; }
.compare thead th:first-child { text-align: left; }
.compare .col-featured { background: #fff4ee; }
.compare thead .col-featured { background: #ffe2d4; }
.compare .group th { text-align: left; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); background: #fbfaf7; font-weight: 600; }
.yes { color: var(--orange-deep); font-weight: 600; }
.no { color: #b9b8b0; }
.pricing-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; border-top: 1px solid #d6d4cc; padding-top: 28px; }
.pricing-foot h3 { font-size: 15px; margin: 0 0 6px; }
.pricing-foot p { font-size: 13px; color: var(--muted); margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 23px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.faq details a { text-decoration: underline; text-underline-offset: 3px; }

/* CTA + footer */
.cta { background: var(--orange); padding: 70px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.cta h2 { margin: 0 0 15px; }
.cta p { font-size: 14px; margin: 0; }
.cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; padding-bottom: 30px; font-size: 13px; }
.footer small { font-size: 12px; color: #777; }
.footer-links { display: flex; gap: 20px; color: #555; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .links .store-badge { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .plan .who, .price-note { min-height: 0; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 25px; }
  .links > a:not(.btn) { display: none; }
  .links > a.keep { display: inline; }
  .hero-grid { gap: 0; }
  .hero-art { transform: scale(.85); transform-origin: center; }
  .float.a { left: -25px; }
  .float.b { right: -25px; }
  .calc-grid, .product-grid, .faq-grid { gap: 40px; }
  .section { padding-top: 70px; padding-bottom: 70px; }
  .strip .wrap { font-size: 11px; }
  .steps { gap: 20px; }
  .mini { padding: 18px; }
  .pricing-foot { gap: 24px; }
}
@media (max-width: 650px) {
  .wrap { padding: 0 16px; }
  nav.top { height: 76px; }
  .brand { font-size: 19px; }
  .brand img { height: 36px; width: 36px; }
  .links { gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; padding: 20px 0 40px; }
  .hero-copy { font-size: 16px; }
  h1 { font-size: 58px; }
  .hero-art { min-height: 535px; transform: scale(.9); margin: 0 -15px; }
  .float.a { left: 0; }
  .float.b { right: 0; }
  .orbit { width: 340px; height: 340px; }
  .strip .wrap { flex-wrap: wrap; justify-content: center; gap: 12px 25px; }
  .section-head { display: block; }
  .steps, .calc-grid, .product-grid, .faq-grid, .trust, .plans, .pricing-foot { grid-template-columns: 1fr; }
  .steps { gap: 30px; margin-top: 35px; }
  .mini { height: 125px; }
  .step h3 { margin-top: 15px; }
  .section { padding-top: 58px; padding-bottom: 58px; }
  .calc-grid { gap: 20px; }
  .calculator { padding: 25px; }
  .product-grid { gap: 35px; }
  .report { padding: 25px; }
  .xero-stamp { margin: -6px 0 0 20px; }
  .trust { gap: 10px; margin-top: 45px; padding: 20px 0; }
  .plans { margin-top: 36px; }
  .faq-grid { gap: 10px; }
  .cta .wrap { display: block; }
  .cta-side { align-items: flex-start; margin-top: 24px; }
  .footer { align-items: flex-start; gap: 16px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
