@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500&family=Barlow:wght@300;400;500&display=swap");

:root {
  --bg: #000;
  --fg: #f0f0fa;
  --muted: #a3a3ae;
  --dim: #6e6e78;
  --line: rgba(240, 240, 250, 0.14);
  --line-strong: rgba(240, 240, 250, 0.32);
  --danger: #c45c5c;
  --pad: clamp(20px, 4vw, 40px);
  --max: 1100px;
  --rhythm: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  position: relative;
}

/* Subtle vignette — tasteful, no gradient blobs */
body.public::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(240, 240, 250, 0.035), transparent 55%),
    radial-gradient(ellipse 90% 60% at 50% 120%, rgba(0, 0, 0, 0.55), transparent 50%);
}
body.public > * { position: relative; z-index: 1; }

a { color: var(--fg); transition: opacity 0.2s ease, color 0.2s ease; }
a:hover { opacity: 0.72; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.chip:focus-visible {
  outline: 1px solid var(--line-strong);
  outline-offset: 3px;
}

/* —— Sticky nav —— */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.brand {
  text-decoration: none;
  color: var(--fg);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.mark {
  border: 1px solid var(--line-strong);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0;
  font-family: "Barlow Condensed", sans-serif;
}
.nav nav {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav nav a:hover { color: var(--fg); opacity: 1; }

.btn {
  display: inline-block;
  background: var(--fg);
  color: var(--bg) !important;
  text-decoration: none;
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn:hover { opacity: 0.88; }
.btn-sm { padding: 8px 14px; }
.btn-ghost {
  background: transparent;
  color: var(--fg) !important;
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--fg); opacity: 1; }
.btn-danger { background: transparent; color: var(--danger) !important; border-color: var(--danger); }

/* —— Type —— */
.hero, .narrow { padding: calc(var(--rhythm) * 9) var(--pad) calc(var(--rhythm) * 4); max-width: 920px; }

/* —— Cinematic home hero (Manhattan night loop) —— */
.hero-cinematic {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  max-width: none;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--rhythm) * 10) var(--pad) calc(var(--rhythm) * 7);
  background-color: #000;
  background-image: url("media/manhattan-aerial-poster.jpg");
  background-size: cover;
  background-position: center;
}
.hero-cinematic .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-cinematic .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 42%, transparent 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.85) 100%);
}
.hero-cinematic .hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  width: 100%;
}
.hero-cinematic .hero-content h1 {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
.hero-cinematic .hero-content .lede {
  color: rgba(240, 240, 250, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.hero-cinematic .hero-content .eyebrow {
  color: rgba(240, 240, 250, 0.78);
}

/* Owners: coherent dark mood — static poster strip only (no video; fee/CTAs untouched) */
.owners-mood-strip {
  height: 72px;
  width: 100%;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.92)),
    url("media/manhattan-aerial-poster.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.hero h1, .narrow h1, h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 300;
  font-size: clamp(44px, 8.5vw, 84px);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--fg);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 18px;
  font-family: "Barlow Condensed", sans-serif;
}
.eyebrow.danger { color: var(--danger); }
.lede {
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--muted);
  max-width: 46ch;
  font-weight: 300;
  margin: 0;
}

.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* —— Doors (cinematic) —— */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: var(--max);
  margin: calc(var(--rhythm) * 3) var(--pad) 0;
}
.doors.doors-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.door {
  display: block;
  padding: calc(var(--rhythm) * 7) calc(var(--rhythm) * 5) calc(var(--rhythm) * 6);
  text-decoration: none;
  color: inherit;
  min-height: 300px;
  opacity: 0;
  transform: translateY(12px);
  animation: doorIn 0.7s ease forwards;
  transition: background 0.25s ease;
}
.door:nth-child(1) { animation-delay: 0.08s; }
.door:nth-child(2) { animation-delay: 0.18s; }
.door:nth-child(3) { animation-delay: 0.28s; }
.door + .door { border-left: 1px solid var(--line); }
.door:hover { background: #08080a; opacity: 1; }
.door:focus-visible { background: #0c0c10; outline-offset: -2px; }
.door .eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--dim);
  margin-bottom: 20px;
}
.door h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--fg);
}
.door p { color: var(--muted); max-width: 34ch; margin: 0; font-size: 15px; }
.door-cta {
  display: inline-block;
  margin-top: 36px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.door:hover .door-cta { border-bottom-color: var(--line-strong); }

@keyframes doorIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .door { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero-cinematic .hero-video {
    display: none !important;
  }
  .hero-cinematic {
    background-image: url("media/manhattan-aerial-poster.jpg");
    background-size: cover;
    background-position: center;
  }
}

/* —— Desk / owner / contact bands —— */
.desk-band,
.owner-band,
.contact-band {
  padding: calc(var(--rhythm) * 9) var(--pad) calc(var(--rhythm) * 10);
  max-width: var(--max);
}
.desk-band h2,
.owner-band h2,
.contact-band h2,
.path-steps h2,
.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--fg);
}
.desk-addr {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 300;
  font-size: clamp(26px, 4.4vw, 44px);
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.desk-addr a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.desk-band p,
.owner-band p,
.contact-band > p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 12px;
}
.desk-band .meta,
.owner-band .meta { color: var(--dim); }

.owner-band {
  border-top: 1px solid var(--line);
  margin: 0;
  max-width: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.owner-band .inner { max-width: var(--max); }
.owner-band .soft-cta { margin-top: 28px; }

.hairline {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}


.owner-gets {
  margin: 0;
  padding: 0 0 0 1.1em;
  color: var(--muted);
  max-width: 48ch;
  font-size: 15px;
}
.owner-gets li { margin: 0 0 8px; }
.owner-gets li:last-child { margin-bottom: 0; }

/* —— Path steps (tenant / landlord) —— */
.path-steps {
  margin: calc(var(--rhythm) * 6) 0;
  border-top: 1px solid var(--line);
}
.path-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: path;
}
.path-steps li {
  counter-increment: path;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  opacity: 0;
  transform: translateY(8px);
  animation: doorIn 0.55s ease forwards;
}
.path-steps li:nth-child(1) { animation-delay: 0.05s; }
.path-steps li:nth-child(2) { animation-delay: 0.12s; }
.path-steps li:nth-child(3) { animation-delay: 0.19s; }
.path-steps li:nth-child(4) { animation-delay: 0.26s; }
.path-steps li::before {
  content: counter(path, decimal-leading-zero);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--dim);
  padding-top: 4px;
}
.path-steps h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--fg);
}
.path-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 48ch;
}
.path-fork {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 48px 0 40px;
}
.grid3 article {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}
.grid3 article:last-child { border-right: 0; }
.grid3 h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--fg);
}
.grid3 p { color: var(--muted); margin: 0; font-size: 15px; }

.narrow { max-width: 760px; padding-top: 64px; padding-bottom: 80px; }
.steps { padding-left: 18px; color: var(--muted); }
.steps li { margin-bottom: 10px; }
.meta { font-size: 13px; color: var(--dim); }
.meta a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-family: "Barlow Condensed", sans-serif;
}

footer {
  font-size: 12px;
  color: var(--dim);
  border-top: 1px solid var(--line);
  padding: 22px var(--pad) 36px;
  letter-spacing: 0.04em;
}

/* —— Contact form —— */
.contact-form {
  margin-top: 32px;
  max-width: 560px;
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.contact-form .form-row { margin-bottom: 4px; }
.contact-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  align-items: center;
}
.contact-preview {
  margin-top: 24px;
  border: 1px solid var(--line-strong);
  padding: 20px;
  display: none;
}
.contact-preview.is-open { display: block; }
.contact-preview h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--fg);
}
.contact-preview pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Barlow", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
.direct-mail {
  margin-top: 20px;
  font-size: 14px;
  color: var(--dim);
}
.direct-mail a { color: var(--muted); }

/* —— Portal / app —— */
.demo-banner {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg);
  background: #0a0a0c;
}
.demo-banner strong { letter-spacing: 0.22em; }
.app-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side {
  background: #000;
  color: var(--muted);
  padding: 22px 16px;
  border-right: 1px solid var(--line);
}
.side .brand { color: var(--fg); margin-bottom: 28px; }
.side a, .side button.link {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  color: var(--muted); text-decoration: none; padding: 8px 10px; font-size: 12px; cursor: pointer;
  font-family: "Barlow Condensed", sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
}
.side a.active, .side button.link.active { color: var(--fg); }
.main { padding: 28px 32px 64px; background: #000; min-height: 100vh; }
.who { font-size: 11px; color: var(--dim); margin: 18px 10px 0; letter-spacing: 0.08em; text-transform: uppercase; }
.card {
  background: transparent;
  border: 1px solid var(--line);
  padding: 18px;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--fg);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.pill {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.pill.c { border-color: var(--danger); color: var(--danger); }
.pill.ok { border-color: var(--line-strong); color: var(--fg); }
label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin: 12px 0 4px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Barlow Condensed", sans-serif;
}
input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  font: 15px "Barlow", sans-serif;
  font-weight: 300;
  background: #000;
  color: var(--fg);
  transition: border-color 0.2s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
textarea { min-height: 110px; resize: vertical; }
.login { max-width: 440px; margin: 72px auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip {
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { border-color: var(--line-strong); background: #0a0a0c; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
}
.thread { border-left: 1px solid var(--line); padding-left: 14px; }
.bubble { margin: 0 0 12px; }
.bubble .from {
  font-size: 11px;
  font-weight: 400;
  color: var(--fg);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.draft { border-color: var(--line-strong); }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin-bottom: 18px; border: 1px solid var(--line); }
.kpi div { padding: 16px; border-right: 1px solid var(--line); }
.kpi div:last-child { border-right: 0; }
.kpi b {
  display: block;
  font-size: 28px;
  color: var(--fg);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 300;
}
.hidden { display: none !important; }


/* —— 3 doors: stack earlier than full mobile —— */
@media (max-width: 980px) {
  .doors.doors-3 {
    grid-template-columns: 1fr;
  }
  .doors.doors-3 .door + .door {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
/* —— Mobile —— */
@media (max-width: 800px) {
  .nav { padding: 14px 16px; gap: 10px; }
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 10px; letter-spacing: 0.12em; }
  .hero, .narrow, .desk-band, .owner-band, .contact-band, footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero { padding-top: 48px; }
  .hero-cinematic {
    min-height: 62vh;
    padding-top: 56px;
    padding-bottom: 40px;
  }
  .hero-cinematic .hero-scrim {
    background:
      linear-gradient(to right, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.25) 100%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.9) 100%);
  }
  .owners-mood-strip { height: 48px; }
  .doors,
  .doors.doors-3 {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }
  .door {
    min-height: 0;
    padding: 36px 16px 32px;
  }
  .door + .door { border-left: 0; border-top: 1px solid var(--line); }
  .grid3 { grid-template-columns: 1fr; }
  .grid3 article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }
  .path-steps li { grid-template-columns: 40px 1fr; gap: 12px; }
  .contact-form { padding: 20px 16px; }
  .app-shell { grid-template-columns: 1fr; }
  .side { display: flex; flex-wrap: wrap; gap: 8px; }
  .side .brand { width: 100%; }
  .login { margin: 48px 16px; }
}

/* —— Tenant pack (landlord/staff intake) —— */
.pack-page .status-rail {
  margin: calc(var(--rhythm) * 5) 0 calc(var(--rhythm) * 4);
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.status-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.status-steps li {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 12px;
  color: var(--dim);
  border-right: 1px solid var(--line);
  text-align: center;
}
.status-steps li:last-child { border-right: 0; }
.status-steps li.is-done { color: var(--muted); }
.status-steps li.is-current {
  color: var(--fg);
  background: #0a0a0c;
  border-bottom: 1px solid var(--line-strong);
}
.pack-fieldset {
  border: 1px solid var(--line);
  margin: 20px 0 12px;
  padding: 8px 16px 16px;
}
.pack-fieldset legend {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 8px;
}
.pack-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pack-form input[type="file"] {
  padding: 8px;
  font-size: 13px;
  color: var(--muted);
}
.pack-dl {
  margin: 0;
  border: 1px solid var(--line);
}
.pack-dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.pack-dl > div:last-child { border-bottom: 0; }
.pack-dl dt {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0;
}
.pack-dl dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
}
.pack-status-view {
  margin-top: calc(var(--rhythm) * 6);
  padding-top: calc(var(--rhythm) * 4);
  border-top: 1px solid var(--line);
}
@media (max-width: 800px) {
  .status-steps {
    grid-template-columns: 1fr 1fr;
  }
  .status-steps li:nth-child(2) { border-right: 0; }
  .status-steps li:nth-child(1),
  .status-steps li:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .pack-split { grid-template-columns: 1fr; }
  .pack-dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* —— Owner onboarding (progressive pack) —— */
.onboard-gates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin: calc(var(--rhythm) * 4) 0;
}
.onboard-gates article {
  padding: 18px 16px;
  border-right: 1px solid var(--line);
}
.onboard-gates article:last-child { border-right: 0; }
.onboard-gates h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--fg);
  font-weight: 400;
}
.onboard-gates p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.45;
  max-width: 28ch;
}
.onboard-progress {
  list-style: none;
  margin: 0 0 calc(var(--rhythm) * 4);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.onboard-progress li {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 8px;
  color: var(--dim);
  border-right: 1px solid var(--line);
  text-align: center;
}
.onboard-progress li:last-child { border-right: 0; }
.onboard-progress li.is-done { color: var(--muted); }
.onboard-progress li.is-current {
  color: var(--fg);
  background: #0a0a0c;
  border-bottom: 1px solid var(--line-strong);
}
.onboard-step { display: none; }
.onboard-step.is-active { display: block; }
.onboard-helper {
  margin: -4px 0 16px;
  font-size: 14px;
  color: var(--dim);
  font-weight: 300;
}
.req-tag, .opt-tag {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: 8px;
  color: var(--dim);
  font-weight: 400;
}
.req-tag { color: var(--muted); }
.scope-line {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.45;
  max-width: 52ch;
}
.scope-toggles {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.scope-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.scope-row:last-child { border-bottom: 0; }
.scope-row.is-locked {
  background: #070708;
}
.scope-row label {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: Barlow, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--fg);
}
.scope-row .scope-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--dim);
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
}
.scope-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--fg);
}
.doc-gate {
  margin: 20px 0;
  border: 1px solid var(--line);
}
.doc-gate > summary,
.doc-gate-head {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 16px;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  list-style: none;
  cursor: default;
}
.doc-gate.is-collapsed .doc-gate-body { display: none; }
.doc-gate.is-disabled {
  opacity: 0.55;
}
.doc-gate.is-disabled .doc-gate-head::after {
  content: " · off until rent collection is on";
  color: var(--dim);
  letter-spacing: 0.08em;
}
.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doc-list li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.doc-list li:last-child { border-bottom: 0; }
.doc-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: Barlow, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
}
.doc-list input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--fg);
}
.doc-sample {
  display: grid;
  gap: 6px;
  padding-left: 26px;
}
.doc-sample input[type="text"] {
  max-width: 36ch;
}
.doc-sample input[type="file"] {
  opacity: 0.4;
  pointer-events: none;
}
.doc-block-note {
  font-size: 12px;
  color: var(--danger);
  font-weight: 300;
}
.flag-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--danger);
}
.flag-list li {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(196, 92, 92, 0.35);
  color: var(--danger);
  font-size: 14px;
  font-weight: 300;
}
.flag-list li:last-child { border-bottom: 0; }
.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 0;
}
.consent-row label {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: Barlow, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  cursor: pointer;
}
.consent-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--fg); }
.pack-id-chip {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
}
.onboard-nav-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 800px) {
  .onboard-gates { grid-template-columns: 1fr; }
  .onboard-gates article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .onboard-gates article:last-child { border-bottom: 0; }
  .onboard-progress {
    grid-template-columns: 1fr 1fr;
  }
  .onboard-progress li:nth-child(2),
  .onboard-progress li:nth-child(4) { border-right: 0; }
  .onboard-progress li:nth-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }
  .onboard-progress li:nth-child(5) {
    grid-column: 1 / -1;
    border-right: 0;
  }
  .scope-row { grid-template-columns: 1fr; gap: 8px; }
}


/* —— Portal auth (synthetic preview) —— */
.auth-tabs {
  display: flex;
  gap: 0;
  margin: 18px 0 8px;
  border: 1px solid var(--line);
}
.auth-tab {
  flex: 1;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 12px;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.auth-tab:last-child { border-right: 0; }
.auth-tab.is-active { color: var(--fg); background: #0a0a0c; }
.auth-tab:focus-visible { outline: 1px solid var(--fg); outline-offset: -1px; }
.doc-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.doc-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.doc-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--fg);
}
.portal-dl {
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.portal-dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.portal-dl dt {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.portal-dl dd { margin: 0; color: var(--fg); font-size: 14px; }
