/* ==========================================================================
   TriGo landing page
   Brand colours sampled from the logo: charcoal #2F2F2F, green #0FCF79.
   The rounded i-dot of the logo is the page's marker shape.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2f2f2f;
  --ink-soft: #566159;
  --green: #0fcf79;
  --green-deep: #08804a;
  --green-soft: #d9f5e7;
  --forest: #0b3325;
  --mint: #f0f8f4;
  --line: #d9e6de;
  --paper: #fff;

  --font-display: "Outfit", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
}

.ic {
  width: 1.2em; height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; border-radius: 6px; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 999px; z-index: 100;
  transition: top .15s;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green);
  color: var(--ink);
  font: 600 1rem/1 var(--font-body);
  padding: 17px 28px;
  border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background-color .2s;
  box-shadow: 0 8px 20px -8px rgba(15, 207, 121, .7);
}
.btn::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(15, 207, 121, .8); }
.btn:hover::after { left: 130%; transition: left .6s ease; }
.btn:active { transform: translateY(0); }
.btn-small { padding: 12px 20px; font-size: .95rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(20, 50, 35, .25);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); font-weight: 500; }
.nav a:not(.btn) { position: relative; text-decoration: none; padding: 6px 2px; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; border-radius: 12px;
}
.nav-toggle-bars, .nav-toggle-bars::before {
  display: block; width: 22px; height: 2.5px;
  background: var(--ink); border-radius: 2px; margin: 0 auto; position: relative;
}
.nav-toggle-bars::before { content: ""; position: absolute; top: 7px; left: 0; }
.nav-toggle-bars { top: -4px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .js .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .js .nav-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; padding-block: 16px; }
  .nav-open { background: var(--paper); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin-top: -76px;
  padding-block: calc(76px + clamp(40px, 6vw, 72px)) clamp(48px, 7vw, 88px);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #f3faf6 0%, #fff 78%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(8, 128, 74, .16) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 75% 40%, #000 0%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-a { width: 460px; height: 460px; right: 4%; top: 6%; background: #8fe9be; animation: drift 14s ease-in-out infinite alternate; }
.blob-b { width: 340px; height: 340px; right: 30%; bottom: -6%; background: #c8f4de; animation: drift 17s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(2.7rem, 5.8vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.hero h1 span { display: block; }

.lead {
  margin-top: 26px; max-width: 33rem;
  font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55;
  color: var(--ink-soft);
}

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.store-row-center { justify-content: center; }

.store {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 176px; height: 58px;
  padding: 0 22px 0 16px;
  background: #0c0c0c; color: #fff; text-decoration: none;
  border: 1.5px solid #6b6f6d; border-radius: 14px;
  transition: transform .18s var(--ease), box-shadow .2s, border-color .2s;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .55);
}
.store:hover { transform: translateY(-2px); border-color: #fff; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6); }
.store-logo { width: 28px; height: 28px; flex: none; }
.store-txt { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.store-txt small { font: 500 .66rem/1 var(--font-body); letter-spacing: .04em; opacity: .9; margin-bottom: 4px; }
.store-txt b { font: 600 1.28rem/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.store.is-soon::after {
  content: "Soon";
  position: absolute; top: -9px; right: -7px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--green); color: var(--ink);
  font: 700 .68rem/1.2 var(--font-body);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4);
}

@media (max-width: 560px) {
  .store-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .store { min-width: 0; padding: 0 12px; justify-content: center; gap: 9px; }
  .store-logo { width: 24px; height: 24px; }
  .store-txt b { font-size: 1.05rem; }
  .store-txt small { font-size: .6rem; }
}
@media (max-width: 340px) { .store-row { grid-template-columns: 1fr; } }

.hero-foot { margin-top: 22px; font-size: .95rem; color: var(--ink-soft); }

/* One orchestrated entrance for the hero */
.rise { animation: rise .9s var(--ease) both; }
.r1 { animation-delay: .05s; } .r2 { animation-delay: .2s; } .r3 { animation-delay: .32s; }
.r4 { animation-delay: .42s; } .r5 { animation-delay: .3s; animation-duration: 1.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Hero stage + phone ---------- */

.stage { position: relative; display: grid; justify-items: center; }

.chip-float {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  font-weight: 600; font-size: .92rem;
  box-shadow: 0 18px 36px -18px rgba(8, 60, 38, .45);
  animation: bob 6s ease-in-out infinite;
}
.chip-float .ic { color: var(--green-deep); }
.chip-a { left: -2%; top: 20%; }
.chip-b { right: -2%; top: 62%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.phone-float { animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: perspective(1500px) rotateY(-9deg) rotateX(3deg) translateY(0); }
  50%      { transform: perspective(1500px) rotateY(-5deg) rotateX(2deg) translateY(-14px); }
}

.phone-wrap { --k: 1; position: relative; width: calc(300px * var(--k)); height: calc(610px * var(--k)); }
.phone {
  position: absolute; left: 0; top: 0;
  width: 300px; height: 610px;
  transform: scale(var(--k)); transform-origin: 0 0;
  background: #1b1e1d;
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #3b403e inset,
    0 0 0 1px #000,
    0 50px 90px -30px rgba(8, 60, 38, .55),
    0 20px 40px -20px rgba(0, 0, 0, .45);
}
.phone::before {
  content: ""; position: absolute; right: -3px; top: 130px; width: 3px; height: 64px;
  background: #2c302e; border-radius: 0 3px 3px 0;
}
.phone::after {
  content: ""; position: absolute; left: -3px; top: 110px; width: 3px; height: 38px;
  background: #2c302e; border-radius: 3px 0 0 3px;
}
.screen {
  position: relative; width: 280px; height: 590px;
  border-radius: 38px; overflow: hidden; background: #e8f0ec;
  isolation: isolate;
}
.island {
  position: absolute; top: 10px; left: 50%; width: 78px; height: 22px; margin-left: -39px;
  background: #0b0c0c; border-radius: 14px; z-index: 8;
}
.status {
  position: absolute; top: 0; left: 0; right: 0; height: 44px; z-index: 7;
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 24px 0 28px; font: 600 12px var(--font-body); color: var(--ink);
}
.status-r { display: flex; gap: 3px; align-items: flex-end; }
.status-r i { width: 4px; background: var(--ink); border-radius: 1px; }
.status-r i:nth-child(1) { height: 5px; } .status-r i:nth-child(2) { height: 8px; } .status-r i:nth-child(3) { height: 11px; }

/* Map layer */
.mapwrap { position: absolute; inset: 0; transition: transform 1.1s cubic-bezier(.4, 0, .2, 1); z-index: 1; }
.map { display: block; }
.phone[data-stage="1"] .mapwrap { transform: translateY(-50px); }
.phone[data-stage="2"] .mapwrap { transform: translateY(0); }
.phone[data-stage="3"] .mapwrap { transform: translateY(-92px); }
.phone[data-stage="4"] .mapwrap { transform: translateY(-40px); }

.route, .route-casing { stroke-dasharray: 1; stroke-dashoffset: 1; }
.phone[data-stage="2"] .route, .phone[data-stage="3"] .route, .phone[data-stage="4"] .route,
.phone[data-stage="2"] .route-casing, .phone[data-stage="3"] .route-casing, .phone[data-stage="4"] .route-casing {
  stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s ease .35s;
}

.pin-from {
  position: absolute; left: 60px; top: 380px; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--green); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.pin-from::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  background: rgba(15, 207, 121, .3); animation: pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.pin-to {
  position: absolute; left: 215px; top: 150px; width: 14px; height: 26px; margin: -13px 0 0 -7px;
  border-radius: 8px; background: var(--ink); border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
  opacity: 0;
}
.phone[data-stage="2"] .pin-to, .phone[data-stage="3"] .pin-to, .phone[data-stage="4"] .pin-to { opacity: 1; }
.phone[data-stage="2"] .pin-to { animation: pinDrop .6s var(--ease) 1.3s both; }
@keyframes pinDrop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

.radar { position: absolute; left: 60px; top: 380px; opacity: 0; transition: opacity .3s; }
.radar i {
  position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid var(--green); transform: scale(.1); opacity: 0;
}
.phone[data-stage="3"] .radar { opacity: 1; }
.phone[data-stage="3"] .radar i { animation: radar 2.2s ease-out infinite; }
.phone[data-stage="3"] .radar i:nth-child(2) { animation-delay: .7s; }
.phone[data-stage="3"] .radar i:nth-child(3) { animation-delay: 1.4s; }
@keyframes radar { 0% { transform: scale(.1); opacity: .9; } 100% { transform: scale(1.2); opacity: 0; } }

.drv-mark {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
  offset-path: path("M215 470H60V380");
  offset-anchor: 50% 50%;
  offset-rotate: 0deg;
  offset-distance: 0%;
  opacity: 0;
}
.drv-mark .ic { width: 16px; height: 16px; }
.phone[data-stage="4"] .drv-mark { animation: drive 3.8s cubic-bezier(.5, 0, .3, 1) .5s both; }
@keyframes drive {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 1; }
}

/* Route card (step 2) */
.routecard {
  position: absolute; z-index: 4; left: 14px; right: 14px; top: 46px;
  background: #fff; border-radius: 18px; padding: 8px 14px;
  box-shadow: 0 10px 26px -10px rgba(10, 50, 35, .35);
  opacity: 0; transform: translateY(-14px);
  transition: opacity .35s, transform .5s var(--ease);
}
.phone[data-stage="2"] .routecard { opacity: 1; transform: none; transition-delay: .1s; }
.rc-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; font: 600 13px var(--font-body); }
.rc-row + .rc-row { border-top: 1px solid #edf2ef; }
.rc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; margin: 0 1px; }
.rc-pill { width: 10px; height: 18px; border-radius: 6px; background: var(--ink); flex: none; margin: -2px 1px; }

/* Bottom sheets */
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: #fff; border-radius: 26px 26px 0 0;
  padding: 10px 16px 20px;
  box-shadow: 0 -12px 34px rgba(15, 45, 32, .16);
  opacity: 0; transform: translateY(44px); pointer-events: none;
  transition: opacity .3s, transform .55s var(--ease);
}
.phone[data-stage="1"] .s1, .phone[data-stage="2"] .s2,
.phone[data-stage="3"] .s3, .phone[data-stage="4"] .s4 { opacity: 1; transform: none; transition-delay: .12s; }

.grab { display: block; width: 36px; height: 4px; border-radius: 2px; background: #d8e2dc; margin: 0 auto 14px; }
.sh-title { font: 600 22px/1.15 var(--font-display); margin-bottom: 14px; }
.sh-small { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.sh-label { font: 600 13px var(--font-body); color: var(--ink-soft); }

/* Step 1 */
.search {
  display: flex; align-items: center; gap: 10px;
  background: #f1f6f3; border-radius: 14px; padding: 13px 14px;
  font: 600 14px var(--font-body); color: var(--ink);
}
.search .ic { color: var(--ink-soft); width: 18px; height: 18px; }
.typed { display: inline-block; white-space: nowrap; }
.caret { width: 2px; height: 18px; background: var(--green-deep); margin-left: -6px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.phone[data-stage="1"] .typed { animation: typing 1.5s steps(14) .8s both; }
@keyframes typing { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tile {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 8px; border-radius: 14px; border: 1.5px solid #e2ebe6;
  font: 600 14px var(--font-body);
}
.tile.on { border-color: var(--green); background: var(--green-soft); }
.phone[data-stage="1"] .tile.on { animation: tilePulse 1.6s ease 2.4s 1 both; }
@keyframes tilePulse { 0%, 100% { transform: none; } 40% { transform: scale(.95); } }

.recents { display: flex; gap: 8px; margin-top: 12px; }
.rchip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px; background: #f1f6f3;
  font: 600 12px var(--font-body); color: var(--ink-soft);
}
.rchip .ic { width: 14px; height: 14px; }

/* Step 2 */
.stepper { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 14px; }
.rb {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--ink); font: 600 24px/1 var(--font-body);
  transition: transform .15s, background-color .15s;
}
.rb.tap { transform: scale(.88); background: var(--green); }
.price { font: 600 38px/1 var(--font-display); letter-spacing: -.02em; }
.price.bump { animation: bump .25s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }
.cta {
  display: block; text-align: center; background: var(--green); border-radius: 999px;
  padding: 14px; font: 700 15px var(--font-body);
  transition: transform .15s, background-color .2s;
}
.cta.press { transform: scale(.96); background: #0bb869; }

/* Step 3 */
.spin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid var(--green-soft); border-top-color: var(--green-deep);
  animation: spin .8s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.t-b { display: none; }
.phone[data-stage="3"] .t-a { animation: tOut .01s linear 2.5s forwards; }
.phone[data-stage="3"] .t-b { display: inline; animation: fadeIn .4s ease 2.5s both; }
.phone[data-stage="3"] .sh-small .spin { animation: spin .8s linear infinite, tOut .01s linear 2.5s forwards; }
@keyframes tOut { to { opacity: 0; position: absolute; visibility: hidden; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.bid {
  --d: .6s;
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px;
  border: 1.5px solid #e4ece7; border-radius: 16px; padding: 8px 12px 8px 8px;
  margin-bottom: 8px; background: #fff;
}
.b2 { --d: 1.2s; } .b3 { --d: 1.8s; }
.av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; }
.av .ic { width: 18px; height: 18px; }
.bi b, .bp b { display: block; font: 700 14px/1.2 var(--font-body); }
.bi small { font: 500 12px var(--font-body); color: var(--ink-soft); }
.bp { text-align: right; }
.bp b { font: 600 16px/1.1 var(--font-display); }
.bp em { font: 700 10.5px var(--font-body); font-style: normal; color: var(--green-deep); }
.bp em.ctr { color: #8a5b00; }

.phone[data-stage="3"] .bid { animation: bidIn .55s var(--ease) var(--d) both; }
.phone[data-stage="3"] .b1 { animation: bidIn .55s var(--ease) .6s both, pick .5s ease 3.3s forwards; }
.phone[data-stage="3"] .b2 { animation: bidIn .55s var(--ease) 1.2s both, dim .4s ease 3.4s forwards; }
.phone[data-stage="3"] .b3 { animation: bidIn .55s var(--ease) 1.8s both, dim .4s ease 3.4s forwards; }
@keyframes bidIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pick { to { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 3px rgba(15, 207, 121, .25); } }
@keyframes dim { to { opacity: .4; } }

/* Step 4 */
.eta { font: 500 13px var(--font-body); color: var(--ink-soft); margin: -8px 0 10px; }
.eta b { color: var(--ink); }
.tbar { height: 6px; border-radius: 3px; background: #e6eee9; overflow: hidden; margin-bottom: 14px; }
.tbar i { display: block; height: 100%; width: 100%; background: var(--green); border-radius: 3px; transform: scaleX(.08); transform-origin: left; }
.phone[data-stage="4"] .tbar i { animation: fillbar 3.6s cubic-bezier(.5, 0, .3, 1) .6s forwards; }
@keyframes fillbar { to { transform: scaleX(.85); } }
.drv { display: grid; grid-template-columns: 38px 1fr 40px 40px; gap: 10px; align-items: center; }
.rbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f1f6f3; position: relative; }
.rbtn.call { background: var(--green); }
.rbtn .ic { width: 18px; height: 18px; }
.phone[data-stage="4"] .rbtn.call::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green);
  animation: ringout 1.4s ease-out 1.6s 3;
}
@keyframes ringout { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

/* Captions under the phone */
.cap { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(100%, 380px); margin: 34px 0 0; padding: 0; }
.cap li { position: relative; padding-top: 12px; font: 600 .82rem/1.25 var(--font-body); color: #8a9690; transition: color .3s; }
.cap li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--line); }
.cap li i { position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; }
.cap li.is-active { color: var(--ink); }
.cap li.is-active i { animation: capfill var(--dur, 4s) linear forwards; }
.cap li.is-done i { transform: scaleX(1); }
@keyframes capfill { to { transform: scaleX(1); } }

.phone.is-halted *, .phone.is-halted *::before, .phone.is-halted *::after { animation-play-state: paused !important; }

/* ---------- Strip ---------- */

.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-list {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.strip-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 20px; font-weight: 600;
}
.strip-list li + li { border-left: 1px solid var(--line); }
.strip-list .ic { width: 26px; height: 26px; color: var(--green-deep); }
.rs-icon {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px;
  font: 700 1.2rem/1 var(--font-display); letter-spacing: -.03em;
  color: var(--green-deep);
}
@media (max-width: 900px) {
  .strip-list { grid-template-columns: 1fr 1fr; }
  .strip-list li:nth-child(3) { border-left: 0; }
  .strip-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .strip-list { grid-template-columns: 1fr; }
  .strip-list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section-tint { background: var(--mint); }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 19ch; font-weight: 700; letter-spacing: -.025em; }

/* Scroll reveal: only when JS is running */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Steps ---------- */

.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.steps li { position: relative; }
.step-mark {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; color: var(--ink-soft);
  font: 600 1.25rem var(--font-display); margin-bottom: 22px; position: relative; z-index: 1;
  transition: background-color .5s ease calc(var(--d, 0s) + .3s), border-color .5s ease calc(var(--d, 0s) + .3s), color .5s ease calc(var(--d, 0s) + .3s), transform .5s var(--ease) calc(var(--d, 0s) + .3s);
}
.steps li.is-in .step-mark { background: var(--green); border-color: var(--green); color: var(--ink); transform: scale(1.06); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 60px; right: -24px; height: 3px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease) calc(var(--d, 0s) + .5s);
}
.steps li:not(:last-child)::before {
  content: ""; position: absolute; top: 23px; left: 60px; right: -24px; height: 3px; border-radius: 2px; background: var(--line);
}
.steps li.is-in:not(:last-child)::after { transform: scaleX(1); }
.steps h3 { font-size: 1.45rem; margin-bottom: 10px; }
.steps p { color: var(--ink-soft); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 36px 68px; }
  .step-mark { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li:not(:last-child)::before, .steps li:not(:last-child)::after { top: 52px; bottom: 6px; left: 23px; right: auto; width: 3px; height: auto; }
  .steps li:not(:last-child)::after { transform: scaleY(0); transform-origin: top; }
  .steps li.is-in:not(:last-child)::after { transform: scaleY(1); }
}

/* ---------- Bento ---------- */

.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile-b {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 32px;
  overflow: hidden;
}
.t-call { grid-column: span 4; flex-direction: row; align-items: center; }
.t-paste { grid-column: span 2; }
.t-resume { grid-column: span 2; }
.t-saved { grid-column: span 4; flex-direction: row; align-items: center; }
.tb-copy { max-width: 26rem; }
.tb-copy h3 { font-size: 1.55rem; margin-bottom: 12px; }
.tb-copy p { color: var(--ink-soft); }
.tb-vis { position: relative; flex: 1; min-width: 0; display: grid; place-items: center; align-content: center; gap: 18px; min-height: 140px; }

/* call visual */
.wave { display: flex; align-items: center; gap: 6px; height: 64px; }
.wave i { width: 7px; border-radius: 4px; background: var(--green); height: 100%; transform: scaleY(.2); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; }
.wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; }
.wave i:nth-child(6) { animation-delay: .3s; } .wave i:nth-child(7) { animation-delay: .2s; }
.wave i:nth-child(8) { animation-delay: .1s; } .wave i:nth-child(9) { animation-delay: 0s; }
@keyframes wave { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.modes { display: flex; flex-wrap: nowrap; gap: 6px; justify-content: center; }
.m { padding: 9px 14px; white-space: nowrap; border-radius: 999px; background: #f1f6f3; font-weight: 600; font-size: .88rem; color: var(--ink-soft); animation: modeHi 6s infinite; }
.m2 { animation-delay: 2s; } .m3 { animation-delay: 4s; }
@keyframes modeHi { 0%, 28% { background: var(--green); color: var(--ink); } 33%, 100% { background: #f1f6f3; color: var(--ink-soft); } }

/* paste visual */
.pastevis { gap: 8px; justify-items: center; }
.p { padding: 9px 16px; border-radius: 12px; background: #f1f6f3; font-weight: 600; font-size: .88rem; color: var(--ink-soft); animation: modeHi 6s infinite; }
.p2 { animation-delay: 2s; } .p3 { animation-delay: 4s; }
.pinbounce { width: 34px; height: 34px; color: var(--green-deep); animation: pinb 2s ease-in-out infinite; margin-top: 6px; }
@keyframes pinb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* resume visual */
.rv-card { width: min(100%, 260px); background: var(--mint); border-radius: 20px; padding: 18px; display: grid; gap: 12px; }
.rv-card b { font-weight: 700; }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(15, 207, 121, .6); animation: livepulse 1.8s infinite; position: absolute; margin: 6px 0 0 -2px; }
.rv-card b { padding-left: 20px; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px rgba(15, 207, 121, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 207, 121, 0); } }
.rv-bar { height: 6px; border-radius: 3px; background: #d4e5db; overflow: hidden; }
.rv-bar i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; animation: rvfill 5s ease-in-out infinite; }
@keyframes rvfill { 0% { transform: scaleX(.1); } 100% { transform: scaleX(.9); } }

/* saved visual */
.savedvis { gap: 14px; justify-items: stretch; max-width: 320px; margin-inline: auto; width: 100%; }
.sv-chips { display: flex; gap: 10px; }
.sv-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--green-soft); font-weight: 600; font-size: .9rem; }
.sv-chips .ic { width: 17px; height: 17px; color: var(--green-deep); }
.sv-rows { display: grid; gap: 10px; }
.sv-rows i { display: block; height: 38px; border-radius: 12px; background: linear-gradient(90deg, #eef4f0 25%, #f8fbf9 50%, #eef4f0 75%); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.sv-rows i:nth-child(2) { width: 88%; } .sv-rows i:nth-child(3) { width: 72%; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .t-call, .t-paste, .t-resume, .t-saved { grid-column: auto; flex-direction: column; align-items: stretch; }
}

/* ---------- Courier ---------- */

.courier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 7vw, 96px); align-items: center; }
.courier-copy p { margin-top: 20px; color: var(--ink-soft); max-width: 32rem; }
.courier-copy .section-title { max-width: 17ch; }

.parcel {
  background: #fff; border: 1px solid var(--line); border-radius: 30px;
  padding: 26px; display: grid; gap: 10px;
  box-shadow: 0 40px 70px -40px rgba(8, 60, 38, .45);
}
.parcel-head { display: flex; align-items: center; gap: 10px; font: 600 1.15rem var(--font-display); margin-bottom: 6px; }
.parcel-head .ic { color: var(--green-deep); }
.pr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pr { background: var(--mint); border-radius: 16px; padding: 12px 16px; display: grid; gap: 2px; }
.pr span { font-size: .8rem; color: var(--ink-soft); }
.pr b { font-weight: 600; }
.pr-photo {
  position: relative; overflow: hidden; min-height: 56px;
  border-radius: 16px; border: 2px dashed var(--green-deep); color: var(--green-deep);
  font-weight: 600; display: grid; align-items: center; padding: 0 16px;
}
.pr-photo span { grid-area: 1 / 1; display: flex; align-items: center; gap: 10px; }
.ph-b { opacity: 0; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; }

.parcel.is-in .pr { animation: fieldIn .6s var(--ease) both; }
.parcel.is-in .pr1 { animation-delay: .3s; } .parcel.is-in .pr2 { animation-delay: .6s; }
.parcel.is-in .pr3 { animation-delay: .9s; } .parcel.is-in .pr4 { animation-delay: 1.1s; }
.parcel.is-in .pr5 { animation-delay: 1.4s; }
@keyframes fieldIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.parcel.is-in .ph-a { animation: fadeOut .01s linear 3.4s forwards; }
.parcel.is-in .ph-b { animation: fadeIn .4s ease 3.5s forwards; }
.parcel.is-in .flash { animation: flash .5s ease 3.4s; }
.parcel.is-in .pr-photo { animation: photoOk .01s linear 3.5s forwards; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes flash { 0% { opacity: 0; } 30% { opacity: .95; } 100% { opacity: 0; } }
@keyframes photoOk { to { border-style: solid; background: var(--green-soft); } }

@media (max-width: 900px) { .courier { grid-template-columns: 1fr; } }

/* ---------- Drivers ---------- */

.section-forest { position: relative; background: var(--forest); color: #fff; overflow: hidden; }
.section-forest::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(15, 207, 121, .22), transparent 65%); pointer-events: none;
}
.section-forest .section-title { max-width: 15ch; }
.drivers { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 7vw, 96px); align-items: center; }
.on-forest { margin: 22px 0 28px; color: #cfe5d9; max-width: 32rem; }
.btn-on-forest { margin-top: 32px; }

.pill-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pill-list li { position: relative; padding-left: 30px; color: #cfe5d9; }
.pill-list li::before { content: ""; position: absolute; left: 0; top: .4em; width: 10px; height: 20px; border-radius: 6px; background: var(--green); }
.pill-list strong { color: #fff; font-weight: 700; }

/* console */
.console {
  background: #fff; color: var(--ink); border-radius: 32px; padding: 22px;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .6);
  max-width: 420px; width: 100%; justify-self: center;
}
.c-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #edf2ef; }
.c-title { font: 600 1.4rem var(--font-display); }
.c-state { margin-left: auto; position: relative; font-weight: 600; font-size: .9rem; display: grid; }
.c-state span { grid-area: 1 / 1; text-align: right; }
.c-on { color: var(--green-deep); opacity: 0; }
.c-off { color: var(--ink-soft); }
.c-switch { position: relative; width: 52px; height: 30px; border-radius: 999px; background: #cdd6d1; flex: none; }
.c-switch i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }

.c-body { position: relative; height: 290px; margin-top: 16px; }
.c-body > * { position: absolute; inset: 0; }

.c-idle { display: grid; place-items: center; align-content: center; gap: 22px; }
.c-radar { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.c-radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); opacity: 0; transform: scale(.2); }
.c-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.c-idle-t { position: relative; display: grid; font-weight: 600; color: var(--ink-soft); }
.c-idle-t span { grid-area: 1 / 1; text-align: center; }
.ti-on { opacity: 0; }

.c-invite { opacity: 0; transform: translateY(30px); display: grid; align-content: start; gap: 14px; padding-top: 4px; }
.c-inv-head { display: flex; align-items: center; gap: 14px; }
.c-inv-head b { display: block; font: 600 1.15rem var(--font-display); }
.c-inv-head small { color: var(--ink-soft); font-size: .88rem; }
.ring { width: 46px; height: 46px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 4; }
.r-bg { stroke: #e3ece7; }
.r-fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.c-fare { background: var(--mint); border-radius: 18px; padding: 16px 18px; display: flex; align-items: baseline; justify-content: space-between; }
.c-fare span { color: var(--ink-soft); font-weight: 500; }
.c-fare b { font: 600 2rem/1 var(--font-display); }
.c-actions { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; }
.c-actions span { text-align: center; padding: 14px 6px; border-radius: 999px; font-weight: 700; font-size: .92rem; border: 2px solid #e2ebe6; }
.c-actions .a-accept { background: var(--green); border-color: var(--green); }

.c-trip { opacity: 0; display: grid; align-content: center; gap: 18px; }
.c-trip-t { position: relative; display: grid; font: 600 1.35rem var(--font-display); text-align: center; }
.c-trip-t span { grid-area: 1 / 1; }
.tt-b { opacity: 0; color: var(--green-deep); }
.c-slide { position: relative; height: 60px; border-radius: 999px; background: #eef4f0; display: grid; place-items: center; overflow: hidden; }
.c-slide-l { font-weight: 600; color: var(--ink-soft); padding-left: 40px; }
.thumb { position: absolute; left: 6px; top: 6px; width: 48px; height: 48px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }

/* 12s timeline, started when the console scrolls into view */
.console.is-run .c-switch { animation: swBg 12s infinite; }
.console.is-run .c-switch i { animation: swTh 12s infinite; }
.console.is-run .c-off { animation: offT 12s infinite; }
.console.is-run .c-on { animation: onT 12s infinite; }
.console.is-run .c-radar i { animation: cradar 2.4s ease-out infinite; }
.console.is-run .c-radar i:nth-child(2) { animation-delay: .8s; }
.console.is-run .c-radar i:nth-child(3) { animation-delay: 1.6s; }
.console.is-run .c-idle { animation: idleT 12s infinite; }
.console.is-run .ti-off { animation: offT 12s infinite; }
.console.is-run .ti-on { animation: onT 12s infinite; }
.console.is-run .c-invite { animation: invT 12s infinite; }
.console.is-run .r-fg { animation: ringT 12s linear infinite; }
.console.is-run .a-accept { animation: acc 12s infinite; }
.console.is-run .c-trip { animation: tripT 12s infinite; }
.console.is-run .thumb { animation: thumbT 12s ease-in-out infinite; }
.console.is-run .c-slide-l { animation: slL 12s infinite; }
.console.is-run .tt-a { animation: ttA 12s infinite; }
.console.is-run .tt-b { animation: ttB 12s infinite; }

@keyframes swBg { 0%, 8% { background: #cdd6d1; } 11%, 96% { background: var(--green); } 99%, 100% { background: #cdd6d1; } }
@keyframes swTh { 0%, 8% { transform: none; } 11%, 96% { transform: translateX(22px); } 99%, 100% { transform: none; } }
@keyframes offT { 0%, 8% { opacity: 1; } 10%, 97% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes onT { 0%, 8% { opacity: 0; } 10%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cradar { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes idleT { 0%, 19% { opacity: 1; } 22%, 96% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes invT { 0%, 19% { opacity: 0; transform: translateY(30px); } 23%, 56% { opacity: 1; transform: none; } 59%, 100% { opacity: 0; transform: translateY(-20px); } }
@keyframes ringT { 0%, 23% { stroke-dashoffset: 0; } 52%, 100% { stroke-dashoffset: .72; } }
@keyframes acc { 0%, 49% { transform: none; filter: none; } 51% { transform: scale(.93); filter: brightness(.92); } 54%, 100% { transform: none; filter: none; } }
@keyframes tripT { 0%, 58% { opacity: 0; } 62%, 95% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes thumbT { 0%, 64% { transform: none; } 82%, 100% { transform: translateX(212px); } }
@keyframes slL { 0%, 78% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes ttA { 0%, 82% { opacity: 1; } 85%, 100% { opacity: 0; } }
@keyframes ttB { 0%, 83% { opacity: 0; } 87%, 100% { opacity: 1; } }

@media (max-width: 900px) { .drivers { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.faq-wrap .section-title { position: sticky; top: 112px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font: 600 1.25rem/1.25 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--mint); font: 500 1.5rem/1 var(--font-body); transition: transform .3s var(--ease), background-color .2s;
}
.faq summary:hover::after { background: var(--green-soft); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green); }
.faq details p { padding: 0 52px 26px 0; color: var(--ink-soft); max-width: 38rem; }
.faq details[open] p { animation: fadeIn .35s ease both; }

@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-title { position: static; }
}

/* ---------- Download ---------- */

.download { position: relative; overflow: hidden; background: linear-gradient(135deg, #12d880 0%, #0fcf79 45%, #0bbd6d 100%); text-align: center; }
.wheel {
  position: absolute; right: -9%; top: 50%; width: clamp(320px, 42vw, 560px); margin-top: calc(clamp(320px, 42vw, 560px) / -2);
  color: var(--ink); opacity: .13; animation: wheelspin 48s linear infinite; pointer-events: none;
}
@keyframes wheelspin { to { transform: rotate(360deg); } }
.download-inner { position: relative; }
.download-inner h2 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; }
.download-inner > p { margin-top: 14px; font-size: 1.2rem; }
.download .store-row { margin-top: 34px; }
.download .store { border-color: rgba(255, 255, 255, .55); }
.download .store.is-soon::after { background: #fff; }
.soon-note { margin-top: 18px; font-size: .95rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #e9efec; padding-block: 52px 38px; }
.foot { display: grid; gap: 28px; }
.brand-foot img { height: 40px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-links a { text-decoration: none; font-weight: 500; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--green); }
.copy { font-size: .9rem; opacity: .75; }

/* ---------- Responsive hero ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .stage { padding-top: 12px; }
  .chip-a { left: 0; top: 10%; } .chip-b { right: 0; }
}
@media (max-width: 560px) {
  .chip-float { display: none; }
  .phone-float { animation-name: floatSm; }
}
@keyframes floatSm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 359px) { .phone-wrap { --k: .86; } }

/* ---------- Plain document pages ---------- */

.doc { padding-block: clamp(40px, 7vw, 80px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 24px; }
.doc h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 1.2rem; }
.draft-banner { background: #fff3d6; color: #5c3f00; border-radius: 16px; padding: 14px 18px; margin-bottom: 28px; font-weight: 500; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .steps li:not(:last-child)::after { transform: none; }
  .step-mark { background: var(--green); border-color: var(--green); color: var(--ink); }
  .route, .route-casing { stroke-dashoffset: 0; }
  .t-b { display: inline; } .t-a, .spin { display: none; }
  .typed { clip-path: none; }
  .drv-mark { offset-distance: 100%; opacity: 1; }
  .console .c-idle, .console .c-trip { display: none; }
  .console .c-invite { opacity: 1; transform: none; }
  .console .c-on { opacity: 1; } .console .c-off { opacity: 0; }
  .console .c-switch { background: var(--green); } .console .c-switch i { transform: translateX(22px); }
  .console .r-fg { stroke-dashoffset: .3; }
  .parcel .pr { opacity: 1; }
  .ph-a { display: none; } .ph-b { opacity: 1; }
  .pr-photo { border-style: solid; background: var(--green-soft); }
  .wave i { transform: scaleY(.6); }
  .rv-bar i { transform: scaleX(.6); }
  .cap li.is-active i { transform: scaleX(1); }
}
