/* Easyroute website. Fonts are self-hosted (SIL OFL, see assets/fonts). */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2"); }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: hero panel (uppercase headline left, facts right) with a three-phone cluster on a sky-to-blush wash → feature pill marquee → image-card carousel → centered statement with audience chips → service tiles → three steps → pilot plans → FAQ → app CTA → footer. One light marketing world. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --tint: #F3F6FA;
  --ink: #101317;
  --soft: #4B525C;
  --muted: #7A828D;
  --line: #E5E8EC;
  --sky: #CFE3F7;
  --blush: #F1DCD6;
  --mint: #D8F0E4;
  --lilac: #E3E0FA;
  --accent: #2F6FD6;
  --ok: #1F8A52;
  --warn: #C27A12;
  --f-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { background: var(--bg); }
body { margin: 0; color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--f-display); font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.t { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: 72px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -0.02em; }
.lead { color: var(--soft); font-size: 17px; max-width: 36em; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2A2F36; }
.btn.light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.light:hover { border-color: #C9CED5; }
.btn.ghost { background: rgba(255,255,255,0.7); color: var(--ink); border-color: rgba(255,255,255,0.9); }

/* Hero */
.hero-wrap { padding-top: 16px; }
.hero {
  position: relative; border-radius: 32px; overflow: hidden; padding: 22px 28px 40px;
  background:
    radial-gradient(60% 70% at 18% 20%, rgba(207, 227, 247, 0.95), transparent 70%),
    radial-gradient(50% 60% at 85% 30%, rgba(241, 220, 214, 0.95), transparent 70%),
    radial-gradient(60% 50% at 60% 100%, rgba(227, 224, 250, 0.9), transparent 70%),
    #EEF3F8;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.logo i { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.logo .mark { width: 32px; height: 32px; flex: none; }
.logo span.wm { letter-spacing: -0.03em; }
.nav nav { display: flex; gap: 4px 24px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.nav nav a { text-decoration: none; color: var(--soft); }
.nav nav a:hover { color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 64px 12px 24px; align-items: start; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; } }
@media (max-width: 760px) { .nav nav { display: none; } }
.hero h1 { font-size: clamp(42px, 5.8vw, 82px); line-height: .92; letter-spacing: -0.035em; text-transform: uppercase; font-weight: 600; }
.hero h1 .chip { display: inline-block; vertical-align: middle; width: 1.5em; height: .82em; border-radius: .2em; margin-right: .12em; background: linear-gradient(135deg, #9CC4EE, #E8B9AE); position: relative; top: -.06em; overflow: hidden; }
.hero h1 .chip::after { content: ""; position: absolute; inset: 18% 22%; border-radius: .12em; background: rgba(255,255,255,0.75); box-shadow: inset 0 -.12em 0 rgba(16,19,23,0.12); }
.hero .kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 16px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero .sub { margin-top: 24px; font-size: 18px !important; color: var(--soft); max-width: 31em; font-size: 15.5px; }
.facts { display: grid; gap: 20px; text-align: right; }
@media (max-width: 979px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; } }
.facts b { display: block; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.facts span { font-size: 13px; color: var(--soft); }

.statbar { margin: 18px 12px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 24px 18px; border-radius: 24px; background: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); text-align: center; }
.statbar b { display: block; font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.statbar span { font-size: 13px; color: var(--soft); }
@media (max-width: 760px) { .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; margin-inline: 0; } }
.compare { display: grid; gap: 12px; min-width: 0; max-width: 470px; justify-self: end; width: 100%; }
.cmp { border-radius: 24px; padding: 22px 24px; display: grid; gap: 14px; }
.cmp .ctag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmp .dur { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.cmp .dur span { font-size: 13px; }
.cmp .dur b { font-family: var(--f-display); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.before { background: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.85); color: var(--soft); }
.before .ctag { color: var(--muted); }
.before li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 14.5px; }
.before li b { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--ink); opacity: .55; }
.before .dur { border-top: 1px dashed rgba(16,19,23,0.15); }
.before .dur b { color: #B4463A; position: relative; }
.before .dur b::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 1px; background: currentColor; transform-origin: left center; }
.after { background: var(--ink); color: #fff; box-shadow: 0 24px 50px rgba(16, 19, 23, 0.25); }
.after .ctag { color: #9FB6D6; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.flow span { padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--ink); }
.flow i { font-style: normal; color: #7E8794; }
.after ul.ok li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.after ul.ok svg { width: 18px; height: 18px; color: #5FD39A; flex: none; }
.after .dur { border-top: 1px solid rgba(255,255,255,0.12); }
.after .dur span { color: #9FA6B0; }
.compare .note { text-align: right; padding-right: 6px; }
@media (max-width: 979px) { .compare { justify-self: stretch; max-width: none; } }
/* Phones */
.phones { position: relative; height: 470px; min-width: 0; }
.phones .phone.c { transform: translateX(-50%) rotate(3deg); }
@media (max-width: 979px) { .phones { height: 440px; } }
.phone { position: absolute; width: 196px; height: 410px; border-radius: 34px; background: #0F1115; padding: 7px; box-shadow: 0 30px 60px rgba(30, 50, 80, 0.25); }
.phone .scr { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #F7F9FC; display: flex; flex-direction: column; gap: 8px; padding: 30px 11px 11px; position: relative; font-size: 10.5px; }
.phone .scr::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 58px; height: 16px; border-radius: 10px; background: #0F1115; }
.phone.c { left: 50%; transform: translateX(-50%); top: 0; z-index: 2; width: 214px; height: 446px; }
.phone.l { left: calc(50% - 205px); top: 46px; transform: rotate(-6deg); opacity: .96; }
.phone.r { left: calc(50% + 9px); top: 46px; transform: rotate(6deg); opacity: .96; }
@media (max-width: 520px) { .phone.l { left: -18px; } .phone.r { left: auto; right: -18px; } }
.ps-h { font-family: var(--f-display); font-weight: 600; font-size: 15px; line-height: 1.15; }
.ps-s { color: var(--muted); font-size: 9.5px; }
.ps-card { background: #fff; border-radius: 12px; padding: 8px 9px; display: grid; gap: 3px; box-shadow: 0 2px 8px rgba(20, 30, 50, 0.06); }
.ps-card b { font-weight: 600; font-size: 10.5px; }
.ps-row { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.ps-pill { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #2A2D33; border-radius: 5px; padding: 0 5px; height: 16px; font-size: 8.5px; font-weight: 600; background: #fff; white-space: nowrap; }
.ps-pill i { width: 4px; height: 4px; border-radius: 50%; }
.ps-tag { font-size: 8.5px; padding: 1px 6px; border-radius: 5px; background: #E5F4EB; color: var(--ok); font-weight: 600; }
.ps-hero { border-radius: 14px; padding: 12px; background: linear-gradient(140deg, #D6E8FA, #F4E1DB); display: grid; gap: 4px; }
.ps-btn { margin-top: auto; border-radius: 12px; background: #0F1115; color: #fff; font-weight: 600; font-size: 10.5px; padding: 10px; display: flex; justify-content: space-between; }
.ps-check { display: flex; gap: 6px; align-items: center; background: #fff; border-radius: 9px; padding: 6px 8px; font-size: 9.5px; }
.ps-check i { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid #2A2D33; display: grid; place-items: center; font-size: 8px; font-style: normal; }
.ps-check.on i { background: #0F1115; color: #fff; border-color: #0F1115; }

/* Marquee */
.feat { padding-block: 34px 10px; text-align: center; }
.feat p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 10px; width: max-content; animation: slide 40s linear infinite; }
.track span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; background: #fff; white-space: nowrap; }
.track svg { width: 15px; height: 15px; color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee { mask-image: none; -webkit-mask-image: none; } .track span:nth-child(n+9) { display: none; } }

/* Carousel */
.row-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.row-h .txt { display: grid; gap: 12px; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 64px; height: 84px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.arrow:hover { border-color: #C9CED5; }
.arrow svg { width: 20px; height: 20px; }
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cards::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .cards { grid-auto-columns: calc((100% - 42px) / 4.25); } }
.icard { scroll-snap-align: start; position: relative; height: 380px; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.icard .art { position: absolute; inset: 0; display: grid; place-items: center; padding: 26px 22px 120px; }
.icard .cap { position: relative; padding: 20px; color: #fff; background: linear-gradient(180deg, transparent, rgba(14, 22, 36, 0.78) 45%); padding-top: 70px; }
.icard .cap b { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 600; }
.icard .cap span { font-size: 13.5px; opacity: .88; }
.mini { width: 100%; max-width: 230px; background: rgba(255,255,255,0.92); border-radius: 16px; padding: 12px; display: grid; gap: 7px; box-shadow: 0 14px 30px rgba(20, 30, 50, 0.16); font-size: 12px; }
.mini .ps-pill { height: 20px; font-size: 10px; }
.mini .ps-tag { font-size: 10px; }
.mini b { font-weight: 600; }

/* Statement */
.state { text-align: center; display: grid; justify-items: center; gap: 26px; }
.state h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.14; letter-spacing: -0.02em; max-width: 21em; font-weight: 500; }
.state h2 em { font-style: normal; color: #8DA2BE; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips span { height: 38px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 500; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; background: var(--tint); }
.tile .ic { width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; }
.tile .ic svg { width: 26px; height: 26px; }
.tile b { display: block; font-weight: 600; }
.tile span { font-size: 13.5px; color: var(--soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.step { border-radius: 24px; background: var(--tint); padding: 22px; display: grid; gap: 14px; align-content: start; }
.step .vis { height: 190px; border-radius: 18px; display: grid; place-items: center; padding: 16px; }
.step b { font-family: var(--f-display); font-size: 19px; font-weight: 600; }
.step p { font-size: 14.5px; color: var(--soft); }
.step .n { font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.plan { border-radius: 24px; border: 1px solid var(--line); padding: 26px; display: grid; gap: 16px; align-content: start; background: #fff; }
.plan.top { background: linear-gradient(160deg, #EAF2FC, #FBEDE8); border-color: transparent; }
.plan .price { font-family: var(--f-display); font-size: 40px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--ok); }
.badge { justify-self: start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; }

/* FAQ */
.faq { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.faq .side { display: grid; gap: 22px; align-content: start; }
.ask { border-radius: 22px; padding: 22px; background: linear-gradient(140deg, #D6E8FA, #F4E1DB); display: grid; gap: 10px; }
.ask b { font-family: var(--f-display); font-size: 19px; }
.ask p { font-size: 14px; color: var(--soft); }
.ask .contact { font-weight: 600; font-size: 15px; user-select: all; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 2px; font-weight: 600; font-size: 15.5px; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; height: 18px; flex: none; transition: transform .2s; color: var(--muted); }
details[open] summary svg { transform: rotate(45deg); }
details p { padding: 0 2px 20px; color: var(--soft); font-size: 15px; max-width: 46em; }
@media (prefers-reduced-motion: reduce) { summary svg { transition: none; } }

/* App CTA */
.appcta { border-radius: 32px; padding: 48px; display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden; position: relative;
  background: radial-gradient(60% 80% at 90% 40%, rgba(241, 220, 214, 0.95), transparent 70%), radial-gradient(60% 80% at 10% 80%, rgba(207, 227, 247, 0.95), transparent 70%), #EEF3F8; }
@media (min-width: 900px) { .appcta { grid-template-columns: minmax(0, 1fr) 320px; } }
.appcta .ph { position: relative; height: 330px; }
.appcta .phone { left: 50%; transform: translateX(-50%) rotate(4deg); top: 10px; }
@media (max-width: 899px) { .appcta { padding: 32px 24px; } }

/* Routen, km und Monatsbericht */
.routes { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .routes { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.rtext { display: grid; gap: 22px; align-content: start; padding: 8px 4px; }
.rlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rlist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.rlist .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.rlist .ic svg { width: 20px; height: 20px; color: var(--accent); }
.rlist b { display: block; font-weight: 600; }
.rlist span { font-size: 14.5px; color: var(--soft); }
.mapbox { position: relative; border-radius: 26px; overflow: hidden; background: #E9EBEE; min-height: 380px; }
.mapbox svg { display: block; width: 100%; height: 100%; }
.maptag { position: absolute; top: 16px; left: 16px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 8px 22px rgba(20,30,50,0.12); display: grid; gap: 2px; }
.maptag b { font-weight: 600; font-size: 14px; }
.maptag span { font-size: 12.5px; color: var(--muted); }
.rrow { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
@media (min-width: 980px) { .rrow { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); } }
.kmcard { border-radius: 26px; padding: 22px; background: linear-gradient(150deg, #D8F0E4, #E3E0FA); display: grid; gap: 12px; align-content: start; }
.kmcard .big { font-family: var(--f-display); font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.kmcard .seg2 { display: flex; gap: 6px; flex-wrap: wrap; }
.kmcard .seg2 span { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.7); }
.kmcard .seg2 span.on { background: var(--ink); color: #fff; }
.kmline { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 8px 0; border-top: 1px solid rgba(16,19,23,0.08); }
.kmline:first-of-type { border-top: 0; }
.recap { border-radius: 26px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; }
.recap .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.recap .top b { font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.recap .sums { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.recap .sums div { background: var(--tint); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.recap .sums b { font-family: var(--f-display); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.recap .sums span { font-size: 12.5px; color: var(--muted); }
.tbl { overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tbl td.n, .tbl th.n { text-align: right; }
.tbl tfoot td { font-weight: 600; border-bottom: 0; }
.who2 { display: inline-flex; align-items: center; gap: 8px; }
.who2 i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; }

footer { padding-block: 56px 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.foot h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--soft); }
.foot ul a { text-decoration: none; }
.foot ul a:hover { color: var(--ink); }
.small { margin-top: 36px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.note { font-size: 12px; color: var(--muted); }

/* Contact links in the FAQ side panel */
.ask a.contact { text-decoration: none; }
.ask a.contact:hover { text-decoration: underline; text-underline-offset: 3px; }
details p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Motion ----------
   Thesis: the hero tells the replanning morning once (absence, review, release, done in 1 minute).
   Below the fold each section gets its own reason to move: the route drives, the report fills,
   the steps run in order. Everything is gated by html.motion (set before first paint by
   motion-init.js, never under prefers-reduced-motion); without it the page shows the final state. */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }

/* Feedback */
.btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s var(--ease-out); }
.btn svg { transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.arrow { transition: border-color .15s ease, transform .15s var(--ease-out); }
.arrow:active { transform: scale(.95); }
.marquee.paused .track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .btn, .arrow { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
  .btn:hover svg, .btn:active, .arrow:active { transform: none; }
}

/* FAQ opens and closes smoothly where the browser can size to auto */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
    details[open]::details-content { block-size: auto; }
  }
}

/* Hero: the morning in one minute */
@keyframes er-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes er-strike { from { transform: scaleX(0); } }
@keyframes er-step { 0% { background: rgba(255,255,255,0.1); color: #fff; } 42% { color: #fff; } 43% { color: var(--ink); } 100% { background: #fff; color: var(--ink); } }
@keyframes er-tick { from { stroke-dashoffset: 1; } }
@keyframes er-land { from { opacity: 0; transform: translateY(6px); filter: blur(6px); } }
/* Each card starts its part when it is on screen (desktop: at load; phone: when scrolled to). */
.motion .cmp:not(.in) *, .motion .cmp:not(.in) *::after { animation-play-state: paused; }
.after { --lead: 1.05s; }
@media (max-width: 979px) { .after { --lead: .25s; } }
.motion .before li { animation: er-rise .45s var(--ease-out) both; }
.motion .before li:nth-child(1) { animation-delay: .15s; }
.motion .before li:nth-child(2) { animation-delay: .27s; }
.motion .before li:nth-child(3) { animation-delay: .39s; }
.motion .before .dur b::after { animation: er-strike .45s cubic-bezier(0.65, 0, 0.35, 1) .62s both; }
.motion .flow span { animation: er-step .35s ease both; }
.motion .flow span:nth-of-type(1) { animation-delay: var(--lead); }
.motion .flow span:nth-of-type(2) { animation-delay: calc(var(--lead) + .25s); }
.motion .flow span:nth-of-type(3) { animation-delay: calc(var(--lead) + .5s); }
.motion .after ul.ok li { animation: er-rise .4s var(--ease-out) both; }
.motion .after ul.ok li:nth-child(1) { animation-delay: calc(var(--lead) + .75s); }
.motion .after ul.ok li:nth-child(2) { animation-delay: calc(var(--lead) + .9s); }
.motion .after ul.ok li:nth-child(3) { animation-delay: calc(var(--lead) + 1.05s); }
.motion .after ul.ok path { stroke-dasharray: 1; animation: er-tick .35s ease-out both; }
.motion .after ul.ok li:nth-child(1) path { animation-delay: calc(var(--lead) + .85s); }
.motion .after ul.ok li:nth-child(2) path { animation-delay: calc(var(--lead) + 1s); }
.motion .after ul.ok li:nth-child(3) path { animation-delay: calc(var(--lead) + 1.15s); }
.motion .after .dur b { display: inline-block; animation: er-land .6s var(--ease-out) calc(var(--lead) + 1.35s) both; }

/* Feature cards slide in from the side they scroll to */
.motion #cards { opacity: 0; transform: translateX(40px); }
.motion #cards.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .9s var(--ease-out); }

/* Route: the tour is driven once, stops and distances appear as the line reaches them */
.motion .mapbox .route { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.motion .mapbox.in .route { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset 1.8s linear, opacity .2s ease; }
.motion .mapbox .stop, .motion .mapbox .pill { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; }
.motion .mapbox.in .stop, .motion .mapbox.in .pill { opacity: 1; transform: none; transition: opacity .3s ease, transform .45s var(--ease-out); transition-delay: calc(var(--t, 0) * 1.8s); }
.motion .mapbox.in .pill { transition-delay: calc(var(--t, 0) * 1.8s + .1s); }
.motion .mapbox .maptag { opacity: 0; transform: translateY(8px); }
.motion .mapbox.in .maptag { opacity: 1; transform: none; transition: opacity .4s ease 1.9s, transform .6s var(--ease-out) 1.9s; }

/* Monthly report fills row by row */
.motion .recap tbody tr, .motion .recap tfoot tr { opacity: 0; }
.motion .recap.in tbody tr, .motion .recap.in tfoot tr { opacity: 1; transition: opacity .45s ease; }
.motion .recap.in tbody tr:nth-child(2) { transition-delay: .07s; }
.motion .recap.in tbody tr:nth-child(3) { transition-delay: .14s; }
.motion .recap.in tbody tr:nth-child(4) { transition-delay: .21s; }
.motion .recap.in tbody tr:nth-child(5) { transition-delay: .28s; }
.motion .recap.in tfoot tr { transition-delay: .4s; }

/* Audience chips arrive as the list they are */
.motion .chips span { opacity: 0; transform: translateY(8px); }
.motion .chips.in span { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s var(--ease-out); }
.motion .chips.in span:nth-child(2) { transition-delay: .05s; }
.motion .chips.in span:nth-child(3) { transition-delay: .1s; }
.motion .chips.in span:nth-child(4) { transition-delay: .15s; }
.motion .chips.in span:nth-child(5) { transition-delay: .2s; }

/* Three steps run in order; each screen appears inside its frame */
.motion .steps .step { opacity: 0; transform: translateY(16px); }
.motion .steps .step .mini { opacity: 0; transform: translateY(10px) scale(.98); }
.motion .steps.in .step { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s var(--ease-out); }
.motion .steps.in .step .mini { opacity: 1; transform: none; transition: opacity .4s ease .2s, transform .6s var(--ease-out) .2s; }
.motion .steps.in .step:nth-child(2) { transition-delay: .14s; }
.motion .steps.in .step:nth-child(2) .mini { transition-delay: .34s; }
.motion .steps.in .step:nth-child(3) { transition-delay: .28s; }
.motion .steps.in .step:nth-child(3) .mini { transition-delay: .48s; }

/* App teaser: today's progress fills up */
.motion .appcta .bar > span { transform: scaleX(0); transform-origin: left center; }
.motion .appcta.in .bar > span { transform: none; transition: transform 1.2s var(--ease-out) .3s; }

