/* ==========================================================================
   Coban Tracker — site styles
   Light, Apple-inspired surfaces with frosted "liquid glass" panels.
   ========================================================================== */

:root {
    --bg: #f5f5f7;
    --paper: #ffffff;
    --ink: #1d1d1f;
    --ink-2: #424245;
    --muted: #6e6e73;
    --faint: #a1a1a6;
    --line: rgba(0, 0, 0, .08);
    --line-2: rgba(0, 0, 0, .14);

    --red: #e3262e;
    --red-2: #c3161e;
    --red-soft: rgba(227, 38, 46, .09);
    --green: #30b45a;
    --amber: #f2a20c;
    --charcoal: #2b2b2e;

    --night: #000;
    --night-2: #111113;
    --night-ink: #f5f5f7;
    --night-muted: #86868b;

    --map-land: #eceef1;
    --map-block: #e6e9ed;
    --map-street: #f7f8fa;
    --map-road: #ffffff;
    --map-casing: #d5d9df;
    --map-water: #c7ddf1;
    --map-park: #d8e9d6;
    --map-label: #9298a1;

    --r-xl: 36px;
    --r-lg: 28px;
    --r-md: 20px;
    --r-sm: 14px;

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Geist", "Segoe UI", system-ui, sans-serif;
    --mono: "SF Mono", "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --gutter: clamp(16px, 4vw, 32px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: rgba(227, 38, 46, .18); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 920px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.display {
    font-size: clamp(46px, 6.6vw, 88px);
    line-height: 1.01;
    letter-spacing: -.048em;
    font-weight: 650;
    margin: 0;
}
.display-sm { font-size: clamp(40px, 5.6vw, 76px); }

.h2 {
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.04;
    letter-spacing: -.042em;
    font-weight: 650;
    margin: 0;
}
.h3 {
    font-size: clamp(21px, 2vw, 26px);
    line-height: 1.18;
    letter-spacing: -.025em;
    font-weight: 620;
    margin: 0;
}
.h4 { font-size: 18px; line-height: 1.3; letter-spacing: -.02em; font-weight: 620; margin: 0; }

.lede {
    font-size: clamp(19px, 1.55vw, 22px);
    line-height: 1.42;
    letter-spacing: -.018em;
    color: var(--muted);
    margin: 0;
    max-width: 38ch;
}
.lede strong { color: var(--ink); font-weight: 560; }
.body-muted { color: var(--muted); margin: 0; }
.dim { color: var(--faint); }
.red { color: var(--red); }

.label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 22px;
}
.label .dot, .live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(227, 38, 46, .5);
    animation: pulse 2s infinite;
    flex: none;
}
.live-dot.green { background: var(--green); animation-name: pulse-green; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(227, 38, 46, .45); }
    70% { box-shadow: 0 0 0 9px rgba(227, 38, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 38, 46, 0); }
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(48, 180, 90, .45); }
    70% { box-shadow: 0 0 0 8px rgba(48, 180, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(48, 180, 90, 0); }
}

.mono { font-family: var(--mono); letter-spacing: 0; }

/* --------------------------------------------------------------------------
   Glass
   -------------------------------------------------------------------------- */

.glass {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .52));
    -webkit-backdrop-filter: blur(24px) saturate(185%);
    backdrop-filter: blur(24px) saturate(185%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .85),
        inset 0 -1px 0 rgba(255, 255, 255, .25),
        0 1px 2px rgba(16, 24, 40, .05),
        0 14px 40px -14px rgba(16, 24, 40, .22);
}
/* specular rim: bright top-left edge fading through, catching light again bottom-right */
.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 28%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .6));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
    z-index: 1;
}

.glass-dark {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(44, 44, 50, .62), rgba(22, 22, 26, .58));
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 20px 50px -20px rgba(0, 0, 0, .6);
    color: var(--night-ink);
}
.glass-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .04) 40%, rgba(255, 255, 255, .02) 60%, rgba(255, 255, 255, .18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    border: 0;
    font-size: 16px;
    font-weight: 560;
    letter-spacing: -.012em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, filter .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }

.btn-red {
    color: #fff;
    background: linear-gradient(180deg, #f03c42 0%, #dc2028 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .38),
        inset 0 -1px 0 rgba(0, 0, 0, .14),
        0 10px 26px -10px rgba(227, 38, 46, .75);
}
.btn-red:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 14px 32px -10px rgba(227, 38, 46, .85); }

.btn-ink { color: #fff; background: var(--ink); }
.btn-ink:hover { background: #000; }

.btn-glass { color: var(--ink); }
.btn-glass:hover { background: rgba(255, 255, 255, .9); }

.btn-white { color: var(--ink); background: #fff; }
.btn-white:hover { background: #f0f0f2; }

.btn-ghost-dark { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .16); }

.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-sm svg { width: 16px; height: 16px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-weight: 540;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    justify-content: center;
    padding: 0 12px;
    pointer-events: none;
}
.nav-inner {
    pointer-events: auto;
    width: 100%;
    max-width: 1100px;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px 0 14px;
    border-radius: 22px;
    transition: box-shadow .3s, background .3s;
}
.nav.scrolled .nav-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .7));
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 660;
    font-size: 17px;
    letter-spacing: -.025em;
    color: var(--ink);
    flex: none;
}
.brand svg { height: 34px; width: auto; color: var(--charcoal); }
.brand span em { font-style: normal; color: var(--red); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.nav-links a {
    display: block;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(0, 0, 0, .045); color: var(--ink); }
.nav-links a.active { color: var(--ink); background: rgba(0, 0, 0, .06); }

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 520;
    color: var(--ink-2);
}
.nav-phone svg { width: 16px; height: 16px; }
.nav-phone:hover { background: rgba(0, 0, 0, .045); color: var(--ink); }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle:hover { background: rgba(0, 0, 0, .05); }
.nav-toggle .i-close { display: none; }
.nav.open .nav-toggle .i-close { display: block; }
.nav.open .nav-toggle .i-menu { display: none; }

.nav-sheet {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    z-index: 59;
    border-radius: 26px;
    padding: 10px;
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.nav.open + .nav-sheet { opacity: 1; transform: none; pointer-events: auto; }
.nav-sheet a.sheet-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 16px;
    border-radius: 16px;
    font-size: 19px;
    font-weight: 560;
    letter-spacing: -.02em;
}
.nav-sheet a.sheet-link:hover, .nav-sheet a.sheet-link.active { background: rgba(0, 0, 0, .05); }
.nav-sheet a.sheet-link svg { width: 18px; height: 18px; color: var(--faint); }
.nav-sheet .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 6px 6px; }

@media (max-width: 960px) {
    .nav-links, .nav-phone { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-actions { margin-left: auto; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
    overflow: hidden;
}
.hero-map { position: absolute; inset: 0; z-index: 0; }
.hero-map > svg { width: 100%; height: 100%; }
.hero-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 0%, rgba(245, 245, 247, .97) 36%, rgba(245, 245, 247, .6) 58%, rgba(245, 245, 247, .12) 100%),
        linear-gradient(180deg, rgba(245, 245, 247, .7) 0%, rgba(245, 245, 247, 0) 22%, rgba(245, 245, 247, 0) 72%, var(--bg) 100%);
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: 32px;
}
.hero-copy .display { margin-bottom: 26px; font-size: clamp(46px, 6vw, 84px); }
.hero-copy .lede { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--ink); }

.hero-stage {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.route-line { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.route-glow { fill: none; stroke: var(--red); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; opacity: .14; }
.route-draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* floating widgets around the phone */
.float { position: absolute; z-index: 3; border-radius: 22px; animation: float 7s ease-in-out infinite; }
.float-b { animation-delay: -2.3s; animation-duration: 8s; }
.float-c { animation-delay: -4.6s; animation-duration: 9s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.w-notify { top: 160px; left: -14%; width: 292px; padding: 14px 16px; display: grid; grid-template-columns: 38px 1fr; gap: 4px 12px; }
.w-notify .app-icon { grid-row: span 2; }
.w-notify .n-top { display: flex; justify-content: space-between; font-size: 13px; }
.w-notify .n-top b { font-weight: 620; letter-spacing: -.01em; }
.w-notify .n-top span { color: var(--muted); }
.w-notify p { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }

.app-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12);
}
.app-icon svg { height: 28px; width: auto; color: var(--charcoal); }

.w-speed { bottom: 40px; left: -16%; width: 196px; padding: 18px; }
.w-speed .gauge { position: relative; width: 120px; height: 120px; margin: 0 auto 10px; }
.w-speed .gauge svg { width: 100%; height: 100%; transform: rotate(135deg); }
.w-speed .gauge-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.w-speed .gauge-val b { font-size: 38px; font-weight: 640; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.w-speed .gauge-val span { font-size: 12px; color: var(--muted); }
.w-speed .w-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

.w-engine { top: 330px; right: -6%; width: 220px; padding: 16px 18px; }
.w-engine .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.w-engine .w-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.w-engine .w-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.w-engine .w-power { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #f03c42, #d21d25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.w-engine .w-power svg { width: 20px; height: 20px; }
.w-engine hr { border: 0; height: 1px; background: var(--line); margin: 14px 0; }

/* iOS-style switch */
.switch {
    position: relative;
    width: 51px;
    height: 31px;
    flex: none;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: #e5e5ea;
    cursor: pointer;
    transition: background .3s var(--ease);
}
.switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16);
    transition: transform .3s var(--ease);
}
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.switch.red[aria-checked="true"] { background: var(--red); }

@media (max-width: 1080px) {
    .w-notify { left: -10%; }
    .w-engine { right: -8%; }
}
@media (max-width: 980px) {
    .hero { min-height: 0; padding-top: 120px; }
    .hero-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-map::after {
        background: linear-gradient(180deg, rgba(245, 245, 247, .96) 0%, rgba(245, 245, 247, .9) 40%, rgba(245, 245, 247, .35) 70%, var(--bg) 100%);
    }
    .hero-stage { height: 680px; }
    .w-notify { left: 50%; margin-left: -300px; }
    .w-engine { right: 50%; margin-right: -300px; }
    .w-speed { left: 50%; margin-left: -290px; }
}
@media (max-width: 640px) {
    .hero-stage { height: 600px; margin: 0 calc(var(--gutter) * -1); }
    .hero-stage .iphone { transform: scale(.86); }
    .w-notify { top: 20px; left: 50%; margin-left: -146px; width: 292px; }
    .w-engine, .w-speed { display: none; }
}

/* --------------------------------------------------------------------------
   iPhone
   -------------------------------------------------------------------------- */

.iphone {
    position: relative;
    z-index: 2;
    width: 318px;
    height: 656px;
    flex: none;
    padding: 4px;
    border-radius: 58px;
    background: linear-gradient(140deg, #e3e3e8 0%, #8f8f95 22%, #f4f4f6 46%, #7a7a80 72%, #d2d2d7 100%);
    box-shadow:
        0 60px 120px -40px rgba(16, 24, 40, .5),
        0 30px 60px -30px rgba(16, 24, 40, .35),
        inset 0 0 1px rgba(0, 0, 0, .5);
}
.iphone::before, .iphone::after {
    content: "";
    position: absolute;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #8a8a90, #c9c9ce);
}
.iphone::before { left: -3px; top: 150px; height: 60px; box-shadow: 0 76px 0 #a5a5aa; }
.iphone::after { right: -3px; top: 190px; height: 92px; }
.iphone-bezel { height: 100%; border-radius: 54px; background: #050505; padding: 10px; }
.iphone-screen {
    position: relative;
    height: 100%;
    border-radius: 45px;
    overflow: hidden;
    background: var(--map-land);
    font-size: 13px;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* clip children to radius in Safari */
}
.island {
    position: absolute;
    top: 11px;
    left: 50%;
    width: 96px;
    height: 29px;
    margin-left: -48px;
    border-radius: 20px;
    background: #000;
    z-index: 6;
}
.statusbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    padding: 17px 26px 0 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 620;
    letter-spacing: -.01em;
    z-index: 5;
}
.statusbar .sb-icons { display: flex; gap: 5px; align-items: center; }
.statusbar .sb-icons svg { height: 11px; width: auto; }
.screen-map { position: absolute; inset: 0; }
.screen-map > svg { width: 100%; height: 100%; }

.screen-top {
    position: absolute;
    top: 54px;
    left: 12px;
    right: 12px;
    z-index: 4;
    height: 48px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 0 10px;
}
.screen-top svg.mk { height: 26px; width: auto; color: var(--charcoal); }
.screen-top .st-title { font-weight: 640; font-size: 14px; letter-spacing: -.015em; line-height: 1.1; }
.screen-top .st-sub { font-size: 11px; color: var(--muted); }
.screen-top .avatar { margin-left: auto; }

.avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 640;
    color: #fff;
    background: linear-gradient(180deg, #4b4b52, #2a2a2e);
    flex: none;
}

.map-ctrls { position: absolute; right: 12px; top: 116px; z-index: 4; display: grid; gap: 8px; }
.map-ctrls span { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; }
.map-ctrls svg { width: 17px; height: 17px; }

.sheet {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    border-radius: 34px;
    padding: 10px 16px 22px;
}
.sheet .grabber { width: 36px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .16); margin: 0 auto 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; }
.sheet-head .v-name { font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.sheet-head .v-plate { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: .04em; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(48, 180, 90, .13);
    color: #1f8a43;
}
.chip.red { background: var(--red-soft); color: var(--red-2); }
.chip.grey { background: rgba(0, 0, 0, .06); color: var(--ink-2); }
.chip.amber { background: rgba(242, 162, 12, .14); color: #a86a00; }
.chip .live-dot { width: 6px; height: 6px; }

.sheet-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; }
.sheet-stats div { background: rgba(255, 255, 255, .6); border-radius: 14px; padding: 9px 10px; }
.sheet-stats b { display: block; font-size: 16px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sheet-stats span { font-size: 10.5px; color: var(--muted); }
.sheet-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-actions span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 560;
    color: var(--ink-2);
}
.sheet-actions i {
    width: 100%;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .75);
    box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .06);
}
.sheet-actions i svg { width: 18px; height: 18px; }
.sheet-actions span.danger i { background: linear-gradient(180deg, #f03c42, #d21d25); color: #fff; }
.home-ind { position: absolute; bottom: 7px; left: 50%; width: 120px; height: 5px; margin-left: -60px; border-radius: 3px; background: #111; z-index: 6; }

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

.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(60px, 7vw, 96px) 0; }
.section-white { background: var(--paper); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head .h2 { margin-bottom: 20px; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* vehicle strip */
.vehicle-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.vehicle-strip li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 20px 0 16px;
    border-radius: 999px;
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 15px;
    font-weight: 520;
    color: var(--ink-2);
}
.vehicle-strip svg { width: 22px; height: 22px; color: var(--ink); }

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

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--paper);
    padding: clamp(26px, 3vw, 36px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .03);
}
.card .h3 { margin-bottom: 10px; }
.card .body-muted { font-size: 16px; max-width: 40ch; }
.card-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--red); margin-bottom: 14px; }
.card-kicker svg { width: 16px; height: 16px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

@media (max-width: 980px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .span-2, .span-3 { grid-column: span 1; }
    .span-4, .span-6 { grid-column: span 2; }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; gap: 14px; }
    .span-2, .span-3, .span-4, .span-6 { grid-column: auto; }
}

/* live card */
.card-live { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; min-height: 440px; padding-right: 0; padding-bottom: 0; }
.card-live .copy { padding-bottom: 36px; display: flex; flex-direction: column; }
.card-live .copy .link-arrow { margin-top: auto; }
.live-viewport {
    position: relative;
    border-top-left-radius: 24px;
    overflow: hidden;
    background: var(--map-land);
    box-shadow: inset 0 0 0 1px var(--line);
}
.live-viewport > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-tag {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 12px 14px;
    border-radius: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
}
.live-tag b { font-weight: 640; letter-spacing: -.01em; display: block; }
.live-tag span { color: var(--muted); font-size: 12px; }
@media (max-width: 760px) {
    .card-live { grid-template-columns: 1fr; padding-right: clamp(26px, 3vw, 36px); }
    .card-live .copy { padding-bottom: 0; }
    .live-viewport { height: 300px; border-radius: 22px; margin-bottom: clamp(26px, 3vw, 36px); }
}

/* engine card */
.card-engine { display: flex; flex-direction: column; background: #0c0c0e; color: var(--night-ink); }
.card-engine .body-muted { color: var(--night-muted); }
.card-engine .card-kicker { color: #ff5a60; }
.engine-ui { margin-top: auto; padding-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.engine-btn {
    position: relative;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #fff;
    background: radial-gradient(circle at 50% 30%, #3a3a40, #17171a 70%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -6px 14px rgba(0, 0, 0, .5),
        0 0 0 8px rgba(255, 255, 255, .04),
        0 0 0 9px rgba(255, 255, 255, .08);
    transition: background .4s, box-shadow .4s, transform .2s;
}
.engine-btn svg { width: 40px; height: 40px; transition: color .3s; color: var(--green); }
.engine-btn:active { transform: scale(.96); }
.engine-btn[aria-pressed="true"] {
    background: radial-gradient(circle at 50% 30%, #ff4a50, #b5121b 75%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .35),
        inset 0 -6px 14px rgba(0, 0, 0, .25),
        0 0 0 8px rgba(227, 38, 46, .14),
        0 0 0 9px rgba(227, 38, 46, .3),
        0 0 60px rgba(227, 38, 46, .45);
}
.engine-btn[aria-pressed="true"] svg { color: #fff; }
.engine-state { font-size: 14px; font-weight: 560; display: flex; align-items: center; gap: 8px; }
.engine-hint { font-size: 12px; color: var(--night-muted); }

/* alerts card */
.notif-stack { margin-top: 30px; display: grid; gap: 8px; }
.notif {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 18px;
    background: var(--bg);
    font-size: 13px;
    line-height: 1.3;
}
.notif .ni { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.notif .ni svg { width: 17px; height: 17px; }
.notif b { font-weight: 620; display: block; letter-spacing: -.01em; }
.notif span { color: var(--muted); }
.notif time { font-size: 11px; color: var(--faint); align-self: start; }
.notif-stack .notif:nth-child(2) { opacity: .85; transform: scale(.98); }
.notif-stack .notif:nth-child(3) { opacity: .6; transform: scale(.96); }
.bg-red { background: var(--red); }
.bg-amber { background: var(--amber); }
.bg-ink { background: var(--ink); }
.bg-green { background: var(--green); }

/* playback card */
.playback { margin-top: 26px; }
.playback-map { position: relative; height: 150px; border-radius: 18px; background: var(--bg); overflow: hidden; }
.playback-map svg { width: 100%; height: 100%; }
.playback-ctl { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.playback-ctl output { font-family: var(--mono); font-size: 12px; color: var(--ink-2); min-width: 44px; }
.range {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--red) var(--p, 0%), #e3e3e8 var(--p, 0%));
    outline: none;
    cursor: pointer;
}
.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 0 .5px rgba(0, 0, 0, .1);
}
.range::-moz-range-thumb {
    width: 24px; height: 24px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2), 0 0 0 .5px rgba(0, 0, 0, .1);
}

/* geofence card */
.fence { position: relative; margin-top: 26px; height: 186px; border-radius: 18px; background: var(--bg); overflow: hidden; }
.fence-zone {
    position: absolute;
    top: 50%; left: 42%;
    width: 140px; height: 140px;
    margin: -70px 0 0 -70px;
    border-radius: 50%;
    border: 2px dashed rgba(227, 38, 46, .55);
    background: rgba(227, 38, 46, .07);
}
.fence-zone::after { content: "HOME"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, 10px); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--red-2); }
.fence-home { position: absolute; top: 50%; left: 42%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); }
.fence-car {
    position: absolute;
    top: 50%; left: 42%;
    width: 16px; height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    background: var(--ink);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    animation: leave 6s var(--ease) infinite;
}
.fence-alert {
    position: absolute;
    right: 12px; top: 12px;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    animation: alert 6s var(--ease) infinite;
}
.fence-alert svg { width: 14px; height: 14px; color: var(--red); }
@keyframes leave {
    0%, 15% { transform: translate(-40px, 20px); }
    55%, 100% { transform: translate(150px, -40px); }
}
@keyframes alert {
    0%, 42% { opacity: 0; transform: translateY(-6px) scale(.96); }
    50%, 92% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

/* multi-user card */
.people { display: grid; gap: 10px; margin-top: 28px; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--bg); }
.person .avatar { width: 38px; height: 38px; font-size: 13px; }
.person .p-name { font-weight: 600; font-size: 15px; letter-spacing: -.015em; }
.person .p-role { font-size: 12.5px; color: var(--muted); }
.person .chip { margin-left: auto; }

/* reports card */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; margin-top: 30px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bars i { display: block; width: 100%; max-width: 38px; border-radius: 10px 10px 6px 6px; background: #e8e8ed; height: var(--h); transform-origin: bottom; }
.bars div.on i { background: linear-gradient(180deg, #f03c42, #c3161e); }
.bars span { font-size: 11px; color: var(--faint); font-family: var(--mono); }
.in .bars i { animation: grow .9s var(--ease) both; }
.bars div:nth-child(2) i { animation-delay: .05s; } .bars div:nth-child(3) i { animation-delay: .1s; }
.bars div:nth-child(4) i { animation-delay: .15s; } .bars div:nth-child(5) i { animation-delay: .2s; }
.bars div:nth-child(6) i { animation-delay: .25s; } .bars div:nth-child(7) i { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } }
.report-total { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.report-total b { font-size: 40px; letter-spacing: -.045em; font-weight: 650; line-height: 1; }
.report-total span { color: var(--muted); font-size: 14px; }

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

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: .06em; margin-bottom: 64px; display: flex; align-items: center; gap: 10px; }
.step-num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.step-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); margin-bottom: 22px; }
.step-ico svg { width: 26px; height: 26px; }
.step .h3 { margin-bottom: 10px; }
.step .body-muted { font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step-num { margin-bottom: 28px; } }

/* --------------------------------------------------------------------------
   Dark section / hardware
   -------------------------------------------------------------------------- */

.section-dark {
    background: var(--night);
    color: var(--night-ink);
    overflow: hidden;
    --map-land: #111214;
    --map-block: #17181b;
    --map-street: #1d1e22;
    --map-road: #2a2b30;
    --map-casing: #0b0b0c;
    --map-water: #13202d;
    --map-park: #142017;
    --map-label: #4b4f57;
}
.section-dark .lede, .section-dark .body-muted { color: var(--night-muted); }
.section-dark .lede strong { color: var(--night-ink); }
.section-dark .label { color: var(--night-muted); }

.hw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 920px) { .hw-grid { grid-template-columns: 1fr; } }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.spec-list li { display: grid; grid-template-columns: 22px 1fr; gap: 4px 14px; }
.spec-list svg { width: 22px; height: 22px; color: #ff5a60; grid-row: span 2; margin-top: 1px; }
.spec-list b { font-weight: 600; font-size: 16px; letter-spacing: -.015em; }
.spec-list span { font-size: 14.5px; color: var(--night-muted); line-height: 1.4; }
@media (max-width: 520px) { .spec-list { grid-template-columns: 1fr; } }

.device-stage {
    position: relative;
    aspect-ratio: 1 / .9;
    display: grid;
    place-items: center;
}
.device-stage::before {
    content: "";
    position: absolute;
    inset: 15% 10% 5%;
    background: radial-gradient(closest-side, rgba(227, 38, 46, .38), rgba(227, 38, 46, 0));
    filter: blur(30px);
}
.device-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.device {
    position: relative;
    width: min(330px, 70%);
    aspect-ratio: 1.55;
    border-radius: 30px;
    background:
        radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 55%),
        linear-gradient(170deg, #2b2b30 0%, #141416 60%, #0b0b0c 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        inset 0 -2px 0 rgba(0, 0, 0, .6),
        inset 0 0 0 1px rgba(255, 255, 255, .06),
        0 40px 80px -20px rgba(0, 0, 0, .9),
        0 0 0 1px rgba(0, 0, 0, .8);
    transform: perspective(900px) rotateX(18deg) rotateZ(-6deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 28px;
}
.device-brand { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .78); }
.device-brand svg { height: 34px; width: auto; color: rgba(255, 255, 255, .85); }
.device-brand span { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; }
.device-leds { display: flex; gap: 12px; align-items: center; }
.device-leds i { width: 8px; height: 8px; border-radius: 50%; }
.device-leds i:nth-child(1) { background: #ff3b40; box-shadow: 0 0 10px #ff3b40; animation: blink 1.4s infinite; }
.device-leds i:nth-child(2) { background: #3ce06d; box-shadow: 0 0 10px #3ce06d; animation: blink 2.2s infinite .4s; }
.device-leds i:nth-child(3) { background: #3b9bff; box-shadow: 0 0 10px #3b9bff; }
.device-leds span { margin-left: auto; font-family: var(--mono); font-size: 10px; color: rgba(255, 255, 255, .4); letter-spacing: .12em; }
@keyframes blink { 0%, 60%, 100% { opacity: 1; } 70%, 90% { opacity: .15; } }

/* --------------------------------------------------------------------------
   Packages
   -------------------------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 30px;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .05);
}
.plan.featured {
    background: #0c0c0e;
    color: var(--night-ink);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.plan.featured .body-muted, .plan.featured .plan-feats li { color: #b0b0b6; }
.plan-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.plan-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); }
.plan.featured .plan-ico { background: rgba(255, 255, 255, .08); }
.plan-ico svg { width: 26px; height: 26px; }
.plan .h3 { margin-bottom: 8px; }
.plan .body-muted { font-size: 15.5px; min-height: 3em; }
.plan-price { margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan.featured .plan-price { border-color: rgba(255, 255, 255, .1); }
.plan-price b { display: block; font-size: 34px; letter-spacing: -.045em; font-weight: 650; line-height: 1.05; }
.plan-price span { font-size: 13px; color: var(--muted); }
.plan.featured .plan-price span { color: #8d8d93; }
.plan-feats { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.plan-feats li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.35; }
.plan-feats svg { width: 18px; height: 18px; color: var(--red); margin-top: 1px; }
.plan.featured .plan-feats svg { color: #ff5a60; }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.included div { padding: 26px; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.included svg { width: 26px; height: 26px; color: var(--red); margin-bottom: 18px; }
.included b { display: block; font-size: 16px; font-weight: 620; letter-spacing: -.015em; margin-bottom: 6px; }
.included span { font-size: 14.5px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 960px) { .included { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .included { grid-template-columns: 1fr; } }

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

.faq { display: grid; gap: 10px; }
.faq details {
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
    transition: box-shadow .3s;
}
.faq details[open] { box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 14px 30px -18px rgba(0, 0, 0, .18); }
.faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 580;
    letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
    width: 30px; height: 30px; flex: none;
    border-radius: 50%;
    background: var(--bg);
    display: grid;
    place-items: center;
    transition: transform .35s var(--ease), background .3s;
}
.faq summary i svg { width: 16px; height: 16px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--red-soft); color: var(--red); }
.faq details p { margin: 0; padding: 0 24px 24px; color: var(--muted); max-width: 70ch; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 80px);
    background: #0b0b0d;
    color: var(--night-ink);
    --map-land: #0e0f11;
    --map-block: #141518;
    --map-street: #1a1b1f;
    --map-road: #25262b;
    --map-casing: #0a0a0b;
    --map-water: #12202c;
    --map-park: #121c15;
    --map-label: #3d4148;
}
.cta-band .cta-map { position: absolute; inset: 0; opacity: .9; }
.cta-band .cta-map svg { width: 100%; height: 100%; }
.cta-band .cta-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0d 0%, rgba(11, 11, 13, .88) 45%, rgba(11, 11, 13, .3) 100%); }
.cta-band > *:not(.cta-map) { position: relative; z-index: 1; }
.cta-band .h2 { max-width: 15ch; margin-bottom: 20px; }
.cta-band .lede { color: var(--night-muted); margin-bottom: 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero { position: relative; padding: clamp(150px, 16vw, 200px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.page-hero .ph-map { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.page-hero .ph-map svg { width: 100%; height: 100%; }
.page-hero .ph-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 85% 10%, rgba(245, 245, 247, .2), var(--bg) 70%),
        linear-gradient(180deg, rgba(245, 245, 247, .3), var(--bg) 92%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .display { max-width: 14ch; margin-bottom: 26px; }
.page-hero .lede { max-width: 44ch; }

/* --------------------------------------------------------------------------
   Solutions page
   -------------------------------------------------------------------------- */

.solution {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 90px);
    align-items: center;
    padding: clamp(56px, 7vw, 96px) 0;
    border-top: 1px solid var(--line);
}
.solution:first-child { border-top: 0; padding-top: 0; }
.solution.flip .sol-visual { order: -1; }
.solution .h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 18px; }
.sol-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.sol-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.sol-points svg { width: 20px; height: 20px; color: var(--red); margin-top: 2px; }
@media (max-width: 900px) { .solution { grid-template-columns: 1fr; } .solution.flip .sol-visual { order: 0; } }

.sol-visual {
    position: relative;
    border-radius: var(--r-xl);
    min-height: 440px;
    overflow: hidden;
    background: var(--map-land);
    display: grid;
    place-items: center;
    padding: 28px;
}
.sol-visual > .vis-map { position: absolute; inset: 0; }
.sol-visual > .vis-map svg { width: 100%; height: 100%; }
.sol-visual > .vis-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 245, 247, 0), rgba(245, 245, 247, .55)); }
.sol-visual > *:not(.vis-map) { position: relative; z-index: 1; }

.timeline { width: min(380px, 100%); border-radius: 26px; padding: 22px; }
.timeline h4 { margin: 0 0 18px; font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.tl-item { display: grid; grid-template-columns: 56px 16px 1fr; gap: 12px; padding-bottom: 18px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item time { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.tl-item .tl-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; background: var(--ink); box-shadow: 0 0 0 3px #fff; }
.tl-item:not(:last-child)::after { content: ""; position: absolute; left: 73px; top: 18px; bottom: 2px; width: 2px; background: rgba(0, 0, 0, .08); }
.tl-item b { display: block; font-size: 15px; font-weight: 620; letter-spacing: -.015em; }
.tl-item span { font-size: 13px; color: var(--muted); }

.fleet-table { width: min(440px, 100%); border-radius: 26px; padding: 8px; }
.fleet-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 12px; }
.fleet-head b { font-size: 16px; font-weight: 640; letter-spacing: -.02em; }
.fleet-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 16px; }
.fleet-row:nth-child(odd) { background: rgba(255, 255, 255, .55); }
.fleet-row .fi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .08); }
.fleet-row .fi svg { width: 19px; height: 19px; }
.fleet-row b { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.fleet-row span { font-size: 12.5px; color: var(--muted); }

.mini-stack { display: grid; gap: 12px; width: min(360px, 100%); }
.mini-card { border-radius: 22px; padding: 16px 18px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-card b { display: block; font-weight: 620; letter-spacing: -.015em; }
.mini-card span { color: var(--muted); font-size: 13px; }

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.industry { padding: 30px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.industry svg { width: 28px; height: 28px; margin-bottom: 38px; }
.industry .h4 { margin-bottom: 8px; }
.industry p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Features page
   -------------------------------------------------------------------------- */

.phones { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 10px 0 20px; }
.phones .iphone:nth-child(1), .phones .iphone:nth-child(3) { transform: scale(.9); opacity: .98; }
@media (max-width: 1100px) { .phones .iphone:nth-child(1), .phones .iphone:nth-child(3) { display: none; } }

.screen-plain { background: #f2f2f7; }
.screen-plain .scr-body { position: absolute; inset: 52px 0 0; padding: 10px 14px 24px; overflow: hidden; }
.scr-title { font-size: 28px; font-weight: 700; letter-spacing: -.035em; margin: 6px 4px 14px; }
.scr-group { background: #fff; border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.scr-cap { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 6px 6px; }
.scr-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; font-size: 13px; position: relative; }
.scr-row + .scr-row::before { content: ""; position: absolute; top: 0; left: 52px; right: 0; height: .5px; background: rgba(0, 0, 0, .12); }
.scr-row .ni { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.scr-row .ni svg { width: 16px; height: 16px; }
.scr-row b { display: block; font-weight: 600; letter-spacing: -.01em; font-size: 13px; }
.scr-row span { color: var(--muted); font-size: 11.5px; }
.scr-row time { font-size: 11px; color: var(--faint); }

.feature-groups { display: grid; gap: 20px; }
.fgroup { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; padding: 38px; border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.fgroup-head .label { margin-bottom: 14px; }
.fgroup-head .h3 { font-size: clamp(24px, 2.4vw, 32px); }
.fgroup-items { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.fitem { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; }
.fitem .fi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); grid-row: span 2; }
.fitem .fi svg { width: 22px; height: 22px; }
.fitem b { font-size: 16px; font-weight: 620; letter-spacing: -.015em; padding-top: 2px; }
.fitem span { font-size: 14.5px; color: var(--muted); line-height: 1.42; }
@media (max-width: 900px) { .fgroup { grid-template-columns: 1fr; gap: 28px; padding: 28px; } }
@media (max-width: 600px) { .fgroup-items { grid-template-columns: 1fr; } }

.platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.platforms span { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 16px; font-size: 15px; font-weight: 560; }
.platforms svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.prose p { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; letter-spacing: -.015em; }
.prose p:first-child { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--ink); letter-spacing: -.025em; font-weight: 500; }
.logo-card { border-radius: var(--r-xl); background: #fff; padding: 40px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); position: sticky; top: 100px; }
.logo-card img { width: 100%; height: auto; border-radius: 16px; }
.logo-card figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .logo-card { position: static; max-width: 460px; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { padding: 32px; border-radius: var(--r-lg); }
.value svg { width: 28px; height: 28px; color: #ff5a60; margin-bottom: 40px; }
.value .h4 { margin-bottom: 10px; font-size: 20px; }
.value p { margin: 0; color: var(--night-muted); font-size: 15.5px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { border-radius: var(--r-xl); background: var(--paper); padding: clamp(26px, 4vw, 44px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 30px 60px -40px rgba(0, 0, 0, .25); }
.form-card .h3 { margin-bottom: 8px; }
.form-card > .body-muted { margin-bottom: 30px; font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 560; color: var(--ink-2); margin: 0 0 8px 4px; }
.field input, .field select, .field textarea {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 0;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px transparent;
    font-size: 16px;
    transition: box-shadow .2s, background .2s;
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.field textarea { height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 4px var(--red-soft); }
.field .err { display: block; font-size: 13px; color: var(--red-2); margin: 6px 0 0 4px; }
.field.has-err input, .field.has-err select { box-shadow: inset 0 0 0 1.5px rgba(227, 38, 46, .6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 34ch; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: rgba(48, 180, 90, .1); margin-bottom: 28px; }
.notice svg { width: 22px; height: 22px; color: #1f8a43; flex: none; margin-top: 1px; }
.notice b { display: block; font-weight: 620; }
.notice span { font-size: 14.5px; color: var(--ink-2); }

.contact-cards { display: grid; gap: 12px; }
.ccard { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 22px; background: var(--paper); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); transition: transform .25s var(--ease), box-shadow .25s; }
a.ccard:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 16px 30px -20px rgba(0, 0, 0, .3); }
.ccard .ci { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--bg); }
.ccard .ci svg { width: 22px; height: 22px; }
.ccard .ci.wa { background: #25d366; color: #fff; }
.ccard small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.ccard b { font-weight: 600; letter-spacing: -.015em; font-size: 16px; word-break: break-word; }
.ccard .go { width: 18px; height: 18px; color: var(--faint); }
.ccard address { font-style: normal; font-size: 15px; line-height: 1.45; color: var(--ink-2); }

.map-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; height: 420px; background: var(--map-land); box-shadow: 0 0 0 1px rgba(0, 0, 0, .05); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.map-frame .map-pill { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 12px 16px; border-radius: 18px; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); }
.map-frame .map-pill svg { height: 30px; width: auto; color: var(--charcoal); flex: none; }
.map-frame .map-pill b { display: block; font-size: 14px; font-weight: 620; }
.map-frame .map-pill span { font-size: 12.5px; color: var(--muted); }

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

.footer { padding: 80px 0 40px; background: var(--paper); border-top: 1px solid var(--line); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer p { margin: 0; color: var(--muted); max-width: 32ch; }
.footer h5 { margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--ink); }
.footer address { font-style: normal; color: var(--muted); line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 55;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(180deg, #34e07a, #1fb457);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .1), 0 14px 30px -10px rgba(31, 180, 87, .7);
    transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JS is running)
   -------------------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .route-draw { stroke-dashoffset: 0; }
    html { scroll-behavior: auto; }
}
.mini-card .ni { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.mini-card .ni svg { width: 18px; height: 18px; }
.logo-card img { mix-blend-mode: multiply; }
.plan.featured .chip.red { background: rgba(255, 90, 96, .16); color: #ff7a7f; }
