/* DutyGo marketing site — shared styles. No framework, no build step. */
:root {
  --bg: #F5F5F5;
  --cream: #F5F5F5;
  --blue-soft: #E4EEF7;
  --blue: #B0CDE6;
  --lav: #A290B7;
  --rose: #946D6D;
  --header-h: 76px;
  --brand-green: #0b7f62;
  --brand-teal: #35d0a5;
  --navy: #061a2c;
  --subnav-h: 60px;
  --band: #E4EEF7;
  --surface: #ffffff;
  --ink: #1b1a17;
  --ink-2: #45423a;
  --muted: #6b665c;
  --line: rgba(27, 26, 23, .16);
  --line-2: rgba(27, 26, 23, .32);
  --amber: #946D6D;
  --amber-600: #946D6D;
  --amber-700: #6f4a4a;
  --amber-100: #dcebf6;
  --dark: #1b1a17;
  --dark-2: #26251f;
  --green: #2f6b4f;
  --green-100: #dcebe3;
  --red: #b4412f;
  --red-100: #f6dcd6;
  --blue-100: #dbe5e9;
  --map-land: #efe9d8;
  --map-park: #d9e3cc;
  --map-water: #cfdde0;
  --idle: #e0a020;
    --sand: #B0CDE6;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(31, 29, 25, .05), 0 12px 32px -12px rgba(31, 29, 25, .18);
  --shadow-sm: 0 1px 2px rgba(31, 29, 25, .06);
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Urbanist", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --space-section: clamp(48px, 6vw, 88px);
  --space-hero-top: clamp(24px, 3.5vw, 48px);
  --space-hero-bottom: clamp(40px, 5vw, 72px);
  --space-head: clamp(24px, 3vw, 40px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 16px); }
::selection { background: var(--blue); color: var(--ink); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.25rem, 1.1rem + 3.6vw, 4rem); line-height: 1.03; letter-spacing: -.045em; }
h2 { font-size: clamp(1.75rem, 1rem + 2.4vw, 2.75rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.15rem, .6vw + 1rem, 1.4rem); letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .stage.dark :focus-visible { outline-color: var(--blue); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: var(--space-section) 0; }
.section.band { background: var(--band); }
.section.dark { background: var(--dark); color: #f3f0e6; }
.section.tight { padding: calc(var(--space-section) * .6) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem/1 var(--font); letter-spacing: .04em; color: var(--ink); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); }
.dark .eyebrow { color: var(--cream); } .dark .eyebrow::before { background: var(--blue); }
.lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.dark .lead { color: #cfc9bc; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.ph { font-family: var(--mono); font-size: .85em; color: var(--ink); background: rgba(255, 255, 255, .8); border: 1px dashed var(--rose); border-radius: 4px; padding: 0 6px; }
.sample { font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 12px; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem; font-family: var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s; line-height: 1.1; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #34322c; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: #3a3430; }
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.dark .btn-outline { border-color: #f3efe7; color: #f3efe7; }
.dark .btn-outline:hover { background: #f3efe7; color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-block { width: 100%; padding: 15px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.link-arrow { font-weight: 700; color: var(--amber-700); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid rgba(6, 26, 44, .08); }
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.45rem var(--display); letter-spacing: -.04em; }
.brand svg { width: 32px; height: 32px; }
.brand img { display: block; height: 36px; width: auto; }
.brand img.mark { width: 32px; height: 32px; }
.brand-by { display: flex; align-items: center; gap: 12px; flex: none; }
.by-line { width: 1px; height: 30px; background: rgba(6, 26, 44, .16); }
.by-text { font-size: .95rem; color: #5f7081; }
.partner { display: block; height: 26px; width: auto; }
.partner-link { display: inline-flex; flex: none; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; padding: 10px 14px; border-radius: 0; font-size: .95rem; font-weight: 500; color: var(--ink); transition: color .2s, box-shadow .2s; }
.nav-links a:hover { color: var(--brand-green); }
.nav-links a[aria-current="page"] { color: var(--brand-green); font-weight: 500; box-shadow: inset 0 -2px 0 var(--brand-green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; content: ""; position: relative; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1320px) {
  .menu-btn { display: inline-flex; }
  .nav-links, .nav-actions { display: none; }
  .js .site-header.open .nav { flex-wrap: wrap; height: auto; padding-block: 10px 20px; }
  .site-header.open .nav-links, .site-header.open .nav-actions { display: flex; width: 100%; }
  .site-header.open .nav-links { flex-direction: column; align-items: stretch; margin: 8px 0 0; gap: 2px; animation: drop .3s var(--ease); }
  .site-header.open .nav-links a { padding: 13px 12px; font-size: 1.05rem; }
  .site-header.open .nav-actions { flex-direction: column; align-items: stretch; margin-top: 10px; }
  .site-header.open .nav-actions .btn, .site-header.open .nav-actions .login { text-align: center; padding: 14px; }
  .site-header.open .nav-links a[aria-current="page"] { box-shadow: none; font-weight: 700; }
  .no-js .nav { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .no-js .nav-links, .no-js .nav-actions { display: flex; flex-wrap: wrap; }
  .no-js .menu-btn { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Hero / page head */
.hero { padding: var(--space-hero-top) 0 var(--space-hero-bottom); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-head { padding: var(--space-hero-top) 0 var(--space-hero-bottom); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--surface); padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.chip svg { width: 14px; height: 14px; color: var(--ink); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--band); border: 1px solid var(--line); color: var(--ink-2); }
.tag.green { background: var(--green-100); border-color: transparent; color: var(--green); }
.tag.red { background: var(--red-100); border-color: transparent; color: var(--red); }
.tag.amber { background: #f3e0a8; border-color: transparent; color: #5a3d00; }
.tag.dark { background: var(--ink); color: #fff; border-color: transparent; }
.tag.planned { background: transparent; border: 1.5px solid var(--lav); color: var(--ink); }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.split.rev > :first-child { order: 2; }
.card { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
.card:hover { border-top-color: var(--rose); }
.card.static { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.card.static:hover { border-color: var(--line); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 1rem; margin-bottom: .6em; }
.card .small { font-size: .85rem; color: var(--muted); }
.ico { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--ink); display: grid; place-items: center; margin-bottom: 22px; }

.ico svg { width: 22px; height: 22px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b4f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.dark .ticks li { color: #d9d3c6; }
.cross li { position: relative; padding: 20px 0 20px 44px; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 1.08rem; font-weight: 500; }
.cross li::before { content: "×"; position: absolute; left: 0; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-weight: 800; line-height: 1; }
.num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font: 800 1rem var(--display); margin-bottom: 14px; }
.steps .card:hover .num { background: var(--rose); color: var(--cream); }
.num { transition: background .3s, color .3s; }

/* Lead-in banner on dark */
.callout { background: var(--dark); color: #f3f0e6; border-radius: 24px; padding: 28px; }
.callout p { color: #d9d3c6; }

/* Mockup frames */
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.app { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; font-size: .72rem; }
.app-side { background: #fbf9f5; border-right: 1px solid var(--line); padding: 12px 8px; }
.app-side .logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .8rem; margin: 0 4px 12px; }
.app-side .logo svg { width: 18px; height: 18px; }
.app-side li { padding: 5px 8px; border-radius: 6px; color: var(--ink-2); font-weight: 500; }
.app-side li.on { background: var(--amber-100); color: var(--ink); font-weight: 700; }
.app-main { padding: 14px; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.app-top b { font-size: .9rem; }
.pill-btn { background: var(--ink); color: #fff; border-radius: 6px; padding: 4px 10px; font-weight: 600; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.kpi small { display: block; color: var(--muted); font-size: .64rem; }
.kpi b { font-size: 1.15rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.panel { border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 10px; }
.panel .h4 { font-size: .72rem; margin: 0 0 6px; letter-spacing: 0; }
.chart-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.legend { display: flex; flex-direction: column; gap: 3px; font-size: .62rem; color: var(--muted); }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th { text-align: left; font: 500 .6rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 6px; border-bottom: 1px solid var(--line); background: #fbf9f5; }
.mini-table td { padding: 5px 6px; border-bottom: 1px solid #f0ebe0; }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table tbody tr { transition: background .2s; }
.mini-table tbody tr:hover { background: #fdf6e6; }
.status { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .62rem; font-weight: 600; background: var(--band); }
.status.created { background: #dcebf6; }
.status.allocated { background: #e4dcee; }
.status.started { background: var(--green-100); color: var(--green); }
.status.ended { background: #dbe8e3; }
.status.submitted { background: #ecdcdc; color: #5a3a3a; }
.status.approved { background: #e0c9c9; color: #4f3030; }
.status.ready { background: #d3b3b3; color: #3f2626; }
.status.billed { background: var(--ink); color: #fff; }
.status.cancelled { background: var(--red-100); color: var(--red); }

/* Charts (animated on reveal) */
.js .line-chart .area { opacity: 0; transition: opacity 1s .6s; }
.js .line-chart .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .in .line-chart .area, .js .line-chart.in .area { opacity: 1; }
.js .in .line-chart .ln, .js .line-chart.in .ln { animation: draw 1.6s var(--ease) forwards; }
.js .donut .seg { stroke-dasharray: 0 100; transition: stroke-dasharray 1.3s var(--ease); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Map illustration */
.map-card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--map-land); box-shadow: var(--shadow); }
.map-card .tagline { position: absolute; top: 10px; right: 10px; z-index: 2; font: 500 .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); padding: 4px 8px; border-radius: 4px; }
.map-svg { width: 100%; height: auto; display: block; }
.map-legend { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 12px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 5px 12px; font-size: .72rem; box-shadow: var(--shadow-sm); }
.map-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.js .route-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .map-card.in .route-line { animation: draw 2.2s var(--ease) .2s forwards; }
.vehicle { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
.state-moving { --st: var(--green); } .state-idle { --st: var(--idle); } .state-stopped { --st: var(--red); }
.vehicle .vbody { fill: var(--st, var(--green)); transition: fill .4s; }
.info-panel { background: var(--surface); padding: 16px 18px; border-top: 1px solid var(--line); font-size: .82rem; }
.info-panel .lab { font: 500 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-panel .plate { display: flex; justify-content: space-between; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; margin: 6px 0 12px; font-family: var(--mono); font-weight: 700; }
.info-panel .plate span:last-child { font-family: var(--font); font-weight: 400; color: var(--muted); }
.seg-toggle { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.seg-toggle button { border: 0; background: var(--surface); padding: 8px; font-weight: 600; cursor: pointer; font-size: .82rem; transition: background .2s, color .2s; }
.seg-toggle button[aria-pressed="true"], .seg-toggle button[aria-selected="true"] { background: var(--ink); color: #fff; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.kv b { font-family: var(--mono); font-weight: 700; font-size: .8rem; }
.state-pick { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.state-pick button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .85rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s; }
.state-pick button i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.state-pick button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.hidden { display: none !important; }

/* Phone mockup */
.phone { width: 270px; max-width: 100%; margin: 0 auto; background: #15130f; border-radius: 34px; padding: 9px; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .45); }
.phone-screen { background: var(--bg); border-radius: 26px; overflow: hidden; min-height: 460px; display: flex; flex-direction: column; font-size: .75rem; color: var(--ink); }
.phone-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 8px; font-weight: 700; }
.phone-body { padding: 0 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.dark .phone-screen { background: #fffdf9; }
.field { border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 9px; background: #fff; font-family: var(--mono); font-weight: 700; }
.field-lab { font-weight: 700; font-size: .7rem; margin-top: 2px; }
.field-hint { font-size: .62rem; color: var(--muted); margin-top: -4px; }
.mini-btn { border: 1px solid var(--line-2); background: #fff; border-radius: 8px; padding: 6px; font-size: .68rem; font-weight: 600; text-align: center; flex: 1; }
.mini-btn.amber { background: var(--ink); border-color: var(--ink); color: var(--cream); font-size: .8rem; padding: 10px; }
.sig-box { border: 1px dashed var(--line-2); border-radius: 8px; height: 54px; background: #fff; display: grid; place-items: center; }
.js .sig-path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .in .sig-path { animation: draw 2.2s var(--ease) .4s forwards; }
.otp { display: flex; gap: 6px; }
.otp span { flex: 1; text-align: center; border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 0; background: #fff; font: 700 .9rem var(--mono); }
.otp span.ok { background: var(--green-100); border-color: transparent; color: var(--green); }
.bill { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; }
.bill .thumb { width: 34px; height: 40px; border-radius: 4px; background: linear-gradient(160deg, #f4efe3, #e4dcc8); position: relative; flex: none; border: 1px solid var(--line); }
.bill .thumb::before, .bill .thumb::after { content: ""; position: absolute; left: 5px; right: 5px; height: 2px; background: #bdb39d; top: 9px; box-shadow: 0 5px 0 #bdb39d, 0 10px 0 #bdb39d, 0 15px 0 #cfc5b2; }
.bill b { margin-left: auto; font-family: var(--mono); }
.bill div { line-height: 1.25; } .bill small { color: var(--muted); font-size: .62rem; }

/* Dialog mockup */
.dialog { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; font-size: .78rem; max-width: 440px; margin: 0 auto; width: 100%; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dialog-head b { font-size: .95rem; }
.vopt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 10px; margin-bottom: 8px; cursor: pointer; transition: border-color .2s, background .2s; width: 100%; background: #fff; text-align: left; }
.vopt:hover { border-color: var(--line-2); }
.vopt[aria-checked="true"] { border-color: var(--ink); background: #fffaf0; }
.vopt .radio { width: 14px; height: 14px; border: 1.5px solid var(--line-2); border-radius: 50%; flex: none; display: grid; place-items: center; }
.vopt[aria-checked="true"] .radio { border-color: var(--ink); }
.vopt[aria-checked="true"] .radio::after { content: ""; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; }
.vopt b { font-family: var(--mono); display: block; }
.vopt small { color: var(--muted); }
.vopt .tag { margin-left: auto; }
.select-like { border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; background: #fff; }
.cbs { display: flex; gap: 8px; margin: 6px 0 14px; }
.cb { flex: 1; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; display: flex; gap: 8px; align-items: center; font-weight: 600; }
.cb i { width: 13px; height: 13px; background: var(--ink); border-radius: 3px; display: inline-block; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 8px; }
.dialog-foot .mini-btn { flex: none; padding: 7px 16px; }

/* Documents (duty slip, invoice) */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 18px; font-size: .72rem; transition: transform .35s var(--ease), box-shadow .35s; }

.doc .h4 { font-size: .9rem; margin: 0 0 2px; }
.doc .dh { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px; }
.doc .dh small { color: var(--muted); display: block; }
.doc dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 10px; }
.doc dt { font: 500 .56rem var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
.doc dd { margin: 0; font-weight: 500; }
.doc .row { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid #f0ebe0; font-variant-numeric: tabular-nums; }
.doc .row.total { border-top: 2px solid var(--ink); font-weight: 800; font-size: .8rem; }
.doc .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }

/* PDF report preview */
.pdf-wrap { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pdf-stage { background: #d9d2c2; border-radius: 16px; padding: 28px 16px; display: flex; justify-content: center; border: 1px solid var(--line-2); }
.paper { background: #fff; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.414; box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 24px 40px -16px rgba(0, 0, 0, .35); padding: 7% 7% 5%; font-size: clamp(.5rem, 1.55vw, .72rem); line-height: 1.4; position: relative; overflow: hidden; color: #1f1d19; transform-origin: top center; transition: transform .6s var(--ease); }
.paper .ph-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #1f1d19; padding-bottom: .9em; margin-bottom: 1em; }
.paper .ph-head .h4 { font-size: 1.5em; margin: 0; letter-spacing: -.01em; }
.paper .ph-brand { display: flex; align-items: center; gap: .5em; font-weight: 800; font-size: 1.15em; }
.paper .ph-brand svg { width: 1.8em; height: 1.8em; }
.paper .meta { font: 500 .85em var(--mono); color: #6b665c; text-align: right; }
.paper .details { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em 1em; margin-bottom: 1em; }
.paper .details dt { font: 500 .75em var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #6b665c; }
.paper .details dd { margin: 0; font-weight: 700; }
.paper .pmap { border: 1px solid #cfc5b2; border-radius: 4px; overflow: hidden; position: relative; margin-bottom: 1em; }
.paper .pmap svg { width: 100%; height: auto; }
.paper .pmap .cap { position: absolute; left: .6em; bottom: .5em; font: 500 .8em var(--mono); background: rgba(255, 255, 255, .92); padding: .2em .6em; border-radius: 3px; display: flex; gap: .9em; }
.paper .pmap .cap i { display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin-right: .35em; vertical-align: -.1em; }
.paper table { width: 100%; border-collapse: collapse; margin-bottom: .9em; }
.paper th { text-align: left; font: 500 .75em var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #6b665c; border-bottom: 1px solid #1f1d19; padding: .3em .4em; }
.paper td { padding: .35em .4em; border-bottom: 1px solid #ece6da; }
.paper .sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; margin-bottom: .8em; }
.paper .sum div { border: 1px solid #e2dacb; border-radius: 4px; padding: .5em .6em; background: #fbf9f5; }
.paper .sum b { display: block; font-size: 1.35em; letter-spacing: -.01em; }
.paper .sum span { font: 500 .75em var(--mono); text-transform: uppercase; color: #6b665c; }
.paper .foot { position: absolute; left: 7%; right: 7%; bottom: 3.5%; display: flex; justify-content: space-between; font: 500 .8em var(--mono); color: #6b665c; border-top: 1px solid #e2dacb; padding-top: .5em; }
.paper .stamp { position: absolute; right: 7%; top: 3%; font: 700 .75em var(--mono); color: var(--rose); letter-spacing: .1em; }
.pdf-note { font-size: .85rem; color: var(--muted); }
.pdf-pin-start { animation: bob 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* Report form mockup */
.report-form { padding: 20px; max-width: 460px; }
.report-form .h4 { font-size: 1.1rem; }
.lab { display: block; font-weight: 700; font-size: .85rem; margin: 12px 0 6px; }
.fake-in { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: #fff; font-size: .92rem; }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-row label { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 600; background: #fff; transition: border-color .2s; }
.radio-row input { accent-color: var(--amber-700); }
.radio-row label:has(input:checked) { border-color: var(--ink); background: #fffaf0; }

/* Roles mockup */
.roles { display: grid; grid-template-columns: 200px 1fr; font-size: .85rem; }
.roles-list { background: #fbf9f5; border-right: 1px solid var(--line); padding: 16px; }
.roles-list .lab2 { font: 700 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.roles-list button { display: flex; justify-content: space-between; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-weight: 500; margin-bottom: 2px; transition: background .2s; }
.roles-list button:hover { background: var(--band); }
.roles-list button[aria-selected="true"] { background: var(--amber-100); font-weight: 700; }
.roles-detail { padding: 18px 20px; }
.roles-detail header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; gap: 10px; }
.roles-detail .h4 { margin: 0; }
.toggles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tgl { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; background: #fff; cursor: pointer; font-size: .8rem; font-weight: 500; text-align: left; width: 100%; }
.sw { width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; transition: background .25s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.tgl[aria-checked="true"] .sw { background: var(--green); }
.tgl[aria-checked="true"] .sw::after { transform: translateX(14px); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.data th { text-align: left; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbf9f5; }
.data td { padding: 12px 16px; border-bottom: 1px solid #f0ebe0; }
.data tr:last-child td { border-bottom: 0; }

/* Lifecycle */
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.flow .status { font-size: .8rem; padding: 3px 12px; }
.flow .arr { color: var(--muted); }
.js .flow .status { opacity: 0; transform: translateY(6px); }
.js .in .flow .status, .js .flow.in .status { animation: rise .5s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.cancel-note { background: var(--red-100); color: #7a2b1d; border-radius: 10px; padding: 12px 16px; margin: 12px 0 22px; font-size: .92rem; }

/* Feature sub-nav */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; align-items: center; min-height: calc(var(--subnav-h) - 1px); gap: 8px; overflow-x: auto; padding: 0 20px; max-width: var(--wrap); margin: 0 auto; scrollbar-width: none; }
.subnav a { white-space: nowrap; text-decoration: none; font-size: .85rem; font-weight: 500; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); transition: background .2s, color .2s; display: block; }
.subnav a:hover { background: var(--band); }
.subnav a.on { background: var(--ink); color: var(--cream); border-color: var(--ink); font-weight: 700; }
.feature-block { padding: var(--space-section) 0; }
.feature-block:nth-of-type(even) { background: transparent; }
.feature-block h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* Accordion */
.faq { max-width: 820px; }
.faq-group { margin-bottom: 40px; }
.faq details { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 20px; height: 20px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1a17' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 20px; color: var(--ink-2); display: grid; grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq-search { width: 100%; max-width: 820px; margin-bottom: 28px; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 32px; }
.form-card h2 { font-size: 1.4rem; margin-bottom: 18px; }
.f { margin-bottom: 18px; }
.f label, .f legend { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.f label small, .f legend small { font-weight: 400; color: var(--muted); }
.f .req { color: var(--red); }
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=number], .f select, .f textarea {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 12px 14px; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 1rem; }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(176, 205, 230, .8); }
.f [aria-invalid="true"] { border-color: var(--red); }
.f .err { display: none; color: var(--red); font-size: .85rem; margin-top: 6px; }
.f.invalid .err { display: block; }
.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.captcha-q { flex: none; min-width: 8ch; padding: 12px 16px; border-radius: 14px; background: var(--blue-soft); font: 700 1.05rem var(--mono); text-align: center; white-space: nowrap; }
.captcha-row input { flex: 1 1 96px; width: auto; min-width: 0; }
.captcha-note { margin: 8px 0 0; font-size: .82rem; line-height: 1.45; color: var(--muted); max-width: none; }
.captcha-row input:disabled { background: var(--bg); cursor: not-allowed; }
.captcha-refresh { flex: none; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.captcha-refresh:hover:not(:disabled) { border-color: var(--ink); }
.captcha-refresh:disabled { opacity: .5; cursor: progress; }
fieldset.f { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks label { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 11px 14px; font-weight: 600; font-size: .9rem; cursor: pointer; margin: 0; background: #fff; transition: border-color .2s, background .2s; }
.checks label:has(input:checked) { border-color: var(--ink); background: #fffaf0; }
.checks input { accent-color: var(--amber-700); width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--ink); }
.form-status { display: none; border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; font-size: .95rem; }
.form-status.show { display: block; animation: rise .4s var(--ease); }
.form-status.info { background: var(--amber-100); color: var(--ink); }
.form-status.ok { background: var(--green-100); color: #1f4b36; }
.form-status.bad { background: var(--red-100); color: #7a2b1d; }
.form-status h3 { font-size: 1rem; margin-bottom: 4px; }
.form-status pre { white-space: pre-wrap; background: rgba(255, 255, 255, .7); padding: 10px; border-radius: 8px; font: .8rem/1.5 var(--mono); margin: 10px 0 0; }
.spinner { width: 16px; height: 16px; border: 2.5px solid rgba(31, 29, 25, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-list li:last-child { border: 0; }
.contact-list .ico { margin: 0; flex: none; }
.contact-list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--rose); }
.contact-list address { font-style: normal; }

/* Stepper list (demo) */
.mini-steps li { display: flex; gap: 14px; margin-bottom: 20px; }
.mini-steps .num { margin: 0; flex: none; }
.mini-steps b { display: block; }

/* CTA + footer */
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: #d6e2ec; padding: clamp(40px, 5vw, 64px) 0 0; }
.site-footer .wrap { position: relative; z-index: 1; }
.foot-wm { position: absolute; left: 21%; bottom: 4.5rem; z-index: 0; font: 800 clamp(5rem, 21vw, 21rem)/.8 var(--display); letter-spacing: -.05em; color: rgba(110, 150, 190, .07); white-space: nowrap; user-select: none; pointer-events: none; }
.foot-grid { display: grid; grid-template-columns: 372px repeat(4, auto); justify-content: space-between; gap: 32px clamp(20px, 2.2vw, 40px); padding-bottom: clamp(32px, 4vw, 56px); }
.foot-brand { padding-right: 32px; border-right: 1px solid rgba(255, 255, 255, .1); }
.site-footer .foot-h { font: 700 .82rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-teal); margin-bottom: 22px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 12px; line-height: 1.4; }
.foot-grid a { text-decoration: none; font-size: 1.02rem; color: #e8f0f6; overflow-wrap: anywhere; }
.foot-grid a[rel="noopener"] { white-space: nowrap; }
.foot-grid a:hover { color: var(--brand-teal); }
.foot-grid .ext { display: inline-block; width: 15px; height: 15px; margin-left: 8px; vertical-align: -2px; }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .brand img { height: 52px; }
.site-footer p { font-size: 1.02rem; line-height: 1.6; max-width: 34ch; color: #e8f0f6; }
.site-footer .btn-primary { margin-top: 10px; background: var(--brand-green); color: #fff; }
.site-footer .btn-primary:hover { background: #0f9b78; }
.site-footer .store-tagline { max-width: none; margin: 28px 0 14px; font-size: .95rem; }
.store-links { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; min-height: 44px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 8px; background: #000; color: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.store-badge:hover { border-color: var(--brand-teal); background: #0a0a0a; color: #fff; text-decoration: none; }
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: .66rem; color: #d6d6d6; letter-spacing: .02em; }
.store-badge b { font-size: 1rem; font-weight: 700; }
.foot-bottom { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 24px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 26px 0 30px; font-size: .95rem; line-height: 1.5; color: #d6e2ec; }
.foot-powered { display: inline-flex; align-items: center; gap: 12px; justify-self: center; }
.foot-powered img { display: block; height: 30px; width: auto; }
.to-top { justify-self: end; display: inline-flex; align-items: center; gap: 10px; color: #e8f0f6; text-decoration: none; }
.to-top:hover { color: var(--brand-teal); }
.to-top svg { width: 18px; height: 18px; }
@media (max-width: 1260px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .foot-brand { grid-column: 1 / -1; padding: 0 0 28px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 720px) {
  .foot-bottom { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .foot-powered, .to-top { justify-self: center; }
}
@media (max-width: 560px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .store-badge { flex: 1 1 100%; } }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.notice { background: var(--amber-100); border: 1px solid var(--amber-600); color: var(--ink); border-radius: 10px; padding: 14px 18px; font-size: .92rem; margin-bottom: 28px; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .big { font: 800 clamp(5rem, 18vw, 10rem)/1 var(--font); letter-spacing: -.05em; color: var(--ink); }
.nf .big span { color: var(--rose); }

/* Reveal animations (only when JS is on) */
.js .reveal, .js .reveal-l, .js .reveal-r { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in, .js .reveal-l.in, .js .reveal-r.in { opacity: 1; transform: none; }
body { animation: page-in .45s var(--ease); }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .split, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .page-head h1 { max-width: 20ch; }
}
@media (max-width: 720px) {
  .g2, .g3, .g4, .docs, .checks, .toggles { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .roles-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .form-card { padding: 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .feature-block { padding: 52px 0; }
  
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .pdf-stage { padding: 14px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .reveal-l, .js .reveal-r { opacity: 1; transform: none; }
  .js .route-line, .js .line-chart .ln, .js .sig-path { stroke-dashoffset: 0; }
    .js .flow .status, .js .line-chart .area { opacity: 1; transform: none; }
  body { animation: none; }
}
@media print { .site-header, .subnav, .cta, .site-footer { display: none; } }
.ico-s { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--ink); }
.faq-search:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(176, 205, 230, .8); }
.h4 { font-weight: 700; letter-spacing: -.01em; }
.dtl { font: 500 .56rem var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
.btn svg { width: 18px; height: 18px; flex: none; }
.chip svg { flex: none; }
.hero-grid > *, .split > *, .grid > *, .cta-grid > * { min-width: 0; }
.phone-screen .map-svg { height: 100%; }
@media (max-width: 1024px) {
  .hero-grid, .split, .cta-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .g2, .g3, .g4, .docs, .checks, .toggles, .roles { grid-template-columns: minmax(0, 1fr); }
}
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .pair { grid-template-columns: minmax(0, 1fr); } }

/* ===== DutyGo identity v2: stages, stats, story rows, product tour ===== */
.cta-band { background: var(--blue); color: var(--ink); padding: 0; }
.cta-band .wrap { padding-block: var(--space-section); }
.cta-band h2 { font-size: clamp(2rem, 1.1rem + 3.4vw, 3.75rem); line-height: 1; letter-spacing: -.045em; max-width: 16ch; margin-bottom: 16px; }
.cta-band .lead { color: var(--ink); }
.cta-band .btn-primary { background: var(--ink); color: var(--cream); }
.cta-band .btn-primary:hover { background: #34322c; }
.cta-band .btn-outline { border-color: var(--ink); color: var(--ink); }
.cta-band .btn-outline:hover { background: var(--ink); color: var(--cream); }
.link-arrow { color: var(--ink); border-bottom: 2px solid var(--rose); padding-bottom: 1px; }
.link-arrow:hover { text-decoration: none; background: rgba(27, 26, 23, .08); }
.header-cta { }

/* stages: large rounded canvases that hold realistic product UI */
.stage { position: relative; border-radius: 36px; background: var(--sand); padding: clamp(20px, 4vw, 52px); overflow: hidden; }
.stage.lav { background: #D9E6F2; }
.stage.cream { background: var(--cream); }
.stage.dark { background: var(--ink); color: #f3f0e6; }
.stage.white { background: #fff; border: 1px solid var(--line); }
.stage .frame { box-shadow: 0 30px 60px -28px rgba(27, 26, 23, .35); border: 0; }
.stage.dark .sample, .stage .sample { text-align: center; }
.stage.dark .sample { color: #9c988b; }
.stage .map-card, .stage .dialog, .stage .doc { box-shadow: 0 30px 60px -28px rgba(27, 26, 23, .4); }
.stage-phone { position: absolute; right: clamp(8px, 3vw, 36px); bottom: -64px; width: 210px; z-index: 3; }
.stage-phone .phone { width: 210px; }
.stage-phone .phone-screen { min-height: 330px; }
.hero-stage { padding: clamp(18px, 3vw, 40px); padding-bottom: 84px; }
@media (max-width: 720px) { .stage-phone { display: none; } .hero-stage { padding-bottom: 28px; } }

/* hero */
.hero-v2 { padding: var(--space-hero-top) 0 var(--space-hero-bottom); }
.hero-v2 .hero-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-v2 h1 { margin-bottom: 20px; }
.hero-v2 h1 em { font-style: normal; color: var(--rose); }
.hero-v2 .lead { max-width: 46ch; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.stat { padding: 28px 24px 8px 0; }
.stat b { display: block; font: 800 clamp(3.2rem, 7vw, 5.5rem)/1 var(--display); letter-spacing: -.06em; }
.stat span { display: block; color: var(--ink-2); font-weight: 500; margin-top: 8px; max-width: 18ch; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* problem list on dark */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }


/* feature index: open grid with line icons (no card chrome) */
.index { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px) 40px; margin-top: var(--space-head); }
.index article { border-top: 2px solid var(--ink); padding-top: 22px; transition: border-color .3s; }
.index article:hover { border-top-color: var(--rose); }
.index .ico { margin-bottom: 18px; }
.index h3 { margin-bottom: 10px; }
.index p { color: var(--ink-2); margin: 0 0 8px; }
@media (max-width: 1024px) { .index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .index { grid-template-columns: 1fr; gap: 36px; } .problem { grid-template-columns: 1fr; gap: 32px; }  }

/* numbered story rows */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line-2); }
.story:first-of-type { border-top: 2px solid var(--ink); }
.story.rev { grid-template-columns: 1.2fr .8fr; }
.story.rev .story-text { order: 2; }
.story .n { font: 800 clamp(4rem, 9vw, 7.5rem)/.9 var(--display); letter-spacing: -.07em; color: var(--rose); display: block; margin-bottom: 18px; }
.story h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.04em; }
.story > * { min-width: 0; }
@media (max-width: 1024px) { .story, .story.rev { grid-template-columns: minmax(0, 1fr); gap: 32px; } .story.rev .story-text { order: 0; } }

/* product tour tabs */
.tour-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0 24px; }
.tour-tabs button { border: 2px solid var(--ink); background: transparent; border-radius: 999px; padding: 11px 22px; font: 700 .95rem var(--font); cursor: pointer; transition: background .2s, color .2s; }
.tour-tabs button:hover { background: var(--band); }
.tour-tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.tour-panel { animation: tour-in .5s var(--ease); }
.tour-panel[hidden] { display: none; }
@keyframes tour-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tour-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; }
@media (max-width: 1024px) { .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.tour-note h3 { font-size: 1.8rem; }

/* simple rows (who it's for / roadmap) */
.rowlist li { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-2); transition: background .3s; }
.rowlist li:first-child { border-top: 2px solid var(--ink); }
.rowlist li:hover { background: linear-gradient(90deg, rgba(27, 26, 23, .06), transparent 70%); }
.rowlist h3 { margin: 0; font-size: 1.5rem; }
.rowlist p { margin: 0; color: var(--ink-2); }
.rowlist .tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) { .rowlist li { grid-template-columns: 1fr; gap: 8px; } .rowlist .tags { justify-content: flex-start; } }
.dark .rowlist li { border-color: #3a382f; } .dark .rowlist li:first-child { border-top-color: var(--blue); } .dark .rowlist p { color: #cdc9bc; }

/* misc refinements to older components */
.page-head .eyebrow + h1 { margin-top: 4px; }
.chips .chip { border: 2px solid var(--ink); background: transparent; font-weight: 600; padding: 7px 16px; }
.chip svg { color: var(--ink); }
.ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1a17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.dark .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0CDE6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.ticks li { font-size: 1.05rem; }
.form-card { border-radius: 32px; border: 0; box-shadow: none; background: var(--surface); }
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=number], .f select, .f textarea { border-radius: 14px; border-color: #cfc9b8; }
.checks label { border-radius: 14px; }
.checks label:has(input:checked) { background: var(--amber-100); border-color: var(--ink); }
.radio-row label:has(input:checked) { background: var(--amber-100); }
.frame, .map-card { border-radius: 20px; }
.faq details { border-radius: 20px; background: transparent; border-color: var(--line-2); }
.faq details[open] { background: var(--surface); }
.faq summary { font: 700 1.15rem var(--display); letter-spacing: -.02em; }
.table-wrap { border-radius: 20px; }
.section.band { background: var(--sand); }
.legal h2 { font-size: 1.6rem; }
.hero .btn-row .btn { min-width: 0; }
@media (max-width: 1024px) { .hero-v2 .hero-grid { grid-template-columns: minmax(0, 1fr); } .cta-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .stage { border-radius: 26px; } }
.dark .cross li { color: #f3f0e6; border-color: #3a382f; } .dark .cross li::before { background: var(--blue); color: var(--ink); }
.stage.dark .phone { box-shadow: none; } .stage .pair { gap: 24px; }
.map-legend, .map-card .tagline, .frame, .dialog, .doc, .paper, .phone-screen { color: var(--ink); }
.stage-phone { right: auto; left: clamp(6px, 1.6vw, 22px); bottom: -70px; width: 190px; }
.stage-phone .phone { width: 190px; }
.hero-stage .frame { margin-left: 70px; }

/* ===== Palette v3: tone sections (cream / powder blue / lavender) ===== */
.tone-blue, .section.band { background: var(--blue-soft); }
.tone-lav { background: #fff; }
.tone-blue .card.static { background: #fff; }
.tone-blue .chips .chip, .tone-lav .chips .chip { border-color: var(--ink); }
.tone-lav .ph, .tone-blue .ph { background: var(--cream); }
.stage .frame, .stage .map-card, .stage .dialog, .stage .doc { box-shadow: 0 24px 48px -28px rgba(27, 26, 23, .45); }
.stage.white { background: var(--surface); }
.hero-stage { background: var(--blue); }
.tag.dark { background: var(--ink); color: var(--cream); }
.state-pick button { background: var(--cream); }
.stage .state-pick button[aria-pressed="false"] { background: var(--cream); }
.paper { color: var(--ink); }

/* ===== Layout v4: centred hero, product shots, showcases ===== */
.hero-c { padding: var(--space-hero-top) 0 calc(var(--space-hero-bottom) * .6); text-align: center; }
.hero-c h1 { max-width: 18ch; margin: 0 auto 20px; }
.hero-c .lead { margin: 0 auto; max-width: 52ch; }
.hero-c .btn-row, .hero-c .chips { justify-content: center; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; border-radius: 18px; background: #fff; box-shadow: 0 24px 48px -28px rgba(27, 26, 23, .45); }
.shot.phone { max-width: 300px; margin-inline: auto; }
.shot.phone img { border-radius: 28px; }
.stage .shot img { box-shadow: 0 24px 48px -28px rgba(27, 26, 23, .5); }
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: var(--space-head); }
.sc { background: #fff; border-radius: 28px; padding: 14px 14px 26px; display: flex; flex-direction: column; transition: background .3s; }
.sc:hover { background: var(--blue-soft); }
.sc .sc-img { background: var(--blue); border-radius: 18px; padding: 18px; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; }
.sc .sc-img img { width: 100%; height: 100%; object-fit: contain; object-position: center top; border-radius: 12px; }
.sc h3 { margin: 22px 12px 8px; font-size: 1.4rem; }
.sc p { margin: 0 12px; color: var(--ink-2); }
@media (max-width: 1024px) { .showcase { grid-template-columns: minmax(0, 1fr); } .sc .sc-img { aspect-ratio: 16 / 10; } }
.pair-img { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 720px) { .pair-img { grid-template-columns: minmax(0, 1fr); } }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.sc .sc-img { padding: 12px; }
.sc .sc-img img { object-fit: cover; object-position: left top; }
.stage.white { padding: clamp(12px, 2.5vw, 28px); }
.tour-grid { grid-template-columns: .55fr 1.45fr; }
@media (max-width: 1024px) { .tour-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-c h1 em { font-style: normal; color: var(--rose); }

.store-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }

/* SEO links directory */
.seo-dir { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; margin-top: 40px; }
.seo-dir h3 { font-size: 1rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-700); margin-bottom: 14px; }
.seo-dir ul { list-style: none; margin: 0; padding: 0; }
.seo-dir li { border-top: 1px solid var(--line); }
.seo-dir li:last-child { border-bottom: 1px solid var(--line); }
.seo-dir a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.seo-dir a:hover { color: var(--rose); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--rose); text-decoration: underline; }

/* Breadcrumbs */
.crumbs { padding: 14px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--rose); text-decoration: underline; }
.crumbs + .hero, .crumbs + .page-head, .wrap:has(> .crumbs) + .hero, .wrap:has(> .crumbs) + .page-head { padding-top: calc(var(--space-hero-top) * .6); }

/* ===== Responsive typography & layout pass ===== */
:root { interpolate-size: allow-keywords; }
html, body { overflow-x: clip; }
body { font-size: clamp(1.0625rem, .35vw + 1rem, 1.1875rem); line-height: 1.65; }
h1, h2, h3, h4, p, li, a, summary { overflow-wrap: break-word; }
.eyebrow { font-size: clamp(.85rem, .2vw + .8rem, .95rem); }
.card p, .ticks li, .rowlist p { font-size: 1.0625rem; }
.rowlist h3 { font-size: clamp(1.3rem, 1.2vw + 1rem, 1.65rem); }
.nav-links a { font-size: .95rem; }
.btn { font-size: 1.0625rem; min-height: 48px; }
.btn-sm { font-size: 1rem; min-height: 44px; padding: 10px 22px; }
.tag { font-size: .8rem; }
.sample { font-size: .74rem; }
.seo-dir a { font-size: 1.02rem; }
.crumbs ol { font-size: .98rem; }
.menu-btn { min-width: 44px; min-height: 44px; }
img, svg, video, iframe { max-width: 100%; }
.table-wrap { overflow-x: auto; }
@media (max-width: 560px) { .btn-row .btn { flex: 1 1 100%; } }

/* ===== FAQ: full-width accordion ===== */
.faq-head { max-width: 800px; margin-bottom: var(--space-head); }
.faq-head .lead { margin-bottom: 0; }
.faq { max-width: none; width: 100%; }
.faq-group { margin-bottom: var(--space-head); }
.faq-group > :is(h2, h3) { font-size: clamp(.95rem, .3vw + .9rem, 1.1rem) !important; margin-bottom: 18px; }
.faq details { border: 1px solid var(--line-2); border-radius: 20px; background: transparent; margin-bottom: 12px; transition: background .25s, border-color .25s, box-shadow .25s; }
.faq details:hover { border-color: var(--ink); }
.faq details[open] { background: var(--surface); border-color: var(--ink); box-shadow: var(--shadow); }
.faq summary { font: 700 clamp(1.15rem, 1.1vw + .95rem, 1.5rem)/1.3 var(--display); letter-spacing: -.02em; padding: clamp(16px, 2vw, 24px) clamp(18px, 2.6vw, 30px); gap: 20px; min-height: 60px; border-radius: 20px; }
.faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.faq summary::after { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1a17' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: background-color .25s, transform .3s var(--ease); }
.faq details[open] summary::after { transform: none; background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1a17' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.faq .ans { display: block; padding: 0 clamp(18px, 2.6vw, 30px) clamp(18px, 2.4vw, 26px); font-size: clamp(1.0625rem, .3vw + 1rem, 1.15rem); line-height: 1.7; max-width: 78ch; }
.faq .ans > div { overflow: visible; padding-top: 4px; }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
.faq-search { max-width: none !important; font-size: 1.0625rem; }
.nav { gap: clamp(12px, 1.4vw, 20px); }
.nav-links { gap: 2px; }
.nav-links a { white-space: nowrap; padding: 10px clamp(6px, .6vw, 10px); }
.nav-actions { align-items: center; gap: 14px; flex: none; }
@media (min-width: 1321px) { .nav-actions { display: flex; } }
.nav-actions .btn { white-space: nowrap; }
.nav-actions .login { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 10px; color: var(--ink); white-space: nowrap; }
.nav-actions .login:hover { color: var(--brand-green); }
.site-header .btn-primary { background: var(--brand-green); color: #fff; padding: 12px 22px; }
.site-header .btn-primary:hover { background: #096b53; }
@media (max-width: 520px) { .brand img { height: 30px; } .brand-by { gap: 8px; } .by-line { height: 24px; } .partner { height: 20px; } }
@media (max-width: 360px) { .brand-by { display: none; } }
.brand { flex: none; }

.seo-cities { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.seo-cities h3 { font-size: 1rem; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-700); margin-bottom: 10px; }
.seo-cities p { max-width: 70ch; margin-bottom: 18px; font-size: .95rem; }
.seo-cities ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 24px; }
.seo-cities a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.seo-cities p a { display: inline; padding: 0; text-decoration: underline; }
.seo-cities a:hover { color: var(--rose); }
@media (max-width: 560px) { .seo-cities ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } }

/* ===== Layout refinements (spacing tokens live in :root) ===== */
.subnav ul { max-width: var(--wrap); padding-inline: var(--gutter); }
.split { gap: clamp(32px, 5vw, 80px); }
.grid.g3, .grid.g4 { gap: clamp(16px, 2vw, 28px); }
.card { padding: clamp(20px, 2vw, 30px); }
.section-head { max-width: 800px; }
.hero-c .lead { max-width: 58ch; }
.legal { max-width: 800px; }

/* Footer link columns */

/* SEO directory */
.seo-dir { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); margin-top: var(--space-head); }
.seo-dir h3 { margin-bottom: 14px; line-height: 1.3; font-size: .86rem; letter-spacing: .06em; white-space: nowrap; }
.seo-dir a { padding: 12px 0; line-height: 1.4; text-wrap: pretty; }
.section:has(> .wrap > .seo-dir) { padding-top: 0; }
.seo-cities { margin-top: var(--space-head); padding-top: var(--space-head); }
.seo-cities p { max-width: 80ch; line-height: 1.6; }
.seo-cities ul { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.seo-cities a { padding: 8px 0; line-height: 1.4; }
@media (max-width: 1180px) { .seo-dir { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .seo-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; } }
@media (max-width: 480px) { .seo-dir { grid-template-columns: minmax(0, 1fr); } .seo-dir h3 { white-space: normal; } .seo-cities ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Motion system (driven by js/motion.js; every effect degrades to the static page) ===== */
.m-progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--rose); transform: scaleX(0); transform-origin: 0 50%; z-index: 100; pointer-events: none; }
.site-header { transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 28px -18px rgba(27, 26, 23, .45); }
.brand .mark { transition: transform .7s var(--ease); }
.brand:hover .mark { transform: rotate(360deg); }
.js .nav-links a { animation: m-drop .6s var(--ease) both; }
.js .nav-links a:nth-child(1) { animation-delay: .05s; } .js .nav-links a:nth-child(2) { animation-delay: .1s; }
.js .nav-links a:nth-child(3) { animation-delay: .15s; } .js .nav-links a:nth-child(4) { animation-delay: .2s; }
.js .nav-links a:nth-child(5) { animation-delay: .25s; } .js .nav-links a:nth-child(6) { animation-delay: .3s; }
.js .nav-links a:nth-child(7) { animation-delay: .35s; } .js .nav-links a:nth-child(8) { animation-delay: .4s; }
@keyframes m-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* Split headings: words rise out of a mask. Hidden only until JS has split them (m-pre / m-split). */
.m-pre .hero-c h1, .m-pre .page-head h1, .m-pre .hero h1 { visibility: hidden; }
.m-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.m-split .wi { display: inline-block; transform: translateY(110%); }
.m-split.m-in .wi { animation: m-rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
@keyframes m-rise { from { transform: translateY(110%); } to { transform: none; } }

/* Layered backgrounds: rings and a dispatch route that a vehicle follows as you scroll */
.m-host { position: relative; isolation: isolate; }
.m-host > .wrap { position: relative; z-index: 1; }
.m-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; color: rgba(27, 26, 23, .22); }
.m-route { position: absolute; left: 50%; top: 0; width: max(100%, 1100px); height: 100%; transform: translateX(-50%); overflow: visible; }
.m-ring { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.m-path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.m-stop { fill: var(--cream); stroke: currentColor; stroke-width: 2; }
.m-veh .dot { fill: var(--rose); }
.m-veh .pulse { fill: none; stroke: var(--rose); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: m-pulse 2.4s ease-out infinite; }
@keyframes m-pulse { from { transform: scale(.6); opacity: .8; } to { transform: scale(3); opacity: 0; } }
.cta-band.m-host { overflow: hidden; }
.cta-band .m-bg { color: rgba(27, 26, 23, .3); }
.cta-band .m-ring { stroke: rgba(255, 255, 255, .6); }
.cta-band .m-stop { fill: var(--blue); }

/* Micro-interactions */
.btn span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(5px); }
.btn-primary:hover { box-shadow: 0 16px 30px -16px rgba(27, 26, 23, .6); }
.m-mag { transition: background .2s, color .2s, border-color .2s, box-shadow .3s !important; }
.index article, .card, .seo-cities li a { transition: border-color .2s, background .2s, box-shadow .35s var(--ease); }
.card.static:hover, .index article:hover { box-shadow: 0 28px 48px -30px rgba(27, 26, 23, .45); }
.link-arrow { transition: background .2s, padding .3s var(--ease); }
.link-arrow:hover { padding-inline: 6px; }

@media (prefers-reduced-motion: reduce) {
  .m-split .wi { transform: none; }
  .m-veh .pulse { animation: none; }
  .m-progress { display: none; }
}

/* ===== Cinematic hero: cab booking scene (js/cab-scene.js drives it; the HTML is a complete poster frame) ===== */
.cab-hero { position: relative; padding: 0; background: #E4EEF7; }
.cab-pin { position: relative; display: flex; flex-direction: column; min-height: max(620px, calc(100svh - var(--header-h))); overflow: hidden; background: #f6f8fb; }
/* The scene scales with its width (1200 units = 100%), so the pickup pill sits 19vw above the bottom edge. This spacer keeps that much room under the copy at any zoom or width, so the two cannot overlap. */
.cab-pin::after { content: ""; flex: 1 0 auto; min-height: 21vw; }
/* Scroll runway for the pinned scene is plain CSS, so layout is final at first paint and anchor links land correctly */
@media (min-width: 861px) and (min-height: 620px) {
  .cab-live .cab-hero { height: calc(max(620px, calc(100svh - var(--header-h))) + 260svh); }
  .cab-live .cab-pin { position: sticky; top: var(--header-h); }
}
.cab-copy { position: relative; z-index: 3; padding-top: clamp(28px, 5vh, 60px); }
.cab-copy h1 { max-width: 24ch; margin-bottom: 18px; }
.cab-copy h1 em { display: block; }
.cab-copy .lead { max-width: 56ch; font-size: clamp(1rem, .9rem + .35vw, 1.2rem); }
.cab-copy .btn-row { margin-top: 26px; }
.cab-stage { position: absolute; left: 0; right: 0; bottom: 0; height: min(100%, 50vw); z-index: 1; } /* never taller than the 2:1 scene, so zooming out cannot rescale it up into the copy */
.cab-svg { display: block; width: 100%; height: 100%; }
.cab-svg .sun { fill: #fff; opacity: .5; }
.cab-svg .win { fill: #e1ecf5; }
.cab-svg .cab-mid { fill: #c5d7e7; }
.cab-svg .tree rect { fill: #aebfcb; } .cab-svg .tree circle { fill: #b9cbd6; }
.cab-svg .tree.t2 rect { fill: #8b9aa5; } .cab-svg .tree.t2 circle { fill: #a6b8c3; }
.cab-svg .bld-a rect:first-child { fill: #e8ebee; }
.cab-svg .bld-a .glass { fill: #c9dcea; } .cab-svg .door { fill: #2b3038; } .cab-svg .awning { fill: #B0CDE6; }
.cab-svg .bld-b rect:first-child { fill: #b9cfe2; } .cab-svg .glass2 { fill: #dbe8f2; } .cab-svg .door2 { fill: #2b3038; }
.cab-svg .lamp path { fill: none; stroke: #4a525b; stroke-width: 4; stroke-linecap: round; } .cab-svg .lamp circle { fill: #f6f1de; }
.cab-svg .walk { fill: #ece9e2; } .cab-svg .curb { stroke: #c9c5b9; stroke-width: 3; }
.cab-svg .road { fill: #454a52; } .cab-svg .edge { stroke: rgba(255, 255, 255, .22); stroke-width: 2; }
.cab-svg .dash { stroke: #e9e6dc; stroke-width: 4; stroke-dasharray: 34 30; opacity: .85; }
.cab-svg .low { fill: #dedad0; }
.cab-svg .cab-fore ellipse { fill: #b4c6bf; } .cab-svg .pole rect { fill: #2b3038; opacity: .9; }
.cab-svg .pax .coat { stroke: none; } .cab-svg .pax .head { fill: #e0b79a; }
.cab-svg .pax .bag { fill: #946D6D; }
.cab-svg .pax .legL path, .cab-svg .pax .legR path { fill: none; stroke: #1b1a17; stroke-width: 5; stroke-linecap: round; }
.cab-svg .pin path { fill: #1b1a17; } .cab-svg .pin .dot { fill: #B0CDE6; } .cab-svg .pin-b path { fill: #B0CDE6; } .cab-svg .pin-b .dot { fill: #1b1a17; }
.cab-svg .pin .ring { fill: none; stroke: #946D6D; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: m-pulse 2.4s ease-out infinite; }
.cab-svg .pin .bob { animation: cab-bob 3s ease-in-out infinite; }
.cab-svg .pin text { font: 800 15px var(--display); fill: #1b1a17; letter-spacing: -.01em; }
.cab-svg .pin.done { opacity: .4; }
.cab-svg .cab-brand { font: 800 22px var(--display); letter-spacing: -.03em; fill: #f5f5f5; }
.cab-svg .wheel { transform-box: fill-box; transform-origin: center; }
.cab-svg .cab-pill rect { fill: rgba(255, 255, 255, .94); stroke: rgba(27, 26, 23, .16); }
.cab-svg .cab-pill circle { fill: #946D6D; }
.cab-svg .cab-pill text { font: 700 15px var(--font); fill: #1b1a17; }
.cab-svg .car-in { animation: cab-arrive 2.8s cubic-bezier(.16, .8, .3, 1) both; }
.cab-svg .car-in .wheel { animation: cab-spin 2.8s cubic-bezier(.16, .8, .3, 1) both; }
@keyframes cab-arrive { from { transform: translateX(-760px); } to { transform: none; } }
@keyframes cab-spin { from { transform: rotate(-1500deg); } to { transform: none; } }
@keyframes cab-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.cab-hud { position: absolute; z-index: 4; right: clamp(12px, 3vw, 40px); bottom: clamp(14px, 4vh, 40px); margin: 0; padding: 14px 16px; list-style: none; display: grid; gap: 7px; border-radius: 18px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: 0 18px 36px -22px rgba(27, 26, 23, .5); font-size: .8rem; font-weight: 700; color: var(--muted); }
.cab-hud li { display: flex; align-items: center; gap: 9px; transition: color .3s; }
.cab-hud li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--line-2); transition: background .3s, border-color .3s; }
.cab-hud li.is-done { color: var(--ink-2); } .cab-hud li.is-done::before { background: var(--blue); border-color: var(--blue); }
.cab-hud li.is-on { color: var(--ink); } .cab-hud li.is-on::before { background: var(--rose); border-color: var(--rose); }
@media (max-width: 860px), (max-height: 619px) {
  .cab-pin { min-height: 0; overflow: visible; padding-top: clamp(24px, 5vw, 40px); background: var(--cream); }
  .cab-pin::after { display: none; }
  .cab-copy { display: contents; }
  .cab-copy > * { margin-inline: var(--gutter); }
  .cab-copy .eyebrow { order: 1; align-self: center; }
  .cab-copy h1 { order: 2; margin-bottom: 18px; }
  .cab-copy .btn-row { order: 3; margin-top: 0; margin-bottom: 26px; }
  .cab-stage { order: 4; position: relative; height: clamp(250px, 68vw, 380px); background: #E4EEF7; }
  .cab-copy .lead { order: 5; margin: 24px auto 28px; padding-inline: var(--gutter); }
}
@media (max-width: 640px) { .cab-hud { display: none; } }
@media (prefers-reduced-motion: reduce) { .cab-svg .pin .bob { animation: none; } }

/* Same-tone neighbours: don't stack both paddings (e.g. features.html reports -> related pages) */
.feature-block:not([class*="tone-"]) + .section.tight:not([class*="tone-"]) { padding-top: 0; }

/* Driver section: two overlapping phones in the panel (driver trip in front-left, expenses behind-right).
   Built at a fixed 573x637 design size and scaled to the panel width with container units, so the overlap and
   proportions hold at every width. The trip image is cropped to the phone itself (it sits on a cream canvas). */
.stage-phones { padding: 0; aspect-ratio: 573 / 637; container-type: inline-size; width: 100%; max-width: 573px; margin-inline: auto; }
.stage-phones .compose { position: absolute; left: 0; top: 0; width: 573px; height: 637px; transform-origin: 0 0; }
@supports (width: calc(tan(atan2(1px, 1px)) * 1px)) { .stage-phones .compose { scale: tan(atan2(100cqw, 573px)); } }
.stage-phones .pf { position: absolute; z-index: 2; left: 41px; top: 81px; width: 229px; margin: 0; filter: drop-shadow(0 26px 22px rgba(27, 26, 23, .38)); }
.stage-phones .pf-crop { display: block; position: relative; aspect-ratio: 1 / 2; overflow: hidden; border-radius: 13.8% / 6.9%; }
.stage-phones .pf img { position: absolute; left: -.4%; top: -.2%; width: 125%; max-width: none; height: auto; border-radius: 0; box-shadow: none; background: none; }
.stage-phones .phone { position: absolute; z-index: 1; left: 251px; top: 34px; width: 270px; max-width: none; margin: 0; }

/* Single phone, centred in its panel (same crop and scaling as the pair above) */
.stage-phones.one { aspect-ratio: 573 / 600; }
.stage-phones.one .compose { height: 600px; }
.stage-phones.one .pf { left: 151.5px; top: 30px; width: 270px; }
.stage-phones.one .sample { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; text-align: center; }
/* Two content phones, overlapping at the bezels: driver trip in front-left, guest tracking behind-right */
.stage-phones .pf-a { left: 52px; top: 99px; width: 240px; z-index: 2; }
.stage-phones .pf-b { left: 284px; top: 58px; width: 240px; z-index: 1; }

/* ===== Homepage: duty updates, animated sample notifications (js/main.js [data-notify]) =====
   Without JS or with reduced motion, all seven cards are shown statically, in order. */
.notify-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.notify-copy h2 { max-width: 14ch; }
.nsteps { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 28px; max-width: 460px; }
.nsteps li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-weight: 600; font-size: .98rem; color: var(--muted); transition: color .4s var(--ease); }
.nsteps li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.nsteps li.is-done { color: var(--ink-2); }
.nsteps li.is-done::before { background: var(--ink); border-color: var(--ink); }
.nsteps li.is-now { color: var(--ink); }
.nsteps li.is-now::before { background: var(--rose); border-color: var(--rose); box-shadow: 0 0 0 4px rgba(148, 109, 109, .2); }
.notify-note { margin-top: 22px; max-width: 52ch; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.notify-stage { position: relative; display: grid; place-items: center; padding: 12px 0; }
.notify-stage::before { content: ""; position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(148, 109, 109, .16), rgba(176, 205, 230, .0) 68%); pointer-events: none; }
.nphone { position: relative; width: min(310px, 100%); }
.nphone .phone-screen { min-height: 0; padding-bottom: 12px; background: linear-gradient(180deg, #d3e3f1 0%, #e8f0f7 48%, #f5f5f5 100%); }
.nbat { width: 22px; height: 10px; border: 1.5px solid var(--ink); border-radius: 3px; position: relative; }
.nbat::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: var(--ink); border-radius: 1px; }
.nhead { display: flex; justify-content: space-between; align-items: center; padding: 2px 16px 8px; font-weight: 700; font-size: .8rem; }
.nhead .sample { margin: 0; }
.nseg { display: flex; gap: 4px; padding: 0 16px 12px; }
.nseg i { flex: 1; height: 3px; border-radius: 3px; background: rgba(27, 26, 23, .14); transition: background .4s var(--ease); }
.nseg i.on { background: var(--rose); }
.nlist { list-style: none; margin: 0; padding: 0 10px; display: flex; flex-direction: column; }
.ncard-in { min-height: 0; overflow: hidden; padding: 0 2px 8px; }
.ncard-box { display: flex; gap: 10px; padding: 11px 12px; background: rgba(255, 255, 255, .94); border-radius: 16px; box-shadow: 0 1px 2px rgba(27, 26, 23, .06), 0 6px 14px -8px rgba(27, 26, 23, .28); }
.nico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.nico svg { width: 18px; height: 18px; }
.nico-blue { background: var(--blue-soft); color: var(--ink); }
.nico-rose { background: #efe3e3; color: var(--amber-700); }
.nico-green { background: var(--green-100); color: var(--green); }
.ntxt { min-width: 0; flex: 1; }
.nmeta { display: flex; align-items: center; gap: 6px; font-size: .66rem; color: var(--muted); }
.napp { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ntime { margin-left: auto; white-space: nowrap; }
.npill { font: 700 .6rem/1 var(--font); letter-spacing: .02em; padding: 3px 7px; border-radius: 999px; }
.npill-blue { background: var(--blue-soft); color: var(--ink); }
.npill-rose { background: #efe3e3; color: var(--amber-700); }
.npill-green { background: var(--green-100); color: var(--green); }
.ntxt b { display: block; margin-top: 5px; font-size: .86rem; line-height: 1.25; }
.ntxt p { margin: 2px 0 0; font-size: .76rem; line-height: 1.35; color: var(--ink-2); }
/* Animated mode: JS adds .n-anim. Newest card on top; cards slide in and push older ones down; only the latest four stay. */
.n-anim .nlist { flex-direction: column-reverse; justify-content: flex-end; height: 328px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.n-anim .ncard { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--ease), opacity .45s var(--ease); }
.n-anim .ncard.is-in { grid-template-rows: 1fr; opacity: 1; }
.n-anim .ncard.is-old { grid-template-rows: 0fr; opacity: 0; }
.n-anim .ncard-box { transform: translateY(-12px) scale(.97); transition: transform .55s var(--ease); }
.n-anim .ncard.is-in .ncard-box { transform: none; }
.n-anim .ncard.is-new .nico { animation: npop .6s var(--ease) .15s both; }
@keyframes npop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
/* Tablet and mobile: heading and lead, then the phone, then the CTA. The step list stays for screen readers only. */
@media (max-width: 1024px) {
  .notify-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .notify-copy { display: contents; }
  .notify-copy > * { order: 1; }
  .notify-copy h2 { max-width: 20ch; }
  .notify-stage { order: 2; margin: 28px 0 8px; }
  .notify-copy > .btn-row { order: 3; margin-top: 24px; }
  .notify-copy > .notify-note { order: 4; }
  .nsteps { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.notify:not(.n-anim) .nseg i { background: var(--rose); }
