/* AS Miles landing page and its text pages.
   Forest green and ivory paper, from the app and its website banner pack: cut-paper roads, a jade stage and
   a cream paper stage. The six banners are rebuilt here as live scenes (the pack's backgrounds, with its
   devices and enlarged panels as separate layers at the pack's own positions), and the copy over them is real
   HTML, set where the artwork leaves room for it (left on most, right on privacy, top on the closing one) and
   sized in vw so it scales with the scene. The nav and the scenes keep their own colours in both schemes;
   everything else is ivory by default and dark through prefers-color-scheme (every phone screenshot on a stage
   has a dark twin). Mobile first; scenes switch to their desktop composition at 760px. Motion is at the end
   of the landing rules and needs Miles/motion.js. */

:root{
  color-scheme:light dark;
  --bg:#F4F1E6; --bg-2:#E8ECDD; --surface:#FFFDF7;
  --ink:#103E2C; --ink-2:#3B5547; --dim:#56695D;
  --brand:#216646; --brand-2:#216646; --on-brand:#F7F5EC;
  --line:rgba(16,62,44,.14); --line-2:rgba(16,62,44,.26);
  --forest-2:#082619; --forest-ink:#F2F5F3; --forest-dim:#BFD4C5; --forest-line:rgba(242,245,243,.16);
  --mint:#7BE0AC; --road-c:#E9DCBB;
  --stage-a:url("/Miles/assets/bg-sage.webp?v=2"); --stage-b:url("/Miles/assets/bg-paper.webp?v=2");
  --bezel:#1B211D; --bezel-edge:#59635C;
  --shadow:0 30px 60px -28px rgba(14,40,26,.5),0 10px 24px -14px rgba(14,40,26,.26);
  --ease:cubic-bezier(.16,1,.3,1);
  --gutter:clamp(18px,5vw,64px); --max:1180px; --radius:24px;
  --serif:'Baskerville','Baskervville','Libre Baskerville',Georgia,'Times New Roman',serif;
  --sans:'Inter','Helvetica Neue',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0A130E; --bg-2:#0E1A13; --surface:#13221A;
    --ink:#EEF2EA; --ink-2:#B9C8BD; --dim:#93A69A;
    --brand:#63D99C; --brand-2:#86E5B3; --on-brand:#06140C;
    --line:rgba(238,242,234,.11); --line-2:rgba(238,242,234,.22);
    --stage-a:url("/Miles/assets/bg-jade.webp?v=2"); --stage-b:url("/Miles/assets/bg-forest.webp?v=2");
    --road-c:#CFC3A2;
    --bezel:#070A08; --bezel-edge:#2D3731;
    --shadow:0 30px 60px -28px rgba(0,0,0,.75),0 10px 24px -14px rgba(0,0,0,.5);
  }
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
:focus-visible{outline:3px solid var(--brand);outline-offset:3px;border-radius:6px}
.wrap{width:100%;max-width:calc(var(--max) + var(--gutter)*2);margin-inline:auto;padding-inline:var(--gutter)}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--mint);color:#06140C;padding:10px 16px;
  border-radius:12px;font-weight:600;text-decoration:none;transition:top .2s}
.skip:focus{top:12px}
.serif{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.01em;color:var(--brand-2)}

/* ---------- Nav: forest green in both schemes ---------- */
.nav{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--forest-2) 90%,transparent);color:var(--forest-ink);
  -webkit-backdrop-filter:saturate(1.3) blur(16px);backdrop-filter:saturate(1.3) blur(16px);border-bottom:1px solid transparent;
  transition:border-color .3s}
.nav.is-stuck{border-bottom-color:var(--forest-line)}
.nav :focus-visible{outline-color:var(--mint)}
.nav__in{display:flex;align-items:center;gap:20px;min-height:64px}
.nav__logo{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:1.06rem;letter-spacing:-.02em;text-decoration:none}
.nav__logo img{width:34px;height:34px;border-radius:9px;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 2px 8px -3px rgba(0,0,0,.5)}
.nav nav{display:none;margin-left:auto}
.nav__links{display:flex;gap:26px}
.nav__links a{font-size:.94rem;font-weight:500;color:var(--forest-dim);text-decoration:none;padding:10px 0;transition:color .2s}
.nav__links a:hover,.nav__links a[aria-current="page"]{color:#fff}
.nav__links a[aria-current="page"]{font-weight:600}
.nav__right{margin-left:auto;display:flex;align-items:center;gap:16px}
.nav__home{font-size:.9rem;font-weight:500;color:var(--forest-dim);text-decoration:none;white-space:nowrap}
.nav__home:hover{color:#fff}
.nav .nav__soon{display:none}
@media (min-width:860px){
  .nav nav{display:block}
  .nav__right{margin-left:0}
}
@media (min-width:1080px){.nav .nav__soon{display:inline-flex}}

/* ---------- Buttons and pills ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:999px;
  font:600 1rem/1 var(--sans);text-decoration:none;transition:transform .35s var(--ease),background .25s,box-shadow .35s var(--ease)}
.btn--solid{background:var(--brand);color:var(--on-brand);box-shadow:0 14px 26px -14px color-mix(in srgb,var(--brand) 80%,transparent)}
.btn--solid:hover{transform:translateY(-2px)}
.btn--ghost{color:var(--ink);border:1px solid var(--line-2)}
.btn--ghost:hover{background:color-mix(in srgb,var(--ink) 6%,transparent)}
/* The App Store button's stand-in until AS Miles is live: a label, not a link. */
.soon{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 22px 0 18px;border-radius:999px;
  border:1px dashed var(--line-2);background:color-mix(in srgb,var(--surface) 70%,transparent);
  font:600 .98rem/1.2 var(--sans);color:var(--ink);white-space:nowrap}
.soon svg{width:20px;height:20px;flex:none}
.soon--small{min-height:38px;padding:0 14px 0 12px;font-size:.84rem}
.soon--small svg{width:16px;height:16px}
.on-forest .soon,.soon--forest{border-color:rgba(242,245,243,.45);background:rgba(6,30,20,.55);color:var(--forest-ink)}
.on-forest .btn--ghost{color:var(--forest-ink);border-color:rgba(242,245,243,.45);background:rgba(6,30,20,.45)}
.on-forest .btn--ghost:hover{background:rgba(6,30,20,.75)}
.on-forest :focus-visible{outline-color:var(--mint)}

.eyebrow,.chapter{display:inline-flex;align-items:center;gap:10px;font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--brand)}
/* A map pin and a short stretch of dashed route, as on the app icon. */
.eyebrow::before{content:"";width:26px;height:10px;flex:none;background:
  radial-gradient(circle at 5px 5px,transparent 2.2px,currentColor 2.6px 4.6px,transparent 5px),
  repeating-linear-gradient(90deg,currentColor 0 4px,transparent 4px 8px) 12px 4px/14px 2px no-repeat}
.chapter b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--brand);color:var(--on-brand);font-size:.86rem;letter-spacing:0}

/* ---------- Banners: live scenes ----------
   Each banner is rebuilt from the banner pack's own recipe: the pack's background, and the same devices and
   enlarged panels at the same place, size and angle, as separate layers (so they can move; see Motion below).
   A layer's --l, --t, --w and --r are fractions of the scene worked out from that recipe; --ml and the others
   are the phone composition where the pack has one. --u is 1% of the scene's width. */
.bn{position:relative;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;--bn-ink:#103E2C;--bn-ink-2:#2E4D3E;--bn-serif:#216646;--bn-label:#216646;color:var(--bn-ink)}
.bn--forest{--bn-ink:#F2F5F3;--bn-ink-2:#D9E6DC;--bn-serif:#D5E5D9;--bn-label:#D5E5D9;background:var(--forest-2)}
.bn--sage{background:#DCE4D3}
.bn--paper{background:#EBD9BF}
.scene{grid-area:1/1;position:relative;overflow:hidden;aspect-ratio:16/9;--u:1vw}
.scene__bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.scene__fx{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.scene--privacy .scene__fx{background:rgba(7,31,22,.3)}
.scene--duo .scene__fx{background:rgba(7,31,22,.12)}
.scene--showcase .scene__fx{background:linear-gradient(180deg,rgba(231,235,221,.36) 0,rgba(231,235,221,.162) 65%,rgba(231,235,221,0) 100%)}
.scene--swipe .scene__fx{background:linear-gradient(180deg,rgba(231,235,221,.75) 0,rgba(231,235,221,.34) 65%,rgba(231,235,221,0) 100%)}
.layer{position:absolute;left:var(--ml,var(--l));top:var(--mt,var(--t));width:var(--mw,var(--w));transform:rotate(var(--mr,var(--r)))}
.layer__in{display:block}
.layer img{width:100%;height:auto;filter:drop-shadow(0 calc(var(--u)*.6) calc(var(--u)*1.1) rgba(2,22,12,.3))}
.bn__copy{grid-area:1/1;z-index:1}
.bn__text{display:contents}
.bn .eyebrow,.bn .chapter{color:var(--bn-label)}
.bn .chapter b{background:var(--bn-label);color:var(--forest-2)}
.bn--sage .chapter b,.bn--paper .chapter b{color:#F7F5EC}
.bn__h{font-weight:700;letter-spacing:-.035em;line-height:1.02;color:var(--bn-ink)}
.bn__h .serif{font-size:var(--hs,1em);letter-spacing:-.01em;color:var(--bn-serif)}
.bn__lede{color:var(--bn-ink-2);font-weight:500}
.bn--forest .bn__copy{text-shadow:0 1px 18px rgba(4,26,16,.55)}

/* Phones (below 760px). The hero and the classify banner have their own tall composition with room
   for the copy at the top; the others put the copy first and the scene under it. */
.bn--tall .scene{aspect-ratio:3/4}
.bn--tall .scene__bg{object-position:0 50%}
.bn--tall .bn__copy{align-self:start;padding:6.6vw 7vw 0}
.bn--tall .eyebrow,.bn--tall .chapter{font-size:clamp(.68rem,3.1vw,.95rem)}
.bn--tall .bn__h{margin-top:3vw;font-size:10.6vw}
.bn--tall .bn__lede{margin-top:2.6vw;font-size:3.6vw;line-height:1.4}
.bn--stack .scene{grid-area:2/1}
.bn--stack .bn__copy{grid-area:1/1;padding:clamp(48px,11vw,72px) var(--gutter) 8px}
.bn--stack .eyebrow,.bn--stack .chapter{font-size:.78rem}
.bn--stack .bn__h{margin-top:16px;font-size:clamp(2.2rem,9.6vw,3.4rem)}
.bn--stack .bn__lede{margin-top:14px;font-size:1.1rem;max-width:34ch;text-wrap:balance}
.bn--top .bn__h .serif{white-space:nowrap}
/* Reports: keep the Duo, the PDF page and the share buttons, and let the empty wall on the left go. */
.bn--crop .scene{width:148.15%;margin-left:-48.15%;--u:1.4815vw;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%);mask-image:linear-gradient(180deg,transparent 0,#000 16%)}
.bn--full .scene{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%);mask-image:linear-gradient(180deg,transparent 0,#000 22%)}
/* Privacy and iPhone Duo have no phone composition: the copy, then the app itself on the matching stage. */
.bn--swap .scene{display:none}
.bn--swap{background:var(--forest-2) var(--swap-bg,none) 62% 100%/cover no-repeat}
.bn__alt{grid-area:2/1;display:flex;justify-content:center;padding:26px var(--gutter) 0}
.bn__alt img{width:min(66%,280px);height:auto;margin-bottom:-90px;filter:drop-shadow(0 26px 30px rgba(0,0,0,.5))}
.bn__alt--duo{flex-direction:column;align-items:center;gap:22px;padding-bottom:44px}
.bn__alt--duo img{width:100%;margin-bottom:0}
.bn__alt--duo img.is-closed{width:56%}
.bn__more{grid-area:2/1;display:grid;gap:18px;padding:26px 7vw 34px;background:var(--forest-2)}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px}
.wide{display:none}
@media (max-width:359px){.bn--hero .bn__more .soon{padding:0 14px 0 12px;font-size:.88rem}}
.hero__facts{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.92rem;font-weight:500;color:var(--forest-dim)}
.hero__facts li{display:inline-flex;align-items:center;gap:8px}
.hero__facts li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--mint)}

/* From 760px: the 16:9 scenes (3:1 for the Duo strip), copy over the side the artwork keeps clear. */
@media (min-width:760px){
  .scene,.bn--tall .scene,.bn--stack .scene,.bn--swap .scene{display:block;grid-area:1/1;width:auto;margin:0;aspect-ratio:16/9;--u:1vw;-webkit-mask-image:none;mask-image:none}
  .bn--pano .scene{aspect-ratio:3/1}
  .bn--tall .scene__bg{object-position:50% 50%}
  .layer{left:var(--l);top:var(--t);width:var(--w);transform:rotate(var(--r))}
  .scene--swipe .scene__fx{background:
    linear-gradient(90deg,rgba(229,234,219,.86) 0,rgba(229,234,219,.8) 30%,rgba(229,234,219,0) 62%),
    linear-gradient(180deg,rgba(231,235,221,.72) 0,rgba(231,235,221,.324) 65%,rgba(231,235,221,0) 100%)}
  .bn--swap{background-image:none}
  .bn__alt{display:none}
  .bn__copy,.bn--tall .bn__copy,.bn--stack .bn__copy,.bn__text{display:block;grid-area:1/1;z-index:1;align-self:center;justify-self:start;
    width:37%;margin:0 0 3% 5.8%;padding:0}
  .bn__text .bn__copy{width:auto;margin:0}
  .wide{display:inline}
  .bn .eyebrow,.bn .chapter,.bn--tall .eyebrow,.bn--tall .chapter,.bn--stack .eyebrow,.bn--stack .chapter{font-size:clamp(.66rem,1.02vw,1.7rem)}
  .bn .chapter b{width:clamp(22px,2.2vw,58px);height:clamp(22px,2.2vw,58px);font-size:clamp(.7rem,1.05vw,1.7rem)}
  .bn__h,.bn--tall .bn__h,.bn--stack .bn__h{margin-top:1.6vw;font-size:calc(var(--h,6)*1vw)}
  .bn__lede,.bn--tall .bn__lede,.bn--stack .bn__lede{margin-top:1.5vw;max-width:none;font-size:clamp(.8rem,1.42vw,2.3rem);line-height:1.45}
  .bn--right .bn__copy{width:40%;margin:0 0 9% 45.6%}
  .bn--pano .bn__copy{margin-bottom:5%}
  .bn--top .bn__copy{align-self:start;justify-self:center;width:80%;margin:3.6% 0 0;text-align:center}
  .bn--top .bn__h{margin-top:1vw}
  .bn--top .bn__lede{margin-top:1vw}
  .bn--top .eyebrow::before{display:none}
  .bn__more{grid-area:auto;display:grid;gap:1.3vw;margin-top:2.2vw;padding:0;background:none}
  .bn--hero .soon,.bn--hero .btn{min-height:clamp(38px,3.6vw,92px);padding-inline:clamp(12px,1.7vw,44px);font-size:clamp(.78rem,1.12vw,1.8rem)}
  .bn--hero .soon svg{width:clamp(15px,1.4vw,36px);height:clamp(15px,1.4vw,36px)}
  .hero__cta{gap:clamp(8px,.9vw,24px)}
  .hero__facts{font-size:clamp(.74rem,1vw,1.6rem)}
}
@media (min-width:760px) and (max-width:959px){.hero__facts{display:none}}
@media (min-width:760px) and (max-width:1099px){.bn--pano .bn__copy{margin-bottom:10%}}

/* The points under a banner */
.after{padding-block:clamp(30px,4.5vw,52px) clamp(64px,10vw,112px)}
.points{display:grid;gap:14px 34px}
.points li{position:relative;padding:16px 0 0 30px;border-top:1px solid var(--line);color:var(--ink-2)}
.points li::before,.ticks li::before{content:"";position:absolute;left:0;top:calc(16px + .36em);width:18px;height:18px;border-radius:50%;
  background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23F7F5EC' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.points strong{display:block;color:var(--ink);font-weight:600}
.after .fine{margin-top:22px}
@media (min-width:640px){.points{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1020px){.points{grid-template-columns:repeat(var(--cols,4),1fr)}}

/* ---------- Phone frame ---------- */
.phone{position:relative;padding:9px;border-radius:15.5% / 7.2%;background:linear-gradient(150deg,var(--bezel-edge),var(--bezel) 38%,var(--bezel));
  box-shadow:var(--shadow),inset 0 0 0 1.5px rgba(255,255,255,.14);line-height:0}
.phone img{width:100%;height:auto;border-radius:13.4% / 6.2%}

/* ---------- Sections ---------- */
.section{padding-block:clamp(64px,10vw,120px)}
.section--tight{padding-top:0}
.section__head{max-width:660px}
.h2{margin-top:16px;font-size:clamp(2.05rem,6vw,3.4rem);line-height:1.04;font-weight:700;letter-spacing:-.035em;text-wrap:balance}
.ln{display:block}
.ln--serif{margin-top:.08em;padding-bottom:.08em;line-height:1.1}
.lede{margin-top:16px;font-size:clamp(1.1rem,2vw,1.26rem);font-weight:500;color:var(--ink)}
.body{margin-top:12px;color:var(--ink-2);max-width:48ch}
.body a,.fine a,.plans__fine a{color:var(--brand);text-underline-offset:3px}

/* Track. Classify. Report.: three stops on one route */
.trio{position:relative;display:grid;gap:16px;margin-top:44px;counter-reset:stop}
.trio__card{position:relative;padding:26px 26px 30px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line)}
.trio__n{display:inline-flex;align-items:center;gap:10px;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--dim)}
.trio__n::before{counter-increment:stop;content:counter(stop);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  background:var(--brand);color:var(--on-brand);font-size:.9rem;letter-spacing:0}
.trio__card h3{margin-top:14px;font-size:1.6rem;letter-spacing:-.03em;line-height:1.12}
.trio__card p{margin-top:10px;color:var(--ink-2);font-size:1rem}
@media (min-width:760px){
  .trio{grid-template-columns:repeat(3,1fr);gap:20px}
  /* the dashed route that joins the three stops */
  .trio::before{content:"";position:absolute;left:40px;right:40px;top:-18px;height:2px;
    background:repeating-linear-gradient(90deg,var(--line-2) 0 8px,transparent 8px 16px)}
}

/* Feature rows: a phone on one of the banner pack's stages */
.features{display:grid;gap:clamp(72px,11vw,136px)}
.feature{display:grid;gap:34px;align-items:center}
.stage{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:flex-start;gap:clamp(10px,3vw,20px);
  padding:44px 16px 0;border-radius:34px;overflow:hidden;border:1px solid var(--line);background:var(--bg-2)}
.stage::before{content:"";position:absolute;z-index:-1;inset:0;background:var(--stage-a) 50% 100%/cover no-repeat}
.stage--b::before{background-image:var(--stage-b)}
/* the cut at the bottom is capped so wide stages do not hide the lower rows of a screen */
.stage .phone{width:min(64%,272px);margin-bottom:max(-16%,-56px)}
.stage--pair .phone{width:min(46%,236px);margin-bottom:max(-10%,-44px)}
.stage--pair .phone + .phone{margin-top:52px}
.ticks{margin-top:22px;display:grid;gap:11px;max-width:48ch}
.ticks li{position:relative;padding-left:30px;color:var(--ink-2)}
.ticks li::before{top:.36em}
@media (prefers-color-scheme:dark){
  .points li::before,.ticks li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%2306140C' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
}
.pro{display:inline-block;margin-left:6px;padding:1px 7px 2px;border-radius:6px;font-size:.68rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;vertical-align:.12em;color:var(--brand);border:1px solid color-mix(in srgb,var(--brand) 55%,transparent)}
.fine{margin-top:18px;font-size:.9rem;color:var(--dim);max-width:60ch}
@media (min-width:900px){
  .feature{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,7vw,96px)}
  .feature--flip .stage{order:2}
  .stage{padding-top:56px}
}

/* At a glance: three small cards */
.glance{display:grid;gap:16px;margin-top:44px}
.glance__card{display:flex;flex-direction:column;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);overflow:hidden}
.glance__copy{padding:26px 26px 22px}
.glance__copy h3{font-size:1.4rem;letter-spacing:-.03em;line-height:1.15}
.glance__copy p{margin-top:8px;color:var(--ink-2);font-size:.98rem}
.glance__shot{margin-top:auto;display:flex;justify-content:center;padding:8px 20px 0;height:330px;overflow:hidden;
  background:linear-gradient(180deg,transparent,var(--bg-2))}
.glance__shot .phone{width:min(70%,236px);align-self:flex-start}
/* the Live Activity sits low on the Lock Screen: show the bottom of that screenshot, and fade its top out */
.glance__shot--end{padding:0 20px 22px;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 24%);mask-image:linear-gradient(180deg,transparent 0,#000 24%)}
.glance__shot--end .phone{align-self:flex-end}
@media (min-width:1000px){.glance{grid-template-columns:repeat(3,1fr);gap:20px}.glance__shot{height:360px}}

/* ---------- Free and Pro ---------- */
.plans{display:grid;gap:18px;margin-top:44px}
.plan{padding:30px 28px 32px;border-radius:28px;background:var(--surface);border:1px solid var(--line)}
.plan h3{font-size:1.55rem;letter-spacing:-.03em;line-height:1.1}
.plan__price{margin-top:6px;color:var(--ink-2);font-weight:500}
.plan .ticks{margin-top:22px}
.plan--pro{color:var(--forest-ink);border-color:transparent;background:
  linear-gradient(180deg,rgba(8,38,25,.1) 0,rgba(8,38,25,.94) 46%,var(--forest-2) 60%),
  var(--forest-2) url("/Miles/assets/bg-jade.webp?v=2") 100% 0/auto 150% no-repeat}
.plan--pro .plan__price{color:var(--forest-dim)}
.plan--pro .ticks li{color:#E3EDE6}
.plan--pro .ticks li::before{background-color:var(--mint);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%2306140C' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.prices{display:grid;gap:10px;margin-top:26px}
.prices div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 14px;padding:14px 18px;border-radius:16px;
  background:rgba(242,245,243,.06);border:1px solid var(--forest-line)}
.prices dt{font-weight:600;color:#fff}
.prices dt small{display:block;font-size:.84rem;font-weight:500;color:var(--forest-dim)}
.prices dd{flex:none;white-space:nowrap;font-size:1.3rem;font-weight:700;letter-spacing:-.02em;color:var(--mint);font-variant-numeric:tabular-nums}
.odo{white-space:nowrap}
.plan__note{margin-top:16px;font-size:.94rem;color:var(--forest-dim)}
.plans__fine{margin-top:22px;font-size:.88rem;color:var(--dim);max-width:86ch}
@media (min-width:860px){.plans{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:22px;align-items:stretch}}

/* ---------- FAQ ---------- */
.faq{margin-top:36px;display:grid;gap:12px;max-width:820px}
.faq details{border-radius:20px;background:var(--surface);border:1px solid var(--line);overflow:hidden}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;cursor:pointer;list-style:none;
  font-weight:600;font-size:1.06rem;letter-spacing:-.01em}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:11px;height:11px;border-right:2px solid var(--brand);border-bottom:2px solid var(--brand);
  transform:rotate(45deg);transition:transform .3s var(--ease);margin-right:4px}
.faq summary:focus-visible{outline-offset:-3px;border-radius:20px}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq p{padding:0 24px 22px;color:var(--ink-2);max-width:64ch}
@media (min-width:920px){
  .faq__grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);gap:64px;align-items:start}
  .faq__grid .faq{margin-top:8px}
}

/* ---------- Closing ---------- */
.close{display:grid;justify-items:center;gap:20px;padding-block:clamp(34px,5vw,56px) clamp(56px,8vw,96px);text-align:center}
.close__tag{font-size:clamp(1.5rem,4vw,2.1rem);font-weight:700;letter-spacing:-.03em;line-height:1.1}
.close__tag .serif{font-weight:400}
.close__fine{max-width:58ch;font-size:.88rem;color:var(--dim)}

/* ---------- Footer ---------- */
.foot{border-top:1px solid var(--line);padding-block:56px 40px;font-size:.95rem}
.foot__top{display:grid;gap:36px}
.foot .nav__logo{font-size:1.15rem}
.foot .nav__logo img{box-shadow:0 2px 8px -3px rgba(0,0,0,.4)}
.foot__brand p{margin-top:12px;color:var(--ink-2);max-width:34ch}
.foot h2{font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--dim)}
.foot ul{margin-top:14px;display:grid;gap:9px}
.foot a{color:var(--ink-2);text-decoration:none}
.foot a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.foot__bottom{margin-top:44px;padding-top:22px;border-top:1px solid var(--line);color:var(--dim);font-size:.86rem}
@media (min-width:760px){.foot__top{grid-template-columns:1.5fr 1fr 1fr 1fr}.foot__top--3{grid-template-columns:1.6fr 1fr 1fr}}

/* ---------- Reveal on scroll ---------- */
.motion .rv{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease) calc(var(--d,0)*80ms),transform .9s var(--ease) calc(var(--d,0)*80ms)}
.motion .rv.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
  .motion .rv{opacity:1;transform:none}
  .btn:hover{transform:none}
}
@media print{.motion .rv{opacity:1!important;transform:none!important}.faq details::details-content{content-visibility:visible;display:block}.faq summary::after{display:none}}

/* ---------- The story (How it works) and the band of words ----------
   Without motion: a heading and three cards in a row; the phone is not shown. With motion the section pins
   and the phone changes screen with the step (see Motion). */
.story__grid{display:grid;gap:0}
.story__device,.story__road{display:none}
.band{overflow:hidden;padding-block:clamp(14px,2.6vw,34px);background:var(--forest-2);color:var(--forest-ink);border-top:1px solid var(--forest-line)}
.band__row{display:flex;gap:.34em;width:max-content;white-space:nowrap;font-size:clamp(2.6rem,8.4vw,8rem);font-weight:700;letter-spacing:-.045em;line-height:1.08}
.band__row i{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.01em;color:var(--mint)}
.band__row--b{margin-top:.04em;margin-left:-18%;color:transparent;-webkit-text-stroke:1.5px rgba(242,245,243,.42)}
.band__row--b i{color:transparent;-webkit-text-stroke:1.5px rgba(123,224,172,.6)}
.motion-toggle{position:absolute;z-index:2;right:max(14px,2.2vw);bottom:max(12px,1.6vw);min-height:36px;padding:0 14px;border-radius:999px;cursor:pointer;
  font:600 .8rem/1 var(--sans);color:var(--forest-ink);background:rgba(6,30,20,.6);border:1px solid rgba(242,245,243,.38);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.motion-toggle:hover{background:rgba(6,30,20,.85)}
.motion-toggle[hidden]{display:none}
@media (max-width:759px){.motion-toggle{top:auto;bottom:calc(100% - 133.33vw + 10px);right:12px}}

/* ---------- Motion ----------
   Everything below applies only when <html> has the class "motion": the head script sets it unless the
   visitor prefers reduced motion, has paused it, or the address has ?motion=off (?motion=on forces it).
   Without it the page is the same static composition. Miles/motion.js only feeds numbers and marks arrivals:
     --p  on [data-p]     how far the element has travelled through the window, 0 to 1, .5 when centred
     --e  on a scene's section   how far its layers have come together, 0 to 1 (eased)
     --x  on the hero     how far the hero has left the window, 0 to 1
     --q  on the story    how far through the pinned story, 0 to 1; data-step is 0, 1 or 2
     --px, --py, --mx, --my on the hero   the pointer, -1 to 1 and in percent
     --sp on .road        page scroll, 0 to 1
     .is-in on [data-io] and on the hero scene; .is-live on what is near the window */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.road{display:none}

/* --- Scenes. A scene opens from a card to the full width as it scrolls in, while its layers come together from
   where --fx, --fy, --fr and --fs put them; then background and layers keep drifting at their own depth (--z). */
.motion .bn:not(.bn--hero) .scene{clip-path:inset(calc((1 - var(--e,1))*11%) calc((1 - var(--e,1))*8%) round calc((1 - var(--e,1))*56px))}
.motion .scene__bg{scale:calc(1.1 + var(--x,0)*.3 + (1 - var(--e,1))*.18);translate:0 calc((var(--p,.5) - .5)*8%)}
.motion .layer{
  opacity:min(1,var(--e,1)*2.2);
  translate:
    calc((1 - var(--e,1))*var(--fx,0%) + var(--x,0)*var(--ox,0vw) + var(--px,0)*var(--z,1)*var(--u)*1.7)
    calc((1 - var(--e,1))*var(--fy,0%) + var(--x,0)*var(--oy,0vw) + (.5 - var(--p,.5))*var(--z,1)*var(--u)*8 + var(--py,0)*var(--z,1)*var(--u)*1.2);
  rotate:calc((1 - var(--e,1))*var(--fr,0deg) + var(--x,0)*var(--or,0deg));
  scale:calc(1 - (1 - var(--e,1))*(1 - var(--fs,1)))}
.motion .bn.is-live .layer,.motion .bn.is-live .scene__bg{will-change:translate,rotate,scale}
/* the copy over a scene comes with it (where the copy sits above the scene on phones, it reveals on its own) */
.motion .bn--tall:not(.bn--hero) .bn__copy{opacity:min(1,var(--e,1)*1.6);translate:0 calc((1 - var(--e,1))*5vw)}
@media (min-width:760px){.motion .bn:not(.bn--hero) .bn__copy{opacity:min(1,var(--e,1)*1.6);translate:0 calc((1 - var(--e,1))*5vw)}}

/* --- Hero. The camera pulls back: the stage brightens and settles, the devices arrive out of the depth one after
   the other, the headline comes up line by line. Then the devices hover, lean toward the pointer, and fly apart
   as the page is scrolled away. If the script never arrives the devices simply appear after four seconds. */
.motion .scene--hero .scene__bg{animation:stage-in 2.8s cubic-bezier(.2,.7,.2,1) both}
@keyframes stage-in{from{transform:scale(1.4);filter:brightness(.25) saturate(.6)}to{transform:none;filter:none}}
.motion .scene--hero:not(.is-in) .layer__in{opacity:0;animation:appear 0s linear 4s forwards}
.motion .scene--hero.is-in .layer__in{animation:layer-in 1.9s cubic-bezier(.16,1,.3,1) var(--fd,0ms) both}
@keyframes appear{to{opacity:1}}
@keyframes layer-in{
  0%{opacity:0;transform:translate(var(--fx,0),var(--fy,0)) rotate(var(--fr,0deg)) scale(1.5);filter:blur(18px)}
  35%{opacity:1}
  100%{opacity:1;transform:none;filter:blur(0)}
}
.motion .bn.is-live .scene--hero.is-in .layer img{animation:hover-a 5.5s ease-in-out 2.3s infinite alternate}
.motion .bn.is-live .scene--hero.is-in .layer + .layer img{animation-name:hover-b;animation-duration:6.5s}
@keyframes hover-a{from{transform:translateY(-1.5%) rotate(-.8deg)}to{transform:translateY(1.7%) rotate(.9deg)}}
@keyframes hover-b{from{transform:translateY(1.3%) rotate(.9deg)}to{transform:translateY(-1.6%) rotate(-.8deg)}}
/* a light that follows the pointer over the stage, and one that passes across it now and then */
.motion .scene--hero .scene__fx{background:radial-gradient(38% 46% at var(--mx,70%) var(--my,40%),rgba(190,255,214,.2),transparent 70%)}
.scene__fx::after{content:"";position:absolute;inset:-20% -40%;opacity:0;background:linear-gradient(104deg,transparent 43%,rgba(255,255,255,.2) 50%,transparent 57%)}
.motion .bn.is-live .scene--hero .scene__fx::after{animation:sweep 7s cubic-bezier(.3,.1,.3,1) 1.2s infinite}
@keyframes sweep{0%{opacity:0;translate:-55% 0}6%{opacity:1}34%{opacity:0;translate:55% 0}100%{opacity:0;translate:55% 0}}
.motion .bn--hero .bn__copy{opacity:calc(1 - var(--x,0)*1.7);translate:0 calc(var(--x,0)*-9vw)}
.motion .bn--hero .eyebrow,.motion .bn--hero .bn__lede,.motion .bn--hero .bn__more{animation:rise 1s var(--ease) both}
.motion .bn--hero .eyebrow{animation-delay:.25s}
.motion .bn--hero .bn__lede{animation-delay:1s}
.motion .bn--hero .bn__more{animation-delay:1.2s}
@keyframes rise{from{opacity:0;transform:translateY(26px)}}

/* --- Headlines arrive a line at a time from behind a mask (the padding keeps the italic's overhang inside it). */
.motion .lines .ln{overflow:hidden;padding:.08em .14em .2em;margin:-.08em -.14em -.2em}
.motion .lines .ln--serif{margin-top:0;padding-bottom:.28em;margin-bottom:-.2em}
.motion .lines .ln > *{display:inline-block;translate:0 118%;rotate:4deg;transform-origin:0 100%;transition:translate 1.1s var(--ease),rotate 1.1s var(--ease)}
.motion .lines .ln--serif > *{transition-delay:.14s}
.motion .is-in .lines .ln > *{translate:none;rotate:none}
.motion .bn--tall:not(.bn--hero) .lines .ln > *{translate:0 calc((1 - min(1,var(--e,1)*1.25))*118%);rotate:calc((1 - min(1,var(--e,1)*1.25))*4deg);transition:none}
@media (min-width:760px){.motion .bn:not(.bn--hero) .lines .ln > *{translate:0 calc((1 - min(1,var(--e,1)*1.25))*118%);rotate:calc((1 - min(1,var(--e,1)*1.25))*4deg);transition:none}}
.motion .bn--hero .lines .ln > *{transition:none;animation:line-in 1.3s var(--ease) .5s both}
.motion .bn--hero .lines .ln--serif > *{animation-delay:.68s}
@keyframes line-in{from{translate:0 118%;rotate:5deg}to{translate:none;rotate:none}}
.motion .rv .eyebrow::before{clip-path:inset(0 100% 0 0);transition:clip-path .9s var(--ease) .25s}
.motion .rv.is-in .eyebrow::before{clip-path:inset(0)}

/* --- The band of words slides with the scroll, the two rows against each other. */
.motion .band__row{translate:calc((.5 - var(--p,.5))*46%) 0}
.motion .band__row--b{translate:calc((var(--p,.5) - .5)*46%) 0}

/* --- The story. On screens with room for it the section is 3.4 windows tall and its content stays put while the
   steps pass: the cards take turns, the phone changes screen and turns a little, and the car drives the road from
   stop to stop. Narrow or short windows keep the three cards in their plain layout (the route is drawn once). */
.motion .trio::before{clip-path:inset(0 100% 0 0);transition:clip-path 1.7s cubic-bezier(.4,0,.2,1) .15s}
.motion .trio.is-in::before{clip-path:inset(0)}
.motion .trio .trio__n::before{scale:0;transition:scale .7s cubic-bezier(.2,1.4,.3,1) calc(var(--d,0)*520ms + 250ms)}
.motion .trio.is-in .trio__n::before{scale:1}
@media (min-width:900px) and (min-height:700px){
  .motion .story{height:340vh;padding-block:0}
  .motion .story__pin{position:sticky;top:64px;height:calc(100vh - 64px);display:flex;align-items:center;overflow:hidden}
  .motion .story__grid{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);grid-template-rows:auto auto;column-gap:clamp(32px,6vw,96px);align-items:center;padding-bottom:86px}
  .motion .story__head{grid-area:1/1;opacity:1;transform:none}
  .motion .story__head .body{display:none}
  .motion .story .trio{grid-area:2/1;grid-template-columns:1fr;gap:10px;margin-top:26px}
  .motion .story .trio::before{display:none}
  .motion .story .trio .trio__n::before{scale:1;transition:none}
  .motion .story .trio__card{padding:16px 22px 18px;opacity:.34;scale:.96;transform-origin:0 50%;
    transition:opacity .5s var(--ease),scale .7s var(--ease),box-shadow .6s var(--ease),border-color .5s}
  .motion .story .trio__card h3{margin-top:8px;font-size:1.3rem}
  .motion .story .trio__card p{display:grid;grid-template-rows:0fr;margin-top:0;transition:grid-template-rows .6s var(--ease),margin-top .6s var(--ease)}
  .motion .story .trio__card p > span{overflow:hidden}
  .motion .story[data-step="0"] .trio__card:nth-child(1),.motion .story[data-step="1"] .trio__card:nth-child(2),.motion .story[data-step="2"] .trio__card:nth-child(3){
    opacity:1;scale:1;box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--brand) 45%,transparent)}
  .motion .story[data-step="0"] .trio__card:nth-child(1) p,.motion .story[data-step="1"] .trio__card:nth-child(2) p,.motion .story[data-step="2"] .trio__card:nth-child(3) p{grid-template-rows:1fr;margin-top:8px}
  .motion .story__device{display:block;grid-area:1/2/3/3;justify-self:center;perspective:1500px}
  .motion .story__phone{position:relative;height:min(68vh,640px);aspect-ratio:1350/2760;
    transform:rotateY(calc((.5 - var(--q,0))*30deg)) rotateX(calc((var(--q,0) - .5)*-8deg)) rotateZ(calc((var(--q,0) - .5)*-5deg)) translateY(calc((.5 - var(--q,0))*5%));
    filter:drop-shadow(0 40px 46px rgba(8,34,22,.42))}
  .motion .story__screen{position:absolute;left:5.33%;top:2.5%;width:89.34%;height:95%;border-radius:12.5% / 5.8%;overflow:hidden;
    opacity:0;scale:1.06;transition:opacity .55s ease,scale .9s var(--ease)}
  .motion .story__screen img{width:100%;height:100%;object-fit:cover}
  .motion .story[data-step="0"] .story__screen:nth-of-type(1),.motion .story[data-step="1"] .story__screen:nth-of-type(2),.motion .story[data-step="2"] .story__screen:nth-of-type(3){opacity:1;scale:1}
  .motion .story__bezel{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
  /* the road along the bottom of the window, its three stops, and the car */
  .motion .story__road{display:block;position:absolute;left:0;right:0;bottom:0;height:74px;pointer-events:none}
  .motion .story__road::before{content:"";position:absolute;left:0;right:0;bottom:0;height:34px;background:var(--road-c);box-shadow:inset 0 3px 0 rgba(0,0,0,.08)}
  .motion .story__road::after{content:"";position:absolute;left:0;right:0;bottom:15px;height:3px;background:repeating-linear-gradient(90deg,rgba(16,62,44,.55) 0 22px,transparent 22px 44px)}
  .motion .story__stop{position:absolute;bottom:42px;translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);opacity:.5;transition:opacity .5s,color .5s}
  .motion .story__stop::after{content:"";width:12px;height:12px;border-radius:50%;background:var(--bg);box-shadow:0 0 0 3px currentColor}
  .motion .story__stop:nth-child(1){left:17%}.motion .story__stop:nth-child(2){left:50%}.motion .story__stop:nth-child(3){left:83%}
  .motion .story[data-step="0"] .story__stop:nth-child(1),.motion .story[data-step="1"] .story__stop:nth-child(-n+2),.motion .story[data-step="2"] .story__stop{opacity:1;color:var(--brand)}
  .motion .story__car{position:absolute;z-index:1;bottom:12px;left:calc(4% + var(--q,0)*88%);width:96px;height:auto;translate:-50% 0;filter:drop-shadow(0 6px 5px rgba(0,0,0,.28))}
  .motion .story__car .wheel{transform-box:fill-box;transform-origin:50% 50%;rotate:calc(var(--q,0)*4200deg)}
}
@media (min-width:900px) and (min-height:700px) and (max-height:839px){
  .motion .story__head .lede{display:none}
  .motion .story__head .h2{margin-top:10px;font-size:min(3.4rem,6.6vh)}
  .motion .story .trio{margin-top:16px;gap:8px}
  .motion .story .trio__card{padding:12px 20px 14px}
  .motion .story .trio__card h3{margin-top:6px;font-size:1.2rem}
  .motion .story .trio__card p{font-size:.95rem}
  .motion .story__grid{padding-bottom:78px}
  .motion .story__phone{height:min(62vh,640px)}
}

/* the same story on phones: one card at a time under a smaller phone */
@media (max-width:899px) and (min-height:600px){
  .motion .story{height:320vh;padding-block:0}
  .motion .story__pin{position:sticky;top:64px;height:calc(100vh - 64px);height:calc(100svh - 64px);overflow:hidden}
  .motion .story__grid{height:100%;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding-top:20px;padding-bottom:78px}
  .motion .story__head{opacity:1;transform:none}
  .motion .story__head .lede,.motion .story__head .body{display:none}
  .motion .story__head .h2{margin-top:8px;font-size:clamp(1.5rem,6.6vw,2.2rem)}
  .motion .story__head .ln{display:inline}
  .motion .story__head .lines .ln{overflow:visible;padding:0;margin:0}
  .motion .story__head .lines .ln > *{translate:none;rotate:none}
  .motion .story__head{grid-row:1}
  .motion .story__device{grid-row:2;display:flex;justify-content:center;min-height:0;perspective:1200px}
  .motion .story__phone{position:relative;height:100%;max-height:460px;aspect-ratio:1350/2760;
    transform:rotateY(calc((.5 - var(--q,0))*34deg)) rotateZ(calc((var(--q,0) - .5)*-5deg));filter:drop-shadow(0 26px 28px rgba(8,34,22,.4))}
  .motion .story__screen{position:absolute;left:5.33%;top:2.5%;width:89.34%;height:95%;border-radius:12.5% / 5.8%;overflow:hidden;opacity:0;scale:1.06;transition:opacity .5s ease,scale .8s var(--ease)}
  .motion .story__screen img{width:100%;height:100%;object-fit:cover}
  .motion .story[data-step="0"] .story__screen:nth-of-type(1),.motion .story[data-step="1"] .story__screen:nth-of-type(2),.motion .story[data-step="2"] .story__screen:nth-of-type(3){opacity:1;scale:1}
  .motion .story__bezel{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
  .motion .story .trio{grid-row:3;display:grid;gap:0;margin-top:0}
  .motion .story .trio::before{display:none}
  .motion .story .trio .trio__n::before{scale:1;transition:none}
  .motion .story .trio__card{grid-area:1/1;padding:14px 18px 16px;opacity:0;translate:0 18px;transition:opacity .45s ease,translate .7s var(--ease)}
  .motion .story .trio__card h3{margin-top:8px;font-size:1.25rem}
  .motion .story .trio__card p{margin-top:6px;font-size:.94rem;line-height:1.45}
  .motion .story[data-step="0"] .trio__card:nth-child(1),.motion .story[data-step="1"] .trio__card:nth-child(2),.motion .story[data-step="2"] .trio__card:nth-child(3){opacity:1;translate:none}
  .motion .story__road{display:block;position:absolute;left:0;right:0;bottom:0;height:62px;pointer-events:none}
  .motion .story__road::before{content:"";position:absolute;left:0;right:0;bottom:0;height:26px;background:var(--road-c);box-shadow:inset 0 3px 0 rgba(0,0,0,.08)}
  .motion .story__road::after{content:"";position:absolute;left:0;right:0;bottom:11px;height:3px;background:repeating-linear-gradient(90deg,rgba(16,62,44,.55) 0 16px,transparent 16px 32px)}
  .motion .story__stop{position:absolute;bottom:32px;translate:-50% 0;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.62rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--dim);opacity:.5;transition:opacity .5s,color .5s}
  .motion .story__stop::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--bg);box-shadow:0 0 0 2.5px currentColor}
  .motion .story__stop:nth-child(1){left:17%}.motion .story__stop:nth-child(2){left:50%}.motion .story__stop:nth-child(3){left:83%}
  .motion .story[data-step="0"] .story__stop:nth-child(1),.motion .story[data-step="1"] .story__stop:nth-child(-n+2),.motion .story[data-step="2"] .story__stop{opacity:1;color:var(--brand)}
  .motion .story__car{position:absolute;z-index:1;bottom:9px;left:calc(8% + var(--q,0)*84%);width:68px;height:auto;translate:-50% 0;filter:drop-shadow(0 5px 4px rgba(0,0,0,.28))}
  .motion .story__car .wheel{transform-box:fill-box;transform-origin:50% 50%;rotate:calc(var(--q,0)*3000deg)}
}
.story__car{color:#1F6B47}
@media (prefers-color-scheme:dark){.story__car{color:#4FBF86}}

/* --- Phone stages: the phone turns in space as it passes, and the stage behind it drifts. */
.motion .stage{perspective:1300px}
.motion .stage::before{inset:-9% 0;translate:0 calc((var(--p,.5) - .5)*11%)}
.motion .stage .phone{transform:rotateY(calc((var(--p,.5) - .5)*-44deg)) rotateX(calc((.5 - var(--p,.5))*16deg)) translateY(calc((.5 - var(--p,.5))*14%));transform-origin:50% 60%;will-change:transform}
.motion .feature--flip .stage .phone{transform:rotateY(calc((var(--p,.5) - .5)*44deg)) rotateX(calc((.5 - var(--p,.5))*16deg)) translateY(calc((.5 - var(--p,.5))*14%))}
.motion .stage--pair .phone + .phone{transform:rotateY(calc((var(--p,.5) - .5)*44deg)) rotateX(calc((.5 - var(--p,.5))*16deg)) translateY(calc((var(--p,.5) - .5)*18%))}
/* Small cards lean toward the pointer (--rx, --ry from the script) and their phone lifts. */
.motion .glance__card.rv.is-in{transform:perspective(900px) rotateX(calc(var(--ry,0)*-7deg)) rotateY(calc(var(--rx,0)*9deg));transition:transform .45s var(--ease),box-shadow .5s var(--ease),opacity .8s var(--ease)}
.motion .glance__card .phone{transition:translate .6s var(--ease)}
@media (hover:hover){
  .motion .glance__card:hover{box-shadow:var(--shadow)}
  .motion .glance__card:hover .phone{translate:0 -16px}
}
/* The app on the phone-only privacy and Duo blocks rises in. */
.motion .bn__alt img{opacity:0;translate:0 22%;rotate:-5deg;transition:opacity .7s ease,translate 1.3s var(--ease),rotate 1.3s var(--ease)}
.motion .bn__alt img + img{transition-delay:.2s;rotate:5deg}
.motion .bn__alt.is-in img{opacity:1;translate:none;rotate:none}

/* --- Pro: the prices roll into place like an odometer, and a light crosses the card. */
/* every character, rolling or not, is a cell of the same height, so the digits sit on the line of the "$" and the "." */
.odo__roll{display:inline-flex;align-items:flex-start;line-height:1.25}
.odo__c,.odo__d{display:block;height:1.25em}
.odo__d{overflow:hidden}
.odo__d > span{display:block;transition:translate 2.2s cubic-bezier(.2,.8,.2,1) calc(var(--i,0)*130ms + 350ms)}
.odo__d b{display:block;height:1.25em;font-weight:inherit}
.plans.is-in .odo__d > span{translate:0 calc(var(--n)*-1.25em)}
.motion .plan--pro{position:relative;overflow:hidden}
.motion .plan--pro::after{content:"";position:absolute;inset:-10% -50%;pointer-events:none;opacity:0;background:linear-gradient(104deg,transparent 44%,rgba(255,255,255,.13) 50%,transparent 56%)}
.motion .plans.is-in .plan--pro::after{animation:cross 2.4s cubic-bezier(.3,.1,.3,1) .5s both}
@keyframes cross{0%{opacity:0;translate:-55% 0}12%{opacity:1}100%{opacity:0;translate:55% 0}}
.motion .plans .plan{transition:translate 1.1s var(--ease),rotate 1.1s var(--ease),opacity .8s ease}
.motion .plans:not(.is-in) .plan{opacity:0;translate:-8% 12%;rotate:-3deg}
.motion .plans:not(.is-in) .plan--pro{translate:8% 16%;rotate:3deg}
.motion .plans .plan--pro{transition-delay:.12s}

/* --- The road under the nav fills as the page is driven, with the car at the front. */
.motion .road{display:block;position:absolute;left:0;right:0;bottom:-2px;height:3px;pointer-events:none}
.motion .road i{position:absolute;inset:0;transform-origin:0 50%;scale:var(--sp,0) 1;background:linear-gradient(90deg,#BDAE86,#EFE3C6)}
.motion .road::after{content:"";position:absolute;bottom:1px;left:calc(var(--sp,0)*(100% - 34px));width:30px;height:14px;opacity:min(1,var(--sp,0)*60);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath fill='%23EFE3C6' d='M2 9.6c0-1.6 1-2.6 2.8-2.9l3.4-.6 2.7-3.3c.7-.9 1.6-1.3 2.7-1.3h5.9c1.2 0 2.2.5 2.9 1.5l2 3 2.2.5c1.2.3 1.9 1.2 1.9 2.5v1.2c0 .8-.5 1.3-1.2 1.3H25a3 3 0 0 0-6 0h-7a3 3 0 0 0-6 0H3.2c-.7 0-1.2-.5-1.2-1.2z'/%3E%3Ccircle cx='9' cy='11.5' r='2.1' fill='%237BE0AC'/%3E%3Ccircle cx='22' cy='11.5' r='2.1' fill='%237BE0AC'/%3E%3C/svg%3E") center/contain no-repeat}

/* FAQ answers open with a slide where the browser can animate to an automatic height. */
@supports (interpolate-size:allow-keywords){
  .motion .faq details{interpolate-size:allow-keywords}
  .motion .faq details::details-content{block-size:0;overflow:hidden;transition:block-size .5s var(--ease),content-visibility .5s allow-discrete}
  .motion .faq details[open]::details-content{block-size:auto}
}
@media print{.motion .layer,.motion .layer__in,.motion .stage .phone,.motion .bn__alt img,.motion .plans .plan{opacity:1!important;animation:none!important;transform:none!important;translate:none!important;rotate:none!important;scale:none!important}.motion .lines .ln > *{translate:none!important;rotate:none!important;animation:none!important}.motion .bn .scene{clip-path:none!important}.motion .story{height:auto!important}.motion .story__pin{position:static!important;height:auto!important}.motion .story .trio__card{opacity:1!important;scale:none!important;translate:none!important;grid-area:auto!important}.motion .story .trio__card p{grid-template-rows:1fr!important}.motion .story__device,.motion .story__road{display:none!important}}

/* ---------- Text pages: privacy, support and terms ---------- */
.doc{max-width:calc(760px + var(--gutter)*2);margin-inline:auto;padding:clamp(40px,7vw,84px) var(--gutter) clamp(64px,9vw,112px)}
.doc h1{margin-top:16px;font-size:clamp(2.3rem,7vw,3.5rem);line-height:1.04;font-weight:700;letter-spacing:-.04em;text-wrap:balance}
.doc h1 .serif{display:block;margin-top:.08em;letter-spacing:-.01em;padding-bottom:.08em;line-height:1.1}
.doc .doc__lede{margin-top:18px;font-size:clamp(1.1rem,2vw,1.25rem);color:var(--ink-2);max-width:54ch}
.doc .doc__date{margin-top:14px;font-size:.9rem;color:var(--dim)}
.doc h2{margin:56px 0 0;font-size:clamp(1.45rem,3.2vw,1.8rem);line-height:1.15;letter-spacing:-.03em}
.doc p{margin-top:14px;color:var(--ink-2)}
.doc p strong,.doc li strong{color:var(--ink);font-weight:600}
.doc a:not(.btn){color:var(--brand);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;overflow-wrap:anywhere}
.doc ul,.doc ol{margin-top:14px;padding-left:1.35em;display:grid;gap:9px;color:var(--ink-2)}
.doc ul{list-style:disc}
.doc ol{list-style:decimal}
.doc li::marker{color:var(--brand);font-weight:600}
.doc__box{margin-top:28px;padding:22px 24px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.doc__box > :first-child{margin-top:0}
.doc__box h2{margin-top:0;font-size:1.15rem;letter-spacing:-.01em}
.doc__cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:26px}
.doc__cta span{color:var(--ink-2);font-size:.95rem}
.doc .faq{margin-top:18px;max-width:none}
.doc .faq p{margin-top:0}
.doc .doc__back{margin-top:48px}
