body { background: var(--bg); }
.nav { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(243,246,251,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav nav { display: none; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.nav nav a:hover { color: var(--primary); }
.nav > .btn { margin-left: auto; }
@media (min-width: 900px) { .nav nav { display: flex; } .nav > .btn { margin-left: 0; } }

section { padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
h2 { font-size: clamp(28px, 4vw, 40px); max-width: 22ch; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 52ch; }
.muted { color: var(--muted); } .small { font-size: 13.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }

.hero { display: grid; gap: 40px; align-items: center; padding-top: clamp(32px, 6vw, 72px); }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; max-width: 12ch; margin-bottom: 20px; }
@media (min-width: 1000px) { .hero { grid-template-columns: 1.05fr 1fr; } }

.live-card { margin: 0; background: #10214A; color: #fff; border-radius: 26px; padding: 14px; box-shadow: 0 30px 70px rgba(16,33,74,.28); }
.live-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 12px; gap: 12px; }
.live-head b { display: block; font: 700 19px var(--font-display); }
.live-head span { font-size: 13px; opacity: .8; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2EE59D; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,229,157,.6); } 70% { box-shadow: 0 0 0 8px rgba(46,229,157,0); } }
.live-map { height: 320px; border-radius: 18px; overflow: hidden; background: #dfe7f3; }
.live-stops { list-style: none; margin: 12px 0 8px; padding: 0 4px; display: flex; align-items: flex-start; overflow-x: auto; }
.live-stops li { flex: 1; min-width: 62px; text-align: center; font-size: 12px; opacity: .9; position: relative; }
.live-stops li::before { content: ''; position: absolute; top: 13px; left: 50%; width: 100%; height: 3px; background: rgba(255,255,255,.2); z-index: 0; }
.live-stops li:last-child::before { display: none; }
.live-stops li.ok::before { background: #2EE59D; }
.live-stops i { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 4px; border-radius: 50%; background: #33456E; font: 700 12px var(--font-display); font-style: normal; border: 2px solid #10214A; }
.live-stops li.ok i { background: #0F9D58; } .live-stops li.next i { background: #1E6BFF; } .live-stops li.school i { background: #FFB400; color: #10214A; }
.live-card figcaption { color: rgba(255,255,255,.6); padding: 2px 8px 6px; }
.bus-dot { width: 34px; height: 34px; border-radius: 50%; background: #10214A; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(30,107,255,.25); display: grid; place-items: center; }
.bus-dot svg { width: 18px; height: 18px; fill: #FFB400; }
.stop-dot { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; background: #8A97B2; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.stop-dot.ok { background: #0F9D58; } .stop-dot.school { background: #FFB400; width: 20px; height: 20px; }

.band { background: var(--surface); border-radius: 32px; max-width: 1240px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; gap: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; border-top: 3px solid var(--line); padding-top: 18px; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: -18px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font: 700 14px var(--font-display); }
.steps li:nth-child(3)::before { background: #0F9D58; } .steps li:nth-child(4)::before { background: #FFB400; color: #10214A; }
.steps h3 { font-size: 18px; margin-top: 8px; } .steps p { color: var(--ink-2); margin: 0; }

.who { display: grid; gap: 28px 40px; }
@media (min-width: 800px) { .who { grid-template-columns: 1fr 1fr; } }
.who article { padding-left: 18px; border-left: 4px solid var(--accent); }
.who h3 { font-size: 20px; } .who p { color: var(--ink-2); margin: 0; max-width: 54ch; }

.safety { display: grid; gap: 40px; align-items: center; }
@media (min-width: 950px) { .safety { grid-template-columns: 1.2fr 1fr; } }
.safety p { color: var(--ink-2); max-width: 60ch; font-size: 16.5px; }
.ticks { padding: 0; list-style: none; margin: 20px 0 0; }
.ticks li { padding: 8px 0 8px 32px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: #0F9D58 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

.plans { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; }
.plan p { color: var(--ink-2); flex: 1; } .plan .price { font: 700 28px var(--font-display); color: var(--ink); flex: none; margin: 4px 0 8px; }
.plan.dark { background: #10214A; color: #fff; border: 0; } .plan.dark p, .plan.dark .price { color: #fff; } .plan.dark p { opacity: .85; }

.download { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .download { grid-template-columns: 1fr 1.4fr; } }
.dl { display: grid; gap: 12px; }
@media (min-width: 600px) { .dl { grid-template-columns: repeat(3, 1fr); } }
.store { display: block; padding: 18px; border-radius: 18px; background: #10214A; color: #fff; text-decoration: none; }
.store b { display: block; font: 700 20px var(--font-display); } .store span { font-size: 13px; opacity: .8; }
.store:hover { background: #1a3166; }

.support { text-align: center; } .support h2 { margin: 0 auto 10px; } .support .cta { justify-content: center; }
.foot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); }
.foot a { color: var(--ink-2); }
.doc { max-width: 760px; padding-top: 40px; } .doc h1 { font-size: 34px; } .doc h2 { font-size: 21px; margin-top: 28px; } .doc p, .doc li { color: var(--ink-2); }

.brand-demo { display: grid; gap: 36px; align-items: start; }
@media (min-width: 950px) { .brand-demo { grid-template-columns: 1fr 1fr; } }
.brand-demo p { color: var(--ink-2); max-width: 56ch; font-size: 16.5px; }
.demo-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.seg2 { display: flex; gap: 10px; } .seg2 label { flex: 1; margin: 0; display: flex; gap: 8px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 15px; cursor: pointer; }
.seg2 input { width: auto; min-height: 0; accent-color: var(--primary); }
.logo-pick { display: flex; gap: 12px; align-items: center; } .logo-pick img { height: 48px; max-width: 120px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: #fff; }
.form-err { color: var(--bad); min-height: 1em; }
.done-card { background: var(--ok-soft); border-radius: 18px; padding: 22px; }
.brand-demo .demo-form p { font-size: 13px; }

.org-demos { grid-column: 1 / -1; margin-top: 8px; }
.org-demos h3 { font-size: 20px; margin-bottom: 4px; }
.org-demo-list { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 700px) { .org-demo-list { grid-template-columns: repeat(2, 1fr); } }
.org-demo { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--surface); border: 2px solid var(--line); text-decoration: none; color: var(--ink); }
.org-demo:hover { border-color: var(--org, var(--primary)); }
.org-demo img { height: 54px; width: 90px; object-fit: contain; background: #fff; border-radius: 10px; }
.org-demo b { display: block; font: 700 17px var(--font-display); }
.org-demo span { font-size: 13px; color: var(--muted); }

/* ---------- hero animation ---------- */
.live-head { flex-wrap: wrap; }
.live-switch { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 4px; gap: 2px; }
.live-switch button { border: 0; background: transparent; color: rgba(255,255,255,.75); font: 600 13px var(--font-body); padding: 7px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.live-switch button.on { background: #fff; color: #10214A; }
.anim { position: relative; border-radius: 18px; overflow: hidden; background: #EEF2F7; aspect-ratio: 600 / 380; }
.anim-svg { display: block; width: 100%; height: 100%; }
.live-map { height: auto; aspect-ratio: 600 / 380; }
.bus-halo { transform-box: fill-box; transform-origin: center; animation: halo 2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.55); opacity: .5; } 100% { transform: scale(1.35); opacity: 0; } }
.stop .ring { transform-box: fill-box; transform-origin: center; }
.stop.waiting .ring { animation: wait 1.8s ease-out infinite; }
.stop.next .ring { animation: wait 1.1s ease-out infinite; }
@keyframes wait { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.stop .ava { transition: fill .35s; }
.stop .tag { font: 600 11px var(--font-body); fill: #10214A; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.stop .badge { font: 700 9.5px var(--font-body); }
.stop .chk { opacity: 0; transition: opacity .3s; }
.stop.picked .chk { opacity: 1; }
.stop.picked .ini { opacity: 0; }
.anim-toast { position: absolute; top: 12px; right: 12px; display: flex; gap: 10px; align-items: center; background: #fff; color: #10214A; border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: 0 10px 30px rgba(11,22,48,.22); transform: translateY(-140%); opacity: 0; transition: transform .45s cubic-bezier(.2,.9,.3,1.2), opacity .3s; max-width: 70%; }
.anim-toast.show { transform: none; opacity: 1; }
.anim-toast .t-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #0F9D58; color: #fff; display: grid; place-items: center; font-weight: 700; }
.anim-toast.school .t-ic { background: #FFB400; color: #10214A; }
.anim-toast b { display: block; font-size: 14px; } .anim-toast small { color: #5B6B8C; font-size: 12px; }
.anim-next { position: absolute; left: 12px; bottom: 12px; background: #10214A; color: #fff; border-radius: 14px; padding: 9px 14px; box-shadow: 0 8px 24px rgba(11,22,48,.25); min-width: 170px; transition: opacity .3s; }
.anim-next small { display: block; font-size: 11px; opacity: .7; } .anim-next b { display: block; font-size: 14px; }
.anim-next span { display: inline-block; margin-top: 3px; font-size: 12px; font-weight: 700; color: #FFB400; }
.anim-clock { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: #10214A; font: 700 13px var(--font-display); padding: 6px 11px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.live-stops li { transition: opacity .3s; }
.live-stops li.next i { box-shadow: 0 0 0 4px rgba(30,107,255,.35); }
@media (max-width: 520px) { .anim-toast { max-width: 82%; padding: 8px 10px; } .anim-toast b { font-size: 13px; } .anim-next { min-width: 0; } }

/* ---------- live sealed log ---------- */
.seal { background: #10214A; color: #fff; border-radius: 24px; padding: 22px; font-size: 14px; min-height: 380px; display: flex; flex-direction: column; }
.seal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; }
.seal-live { display: inline-flex; gap: 8px; align-items: center; opacity: .9; }
.seal-count { color: #FFB400; font-weight: 600; font-variant-numeric: tabular-nums; }
.seal-rows { flex: 1; display: flex; flex-direction: column; }
.seal-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: rgba(255,255,255,.06); padding: 12px 14px; border-radius: 12px; position: relative;
  animation: rowin .55s cubic-bezier(.2,.9,.3,1.1); border: 1px solid transparent; transition: border-color .3s, background .3s; }
.seal-row + .seal-row { margin-top: 18px; }
.seal-row + .seal-row::before { content: ''; position: absolute; left: 44px; top: -18px; width: 2px; height: 18px; background: #FFB400; transform-origin: top; animation: link .4s ease-out; }
@keyframes rowin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes link { from { transform: scaleY(0); } }
.seal-row.leaving { animation: rowout .4s ease-in forwards; }
@keyframes rowout { to { opacity: 0; transform: translateY(-10px); margin-top: -50px; } }
.seal-row span { opacity: .65; font-variant-numeric: tabular-nums; font-size: 13px; }
.seal-row b { font-weight: 600; }
.seal-row code { color: #FFB400; font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; min-width: 62px; text-align: right; }
.seal-row.sealing code { color: rgba(255,255,255,.55); }
.seal-row.sealing { border-color: rgba(255,180,0,.45); }
.seal-row.sealed { animation: rowin .55s cubic-bezier(.2,.9,.3,1.1), sealed 1.2s ease-out .1s; }
@keyframes sealed { 0% { box-shadow: 0 0 0 0 rgba(46,229,157,.45); } 100% { box-shadow: 0 0 0 10px rgba(46,229,157,0); } }
.seal-row.attack { border-color: #FF5A66; background: rgba(255,90,102,.14); animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.seal-foot { margin-top: 16px; min-height: 30px; }
.seal-badge { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; padding: 6px 12px; border-radius: 999px; transition: background .3s, color .3s; }
.seal-badge.ok { color: #2EE59D; background: rgba(46,229,157,.12); }
.seal-badge.checking { color: #FFB400; background: rgba(255,180,0,.12); }
.seal-badge.bad { color: #FF8A93; background: rgba(255,90,102,.16); }
@media (prefers-reduced-motion: reduce) { .seal-row, .seal-row + .seal-row::before { animation: none !important; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 32px; align-items: start; }
@media (min-width: 950px) { .contact { grid-template-columns: 1fr 1.1fr; } }
.contact > div > p { color: var(--ink-2); font-size: 16.5px; max-width: 48ch; }
.contact-ways { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .contact-ways { grid-template-columns: 1fr 1fr; } }
.cway { display: block; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cway b { display: block; font: 700 16px var(--font-display); } .cway span { font-size: 13.5px; color: var(--muted); }
.cway:hover { border-color: var(--primary); }
.cway.wa { background: #25D366; border-color: #25D366; color: #fff; } .cway.wa span { color: rgba(255,255,255,.9); }
.inquiry { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.inquiry h3 { font-size: 20px; margin-bottom: 4px; }
.inquiry .two { display: grid; gap: 0 12px; } @media (min-width: 560px) { .inquiry .two { grid-template-columns: 1fr 1fr; } }
.done-card.big { padding: 30px; }
.hero > * { min-width: 0; }
.live-card { max-width: 100%; }
.live-stops li { min-width: 48px; }
@media (max-width: 520px) {
  .live-card { padding: 10px; border-radius: 22px; }
  .anim-next { padding: 6px 10px; left: 8px; bottom: 8px; } .anim-next b { font-size: 12.5px; } .anim-next small, .anim-next span { font-size: 11px; }
  .anim-clock { font-size: 12px; padding: 4px 8px; left: 8px; top: 8px; }
  .anim-toast { top: 8px; right: 8px; }
  .live-stops li { font-size: 11px; }
}
.install { text-align: left; }
.install h1 { font-size: clamp(28px, 5vw, 38px); margin-top: 18px; }
.steps-list { padding-left: 22px; } .steps-list li { margin: 8px 0; color: var(--ink-2); }
.soon { background: var(--warn-soft); padding: 14px 16px; border-radius: 14px; }

.ind-plans .plan .price small { opacity: .8; }
.ind-steps { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.ind-steps ol { margin: 8px 0 16px; padding-left: 20px; color: var(--ink-2); }
.ind-steps li { margin: 4px 0; }

.tiers { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.tier-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 12px 0; }
.tier-row div { background: var(--primary-soft); border-radius: 14px; padding: 12px; text-align: center; }
.tier-row b { display: block; font: 800 24px var(--font-display); color: var(--primary); }
.tier-row span { font-size: 13px; color: var(--ink-2); }
