:root {
  --ink-950: #07141e;
  --ink-900: #0e2230;
  --ink-800: #163447;
  --ink-700: #275168;
  --mist-100: #f4f7fb;
  --mist-200: #e5edf5;
  --mist-300: #d1dde8;
  --white: #ffffff;
  --sand: #f4d8a4;
  --amber: #f59d3d;
  --teal: #3ab9a6;
  --sky: #5ea9ff;
  --mint: #b8f0dd;
  --rose: #ffd7cf;
  --shadow: 0 22px 60px rgba(7, 20, 30, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(245, 157, 61, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(94, 169, 255, 0.16), transparent 30%),
    linear-gradient(165deg, #eef4fa 0%, #f7fbff 42%, #eff5ed 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.marketing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 157, 61, 0.22), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(94, 169, 255, 0.24), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #eff5fa 40%, #f6f5ef 100%);
}

.marketing-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 44px;
}

.marketing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0 28px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-mark small {
  display: block;
  color: var(--ink-700);
  font-size: 0.8rem;
}

.brand-badge {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), #ffcf78);
  color: var(--ink-950);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.marketing-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.marketing-nav a:not(.primary-link):not(.ghost-link) {
  color: var(--ink-700);
  font-weight: 700;
}

.primary-link,
.ghost-link,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.large {
  min-height: 54px;
  padding: 0 22px;
}

.primary-link,
.btn-primary {
  background: linear-gradient(135deg, var(--ink-900), #1c4f6c 62%, #2d8ab7);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(18, 49, 70, 0.18);
}

.ghost-link,
.btn-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-800);
  border: 1px solid rgba(22, 52, 71, 0.14);
}

.primary-link:hover,
.ghost-link:hover,
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-card-stack,
.auth-showcase,
.auth-panel,
.showcase-band,
.workflow-section,
.pricing-section,
.cta-panel,
.surface-card,
.customer-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.93), rgba(252, 246, 235, 0.92)),
    linear-gradient(135deg, rgba(94, 169, 255, 0.18), transparent 40%);
}

.auth-showcase {
  padding: 44px;
  background:
    radial-gradient(circle at top right, rgba(94, 169, 255, 0.2), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.93), rgba(241, 248, 255, 0.94));
}

.eyebrow,
.panel-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-700);
}

.hero-copy h1,
.auth-showcase h1,
.page-topper h1,
.customer-card h1 {
  margin: 14px 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.page-topper h1,
.customer-card h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.auth-showcase h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.hero-text,
.section-heading p,
.page-topper p,
.surface-card p,
.customer-card p {
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-points article,
.proof-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(14, 34, 48, 0.04);
  border: 1px solid rgba(14, 34, 48, 0.08);
}

.auth-points strong,
.proof-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
}

.auth-points span,
.proof-card span {
  color: var(--ink-700);
  line-height: 1.6;
}

.auth-proof {
  margin-top: 22px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.hero-metrics article,
.stat-card,
.feature-card,
.price-card,
.sidebar-panel,
.info-stack,
.result-card,
.callout-box {
  border-radius: var(--radius-lg);
}

.hero-metrics article {
  padding: 18px;
  background: rgba(14, 34, 48, 0.05);
  border: 1px solid rgba(14, 34, 48, 0.08);
}

.hero-metrics strong {
  display: block;
  font-size: 1.1rem;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--ink-700);
}

.hero-card-stack {
  padding: 18px;
  background: linear-gradient(145deg, #143247, #102130 58%, #0a1721);
  display: grid;
  gap: 16px;
}

.glass-card {
  padding: 24px;
  border-radius: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.glass-card.primary {
  background:
    radial-gradient(circle at top right, rgba(245, 157, 61, 0.28), transparent 36%),
    rgba(255, 255, 255, 0.1);
}

.glass-card.secondary {
  background:
    radial-gradient(circle at bottom left, rgba(58, 185, 166, 0.22), transparent 32%),
    rgba(255, 255, 255, 0.08);
}

.glass-card h2,
.auth-copy h2,
.surface-card h2,
.section-heading h2 {
  margin: 8px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.compact-list {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.7;
}

.showcase-band,
.workflow-section,
.pricing-section,
.cta-panel {
  margin-top: 22px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(22, 52, 71, 0.08);
}

.section-heading {
  max-width: 720px;
}

.section-heading.narrow {
  max-width: 520px;
}

.feature-grid,
.pricing-grid,
.stats-grid,
.panel-grid,
.roster-grid,
.workflow-steps {
  display: grid;
  gap: 14px;
}

.feature-grid,
.pricing-grid {
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.price-card,
.surface-card,
.stat-card,
.sidebar-panel,
.customer-card,
.result-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 52, 71, 0.08);
}

.feature-card {
  padding: 22px;
}

.feature-card h3,
.workflow-steps h3,
.price-card h3,
.sidebar-panel h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.accent-blue {
  background: linear-gradient(180deg, rgba(94, 169, 255, 0.16), rgba(255, 255, 255, 0.94));
}

.accent-sand {
  background: linear-gradient(180deg, rgba(245, 216, 164, 0.34), rgba(255, 255, 255, 0.94));
}

.accent-green {
  background: linear-gradient(180deg, rgba(184, 240, 221, 0.4), rgba(255, 255, 255, 0.94));
}

.accent-ink {
  background: linear-gradient(180deg, rgba(14, 34, 48, 0.08), rgba(255, 255, 255, 0.94));
}

.workflow-steps {
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-steps article {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 34, 48, 0.04), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(22, 52, 71, 0.08);
}

.workflow-steps span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--ink-900);
  color: var(--white);
  font-weight: 800;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 24px;
}

.price-card h3 {
  font-size: 2.2rem;
}

.price-card h3 span {
  font-size: 1rem;
  color: var(--ink-700);
}

.price-card.featured {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 34, 48, 0.96), rgba(25, 63, 84, 0.95));
  color: var(--white);
}

.price-card.featured p,
.price-card.featured h3 span {
  color: rgba(255, 255, 255, 0.78);
}

.tier-label,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.tier-label {
  background: rgba(14, 34, 48, 0.08);
}

.status-pill {
  background: rgba(14, 34, 48, 0.08);
  color: var(--ink-800);
}

.status-pill.live {
  background: rgba(184, 240, 221, 0.25);
  color: #d5fce7;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background:
    radial-gradient(circle at right top, rgba(245, 157, 61, 0.18), transparent 26%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 255, 0.95));
}

.auth-panel {
  padding: 28px;
  background:
    radial-gradient(circle at bottom left, rgba(245, 157, 61, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(22, 52, 71, 0.08);
}

.auth-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.auth-copy {
  margin-top: 26px;
}

.auth-form {
  margin-top: 18px;
}

.auth-submit {
  width: 100%;
  margin-top: 18px;
}

.auth-footer-note {
  margin-top: 18px;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.auth-footer-note a {
  color: var(--ink-900);
  font-weight: 800;
}

.command-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(254, 165, 32, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f9ff 0%, #edf4ff 100%);
}

.landing-command-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.landing-sidebar {
  background: #041627;
  color: #fff;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.landing-signup-button {
  text-decoration: none;
  text-align: center;
}

.landing-content {
  gap: 18px;
}

.landing-hero-card strong {
  font-size: 3.15rem;
  line-height: 0.94;
  max-width: 760px;
}

.landing-hero-card p {
  max-width: 780px;
}

.landing-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.command-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 272px 1fr;
}

.command-sidebar {
  background: #041627;
  color: #fff;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 18px 0 48px rgba(4, 22, 39, 0.18);
}

.command-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.command-brand strong {
  display: block;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.command-brand small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  margin-top: 4px;
}

.command-nav {
  display: grid;
  gap: 8px;
}

.command-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.command-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.command-nav-link.active {
  background: #1a2b3c;
  color: #fea520;
  transform: translateX(4px);
  border-right: 3px solid #fea520;
}

.nav-icon {
  font-size: 1.15rem;
}

.command-dispatch-button {
  margin-top: auto;
  border: 0;
  border-radius: 8px;
  background: #fea520;
  color: #694000;
  font-weight: 800;
  padding: 14px 16px;
  box-shadow: 0 18px 28px rgba(254, 165, 32, 0.2);
}

.command-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.command-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(247, 249, 255, 0.92);
  backdrop-filter: blur(12px);
}

.command-search {
  width: min(100%, 420px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--ink-700);
}

.command-search input {
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
}

.command-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.command-top-link {
  color: #041627;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.command-primary-button {
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #fea520, #ec960f);
  color: #694000;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(254, 165, 32, 0.24);
}

.command-primary-button.dark {
  background: #1a2b3c;
  color: #d2e4fb;
  box-shadow: none;
}

.command-secondary-button {
  padding: 12px 18px;
  border: 1px solid rgba(116, 119, 125, 0.28);
  border-radius: 10px;
  background: #fff;
  color: #041627;
  font-weight: 700;
}

.command-icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #607383;
}

.command-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #1a2b3c, #0c1d2c);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.command-content {
  padding: 28px;
  display: grid;
  gap: 22px;
}

.command-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.command-hero h1 {
  margin: 10px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.command-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--ink-700);
  line-height: 1.65;
}

.command-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.command-stats-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}

.command-metric,
.command-card,
.map-sidebar-card,
.crm-list-card,
.crm-detail-card {
  border-radius: 20px;
  border: 1px solid rgba(22, 52, 71, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.command-metric {
  padding: 20px;
}

.command-metric-large {
  background:
    radial-gradient(circle at bottom right, rgba(254, 165, 32, 0.14), transparent 34%),
    linear-gradient(180deg, #1a2b3c, #041627);
  color: #fff;
}

.command-metric.compact {
  background: #fff;
}

.command-metric strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}

.command-metric span:last-child {
  display: block;
  margin-top: 8px;
  color: inherit;
  opacity: 0.74;
}

.command-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.95fr;
  gap: 18px;
}

.dispatcher-kpi-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr;
  gap: 18px;
}

.dispatcher-kpi-card {
  padding: 24px;
  border-radius: 16px;
  background: #edf4ff;
}

.dispatcher-kpi-card.dark {
  background: linear-gradient(180deg, #263646, #1a2b3c);
  color: #fff;
  box-shadow: 0 20px 38px rgba(17, 35, 54, 0.22);
}

.dispatcher-kpi-card strong {
  display: block;
  margin-top: 10px;
  font-size: 3rem;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.dispatcher-kpi-card p {
  margin: 10px 0 0;
  color: inherit;
  opacity: 0.8;
}

.dispatcher-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.72fr;
  gap: 18px;
}

.regional-view-card,
.quick-sms-card {
  border-radius: 16px;
  background: #edf4ff;
  padding: 18px;
}

.regional-map {
  position: relative;
  min-height: 225px;
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 35, 54, 0.14), rgba(17, 35, 54, 0.14)),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    #677069;
  background-size: auto, 22px 22px, 22px 22px, auto;
}

.regional-map .focus-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(209, 228, 251, 0.86);
  backdrop-filter: blur(12px);
}

.regional-map .marker {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #041627;
  color: #fff;
  box-shadow: 0 10px 22px rgba(4, 22, 39, 0.22);
}

.regional-map .marker.alt {
  background: #fea520;
  color: #694000;
}

.crm-summary-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
}

.crm-hero-detail {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.crm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.crm-visual-card {
  min-height: 220px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(254, 165, 32, 0.16), transparent 24%),
    linear-gradient(180deg, #f4efe4 0%, #e4e8ef 100%);
  position: relative;
  overflow: hidden;
}

.crm-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.32), transparent 60%);
}

.visual-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 18px 28px rgba(4, 22, 39, 0.12);
}

.visual-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #b57a16;
}

.visual-tag {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  font-size: 0.72rem;
  font-weight: 800;
}

.command-stack {
  display: grid;
  gap: 18px;
}

.command-card,
.map-sidebar-card,
.crm-list-card,
.crm-detail-card {
  padding: 22px;
}

.table-shell {
  margin-top: 16px;
}

.dispatch-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.dispatch-table th {
  padding: 0 12px;
  text-align: left;
  color: #607383;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dispatch-table td {
  padding: 16px 12px;
  background: #fff;
}

.dispatch-table tbody tr td:first-child {
  border-radius: 14px 0 0 14px;
}

.dispatch-table tbody tr td:last-child {
  border-radius: 0 14px 14px 0;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-link_sent,
.status-link_ready,
.status-link_expiring {
  background: rgba(254, 165, 32, 0.16);
  color: #7a4a00;
}

.status-location_shared,
.status-dispatched,
.status-en_route {
  background: rgba(26, 43, 60, 0.1);
  color: #163447;
}

.status-completed {
  background: rgba(58, 185, 166, 0.18);
  color: #1f675c;
}

.job-ref {
  display: block;
  font-weight: 800;
  color: #041627;
}

.job-sub {
  display: block;
  margin-top: 4px;
  color: #607383;
  font-size: 0.83rem;
}

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.row-actions a,
.row-actions button {
  padding: 8px 10px;
  border-radius: 10px;
  border: 0;
  background: #edf4ff;
  color: #163447;
  font-size: 0.78rem;
  font-weight: 800;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mini-item {
  padding: 16px;
  border-radius: 16px;
  background: #edf4ff;
}

.mini-item h3,
.crm-job-detail h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

.mini-item p,
.crm-job-detail p,
.timeline-row p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.6;
}

.map-layout,
.crm-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
}

.map-stage {
  min-height: 620px;
}

.map-surface {
  position: relative;
  min-height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 18%),
    linear-gradient(180deg, rgba(4, 22, 39, 0.06), rgba(4, 22, 39, 0.06)),
    linear-gradient(120deg, #dce9f7 0%, #eef4ff 50%, #d2e4fb 100%);
}

.map-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(4, 22, 39, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 22, 39, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.55;
}

.map-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
}

.map-marker-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fea520;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(4, 22, 39, 0.18);
}

.map-marker-dot.customer {
  background: #2875cf;
}

.map-marker-card {
  margin-top: 10px;
  min-width: 180px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 28px rgba(4, 22, 39, 0.12);
}

.map-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  gap: 10px;
}

.map-controls button {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #041627;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(4, 22, 39, 0.16);
}

.map-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.crm-detail-card {
  min-height: 620px;
}

.crm-job-detail {
  display: grid;
  gap: 16px;
}

.detail-bento {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 14px;
}

.detail-card,
.timeline-card,
.customer-history-card,
.internal-note-card {
  padding: 18px;
  border-radius: 18px;
  background: #edf4ff;
}

.detail-card.dark {
  background: #041627;
  color: #fff;
}

.timeline-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.timeline-row {
  display: flex;
  gap: 14px;
  align-items: start;
}

.timeline-bullet {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #d1e4fb;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.history-item {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.customer-brand-block {
  display: flex;
  justify-content: center;
  padding-top: 18px;
  margin-bottom: 18px;
}

.customer-card-kinetic {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(254, 165, 32, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.96);
}

.customer-signal-ring {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(254, 165, 32, 0.3);
}

.ring-outer {
  width: 240px;
  height: 240px;
}

.ring-middle {
  width: 170px;
  height: 170px;
}

.ring-inner {
  width: 112px;
  height: 112px;
  border-width: 2px;
}

.signal-center {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(254, 165, 32, 0.12);
  color: #865300;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.app-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(58, 185, 166, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(245, 157, 61, 0.16), transparent 24%),
    linear-gradient(180deg, #eef4fa 0%, #f8fbfd 100%);
}

.app-shell {
  max-width: 1320px;
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 18px;
  padding: 18px;
}

.app-sidebar {
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(8, 23, 34, 0.98), rgba(16, 42, 58, 0.98));
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}

.app-brand small {
  color: rgba(255, 255, 255, 0.7);
}

.app-nav {
  display: grid;
  gap: 10px;
}

.app-nav-link {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
}

.app-nav-link.active {
  color: var(--white);
  background: rgba(94, 169, 255, 0.18);
  border-color: rgba(94, 169, 255, 0.26);
}

.sidebar-panel {
  padding: 18px;
  color: var(--ink-950);
}

.sidebar-panel.subtle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-panel.subtle p,
.sidebar-panel.subtle .panel-eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.app-main {
  padding: 10px 2px 28px;
}

.page-topper {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.workspace-switch {
  min-width: 220px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(22, 52, 71, 0.08);
}

.inline-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 20px;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.15rem;
  letter-spacing: -0.04em;
}

.stat-card p {
  margin-bottom: 0;
}

.panel-grid {
  margin-top: 20px;
  grid-template-columns: 1.2fr 0.8fr;
}

.surface-card {
  padding: 24px;
}

.split-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.stack-form label {
  display: block;
  margin-top: 14px;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(22, 52, 71, 0.14);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink-900);
}

textarea {
  min-height: 106px;
  resize: vertical;
}

.feedback-line {
  min-height: 24px;
  margin-top: 12px;
  color: var(--ink-700);
  font-size: 0.94rem;
}

.callout-box,
.result-card,
.info-stack,
.privacy-note {
  padding: 16px 18px;
}

.callout-box {
  margin-top: 16px;
  background: rgba(94, 169, 255, 0.08);
}

.roster-grid {
  margin-top: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.roster-grid.compact {
  margin-top: 16px;
}

.mini-card,
.request-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 52, 71, 0.08);
}

.mini-card h3,
.request-card h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
}

.mini-card p,
.request-card p {
  margin: 6px 0;
  color: var(--ink-700);
}

.request-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.result-card {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(184, 240, 221, 0.34), rgba(255, 255, 255, 0.96));
}

.hidden {
  display: none;
}

.customer-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(94, 169, 255, 0.24), transparent 28%),
    radial-gradient(circle at bottom right, rgba(245, 157, 61, 0.2), transparent 28%),
    linear-gradient(180deg, #eff5fb 0%, #f7f4ee 100%);
}

.customer-shell {
  width: min(100%, 560px);
}

.customer-card {
  padding: 28px;
}

.mobile-top {
  align-items: start;
}

.customer-button {
  width: 100%;
  margin-top: 18px;
}

.info-stack {
  margin-top: 18px;
  background: rgba(14, 34, 48, 0.04);
}

.privacy-note {
  margin-top: 18px;
  border-radius: 18px;
  background: rgba(14, 34, 48, 0.05);
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.6;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(14, 34, 48, 0.08);
}

@media (max-width: 1080px) {
  .hero-grid,
  .auth-stage,
  .command-stats-grid,
  .panel-grid,
  .feature-grid,
  .workflow-steps,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .marketing-header,
  .page-topper {
    flex-direction: column;
    align-items: start;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .command-shell,
  .landing-command-shell,
  .command-main-grid,
  .dispatcher-kpi-grid,
  .dispatcher-layout,
  .crm-summary-layout,
  .map-layout,
  .crm-layout,
  .detail-bento {
    grid-template-columns: 1fr;
  }

  .command-sidebar {
    display: none;
  }

  .landing-sidebar {
    display: none;
  }
}

@media (max-width: 720px) {
  .marketing-shell,
  .app-shell {
    padding: 14px;
  }

  .hero-copy,
  .auth-showcase,
  .auth-panel,
  .showcase-band,
  .workflow-section,
  .pricing-section,
  .cta-panel,
  .surface-card,
  .customer-card {
    padding: 20px;
  }

  .hero-copy h1,
  .page-topper h1,
  .customer-card h1 {
    font-size: 2rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .marketing-nav {
    width: 100%;
  }

  .marketing-nav a {
    width: 100%;
    justify-content: center;
  }

  .command-topbar,
  .command-content {
    padding: 18px;
  }

  .command-topbar,
  .command-hero {
    flex-direction: column;
    align-items: start;
  }

  .command-search {
    width: 100%;
  }

  .customer-signal-ring {
    width: 180px;
    height: 180px;
  }

  .ring-outer {
    width: 180px;
    height: 180px;
  }

  .ring-middle {
    width: 124px;
    height: 124px;
  }

  .ring-inner {
    width: 82px;
    height: 82px;
  }
}
