/* Flotte Manager landing. Light and fast: no blur, no live shadows on big elements,
   devices are pre-rendered images (assets/*.webp). Palette = the app's (navy + taxi yellow). */
:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --text: #0F172A;
  --muted: #526077;
  --line: #E6E8EC;
  --bg: #FFFFFF;
  --tint: #F7F7F4;
  --yellow: #FACC15;
  --yellow-soft: #FEF6C7;
  --gold: #A16207;      /* buttons with white text: 4.9:1 */
  --gold-dark: #854D0E;
  --radius: 18px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sub { color: var(--muted); margin: 14px auto 0; max-width: 40em; font-size: 1.05rem; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow.light { color: var(--yellow); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-accent { background: var(--gold); color: #fff; }
.btn-accent:hover { background: var(--gold-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: #CFD4DC; }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }
.link-btn { text-decoration: none; font-weight: 600; font-size: .96rem; padding: 8px 4px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- header (solid: a blurred bar is what made scrolling slow) ---- */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; }
.tile { width: 34px; height: 34px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--text); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 400px) { .brand-name { display: none; } }

/* ---- hero ---- */
.hero { background: linear-gradient(180deg, #FFFCEB 0%, #FFFFFF 62%); padding-top: 52px; overflow: hidden; }
.hero-text { text-align: center; max-width: 900px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.035em; margin-top: 22px; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); margin: 20px auto 0; max-width: 38em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.fine { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.platforms { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.platforms li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .93rem; font-weight: 500; }
.hero-shot { margin-top: 12px; max-width: 1240px; }
.hero-shot img { width: 100%; margin: 0 auto; }
@media (max-width: 640px) { .hero { padding-top: 40px; } .hero-shot { margin-top: 10px; padding: 0; } .hero-shot img { width: 118%; max-width: none; margin-left: -9%; } }

/* ---- sections ---- */
.section { padding: 96px 0; content-visibility: auto; contain-intrinsic-size: auto 900px; }
@media (max-width: 700px) { .section { padding: 68px 0; } }
.tint { background: var(--tint); }
.dark { background: var(--navy); color: #fff; }
.dark .sub { color: #CBD5E1; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
@media (max-width: 780px) { .two { grid-template-columns: 1fr; } }
.trade { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .15s ease; }
.trade:hover { border-color: var(--navy); }
.trade p { color: var(--muted); }
.trade-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); display: grid; place-items: center; color: var(--navy); }
.go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold); }
.ticks { list-style: none; padding: 0; margin: 2px 0 6px; display: grid; gap: 9px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: #DCFCE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2315803D' d='M8.1 13.4 4.7 10l-1.2 1.2 4.6 4.6 9-9-1.2-1.2z'/%3E%3C/svg%3E") center/14px no-repeat; }

.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.feature.reverse .feature-text { order: 2; }
.feature-text h2 { margin-bottom: 26px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.points li { color: var(--muted); padding-left: 20px; position: relative; }
.points li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.points strong { color: var(--text); font-weight: 600; }
.feature-shot img { width: 100%; max-width: 600px; margin: 0 auto; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature.reverse .feature-text { order: 0; }
}

.desk-shot { margin: 44px auto 0; max-width: 1060px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 820px) { .three { grid-template-columns: 1fr; } }
.where { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.where svg { color: var(--yellow); }
.where h3 { margin: 12px 0 6px; }
.where p { color: #CBD5E1; font-size: .98rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.mini { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.mini .ic { color: var(--gold); }
.mini h3 { margin: 14px 0 6px; }
.mini p { color: var(--muted); font-size: .98rem; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; } }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--gold); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--gold); color: #fff; font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.price { color: var(--muted); }
.price span { font-size: 2.2rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-right: 4px; }
.note { color: var(--muted); margin-top: 24px; font-size: .95rem; }

.faq { margin-top: 36px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 600; padding: 20px 40px 20px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease; }
details[open] summary::after { transform: rotate(225deg); top: 30px; }
details p { color: var(--muted); padding: 0 0 22px; }

.final { background: var(--navy); color: #fff; padding: 88px 0; }
.final h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.final p { color: #CBD5E1; margin-top: 12px; }
.center-row { justify-content: center; }

.foot { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: .92rem; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.from { display: inline-flex; align-items: center; gap: 8px; }

/* ---- demo dialog ---- */
dialog { border: 0; border-radius: 22px; padding: 0; width: min(470px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(2,6,23,.3); }
dialog::backdrop { background: rgba(15,23,42,.5); }
.dlg { padding: 28px; display: grid; gap: 12px; }
.dlg h2 { font-size: 1.4rem; }
.dlg .sub { margin: 0 0 6px; font-size: .98rem; }
.pick { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.pick:hover { border-color: var(--navy); background: var(--tint); }
.pick-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--yellow); display: grid; place-items: center; color: var(--navy); flex-shrink: 0; }
.pick strong { display: block; }
.pick small { color: var(--muted); font-size: .92rem; }
.also { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.close { justify-self: end; }
