:root {
  --fx-bg: #f3efe8;
  --fx-bg-elev: #fffcf7;
  --fx-bg-ink: #171412;
  --fx-bg-ink-2: #221e1b;
  --fx-line: rgba(28, 25, 23, 0.08);
  --fx-line-strong: rgba(28, 25, 23, 0.16);
  --fx-text: #1c1917;
  --fx-text-mute: #6b645e;
  --fx-accent: #1f4bff;
  --fx-accent-soft: rgba(31, 75, 255, 0.12);
  --fx-ok: #0f7a4a;
  --fx-ok-soft: rgba(15, 122, 74, 0.12);
  --fx-warn: #b45309;
  --fx-warn-soft: rgba(180, 83, 9, 0.12);
  --fx-danger: #c81e1e;
  --fx-danger-soft: rgba(200, 30, 30, 0.12);
  --fx-lost: #78716c;
  --fx-radius: 14px;
  --fx-radius-sm: 8px;
  --fx-radius-lg: 22px;
  --fx-shadow: 0 18px 50px rgba(28, 25, 23, 0.08);
  --fx-font: "Outfit", system-ui, sans-serif;
  --fx-serif: "Fraunces", Georgia, serif;
  --fx-space: 16px;
  --rail: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: var(--fx-font);
  background: var(--fx-bg);
  color: var(--fx-text);
  letter-spacing: -0.011em;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }

.skip {
  position: absolute; left: -999px;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

/* Auth */
.auth {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.auth-brand {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(31,75,255,.35), transparent 50%),
    linear-gradient(165deg, #171412 0%, #241c16 55%, #1a140f 100%);
  color: #f6f1ea;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-mark {
  font-family: var(--fx-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.auth-mark span { color: #9db0ff; }
.auth-quote {
  font-family: var(--fx-serif);
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.12;
  font-weight: 500;
  max-width: 11ch;
  margin: 0;
}
.auth-quote em { font-style: italic; color: #c9d4ff; }
.auth-foot { color: rgba(246,241,234,.62); font-size: 14px; }
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-card {
  width: min(420px, 100%);
}
.auth-card h1 {
  font-family: var(--fx-serif);
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 8px;
}
.auth-card p.lede { color: var(--fx-text-mute); margin: 0 0 28px; }

/* App shell */
.app {
  min-height: 100%;
  display: grid;
  grid-template-columns: var(--rail) 1fr;
}
.rail {
  background: var(--fx-bg-ink);
  color: #ece7e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 0 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.rail-logo {
  font-family: var(--fx-serif);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}
.rail-logo span { color: #8ea2ff; }
.rail nav { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 0 10px; flex: 1; }
.rail a {
  text-decoration: none;
  color: rgba(236,231,225,.72);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
}
.rail a svg { width: 22px; height: 22px; }
.rail a.active, .rail a:hover { background: var(--fx-bg-ink-2); color: #fff; }
.rail-foot { padding: 0 10px; width: 100%; }
.main {
  min-width: 0;
  padding: 28px 36px 96px;
}
.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-text-mute);
  font-weight: 600;
  margin: 0 0 4px;
}
.page-title {
  font-family: var(--fx-serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.top-actions { display: flex; gap: 10px; align-items: center; }

.icon-btn, .btn, .chip {
  border: 1px solid transparent;
  background: var(--fx-bg-elev);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.icon-btn {
  width: 42px; height: 42px;
  border-color: var(--fx-line);
  position: relative;
}
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--fx-danger); color: #fff;
  border-radius: 999px; font-size: 10px; font-weight: 700;
}
.btn {
  height: 42px;
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
  border-color: var(--fx-line);
}
.btn-primary { background: var(--fx-accent); color: #fff; border-color: var(--fx-accent); }
.btn-danger { background: var(--fx-danger-soft); color: var(--fx-danger); }
.btn-ghost { background: transparent; }
.btn:hover { filter: brightness(0.97); }
.kbd {
  font-size: 11px;
  border: 1px solid var(--fx-line-strong);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--fx-text-mute);
}

/* Pulse */
.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.pulse {
  display: block;
  text-decoration: none;
  background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 18px 20px 16px;
  min-height: 120px;
}
.pulse .n {
  font-family: var(--fx-serif);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pulse .l { margin-top: 8px; color: var(--fx-text-mute); font-size: 14px; font-weight: 500; }
.pulse.overdue .n { color: var(--fx-danger); }
.pulse.today .n { color: var(--fx-warn); }
.pulse.ok .n { color: var(--fx-ok); }

.section-h {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 8px 0 12px;
}
.section-h h2 { font-size: 16px; margin: 0; font-weight: 650; }
.section-h a { font-size: 13px; color: var(--fx-accent); text-decoration: none; font-weight: 600; }

.stack { display: flex; flex-direction: column; gap: 10px; }

.action-row {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 14px 14px 14px 0;
}
.action-row .rail-s {
  height: 100%;
  min-height: 56px;
  border-radius: 0 6px 6px 0;
  background: var(--fx-accent);
}
.action-row.overdue .rail-s { background: var(--fx-danger); }
.action-row.today .rail-s { background: var(--fx-warn); }
.who { font-weight: 650; font-size: 15px; }
.meta { color: var(--fx-text-mute); font-size: 13px; margin-top: 2px; }
.row-actions { display: flex; gap: 8px; align-items: center; }

.chip {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  border-color: var(--fx-line);
  background: transparent;
}
.chip.active { background: var(--fx-bg-ink); color: #fff; border-color: var(--fx-bg-ink); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.chip-status {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 650;
  background: var(--fx-accent-soft); color: var(--fx-accent);
}
.chip-status.overdue, .sev-overdue { background: var(--fx-danger-soft); color: var(--fx-danger); }
.chip-status.today { background: var(--fx-warn-soft); color: var(--fx-warn); }
.chip-status.ok-s, .chip-status.won { background: var(--fx-ok-soft); color: var(--fx-ok); }
.chip-status.lost { background: rgba(120,113,108,.15); color: var(--fx-lost); }

.search {
  display: flex; gap: 10px; margin-bottom: 16px;
}
.search input, .field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--fx-line-strong);
  background: var(--fx-bg-elev);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--fx-accent);
  box-shadow: 0 0 0 4px var(--fx-accent-soft);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 650; }
.field .hint { font-size: 12px; color: var(--fx-text-mute); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.composer {
  max-width: 640px;
  background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-lg);
  padding: 28px;
  box-shadow: var(--fx-shadow);
}
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

.lead-table { width: 100%; border-collapse: collapse; }
.lead-table th {
  text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fx-text-mute); font-weight: 650; padding: 8px 12px;
}
.lead-table td {
  padding: 14px 12px;
  border-top: 1px solid var(--fx-line);
  vertical-align: middle;
}
.lead-table tr:hover td { background: rgba(255,252,247,.6); }
.lead-table a.nm { font-weight: 650; text-decoration: none; }
.lead-table a.nm:hover { color: var(--fx-accent); }
.mobile-cards { display: none; }

.lead-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.lead-head h1 { font-family: var(--fx-serif); font-size: 40px; margin: 0; font-weight: 500; }
.intent { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.next-bar {
  background: var(--fx-bg-ink);
  color: #f6f1ea;
  border-radius: var(--fx-radius);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.next-bar .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.next-bar .t { font-size: 20px; font-weight: 650; margin-top: 4px; }
.next-bar .d { opacity: .75; font-size: 13px; margin-top: 4px; }
.split {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 22px;
}
.panel {
  background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 18px;
}
.panel h2 { margin: 0 0 14px; font-size: 15px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--fx-text-mute); }
.path {
  display: flex; gap: 0; align-items: center; flex-wrap: wrap;
  margin: 8px 0 22px;
}
.path .st {
  display: flex; flex-direction: column; gap: 6px; min-width: 92px;
}
.path .dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--fx-line-strong); background: transparent;
}
.path .st.done .dot { background: var(--fx-ok); border-color: var(--fx-ok); }
.path .st.current .dot { background: var(--fx-accent); border-color: var(--fx-accent); box-shadow: 0 0 0 4px var(--fx-accent-soft); }
.path .lab { font-size: 12px; color: var(--fx-text-mute); font-weight: 600; }
.path .st.current .lab { color: var(--fx-text); }
.path .line { height: 2px; flex: 1; min-width: 24px; background: var(--fx-line-strong); margin: 0 4px 18px; }
.path .st.done + .line, .path .line.done { background: var(--fx-ok); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; padding: 0 0 18px; }
.timeline .mark {
  width: 10px; height: 10px; border-radius: 50%; background: var(--fx-accent); margin-top: 6px;
}
.timeline .day {
  font-size: 12px; color: var(--fx-text-mute); font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  margin: 4px 0 10px;
}
.t-title { font-weight: 650; }
.t-desc { color: var(--fx-text-mute); font-size: 13px; margin-top: 2px; }

.banner {
  padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; font-size: 14px;
}
.banner.ok { background: var(--fx-ok-soft); color: var(--fx-ok); }
.banner.err { background: var(--fx-danger-soft); color: var(--fx-danger); }
.empty {
  padding: 48px 20px; text-align: center; color: var(--fx-text-mute);
  background: var(--fx-bg-elev); border: 1px dashed var(--fx-line-strong); border-radius: var(--fx-radius);
}
.dup {
  border: 1px solid var(--fx-warn);
  background: var(--fx-warn-soft);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.dup a { color: var(--fx-accent); font-weight: 650; }

dialog.sheet {
  border: 0;
  border-radius: var(--fx-radius-lg);
  padding: 0;
  width: min(480px, 94vw);
  box-shadow: var(--fx-shadow);
  background: var(--fx-bg-elev);
}
dialog.sheet::backdrop { background: rgba(23,20,18,.45); }
.sheet-h { padding: 18px 20px 0; font-family: var(--fx-serif); font-size: 26px; margin: 0; }
.sheet-b { padding: 16px 20px 20px; }

.goto {
  width: min(560px, 94vw);
  border: 0;
  border-radius: 18px;
  padding: 12px;
  background: var(--fx-bg-elev);
  box-shadow: var(--fx-shadow);
}
.goto input {
  width: 100%; border: 0; background: transparent; font-size: 18px; padding: 10px 8px; outline: none;
}
.goto-list { list-style: none; margin: 8px 0 0; padding: 0; }
.goto-list a {
  display: block; text-decoration: none; padding: 10px 10px; border-radius: 10px;
}
.goto-list a:hover { background: var(--fx-accent-soft); }
.goto-list small { color: var(--fx-text-mute); }

.bottom-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--fx-bg-elev);
  border-top: 1px solid var(--fx-line);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  justify-content: space-around;
  z-index: 8;
}
.bottom-nav a {
  text-decoration: none; font-size: 11px; font-weight: 650; color: var(--fx-text-mute);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.bottom-nav a.active { color: var(--fx-accent); }

.ntf { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--fx-line); text-decoration: none; }
.ntf.unread .ttl { font-weight: 750; }
.wf-card {
  background: var(--fx-bg-elev); border: 1px solid var(--fx-line); border-radius: var(--fx-radius);
  padding: 18px; display: flex; justify-content: space-between; align-items: center;
}

.studio-nav {
  display: flex; gap: 6px; flex-wrap: wrap; margin: -8px 0 28px;
}
.studio-nav a {
  text-decoration: none; font-size: 13px; font-weight: 650;
  padding: 8px 14px; border-radius: 999px; color: var(--fx-text-mute);
  border: 1px solid transparent;
}
.studio-nav a:hover { background: var(--fx-bg-elev); }
.studio-nav a.active { background: var(--fx-bg-ink); color: #fff; }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.dest {
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line); border-radius: var(--fx-radius-lg);
  padding: 22px 22px 18px; min-height: 150px;
}
.dest:hover { border-color: var(--fx-accent); box-shadow: var(--fx-shadow); }
.dest .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fx-text-mute); font-weight: 700; }
.dest h2 { font-family: var(--fx-serif); font-size: 26px; margin: 0; font-weight: 500; }
.dest p { margin: 0; color: var(--fx-text-mute); font-size: 14px; flex: 1; }
.dest .go { font-size: 13px; font-weight: 700; color: var(--fx-accent); }

.check-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.check {
  display: flex; align-items: center; gap: 12px;
  background: var(--fx-bg-elev); border-radius: 12px; padding: 12px 14px;
  border: 1px solid var(--fx-line); text-decoration: none;
}
.check .mark {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: var(--fx-ok-soft); color: var(--fx-ok);
}
.check.todo .mark { background: var(--fx-warn-soft); color: var(--fx-warn); }
.check .why { font-size: 13px; color: var(--fx-text-mute); }

.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.person {
  background: var(--fx-bg-elev); border: 1px solid var(--fx-line); border-radius: var(--fx-radius);
  padding: 16px; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start;
}
.av {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--fx-accent-soft); color: var(--fx-accent);
  display: grid; place-items: center; font-weight: 750;
}
.person.paused { opacity: .65; }
.muted { color: var(--fx-text-mute); font-size: 13px; }

.builder { max-width: 720px; }
.step-card {
  background: var(--fx-bg-elev); border: 1px solid var(--fx-line); border-radius: var(--fx-radius);
  padding: 16px 18px; position: relative;
}
.step-card .ord {
  font-family: var(--fx-serif); font-size: 28px; font-weight: 600; color: var(--fx-accent); line-height: 1;
}
.connector {
  width: 2px; height: 18px; background: var(--fx-line-strong); margin: 0 0 0 22px;
}
.esc-line { font-size: 13px; color: var(--fx-text-mute); padding: 4px 0; display: flex; justify-content: space-between; gap: 8px; }

.matrix { overflow: auto; background: var(--fx-bg-elev); border-radius: var(--fx-radius); border: 1px solid var(--fx-line); }
.matrix table { width: 100%; border-collapse: collapse; font-size: 13px; }
.matrix th, .matrix td { padding: 10px 12px; border-bottom: 1px solid var(--fx-line); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; font-weight: 650; }
.tog { width: 36px; height: 22px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(28,25,23,.12); }
.tog.on { background: var(--fx-accent); }

.list-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--fx-bg-elev); border: 1px solid var(--fx-line); border-radius: 12px; padding: 12px 14px;
}

/* Public landing */
html { scroll-behavior: smooth; }
.site-body {
  height: auto;
  min-height: 100%;
  background: var(--fx-bg);
}
.site { min-height: 100%; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fx-line);
}
.site-mark {
  font-family: var(--fx-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-mark span { color: var(--fx-accent); }
.site-links { display: flex; gap: 18px; flex: 1; }
.site-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--fx-text-mute);
}
.site-links a:hover { color: var(--fx-text); }
.site-nav-cta { height: 38px; padding: 0 16px; }
.site-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 28px 64px;
}
.site-login {
  position: sticky;
  top: 88px;
  background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-lg);
  box-shadow: var(--fx-shadow);
  padding: 28px 26px 24px;
}
.site-login h2 {
  font-family: var(--fx-serif);
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 6px;
}
.site-login .lede { color: var(--fx-text-mute); margin: 0 0 22px; }
.site-demo { margin-top: 16px; color: var(--fx-text-mute); font-size: 13px; }
.site-hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--fx-radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: var(--fx-bg-ink);
}
.site-hero-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.site-hero-visual figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 32px 28px;
  background: linear-gradient(180deg, transparent, rgba(23, 20, 18, 0.88) 55%);
  color: #f6f1ea;
}
.site-hero-visual h1 {
  font-family: var(--fx-serif);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  margin: 6px 0 12px;
  max-width: 14ch;
  letter-spacing: -0.03em;
}
.site-hero-visual h1 em { font-style: italic; color: #c9d4ff; }
.site-hero-visual .eyebrow { color: rgba(246, 241, 234, 0.7); }
.site-lede { margin: 0; max-width: 42ch; color: rgba(246, 241, 234, 0.78); font-size: 16px; line-height: 1.45; }
.site-hero-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.site-hero-points li {
  background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
}
.site-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 8px;
}
.site-kpi {
  background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 18px 18px 16px;
}
.site-kpi .n {
  font-family: var(--fx-serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fx-accent);
}
.site-kpi .n span { font-size: 22px; margin-left: 2px; }
.site-kpi .l { margin: 8px 0 8px; font-weight: 700; font-size: 14px; }
.site-kpi p { margin: 0; color: var(--fx-text-mute); font-size: 13px; line-height: 1.45; }
.site-band { margin-top: 48px; display: flex; flex-direction: column; gap: 56px; }
.site-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.site-split.rev { direction: rtl; }
.site-split.rev > * { direction: ltr; }
.site-split h2, .site-how h2, .site-wide-copy h2, .site-cta h2 {
  font-family: var(--fx-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 4px 0 12px;
  line-height: 1.15;
}
.site-split p, .site-wide-copy p, .site-cta p { color: var(--fx-text-mute); line-height: 1.5; }
.site-ticks { margin: 16px 0 0; padding: 0; list-style: none; }
.site-ticks li {
  padding: 8px 0 8px 18px;
  position: relative;
  font-size: 14px;
  font-weight: 600;
}
.site-ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fx-accent);
}
.site-split figure, .site-cta figure { margin: 0; }
.site-split img, .site-cta img, .site-wide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--fx-radius-lg);
  display: block;
}
.site-split figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--fx-text-mute);
}
.site-how { margin-top: 64px; }
.site-steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.site-steps li {
  background: var(--fx-bg-elev);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 18px;
}
.site-steps .ord {
  font-family: var(--fx-serif);
  color: var(--fx-accent);
  font-size: 22px;
  font-weight: 600;
}
.site-steps h3 { margin: 8px 0 6px; font-size: 16px; }
.site-steps p { margin: 0; color: var(--fx-text-mute); font-size: 14px; line-height: 1.45; }
.site-wide { margin-top: 64px; }
.site-wide img { height: 380px; }
.site-wide-copy { margin-top: 18px; max-width: 46ch; }
.site-cta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}
.site-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--fx-line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
}
.site-foot p { margin: 0; color: var(--fx-text-mute); font-size: 13px; }
.site-foot a { color: var(--fx-text-mute); text-decoration: none; font-size: 13px; font-weight: 600; }
.site-foot a:hover { color: var(--fx-text); }

/* Platform command center */
.plat-body { background: #ece7e0; min-height: 100%; height: auto; }
.plat-nav {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 28px;
  background: var(--fx-bg-ink); color: #f6f1ea;
}
.plat-nav .site-mark { color: #f6f1ea; }
.plat-nav .site-mark em {
  font-family: var(--fx-font); font-style: normal; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #9db0ff; margin-left: 8px;
  font-weight: 700;
}
.plat-links { display: flex; gap: 14px; flex: 1; }
.plat-links a {
  color: rgba(246,241,234,.72); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px;
}
.plat-links a:hover, .plat-links a.active { color: #fff; background: rgba(255,255,255,.08); }
.plat-who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(246,241,234,.7); }
.plat-who .btn { color: #fff; border-color: rgba(255,255,255,.2); background: transparent; height: 34px; }
.plat-main { max-width: 1100px; margin: 0 auto; padding: 28px 28px 64px; }
.plat-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px;
}
.plat-table-wrap {
  background: var(--fx-bg-elev); border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-lg); overflow: auto;
}
.plat-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.plat-table th, .plat-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--fx-line); text-align: left; vertical-align: top;
}
.plat-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--fx-text-mute); }
.plat-table code {
  font-size: 12px; background: var(--fx-accent-soft); color: var(--fx-accent);
  padding: 2px 6px; border-radius: 6px;
}
.plat-form .panel { padding: 20px 22px; }
.plat-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: -8px; }
.plat-login-body { background: linear-gradient(165deg, #171412, #2a221c); min-height: 100%; height: auto; }
.plat-login { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.plat-login-card {
  width: min(420px, 100%); background: var(--fx-bg-elev); border-radius: var(--fx-radius-lg);
  padding: 32px 28px; box-shadow: var(--fx-shadow);
}
.plat-login-card h1 { font-family: var(--fx-serif); font-size: 34px; font-weight: 500; margin: 4px 0 8px; }
.chip-status.suspended { background: var(--fx-warn-soft); color: var(--fx-warn); }

@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { min-height: 220px; padding: 28px; }
  .auth-quote { font-size: 32px; }
  .app { grid-template-columns: 1fr; }
  .rail { display: none; }
  .main { padding: 18px 16px 108px; }
  .pulse-grid, .split, .grid-2, .dest-grid { grid-template-columns: 1fr; }
  .lead-table { display: none; }
  .mobile-cards { display: flex; flex-direction: column; gap: 10px; }
  .bottom-nav { display: flex; }
  .lead-head h1 { font-size: 30px; }
  .path { flex-direction: column; align-items: flex-start; }
  .path .line { display: none; }
  .site-nav { padding: 12px 16px; }
  .site-links { display: none; }
  .site-shell { grid-template-columns: 1fr; padding: 16px 16px 48px; }
  .site-login { position: relative; top: 0; order: -2; }
  .site-main { display: contents; }
  .site-hero { order: -1; }
  .site-hero-visual img { height: 380px; }
  .site-hero-visual h1 { font-size: 32px; max-width: none; }
  .site-split, .site-split.rev, .site-steps, .site-cta, .site-kpis { grid-template-columns: 1fr; }
  .site-split.rev { direction: ltr; }
  .site-split img, .site-cta img, .site-wide img { height: 240px; }
}
