/* Marketing site + auth pages */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 22, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 32px; }
.nav-links { display: flex; gap: 26px; flex: 1; }
.nav-links a { color: var(--text-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; }

.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero-glow { position: absolute; inset: -30% -10% auto; height: 760px; pointer-events: none;
  background: radial-gradient(600px 340px at 72% 30%, rgba(99, 91, 255, .32), transparent 70%),
              radial-gradient(520px 300px at 18% 10%, rgba(42, 169, 224, .14), transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hero h1 { font-size: 54px; line-height: 1.05; letter-spacing: -0.035em; margin: 22px 0 18px; font-weight: 800; }
.grad { background: linear-gradient(90deg, #a9a4ff, #6ec9f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--text-2); max-width: 540px; }
.lead-sm { font-size: 16px; margin: 14px 0 22px; }
.hero-actions { display: flex; gap: 12px; margin: 30px 0 22px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; color: var(--text-2); font-size: 13px; flex-wrap: wrap; }
.hero-points li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 7px; }

.hero-shot { background: linear-gradient(180deg, #171b2e, #11141f); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 40px 90px rgba(3, 4, 12, .65), 0 0 0 1px rgba(124,117,255,.08); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.shot-bar span { margin-left: 12px; font-size: 11px; color: var(--text-3); }
.shot-body { padding: 16px; display: grid; gap: 12px; }
.shot-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shot-kpis div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.shot-kpis small, .shot-clocks small { display: block; font-size: 10.5px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.shot-kpis b { font-size: 22px; }
.t-green { color: var(--green); } .t-primary { color: var(--primary); } .t-red { color: var(--red); } .t-amber { color: var(--amber); }
.shot-driver { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.shot-who { display: flex; align-items: center; gap: 10px; }
.shot-who b { color: var(--ink); font-size: 13.5px; display: block; }
.shot-who small { color: var(--text-3); font-size: 11.5px; }
.shot-who .pill { margin-left: auto; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #7c75ff, #2aa9e0); flex: none; }
.shot-clocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 10px; }
.shot-clocks b { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; }
.bar i.amber { background: var(--amber); }
.shot-chart .logchart { width: 100%; height: 118px; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-d { color: var(--green); background: var(--green-soft); }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 24px; gap: 20px; }
.strip b { display: block; color: var(--ink); font-size: 22px; letter-spacing: -0.02em; }
.strip span { color: var(--text-2); font-size: 13px; }

.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2, .split h2 { font-size: 36px; letter-spacing: -0.03em; margin: 10px 0 12px; font-weight: 800; }
.section-head p { font-size: 16px; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(124,117,255,.35); transform: translateY(-2px); }
.feature h3 { font-size: 17px; margin: 16px 0 8px; }
.feature p { color: var(--text-2); }
.ficon { width: 40px; height: 40px; border-radius: 11px; background: var(--primary-soft) center/22px no-repeat; }
.i-clock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c75ff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.i-alert { background-color: var(--red-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3l9.5 17h-19z'/%3E%3Cpath d='M12 10v4M12 17.5v.01'/%3E%3C/svg%3E"); }
.i-edit { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c75ff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3C/svg%3E"); }
.i-wrench { background-color: var(--amber-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M14.5 6.5a4 4 0 0 0-5 5L4 17l3 3 5.5-5.5a4 4 0 0 0 5-5l-2.5 2.5-2.5-.5-.5-2.5z'/%3E%3C/svg%3E"); }
.i-truck { background-color: var(--green-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 6h12v10H2zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E"); }
.i-chip { background-color: var(--cyan-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232aa9e0' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M9 2v4M15 2v4M9 18v4M15 18v4M2 9h4M2 15h4M18 9h4M18 15h4'/%3E%3C/svg%3E"); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

.phone { justify-self: center; width: 300px; padding: 12px; border-radius: 42px; background: #05060b; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.phone-in { border-radius: 32px; background: var(--bg); padding: 22px 18px; display: grid; gap: 18px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; color: var(--ink); font-weight: 600; }
.ph-ring { display: grid; place-items: center; }
.ring { width: 170px; height: 170px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, var(--bg) 82%, transparent 83% 100%), conic-gradient(var(--green) 0 53%, rgba(255,255,255,.08) 0); }
.ring b { font-size: 38px; color: var(--ink); letter-spacing: -0.03em; }
.ring small { color: var(--text-2); }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-grid div { background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.ph-grid small { display: block; color: var(--text-3); font-size: 11px; font-weight: 600; }
.ph-grid b { color: var(--ink); font-size: 18px; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-btns span { height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.sb-off { background: rgba(133,144,168,.16); color: var(--duty-off); }
.sb-sb { background: var(--cyan-soft); color: var(--cyan); }
.sb-d { background: var(--green); color: #052e14; }
.sb-on { background: var(--primary-soft); color: var(--primary); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 20px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border-color: rgba(124,117,255,.55); box-shadow: 0 0 0 4px rgba(124,117,255,.08), var(--shadow); }
.plan h3 { font-size: 18px; }
.price b { font-size: 44px; color: var(--ink); letter-spacing: -0.03em; }
.price span { color: var(--text-2); margin-left: 6px; }
.plan .ticks { flex: 1; }
.badge { position: absolute; top: -12px; right: 22px; background: var(--primary-strong); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.fine { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 22px; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; color: var(--ink); font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--text-3); font-size: 20px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { color: var(--text-2); margin-top: 10px; }

.cta { padding: 96px 0; text-align: center; background: radial-gradient(600px 260px at 50% 100%, rgba(99,91,255,.25), transparent 70%); }
.cta-in { display: grid; justify-items: center; gap: 14px; }
.cta h2 { font-size: 36px; letter-spacing: -0.03em; font-weight: 800; }
.cta .btn { margin-top: 10px; }

.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; }
.foot nav a { color: var(--text-2); }

/* logchart (shared styling) */
.logchart .lc-label { fill: var(--text-2); font-size: 11px; font-weight: 600; font-family: var(--font); }
.logchart .lc-total { font-size: 12px; font-weight: 700; font-family: var(--font); }
.logchart .lc-hlabel { fill: var(--text-3); font-size: 10px; font-family: var(--font); }
.logchart .lc-hour { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.logchart .lc-tick { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.logchart .lc-path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.logchart .lc-viol { fill: rgba(248,113,113,.16); stroke: rgba(248,113,113,.5); stroke-dasharray: 3 3; }
.logchart .lc-now { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 3 3; }

/* auth pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(520px 320px at 30% 30%, rgba(99,91,255,.35), transparent 70%), var(--bg-2); border-right: 1px solid var(--line); }
.auth-side h2 { font-size: 34px; letter-spacing: -0.03em; font-weight: 800; max-width: 420px; }
.auth-side p { color: var(--text-2); max-width: 420px; margin-top: 12px; }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 400px; display: grid; gap: 16px; }
.auth-card h1 { font-size: 26px; letter-spacing: -0.02em; }
.auth-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-card .btn { width: 100%; height: 44px; }
.demo-note { font-size: 13px; color: var(--text-2); background: var(--primary-soft); border: 1px solid rgba(124,117,255,.3); border-radius: 10px; padding: 10px 12px; }

.notfound { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 14px; }
.notfound h1 { font-size: 64px; letter-spacing: -0.04em; }

@media (max-width: 960px) {
  .hero-in, .split, .auth { grid-template-columns: 1fr; }
  .hero-shot { transform: none; }
  .hero h1 { font-size: 40px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .auth-side { display: none; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid3 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 34px; }
  .section { padding: 64px 0; }
  .section-head h2, .split h2, .cta h2 { font-size: 28px; }
  .shot-kpis, .shot-clocks { grid-template-columns: 1fr 1fr; }
  .nav-cta .btn-primary { display: none; }
}
