/* ============================================================
   Motoloop — Marketing / B2B website
   Layout system on top of the Motoloop design-system tokens
   (linked via ../styles.css). Night-mode, instrument-cluster.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--orange); color: #1a0d00; }

/* ---- Shared primitives ---- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1320px; }
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls-mono-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.kicker.grad { color: transparent; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; line-height: var(--lh-tight); letter-spacing: -0.5px; }
.display {
  font-size: clamp(40px, 6.4vw, 86px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -2px;
}
.h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -1.2px; }
.h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.5px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-secondary); line-height: 1.5; text-wrap: pretty; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.green-text { color: var(--green); }

.section { padding: clamp(72px, 11vh, 132px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 20px; }
.divider { border: 0; border-top: var(--border-hairline) solid var(--border); margin: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  letter-spacing: var(--ls-tight);
  padding: 14px 24px; border-radius: var(--radius-pill);
  border: var(--border-thin) solid transparent;
  transition: transform var(--dur-fast) var(--ease-standard), opacity var(--dur-fast), background var(--dur-base), border-color var(--dur-base);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); opacity: var(--press-opacity-btn); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 6px 26px rgba(255, 90, 40, 0.32); }
.btn-primary:hover { box-shadow: 0 10px 38px rgba(255, 90, 40, 0.45); transform: translateY(-1px); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-3); border-color: #3a3a3a; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-secondary); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.78);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: var(--border-hairline) solid transparent;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(10,10,10,0.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .word { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: var(--ls-wordmark); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--text-secondary);
  transition: color var(--dur-fast); position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-actions .signin { font-size: 14.5px; font-weight: 600; color: var(--text); padding: 9px 4px; }
.nav-actions .signin:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---- Hero ---- */
.hero { position: relative; padding-top: clamp(60px, 9vh, 110px); padding-bottom: clamp(60px, 9vh, 110px); overflow: hidden; }
.hero-glow {
  position: absolute; top: -340px; right: -240px; width: 920px; height: 920px;
  background: radial-gradient(circle, rgba(255,90,40,0.22) 0%, rgba(255,90,40,0.07) 35%, transparent 64%);
  pointer-events: none; z-index: 0;
}
.hero-rings { position: absolute; top: -440px; right: -300px; width: 980px; height: 980px; pointer-events: none; z-index: 0; opacity: 0.5; }
.hero-rings span {
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1px solid rgba(255,120,60,0.10);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; max-width: 510px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-tertiary); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ---- Trust strip ---- */
.trust { border-top: var(--border-hairline) solid var(--border); border-bottom: var(--border-hairline) solid var(--border); background: var(--surface-1); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: center; justify-content: space-between; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--text-secondary); }
.trust-item svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.trust-item strong { color: var(--text); font-weight: 600; }

/* ============================================================
   Phone mockup
   ============================================================ */
.phone {
  position: relative; width: 320px; margin: 0 auto;
  border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #232323, #0c0c0c);
  border: 1px solid #2e2e2e;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.phone-screen { position: relative; border-radius: 34px; overflow: hidden; background: var(--bg); height: 660px; }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 116px; height: 26px; background: #000; border-radius: 14px; z-index: 6; }
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 8px; font-size: 13px; font-weight: 600; font-family: var(--font-mono); }
.app-status .ico { display: inline-flex; gap: 5px; align-items: center; }
.app-status svg { width: 15px; height: 15px; }
.app-header { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 12px; }
.app-header .word { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: var(--ls-wordmark); }
.app-header .hbtns { display: flex; gap: 8px; }
.app-header .hbtn { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; border: var(--border-hairline) solid var(--border); }
.app-header .hbtn svg { width: 17px; height: 17px; color: var(--text); }

.stories { display: flex; gap: 13px; padding: 4px 18px 16px; overflow: hidden; }
.story { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 58px; flex-shrink: 0; }
.story .ring { width: 54px; height: 54px; border-radius: 50%; padding: 2.5px; background: var(--grad-brand); }
.story .ring.muted { background: var(--border); }
.story .av { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 18px; border: 2px solid var(--bg); }
.story span { font-size: 10.5px; color: var(--text-secondary); white-space: nowrap; }

.seg { display: flex; gap: 4px; margin: 0 18px 16px; background: var(--surface-1); border-radius: var(--radius-lg); padding: 4px; }
.seg div { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; padding: 7px 0; border-radius: 9px; color: var(--text-secondary); }
.seg div.on { background: var(--surface-3); color: var(--text); }

.ride-card { margin: 0 18px 14px; border-radius: var(--radius-2xl); overflow: hidden; border: var(--border-hairline) solid var(--border); background: var(--surface-1); }
.ride-map { height: 132px; position: relative; background: var(--map-bg); }
.ride-map .live { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--scrim); border-radius: var(--radius-pill); padding: 5px 10px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--green); }
.ride-map .live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.ride-map .tag { position: absolute; bottom: 10px; left: 10px; background: var(--scrim); border-radius: var(--radius-sm); padding: 4px 9px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; color: var(--text); }
.ride-body { padding: 13px 15px 15px; }
.ride-body h4 { font-size: 16px; font-weight: 700; font-family: var(--font-sans); margin: 0 0 7px; letter-spacing: -0.2px; }
.ride-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); letter-spacing: 0.03em; }
.ride-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.avstack { display: flex; }
.avstack .av { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--surface-1); margin-left: -8px; display: grid; place-items: center; font-size: 11px; font-weight: 700; font-family: var(--font-display); }
.avstack .av:first-child { margin-left: 0; }
.join { background: var(--red); color: #fff; border: 0; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 600; padding: 8px 18px; }

/* sponsored business card inside feed */
.svc-card { margin: 0 18px 14px; border-radius: var(--radius-2xl); border: var(--border-hairline) solid var(--fill-orange-stroke); background: var(--fill-orange-soft); padding: 13px 15px; }
.svc-card .rec { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.svc-card .rec svg { width: 12px; height: 12px; }
.svc-row { display: flex; gap: 12px; align-items: center; }
.svc-logo { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--surface-3); display: grid; place-items: center; flex-shrink: 0; border: var(--border-hairline) solid var(--border); }
.svc-logo svg { width: 22px; height: 22px; color: var(--orange); }
.svc-info h4 { font-size: 15px; font-weight: 700; font-family: var(--font-sans); margin: 0 0 4px; }
.svc-info .m { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-secondary); }
.svc-info .helmets { color: var(--orange); letter-spacing: 1px; }

.app-tabs { position: absolute; bottom: 0; left: 0; right: 0; height: 62px; background: var(--tabbar); border-top: var(--border-hairline) solid var(--border); display: flex; }
.app-tabs .tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-tertiary); font-size: 9.5px; font-weight: 500; }
.app-tabs .tab svg { width: 21px; height: 21px; }
.app-tabs .tab.on { color: var(--red); }

.phone-float {
  position: absolute; z-index: 5; background: var(--surface-2);
  border: var(--border-hairline) solid var(--border); border-radius: var(--radius-xl);
  padding: 12px 15px; box-shadow: var(--shadow-pop); display: flex; align-items: center; gap: 11px;
}
.phone-float.intent { top: 64px; right: -54px; }
.phone-float .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--fill-orange-soft); flex-shrink: 0; }
.phone-float .ico svg { width: 19px; height: 19px; color: var(--orange); }
.phone-float .t1 { font-size: 13px; font-weight: 700; }
.phone-float .t2 { font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); letter-spacing: 0.03em; }

/* ============================================================
   Feature grid (riders)
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--surface-1); border: var(--border-hairline) solid var(--border);
  border-radius: var(--radius-2xl); padding: 28px;
  transition: border-color var(--dur-base), transform var(--dur-base), background var(--dur-base);
}
.feat:hover { border-color: #3a3a3a; transform: translateY(-3px); background: var(--surface-2); }
.feat .ic { width: 48px; height: 48px; border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--surface-3); margin-bottom: 20px; border: var(--border-hairline) solid var(--border); }
.feat .ic svg { width: 23px; height: 23px; color: var(--red); }
.feat h3 { font-family: var(--font-sans); font-weight: 700; font-size: 19px; margin-bottom: 9px; letter-spacing: -0.2px; }
.feat p { color: var(--text-secondary); font-size: 15px; line-height: 1.5; margin: 0; }
.feat .kref { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-quaternary); margin-top: 16px; }

/* ============================================================
   Rider-intent (the bridge) — full-bleed dark panel
   ============================================================ */
.intent-sec { background: var(--surface-1); border-top: var(--border-hairline) solid var(--border); border-bottom: var(--border-hairline) solid var(--border); overflow: hidden; }
.intent-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }
.intent-quote { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -1px; margin: 22px 0 26px; }
.intent-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.intent-list li { display: flex; gap: 14px; align-items: flex-start; }
.intent-list .chk { width: 26px; height: 26px; border-radius: 8px; background: var(--fill-red-soft); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.intent-list .chk svg { width: 15px; height: 15px; color: var(--red); }
.intent-list b { font-weight: 600; font-size: 15.5px; }
.intent-list span { color: var(--text-secondary); font-size: 14.5px; }

/* route-intent diagram */
.diagram { position: relative; border-radius: var(--radius-2xl); border: var(--border-hairline) solid var(--border); background: var(--map-bg); aspect-ratio: 1 / 0.92; overflow: hidden; }
.diagram .label { position: absolute; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); background: var(--scrim); padding: 4px 9px; border-radius: var(--radius-sm); border: var(--border-hairline) solid var(--border); }
.pin { position: absolute; transform: translate(-50%,-50%); }
.pin .head { width: 34px; height: 34px; border-radius: 50% 50% 50% 2px; transform: rotate(45deg); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,0.5); }
.pin .head svg { width: 16px; height: 16px; transform: rotate(-45deg); color: #1a0d00; }
.pin.featured .head { background: var(--grad-brand); }
.pin.plain .head { background: var(--surface-3); border: 1px solid var(--border); }
.pin.plain .head svg { color: var(--text-secondary); }

/* ============================================================
   Business funnel
   ============================================================ */
.funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-2xl); padding: 26px 24px; }
.step .n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 16px; }
.step h3 { font-family: var(--font-sans); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 14px; line-height: 1.5; margin: 0; }
.step .pill { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-3); color: var(--text-secondary); }
.step.free .pill { background: var(--fill-red-soft); color: var(--red); }
.step .arrow { position: absolute; right: -13px; top: 50%; transform: translateY(-50%); z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); border: var(--border-hairline) solid var(--border); display: grid; place-items: center; color: var(--text-secondary); }
.step .arrow svg { width: 14px; height: 14px; }

/* ============================================================
   Business journey (account states) + interactive tier explorer
   ============================================================ */
.journey-steps {
  list-style: none; padding: 0; margin: 0 0 44px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  position: relative; scroll-margin-top: 90px;
}
.journey-steps::before {
  content: ""; position: absolute; top: 19px; left: 9%; right: 9%; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--border) 22%); opacity: 0.5; z-index: 0;
}
.jstep { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.jstep .jn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: var(--border-thin) solid var(--border);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800;
  font-size: 16px; color: var(--text);
}
.jstep:first-child .jn { background: var(--grad-brand); color: #fff; border-color: transparent; }
.jstep .jbody h3 { font-family: var(--font-sans); font-weight: 700; font-size: 15.5px; margin: 0 0 5px; letter-spacing: -0.1px; }
.jstep .jbody p { color: var(--text-secondary); font-size: 13px; line-height: 1.5; margin: 0; }

.tier-explorer { max-width: 760px; margin: 0 auto; background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-2xl); padding: 30px 28px; }
.tier-explorer-head { text-align: center; margin-bottom: 20px; }
.tier-explorer-head h3 { font-family: var(--font-sans); font-weight: 700; font-size: 21px; letter-spacing: -0.3px; }
.tier-explorer-head p { color: var(--text-secondary); font-size: 14px; margin: 7px 0 0; }
.tier-seg { display: flex; gap: 4px; background: var(--surface-2); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-pill); padding: 5px; max-width: 380px; margin: 0 auto 24px; }
.tier-seg button { flex: 1; border: 0; background: transparent; color: var(--text-secondary); font-weight: 600; font-size: 14px; padding: 10px 0; border-radius: var(--radius-pill); transition: background var(--dur-base), color var(--dur-fast); }
.tier-seg button.on { color: #fff; background: var(--grad-brand); box-shadow: 0 4px 16px rgba(255,90,40,0.30); }
.tier-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--radius-pill); background: var(--surface-3); color: var(--text-secondary); }
.tier-status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tier-status.tier-verified { color: var(--green); background: rgba(50,215,75,0.10); }
.tier-status.tier-featured { color: var(--orange); background: var(--fill-orange-soft); }
.tier-tag { font-family: var(--font-display); font-weight: 800; font-size: 21px; margin: 16px 0 18px; letter-spacing: -0.4px; }
.tier-have { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 11px; }
.tier-have li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.tier-have li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.tier-next { border-top: var(--border-hairline) solid var(--border); padding-top: 18px; }
.tier-next-lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 11px; }
.tier-next ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.tier-next li { display: flex; gap: 9px; align-items: center; font-size: 14px; color: var(--text-tertiary); }
.tier-next li::before { content: "+"; color: var(--orange); font-weight: 800; }
.tier-next.done { display: flex; align-items: center; gap: 9px; color: var(--text-secondary); font-size: 14px; }
.tier-next.done svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }
.tier-next.done a { color: var(--orange); }
.tier-foot { text-align: center; color: var(--text-secondary); font-size: 13.5px; margin: 24px auto 0; max-width: 620px; }
.tier-foot a { color: var(--orange); }
.tier-foot b { color: var(--text); }

/* ============================================================
   Business console — in-console plan upgrade (Stripe checkout)
   ============================================================ */
.cad-seg { display: inline-flex; gap: 4px; background: var(--surface-2); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-pill); padding: 5px; margin: 4px 0 18px; }
.cad-seg button { border: 0; background: transparent; color: var(--text-secondary); font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: var(--radius-pill); cursor: pointer; }
.cad-seg button.on { background: var(--grad-brand); color: #fff; }
.upgrade-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.upgrade-card { background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-2xl); padding: 22px; display: flex; flex-direction: column; }
.upgrade-card.feature { border-color: var(--fill-orange-stroke); background: linear-gradient(180deg, rgba(255,149,0,0.06), var(--surface-1) 40%); }
.upgrade-card .ut { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 10px; }
.upgrade-card .upr { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -1px; }
.upgrade-card .upr span { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; }
.upgrade-card ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 9px; }
.upgrade-card li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--text); }
.upgrade-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.upgrade-card .btn { margin-top: auto; }
.muted { color: var(--text-secondary); }
@media (max-width: 720px) { .upgrade-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Desktop CRM mockup
   ============================================================ */
.crm-sec { overflow: hidden; }
.crm-split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: center; }
.browser {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #2e2e2e; background: var(--surface-1);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #181818; border-bottom: var(--border-hairline) solid var(--border); }
.browser-bar .dots { display: flex; gap: 7px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser-bar .url { margin-left: 12px; flex: 1; max-width: 320px; background: var(--surface-3); border-radius: var(--radius-sm); padding: 5px 12px; font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); display: flex; align-items: center; gap: 7px; }
.browser-bar .url svg { width: 12px; height: 12px; color: var(--green); }
.crm-app { display: grid; grid-template-columns: 188px 1fr; min-height: 470px; background: var(--bg); }
.crm-side { background: var(--surface-1); border-right: var(--border-hairline) solid var(--border); padding: 18px 14px; }
.crm-biz { display: flex; align-items: center; gap: 10px; padding: 8px 8px 16px; border-bottom: var(--border-hairline) solid var(--border); margin-bottom: 12px; }
.crm-biz .lg { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--grad-brand); display: grid; place-items: center; flex-shrink: 0; }
.crm-biz .lg svg { width: 19px; height: 19px; color: #1a0d00; }
.crm-biz .nm { font-weight: 700; font-size: 14px; line-height: 1.1; }
.crm-biz .ty { font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); letter-spacing: 0.04em; }
.crm-nav { display: flex; flex-direction: column; gap: 2px; }
.crm-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: var(--radius-md); font-size: 13.5px; font-weight: 500; color: var(--text-secondary); }
.crm-nav a svg { width: 17px; height: 17px; }
.crm-nav a.on { background: var(--surface-3); color: var(--text); }
.crm-nav a.on svg { color: var(--red); }
.crm-main { padding: 22px 24px; overflow: hidden; }
.crm-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.crm-h h4 { font-family: var(--font-sans); font-weight: 700; font-size: 18px; }
.crm-h .range { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-pill); padding: 6px 13px; }
.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-lg); padding: 14px; }
.kpi .lab { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 8px; }
.kpi .val { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -1px; }
.kpi .delta { font-family: var(--font-mono); font-size: 10.5px; margin-top: 7px; color: var(--green); }
.kpi .delta.dn { color: var(--text-secondary); }
.crm-panels { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.panel { background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.panel .pt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 14px; }
.chart { display: flex; align-items: flex-end; gap: 5px; height: 84px; }
.chart .bar { flex: 1; border-radius: 3px 3px 0 0; background: var(--grad-brand); opacity: 0.85; min-height: 4px; }
.chart .bar.dim { background: var(--surface-3); }
.lead-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: var(--border-hairline) solid var(--border); }
.lead-row:last-child { border-bottom: 0; }
.lead-row .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; }
.lead-row .lt { flex: 1; min-width: 0; }
.lead-row .lt b { font-size: 13px; font-weight: 600; display: block; }
.lead-row .lt span { font-family: var(--font-mono); font-size: 10px; color: var(--text-secondary); }
.lead-row .qp { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--fill-red-soft); color: var(--red); flex-shrink: 0; }

/* shared-db callout */
.sharedb { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.sharedb .node { background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-2xl); padding: 26px; text-align: center; }
.sharedb .node .ic { width: 50px; height: 50px; border-radius: var(--radius-lg); display: grid; place-items: center; margin: 0 auto 16px; background: var(--surface-3); }
.sharedb .node .ic svg { width: 24px; height: 24px; }
.sharedb .node h4 { font-family: var(--font-sans); font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.sharedb .node p { color: var(--text-secondary); font-size: 13.5px; margin: 0; }
.sharedb .core { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sharedb .core .db { width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff5a28, #cc2f26); display: grid; place-items: center; box-shadow: 0 0 40px rgba(255,90,40,0.35); }
.sharedb .core .db svg { width: 38px; height: 38px; color: #fff; }
.sharedb .core .cap { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); text-align: center; }

/* ============================================================
   Pricing
   ============================================================ */
.price-toggle-scroller { text-align: center; }
.price-toggle { display: inline-flex; gap: 4px; background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-pill); padding: 5px; margin: 0 auto 44px; }
.price-toggle button { border: 0; background: transparent; color: var(--text-secondary); font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: var(--radius-pill); transition: all var(--dur-fast); white-space: nowrap; }
.price-toggle button.on { background: var(--surface-3); color: var(--text); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.price-grid.cols-1 { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-2xl); padding: 28px; position: relative; }
.plan.feature { border-color: var(--fill-orange-stroke); background: linear-gradient(180deg, rgba(255,149,0,0.06), var(--surface-1) 40%); }
.plan .badge { position: absolute; top: -11px; left: 28px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--grad-brand); color: #1a0d00; font-weight: 700; padding: 4px 11px; border-radius: var(--radius-pill); }
.plan .tier-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 12px; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -1.5px; }
.plan .price .per { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; }
.plan .price.sm { font-size: 28px; }
.plan .ptag { color: var(--text-secondary); font-size: 14px; margin: 12px 0 18px; min-height: 40px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.plan ul li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.plan ul li.off { color: var(--text-quaternary); }
.plan ul li.off svg { color: var(--text-quaternary); }
.plan .btn { margin-top: auto; }
.price-foot { margin-top: 32px; text-align: center; font-size: 14px; color: var(--text-secondary); }
.price-foot b { color: var(--text); }

/* Enterprise / contact-us card (brands, dealers, vendors) */
.enterprise-cta { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: 30px; align-items: center; margin-top: 42px; background: var(--surface-1); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-2xl); padding: 34px; position: relative; overflow: hidden; }
.enterprise-cta::before { content: ""; position: absolute; top: -120px; right: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,90,40,0.12), transparent 65%); pointer-events: none; }
.enterprise-cta .ent-l { position: relative; z-index: 1; }
.enterprise-cta h3 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.5px; margin: 0 0 10px; }
.enterprise-cta .ent-l > p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; margin: 0 0 18px; max-width: 520px; }
.ent-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ent-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--text); }
.ent-list li svg { width: 17px; height: 17px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.ent-card { background: var(--surface-2); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-xl); padding: 26px 22px; text-align: center; position: relative; z-index: 1; }
.ent-ic { width: 52px; height: 52px; border-radius: var(--radius-lg); background: var(--fill-orange-soft); display: grid; place-items: center; margin: 0 auto 14px; }
.ent-ic svg { width: 25px; height: 25px; color: var(--orange); }
.ent-reach { color: var(--text-secondary); font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.ent-card .btn svg { width: 16px; height: 16px; }
.ent-note { color: var(--text-tertiary); font-size: 11.5px; margin: 12px 0 0; }
@media (max-width: 720px) { .enterprise-cta { grid-template-columns: 1fr; gap: 22px; padding: 24px; } }

/* ============================================================
   Principles
   ============================================================ */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prin { padding: 24px; border-radius: var(--radius-2xl); border: var(--border-hairline) solid var(--border); background: var(--surface-1); }
.prin .ic { width: 42px; height: 42px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--surface-3); margin-bottom: 16px; }
.prin .ic svg { width: 21px; height: 21px; color: var(--green); }
.prin h4 { font-family: var(--font-sans); font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.prin p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.5; margin: 0; }

/* ============================================================
   CTA band + footer
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-top: var(--border-hairline) solid var(--border); }
.cta-band .glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(255,90,40,0.20), transparent 60%); pointer-events: none; }
.cta-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 22px; }
.cta-inner .lead { margin: 0 auto 34px; max-width: 560px; }
.cta-inner .hero-cta { justify-content: center; }

.footer { border-top: var(--border-hairline) solid var(--border); background: var(--surface-1); padding: 64px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--text-secondary); font-size: 14px; max-width: 290px; margin: 0 0 18px; }
.foot-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin: 0 0 16px; font-weight: 600; }
.foot-col a { display: block; color: var(--text-secondary); font-size: 14px; margin-bottom: 11px; transition: color var(--dur-fast); }
.foot-col a:hover { color: var(--text); }
.foot-bottom { border-top: var(--border-hairline) solid var(--border); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.foot-bottom p { color: var(--text-tertiary); font-size: 13px; margin: 0; max-width: 720px; }
.foot-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom .legal a { color: var(--text-tertiary); font-size: 13px; }
.foot-bottom .legal a:hover { color: var(--text); }

/* ---- Cookie bar ---- */
.cookie { position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 200; max-width: 560px; margin: 0 auto; background: var(--surface-2); border: var(--border-hairline) solid var(--border); border-radius: var(--radius-xl); padding: 16px 18px; box-shadow: var(--shadow-pop); display: flex; gap: 16px; align-items: center; transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-base); }
.cookie.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cookie p { margin: 0; font-size: 13px; color: var(--text-secondary); flex: 1; }
.cookie p a { color: var(--orange); }
.cookie .btn { padding: 9px 18px; font-size: 13px; }

/* ---- Reveal animation ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-standard), transform 0.7s var(--ease-standard); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 640px; }
  .phone { margin-top: 8px; }
  .intent-grid, .crm-split { grid-template-columns: 1fr; gap: 40px; }
  .funnel { grid-template-columns: repeat(2, 1fr); }
  .step .arrow { display: none; }
  .journey-steps { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .journey-steps::before { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .sharedb { grid-template-columns: 1fr; gap: 20px; }
  .sharedb .core { flex-direction: row; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle.open { color: var(--orange); }
  .nav-actions .signin { display: none; }
  .nav-actions .btn { display: none; }   /* hide CTA from bar — it moves into the dropdown */
  /* mobile menu open */
  .nav.menu-open { border-bottom-color: transparent; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0; z-index: 99;
    background: rgba(10,10,10,0.97);
    backdrop-filter: saturate(150%) blur(16px);
    -webkit-backdrop-filter: saturate(150%) blur(16px);
    border-bottom: var(--border-hairline) solid var(--border);
    padding: 8px 0 16px;
  }
  .nav.menu-open .nav-links a {
    font-size: 16px; padding: 13px 24px; color: var(--text-secondary);
    border-bottom: var(--border-hairline) solid var(--border);
  }
  .nav.menu-open .nav-links a:last-child { border-bottom: 0; }
  .nav.menu-open .nav-links .nav-mob-cta {
    display: flex; margin: 12px 20px 0; justify-content: center;
    font-size: 15px; border-bottom: 0;
  }
  .feat-grid, .price-grid, .price-grid.cols-2 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; gap: 16px; }
  .tier-explorer { padding: 22px 18px; }
  .crm-app { grid-template-columns: 1fr; }
  .crm-side { display: none; }
  .crm-panels { grid-template-columns: 1fr; }
  .trust-inner { justify-content: flex-start; gap: 14px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .phone-float { display: none; }
  .hero-note { font-size: 11px; }
  /* price category tabs: horizontally scrollable strip */
  .price-toggle-scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 20px 4px; margin: 0 -20px 0; text-align: left; }
  .price-toggle { margin-bottom: 44px; white-space: nowrap; }
  .price-toggle button { flex-shrink: 0; }
}

/* mobile nav CTA — hidden everywhere by default; shown only inside open mobile menu */
.nav-links .nav-mob-cta { display: none; }

/* ---- Language switcher ---- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 2px 0;
  line-height: 1;
  opacity: .55;
  transition: opacity var(--dur-fast), color var(--dur-fast);
}
.lang-btn:hover { opacity: 1; color: var(--text); }
.lang-btn[aria-current="true"] { opacity: 1; color: var(--text); }

/* legal pages: inline lang switch after the back link */
.legal .lang-switch { margin-bottom: 20px; }
