:root {
  --ink: #101828;
  --muted: #667085;
  --line: #dfe6f0;
  --surface: #f5f8fc;
  --blue: #2f7cff;
  --blue-deep: #145ad8;
  --navy: #071225;
  --green: #0ea878;
  --white: #fff;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 4%, rgba(47, 124, 255, .12), transparent 28%),
    linear-gradient(180deg, #fff 0, #f6f9fd 58%, #eef4fb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.tenant-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(223, 230, 240, .9);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

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

.store-mark,
.status-mark {
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, #4c8dff, #125bdc);
  box-shadow: 0 9px 24px rgba(47, 124, 255, .25);
}

.store-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .03em;
}

.store-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.store-brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.store-brand small {
  color: var(--muted);
  font-size: 12px;
}

.platform-badge,
.eyebrow,
.next-stage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 750;
}

.platform-badge {
  padding: 9px 12px;
  border: 1px solid #d7e5fa;
  border-radius: 999px;
  color: #245eb3;
  background: #f2f7ff;
}

.platform-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(14, 168, 120, .12);
}

.tenant-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.tenant-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(47, 124, 255, .1);
}

.tenant-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -.055em;
}

.tenant-hero > div > p {
  max-width: 680px;
  margin: 24px 0 30px;
  color: #526078;
  font-size: 17px;
  line-height: 1.7;
}

.tenant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tenant-meta span {
  min-width: 128px;
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .8);
}

.tenant-meta b {
  color: #98a2b3;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tenant-meta em {
  color: var(--green);
  font-style: normal;
  font-weight: 750;
}

.status-card {
  padding: 28px;
  border: 1px solid rgba(47, 124, 255, .18);
  border-radius: 24px;
  background: linear-gradient(160deg, #0c1b33, #071225);
  box-shadow: 0 26px 60px rgba(7, 18, 37, .18);
  color: var(--white);
}

.status-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 17px;
  color: white;
  background: linear-gradient(145deg, #16c893, #09966e);
  box-shadow: 0 12px 30px rgba(14, 168, 120, .25);
  font-size: 25px;
  font-weight: 850;
}

.status-card > span {
  display: block;
  color: #90b7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.status-card > strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
  word-break: break-word;
}

.status-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  list-style: none;
}

.status-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c8d5e9;
  font-size: 13px;
}

.status-card li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.workspace-preview {
  margin-top: 72px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 60px rgba(24, 54, 90, .08);
}

.workspace-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.workspace-heading span:first-child {
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.workspace-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
}

.next-stage {
  flex: none;
  padding: 9px 12px;
  border-radius: 999px;
  color: #5e6d82;
  background: var(--surface);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.capability-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f9fbfe);
}

.capability-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}

.capability-grid h3 {
  margin: 28px 0 9px;
  font-size: 18px;
  letter-spacing: -.02em;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.capability-grid small {
  margin-top: auto;
  padding-top: 20px;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 700;
}

.tenant-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid #d7e5fa;
  border-radius: 18px;
  background: #f4f8ff;
}

.note-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.tenant-note strong { font-size: 14px; }

.tenant-note p {
  margin: 5px 0 0;
  color: #607089;
  font-size: 13px;
  line-height: 1.55;
}

.tenant-footer {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: #7b8798;
  font-size: 12px;
}

.tenant-footer a {
  color: #4776bd;
  font-weight: 700;
}

.tenant-error {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 32px;
  text-align: center;
}

.status-mark {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 850;
}

.tenant-error h1 {
  margin: 24px 0 10px;
  font-size: clamp(34px, 6vw, 54px);
  letter-spacing: -.05em;
}

.tenant-error p {
  margin: 0 0 24px;
  color: var(--muted);
}

.primary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #3985ff, #1d68e9);
  font-size: 13px;
  font-weight: 780;
}

@media (max-width: 900px) {
  .tenant-shell { padding-top: 46px; }
  .tenant-hero { grid-template-columns: 1fr; gap: 36px; }
  .status-card { max-width: 520px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .tenant-header {
    align-items: flex-start;
    padding-inline: 20px;
  }
  .platform-badge { display: none; }
  .tenant-shell,
  .tenant-footer { width: min(100% - 32px, 1180px); }
  .tenant-shell { padding-top: 38px; }
  .tenant-hero h1 { font-size: 42px; }
  .tenant-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .tenant-meta span:last-child { grid-column: 1 / -1; }
  .workspace-preview { padding: 24px 18px; }
  .workspace-heading { align-items: flex-start; flex-direction: column; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 180px; }
  .tenant-note { align-items: flex-start; }
  .tenant-footer { flex-direction: column; }
}
