/* NabShift marketing site — static, zero-build, brand per brand/README.md:
   navy #0B1020 ground · electric blue #2F80FF action · cyan #45E0FF highlight
   slate #6E7A8A fur/neutral · cream #F5EFE0 face/ink-on-navy.
   Wordmark: "Nab" neutral, "Shift" electric blue (cyan on navy), tight tracking. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0B1020;
  --navy-2: #0f1730;
  --navy-3: #131d3d;
  --blue: #2F80FF;
  --blue-deep: #2368d6;
  --cyan: #45E0FF;
  --slate: #6E7A8A;
  --cream: #F5EFE0;
  --ink: #eef2fa;
  --ink-dim: #aab6cc;
  --line: rgba(110, 122, 138, 0.28);
  --radius: 18px;
  --maxw: 1120px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration: none; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(69, 224, 255, 0.12); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

/* ---------- wordmark ---------- */
.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 21px; letter-spacing: -0.035em; color: var(--cream);
}
.wordmark img { border-radius: 7px; }
.wordmark b { color: var(--cyan); font-weight: 800; }
.wordmark.small { font-size: 17px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 22px;
  padding: 14px 24px;
  background: rgba(11, 16, 32, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a { color: var(--ink-dim); font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.btn.primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 24px rgba(47, 128, 255, 0.35);
}
.btn.primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--slate); }
.btn.small { padding: 9px 16px; font-size: 14px; background: var(--blue); color: #fff; }
.btn.big { padding: 16px 30px; font-size: 17px; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  padding: 72px 24px 84px; align-items: center;
}
.kicker {
  color: var(--cyan); font-weight: 700; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 800; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.lede { font-size: 18px; color: var(--ink-dim); max-width: 34em; margin-bottom: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.trust { font-size: 13.5px; color: var(--slate); }

/* hero art: phone mock + mascot overlap */
.hero-art { position: relative; min-height: 480px; }
.phone-mock {
  width: min(330px, 88%);
  background: var(--navy-2);
  border: 1px solid var(--line); border-radius: 26px;
  padding: 16px; margin-left: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.pm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pm-brand { font-weight: 800; letter-spacing: -0.035em; font-size: 15px; color: var(--cream); }
.pm-brand b { color: var(--cyan); }
.pm-pill {
  font-size: 11px; font-weight: 700; color: var(--cyan);
  border: 1px solid rgba(69, 224, 255, 0.4); padding: 3px 9px; border-radius: 99px;
}
.pm-map { border-radius: 14px; overflow: hidden; background: #0d1428; border: 1px solid var(--line); }
.pm-map svg { display: block; width: 100%; }
.pin { animation: bob 3.2s ease-in-out infinite; }
.pin.p2 { animation-delay: 0.6s; }
.pin.p3 { animation-delay: 1.1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.pm-sms { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.bubble {
  max-width: 88%; padding: 8px 12px; border-radius: 14px;
  font-size: 12.5px; line-height: 1.45;
}
.bubble.in { background: var(--navy-3); color: var(--ink-dim); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.out { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 700; }
.mascot {
  position: absolute; left: -30px; bottom: -44px;
  width: min(235px, 42%); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
  animation: leap 5s ease-in-out infinite;
}
@keyframes leap { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

/* ---------- bands & cards ---------- */
.band { padding: 76px 0; }
.band.alt { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 {
  font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.025em;
  font-weight: 800; margin-bottom: 30px;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.band.alt .card { background: var(--navy); }
.card h3 { font-size: 17.5px; letter-spacing: -0.015em; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-dim); }
.fineline { margin-top: 26px; font-size: 14px; color: var(--slate); max-width: 62em; }

/* ---------- steps ---------- */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: step;
}
.steps li {
  background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 16px;
  margin-bottom: 12px;
}
.steps h3 { font-size: 16.5px; margin-bottom: 7px; letter-spacing: -0.015em; }
.steps p { font-size: 14px; color: var(--ink-dim); }

/* ---------- backend split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.lede2 { font-size: 16.5px; color: var(--ink-dim); margin-bottom: 18px; max-width: 38em; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-size: 15px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; border-radius: 7px;
  background: rgba(47, 128, 255, 0.18); color: var(--cyan);
  font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* device duo illustration */
.devices { position: relative; min-height: 300px; }
.dev { border: 1px solid var(--line); background: var(--navy); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.dev.desktop { width: 92%; }
.dev-bar { height: 22px; background: var(--navy-3); border-bottom: 1px solid var(--line); }
.dev-body { padding: 14px; display: grid; gap: 9px; }
.dev.mobile {
  position: absolute; right: -6px; bottom: -26px; width: 34%;
  border-radius: 18px; background: var(--navy-2);
}
.skel { height: 13px; border-radius: 6px; background: var(--navy-3); }
.skel.wide { height: 22px; background: linear-gradient(90deg, var(--blue) 0 34%, var(--navy-3) 34%); }
.skel.short { width: 55%; }
.skel-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; }
.skel.col { height: 44px; }

/* ---------- proof ---------- */
.proofband h2 { margin-bottom: 14px; }
.statrow { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 180px;
  background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; align-items: baseline; gap: 14px;
}
.stat b { font-size: 40px; letter-spacing: -0.04em; color: var(--blue); }
.stat span { font-size: 14px; color: var(--ink-dim); }

/* ---------- FAQ ---------- */
details {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--navy); margin-bottom: 10px; padding: 0 20px;
}
summary {
  cursor: pointer; padding: 17px 0; font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em; list-style: none; position: relative; padding-right: 30px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-size: 20px; font-weight: 700;
}
details[open] summary::after { content: "–"; }
details p { padding: 0 0 17px; color: var(--ink-dim); font-size: 15px; }

/* ---------- final CTA ---------- */
.cta-final { padding: 90px 0 100px; }
.cta-mascot { margin-bottom: 8px; }
.cta-final h2 { margin-bottom: 12px; }
.cta-final .lede2 { margin: 0 auto 26px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--navy-2); padding: 44px 0 30px; }
.footgrid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.foot-tag { color: var(--slate); font-size: 14px; margin-top: 8px; }
.foot-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.foot-links a { color: var(--ink-dim); font-size: 14px; font-weight: 600; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 20px; }
.foot-legal p { font-size: 12.5px; color: var(--slate); margin-bottom: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 26px; }
  .hero-art { min-height: 0; padding-bottom: 40px; }
  .phone-mock { margin: 0 auto; }
  .mascot { left: 2px; bottom: -34px; width: 160px; }
  .grid3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .devices { margin-top: 8px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pin, .mascot { animation: none; }
  html { scroll-behavior: auto; }
}
