/* Rexclick Mind • Body • Soul platform system — 2026-07-10 */
:root {
  --rex-ink: #111b2b;
  --rex-ink-soft: #334155;
  --rex-muted: #697386;
  --rex-paper: #f6f4ef;
  --rex-paper-warm: #ece8df;
  --rex-white: #ffffff;
  --rex-blue: #0069b5;
  --rex-blue-dark: #004d88;
  --rex-red: #d7212b;
  --rex-line: rgba(17, 27, 43, .14);
  --rex-dark-line: rgba(255, 255, 255, .2);
  --rex-container: min(1240px, calc(100vw - 64px));
  --rex-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body.rexclick-body {
  margin: 0;
  color: var(--rex-ink);
  background: var(--rex-paper);
  font-family: var(--rex-display);
  -webkit-font-smoothing: antialiased;
}
body.rexclick-body * { box-sizing: border-box; }
body.rexclick-body a { color: inherit; }
body.rexclick-body img { max-width: 100%; }
.platform-container { width: var(--rex-container); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Shared navigation */
.site-header {
  position: relative;
  z-index: 40;
  width: 100%;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--rex-line);
  backdrop-filter: saturate(140%) blur(18px);
}
.site-header .ast-container.header-inner {
  width: var(--rex-container);
  max-width: none;
  min-height: 82px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}
.site-branding { flex: 0 0 auto; }
.site-branding .custom-logo { display: block; width: 178px; height: auto; }
.header-actions { display: flex; flex-direction: row-reverse; align-items: center; gap: 22px; min-width: 0; }
.main-navigation > ul {
  display: flex !important;
  align-items: center;
  gap: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.main-navigation > ul > li { margin: 0 !important; padding: 0 !important; }
.main-navigation .mobile-search-link { display: none; }
.main-navigation > ul > li > a {
  display: inline-flex !important;
  min-height: 44px !important;
  padding: 0 !important;
  align-items: center;
  color: var(--rex-ink) !important;
  font: 600 13px/1 var(--rex-display) !important;
  letter-spacing: -.12px;
  text-decoration: none;
  white-space: nowrap;
}
.main-navigation > ul > li > a:hover { color: var(--rex-blue) !important; }
.main-navigation .rex-nav-cta {
  padding: 0 16px !important;
  color: #fff !important;
  background: var(--rex-ink);
  border-radius: 999px;
}
.main-navigation .rex-nav-cta:hover { color: #fff !important; background: var(--rex-blue); }
.search-popover { position: relative; }

.search-popover summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  list-style: none;
  cursor: pointer;
  color: var(--rex-ink);
}
.search-popover summary::-webkit-details-marker { display: none; }
.search-popover .search-label { display: none; }
.search-popover .search-form {
  position: absolute;
  top: 52px;
  right: 0;
  width: min(390px, calc(100vw - 32px));
  padding: 12px;
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--rex-line);
  box-shadow: 0 18px 50px rgba(17, 27, 43, .14);
}
.search-popover .search-form input { min-width: 0; flex: 1; border: 1px solid var(--rex-line); padding: 10px 12px; font: inherit; }
.search-popover .search-form button { border: 0; background: var(--rex-blue); color: #fff; padding: 10px 15px; font: 700 13px var(--rex-display); }

/* Shared type and actions */
.platform-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--rex-ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.platform-kicker > span { width: 28px; height: 2px; background: var(--rex-red); }
.platform-kicker-light { color: rgba(255,255,255,.72); }
.platform-kicker-light > span { background: #fff; }
.platform-button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.platform-button:hover { transform: translateY(-2px); }
.platform-button-primary { color: #fff !important; background: var(--rex-blue); }
.platform-button-primary:hover { background: var(--rex-blue-dark); }
.platform-button-light { color: var(--rex-ink) !important; background: #fff; }
.platform-button-light:hover { color: #fff !important; background: var(--rex-blue); }
.platform-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rex-blue) !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.platform-text-link span { transition: transform .2s ease; }
.platform-text-link:hover span { transform: translate(3px,-3px); }

/* Homepage hero */
.home-platform { overflow: hidden; background: var(--rex-paper); }
.home-hero { background: #fff; }
.home-hero-grid {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr);
  align-items: stretch;
}
.home-hero-copy {
  padding: 108px 72px 82px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--rex-ink);
  font-size: clamp(64px, 6.2vw, 94px);
  font-weight: 680;
  line-height: .92;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.home-hero h1 em { color: var(--rex-blue); font-style: normal; }
.home-hero-lede {
  width: 100%;
  max-width: 570px;
  margin: 32px 0 0;
  color: var(--rex-ink-soft);
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.025em;
}
.home-hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 26px; }
.home-hero-note {
  margin-top: auto;
  padding-top: 44px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--rex-muted);
}
.home-hero-note-mark {
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center;
  color: #fff; background: var(--rex-red); border-radius: 50%; font-weight: 800;
}
.home-hero-note p { margin: 0; font-size: 12px; line-height: 1.55; }
.home-hero-note strong { color: var(--rex-ink); font-weight: 750; }
.home-hero-visual { position: relative; min-height: 710px; overflow: hidden; background: var(--rex-ink); }
.home-hero-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.home-hero-scrim { position: absolute; inset: 0; background: rgba(6,16,29,.28); }
.home-hero-index { position: absolute; top: 32px; right: 28px; display: flex; flex-direction: column; gap: 6px; color: rgba(255,255,255,.64); font: 700 10px/1 var(--rex-display); letter-spacing: .14em; }
.home-hero-index span:first-child { color: #fff; }
.home-hero-fallback { height: 100%; display: grid; grid-template-columns: repeat(3,1fr); align-items: end; padding: 42px; color: rgba(255,255,255,.9); font-size: 110px; font-weight: 700; letter-spacing: -.08em; }
.home-hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 42px;
  color: #fff; border-top: 1px solid rgba(255,255,255,.32);
}
.home-hero-caption p { margin: 0 0 8px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.home-hero-caption a { max-width: 560px; display: flex; justify-content: space-between; gap: 28px; color: #fff !important; font-size: 21px; font-weight: 650; line-height: 1.25; text-decoration: none; }

/* Pillar ledger */
.home-pillar-stage { padding: 134px 0 118px; background: var(--rex-paper); }
.platform-section-heading-split {
  display: grid;
  grid-template-columns: .75fr 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 76px;
}
.platform-section-heading-split .platform-kicker { padding-top: 10px; }
.platform-section-heading h2, .platform-section-bar h2 {
  margin: 0; color: var(--rex-ink); font-size: clamp(42px, 4vw, 64px); font-weight: 680; line-height: .98; letter-spacing: -.052em;
}
.platform-section-heading-split > p:last-child { max-width: 390px; margin: 4px 0 0; color: var(--rex-muted); font-size: 17px; line-height: 1.65; }
.pillar-ledger { border-top: 1px solid var(--rex-line); }
.pillar-row {
  min-height: 142px;
  display: grid;
  grid-template-columns: 72px .8fr 1.4fr 50px;
  align-items: center;
  gap: 34px;
  color: var(--rex-ink) !important;
  border-bottom: 1px solid var(--rex-line);
  text-decoration: none;
  transition: color .2s ease, padding .2s ease, background .2s ease;
}
.pillar-row:hover { padding: 0 18px; color: var(--rex-blue) !important; background: rgba(255,255,255,.56); }
.pillar-number { color: var(--rex-red); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.pillar-name { font-size: clamp(40px, 4.3vw, 66px); font-weight: 660; line-height: 1; letter-spacing: -.055em; }
.pillar-copy { max-width: 470px; color: var(--rex-muted); font-size: 15px; line-height: 1.55; }
.pillar-arrow { justify-self: end; font-size: 23px; }

/* Editorial */
.home-editorial { padding: 124px 0 132px; background: #fff; }
.platform-section-bar { margin-bottom: 58px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.editorial-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .8fr); gap: 64px; }
.editorial-lead-image { position: relative; display: block; aspect-ratio: 1.45; overflow: hidden; background: var(--rex-paper-warm); }
.editorial-lead-image img, .editorial-list-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.editorial-lead-image:hover img, .editorial-list-image:hover img { transform: scale(1.025); }
.editorial-category { position: absolute; left: 0; bottom: 0; padding: 10px 14px; color: #fff; background: var(--rex-blue); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.editorial-lead-copy { padding-top: 28px; }
.editorial-meta { margin: 0 0 10px; color: var(--rex-red); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.editorial-lead h3 { max-width: 790px; margin: 0; font-size: clamp(30px, 3vw, 47px); font-weight: 670; line-height: 1.04; letter-spacing: -.045em; }
.editorial-lead h3 a, .editorial-list-item h3 a { text-decoration: none; }
.editorial-lead-copy > p:not(.editorial-meta) { max-width: 650px; margin: 18px 0 22px; color: var(--rex-muted); font-size: 16px; line-height: 1.6; }
.editorial-list { border-top: 1px solid var(--rex-line); }
.editorial-list-item { padding: 20px 0; display: grid; grid-template-columns: 132px 1fr; gap: 22px; border-bottom: 1px solid var(--rex-line); }
.editorial-list-image { display: block; height: 104px; overflow: hidden; background: var(--rex-paper-warm); }
.editorial-list-item h3 { margin: 0 0 13px; font-size: 18px; font-weight: 680; line-height: 1.2; letter-spacing: -.025em; }
.editorial-read { color: var(--rex-blue) !important; font-size: 12px; font-weight: 750; text-decoration: none; }

/* Commerce */
.home-commerce { padding: 132px 0; color: #fff; background: var(--rex-ink); }
.commerce-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; }
.commerce-intro { align-self: start; position: sticky; top: 40px; }
.commerce-intro h2 { margin: 0; font-size: clamp(48px, 5vw, 76px); font-weight: 650; line-height: .94; letter-spacing: -.058em; }
.commerce-intro > p:not(.platform-kicker) { max-width: 420px; margin: 28px 0 34px; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.6; }
.commerce-products { border-top: 1px solid var(--rex-dark-line); }
.commerce-product {
  min-height: 154px; padding: 27px 0; display: grid;
  grid-template-columns: 50px minmax(160px,.9fr) minmax(180px,1.2fr) auto 34px;
  align-items: center; gap: 22px; color: #fff !important; border-bottom: 1px solid var(--rex-dark-line); text-decoration: none;
  transition: padding .2s ease, background .2s ease;
}
.commerce-product:hover { padding-inline: 15px; background: rgba(255,255,255,.045); }
.commerce-product-number { color: rgba(255,255,255,.44); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.commerce-product-name { font-size: 25px; font-weight: 650; line-height: 1.1; letter-spacing: -.035em; }
.commerce-product-description { color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.5; }
.commerce-product-price { font-size: 13px; font-weight: 750; }
.commerce-product-arrow { justify-self: end; color: #64b8ef; font-size: 20px; }

/* Tools */
.home-tools { padding: 132px 0; background: var(--rex-paper); }
.tools-layout { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: auto auto; gap: 30px 72px; }
.tools-copy { align-self: center; grid-row: span 2; max-width: 560px; }
.tools-copy h2 { margin: 0; font-size: clamp(47px, 4.8vw, 73px); font-weight: 660; line-height: .98; letter-spacing: -.06em; }
.tools-copy > p:not(.platform-kicker) { max-width: 490px; margin: 28px 0 30px; color: var(--rex-muted); font-size: 17px; line-height: 1.62; }
.tools-feature { min-height: 390px; padding: 38px; display: flex; flex-direction: column; color: #fff !important; background: var(--rex-blue); text-decoration: none; }
.tools-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tools-status i { width: 8px; height: 8px; background: #68df9a; border-radius: 50%; box-shadow: 0 0 0 5px rgba(104,223,154,.13); }
.tools-feature-title { margin-top: 58px; display: flex; align-items: center; gap: 20px; }
.tools-feature-title > span { width: 62px; height: 62px; display: grid; place-items: center; color: var(--rex-red); background: #fff; border-radius: 50%; font-size: 30px; font-weight: 800; }
.tools-feature-title p, .tools-feature-title h3 { margin: 0; }
.tools-feature-title p { color: rgba(255,255,255,.66); font-size: 14px; }
.tools-feature-title h3 { font-size: 40px; line-height: .95; letter-spacing: -.045em; }
.tools-feature > p { max-width: 410px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.55; }
.tools-open { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.35); font-size: 13px; font-weight: 750; }
.tools-coming { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--rex-line); }
.tools-coming p { grid-column: 1/-1; margin: 0; padding: 18px 0 12px; color: var(--rex-red); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.tools-coming span { padding: 12px 0; color: var(--rex-ink-soft); border-top: 1px solid var(--rex-line); font-size: 13px; }

/* Closing */
.home-closing { padding: 118px 0 110px; color: #fff; background: var(--rex-blue); }
.home-closing-inner { display: grid; grid-template-columns: .65fr 1.3fr .7fr; gap: 62px; align-items: end; }
.home-closing h2 { margin: 0; font-size: clamp(52px, 6vw, 88px); font-weight: 650; line-height: .92; letter-spacing: -.062em; }
.home-closing-inner > div:last-child { padding-bottom: 5px; }
.home-closing-inner > div:last-child p { margin: 0 0 24px; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.5; }

/* Shared footer */
.site-footer { padding: 70px 0 32px; color: rgba(255,255,255,.7); background: #091321; }
.site-footer .footer-inner { width: var(--rex-container); max-width: none; margin: 0 auto; padding: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3,.6fr); gap: 50px; padding-bottom: 60px; }
.footer-brand img { width: 170px; filter: none; opacity: 1; }
.footer-brand p { max-width: 330px; margin: 20px 0 0; color: rgba(255,255,255,.7) !important; font-size: 13px; line-height: 1.65; }
.footer-column h2 { margin: 0 0 18px; color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a { display: block; margin: 10px 0; color: rgba(255,255,255,.65) !important; font-size: 13px; text-decoration: none; }
.footer-column a:hover { color: #fff !important; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 30px; color: rgba(255,255,255,.64) !important; border-top: 1px solid rgba(255,255,255,.15); font-size: 11px; }
.footer-bottom p { margin: 0; color: inherit !important; }
.footer-copyright { white-space: nowrap; }

/* Existing inner-page shell integration */
.platform-main, .site-content { background: var(--rex-paper); }
.platform-main .platform-container { width: var(--rex-container); }
.articles-hero h1, .tools-hero h1 { color: var(--rex-ink); letter-spacing: -.045em; }
.articles-card, .tool-card { border-radius: 0 !important; box-shadow: none !important; }

.platform-empty { color: var(--rex-muted); font-size: 16px; }
.platform-empty-dark { color: rgba(255,255,255,.65); }

:focus-visible { outline: 3px solid rgba(0,105,181,.55); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 1080px) {
  :root { --rex-container: min(100% - 40px, 980px); }
  .site-header .ast-container.header-inner { min-height: 76px; }
  .main-navigation > ul { gap: 16px !important; }
  .home-hero-grid { grid-template-columns: .9fr 1.1fr; min-height: 630px; }
  .home-hero-copy { padding: 82px 42px 62px 0; }
  .home-hero-visual { min-height: 630px; }
  .platform-section-heading-split { grid-template-columns: .7fr 1.2fr; }
  .platform-section-heading-split > p:last-child { grid-column: 2; }
  .commerce-layout { gap: 65px; }
  .tools-layout { gap: 32px 48px; }
}

@media (max-width: 820px) {
  :root { --rex-container: calc(100vw - 36px); }
  .site-header .ast-container.header-inner { position: relative; min-height: 0; padding: 13px 0 0; flex-wrap: wrap; gap: 4px; }
  .site-branding .custom-logo { width: 150px; }
  .header-actions { position: static !important; width: 100%; display: block; overflow: visible; }
  .header-actions .search-popover { display: none !important; }
  .main-navigation { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .main-navigation .mobile-search-link { display: list-item; }
  .main-navigation::-webkit-scrollbar { display: none; }
  .main-navigation > ul { width: max-content; gap: 18px !important; }
  .main-navigation > ul > li > a { min-height: 46px !important; font-size: 12px !important; }
  .main-navigation .rex-nav-cta { padding: 0 !important; color: var(--rex-ink) !important; background: none; }
  .home-hero-grid { width: 100%; grid-template-columns: 1fr; }
  .home-hero-copy { width: var(--rex-container); max-width: calc(100vw - 36px); min-height: 620px; margin: 0 auto; padding: 74px 0 48px; }
  .home-hero-lede { width: calc(100vw - 36px) !important; max-width: calc(100vw - 36px) !important; white-space: normal !important; }
  .home-hero h1 { font-size: clamp(58px, 14vw, 90px); }
  .home-hero-visual { min-height: 680px; }
  .platform-section-heading-split { grid-template-columns: 1fr; gap: 28px; }
  .platform-section-heading-split > p:last-child { grid-column: auto; }
  .pillar-row { grid-template-columns: 52px 1fr 34px; gap: 18px; padding: 25px 0; }
  .pillar-copy { grid-column: 2; }
  .pillar-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .editorial-layout { grid-template-columns: 1fr; gap: 70px; }
  .commerce-layout { grid-template-columns: 1fr; gap: 70px; }
  .commerce-intro { position: static; }
  .tools-layout { grid-template-columns: 1fr; }
  .tools-copy { grid-row: auto; margin-bottom: 32px; }
  .home-closing-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  :root { --rex-container: calc(100vw - 30px); }
  .home-hero-copy { min-height: 575px; padding-top: 62px; }
  .home-hero h1 { font-size: clamp(55px, 17vw, 76px); }
  .home-hero-lede { font-size: 18px; }
  .home-hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .home-hero-note { padding-top: 36px; }
  .home-hero-visual { min-height: 560px; }
  .home-hero-caption { padding: 28px 24px; }
  .home-pillar-stage, .home-editorial, .home-commerce, .home-tools { padding: 88px 0; }
  .platform-section-bar { align-items: flex-start; flex-direction: column; }
  .pillar-row { grid-template-columns: 42px 1fr 24px; }
  .pillar-name { font-size: 44px; }
  .editorial-list-item { grid-template-columns: 112px 1fr; gap: 16px; }
  .editorial-list-image { height: 96px; }
  .commerce-product { grid-template-columns: 34px 1fr auto 24px; gap: 13px; }
  .commerce-product-description { display: none; }
  .commerce-product-price { grid-column: 3; }
  .tools-feature { min-height: 380px; padding: 30px; }
  .tools-coming { grid-template-columns: 1fr; }
  .home-closing { padding: 86px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
}

/* Business Command Center — 2026-07-17 */
.home-command-center { background: var(--rex-paper); }
.command-hero { background: #fff; }
.command-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); min-height: 760px; align-items: center; gap: 72px; }
.command-hero-copy { min-height: 760px; padding: 92px 0 62px; }
.command-product-name { margin: 0 0 18px; color: var(--rex-blue); font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.command-hero h1 { max-width: 720px; font-size: clamp(54px, 5.4vw, 82px); }
.command-hero h1 em { display: block; margin-top: 9px; }
.command-console { width: 100%; color: #fff; background: #091321; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 34px 80px rgba(9,19,33,.24); }
.command-console-bar { min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.62); border-bottom: 1px solid rgba(255,255,255,.12); font-size: 9px; letter-spacing: .14em; }
.command-console-bar span { width: 8px; height: 8px; background: rgba(255,255,255,.26); border-radius: 50%; }
.command-console-bar span:first-child { background: var(--rex-red); }
.command-console-bar b { margin-left: auto; font-weight: 750; }
.command-console-status { min-height: 65px; padding: 0 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.command-console-status > i, .console-health strong i { width: 8px; height: 8px; display: inline-block; background: #65d998; border-radius: 50%; box-shadow: 0 0 0 5px rgba(101,217,152,.1); }
.command-console-status strong { margin-left: auto; color: #9ed7ff; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.command-console-grid { display: grid; grid-template-columns: 1.15fr .85fr; }
.console-panel { padding: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.console-panel > p { margin: 0 0 18px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.console-priority { grid-row: span 2; border-right: 1px solid rgba(255,255,255,.12); }
.console-priority article { min-height: 82px; padding: 15px 0; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.console-priority article > span { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; background: var(--rex-blue); border-radius: 50%; font-size: 10px; font-weight: 800; }
.console-priority article strong, .console-priority article small { display: block; }
.console-priority article strong { font-size: 13px; }
.console-priority article small { margin-top: 5px; color: rgba(255,255,255,.48); font-size: 10px; }
.console-priority article > b { color: #9ed7ff; font-size: 10px; }
.console-health div { padding: 8px 0; display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.55); font-size: 10px; }
.console-health strong { color: #fff; font-weight: 700; }
.console-health strong i { width: 5px; height: 5px; margin-right: 5px; box-shadow: none; }
.console-approval > div:first-of-type { display: flex; flex-direction: column; gap: 6px; }
.console-approval small { color: #9ed7ff; font-size: 9px; letter-spacing: .1em; }
.console-approval strong { font-size: 13px; }
.console-approval span { color: rgba(255,255,255,.48); font-size: 10px; }
.console-approval-actions { margin-top: 18px; display: flex; gap: 8px; }
.console-approval-actions b { padding: 9px 11px; color: #fff; background: rgba(255,255,255,.1); font-size: 9px; }
.console-approval-actions b:last-child { background: var(--rex-blue); }

.home-system-stage { padding: 130px 0 118px; }
.system-ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rex-line); border-bottom: 1px solid var(--rex-line); }
.system-ledger article { min-height: 285px; padding: 34px 28px 30px; border-right: 1px solid var(--rex-line); }
.system-ledger article:last-child { border-right: 0; }
.system-ledger article > span, .architecture-icon { color: var(--rex-red); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.system-ledger h3 { margin: 65px 0 18px; font-size: 32px; letter-spacing: -.04em; }
.system-ledger p { margin: 0; color: var(--rex-muted); font-size: 14px; line-height: 1.6; }

.home-approval-stage { padding: 126px 0; color: #fff; background: var(--rex-ink); }
.approval-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 108px; }
.approval-copy h2 { margin: 0; color: #fff !important; font-size: clamp(52px, 5vw, 78px); font-weight: 650; line-height: .94; letter-spacing: -.06em; }
.approval-copy > p:not(.platform-kicker) { max-width: 520px; margin: 28px 0 34px; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.65; }
.approval-flow { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rex-dark-line); }
.approval-flow li { min-height: 120px; padding: 24px 0; display: grid; grid-template-columns: 62px 1fr; gap: 22px; border-bottom: 1px solid var(--rex-dark-line); }
.approval-flow li > span { color: #64b8ef; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.approval-flow strong { font-size: 21px; }
.approval-flow p { max-width: 520px; margin: 8px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.55; }

.home-architecture { padding: 126px 0 132px; background: #fff; }
.architecture-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rex-line); }
.architecture-grid article { min-height: 245px; padding: 34px 42px 36px 0; border-bottom: 1px solid var(--rex-line); }
.architecture-grid article:nth-child(odd) { border-right: 1px solid var(--rex-line); }
.architecture-grid article:nth-child(even) { padding-left: 42px; }
.architecture-grid h3 { margin: 48px 0 14px; font-size: 28px; letter-spacing: -.04em; }
.architecture-grid p { max-width: 500px; margin: 0; color: var(--rex-muted); line-height: 1.65; }

.home-process-stage { padding: 126px 0; background: var(--rex-paper); }
.process-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.process-layout h2 { margin: 0; font-size: clamp(43px, 4vw, 64px); line-height: 1; letter-spacing: -.055em; }
.process-layout ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rex-line); }
.process-layout li { padding: 24px 0; display: grid; grid-template-columns: 52px .72fr 1fr; gap: 20px; border-bottom: 1px solid var(--rex-line); }
.process-layout li > span { color: var(--rex-red); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.process-layout li strong { font-size: 17px; }
.process-layout li p { margin: 0; color: var(--rex-muted); font-size: 14px; line-height: 1.55; }
.editorial-intro { max-width: 820px; margin: -25px 0 54px; color: var(--rex-muted); font-size: 16px; line-height: 1.65; }
.command-closing { background: var(--rex-blue); }
.command-closing .home-closing-inner { grid-template-columns: .55fr 1.35fr .75fr; }
.command-closing h2 { font-size: clamp(48px, 5.6vw, 80px); }
.footer-brand p + p { margin-top: 8px; color: rgba(255,255,255,.48) !important; }

@media (max-width: 1080px) {
  .command-hero-grid { grid-template-columns: minmax(0, .8fr) minmax(480px, 1.2fr); gap: 38px; }
  .command-hero h1 { font-size: clamp(48px, 5vw, 70px); }
  .command-console-grid { grid-template-columns: 1fr; }
  .console-priority { grid-row: auto; border-right: 0; }
  .system-ledger { grid-template-columns: repeat(2, 1fr); }
  .system-ledger article:nth-child(2) { border-right: 0; }
  .system-ledger article:nth-child(-n+2) { border-bottom: 1px solid var(--rex-line); }
  .approval-layout { gap: 68px; }
}

@media (max-width: 820px) {
  .command-hero-grid { grid-template-columns: 1fr; width: 100%; gap: 0; }
  .command-hero-copy { width: var(--rex-container); max-width: calc(100vw - 36px); min-height: 0; margin: 0 auto; padding: 70px 0 64px; }
  .command-hero h1 { font-size: clamp(50px, 12vw, 78px); }
  .command-console { width: var(--rex-container); margin: 0 auto 70px; }
  .approval-layout, .process-layout { grid-template-columns: 1fr; gap: 64px; }
  .architecture-grid { grid-template-columns: 1fr; }
  .architecture-grid article:nth-child(odd) { border-right: 0; }
  .architecture-grid article:nth-child(even) { padding-left: 0; }
  .command-closing .home-closing-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .command-hero-copy { max-width: calc(100vw - 30px); padding-top: 58px; }
  .command-hero h1 { font-size: clamp(45px, 14vw, 66px); }
  .command-console { width: calc(100vw - 20px); }
  .command-console-grid { display: block; }
  .command-console-status strong { display: none; }
  .console-panel { padding: 20px; }
  .system-ledger { grid-template-columns: 1fr; }
  .system-ledger article { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--rex-line); }
  .system-ledger article:last-child { border-bottom: 0; }
  .system-ledger h3 { margin-top: 44px; }
  .home-system-stage, .home-approval-stage, .home-architecture, .home-process-stage { padding: 88px 0; }
  .process-layout li { grid-template-columns: 40px 1fr; }
  .process-layout li p { grid-column: 2; }
}
