/* ── Tokens ──────────────────────────────────────────── */
:root {
  --bright-snow:   #FBFAF8;
  --amber-honey:   #E8AA14;
  --coffee-bean:   #170F11;
  --baltic-blue:   #456990;
  --bubblegum-pink:#F45B69;

  --bg:            var(--bright-snow);
  --ink:           var(--coffee-bean);
  --muted:         var(--baltic-blue);
  --line:          rgba(23, 15, 17, 0.12);
  --panel-bg:      var(--bright-snow);
  --bg-card:       var(--bright-snow);
  --shadow:        rgba(23, 15, 17, 0.07);
  --amber-soft:    rgba(232, 170, 20, 0.14);
  --pink-soft:     rgba(244, 91, 105, 0.12);
  --sidebar-w:     228px;
  --page-gutter:   clamp(16px, 3.25vw, 48px);
  --page-x:        var(--page-gutter);
  --content-max:   1180px;
  --hero-max:      1320px;

  /* App-shell semantic tokens */
  --surface:       var(--bright-snow);
  --border:        rgba(23, 15, 17, 0.09);
  --text:          var(--coffee-bean);
  --text-muted:    rgba(23, 15, 17, 0.48);
  --app-bg:        #F2F1EF;
  --sidebar-item-active-bg: rgba(232, 170, 20, 0.13);
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
}

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }

/* ── Marketing header ────────────────────────────────── */
.site-header {
  align-items: center;
  background: var(--coffee-bean);
  border-bottom: 1px solid rgba(251,250,248,0.14);
  display: flex;
  justify-content: space-between;
  padding: 16px max(var(--page-x), calc((100vw - var(--hero-max)) / 2 + var(--page-x)));
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand img {
  display: block;
  height: 42px;
  max-width: 180px;
  object-fit: contain;
  width: auto;
}

/* ── Nav bar ─────────────────────────────────────────── */
/* Header is dark (coffee-bean) so nav items use white text */
.nav { align-items: center; display: flex; gap: 4px; }

.nav > a,
.nav-menu__trigger,
.link-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: rgba(251,250,248,0.88);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  gap: 4px;
  padding: 6px 12px;
  text-decoration: none;
  transition: background .14s, color .14s;
  white-space: nowrap;
}
.nav > a:hover,
.nav-menu__trigger:hover,
.link-button:hover {
  background: rgba(251,250,248,.1);
  color: var(--bright-snow);
}

.nav-chevron {
  flex-shrink: 0;
  height: 10px;
  stroke: currentColor;
  transition: transform .2s ease;
  width: 10px;
}
.nav-menu:hover .nav-chevron,
.nav-menu:focus-within .nav-chevron,
.nav-menu--open .nav-chevron { transform: rotate(180deg); }

/* ── Rich dropdown panel ─────────────────────────────── */
.nav-menu { position: relative; }

.nav-dropdown {
  background: #fff;
  border: 1px solid rgba(23,15,17,.1);
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(23,15,17,.06), 0 24px 56px rgba(23,15,17,.14);
  display: flex;
  left: 50%;
  min-width: 380px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  /* Start flush with bottom of nav-menu — padding-top provides visual gap */
  top: 100%;
  padding-top: 10px;
  transform: translateX(-50%) translateY(4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  visibility: hidden;
  z-index: 200;
  /* Extend background clip so padding-top area is transparent */
  background-clip: content-box;
}
.nav-dropdown--wide {
  max-width: calc(100vw - 32px);
  min-width: min(900px, calc(100vw - 32px));
  width: min(900px, calc(100vw - 32px));
}
.nav-dropdown--company {
  max-width: calc(100vw - 32px);
  min-width: min(740px, calc(100vw - 32px));
  width: min(740px, calc(100vw - 32px));
}

.nav-menu--open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* ── Dropdown columns ────────────────────────────────── */
.nav-dropdown__col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 20px 16px;
}
.nav-dropdown__col + .nav-dropdown__col {
  border-left: 1px solid rgba(23,15,17,.08);
}
.nav-dropdown__col--featured {
  background: var(--coffee-bean);
  flex: 0 0 240px;
  padding: 24px 22px;
  width: 240px;
}
.nav-dropdown__col:not(.nav-dropdown__col--featured) {
  flex: 1 1 220px;
  min-width: 0;
}

/* Column section label */
.nav-col-label {
  color: rgba(23,15,17,.45);
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 6px;
  padding: 0 8px;
  text-transform: uppercase;
}

/* Regular links */
.nav-dropdown__col:not(.nav-dropdown__col--featured) a {
  border-radius: 8px;
  color: var(--coffee-bean);
  display: block;
  padding: 9px 10px;
  text-decoration: none;
  transition: background .12s;
}
.nav-dropdown__col:not(.nav-dropdown__col--featured) a:hover {
  background: rgba(232,170,20,.12);
}
.nav-link-label {
  color: var(--coffee-bean);
  display: block;
  font-size: .855rem;
  font-weight: 600;
  line-height: 1.2;
}
.nav-dropdown__col:not(.nav-dropdown__col--featured) a p {
  color: rgba(23,15,17,.5);
  font-size: .775rem;
  line-height: 1.4;
  margin: 2px 0 0;
}

/* Featured (dark) column */
.nav-featured-item {
  color: var(--bright-snow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  text-decoration: none;
}
.nav-featured-label {
  color: var(--bright-snow);
  display: block;
  font-size: .95rem;
  font-weight: 700;
}
.nav-featured-item p {
  color: rgba(251,250,248,.65);
  flex: 1;
  font-size: .8rem;
  line-height: 1.55;
  margin: 0;
}
.nav-arrow-link {
  color: var(--amber-honey);
  font-size: .78rem;
  font-weight: 700;
  margin-top: auto;
}

/* Click-open state */
.nav-menu--open .nav-chevron { transform: rotate(180deg); }

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-mobile-toggle span {
  background: var(--bright-snow);
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 22px;
  transition: transform .2s, opacity .2s;
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Auth buttons */
.nav-cta, .button {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  gap: 6px;
  justify-content: center;
  padding: 10px 16px;
  text-decoration: none;
  transition: opacity .15s;
  white-space: nowrap;
}
.button:hover { opacity: .85; }

.button.primary, .nav .nav-cta {
  background: var(--amber-honey);
  color: var(--coffee-bean);
}
.button.secondary {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-sm { font-size: 0.84rem; padding: 7px 12px; }

.link-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

/* ── Marketing footer ────────────────────────────────── */
.footer {
  background:
    radial-gradient(circle at 18% 0%, rgba(232,170,20,0.16), rgba(232,170,20,0) 34%),
    linear-gradient(135deg, rgba(69,105,144,0.18), rgba(23,15,17,0) 38%),
    var(--coffee-bean);
  border-top: 1px solid rgba(251,250,248,0.14);
  color: rgba(251,250,248,0.72);
  font-size: 0.88rem;
  padding: 34px max(var(--page-x), calc((100vw - var(--content-max)) / 2 + var(--page-x))) 24px;
}

.footer-top {
  align-items: center;
  background: rgba(251,250,248,0.045);
  border: 1px solid rgba(251,250,248,0.11);
  border-radius: 14px;
  display: grid;
  gap: clamp(22px,4vw,44px);
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.15fr);
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 30px);
}

.footer-about {
  max-width: 540px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-brand img {
  display: block;
  height: 38px;
  max-width: 170px;
  object-fit: contain;
  width: auto;
}

.footer-about p {
  color: rgba(251,250,248,0.7);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.footer-cta {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.footer-primary {
  align-content: center;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-primary a {
  align-items: center;
  background: rgba(251,250,248,0.055);
  border: 1px solid rgba(251,250,248,0.1);
  border-radius: 9px;
  color: rgba(251,250,248,0.82);
  display: flex;
  font-weight: 850;
  min-height: 42px;
  padding: 10px 12px;
}

.footer-primary a:hover {
  background: rgba(232,170,20,0.1);
  border-color: rgba(232,170,20,0.32);
  color: var(--amber-honey);
}

.footer-login {
  color: var(--bright-snow);
  font-weight: 800;
}

.footer-main {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(170px, .8fr) minmax(300px, 1.35fr) minmax(300px, 1.35fr) minmax(170px, .8fr);
}

.footer-column {
  background: rgba(251,250,248,0.035);
  border: 1px solid rgba(251,250,248,0.09);
  border-radius: 12px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.footer-column h2 {
  color: var(--bright-snow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.footer-column h3 {
  color: rgba(251,250,248,0.48);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.footer-link-grid,
.footer-link-groups > div {
  display: grid;
  gap: 8px;
}

.footer-link-groups {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-column a,
.footer-link-button {
  background: transparent;
  border: 0;
  color: rgba(251,250,248,0.68);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.28;
  padding: 0;
  text-align: left;
}

.footer-column a:hover,
.footer-link-button:hover,
.footer-login:hover {
  color: var(--amber-honey);
}

.footer-bottom {
  border-top: 1px solid rgba(251,250,248,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 18px;
}

/* ── Scroll animations ───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-hero > * {
  opacity: 0;
  animation: heroSlideIn 0.7s cubic-bezier(.22,.8,.44,1) forwards;
}
.anim-hero > *:nth-child(1) { animation-delay: 0.1s; }
.anim-hero > *:nth-child(2) { animation-delay: 0.22s; }
.anim-hero > *:nth-child(3) { animation-delay: 0.34s; }
.anim-hero > *:nth-child(4) { animation-delay: 0.46s; }
.anim-hero > *:nth-child(5) { animation-delay: 0.58s; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(.22,.8,.44,1), transform 0.6s cubic-bezier(.22,.8,.44,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* newsroom styles consolidated below at the content-pages section */

.arrow-link {
  color: var(--coffee-bean);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.arrow-link:hover { color: var(--amber-honey); }

.prose-body { line-height: 1.75; }
.prose-body p { margin: 0 0 1.2em; }
.prose-body h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 2em 0 .6em; }
.prose-body h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }

/* ── Careers ─────────────────────────────────────────── */
.careers-values {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.careers-value {
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  padding: 20px;
}
.careers-value-icon {
  background: var(--amber-soft);
  border-radius: 8px;
  color: var(--amber-honey);
  display: flex;
  flex-shrink: 0;
  padding: 8px;
}
.careers-value-icon svg { height: 20px; width: 20px; }
.careers-value strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.careers-value p { color: var(--muted); font-size: .82rem; line-height: 1.5; margin: 0; }

.careers-dept-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.careers-listing-group { display: flex; flex-direction: column; gap: 1px; }
.careers-listing {
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  padding: 18px 20px;
  text-decoration: none;
  transition: box-shadow .16s, transform .16s;
}
.careers-listing:hover {
  box-shadow: 0 8px 24px rgba(23,15,17,.09);
  transform: translateY(-1px);
}
.careers-listing-title { color: var(--coffee-bean); display: block; font-size: 1rem; font-weight: 700; }
.careers-listing-meta { align-items: center; color: var(--muted); display: flex; font-size: .8rem; gap: 12px; margin-top: 4px; }
.careers-listing-meta span + span::before { content: '·'; margin-right: 12px; }
.careers-listing-arrow { color: var(--amber-honey); flex-shrink: 0; font-size: .875rem; font-weight: 700; }
.careers-open-app {
  align-items: center;
  background: var(--coffee-bean);
  border-radius: 16px;
  color: var(--bright-snow);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 32px 40px;
}
.nugglets-stack { text-align: center; }
.nugglets-stack .eyebrow {
  color: var(--muted);
  display: block;
  margin: clamp(34px,5vw,56px) 0 14px;
}
.nugglets-stack .marketing-trust-strip { margin-top: 0; }

.careers-open-app .eyebrow { color: var(--amber-honey); }
.careers-open-app h3 { color: var(--bright-snow); font-size: 1.3rem; margin: .3rem 0 .6rem; }
.careers-open-app p { color: rgba(251,250,248,.72); font-size: .9rem; margin: 0; }

.job-header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.job-meta-row { display: flex; gap: 8px; flex-wrap: wrap; }
.job-badge {
  background: rgba(23,15,17,.07);
  border-radius: 6px;
  color: var(--coffee-bean);
  font-size: .78rem;
  font-weight: 600;
  padding: 3px 10px;
}

/* ── Marketing pages ─────────────────────────────────── */
.hero {
  align-items: center;
  background-image:
    linear-gradient(100deg, rgba(18,11,13,0.72) 0%, rgba(18,11,13,0.52) 46%, rgba(18,11,13,0.25) 100%),
    image-set(
      url("images/hero-network-bg.webp") type("image/webp"),
      url("images/hero-network-bg.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  color: var(--bright-snow);
  display: grid;
  gap: clamp(28px,4vw,56px);
  grid-template-columns: minmax(320px,0.9fr) minmax(0,1.15fr);
  min-height: calc(100vh - 73px);
  overflow: hidden;
  padding: clamp(64px,8vw,104px) max(var(--page-x), calc((100vw - var(--hero-max)) / 2 + var(--page-x)));
  position: relative;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(251,250,248,0) 0%, rgba(251,250,248,0.05) 72%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(251,250,248,0.05) 0 1px, transparent 1px 96px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-copy,
.asset-showcase {
  position: relative;
  z-index: 1;
}

.hero h1, .simple-page h1, .auth-card h1 {
  font-size: clamp(2.45rem,4.8vw,4.35rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}

.hero .lede {
  color: rgba(251,250,248,0.86);
}

.lede { color: var(--muted); font-size: 1.15rem; max-width: 640px; }

.hero-note {
  color: rgba(251,250,248,0.72);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 620px;
}

.eyebrow {
  color: var(--coffee-bean);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(251,250,248,0.8);
}

.hero .button.secondary {
  background: rgba(251,250,248,0.11);
  border-color: rgba(251,250,248,0.3);
  color: var(--bright-snow);
}

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

.section, .simple-page, .auth-page {
  margin: 0 auto;
  max-width: calc(var(--content-max) + (var(--page-x) * 2));
  padding: clamp(52px,7vw,84px) var(--page-x);
  width: 100%;
}

.cta-band {
  padding: clamp(48px,7vw,80px) max(var(--page-x), calc((100vw - var(--content-max)) / 2 + var(--page-x)));
}

.section h2, .cta-band h2 {
  font-size: clamp(1.9rem,4vw,3.2rem);
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 760px;
}

.problem-grid, .feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.problem-grid span, .feature-grid span, .steps li {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23,15,17,0.05);
  color: var(--coffee-bean);
  font-weight: 800;
  padding: 18px;
}

.split {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0,0.8fr) minmax(280px,1fr);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.steps li {
  align-items: center;
  display: flex;
  gap: 14px;
}

.steps li::before {
  align-items: center;
  background: var(--amber-honey);
  border-radius: 999px;
  color: var(--coffee-bean);
  content: counter(step);
  counter-increment: step;
  display: inline-flex;
  flex: 0 0 32px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
}

.cta-band {
  background: var(--coffee-bean);
  color: var(--bright-snow);
  display: flex;
  justify-content: center;
  padding: clamp(64px,9vw,100px) clamp(20px,5vw,72px);
  text-align: center;
}
.cta-band .button.primary { background: var(--amber-honey); color: var(--coffee-bean); }

.simple-page { min-height: 65vh; max-width: 850px; }
.simple-page p:last-child { color: var(--muted); font-size: 1.1rem; }

.marketing-page {
  margin: 0 auto;
  max-width: calc(var(--content-max) + (var(--page-x) * 2));
  overflow-x: clip;
  padding: 0 var(--page-x) clamp(48px,7vw,84px);
  width: 100%;
}

.marketing-page :where(section, div, article, form, dl, ul, ol) {
  min-width: 0;
}

.marketing-page :where(h1, h2, h3, p, a, strong, span, dt, dd, li) {
  overflow-wrap: break-word;
}

.marketing-page :where(img, svg, video, canvas, iframe) {
  max-width: 100%;
}

.page-hero {
  background-image:
    linear-gradient(100deg, rgba(18,11,13,0.72) 0%, rgba(18,11,13,0.52) 46%, rgba(18,11,13,0.25) 100%),
    image-set(
      url("images/hero-network-bg.webp") type("image/webp"),
      url("images/hero-network-bg.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--bright-snow);
  margin-left: calc(var(--page-x) * -1);
  margin-right: calc(var(--page-x) * -1);
  margin-bottom: clamp(30px,5vw,54px);
  padding: clamp(64px,8vw,100px) max(var(--page-x), calc((100vw - var(--content-max)) / 2 + var(--page-x)));
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.35rem,4.7vw,4.1rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  color: var(--bright-snow);
}

.page-hero .eyebrow {
  color: var(--amber-honey);
  margin-bottom: 12px;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .page-lede {
  color: rgba(251,250,248,0.86);
  margin-bottom: 28px;
}

.page-hero .button-row {
  margin-top: 0;
}

.page-lede {
  color: var(--muted);
  font-size: clamp(1.02rem,1.8vw,1.2rem);
  line-height: 1.68;
  margin-top: 20px;
  max-width: 780px;
}

.pricing-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.pricing-card,
.contact-card,
.contact-form,
.pricing-note,
.contact-response,
.pricing-faq article {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px var(--shadow);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100%;
  padding: clamp(22px,3vw,30px);
  position: relative;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.pricing-card:hover {
  border-color: rgba(232,170,20,0.55);
  box-shadow: 0 22px 54px rgba(23,15,17,0.13);
  transform: translateY(-5px) scale(1.01);
}

.pricing-card.is-featured {
  background:
    linear-gradient(180deg, rgba(232,170,20,0.18), rgba(251,250,248,0) 42%),
    var(--bright-snow);
  border-color: rgba(232,170,20,0.6);
}

.plan-badge {
  align-self: flex-start;
  background: var(--coffee-bean);
  border-radius: 999px;
  color: var(--bright-snow);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.pricing-card__head h2,
.contact-card h2,
.contact-form h2,
.pricing-note h2,
.contact-response h2 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0;
}

.pricing-card__head p,
.contact-card p,
.contact-form p,
.pricing-note p,
.contact-response p,
.pricing-faq p {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 10px;
}

.price-row {
  align-items: baseline;
  display: flex;
  gap: 10px;
}

.price-row strong {
  color: var(--coffee-bean);
  font-size: clamp(2.2rem,4vw,3.3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-row span {
  color: var(--muted);
  font-weight: 800;
}

.seat-row {
  align-items: center;
  background: rgba(23,15,17,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}

.seat-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seat-row strong {
  color: var(--coffee-bean);
  font-size: 1rem;
  font-weight: 900;
}

.pricing-features {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-features li {
  color: var(--coffee-bean);
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.pricing-features li::before {
  color: var(--amber-honey);
  content: "✓";
  font-weight: 900;
}

.pricing-card .button {
  margin-top: auto;
}

.seat-addon-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(232,170,20,0.18), rgba(251,250,248,0) 44%),
    var(--panel-bg);
  border: 1px solid rgba(232,170,20,0.42);
  border-radius: 12px;
  box-shadow: 0 14px 40px var(--shadow);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
  padding: clamp(22px,4vw,34px);
}

.seat-addon-card h2 {
  font-size: clamp(1.45rem,2.6vw,2.25rem);
  line-height: 1.08;
  margin: 0;
}

.seat-addon-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 640px;
}

.pricing-compare-section {
  margin-top: clamp(36px,5vw,60px);
}

.pricing-compare-table {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px var(--shadow);
  overflow: hidden;
}

.pricing-compare-head,
.pricing-compare-row {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(160px,1.1fr) repeat(3, minmax(120px,0.8fr));
  padding: 15px 18px;
}

.pricing-compare-head {
  background: var(--coffee-bean);
  color: rgba(251,250,248,0.72);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-compare-row + .pricing-compare-row {
  border-top: 1px solid var(--line);
}

.pricing-compare-row strong {
  color: var(--coffee-bean);
}

.pricing-compare-row span {
  color: var(--muted);
  line-height: 1.45;
}

.pricing-note,
.contact-response {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px,0.75fr) minmax(0,1.25fr);
  margin-top: clamp(28px,5vw,54px);
  padding: clamp(24px,4vw,38px);
}

.contact-response {
  margin: clamp(34px,5vw,56px) auto;
  max-width: calc(var(--content-max) + (var(--page-x) * 2));
  width: 100%;
}

.pricing-faq {
  margin-top: clamp(42px,6vw,72px);
}

.faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 22px;
}

.pricing-faq article {
  padding: 22px;
}

.pricing-faq h3 {
  margin: 0;
}

.use-cases-hero {
  max-width: 940px;
}

.use-case-feature {
  align-items: stretch;
  background: var(--coffee-bean);
  border-radius: 12px;
  color: var(--bright-snow);
  display: grid;
  gap: clamp(24px,4vw,42px);
  grid-template-columns: minmax(0,0.8fr) minmax(0,1.2fr);
  margin-bottom: clamp(42px,6vw,72px);
  padding: clamp(24px,4vw,42px);
}

.use-case-feature__copy {
  align-self: center;
}

.use-case-feature__copy .eyebrow {
  color: var(--amber-honey);
}

.use-case-feature__copy h2,
.use-case-cta h2 {
  font-size: clamp(1.65rem,3.2vw,2.7rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.use-case-feature__copy p:not(.eyebrow),
.use-case-cta p {
  color: rgba(251,250,248,0.68);
  line-height: 1.65;
}

.use-case-flow {
  display: grid;
  gap: 12px;
}

.flow-step {
  background: rgba(251,250,248,0.08);
  border: 1px solid rgba(251,250,248,0.14);
  border-radius: 10px;
  padding: 18px;
}

.flow-step span,
.use-case-card__label {
  color: var(--amber-honey);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.flow-step strong {
  display: block;
  font-size: 1.05rem;
}

.flow-step p {
  color: rgba(251,250,248,0.68);
  line-height: 1.55;
  margin-top: 6px;
}

.use-case-library-intro {
  max-width: 760px;
}

.use-case-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.use-case-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 34px var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateY(0) scale(1);
  transition:
    border-color .28s ease,
    box-shadow .34s ease,
    transform .34s cubic-bezier(.2,.8,.2,1);
}

.use-case-card:hover {
  border-color: rgba(232,170,20,0.72);
  box-shadow: 0 20px 48px rgba(23,15,17,0.12);
  transform: translateY(-4px) scale(1.012);
}

.use-case-card h3 {
  font-size: 1.08rem;
  line-height: 1.18;
  margin: 0 0 10px;
}

.use-case-card p {
  color: var(--muted);
  line-height: 1.62;
}

.use-case-card ol {
  border-top: 1px solid var(--line);
  color: var(--coffee-bean);
  display: grid;
  gap: 8px;
  font-weight: 800;
  list-style-position: inside;
  margin: 18px 0 0;
  padding: 16px 0 0;
}

.use-case-cta {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(69,105,144,0.26), rgba(23,15,17,0) 46%),
    var(--coffee-bean);
  border-radius: 12px;
  color: var(--bright-snow);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: clamp(34px,5vw,56px);
  padding: clamp(24px,4vw,38px);
}

.use-case-cta .eyebrow {
  color: rgba(251,250,248,0.58);
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(22px,4vw,42px);
  grid-template-columns: minmax(0,0.9fr) minmax(320px,1.1fr);
  margin: clamp(34px,5vw,56px) auto;
  max-width: calc(var(--content-max) + (var(--page-x) * 2));
  width: 100%;
}

.contact-card-grid {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  position: relative;
}

.contact-card__marker {
  background: var(--amber-honey);
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  margin-bottom: 18px;
  width: 42px;
}

.contact-card strong {
  color: var(--coffee-bean);
  display: block;
  margin-top: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px,4vw,36px);
}

.contact-form label {
  color: var(--coffee-bean);
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.contact-form .contact-checkbox {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.contact-form .contact-checkbox input {
  flex: 0 0 auto;
  margin-top: 3px;
  width: auto;
}

.contact-form .contact-checkbox span {
  color: var(--coffee-bean);
  line-height: 1.45;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bright-snow);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--coffee-bean);
  font: inherit;
  padding: 12px 13px;
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--amber-honey);
  outline: 3px solid var(--amber-soft);
}

.legal-page {
  margin: 0 auto;
  max-width: 900px;
  min-height: 65vh;
  padding: clamp(52px,7vw,84px) var(--page-x);
}

.legal-page h1 {
  font-size: clamp(2.2rem,4.5vw,4rem);
  line-height: 1;
  margin: 0;
}

.legal-summary {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 18px 0 32px;
  max-width: 720px;
}

.legal-body {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px var(--shadow);
  padding: clamp(22px,4vw,36px);
}

.legal-body h2,
.legal-body h3 {
  margin-top: 0;
}

.legal-body p {
  color: var(--coffee-bean);
  line-height: 1.7;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 18px;
}

.blog-page,
.blog-article {
  margin: 0 auto;
  max-width: calc(var(--content-max) + (var(--page-x) * 2));
  padding: clamp(48px,7vw,84px) var(--page-x);
  width: 100%;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 28px;
}

.breadcrumbs a {
  color: var(--baltic-blue);
}

.breadcrumbs a::after {
  color: rgba(23,15,17,0.36);
  content: "/";
  margin-left: 8px;
}


.learning-page .blog-card__category,
.learning-article .blog-card__category {
  color: var(--baltic-blue);
}

.learning-featured {
  background:
    linear-gradient(135deg, rgba(69,105,144,0.28), rgba(23,15,17,0) 46%),
    var(--coffee-bean);
}

.learning-card {
  border-left: 5px solid var(--baltic-blue);
}

.learning-card:hover {
  border-left-color: var(--amber-honey);
}

/* ── Content pages (blog · learning · newsroom) ─────────────────────────── */

/* Shared section wrapper */
.content-section { max-width: 1280px; margin: 0 auto; padding: 0 24px 80px; }

/* Page header (non-hero variant) */
.content-page-header { max-width: 680px; margin: 0 auto 48px; padding: 56px 0 0; }
.content-page-header--centered { text-align: center; margin: 0 auto 48px; }
.content-page-header h1 { font-size: clamp(2.2rem,4.5vw,3.6rem); letter-spacing: -.03em; line-height: 1.05; margin: .4rem 0 1rem; }
.content-page-header .lede { color: var(--muted); font-size: 1.08rem; line-height: 1.65; max-width: 560px; }
.content-page-header--centered .lede { margin: 0 auto; }

/* Hero */
.content-hero {
  background: linear-gradient(135deg, rgba(232,170,20,.18), rgba(23,15,17,0) 55%), var(--coffee-bean);
  border-radius: 16px;
  color: #fbfaf8;
  margin: 40px 0 0;
  overflow: hidden;
  padding: 56px 48px;
  position: relative;
}
.content-hero--has-image::before {
  background: var(--hero-image) center / cover no-repeat;
  bottom: 0; content: ''; left: 0; opacity: .18; position: absolute; right: 0; top: 0;
}
.content-hero--learning {
  background: linear-gradient(135deg, rgba(69,105,144,.3), rgba(23,15,17,0) 55%), var(--coffee-bean);
}
.content-hero-inner { position: relative; z-index: 1; max-width: 660px; }
.content-hero-eyebrow { align-items: center; display: flex; gap: 10px; margin-bottom: 14px; }
.content-hero-label { background: rgba(255,255,255,.12); border-radius: 100px; color: rgba(251,250,248,.7); font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 3px 10px; text-transform: uppercase; }
.content-hero-title { font-size: clamp(1.8rem,3.5vw,3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 12px; }
.content-hero-title a { color: inherit; text-decoration: none; }
.content-hero-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.content-hero-lede { color: rgba(251,250,248,.72); font-size: 1.05rem; line-height: 1.6; margin: 0 0 16px; max-width: 540px; }
.content-hero-meta { align-items: center; color: rgba(251,250,248,.5); display: flex; flex-wrap: wrap; font-size: .82rem; gap: 12px; margin-bottom: 24px; }
.content-hero-meta span + span::before { content: '·'; margin-right: 12px; }

/* Category filter nav */
.content-filter-nav {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 32px 0 0;
  padding-bottom: 20px;
}
.content-filter-pill {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 14px;
  text-decoration: none;
  transition: background .12s, color .12s, border-color .12s;
}
.content-filter-pill:hover { background: var(--amber-soft); border-color: var(--amber-honey); color: var(--coffee-bean); }
.content-filter-pill--active { background: var(--coffee-bean); border-color: var(--coffee-bean); color: #fbfaf8; }

/* Two-column body layout */
.content-body {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 280px;
  margin-top: 40px;
}

/* Card grid */
.content-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.content-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Content card */
.content-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.content-card:hover { border-color: rgba(232,170,20,.6); box-shadow: 0 8px 28px rgba(23,15,17,.09); }
.content-card-img-wrap { aspect-ratio: 16/9; display: block; overflow: hidden; }
.content-card-img { display: block; height: 100%; object-fit: cover; transition: transform .3s; width: 100%; }
.content-card:hover .content-card-img { transform: scale(1.03); }
.content-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px; }
.content-card-top { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.content-card-title { font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin: 0; }
.content-card-title a { color: var(--ink); text-decoration: none; }
.content-card-title a:hover { color: var(--amber-honey); }
.content-card-excerpt { color: var(--muted); font-size: .88rem; line-height: 1.6; margin: 0; flex: 1; }
.content-card-meta { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: .75rem; gap: 8px; margin-top: auto; }
.content-card-meta span + span::before { content: '·'; margin-right: 8px; }

/* Category pills */
.cat-pill {
  background: var(--amber-soft);
  border-radius: 100px;
  color: #92570a;
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 3px 10px;
  text-decoration: none;
  transition: background .12s;
  white-space: nowrap;
}
.cat-pill:hover { background: rgba(232,170,20,.25); }
.cat-pill--learning { background: rgba(69,105,144,.12); color: #2a5278; }
.cat-pill--learning:hover { background: rgba(69,105,144,.2); }

/* Tag pills */
.tag-pill { background: var(--bright-snow); border: 1px solid var(--line); border-radius: 100px; color: var(--muted); display: inline-block; font-size: .75rem; padding: 3px 11px; text-decoration: none; transition: border-color .12s, color .12s; }
.tag-pill:hover { border-color: var(--amber-honey); color: var(--ink); }
.tag-pill--learning { background: rgba(69,105,144,.06); border-color: rgba(69,105,144,.2); color: #2a5278; }

/* Sidebar */
.content-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: var(--panel-bg); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.sidebar-widget-title { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .07em; margin: 0 0 12px; text-transform: uppercase; }
.sidebar-link-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-link { align-items: center; border-radius: 7px; color: var(--ink); display: flex; font-size: .85rem; gap: 6px; justify-content: space-between; padding: 7px 10px; text-decoration: none; transition: background .1s; }
.sidebar-link:hover, .sidebar-link--active { background: var(--amber-soft); color: var(--coffee-bean); }
.sidebar-link-count { background: rgba(23,15,17,.07); border-radius: 100px; color: var(--muted); font-size: .7rem; padding: 1px 7px; }
.sidebar-empty { color: var(--muted); font-size: .82rem; }
.sidebar-cta-widget { background: var(--coffee-bean); border-color: var(--coffee-bean); color: #fbfaf8; }
.sidebar-cta-eyebrow { color: var(--amber-honey); font-size: .72rem; font-weight: 700; letter-spacing: .06em; margin: 0 0 6px; text-transform: uppercase; }
.sidebar-cta-body { color: rgba(251,250,248,.7); font-size: .85rem; line-height: 1.55; margin: 0 0 14px; }

/* Empty state */
.content-empty { color: var(--muted); font-size: .95rem; grid-column: 1/-1; padding: 40px 0; }
.content-empty--centered { text-align: center; padding: 80px 0; }

/* ── Article / post detail page ─────────────────────────────────────────── */

/* Reading progress bar */
.read-progress {
  background: var(--amber-honey);
  height: 3px;
  left: 0;
  position: fixed;
  top: 0;
  transition: width .1s linear;
  width: 0;
  z-index: 9999;
}

.article-page { max-width: 1180px; margin: 0 auto; padding: 0 24px 80px; }

.article-cover { border-radius: 16px; margin: 32px 0 0; max-height: 480px; overflow: hidden; }
.article-cover img { display: block; height: 100%; object-fit: cover; width: 100%; }

.article-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 260px;
  margin-top: 40px;
}
.article-layout--single { grid-template-columns: 1fr; max-width: 780px; margin: 40px auto 0; }

.article-breadcrumb { align-items: center; color: var(--muted); display: flex; font-size: .8rem; gap: 6px; margin-bottom: 18px; }
.article-breadcrumb a { color: var(--muted); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--ink); }

.article-header { margin-bottom: 32px; }
.article-header-top { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.article-date { color: var(--muted); font-size: .82rem; }
.article-title { font-size: clamp(1.9rem,3.5vw,3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 12px 0 10px; }
.article-subtitle { color: var(--muted); font-size: 1.15rem; line-height: 1.6; margin: 0 0 20px; }

/* Byline */
.article-byline { align-items: center; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; padding-top: 16px; }
.article-byline-avatar { align-items: center; background: var(--amber-soft); border-radius: 50%; color: #92570a; display: flex; flex-shrink: 0; font-size: .8rem; font-weight: 700; height: 36px; justify-content: center; width: 36px; }
.article-byline-info { flex: 1; }
.article-byline-author { color: var(--ink); display: block; font-size: .88rem; font-weight: 700; }
.article-byline-meta { color: var(--muted); display: block; font-size: .78rem; }
.article-share { margin-left: auto; }
.share-btn { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); cursor: pointer; display: flex; font-size: .75rem; gap: 5px; padding: 5px 12px; transition: border-color .12s, color .12s; }
.share-btn:hover { border-color: var(--amber-honey); color: var(--ink); }

/* Prose body */
.prose { font-size: 1.02rem; line-height: 1.8; }
.prose p { color: var(--coffee-bean); margin: 0 0 1.3em; }
.prose h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.025em; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.7em 0 .5em; }
.prose h4 { font-size: 1.05rem; font-weight: 700; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.prose li { color: var(--coffee-bean); margin-bottom: .4em; }
.prose li + li { margin-top: .2em; }
.prose blockquote { border-left: 3px solid var(--amber-honey); color: var(--muted); font-size: 1.08rem; font-style: italic; margin: 1.5em 0; padding: .6em 0 .6em 1.4em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--amber-honey); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--coffee-bean); }
.prose pre { background: var(--bright-snow); border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; line-height: 1.6; overflow-x: auto; padding: 16px 20px; margin: 1.2em 0; }
.prose code { background: var(--bright-snow); border: 1px solid var(--line); border-radius: 4px; font-size: .88em; padding: 2px 5px; }
.prose pre code { background: none; border: none; padding: 0; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { border-collapse: collapse; font-size: .92rem; margin: 1.2em 0; width: 100%; }
.prose th { background: var(--bright-snow); border: 1px solid var(--line); font-weight: 700; padding: 8px 12px; text-align: left; }
.prose td { border: 1px solid var(--line); padding: 8px 12px; }
.prose img { border-radius: 8px; display: block; height: auto; margin: 1.5em auto; max-width: 100%; }

/* Tags strip */
.article-tags { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-tags-label { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* Author card */
.article-author-card { align-items: center; background: var(--bright-snow); border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 16px; margin-top: 40px; padding: 20px 24px; }
.aac-avatar { align-items: center; background: var(--amber-soft); border-radius: 50%; color: #92570a; display: flex; flex-shrink: 0; font-size: 1rem; font-weight: 800; height: 44px; justify-content: center; width: 44px; }
.aac-name { color: var(--ink); display: block; font-size: .9rem; font-weight: 700; margin-bottom: 3px; }
.aac-bio { color: var(--muted); font-size: .82rem; line-height: 1.55; }

/* Related articles */
.article-related { margin-top: 56px; }
.article-related-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 20px; }

/* Article footer */
.article-footer { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; }

/* Article sidebar */
.article-sidebar { position: sticky; top: 90px; }
.article-sidebar-inner { display: flex; flex-direction: column; gap: 20px; }
.sidebar-lesson-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-lesson { align-items: flex-start; border-radius: 7px; color: var(--muted); display: flex; font-size: .82rem; gap: 8px; padding: 7px 10px; text-decoration: none; transition: background .1s; }
.sidebar-lesson:hover, .sidebar-lesson--active { background: rgba(69,105,144,.08); color: var(--ink); }
.sidebar-lesson--active { font-weight: 700; }
.sidebar-lesson-num { background: rgba(23,15,17,.07); border-radius: 50%; color: var(--muted); flex-shrink: 0; font-size: .68rem; font-weight: 700; height: 18px; line-height: 18px; text-align: center; width: 18px; }
.sidebar-lesson--active .sidebar-lesson-num { background: rgba(69,105,144,.15); color: #2a5278; }
.sidebar-lesson-title { flex: 1; line-height: 1.35; }
.sidebar-lesson-time { color: var(--muted); flex-shrink: 0; font-size: .7rem; }

/* ── Learning-specific ───────────────────────────────────────────────────── */
.learning-time-badge { background: rgba(69,105,144,.1); border-radius: 100px; color: #2a5278; font-size: .7rem; font-weight: 700; padding: 2px 9px; }
.learning-meta-chips { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.learning-chip { align-items: center; background: var(--bright-snow); border: 1px solid var(--line); border-radius: 100px; color: var(--muted); display: inline-flex; font-size: .78rem; gap: 5px; padding: 4px 10px; }

/* Next lesson card */
.next-lesson-card { background: var(--bright-snow); border: 1px solid var(--line); border-radius: 12px; margin-top: 40px; overflow: hidden; }
.next-lesson-label { background: rgba(69,105,144,.1); border-bottom: 1px solid var(--line); color: #2a5278; display: block; font-size: .7rem; font-weight: 700; letter-spacing: .07em; padding: 8px 16px; text-transform: uppercase; }
.next-lesson-link { align-items: center; color: var(--ink); display: flex; gap: 16px; justify-content: space-between; padding: 16px; text-decoration: none; transition: background .12s; }
.next-lesson-link:hover { background: rgba(69,105,144,.06); }
.next-lesson-title { display: block; font-size: .95rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 3px; }
.next-lesson-meta { color: var(--muted); display: block; font-size: .78rem; }

/* ── Newsroom updates ────────────────────────────────────────────────────── */
.newsroom-section { max-width: 1180px; margin: 0 auto; padding: 0 24px 80px; }

/* Featured announcement */
.newsroom-featured {
  background: var(--coffee-bean);
  border-radius: 16px;
  color: #fbfaf8;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  margin: 32px 0 40px;
  overflow: hidden;
}
.newsroom-featured-img { overflow: hidden; }
.newsroom-featured-img img { display: block; height: 100%; object-fit: cover; width: 100%; }
.newsroom-featured-body { display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 40px 44px; }
.newsroom-featured-top { align-items: center; display: flex; gap: 12px; }
.newsroom-featured-top time { color: rgba(251,250,248,.5); font-size: .82rem; }
.newsroom-featured-title { font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 0; }
.newsroom-featured-title a { color: inherit; text-decoration: none; }
.newsroom-featured-title a:hover { text-decoration: underline; }
.newsroom-featured-excerpt { color: rgba(251,250,248,.65); font-size: .95rem; line-height: 1.6; margin: 0; }

/* Newsroom grid */
.newsroom-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.newsroom-card { background: var(--panel-bg); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.newsroom-card:hover { border-color: rgba(232,170,20,.55); box-shadow: 0 8px 28px rgba(23,15,17,.09); }
.newsroom-card-img-wrap { aspect-ratio: 16/9; display: block; overflow: hidden; }
.newsroom-card-img-wrap img { display: block; height: 100%; object-fit: cover; width: 100%; transition: transform .3s; }
.newsroom-card:hover .newsroom-card-img-wrap img { transform: scale(1.03); }
.newsroom-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.newsroom-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.newsroom-meta time { color: var(--muted); font-size: .78rem; }
.newsroom-title { font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin: 0; }
.newsroom-title a { color: var(--ink); text-decoration: none; }
.newsroom-title a:hover { color: var(--amber-honey); }
.newsroom-excerpt { color: var(--muted); flex: 1; font-size: .88rem; line-height: 1.6; margin: 0; }

/* Newsroom category pills — reuse cat-pill variants */
.newsroom-cat--product     { background: rgba(69,105,144,.12); color: #2a5278; }
.newsroom-cat--company     { background: rgba(232,170,20,.15); color: #92570a; }
.newsroom-cat--press       { background: rgba(23,15,17,.07); color: var(--coffee-bean); }
.newsroom-cat--partnership { background: rgba(80,160,100,.12); color: #1e6e3a; }

/* Newsroom post */
.newsroom-post-page .article-title { font-size: clamp(1.8rem,3.5vw,2.8rem); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .content-body { grid-template-columns: 1fr; }
  .content-sidebar { display: none; }
  .newsroom-featured { grid-template-columns: 1fr; }
  .newsroom-featured-img { max-height: 220px; }
  .content-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .content-hero { padding: 36px 24px; }
  .content-grid, .content-grid--3, .newsroom-grid { grid-template-columns: 1fr; }
  .article-page, .content-section, .newsroom-section { padding: 0 16px 56px; }
  .article-author-card { flex-direction: column; align-items: flex-start; }
}

/* ── cookie-consent continues below ────────────────────────────────────── */
.cookie-consent {
  align-items: center;
  background: var(--bright-snow);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(23,15,17,0.24);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0,1fr) auto;
  inset: auto var(--page-x) var(--page-x) var(--page-x);
  opacity: 0;
  padding: 20px;
  position: fixed;
  transform: translateY(18px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 100;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent__eyebrow {
  color: var(--bubblegum-pink);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.cookie-consent h2 {
  font-size: 1.25rem;
  margin: 0 0 6px;
}

.cookie-consent p {
  color: var(--muted);
  margin: 0;
}

.cookie-consent a {
  color: var(--coffee-bean);
  display: inline-flex;
  font-weight: 800;
  margin-top: 8px;
}

.cookie-consent__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-modal {
  align-items: center;
  background: rgba(23,15,17,0.58);
  display: grid;
  inset: 0;
  justify-items: center;
  opacity: 0;
  padding: 20px;
  position: fixed;
  transition: opacity .18s ease;
  z-index: 110;
}

.cookie-consent[hidden],
.cookie-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.cookie-consent:not(.is-visible),
.cookie-modal:not(.is-visible) {
  pointer-events: none;
}

.cookie-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent.is-visible {
  pointer-events: auto;
}

/* ── Ask Atria guided assistant ─────────────────────────────────────────── */
.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.atria-assistant {
  bottom: 22px;
  position: fixed;
  right: 22px;
  z-index: 75;
}

.atria-launcher {
  align-items: center;
  background: var(--coffee-bean);
  border: 1px solid rgba(232,170,20,.34);
  border-radius: 999px;
  box-shadow: 0 20px 52px rgba(23,15,17,.24);
  color: var(--bright-snow);
  cursor: pointer;
  display: flex;
  gap: 11px;
  max-width: min(340px, calc(100vw - 34px));
  padding: 10px 16px 10px 10px;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.atria-launcher:hover {
  border-color: rgba(232,170,20,.7);
  transform: translateY(-1px);
}

.atria-launcher__spark {
  align-items: center;
  background: var(--amber-honey);
  border-radius: 999px;
  box-sizing: border-box;
  color: var(--coffee-bean);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding-top: 2px;
  text-align: center;
  width: 34px;
}

.atria-launcher strong {
  display: block;
  font-size: .88rem;
  line-height: 1.1;
}

.atria-launcher small {
  align-items: center;
  color: rgba(251,250,248,.62);
  display: flex;
  font-size: .72rem;
  gap: 6px;
  line-height: 1.2;
  margin-top: 2px;
}

.atria-launcher__dot {
  background: #5ee6b5;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(94,230,181,.14);
  display: inline-block;
  height: 7px;
  width: 7px;
}

.atria-panel {
  background: #fbfaf8;
  border: 1px solid rgba(23,15,17,.1);
  border-radius: 14px;
  bottom: 62px;
  box-shadow: 0 30px 90px rgba(23,15,17,.26);
  color: var(--coffee-bean);
  max-height: min(720px, calc(100vh - 108px));
  overflow: auto;
  position: absolute;
  right: 0;
  width: min(440px, calc(100vw - 34px));
}

.atria-panel[hidden] {
  display: none;
}

.atria-panel__head {
  align-items: flex-start;
  background: linear-gradient(135deg, #fffaf0, #fbfaf8);
  border-bottom: 1px solid rgba(23,15,17,.08);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 18px 14px;
}

.atria-eyebrow {
  color: #8a5a00;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.atria-panel h2 {
  color: var(--coffee-bean);
  font-size: 1.08rem;
  margin: 0;
}

.atria-close {
  align-items: center;
  background: rgba(23,15,17,.06);
  border: 1px solid rgba(23,15,17,.08);
  border-radius: 999px;
  color: var(--coffee-bean);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.1rem;
  height: 32px;
  justify-content: center;
  line-height: 1;
  width: 32px;
}

.atria-search {
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0,1fr) 42px;
  padding: 16px 18px 8px;
}

.atria-search input {
  background: #fff;
  border: 1px solid rgba(23,15,17,.15);
  border-radius: 10px;
  color: var(--coffee-bean);
  font: inherit;
  min-height: 42px;
  padding: 0 12px;
}

.atria-search input:focus {
  border-color: rgba(232,170,20,.72);
  box-shadow: 0 0 0 3px rgba(232,170,20,.18);
  outline: none;
}

.atria-search button {
  align-items: center;
  background: var(--amber-honey);
  border: 0;
  border-radius: 10px;
  color: var(--coffee-bean);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
}

.atria-note {
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.45;
  margin: 0;
  padding: 0 18px 10px;
}

.atria-scan {
  background: #fff7df;
  border: 1px solid rgba(232,170,20,.26);
  border-radius: 11px;
  margin: 2px 18px 12px;
  overflow: hidden;
  padding: 11px 12px 10px;
}

.atria-scan[hidden] {
  display: none;
}

.atria-scan__row {
  align-items: center;
  color: var(--coffee-bean);
  display: flex;
  font-size: .82rem;
  gap: 8px;
  line-height: 1.2;
  min-height: 18px;
}

.atria-scan__dot {
  animation: atria-pulse 1.1s ease-in-out infinite;
  background: var(--amber-honey);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(232,170,20,.34);
  display: inline-block;
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.atria-scan__bar {
  background: rgba(23,15,17,.08);
  border-radius: 999px;
  height: 5px;
  margin: 9px 0 7px;
  overflow: hidden;
}

.atria-scan__bar span {
  animation: atria-scan-bar .72s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(232,170,20,.05), var(--amber-honey), rgba(232,170,20,.05));
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 58%;
}

.atria-scan p {
  color: #735516;
  font-size: .72rem;
  line-height: 1.35;
  margin: 0 0 0 17px;
}

.atria-suggestions {
  display: grid;
  gap: 8px;
  padding: 0 18px 16px;
}

.atria-suggestion {
  background: #fff;
  border: 1px solid rgba(23,15,17,.1);
  border-radius: 9px;
  color: var(--coffee-bean);
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.35;
  padding: 10px 12px;
  text-align: left;
}

.atria-suggestion:hover {
  border-color: rgba(232,170,20,.46);
  color: #8a5a00;
}

.atria-answer {
  border-top: 1px solid rgba(23,15,17,.08);
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
}

.atria-search-state {
  background: #fff;
  border: 1px dashed rgba(23,15,17,.16);
  border-radius: 11px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
  padding: 14px;
}

.atria-search-state span {
  display: block;
  font-size: .76rem;
  margin-top: 4px;
}

.atria-empty {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
  margin: 0;
}

.atria-section-label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.atria-popular {
  margin-top: 12px;
}

.atria-popular__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.atria-popular-chip,
.atria-guides button,
.atria-guides a,
.atria-followups a {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23,15,17,.1);
  border-radius: 9px;
  color: var(--coffee-bean);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  justify-content: center;
  line-height: 1.25;
  min-height: 38px;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
}

.atria-popular-chip:hover,
.atria-guides button:hover,
.atria-guides a:hover,
.atria-followups a:hover {
  border-color: rgba(232,170,20,.54);
  color: #8a5a00;
}

.atria-intent {
  background: #fff7df;
  border: 1px solid rgba(232,170,20,.24);
  border-radius: 11px;
  padding: 12px;
}

.atria-intent strong {
  color: var(--coffee-bean);
  display: block;
  font-size: .86rem;
  line-height: 1.35;
}

.atria-intent span,
.atria-searched {
  color: #735516;
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.35;
  margin-top: 6px;
  text-transform: uppercase;
}

.atria-searched {
  background: rgba(23,15,17,.04);
  border: 1px solid rgba(23,15,17,.06);
  border-radius: 999px;
  color: var(--muted);
  margin-top: 0;
  padding: 7px 10px;
  text-transform: none;
}

.atria-voice {
  color: var(--coffee-bean) !important;
  font-weight: 800;
  margin-bottom: 6px !important;
}

.atria-brain-note {
  background: rgba(94,230,181,.1);
  border: 1px solid rgba(35,151,116,.18);
  border-radius: 10px;
  color: #185f4b;
  font-size: .8rem;
  font-weight: 850;
  line-height: 1.4;
  padding: 10px 12px;
}

.atria-clarify {
  background: #fff;
  border: 1px solid rgba(23,15,17,.1);
  border-radius: 11px;
  padding: 13px;
}

.atria-clarify strong {
  color: var(--coffee-bean);
  display: block;
  font-size: .9rem;
  line-height: 1.3;
}

.atria-clarify p {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
  margin: 5px 0 10px;
}

.atria-clarify__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.atria-clarify__grid button {
  background: #fff7df;
  border: 1px solid rgba(232,170,20,.28);
  border-radius: 9px;
  color: var(--coffee-bean);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.25;
  min-height: 38px;
  padding: 8px 10px;
}

.atria-clarify__grid button:hover {
  border-color: rgba(232,170,20,.62);
  color: #8a5a00;
}

.atria-result-card {
  background: #fff;
  border: 1px solid rgba(23,15,17,.1);
  border-radius: 11px;
  padding: 14px;
}

.atria-result-card h3 {
  color: var(--coffee-bean);
  font-size: .98rem;
  margin: 0 0 7px;
}

.atria-result-card p {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
  margin: 0;
}

.atria-result-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: .72rem;
  font-weight: 800;
  gap: 7px;
  justify-content: space-between;
  letter-spacing: .05em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.atria-result-source {
  color: #8a5a00;
}

.atria-match-bar {
  background: rgba(23,15,17,.08);
  border-radius: 999px;
  height: 5px;
  margin: 10px 0 0;
  overflow: hidden;
}

.atria-match-bar span {
  background: linear-gradient(90deg, var(--amber-honey), #5ee6b5);
  border-radius: inherit;
  display: block;
  height: 100%;
  min-width: 24%;
}

.atria-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.atria-chip {
  background: rgba(232,170,20,.11);
  border: 1px solid rgba(232,170,20,.2);
  border-radius: 999px;
  color: #8a5a00;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .05em;
  padding: 4px 7px;
  text-transform: uppercase;
}

.atria-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.atria-actions a {
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 850;
  padding: 8px 10px;
  text-decoration: none;
}

.atria-actions a:first-child {
  background: var(--coffee-bean);
  color: var(--bright-snow);
}

.atria-actions a:not(:first-child) {
  background: rgba(23,15,17,.05);
  color: var(--coffee-bean);
}

.atria-guides,
.atria-followups {
  background: #fff;
  border: 1px solid rgba(23,15,17,.08);
  border-radius: 11px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.atria-guides {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.atria-guides::before {
  color: var(--muted);
  content: 'Quick paths';
  font-size: .68rem;
  font-weight: 900;
  grid-column: 1 / -1;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.atria-guides a {
  background: var(--coffee-bean);
  border-color: var(--coffee-bean);
  color: var(--bright-snow);
}

.atria-guides a:hover {
  background: #2b1c20;
  border-color: rgba(232,170,20,.7);
  color: var(--bright-snow);
}

.atria-followups {
  grid-template-columns: 1fr;
}

.atria-followups a {
  justify-content: flex-start;
  text-align: left;
}

.atria-lead {
  background: var(--coffee-bean);
  border: 1px solid rgba(232,170,20,.28);
  border-radius: 12px;
  color: var(--bright-snow);
  display: grid;
  gap: 9px;
  padding: 13px;
}

.atria-lead strong {
  font-size: .9rem;
  line-height: 1.3;
}

.atria-lead p {
  color: rgba(251,250,248,.72);
  font-size: .76rem;
  line-height: 1.4;
  margin: 0;
}

.atria-lead label {
  display: grid;
  gap: 4px;
}

.atria-lead label span {
  color: rgba(251,250,248,.72);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.atria-lead input {
  background: rgba(255,255,255,.96);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--coffee-bean);
  font: inherit;
  min-height: 36px;
  padding: 0 10px;
}

.atria-lead input:focus {
  border-color: var(--amber-honey);
  box-shadow: 0 0 0 3px rgba(232,170,20,.18);
  outline: none;
}

.atria-lead button {
  background: var(--amber-honey);
  border: 0;
  border-radius: 8px;
  color: var(--coffee-bean);
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  min-height: 38px;
}

@keyframes atria-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,170,20,.34); transform: scale(1); }
  50% { box-shadow: 0 0 0 7px rgba(232,170,20,0); transform: scale(.88); }
}

@keyframes atria-scan-bar {
  0% { transform: translateX(-84%); }
  100% { transform: translateX(180%); }
}

.cookie-modal__panel {
  background: var(--bright-snow);
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(23,15,17,0.36);
  max-width: 720px;
  padding: clamp(20px,4vw,32px);
  transform: translateY(12px) scale(.98);
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
  width: min(100%, 720px);
}

.cookie-modal.is-visible .cookie-modal__panel {
  transform: translateY(0) scale(1);
}

.cookie-modal__header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cookie-modal__header h2 {
  font-size: 1.6rem;
  margin: 0;
}

.cookie-modal__close {
  background: var(--coffee-bean);
  border: 0;
  border-radius: 999px;
  color: var(--bright-snow);
  cursor: pointer;
  font-size: 1.2rem;
  height: 34px;
  line-height: 1;
  width: 34px;
}

.cookie-option {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 16px;
}

.cookie-option h3 {
  margin: 0 0 4px;
}

.cookie-option p {
  color: var(--muted);
  margin: 0;
}

.switch {
  flex: 0 0 auto;
  height: 30px;
  position: relative;
  width: 54px;
}

.switch input {
  cursor: pointer;
  height: 30px;
  opacity: 0;
  position: absolute;
  inset: 0;
  margin: 0;
  width: 54px;
  z-index: 2;
}

.switch span {
  background: rgba(69,105,144,0.24);
  border-radius: 999px;
  cursor: pointer;
  display: block;
  height: 30px;
  position: relative;
  transition: background .18s ease;
  width: 54px;
}

.switch input:focus-visible + span {
  outline: 3px solid var(--amber-soft);
}

.switch span::after {
  background: var(--bright-snow);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(23,15,17,0.24);
  content: "";
  height: 24px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform .18s ease;
  width: 24px;
}

.switch input:checked + span {
  background: var(--amber-honey);
}

.switch input:checked + span::after {
  transform: translateX(24px);
}

.auth-page { display: grid; min-height: 70vh; place-items: center; }
.auth-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 32px var(--shadow);
  max-width: 460px;
  padding: 32px;
  width: 100%;
}
.auth-card h1 { font-size: 2rem; margin: 0 0 24px; }
.auth-card label { display: block; font-weight: 700; margin-bottom: 6px; }
.auth-card input {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  padding: 11px 14px;
  width: 100%;
}
.auth-card input:focus { border-color: var(--amber-honey); outline: 3px solid var(--amber-soft); }
.auth-card .helptext, .auth-card ul { color: var(--muted); font-size: 0.88rem; }
.auth-card button { border: 0; cursor: pointer; width: 100%; }
.form-note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
.form-note a { color: var(--amber-honey); font-weight: 700; }

/* ── App shell ───────────────────────────────────────── */
.app-body { background: var(--app-bg); }

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0,1fr);
  min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────────────── */
.sidebar {
  background: var(--coffee-bean);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 18px 10px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.sidebar-brand { padding: 2px 8px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 10px; }
.sidebar-workspace-name { color: rgba(251,250,248,.28); display: block; font-size: .66rem; font-weight: 500; letter-spacing: .01em; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-link {
  color: var(--bright-snow);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 2px 12px;
}
.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sidebar-section + .sidebar-section {
  border-top: 1px solid rgba(251,250,248,.08);
  padding-top: 12px;
}
.sidebar-section-label {
  color: rgba(251,250,248,.3);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  padding: 2px 10px 7px;
  text-transform: uppercase;
}

.app-shell .sidebar-link {
  align-items: center;
  border-radius: 7px;
  color: rgba(251,250,248,0.58);
  display: flex;
  font-size: .85rem;
  font-weight: 600;
  gap: 9px;
  min-height: 34px;
  padding: 7px 10px;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.app-shell .sidebar-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-shell .sidebar-link:hover { background: rgba(251,250,248,0.07); color: rgba(251,250,248,0.88); }
.app-shell .sidebar-link.active {
  background: var(--sidebar-item-active-bg);
  color: var(--amber-honey);
  font-weight: 650;
}
.app-shell .sidebar-link--primary {
  background: rgba(251,250,248,.05);
  color: rgba(251,250,248,.78);
  font-weight: 700;
}
.app-shell .sidebar-link--primary.active {
  background: rgba(232,170,20,.17);
}

.nav-icon { flex-shrink: 0; height: 18px; width: 18px; }

.sidebar-footer {
  border-top: 1px solid rgba(251,250,248,0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
}
.sidebar-user { color: rgba(251,250,248,0.5); font-size: 0.82rem; padding: 0 2px; }
.sidebar-logout {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: rgba(251,250,248,0.35);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  padding: 5px 8px;
  text-align: left;
  transition: color .12s;
}
.sidebar-logout:hover { color: rgba(251,250,248,0.75); }

/* ── Sidebar user row ────────────────────────────────── */
.sidebar-user-row {
  align-items: center;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  margin-bottom: 2px;
  padding: 6px 8px;
  transition: background .12s;
}
.sidebar-user-row:hover { background: rgba(255,255,255,.05); }
.sidebar-avatar {
  align-items: center;
  background: rgba(232,170,20,.15);
  border-radius: 6px;
  color: var(--amber-honey);
  display: flex;
  flex-shrink: 0;
  font-size: .67rem;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  letter-spacing: -.01em;
  width: 26px;
}
.sidebar-user-info { display: flex; flex-direction: column; flex: 1; gap: 1px; min-width: 0; }
.sidebar-user-name { color: rgba(251,250,248,.7); font-size: .77rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-workspace-tag { color: rgba(251,250,248,.27); font-size: .65rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* ── Quick-add popover ───────────────────────────────── */
.quick-add-wrap { position: relative; margin-bottom: 4px; }
.quick-add-btn {
  align-items: center; background: rgba(232,170,20,.1); border: 1px solid rgba(232,170,20,.25);
  border-radius: 8px; color: var(--amber-honey); cursor: pointer; display: flex;
  font-size: .78rem; font-weight: 600; gap: 8px; padding: 6px 10px; width: 100%;
  transition: background .12s, border-color .12s;
}
.quick-add-btn:hover { background: rgba(232,170,20,.18); border-color: rgba(232,170,20,.4); }
.quick-add-popover {
  background: #1a1210; border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
  bottom: calc(100% + 8px); box-shadow: 0 12px 40px rgba(0,0,0,.6);
  display: flex; flex-direction: column; gap: 2px; left: 0; padding: 6px;
  position: absolute; width: 100%; z-index: 200;
}
.quick-add-popover[hidden] { display: none; }
.qa-item {
  align-items: center; border-radius: 7px; color: rgba(251,250,248,.75); display: flex;
  font-size: .82rem; gap: 8px; padding: 8px 10px; text-decoration: none; transition: background .1s, color .1s;
}
.qa-item:hover { background: rgba(255,255,255,.07); color: #fbfaf8; }

/* ── App content area ────────────────────────────────── */
.app-content { display: flex; flex-direction: column; min-width: 0; }

/* ── App top bar ─────────────────────────────────────── */
.app-topbar {
  align-items: center;
  background: rgba(242, 241, 239, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 15, 17, 0.07);
  display: flex;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.app-topbar-search {
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 15, 17, 0.1);
  border-radius: 9px;
  color: rgba(23, 15, 17, 0.38);
  cursor: pointer;
  display: flex;
  flex: 1;
  font: inherit;
  font-size: .83rem;
  gap: 8px;
  max-width: 420px;
  padding: 8px 12px;
  transition: background .12s, border-color .12s;
}
.app-topbar-search:hover {
  background: rgba(255, 255, 255, .93);
  border-color: rgba(23, 15, 17, .16);
  color: rgba(23, 15, 17, .55);
}
.app-topbar-search-text { flex: 1; text-align: left; }
.app-topbar-search kbd {
  background: rgba(23, 15, 17, .06);
  border: 1px solid rgba(23, 15, 17, .09);
  border-radius: 4px;
  font-family: inherit;
  font-size: .61rem;
  padding: 2px 6px;
}
.app-topbar-right {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.app-topbar-notif {
  align-items: center;
  color: rgba(23, 15, 17, .4);
  display: flex;
  position: relative;
  text-decoration: none;
  transition: color .15s;
}
.app-topbar-notif:hover { color: var(--coffee-bean); }
.app-topbar-notif .notif-badge { right: -7px; top: -6px; }

.page {
  max-width: 1100px;
  padding: 28px 32px 60px;
}

.page-narrow { max-width: 720px; }

/* ── Page header ─────────────────────────────────────── */
.page-header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.page-greeting {
  font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 4px;
}

.page-title {
  font-size: clamp(1.5rem,2.5vw,2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 4px;
}

.page-subtitle { color: var(--muted); margin: 0; }

.page-actions { align-items: center; display: flex; flex-shrink: 0; gap: 10px; margin-top: 4px; }

.back-link { color: var(--muted); font-size: 0.88rem; font-weight: 600; display: block; margin-bottom: 8px; }
.back-link:hover { color: var(--ink); }

/* Breadcrumb trail */
.breadcrumb { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; flex-wrap: wrap; }
.bc-link { color: rgba(251,250,248,.35); font-size: .78rem; text-decoration: none; transition: color .12s; }
.bc-link:hover { color: rgba(251,250,248,.7); }
.bc-sep { color: rgba(251,250,248,.2); font-size: .75rem; }
.bc-current { color: rgba(251,250,248,.6); font-size: .78rem; }

/* ── Summary cards ───────────────────────────────────── */
.summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4,minmax(140px,1fr));
  margin-bottom: 24px;
}

.summary-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  border-top-width: 4px;
  display: block;
  padding: 18px 20px 20px;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
}
.summary-card:hover { box-shadow: 0 4px 16px var(--shadow); transform: translateY(-1px); }
.summary-dim .summary-number { color: var(--muted); }
.summary-dim .summary-label  { opacity: .7; }

.summary-blue  { border-top-color: var(--baltic-blue); }
.summary-pink  { border-top-color: var(--bubblegum-pink); }
.summary-dark  { border-top-color: var(--coffee-bean); }
.summary-amber { border-top-color: var(--amber-honey); }

.summary-label { color: var(--muted); display: block; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.summary-number { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1.1; margin: 8px 0 4px; }
.summary-sub { color: var(--muted); display: block; font-size: 0.82rem; }

/* ── Panels ──────────────────────────────────────────── */
.panel {
  background: var(--panel-bg);
  border: 1px solid rgba(23,15,17,.08);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(23,15,17,.04), 0 6px 18px rgba(23,15,17,.03);
  margin-bottom: 18px;
  padding: 22px 24px;
}
.panel-flush { padding: 0; overflow: hidden; }
.panel-flush .panel-title { padding: 20px 24px 16px; margin: 0; }

.panel-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.panel-header-link {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  transition: color .12s;
}
.panel-header-link:hover { color: var(--amber-honey); }

.panel-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.panel-footer {
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
  margin-top: 14px;
}

.empty-panel { padding: 36px 24px; }
.empty-state { color: var(--muted); }
.empty-state a { color: var(--amber-honey); font-weight: 700; }

/* ── Priority action cards ───────────────────────────── */
.action-cards { display: grid; gap: 10px; }

.action-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.action-card-body {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.action-card-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.action-asset-name { color: var(--ink); font-weight: 800; }
.action-asset-name:hover { color: var(--amber-honey); }
.action-warning-text { color: var(--muted); font-size: 0.88rem; }
.action-card-right { align-items: center; display: flex; flex-shrink: 0; gap: 12px; }

/* ── Tables ──────────────────────────────────────────── */
.data-table { border-collapse: collapse; width: 100%; }
.data-table th {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  text-align: left;
  text-transform: uppercase;
}
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(23,15,17,0.025); }
.table-row-link { cursor: pointer; }
.table-link { color: var(--ink); font-weight: 700; }
.table-link:hover { color: var(--amber-honey); }
.table-sub { color: var(--muted); display: block; font-size: 0.82rem; margin-top: 1px; }
.text-muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ── Completeness bar ────────────────────────────────── */
.completeness-cell { align-items: center; display: flex; gap: 8px; }
.completeness-bar {
  background: rgba(23,15,17,0.08);
  border-radius: 999px;
  flex: 1;
  height: 6px;
  max-width: 80px;
  overflow: hidden;
}
.completeness-fill { background: var(--amber-honey); border-radius: 999px; height: 100%; }
.completeness-label { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }

/* ── Status badges ───────────────────────────────────── */
.status-badge {
  border-radius: 6px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
}
.status-healthy    { background: rgba(69,105,144,0.12); color: var(--baltic-blue); }
.status-at_risk    { background: var(--pink-soft);      color: var(--bubblegum-pink); }
.status-stale      { background: var(--amber-soft);     color: var(--coffee-bean); }
.status-incomplete { background: rgba(23,15,17,0.07);   color: var(--muted); }

/* ── Risk badges ─────────────────────────────────────── */
.risk-badge {
  border-radius: 6px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
}
.risk-high   { background: var(--pink-soft); color: var(--bubblegum-pink); }
.risk-medium { background: var(--amber-soft); color: var(--coffee-bean); }
.risk-low    { background: rgba(69,105,144,0.12); color: var(--baltic-blue); }

/* App page families: Records, Governance, Command */
.records-page,
.governance-page,
.command-page { width: 100%; }
.records-page { max-width: 1240px; }
.command-page { max-width: 1320px; }
.governance-page { max-width: 1120px; }
.records-page .page-header,
.governance-page .page-header,
.command-page .page-header {
  background: rgba(251,250,248,.76);
  border: 1px solid rgba(23,15,17,.08);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(23,15,17,.04);
  margin-bottom: 18px;
  padding: 18px 20px;
}
.records-page .page-title,
.governance-page .page-title,
.command-page .page-title { letter-spacing: 0; }
.records-page .page-subtitle,
.governance-page .page-subtitle,
.command-page .page-subtitle,
.page-sub {
  color: rgba(69,105,144,.9);
  font-size: .9rem;
  line-height: 1.5;
}
.records-page .toolbar,
.records-page .filter-tabs,
.records-page .tab-bar,
.command-page .sr-filters {
  background: rgba(251,250,248,.78);
  border: 1px solid rgba(23,15,17,.08);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(23,15,17,.035);
  padding: 10px;
}
.records-page .filter-tabs[style],
.records-page .tab-bar { margin-bottom: 14px !important; }
.records-page .panel,
.records-page .vendor-list,
.governance-page .panel,
.governance-page .role-card,
.governance-page .campaign-row,
.command-page .panel,
.command-page .sr-hero,
.command-page .sr-kpi,
.command-page .sr-filters,
.command-page .sr-no-cost-banner {
  border-color: rgba(23,15,17,.09);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(23,15,17,.04);
}
.records-page .data-table th,
.governance-page .data-table th {
  background: rgba(23,15,17,.025);
  color: rgba(69,105,144,.84);
  font-size: .68rem;
  font-weight: 850;
}
.records-page .data-table td,
.governance-page .data-table td {
  padding-bottom: 12px;
  padding-top: 12px;
}
.records-page .data-table tbody tr:hover,
.governance-page .data-table tbody tr:hover { background: rgba(232,170,20,.055); }
.records-page .table-row-link:hover .table-link,
.records-page .vendor-row:hover .vendor-row-name { color: var(--amber-honey); }
.records-page .vendor-list {
  background: var(--panel-bg);
  border: 1px solid rgba(23,15,17,.09);
  gap: 0;
  overflow: hidden;
}
.records-page .vendor-row {
  border: 0;
  border-bottom: 1px solid rgba(23,15,17,.08);
  border-radius: 0;
  box-shadow: none;
}
.records-page .vendor-row:last-child { border-bottom: 0; }
.records-page .vendor-row-meta { gap: 8px; }
.records-page .people-search-bar {
  background: rgba(23,15,17,.96);
  border-bottom-color: rgba(251,250,248,.1);
}
.records-page .psb-input { color: #fbfaf8; }
.records-page .psb-input::placeholder,
.records-page .psb-count,
.records-page .psb-icon { color: rgba(251,250,248,.42); }
.governance-page .page-header {
  background:
    linear-gradient(135deg, rgba(251,250,248,.94), rgba(251,250,248,.78)),
    radial-gradient(circle at 0% 0%, rgba(69,105,144,.12), transparent 32%);
}
.governance-page .panel { background: rgba(251,250,248,.82); }
.governance-page .two-column { gap: 18px; }
.governance-page .form-field { margin-bottom: 14px; }
.governance-page .role-card,
.governance-page .dept-card {
  background: rgba(251,250,248,.9);
  border-color: rgba(23,15,17,.09);
  box-shadow: 0 8px 22px rgba(23,15,17,.035);
}
.governance-page .perm-chip,
.governance-page .type-tag,
.governance-page .count-tag { border-radius: 999px; }
.governance-page .campaign-list { gap: 8px; }
.governance-page .campaign-row { background: rgba(251,250,248,.9); }
.command-page .page-header {
  background:
    radial-gradient(circle at 0% 0%, rgba(232,170,20,.18), transparent 34%),
    linear-gradient(135deg, #170f11, #241619);
  color: #fbfaf8;
}
.command-page .page-title,
.command-page .bc-current { color: #fbfaf8; }
.command-page .page-subtitle,
.command-page .bc-link,
.command-page .bc-sep { color: rgba(251,250,248,.58); }
.command-page .bc-link:hover { color: rgba(251,250,248,.86); }
.command-page .sr-filters { align-items: end; }
.command-page .sr-kpi { transition: transform .14s ease, box-shadow .14s ease; }
.command-page .sr-kpi:hover { transform: translateY(-1px); }

/* ── Severity badges ─────────────────────────────────── */
.severity-badge {
  border-radius: 6px;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  text-transform: uppercase;
}
.severity-critical    { background: var(--pink-soft);             color: var(--bubblegum-pink); }
.severity-important   { background: var(--amber-soft);            color: var(--coffee-bean); }
.severity-improvement { background: rgba(69,105,144,0.12);        color: var(--baltic-blue); }

/* ── Warning cards ───────────────────────────────────── */
.warning-list { display: grid; gap: 10px; }
.warning-card {
  align-items: center;
  border-left: 4px solid transparent;
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
}
.warning-critical    { background: rgba(244,91,105,0.06);  border-left-color: var(--bubblegum-pink); }
.warning-important   { background: var(--amber-soft);      border-left-color: var(--amber-honey); }
.warning-improvement { background: rgba(69,105,144,0.06);  border-left-color: var(--baltic-blue); }

.warning-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.warning-title { font-size: 0.94rem; font-weight: 700; }
.warning-desc { color: var(--muted); font-size: 0.88rem; }

/* ── Detail layout ───────────────────────────────────── */
.detail-title-row { align-items: center; display: flex; gap: 10px; flex-wrap: wrap; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.meta-badge {
  background: rgba(23,15,17,0.07);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
}

.detail-grid {
  display: grid;
  gap: 0 24px;
  grid-template-columns: 1.1fr 0.9fr;
}
.detail-col { display: flex; flex-direction: column; }

.detail-list { display: grid; gap: 0; margin: 0; }
.detail-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 0 2px;
  text-transform: uppercase;
}
.detail-list dd {
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  margin: 0;
  padding: 2px 0 10px;
}
.detail-list dd:last-child { border-bottom: none; }

/* ── Activity log ────────────────────────────────────── */
.activity-list { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.activity-item { align-items: flex-start; display: flex; gap: 12px; }
.activity-dot {
  background: var(--amber-honey);
  border-radius: 50%;
  flex-shrink: 0;
  height: 8px;
  margin-top: 7px;
  width: 8px;
}
.activity-desc { display: block; font-weight: 600; }
.activity-time { color: var(--muted); display: block; font-size: 0.82rem; margin-top: 1px; }

/* ── Notes ───────────────────────────────────────────── */
.notes-text { color: var(--ink); line-height: 1.6; }
.notes-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
}
.notes-input:focus { border-color: var(--amber-honey); outline: 3px solid var(--amber-soft); }

/* ── Toolbar & filters ───────────────────────────────── */
.toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.search-form { flex: 0 0 auto; }
.search-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  padding: 9px 14px;
  width: 240px;
}
.search-input:focus { border-color: var(--amber-honey); outline: 3px solid var(--amber-soft); }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tab {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 7px 12px;
  transition: background .12s, color .12s;
}
.filter-tab:hover { background: rgba(23,15,17,0.04); color: var(--ink); }
.filter-tab.active { background: var(--coffee-bean); border-color: var(--coffee-bean); color: var(--bright-snow); }

/* ── Type selector ───────────────────────────────────── */
.type-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
}
.type-card {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  display: block;
  padding: 18px 16px;
  text-align: center;
  transition: border-color .15s, background .15s;
}
.type-card:hover { background: var(--amber-soft); border-color: var(--amber-honey); }
.type-label { display: block; font-weight: 700; }
.type-tag {
  background: rgba(23,15,17,0.07);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
}
.type-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Forms ───────────────────────────────────────────── */
.form-grid {
  display: grid;
  gap: 16px 20px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.88rem; font-weight: 700; }
.form-field-full { grid-column: 1 / -1; }

.form-field input,
.form-field select,
.form-field textarea,
.form-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-input:focus { border-color: var(--amber-honey); outline: 3px solid var(--amber-soft); }

.field-error { color: var(--bubblegum-pink); font-size: 0.84rem; }
.required-note { color: var(--muted); font-size: 0.82rem; font-weight: 400; }

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-bottom: 32px;
}
.form-actions-inline { justify-content: flex-start; margin-top: 16px; padding-bottom: 0; }

/* ── Messages ────────────────────────────────────────── */
.message-list { padding: 16px 36px 0; }
.message {
  background: rgba(69,105,144,0.12);
  border: 1px solid rgba(69,105,144,0.25);
  border-radius: 8px;
  color: var(--baltic-blue);
  font-weight: 600;
  margin-bottom: 8px;
  padding: 12px 16px;
}

/* ── Two-column ──────────────────────────────────────── */
.two-column {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

/* ── Misc ────────────────────────────────────────────── */
.count-tag {
  background: rgba(23,15,17,0.07);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
}

.settings-hint {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 12px;
}

/* ── Settings invite ─────────────────────────────────── */
.settings-invite-form {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}

.settings-invite-title {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.invite-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.invite-row .form-input { flex: 1; min-width: 200px; }

.invite-pending-row {
  align-items: center;
  background: rgba(23,15,17,0.03);
  border-radius: 8px;
  display: flex;
  font-size: 0.86rem;
  gap: 10px;
  margin-bottom: 6px;
  padding: 8px 12px;
}

/* ── Person permissions ───────────────────────────────── */
.perm-section {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

.perm-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.perm-hint {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 2px;
}

.perm-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perm-check {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 8px;
}

.perm-check input[type="checkbox"] {
  accent-color: var(--amber-honey);
  height: 16px;
  width: 16px;
}

/* Permission rows (group form) */
.perm-row {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.perm-row:last-child { border-bottom: none; }
.perm-row-display { cursor: default; }

.perm-toggle {
  flex-shrink: 0;
  padding-top: 2px;
}
.perm-toggle input[type="checkbox"] {
  accent-color: var(--amber-honey);
  height: 17px;
  width: 17px;
  cursor: pointer;
}

.perm-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.perm-body strong { font-size: .9rem; }
.perm-body .perm-hint {
  display: block;
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0;
}

.perm-toggle-status {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
}
.perm-on  { background: #3BB273; }
.perm-off { background: var(--line); }

/* Simple list */
.simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.simple-list li { font-size: .9rem; }

/* Danger button */
.button.danger {
  background: transparent;
  border: 1.5px solid #E84855;
  color: #E84855;
}
.button.danger:hover { background: rgba(232,72,85,.08); }

/* ── Impersonation banner ───────────────────────────── */
.impersonate-banner {
  align-items: center;
  background: rgba(79,142,247,.12);
  border-bottom: 1px solid rgba(79,142,247,.3);
  color: rgba(251,250,248,.85);
  display: flex;
  font-size: .78rem;
  gap: 8px;
  padding: 8px var(--page-gutter);
  flex-wrap: wrap;
}
.impersonate-banner strong { color: #4f8ef7; }
.ib-sep  { color: rgba(251,250,248,.25); }
.ib-dim  { color: rgba(251,250,248,.35); font-size:.72rem; }
.ib-stop {
  background: rgba(79,142,247,.15);
  border: 1px solid rgba(79,142,247,.35);
  border-radius: 5px;
  color: #4f8ef7;
  cursor: pointer;
  font-family: inherit;
  font-size: .72rem;
  margin-left: auto;
  padding: 3px 10px;
  white-space: nowrap;
}
.ib-stop:hover { background: rgba(79,142,247,.25); }

/* ── Impersonate button (settings team table) ────────── */
.btn-impersonate {
  background: none;
  border: 1px solid rgba(79,142,247,.3);
  border-radius: 5px;
  color: rgba(79,142,247,.75);
  cursor: pointer;
  font-family: inherit;
  font-size: .7rem;
  padding: 3px 9px;
}
.btn-impersonate:hover {
  background: rgba(79,142,247,.1);
  border-color: rgba(79,142,247,.55);
  color: #4f8ef7;
}

/* ── Trial banner ───────────────────────────────────── */
.trial-banner {
  background: var(--amber-soft);
  border-bottom: 1px solid rgba(232,170,20,.28);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .85rem;
  padding: 10px var(--page-gutter);
}

.trial-banner-cta {
  background: var(--amber-honey);
  border-radius: 6px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 14px;
  text-decoration: none;
  white-space: nowrap;
}
.trial-banner-cta:hover { opacity: .88; }

/* ── Tab bar ─────────────────────────────────────────── */
.tab-bar {
  border-bottom: 1.5px solid var(--line);
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.tab {
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: -1.5px;
  padding: 8px 14px 10px;
  text-decoration: none;
  transition: color .13s, border-color .13s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tab:hover { color: var(--ink); }

.tab-active {
  border-bottom-color: var(--amber-honey);
  color: var(--ink);
}

.tab-count {
  background: var(--amber-soft);
  border-radius: 999px;
  color: var(--coffee-bean);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 1px 7px;
}

/* ── Department cards ────────────────────────────────── */
.dept-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.dept-card {
  background: var(--panel-bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
}

.dept-card-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.dept-name {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.dept-edit-link {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.dept-edit-link:hover { color: var(--amber-honey); }

.dept-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
}

.dept-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dept-stat {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 5px;
}

.dept-stat svg {
  flex-shrink: 0;
  height: 14px;
  width: 14px;
}

.dept-members {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
}

.dept-member-chip {
  background: rgba(23,15,17,0.05);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  text-decoration: none;
  transition: background .12s;
}

.dept-member-chip:hover { background: var(--amber-soft); }

.dept-member-more {
  color: var(--muted);
  font-size: 0.78rem;
  padding: 3px 4px;
}

.field-hint {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  margin-top: 4px;
}

.field-hint a {
  color: var(--amber-honey);
  font-weight: 700;
  text-decoration: none;
}

/* ── Role badge ──────────────────────────────────────── */
.role-badge {
  background: var(--amber-soft);
  border-radius: 6px;
  color: var(--coffee-bean);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
}

/* ── Page banner (marketing page headers) ────────────── */
.page-banner {
  background-color: var(--coffee-bean);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--bright-snow);
  margin-left: calc(var(--page-x) * -1);
  margin-right: calc(var(--page-x) * -1);
  margin-bottom: clamp(30px,5vw,54px);
  padding: clamp(64px,8vw,100px) max(var(--page-x), calc((100vw - var(--content-max)) / 2 + var(--page-x)));
  position: relative;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18,11,13,.9) 0%, rgba(18,11,13,.78) 50%, rgba(18,11,13,.6) 100%);
  z-index: 0;
  pointer-events: none;
}

.page-banner-inner {
  max-width: 880px;
  position: relative;
  z-index: 1;
}

.page-banner .eyebrow {
  color: var(--amber-honey);
  margin-bottom: 12px;
  display: block;
}

.page-banner h1 {
  color: var(--bright-snow);
  margin-bottom: 16px;
}

.page-banner .page-lede,
.page-banner .lede {
  color: rgba(251,250,248,.82);
  margin-bottom: 24px;
}

.page-banner .button-row {
  margin-top: 28px;
}

.page-banner--dark    { background-image: url("images/page-bg-dark.png"); }
.page-banner--people  { background-image: url("images/page-bg-network-right.png"); }
.page-banner--content { background-image: url("images/page-bg-network-left.png"); }
.page-banner--warm    { background-image: url("images/page-bg-network-center.png"); }
.page-banner--alt     { background-image: url("images/page-bg-network-alt.png"); }

/* ── Asset card (home page) ──────────────────────────── */
.asset-showcase {
  display: grid;
  gap: 14px;
  max-width: 100%;
  min-width: 0;
}

/* ── Home showcase mock shell ────────────────────────── */
.sc-shell {
  background: var(--bright-snow);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  display: flex;
  font-family: system-ui, -apple-system, sans-serif;
  height: 100%;
  min-height: 470px;
  overflow: hidden;
  width: 100%;
}
.sc-sidebar {
  background: #170F11;
  border-right: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  min-width: 132px;
  padding: 16px 0;
  width: 132px;
}
.sc-brand {
  color: #fbfaf8;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: -.01em;
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 10px;
}
.sc-nav { display: flex; flex-direction: column; flex: 1; gap: 2px; padding: 0 8px; }
.sc-nav-item {
  border-radius: 8px;
  color: rgba(251,250,248,.4);
  font-size: .78rem;
  font-weight: 500;
  padding: 7px 10px;
  transition: background .1s;
}
.sc-nav-active {
  background: rgba(232,170,20,.14);
  color: #e8aa14;
  font-weight: 600;
}
.sc-ws {
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(251,250,248,.22);
  font-size: .7rem;
  margin-top: auto;
  padding: 12px 16px 0;
}
.sc-main {
  background: rgba(232,170,20,.05);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  padding: 15px;
}
.sc-header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}
.sc-header > div:first-child { min-width: 0; }
.sc-page-title { color: #170F11; font-size: .92rem; font-weight: 800; letter-spacing: 0; }
.sc-page-sub   { color: rgba(23,15,17,.4); font-size: .68rem; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-health-chip {
  align-items: center;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.28);
  border-radius: 999px;
  color: #16a34a;
  display: flex;
  font-size: .7rem;
  font-weight: 700;
  gap: 6px;
  padding: 4px 11px;
  white-space: nowrap;
}
.sc-health-dot {
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34,197,94,.7);
  height: 7px;
  width: 7px;
}
.sc-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}
.sc-metric {
  background: #fbfaf8;
  border-radius: 10px;
  border: 1px solid rgba(23,15,17,.08);
  padding: 10px 12px;
}
.sc-metric--warn  { background: rgba(239,68,68,.06);  border-color: rgba(239,68,68,.2); }
.sc-metric--amber { background: rgba(232,170,20,.08); border-color: rgba(232,170,20,.22); }
.sc-metric--ok    { background: rgba(34,197,94,.06);  border-color: rgba(34,197,94,.18); }
.sc-metric--muted { background: #fbfaf8; border-color: rgba(23,15,17,.08); }
.sc-metric-val   { color: #170F11; display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.1; }
.sc-metric--warn  .sc-metric-val  { color: #ef4444; }
.sc-metric--amber .sc-metric-val  { color: #b07e00; }
.sc-metric--ok    .sc-metric-val  { color: #16a34a; }
.sc-metric--muted .sc-metric-val  { color: #170F11; }
.sc-metric-label { color: rgba(23,15,17,.42); display: block; font-size: .67rem; margin-top: 3px; }
.sc-table { background: #fbfaf8; border: 1px solid rgba(23,15,17,.08); border-radius: 10px; overflow: hidden; }
.sc-table-head {
  background: rgba(23,15,17,.03);
  border-bottom: 1px solid rgba(23,15,17,.08);
  color: rgba(23,15,17,.38);
  display: grid;
  font-size: .66rem;
  font-weight: 700;
  grid-template-columns: 1fr 80px 60px 120px;
  letter-spacing: .06em;
  padding: 7px 14px;
  text-transform: uppercase;
}
.sc-row {
  align-items: center;
  border-bottom: 1px solid rgba(23,15,17,.06);
  display: grid;
  grid-template-columns: 1fr 80px 60px 120px;
  padding: 9px 14px;
}
.sc-row:last-child { border-bottom: none; }
.sc-row-asset { align-items: center; display: flex; gap: 8px; min-width: 0; }
.sc-crit {
  border-radius: 50%;
  flex-shrink: 0;
  height: 8px;
  width: 8px;
}
.sc-crit--critical { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,.55); }
.sc-crit--high     { background: #f97316; }
.sc-crit--medium   { background: #e8aa14; }
.sc-crit--low      { background: #94a3b8; }
.sc-row-asset strong { color: #170F11; display: block; font-size: .78rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-row-asset span   { color: rgba(23,15,17,.38); font-size: .67rem; }
.sc-owner         { color: rgba(23,15,17,.55); font-size: .72rem; }
.sc-owner--missing { color: #ef4444; font-size: .72rem; font-weight: 600; }
.sc-date          { color: rgba(23,15,17,.4); font-size: .72rem; }
.sc-date--soon    { color: #ea580c; font-weight: 700; }
.sc-badge {
  border-radius: 5px;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  width: fit-content;
}
.sc-badge--high   { background: rgba(239,68,68,.1);   color: #dc2626; }
.sc-badge--medium { background: rgba(232,170,20,.12); color: #92610a; }
.sc-badge--ok     { background: rgba(34,197,94,.1);   color: #16a34a; }
.sc-action {
  align-items: center;
  background: rgba(232,170,20,.08);
  border: 1px solid rgba(232,170,20,.2);
  border-radius: 8px;
  color: rgba(23,15,17,.6);
  display: flex;
  font-size: .72rem;
  gap: 8px;
  line-height: 1.4;
  margin-top: auto;
  padding: 9px 12px;
}
.sc-action strong { color: #92610a; }

.asset-showcase .sc-page-sub:not(.sc-page-sub--current),
.asset-showcase .sc-health-chip,
.asset-showcase .sc-metrics,
.asset-showcase .sc-table,
.asset-showcase .sc-action {
  display: none;
}

.sc-context-pill {
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: 999px;
  color: #c2410c;
  display: inline-flex;
  font-size: .63rem;
  font-weight: 800;
  margin-left: 6px;
  padding: 1px 7px;
}
.sc-dashboard-preview {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.sc-command-strip {
  background: rgba(251,250,248,.68);
  border: 1px solid rgba(23,15,17,.08);
  border-radius: 10px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 6px;
}
.sc-command-stat {
  background: #fbfaf8;
  border: 1px solid rgba(23,15,17,.08);
  border-radius: 9px;
  min-width: 0;
  padding: 8px 9px;
}
.sc-command-val {
  color: #170f11;
  display: block;
  font-size: .98rem;
  font-weight: 900;
  line-height: 1;
}
.sc-command-label {
  color: rgba(23,15,17,.43);
  display: block;
  font-size: .58rem;
  font-weight: 750;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.sc-command-stat--warn { border-color: rgba(232,170,20,.26); }
.sc-command-stat--warn .sc-command-val,
.sc-command-stat--health .sc-command-val { color: #b07e00; }
.sc-command-stat--issue { border-color: rgba(239,68,68,.18); }
.sc-command-stat--issue .sc-command-val { color: #c0392b; }
.sc-health-bar {
  background: rgba(23,15,17,.08);
  border-radius: 999px;
  display: block;
  height: 3px;
  margin-top: 6px;
  overflow: hidden;
}
.sc-health-bar span {
  background: #e8aa14;
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 54%;
}
.sc-brief {
  align-items: stretch;
  background: linear-gradient(135deg, #170f11 0%, #241719 68%, #2b1c16 100%);
  border: 1px solid rgba(23,15,17,.18);
  border-radius: 12px;
  color: #fbfaf8;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0,1fr) auto;
  padding: 12px;
}
.sc-brief-label {
  color: rgba(232,170,20,.86);
  display: block;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.sc-brief strong {
  color: #fbfaf8;
  display: block;
  font-size: .78rem;
  line-height: 1.24;
}
.sc-brief-metrics {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, 56px);
}
.sc-brief-metrics span {
  background: rgba(251,250,248,.07);
  border: 1px solid rgba(251,250,248,.1);
  border-radius: 8px;
  color: rgba(251,250,248,.58);
  font-size: .56rem;
  font-weight: 700;
  padding: 7px 6px;
  text-align: center;
}
.sc-brief-metrics b {
  color: #e8aa14;
  display: block;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 3px;
}
.sc-dashboard-grid {
  display: grid;
  flex: 1;
  gap: 10px;
  grid-template-columns: minmax(132px,.72fr) minmax(0,1.28fr);
  min-height: 0;
}
.sc-health-card,
.sc-focus,
.sc-mini-panel {
  background: #fbfaf8;
  border: 1px solid rgba(23,15,17,.09);
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(23,15,17,.04);
  min-width: 0;
}
.sc-health-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
.sc-health-score {
  align-items: center;
  background: radial-gradient(circle at 50% 0%, rgba(232,170,20,.18), transparent 62%);
  border: 1px solid rgba(232,170,20,.18);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-height: 72px;
  justify-content: center;
}
.sc-health-score strong {
  color: #b07e00;
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1;
}
.sc-health-score span,
.sc-health-card p {
  color: rgba(23,15,17,.44);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .06em;
  margin: 0;
  text-transform: uppercase;
}
.sc-kpi-list {
  border: 1px solid rgba(23,15,17,.08);
  border-radius: 9px;
  overflow: hidden;
}
.sc-kpi-list span {
  align-items: center;
  border-bottom: 1px solid rgba(23,15,17,.07);
  display: flex;
  font-size: .68rem;
  gap: 8px;
  min-height: 31px;
  overflow: hidden;
  padding: 7px 9px;
  position: relative;
}
.sc-kpi-list span:last-child { border-bottom: none; }
.sc-kpi-fill {
  bottom: 0;
  left: 0;
  opacity: .9;
  position: absolute;
  top: 0;
}
.sc-kpi-fill--red { background: rgba(239,68,68,.12); }
.sc-kpi-fill--orange { background: rgba(249,115,22,.11); }
.sc-kpi-fill--amber { background: rgba(232,170,20,.1); }
.sc-kpi-list b,
.sc-kpi-list em {
  color: rgba(23,15,17,.58);
  font-style: normal;
  position: relative;
  z-index: 1;
}
.sc-kpi-list b { flex: 1; font-weight: 750; }
.sc-kpi-list em { font-weight: 900; }
.sc-focus {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.sc-search {
  background: #170f11;
  border-radius: 9px;
  color: rgba(251,250,248,.42);
  font-size: .68rem;
  font-weight: 650;
  padding: 10px 12px;
}
.sc-focus-head,
.sc-mini-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.sc-focus-head span,
.sc-mini-head span {
  color: #170f11;
  font-size: .76rem;
  font-weight: 850;
}
.sc-focus-head em,
.sc-mini-head em {
  background: rgba(23,15,17,.045);
  border-radius: 999px;
  color: rgba(23,15,17,.45);
  font-size: .61rem;
  font-style: normal;
  font-weight: 800;
  padding: 2px 7px;
}
.sc-sprint-card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(23,15,17,.08);
  border-left: 4px solid #e8aa14;
  border-radius: 9px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 11px;
}
.sc-sprint-card--urgent { border-left-color: #f97316; }
.sc-sprint-card strong {
  color: #170f11;
  display: block;
  font-size: .77rem;
}
.sc-sprint-card p {
  color: rgba(69,105,144,.86);
  font-size: .67rem;
  line-height: 1.34;
  margin: 3px 0 7px;
}
.sc-sprint-card span {
  background: #fffaf0;
  border: 1px solid rgba(232,170,20,.18);
  border-radius: 999px;
  color: #8a5a00;
  display: inline-flex;
  font-size: .58rem;
  font-weight: 800;
  margin: 0 4px 3px 0;
  padding: 2px 6px;
}
.sc-sprint-card b {
  color: #166534;
  flex-shrink: 0;
  font-size: .67rem;
}
.sc-right-rail {
  display: none;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.sc-mini-panel {
  padding: 10px;
}
.sc-mini-panel p {
  border-top: 1px solid rgba(23,15,17,.07);
  margin: 8px 0 0;
  padding-top: 8px;
}
.sc-mini-panel strong {
  color: #170f11;
  display: block;
  font-size: .7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-mini-panel small {
  color: rgba(23,15,17,.43);
  display: block;
  font-size: .6rem;
  margin-top: 2px;
}
@media (max-width: 1180px) {
  .sc-dashboard-grid {
    grid-template-columns: minmax(130px,.7fr) minmax(230px,1.3fr);
  }
  .sc-right-rail {
    display: none;
  }
}
@media (max-width: 760px) {
  .sc-shell {
    flex-direction: column;
    min-height: 0;
  }
  .sc-sidebar {
    display: none;
  }
  .sc-command-strip,
  .sc-brief,
  .sc-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .sc-brief-metrics {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

.asset-showcase .asset-card {
  background: rgba(251,250,248,0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(251,250,248,0.42);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(23,15,17,0.26);
  color: var(--coffee-bean);
  min-width: 0;
  overflow: hidden;
  padding: 18px;
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    background .28s ease,
    border-color .28s ease,
    box-shadow .34s ease,
    transform .34s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.asset-showcase .asset-card.is-active {
  background: rgba(251,250,248,0.96);
  border-color: rgba(232,170,20,0.72);
  box-shadow: 0 24px 70px rgba(23,15,17,0.34);
}

.asset-showcase .asset-card:hover,
.asset-showcase .asset-card:focus-within {
  background: var(--bright-snow);
  border-color: var(--amber-honey);
  box-shadow: 0 30px 80px rgba(23,15,17,0.38);
  transform: translateY(-6px) scale(1.025);
}

.asset-card-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.asset-card h3 {
  color: var(--coffee-bean);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.1;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.asset-type,
.asset-card-summary span {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.risk {
  border-radius: 999px;
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
  font-weight: 800;
  padding: 7px 10px;
  white-space: nowrap;
}

.risk.low {
  background: rgba(69,105,144,0.14);
  color: var(--baltic-blue);
}

.risk.medium {
  background: rgba(232,170,20,0.2);
  color: var(--coffee-bean);
}

.risk.high {
  background: rgba(244,91,105,0.14);
  color: var(--bubblegum-pink);
}

.meter {
  background: rgba(23,15,17,0.08);
  border-radius: 999px;
  height: 8px;
  margin: 16px 0 8px;
  overflow: hidden;
}

.meter span {
  background: var(--amber-honey);
  border-radius: 999px;
  display: block;
  height: 100%;
}

.asset-card-summary {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.asset-card-summary strong {
  color: var(--coffee-bean);
  font-size: 1.45rem;
  line-height: 1;
}

.asset-card-details {
  color: var(--coffee-bean);
  margin-top: 16px;
}

.asset-card-details p,
.asset-card-details li {
  color: var(--coffee-bean);
}

.asset-card-details ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.hero-insights {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.hero-insights span {
  background: rgba(251,250,248,0.12);
  border: 1px solid rgba(251,250,248,0.22);
  border-radius: 8px;
  color: var(--bright-snow);
  font-weight: 800;
  padding: 12px 14px;
}

/* ── Showcase label ──────────────────────────────────── */
.showcase-label {
  color: rgba(251,250,248,0.45);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.dashboard-preview {
  background: rgba(251,250,248,0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(232,170,20,0.58);
  border-radius: 12px;
  box-shadow: 0 26px 74px rgba(23,15,17,0.36);
  color: var(--coffee-bean);
  display: grid;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.preview-topbar,
.preview-score-row,
.preview-list-head,
.preview-asset-row,
.preview-action,
.cta-actions {
  align-items: center;
  display: flex;
}

.preview-topbar {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding-bottom: 14px;
}

.preview-topbar span,
.preview-score-card span,
.preview-list-head,
.preview-action span,
.audience-card span,
.workflow-tag,
.trust-item span {
  color: var(--muted);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-topbar strong {
  display: block;
  font-size: clamp(2rem,4vw,3.05rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.preview-topbar a {
  background: var(--amber-honey);
  border-radius: 8px;
  color: var(--coffee-bean);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 10px;
  white-space: nowrap;
}

.preview-score-row {
  gap: 10px;
}

.preview-score-card {
  background: rgba(23,15,17,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex: 1;
  min-width: 0;
  padding: 12px;
}

.preview-score-card span {
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.preview-score-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  margin-top: 6px;
}

.preview-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.preview-list-head {
  background: rgba(23,15,17,0.04);
  justify-content: space-between;
  padding: 10px 12px;
}

.preview-asset-row {
  gap: 16px;
  justify-content: space-between;
  padding: 12px;
}

.preview-asset-row + .preview-asset-row {
  border-top: 1px solid var(--line);
}

.preview-asset-row div {
  min-width: 0;
}

.preview-asset-row strong,
.workflow-steps strong {
  display: block;
  font-weight: 900;
}

.preview-asset-row div span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  margin-top: 2px;
}

.preview-asset-row .risk {
  font-size: 0.68rem;
  max-width: 180px;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.preview-action {
  align-items: flex-start;
  background: var(--coffee-bean);
  border-radius: 10px;
  color: var(--bright-snow);
  flex-direction: column;
  gap: 6px;
  padding: 14px;
}

.preview-action span {
  color: rgba(251,250,248,0.58);
}

.preview-action strong {
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ── Proof bar ───────────────────────────────────────── */
.proof-bar {
  align-items: center;
  background: var(--coffee-bean);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  padding: 14px clamp(20px,5vw,72px);
}

.proof-item {
  align-items: center;
  color: rgba(251,250,248,0.7);
  display: flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 7px;
  padding: 4px 24px;
}

.proof-icon {
  flex-shrink: 0;
  color: var(--amber-honey);
  height: 15px;
  width: 15px;
}

.proof-divider {
  background: rgba(251,250,248,0.15);
  height: 18px;
  width: 1px;
}

/* ── Section shared ──────────────────────────────────── */
.section-intro {
  margin-bottom: clamp(36px,5vw,56px);
  max-width: 680px;
}

.marketing-trust-strip,
.marketing-product-preview,
.marketing-audience,
.marketing-comparison,
.marketing-start-path,
.marketing-security-note,
.marketing-final-cta,
.marketing-faq {
  margin: clamp(34px,5vw,56px) auto;
  max-width: calc(var(--content-max) + (var(--page-x) * 2));
  width: 100%;
}

.marketing-trust-strip {
  align-items: center;
  background: var(--coffee-bean);
  border-radius: 12px;
  color: rgba(251,250,248,0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  justify-content: center;
  padding: 14px 20px;
}

.marketing-trust-strip span {
  align-items: center;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 8px;
  padding: 3px 18px;
}

.marketing-trust-strip span::before {
  background: var(--amber-honey);
  border-radius: 999px;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

.marketing-product-preview {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(69,105,144,0.12), rgba(251,250,248,0) 46%),
    var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px var(--shadow);
  display: grid;
  gap: clamp(24px,4vw,42px);
  grid-template-columns: minmax(0,0.8fr) minmax(0,1.2fr);
  padding: clamp(24px,4vw,38px);
}

.preview-copy h2,
.marketing-audience h2,
.marketing-comparison h2,
.marketing-start-path h2,
.marketing-security-note h2,
.marketing-final-cta h2 {
  font-size: clamp(1.55rem,3vw,2.55rem);
  line-height: 1.06;
  margin: 0;
}

.preview-copy p:not(.eyebrow),
.marketing-security-note p,
.marketing-final-cta p {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 12px;
}

.mini-registry {
  background: var(--bright-snow);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.mini-registry__head,
.mini-registry__row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 0.65fr 1fr;
  padding: 12px 14px;
}

.mini-registry__head {
  background: rgba(23,15,17,0.04);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-registry__row + .mini-registry__row {
  border-top: 1px solid var(--line);
}

.mini-registry__row span {
  color: var(--muted);
}

.mini-registry__row em {
  color: var(--coffee-bean);
  font-style: normal;
  font-weight: 800;
}

.marketing-audience {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0,0.95fr) minmax(0,1.05fr);
}

.marketing-audience__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.marketing-audience__grid span {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--coffee-bean);
  font-weight: 900;
  padding: 16px 18px;
}

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

.comparison-grid article {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.comparison-grid span {
  color: #92570a;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.comparison-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.marketing-start-path {
  background: rgba(232,170,20,0.08);
  border-radius: 12px;
  padding: clamp(24px,4vw,38px);
}

.marketing-start-path ol {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.marketing-start-path li {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}

.marketing-start-path strong,
.marketing-start-path span {
  display: block;
}

.marketing-start-path strong {
  color: var(--coffee-bean);
  margin-bottom: 7px;
}

.marketing-start-path span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.marketing-security-note,
.marketing-final-cta {
  align-items: center;
  background: var(--coffee-bean);
  border-radius: 12px;
  color: var(--bright-snow);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  padding: clamp(24px,4vw,38px);
}

.marketing-security-note .eyebrow,
.marketing-final-cta .eyebrow {
  color: rgba(251,250,248,0.6);
}

.marketing-security-note p,
.marketing-final-cta p {
  color: rgba(251,250,248,0.68);
  margin-top: 0;
}

.marketing-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.marketing-final-cta .button.secondary {
  background: rgba(251,250,248,0.08);
  border-color: rgba(251,250,248,0.24);
  color: var(--bright-snow);
}

.marketing-faq {
  padding-top: clamp(10px,2vw,18px);
}

.marketing-signup-path,
.marketing-proof {
  margin: clamp(34px,5vw,56px) auto;
  max-width: calc(var(--content-max) + (var(--page-x) * 2));
  width: 100%;
}

.marketing-signup-path {
  background:
    linear-gradient(135deg, rgba(232,170,20,0.14), rgba(251,250,248,0) 46%),
    var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px var(--shadow);
  padding: clamp(24px,4vw,38px);
}

.marketing-signup-path h2,
.marketing-proof h2 {
  font-size: clamp(1.55rem,3vw,2.55rem);
  line-height: 1.06;
  margin: 0;
}

.marketing-signup-path ol,
.proof-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.marketing-signup-path li,
.proof-grid article {
  background: var(--bright-snow);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}

.marketing-signup-path strong,
.marketing-signup-path span,
.proof-grid strong,
.proof-grid span {
  display: block;
}

.marketing-signup-path span,
.proof-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 7px;
}

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

.feature-section-label {
  margin-bottom: 18px;
  margin-top: 0;
  display: block;
}

.feature-section-label--upcoming {
  margin-top: 56px;
}

.feature-index-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin: 0 0 clamp(28px,5vw,52px);
}

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

.feature-index-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 34px var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .22s ease, box-shadow .28s ease, transform .28s cubic-bezier(.2,.8,.2,1);
}

.feature-index-card:hover {
  border-color: rgba(232,170,20,0.72);
  box-shadow: 0 20px 48px rgba(23,15,17,0.12);
  transform: translateY(-3px);
}

.feature-index-card span,
.feature-card-link {
  color: var(--amber-honey);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-index-card h2,
.feature-index-card h3 {
  font-size: 1.15rem;
  line-height: 1.16;
  margin: 10px 0 12px;
  color: var(--coffee-bean);
}

.feature-index-card h2 a,
.feature-index-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.feature-index-card:hover h2 a,
.feature-index-card:hover h3 a {
  color: var(--amber-honey);
}

.feature-index-card p {
  color: var(--muted);
  line-height: 1.62;
  flex-grow: 1;
  margin-bottom: 16px;
}

.feature-card-link {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  transition: color .2s ease;
}

.feature-card-link:hover {
  color: var(--coffee-bean);
}

.audience-problem-panel {
  align-items: start;
  background: var(--coffee-bean);
  border-radius: 12px;
  color: var(--bright-snow);
  display: grid;
  gap: clamp(24px,4vw,42px);
  grid-template-columns: minmax(0,0.75fr) minmax(0,1.25fr);
  margin: clamp(34px,5vw,56px) 0;
  padding: clamp(24px,4vw,38px);
}

.audience-problem-panel .eyebrow {
  color: rgba(251,250,248,0.62);
}

.audience-problem-panel h2 {
  font-size: clamp(1.55rem,3vw,2.55rem);
  line-height: 1.06;
  margin: 0;
}

.audience-problem-list {
  display: grid;
  gap: 12px;
}

.audience-problem-list article {
  background: rgba(251,250,248,0.08);
  border: 1px solid rgba(251,250,248,0.14);
  border-radius: 10px;
  padding: 16px;
}

.audience-problem-list span,
.audience-workflow-grid span {
  color: var(--amber-honey);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.audience-problem-list p {
  color: rgba(251,250,248,0.72);
  line-height: 1.6;
}

.audience-workflow-section {
  margin: clamp(34px,5vw,56px) 0;
}

.audience-workflow-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.audience-workflow-grid article {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 34px var(--shadow);
  padding: 24px;
}

.audience-workflow-grid h3 {
  margin: 0 0 10px;
}

.audience-workflow-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.audience-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience-link-grid a {
  background: var(--amber-soft);
  border-radius: 999px;
  color: var(--coffee-bean);
  font-weight: 900;
  padding: 9px 14px;
}

.feature-detail-panel {
  align-items: flex-start;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin: clamp(28px,5vw,52px) 0;
}

.feature-detail-panel > div,
.feature-workflow-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 34px var(--shadow);
  padding: clamp(24px,4vw,34px);
}

.feature-detail-panel > div:first-child {
  padding-right: clamp(24px,4vw,40px);
}

.feature-detail-panel h2 {
  font-size: clamp(1.5rem,3vw,2.45rem);
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--coffee-bean);
}

.feature-point-list,
.feature-workflow-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.feature-point-list li,
.feature-workflow-card li {
  color: var(--coffee-bean);
  line-height: 1.62;
  padding-left: 24px;
  position: relative;
}

.feature-point-list li::before,
.feature-workflow-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--amber-honey);
  border-radius: 999px;
  flex-shrink: 0;
}

.feature-workflow-card li {
  display: flex;
  flex-direction: column;
}

.feature-workflow-card strong {
  display: block;
  color: var(--coffee-bean);
  margin-bottom: 4px;
  font-weight: 800;
}

.feature-workflow-card span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  padding-left: 0;
}

.related-feature-section {
  margin-top: clamp(52px,7vw,84px);
  padding-top: clamp(52px,7vw,84px);
  border-top: 1px solid var(--line);
}

.related-feature-section .section-intro {
  margin-bottom: clamp(32px,5vw,48px);
}

.comparison-table {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px var(--shadow);
  margin: clamp(28px,5vw,52px) 0;
  overflow: hidden;
}

.comparison-table__head,
.comparison-table__row {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.65fr 1fr 1fr;
  padding: 16px 18px;
}

.comparison-table__head {
  background: var(--coffee-bean);
  color: rgba(251,250,248,0.72);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-table__row + .comparison-table__row {
  border-top: 1px solid var(--line);
}

.comparison-table__row p {
  color: var(--muted);
  line-height: 1.6;
}

.demo-dashboard {
  background: rgba(23,15,17,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: clamp(28px,5vw,52px) 0;
  padding: clamp(18px,3vw,28px);
}

.form-success {
  background: var(--amber-soft);
  border-radius: 8px;
  color: var(--coffee-bean) !important;
  font-weight: 800;
  padding: 10px 12px;
}

.errorlist {
  color: var(--bubblegum-pink);
  font-size: 0.82rem;
  font-weight: 800;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

/* Before / after section */
.before-after-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.before-after-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px 30px;
  transform: translateY(0) scale(1);
  transition:
    border-color .28s ease,
    box-shadow .34s ease,
    transform .34s cubic-bezier(.2,.8,.2,1);
}

.before-after-card:hover {
  border-color: rgba(232,170,20,0.72);
  box-shadow: 0 18px 44px rgba(23,15,17,0.1);
  transform: translateY(-4px) scale(1.012);
}

.before-after-card span {
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.before-after-card h3 {
  font-size: 1.2rem;
  margin: 0 0 16px;
}

.card-copy {
  color: var(--coffee-bean);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.before-after-card ul {
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

.before-after-card li + li {
  margin-top: 8px;
}

.before-card {
  background: var(--pink-soft);
}

.before-card span {
  color: #9B2335;
}

.after-card {
  background: var(--amber-soft);
}

.after-card span {
  color: var(--coffee-bean);
}

.section-intro h2 { margin: 0; }

.section-lede {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 12px;
  max-width: 560px;
}

.section-note {
  color: var(--coffee-bean);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 680px;
}

/* ── Problem / scenario section ──────────────────────── */
.audience-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0,1fr));
}

.audience-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transform: translateY(0) scale(1);
  transition:
    border-color .28s ease,
    box-shadow .34s ease,
    transform .34s cubic-bezier(.2,.8,.2,1);
}

.audience-card:hover {
  border-color: rgba(232,170,20,0.72);
  box-shadow: 0 18px 44px rgba(23,15,17,0.1);
  transform: translateY(-4px) scale(1.012);
}

.audience-card span {
  color: #9B2335;
}

.audience-card h3 {
  font-size: 1rem;
  line-height: 1.18;
  margin: 12px 0 10px;
}

.audience-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.scenario-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.scenario-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px 30px;
  position: relative;
  transform: translateY(0) scale(1);
  transition:
    border-color .28s ease,
    box-shadow .34s ease,
    transform .34s cubic-bezier(.2,.8,.2,1);
}

.scenario-card:hover {
  border-color: rgba(232,170,20,0.72);
  box-shadow: 0 18px 44px rgba(23,15,17,0.1);
  transform: translateY(-4px) scale(1.012);
}

.scenario-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 10px 0 10px;
}

.scenario-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.scenario-num {
  color: var(--amber-honey);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* ── How it works ────────────────────────────────────── */
.workflow-section {
  background: rgba(69,105,144,0.08);
}

.workflow-panel {
  align-items: stretch;
  background: var(--coffee-bean);
  border-radius: 12px;
  color: var(--bright-snow);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  padding: clamp(24px,4vw,38px);
}

.workflow-copy {
  align-self: center;
}

.workflow-tag {
  color: var(--amber-honey);
}

.workflow-copy h3 {
  font-size: clamp(1.45rem,3vw,2.3rem);
  line-height: 1.05;
  margin: 12px 0 14px;
}

.workflow-copy p {
  color: rgba(251,250,248,0.68);
  line-height: 1.65;
}

.workflow-steps {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-steps li {
  align-items: flex-start;
  background: rgba(251,250,248,0.08);
  border: 1px solid rgba(251,250,248,0.14);
  border-radius: 10px;
  display: flex;
  gap: 14px;
  padding: 16px;
}

.workflow-steps li > span {
  align-items: center;
  background: var(--amber-honey);
  border-radius: 999px;
  color: var(--coffee-bean);
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 0.78rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
}

.workflow-steps p {
  color: rgba(251,250,248,0.68);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 4px;
}

.how-section { background: rgba(232,170,20,0.08); }

.how-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.how-step {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px 30px;
}

.how-step-icon {
  height: 40px;
  margin-bottom: 20px;
  width: 40px;
}

.how-step-icon svg { display: block; height: 100%; width: 100%; }

.how-step-num {
  color: var(--amber-honey);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.how-step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.how-step p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Feature cards ───────────────────────────────────── */
.feature-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.feature-card {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  transform: translateY(0) scale(1);
  transition:
    border-color .28s ease,
    box-shadow .34s ease,
    transform .34s cubic-bezier(.2,.8,.2,1);
}

.feature-card:hover {
  border-color: rgba(232,170,20,0.72);
  box-shadow: 0 18px 44px rgba(23,15,17,0.1);
  transform: translateY(-4px) scale(1.012);
}

.feature-icon {
  align-items: center;
  border-radius: 9px;
  display: flex;
  height: 38px;
  justify-content: center;
  margin-bottom: 16px;
  width: 38px;
}

.feature-icon svg { height: 20px; width: 20px; }

.feature-icon-blue  { background: rgba(69,105,144,0.12); color: var(--baltic-blue); }
.feature-icon-amber { background: var(--amber-soft);      color: var(--coffee-bean); }
.feature-icon-pink  { background: var(--pink-soft);       color: var(--bubblegum-pink); }

.feature-card h3 {
  font-size: 0.97rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.feature-card .feature-extra {
  color: var(--coffee-bean);
  margin-top: 12px;
}

/* ── CTA band (updated) ──────────────────────────────── */
.trust-panel {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(232,170,20,0.14), rgba(251,250,248,0) 48%),
    var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px var(--shadow);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  padding: clamp(24px,4vw,38px);
}

.trust-grid {
  display: grid;
  gap: 12px;
}

.trust-item {
  border-left: 4px solid var(--amber-honey);
  padding: 4px 0 4px 16px;
}

.trust-item span {
  color: var(--coffee-bean);
}

.trust-item p {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 5px;
}

.cta-band-inner {
  max-width: 640px;
  text-align: center;
  width: 100%;
}

.cta-sub {
  color: rgba(251,250,248,0.65);
  font-size: 1rem;
  margin: 12px 0 28px;
}

.cta-eyebrow {
  color: rgba(251,250,248,0.6);
}

/* ── Empty workspace ─────────────────────────────────── */
.cta-actions {
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-band .button.secondary {
  background: rgba(251,250,248,0.08);
  border-color: rgba(251,250,248,0.24);
  color: var(--bright-snow);
}

.empty-workspace {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 8px 0 0;
  padding: 56px 40px 48px;
  text-align: center;
}

.empty-workspace-icon {
  margin: 0 auto 20px;
  width: 52px;
}
.empty-workspace-icon svg { display: block; width: 100%; }

.empty-workspace-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.empty-workspace-body {
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 480px;
}

.empty-workspace-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.empty-workspace-steps {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0;
  justify-content: center;
  margin: 0 auto;
  max-width: 560px;
  padding-top: 32px;
  text-align: left;
}

.empty-step {
  align-items: flex-start;
  display: flex;
  flex: 1;
  gap: 14px;
  padding: 0 20px;
}
.empty-step + .empty-step { border-left: 1px solid var(--line); }

.empty-step-num {
  align-items: center;
  background: var(--amber-soft);
  border-radius: 50%;
  color: var(--coffee-bean);
  display: flex;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  margin-top: 1px;
  width: 26px;
}

.empty-step strong { display: block; font-size: 0.9rem; font-weight: 800; margin-bottom: 2px; }
.empty-step span   { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }

.empty-step[data-product-tour-target] {
  border-radius: 10px;
  position: relative;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.empty-step.is-tour-active {
  background: var(--bright-snow);
  box-shadow: 0 0 0 3px rgba(232,170,20,.28), 0 18px 50px rgba(23,15,17,.16);
  transform: translateY(-2px);
  z-index: 1002;
}

[data-product-tour-target].is-tour-active {
  border-radius: 12px;
  box-shadow: 0 0 0 3px rgba(232,170,20,.34), 0 18px 50px rgba(23,15,17,.18);
  position: relative;
  transform: translateY(-2px);
  transition: box-shadow .16s ease, transform .16s ease;
  z-index: 1002;
}

.app-shell .sidebar-link.is-tour-active {
  background: rgba(232,170,20,.16);
  box-shadow:
    inset 0 0 0 2px var(--amber-honey),
    0 0 0 4px rgba(232,170,20,.18),
    0 14px 36px rgba(0,0,0,.22);
  color: var(--bright-snow);
  transform: translateX(3px);
}

.empty-tutorial-start {
  align-items: center;
  background: linear-gradient(135deg, rgba(232,170,20,.1), rgba(251,250,248,.9));
  border: 1px solid rgba(232,170,20,.32);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(23,15,17,.06);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 28px auto 0;
  max-width: 560px;
  padding: 16px 18px;
  text-align: left;
}

.empty-tutorial-start strong {
  color: var(--ink);
  display: block;
  font-size: .92rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.empty-tutorial-start span {
  color: var(--muted);
  display: block;
  font-size: .82rem;
  line-height: 1.45;
}

.empty-tutorial-button {
  flex-shrink: 0;
  white-space: nowrap;
}

.empty-tutorial-start.is-tour-complete {
  background: rgba(251,250,248,.76);
  border-color: var(--line);
  box-shadow: none;
}

.empty-tour-backdrop {
  background: rgba(23,15,17,.36);
  inset: 0;
  position: fixed;
  z-index: 1000;
}

.empty-tour-popover {
  background: var(--bright-snow);
  border: 1px solid rgba(23,15,17,.12);
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(23,15,17,.24);
  color: var(--ink);
  max-width: calc(100vw - 32px);
  padding: 18px;
  position: fixed;
  text-align: left;
  width: 320px;
  z-index: 1003;
}

.empty-tour-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  font-size: 1.1rem;
  height: 28px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 28px;
}

.empty-tour-close:hover { color: var(--ink); }
.empty-tour-kicker { color: var(--muted); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; margin-bottom: 8px; text-transform: uppercase; }
.empty-tour-popover h3 { font-size: 1rem; font-weight: 800; margin: 0 24px 8px 0; }
.empty-tour-popover p { color: var(--muted); font-size: .86rem; line-height: 1.55; margin: 0 0 16px; }
.empty-tour-dots {
  display: flex;
  gap: 6px;
  margin: 0 0 16px;
}
.empty-tour-dot {
  background: rgba(23,15,17,.16);
  border-radius: 99px;
  height: 6px;
  transition: background .16s ease, width .16s ease;
  width: 6px;
}
.empty-tour-dot.is-active {
  background: var(--amber-honey);
  width: 22px;
}
.empty-tour-actions { align-items: center; display: flex; gap: 8px; justify-content: flex-end; }
.empty-tour-skip {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  margin-right: auto;
  padding: 6px 2px;
}
.empty-tour-skip:hover { color: var(--ink); }

/* ── Add Asset: step header ──────────────────────────── */
.add-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.step-trail {
  align-items: center;
  display: flex;
  gap: 6px;
}

.step-crumb {
  align-items: center;
  border-radius: 6px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 4px;
  padding: 4px 8px;
}

.step-crumb svg { height: 12px; width: 12px; }

.step-crumb-active {
  background: var(--amber-soft);
  color: var(--coffee-bean);
}

.step-crumb-done {
  color: var(--amber-honey);
}

.step-crumb-sep {
  color: var(--muted);
  font-size: 0.8rem;
  opacity: .5;
}

/* ── Add intro ───────────────────────────────────────── */
.add-intro {
  margin-bottom: 28px;
}

.add-intro .page-title { margin-top: 12px; }

/* ── Category pill (breadcrumb) ──────────────────────── */
.category-pill {
  align-items: center;
  background: rgba(23,15,17,0.05);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 6px;
  padding: 5px 12px 5px 8px;
  margin-bottom: 4px;
}

.category-pill-icon {
  align-items: center;
  background: var(--amber-soft);
  border-radius: 50%;
  display: flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.category-pill-icon svg { height: 13px; width: 13px; color: var(--coffee-bean); }

.category-pill-sep { color: var(--muted); }

/* ── Category grid ───────────────────────────────────── */
.category-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.category-card {
  background: var(--panel-bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px 22px;
  text-decoration: none;
  transition: border-color .14s, background .14s, transform .14s, box-shadow .14s;
}

.category-card:hover {
  background: var(--bright-snow);
  border-color: var(--amber-honey);
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateY(-2px);
}

.category-icon {
  align-items: center;
  background: var(--amber-soft);
  border-radius: 9px;
  color: var(--coffee-bean);
  display: flex;
  height: 38px;
  justify-content: center;
  margin-bottom: 4px;
  width: 38px;
}

.category-icon svg { height: 20px; width: 20px; }

.category-label {
  color: var(--ink);
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
}

.category-desc {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ── System grid ─────────────────────────────────────── */
.system-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.system-card {
  align-items: flex-start;
  background: var(--panel-bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px 16px;
  text-decoration: none;
  transition: border-color .13s, background .13s, transform .12s;
}

.system-card:hover {
  border-color: var(--amber-honey);
  transform: translateY(-1px);
}

.system-card-custom {
  border-style: dashed;
  opacity: .75;
}

.system-card-custom:hover { opacity: 1; }

.system-name {
  color: var(--ink);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.system-vendor {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  line-height: 1.3;
}

.system-crit {
  border-radius: 4px;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 6px;
  padding: 2px 7px;
  text-transform: uppercase;
}

.system-crit-critical { background: var(--pink-soft);              color: var(--bubblegum-pink); }
.system-crit-high     { background: rgba(244,91,105,0.08);         color: var(--bubblegum-pink); }
.system-crit-medium   { background: var(--amber-soft);             color: var(--coffee-bean); }
.system-crit-low      { background: rgba(69,105,144,0.12);         color: var(--baltic-blue); }

/* ── Add asset form layout ───────────────────────────── */
.add-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto auto;
}

.add-form-main { margin-bottom: 0; }
.add-form-side { margin-bottom: 0; }

.add-form-main:first-of-type {
  grid-column: 1;
  grid-row: 1;
}

.add-form-side {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.add-form-main:last-of-type {
  grid-column: 1;
  grid-row: 2;
}

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

/* ── Vendor pick (step 1 of asset add) ──────────────── */
.vendor-pick-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-bottom: 16px;
}

.vendor-pick-card {
  background: var(--panel-bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color .13s, transform .12s;
}

.vendor-pick-card:hover {
  border-color: var(--amber-honey);
  transform: translateY(-1px);
}

.vendor-pick-name {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.vendor-pick-count {
  color: var(--muted);
  font-size: 0.8rem;
}

.vendor-pick-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.add-vendor-inline {
  color: var(--amber-honey);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.add-vendor-inline:hover { text-decoration: underline; }

/* ── Vendor list page ────────────────────────────────── */
.vendor-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vendor-row {
  align-items: center;
  background: var(--panel-bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color .13s, background .13s;
}

.vendor-row:hover {
  background: var(--bright-snow);
  border-color: var(--amber-honey);
}

.vendor-row-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.vendor-row-name {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.vendor-row-site {
  color: var(--muted);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-row-meta {
  align-items: center;
  display: flex;
  gap: 10px;
}

.vendor-row-count {
  color: var(--muted);
  font-size: 0.82rem;
}

.vendor-row-contact {
  color: var(--muted);
  font-size: 0.82rem;
}

.vendor-row-arrow {
  color: var(--muted);
  font-size: 1rem;
}

.asset-type-badge {
  background: var(--amber-soft);
  border-radius: 5px;
  color: var(--coffee-bean);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Vendor detail ───────────────────────────────────── */
.vendor-site-link {
  color: var(--amber-honey);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.vendor-site-link:hover { text-decoration: underline; }

.empty-hint {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 16px 0 4px;
}

.empty-hint a {
  color: var(--amber-honey);
  font-weight: 700;
  text-decoration: none;
}

/* ── Org chart ───────────────────────────────────────── */

/* Full-width page variant — removes max-width cap */
.org-page {
  max-width: none !important;
  padding-right: 32px;
}

/* Clipping viewport — no scrollbars */
.org-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: 300px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(23,15,17,0.03) 39px,
    rgba(23,15,17,0.03) 40px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 39px,
    rgba(23,15,17,0.03) 39px,
    rgba(23,15,17,0.03) 40px
  );
  border: 1.5px solid var(--line);
  border-radius: 14px;
}

/* Inner canvas that gets transform: scale() applied */
.org-canvas {
  position: relative;
  transform-origin: top left;
}

.org-svg {
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
}

.org-nodes {
  height: 100%;
  position: relative;
  width: 100%;
}

/* ── Zoom controls ───────────────────────────────────── */
.org-zoom-controls {
  align-items: center;
  background: var(--panel-bg);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
}

.org-zoom-btn {
  background: transparent;
  border: none;
  border-right: 1.5px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 7px 14px;
  transition: background .12s;
}

.org-zoom-btn:last-child { border-right: none; }
.org-zoom-btn:hover { background: var(--amber-soft); }

/* ── Legacy .org-wrap (unused but kept safe) ─────────── */
.org-wrap {
  min-height: 300px;
  overflow: auto;
  position: relative;
}

.org-svg {
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
}

.org-nodes {
  height: 100%;
  position: relative;
  width: 100%;
}

/* ── Org node card (.ocn) ────────────────────────────── */
.ocn {
  position: absolute;
  width: 176px;
}

.ocn-link {
  align-items: center;
  background: var(--panel-bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 12px 12px;
  text-align: center;
  text-decoration: none;
  transition: border-color .13s, box-shadow .13s, transform .13s;
  width: 100%;
}

.ocn-link:hover {
  border-color: var(--amber-honey);
  box-shadow: 0 6px 20px var(--shadow);
  transform: translateY(-2px);
}

.ocn-avatar {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.ocn-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.ocn-name {
  color: var(--ink);
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ocn-title {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ocn-dept {
  border-radius: 4px;
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 2px;
  padding: 1px 6px;
  text-transform: uppercase;
}

.ocn-badge {
  background: rgba(23,15,17,0.07);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 7px;
}

.ocn-edit {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 5px;
  text-align: center;
  text-decoration: none;
  transition: color .12s;
}

.ocn-edit:hover { color: var(--amber-honey); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  /* App shell */
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    min-height: auto;
    padding: 12px 16px;
    position: static;
  }
  .sidebar-brand { padding: 0 16px 0 0; }
  .sidebar-nav {
    flex: 1 1 100%;
    flex-direction: row;
    gap: 8px;
    order: 3;
    overflow-x: auto;
    padding: 8px 0 0;
  }
  .sidebar-section {
    border-right: 1px solid rgba(251,250,248,.08);
    flex-direction: row;
    flex-shrink: 0;
    gap: 4px;
    padding-right: 8px;
  }
  .sidebar-section + .sidebar-section {
    border-top: none;
    padding-top: 0;
  }
  .sidebar-section-label { display: none; }
  .app-shell .sidebar-link {
    min-height: 34px;
    padding: 7px 9px;
    white-space: nowrap;
  }
  .app-shell .sidebar-link.active {
    box-shadow: inset 0 -2px 0 var(--amber-honey);
  }
  .sidebar-footer { border-top: none; border-left: 1px solid rgba(251,250,248,0.1); flex-direction: row; margin-left: auto; padding: 0 0 0 16px; }
  .sidebar-user { display: none; }
  .detail-grid, .two-column { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page { padding: 20px 20px 40px; }
  .message-list { padding: 12px 20px 0; }

  /* Add asset */
  .add-form-grid { grid-template-columns: 1fr; }
  .add-form-side { grid-column: 1; grid-row: auto; }
  .add-form-main:last-of-type { grid-row: auto; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  /* Marketing */
  .hero { grid-template-columns: 1fr; }
  .marketing-product-preview,
  .marketing-audience,
  .marketing-security-note,
  .marketing-final-cta,
  .feature-detail-panel,
  .audience-problem-panel {
    grid-template-columns: 1fr;
  }

  .feature-detail-panel > div:first-child {
    padding-right: clamp(24px,4vw,34px);
  }

  .marketing-start-path ol,
  .marketing-signup-path ol,
  .feature-index-grid,
  .feature-index-grid.compact,
  .proof-grid,
  .audience-workflow-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .audience-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .careers-values { grid-template-columns: 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
  .workflow-panel { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-panel { grid-template-columns: 1fr; }
  .proof-bar { gap: 4px; }
  .proof-divider { display: none; }
  .proof-item { padding: 4px 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-about { max-width: none; }
  .pricing-grid,
  .faq-grid,
  .contact-layout,
  .use-case-feature { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing-note,
  .contact-response { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-featured { align-items: flex-start; flex-direction: column; }
  .blog-list-related { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* App shell */
  .summary-grid { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; }
  .page-actions { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }

  /* Marketing */
  .hero { min-height: auto; }
  .page-hero,
  .page-banner {
    margin-left: calc(var(--page-x) * -1);
    margin-right: calc(var(--page-x) * -1);
  }
  .preview-topbar,
  .preview-score-row,
  .preview-asset-row {
    align-items: stretch;
    flex-direction: column;
  }
  .preview-asset-row .risk {
    max-width: none;
    text-align: left;
  }
  .marketing-trust-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .marketing-trust-strip span {
    padding-left: 0;
  }
  .mini-registry__head {
    display: none;
  }
  .mini-registry__row {
    grid-template-columns: 1fr;
  }
  .marketing-audience__grid,
  .comparison-grid,
  .marketing-start-path ol,
  .marketing-signup-path ol,
  .feature-index-grid,
  .feature-index-grid.compact,
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table__head {
    display: none;
  }
  .comparison-table__row {
    grid-template-columns: 1fr;
  }
  .pricing-compare-head {
    display: none;
  }
  .pricing-compare-row {
    grid-template-columns: 1fr;
  }
  .pricing-compare-row span::before {
    color: var(--coffee-bean);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
    text-transform: uppercase;
  }
  .pricing-compare-row span:nth-child(2)::before { content: "Free"; }
  .pricing-compare-row span:nth-child(3)::before { content: "Starter"; }
  .pricing-compare-row span:nth-child(4)::before { content: "Business"; }
  .marketing-final-cta__actions {
    justify-content: flex-start;
  }
  .audience-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .workflow-steps li { flex-direction: column; }
  .audience-workflow-grid { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .use-case-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .careers-open-app {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 28px 24px;
  }
  .seat-addon-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-top,
  .footer-main { grid-template-columns: 1fr; }
  .footer-primary,
  .footer-link-groups { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-cta { align-items: stretch; flex-direction: column; }
  .nav-mobile-toggle { display: flex; }
  #site-nav {
    background: var(--coffee-bean);
    border-top: 1px solid rgba(251,250,248,0.14);
    display: none;
    flex-direction: column;
    gap: 4px;
    left: 0;
    padding: 16px max(var(--page-x),16px);
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 50;
  }
  #site-nav.nav--open { display: flex; }
  .nav { align-items: flex-start; flex-direction: column; gap: 4px; }
  .nav-dropdown {
    box-shadow: none;
    flex-direction: column;
    left: 0;
    min-width: 0;
    opacity: 1;
    position: static;
    transform: none;
    visibility: visible;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    display: none;
    width: 100%;
  }
  .nav-menu--open .nav-dropdown { display: flex; }
  .nav-dropdown__col--featured { min-width: 0; }
  .nav-dropdown--wide,
  .nav-dropdown--company { min-width: 0; width: 100%; }
  .site-header { position: relative; }
  .pricing-card:hover { transform: translateY(-3px); }
  .cookie-consent {
    grid-template-columns: 1fr;
  }
  .cookie-consent__actions,
  .cookie-modal__actions {
    flex-direction: column;
  }
  .atria-assistant {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }
  .atria-launcher {
    justify-content: flex-start;
    max-width: none;
    width: 100%;
  }
  .atria-panel {
    bottom: 58px;
    left: 0;
    max-height: min(680px, calc(100vh - 92px));
    right: 0;
    width: 100%;
  }
  .atria-actions a {
    text-align: center;
    width: 100%;
  }
  .atria-popular__grid,
  .atria-guides,
  .atria-clarify__grid {
    grid-template-columns: 1fr;
  }
  .atria-guides a,
  .atria-guides button,
  .atria-popular-chip,
  .atria-clarify__grid button {
    width: 100%;
  }
  .cookie-option {
    align-items: flex-start;
  }
  .empty-tutorial-start {
    align-items: stretch;
    flex-direction: column;
  }
  .empty-tutorial-button { width: 100%; }
  .empty-workspace-steps { flex-direction: column; gap: 20px; }
  .empty-step + .empty-step { border-left: none; border-top: 1px solid var(--line); padding-top: 20px; }
  .pagination { flex-direction: column; gap: 16px; margin-top: 40px; }
  .pagination nav { flex-wrap: wrap; gap: 8px; }
}

/* ── Pagination ────────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; margin-top: 60px; padding: 40px 0; }
.pagination nav { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pagination-link { border: 1px solid var(--line); border-radius: 8px; color: var(--ink); display: inline-block; font-size: .9rem; padding: 8px 16px; text-decoration: none; transition: all .15s; }
.pagination-link:hover { background: var(--amber-soft); border-color: var(--amber-honey); color: var(--coffee-bean); }
.pagination-info { color: var(--muted); font-size: .9rem; font-weight: 500; }

/* ── Sidebar tags ──────────────────────────────────────────────────── */
.sidebar-tag-list { display: flex; flex-direction: column; gap: 6px; }
.sidebar-tag { background: var(--bright-snow); border: 1px solid var(--line); border-radius: 100px; color: var(--muted); display: inline-block; font-size: .82rem; padding: 5px 12px; text-decoration: none; transition: all .12s; }
.sidebar-tag:hover { background: var(--amber-soft); border-color: var(--amber-honey); color: var(--coffee-bean); }

/* ── Blog (modern design) ────────────────────────────────────────────── */
.blog-main { background: var(--bg); }
.blog-hero { background: var(--bright-snow); padding: 80px max(var(--page-x), calc((100vw - 1180px) / 2 + var(--page-x))); text-align: center; }
.blog-hero span.eyebrow { color: var(--muted); display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 16px; text-transform: uppercase; }
.blog-hero h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 20px; }
.blog-hero p { color: var(--muted); font-size: 1.02rem; line-height: 1.65; margin: 0 auto 36px; max-width: 640px; }

.blog-search { align-items: center; background: white; border: 1px solid #e0e0e0; border-radius: 10px; display: flex; gap: 12px; margin: 0 auto; max-width: 520px; padding: 14px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.blog-search svg { color: #999; flex-shrink: 0; }
.blog-search input { background: none; border: none; color: var(--ink); flex: 1; font: inherit; font-size: 1rem; outline: none; }
.blog-search input::placeholder { color: #999; }
.blog-search button { background: var(--amber-honey); border: none; border-radius: 8px; color: white; cursor: pointer; font-weight: 600; padding: 8px 18px; text-decoration: none; transition: all .2s; font-size: .9rem; }
.blog-search button:hover { background: #d69a0a; opacity: 1; }

.blog-container { max-width: 1180px; margin: 0 auto; padding: 0 var(--page-x); }
.blog-body { padding: 60px 0; background: var(--bg); }

.blog-cats { align-items: center; border-bottom: 1px solid #e0e0e0; display: flex; gap: 24px; margin-bottom: 48px; overflow-x: auto; padding-bottom: 14px; -webkit-overflow-scrolling: touch; }
.blog-cats a { color: #666; display: inline-block; font-size: .95rem; font-weight: 500; padding-bottom: 10px; text-decoration: none; transition: all .15s; white-space: nowrap; border-bottom: 2px solid transparent; }
.blog-cats a:hover { color: var(--ink); }
.blog-cats a.is-active { border-bottom-color: var(--amber-honey); color: var(--ink); }

.blog-featured { align-items: stretch; background: var(--bright-snow); border-radius: 12px; display: grid; gap: 0; grid-template-columns: 1fr 1fr; margin-bottom: 60px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(23,15,17,.08); }
.bf-media { border-radius: 0; overflow: hidden; min-height: 300px; }
.bf-media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.bf-body { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.bf-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 16px; }
.bf-body p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0 0 20px; }

.blog-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); margin-bottom: 60px; }
.blog-card { background: var(--bright-snow); border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(23,15,17,.1); transform: translateY(-4px); }
.bc-media { border-radius: 0; height: 200px; overflow: hidden; }
.bc-media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.bc-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.bc-body h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 0 0 8px; }
.bc-body h3 a { color: var(--ink); text-decoration: none; }
.bc-body h3 a:hover { color: var(--amber-honey); }
.bc-body > p { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 0 0 16px; flex-grow: 1; }

.blog-badge { background: rgba(232,170,20,.1); border: 1px solid rgba(232,170,20,.3); border-radius: 6px; color: var(--amber-honey); display: inline-block; font-size: .75rem; font-weight: 600; margin-bottom: 12px; padding: 5px 10px; text-decoration: none; text-transform: uppercase; width: fit-content; transition: all .15s; }
.blog-badge:hover { background: rgba(232,170,20,.15); border-color: var(--amber-honey); }

.byline { align-items: center; display: flex; font-size: .85rem; font-weight: 500; gap: 8px; }
.byline-av { border-radius: 50%; height: 32px; object-fit: cover; width: 32px; }

.blog-meta { align-items: center; color: var(--muted); display: flex; flex-wrap: wrap; font-size: .85rem; gap: 6px; margin-top: auto; padding-top: 12px; }
.blog-meta time { font-weight: 500; }
.bc-byline { margin-bottom: 12px; margin-top: auto; }

.blog-empty { color: var(--muted); padding: 60px 20px; text-align: center; }

.blog-pager { align-items: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 60px; padding: 40px 0; }
.bp-current { color: var(--muted); font-size: .95rem; font-weight: 500; }

@media (max-width: 1024px) {
  .blog-featured { grid-template-columns: 1fr; }
  .bf-media { min-height: 280px; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .bc-media { height: 180px; }
  .bf-body { padding: 32px; }
}

@media (max-width: 640px) {
  .blog-hero { padding: 60px var(--page-x); }
  .blog-hero h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
  .blog-hero p { font-size: .95rem; margin-bottom: 24px; }
  .blog-search { flex-direction: column; }
  .blog-search input { font-size: 16px; }
  .blog-search button { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .bc-media { height: 200px; }
  .bf-media { min-height: 240px; }
  .bf-body { padding: 24px; }
  .bc-body { padding: 16px; }
  .blog-cats { gap: 12px; padding-bottom: 12px; }
  .blog-meta { font-size: .8rem; }
  .blog-search input::placeholder { font-size: 14px; }
}

/* ── Hero variants ────────────────────────────────────────────────────────── */
.blog-hero--blue { background: var(--baltic-blue); }
.blog-hero--blue .eyebrow { color: rgba(255,255,255,.65); }
.blog-hero--blue h1 { color: #fff; }
.blog-hero--blue p { color: rgba(255,255,255,.8); }

.blog-hero--dark { background: var(--coffee-bean); }
.blog-hero--dark .eyebrow { color: rgba(251,250,248,.55); }
.blog-hero--dark h1 { color: var(--bright-snow); }
.blog-hero--dark p { color: rgba(251,250,248,.72); }

/* ── Cards without a cover image — colored top stripe ───────────────────── */
.blog-card:not(:has(.bc-media)) { border-top: 4px solid var(--amber-honey); }
.learning-page .blog-card:not(:has(.bc-media)) { border-top-color: var(--baltic-blue); }
.newsroom-page .blog-card:not(:has(.bc-media)) { border-top-color: var(--coffee-bean); }

/* ── Learning Lab — module section headers ──────────────────────────────── */
.learning-module-section { margin-bottom: 60px; }
.learning-module-header { align-items: baseline; border-bottom: 2px solid var(--baltic-blue); display: flex; gap: 12px; justify-content: space-between; margin-bottom: 28px; padding-bottom: 12px; }
.learning-module-header h2 { color: var(--ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.learning-module-count { color: var(--muted); font-size: .85rem; font-weight: 500; white-space: nowrap; }
.learning-module-link { color: var(--baltic-blue); font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.learning-module-link:hover { text-decoration: underline; }

/* ── Newsroom — timeline layout ─────────────────────────────────────────── */
.news-timeline { display: flex; flex-direction: column; gap: 0; margin-bottom: 60px; }
.news-item { align-items: flex-start; border-bottom: 1px solid var(--line); display: grid; gap: 24px; grid-template-columns: 110px 1fr; padding: 28px 0; text-decoration: none; transition: background .15s; }
.news-item:first-child { border-top: 1px solid var(--line); }
.news-item:hover { background: var(--bright-snow); border-radius: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.news-item-date { color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .02em; padding-top: 4px; text-transform: uppercase; }
.news-item-body { display: flex; flex-direction: column; gap: 6px; }
.news-item-body h3 { color: var(--ink); font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 0; transition: color .15s; }
.news-item:hover .news-item-body h3 { color: var(--coffee-bean); }
.news-item-body p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 0; }
.news-item-footer { align-items: center; display: flex; gap: 10px; margin-top: 4px; }

@media (max-width: 640px) {
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-item:hover { margin: 0; padding-left: 0; padding-right: 0; }
  .learning-module-header { flex-direction: column; gap: 4px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Foundation pass (v21): unified nav/footer CTAs + homepage sections
   ════════════════════════════════════════════════════════════════════════════ */

/* Secondary "Explore demo" ghost button beside the primary pilot CTA */
.nav-cta.nav-cta--ghost { background: #fff; border: 1px solid var(--line); color: #000; }
.nav-cta.nav-cta--ghost:hover { border-color: rgba(232,170,20,.72); opacity: 1; }

/* Footer partner link — intentionally demoted */
.footer-partner-link { opacity: .72; font-size: .92em; }

/* ── Questions Atlariem answers ─────────────────────────── */
.questions-grid { display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0,1fr)); margin-top: 36px; }
.question-card { background: var(--panel-bg); border: 1px solid var(--line); border-left: 3px solid var(--amber-honey); border-radius: 12px; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; }
.question-num { color: var(--amber-honey); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.question-card p { color: var(--ink); font-size: .98rem; font-weight: 600; line-height: 1.45; margin: 0; }
.questions-foot { color: var(--muted); font-size: 1rem; margin-top: 24px; max-width: 640px; }
@media (max-width: 980px) { .questions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 540px) { .questions-grid { grid-template-columns: 1fr; } }

/* ── Interactive demo promo ─────────────────────────────── */
.demo-promo { align-items: center; background: var(--coffee-bean); border-radius: 20px; display: grid; gap: 48px; grid-template-columns: 1.1fr .9fr; padding: clamp(28px,4vw,56px); }
.demo-promo .eyebrow { color: var(--amber-honey); }
.demo-promo-copy h2 { color: var(--bright-snow); font-size: clamp(1.7rem,3.2vw,2.4rem); line-height: 1.1; margin: 8px 0 14px; }
.demo-promo-copy .section-lede { color: rgba(251,250,248,.78); max-width: none; }
.demo-steps { display: grid; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.demo-steps li { align-items: center; color: rgba(251,250,248,.85); display: flex; font-size: .95rem; gap: 12px; }
.demo-steps li span { align-items: center; background: var(--amber-soft); border-radius: 50%; color: var(--amber-honey); display: inline-flex; flex-shrink: 0; font-size: .8rem; font-weight: 800; height: 24px; justify-content: center; width: 24px; }
.demo-promo-card { background: var(--bright-snow); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.3); padding: 20px; }
.dp-card-head { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 10px; padding-bottom: 14px; }
.dp-card-head strong { display: block; font-size: .98rem; }
.dp-card-sub { color: var(--muted); font-size: .78rem; }
.dp-card-head .sc-badge { margin-left: auto; }
.dp-card-rows { display: grid; gap: 10px; margin: 14px 0; }
.dp-card-rows > div { display: flex; font-size: .86rem; gap: 12px; justify-content: space-between; }
.dp-card-rows dt { color: var(--muted); margin: 0; }
.dp-card-rows dd { color: var(--ink); font-weight: 600; margin: 0; }
.dp-card-rows .dp-missing { color: #9B2335; }
@media (max-width: 860px) { .demo-promo { gap: 28px; grid-template-columns: 1fr; } }

/* ── Business outcomes ──────────────────────────────────── */
.outcomes-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 36px; }
.outcome-card { align-items: flex-start; background: var(--panel-bg); border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 12px; padding: 22px 20px; }
.outcome-card::before { background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23E8AA14' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; border-radius: 50%; content: ""; flex-shrink: 0; height: 18px; margin-top: 3px; width: 18px; }
.outcome-card p { color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.45; margin: 0; }
@media (max-width: 980px) { .outcomes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 540px) { .outcomes-grid { grid-template-columns: 1fr; } }

/* ── Latest content: Blog / Learning Lab / News ─────────── */
.latest-content-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 36px; }
.latest-col { display: flex; flex-direction: column; gap: 12px; }
.latest-col-head { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 4px; }
.latest-tag { border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .03em; padding: 5px 10px; }
.latest-tag--blog { background: var(--amber-soft); color: #8a6200; }
.latest-tag--lab  { background: rgba(69,105,144,.14); color: var(--baltic-blue); }
.latest-tag--news { background: var(--pink-soft); color: #9B2335; }
.latest-item { background: var(--panel-bg); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.latest-item:hover { border-color: rgba(232,170,20,.72); box-shadow: 0 12px 30px rgba(23,15,17,.08); }
.latest-item-label { color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.latest-item strong { color: var(--ink); font-size: .98rem; line-height: 1.3; }
.latest-item-meta { color: var(--muted); font-size: .8rem; }
.latest-empty { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .latest-content-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   Atrium — person-centered ownership workspace
   ═══════════════════════════════════════════════════════════════════ */

/* ── Page shell ──────────────────────────────────────────────────── */
.atrium-page { display: flex; flex-direction: column; min-height: 100%; }

.atrium-viewing-banner {
  align-items: center; background: rgba(232,170,20,.1); border-bottom: 1px solid rgba(232,170,20,.25);
  color: var(--ink); display: flex; font-size: .84rem; font-weight: 500; gap: 10px;
  padding: 10px var(--page-gutter);
}
.atrium-viewing-back { color: var(--amber-honey); font-weight: 700; margin-left: auto; }
.atrium-viewing-back:hover { text-decoration: underline; }

/* ── Hero header ─────────────────────────────────────────────────── */
.atrium-hero {
  background: var(--coffee-bean);
  color: var(--bright-snow);
  padding: 28px var(--page-gutter) 0;
}
.atrium-hero-inner { max-width: var(--content-max); margin: 0 auto; }

.atrium-hero-top {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 24px;
}

.atrium-person-row { align-items: center; display: flex; gap: 16px; }

.atrium-avatar-lg {
  align-items: center;
  background: rgba(232,170,20,.18);
  border: 2px solid rgba(232,170,20,.35);
  border-radius: 50%;
  color: var(--amber-honey);
  display: flex;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
  height: 56px;
  justify-content: center;
  letter-spacing: -.01em;
  width: 56px;
}

.atrium-greeting {
  color: var(--bright-snow);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0;
}
.atrium-person-meta {
  color: rgba(251,250,248,.5);
  font-size: .84rem;
  margin: 3px 0 0;
}
.atrium-last-reviewed {
  color: rgba(251,250,248,.35);
  font-size: .75rem;
  margin: 4px 0 0;
}

/* Hero action buttons */
.atrium-hero-actions { align-items: center; display: flex; flex-shrink: 0; gap: 10px; }

.atrium-btn-ghost {
  align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: rgba(251,250,248,.8);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .84rem;
  font-weight: 600;
  gap: 7px;
  padding: 8px 14px;
  text-decoration: none;
  transition: background .14s, border-color .14s;
  white-space: nowrap;
}
.atrium-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; }

.atrium-btn-primary {
  align-items: center;
  background: var(--amber-honey);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--coffee-bean);
  display: inline-flex;
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  gap: 7px;
  padding: 8px 16px;
  text-decoration: none;
  transition: opacity .14s;
  white-space: nowrap;
}
.atrium-btn-primary:hover { opacity: .88; }

/* Stats strip */
.atrium-hero-stats {
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 0;
}
.atrium-hero-stat {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  padding: 16px 8px 18px;
  text-align: center;
  transition: background .12s;
}
.atrium-hero-stat:hover { background: rgba(255,255,255,.04); }
.atrium-hero-stat-val {
  color: var(--bright-snow);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}
.atrium-hero-stat-label {
  color: rgba(251,250,248,.42);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.atrium-hero-stat--warn .atrium-hero-stat-val { color: #f97316; }
.atrium-hero-stat--alert .atrium-hero-stat-val { color: #ef4444; }
.atrium-hero-stat-sep { background: rgba(255,255,255,.08); flex-shrink: 0; width: 1px; }

/* ── NEW sidebar badge ───────────────────────────────────────────── */
.sidebar-badge-new {
  background: var(--amber-honey);
  border-radius: 999px;
  color: var(--coffee-bean);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .05em;
  margin-left: auto;
  padding: 2px 5px;
  text-transform: uppercase;
}

/* ── Main layout ─────────────────────────────────────────────────── */
.atrium-main {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 340px;
  max-width: var(--content-max);
  margin: 24px auto 0;
  padding: 0 var(--page-gutter) 48px;
  width: 100%;
  align-items: start;
}

.atrium-left { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* ── Ownership clarity card ──────────────────────────────────────── */
.atrium-clarity-card {
  align-items: stretch;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.atrium-clarity-donut-wrap {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding: 20px 16px 20px 24px;
  position: relative;
  width: 112px;
}
.atrium-clarity-donut { display: block; overflow: visible; }
.atrium-clarity-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  position: absolute;
}
.atrium-clarity-pct { font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; }

.atrium-clarity-body {
  border-left: 1px solid var(--border);
  flex: 1;
  min-width: 0;
  padding: 18px 18px 18px 20px;
}
.atrium-clarity-title { font-size: .9rem; font-weight: 800; margin: 0 0 2px; }
.atrium-clarity-sub { color: var(--text-muted); font-size: .78rem; margin: 0 0 12px; }

.atrium-clarity-metrics { display: flex; flex-direction: column; gap: 5px; }
.atrium-cm { align-items: center; display: flex; font-size: .78rem; gap: 7px; }
.atrium-cm-dot { border-radius: 50%; flex-shrink: 0; height: 7px; width: 7px; }
.atrium-cm--ok   .atrium-cm-dot { background: #22c55e; }
.atrium-cm--warn .atrium-cm-dot { background: #e8aa14; }
.atrium-cm--alert .atrium-cm-dot { background: #ef4444; }
.atrium-cm--pending .atrium-cm-dot { background: #94a3b8; }
.atrium-cm--ok   { color: var(--text-muted); }
.atrium-cm--warn { color: var(--ink); }
.atrium-cm--alert { color: #ef4444; }
.atrium-cm--pending { color: var(--text-muted); }

.atrium-clarity-cta {
  align-items: flex-end;
  border-left: 1px solid var(--border);
  color: var(--amber-honey);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 700;
  justify-content: flex-end;
  padding: 16px 18px;
  text-decoration: none;
  transition: color .12s;
  white-space: nowrap;
}
.atrium-clarity-cta:hover { color: #c8920f; }

/* ── Tabs ────────────────────────────────────────────────────────── */
.atrium-tabs {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.atrium-tab-nav {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 20px;
  scrollbar-width: none;
}
.atrium-tab-nav::-webkit-scrollbar { display: none; }

.atrium-tab-btn {
  align-items: center;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .84rem;
  font-weight: 600;
  gap: 6px;
  margin-bottom: -1px;
  padding: 13px 14px 11px;
  transition: color .14s, border-color .14s;
  white-space: nowrap;
}
.atrium-tab-btn:hover { color: var(--ink); }
.atrium-tab-btn.active { border-bottom-color: var(--amber-honey); color: var(--ink); }

.atrium-tab-count {
  background: var(--amber-honey);
  border-radius: 999px;
  color: var(--coffee-bean);
  font-size: .65rem;
  font-weight: 800;
  padding: 1px 6px;
}

.atrium-tab-panel { padding: 20px 20px 24px; }

/* ── Groups ──────────────────────────────────────────────────────── */
.atrium-section-title { font-size: .72rem; font-weight: 700; letter-spacing: .06em; margin: 0 0 14px; opacity: .45; text-transform: uppercase; }

.atrium-group { margin-bottom: 14px; }
.atrium-group:last-child { margin-bottom: 0; }

.atrium-group-hd {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(23,15,17,.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: background .1s;
  user-select: none;
}
.atrium-group-hd:hover { background: rgba(23,15,17,.055); }
.atrium-group-hd-left { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.atrium-group-label { color: var(--ink); font-size: .84rem; font-weight: 700; }
.atrium-group-count { background: rgba(23,15,17,.08); border-radius: 999px; color: var(--text-muted); font-size: .7rem; font-weight: 700; padding: 1px 7px; }
.atrium-group-pill { border-radius: 999px; font-size: .68rem; font-weight: 700; padding: 1px 7px; }
.atrium-group-pill--warn  { background: rgba(232,170,20,.12); color: #8a6200; }
.atrium-group-pill--alert { background: rgba(239,68,68,.1); color: #ef4444; }
.atrium-group-chevron { color: var(--text-muted); flex-shrink: 0; transition: transform .18s; }

.atrium-group-body { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }

/* ── Responsibility card ─────────────────────────────────────────── */
.atrium-card {
  align-items: center;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  padding: 13px 15px;
  transition: border-color .14s, box-shadow .14s;
}
.atrium-card--clickable { cursor: pointer; }
.atrium-card--clickable:hover {
  border-color: rgba(232,170,20,.5);
  box-shadow: 0 2px 8px rgba(23,15,17,.06);
}

.atrium-card-main { flex: 1; min-width: 0; }

.atrium-card-title-row { align-items: center; display: flex; gap: 8px; margin-bottom: 5px; }
.atrium-card-name { color: var(--ink); font-size: .9rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.atrium-card-roles { align-items: center; display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px; }
.atrium-card-footer-meta { color: var(--text-muted); font-size: .75rem; }

.atrium-card-alerts { margin-top: 5px; }
.atrium-alert-chip {
  align-items: center;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 5px;
  color: #ef4444;
  display: inline-flex;
  font-size: .7rem;
  font-weight: 600;
  gap: 4px;
  padding: 2px 7px;
}

.atrium-card-right-col {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 6px;
}
.atrium-card-verified-date { color: var(--text-muted); font-size: .72rem; white-space: nowrap; }
.atrium-card-arrow { color: var(--text-muted); opacity: .4; transition: opacity .12s; }
.atrium-card--clickable:hover .atrium-card-arrow { opacity: .9; color: var(--amber-honey); }
.atrium-inline-link { color: var(--amber-honey); font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.atrium-inline-link:hover { text-decoration: underline; }

/* Role chips */
.atrium-role-chip {
  background: rgba(23,15,17,.06);
  border: 1px solid rgba(23,15,17,.1);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 600;
  padding: 1px 7px;
}
.atrium-role-chip--primary {
  background: rgba(232,170,20,.12);
  border-color: rgba(232,170,20,.25);
  color: #8a6200;
}
.atrium-role-chip--owner {
  background: rgba(34,197,94,.1);
  border-color: rgba(34,197,94,.25);
  color: #166534;
}
.atrium-role-chip--sm { font-size: .68rem; padding: 1px 6px; }
.atrium-card-dept-tag {
  color: var(--text-muted);
  font-size: .72rem;
}

/* Criticality dot */
.atrium-crit-dot { border-radius: 50%; flex-shrink: 0; height: 7px; width: 7px; }
.atrium-crit-dot--critical { background: #ef4444; }
.atrium-crit-dot--high     { background: #f97316; }
.atrium-crit-dot--medium   { background: #e8aa14; }
.atrium-crit-dot--low      { background: #94a3b8; }

/* Criticality badge (table) */
.atrium-crit-badge { border-radius: 4px; font-size: .7rem; font-weight: 700; padding: 2px 7px; }
.atrium-crit-badge--critical { background: rgba(239,68,68,.1); color: #ef4444; }
.atrium-crit-badge--high     { background: rgba(249,115,22,.1); color: #f97316; }
.atrium-crit-badge--medium   { background: rgba(232,170,20,.12); color: #8a6200; }
.atrium-crit-badge--low      { background: rgba(148,163,184,.12); color: #64748b; }

/* ── Needs review cards ──────────────────────────────────────────── */
.atrium-review-section { margin-bottom: 28px; }
.atrium-review-section:last-child { margin-bottom: 0; }
.atrium-review-section-title { font-size: .92rem; font-weight: 800; margin: 0 0 4px; }
.atrium-review-section-sub { color: var(--text-muted); font-size: .8rem; margin: 0 0 14px; }

.atrium-review-card {
  align-items: center;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 13px 16px;
}
.atrium-review-card-left { flex: 1; min-width: 0; }
.atrium-review-card-actions { align-items: flex-end; display: flex; flex-direction: column; flex-shrink: 0; gap: 5px; }
.atrium-request-eyebrow { color: var(--text-muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Verify button */
.atrium-verify-btn {
  background: rgba(232,170,20,.1);
  border: 1px solid rgba(232,170,20,.25);
  border-radius: 5px;
  color: #8a6200;
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  transition: background .12s;
  white-space: nowrap;
}
.atrium-verify-btn:hover { background: rgba(232,170,20,.2); }

/* ── Empty states ────────────────────────────────────────────────── */
.atrium-empty {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 40px 20px;
  text-align: center;
}
.atrium-empty p { color: var(--text-muted); font-size: .9rem; font-weight: 600; margin: 0; }
.atrium-empty-sub { color: var(--text-muted); font-size: .8rem !important; font-weight: 400 !important; max-width: 400px; }
.atrium-empty--ok p { color: #166534; }

/* ── History ─────────────────────────────────────────────────────── */
.atrium-history { display: flex; flex-direction: column; gap: 10px; }
.atrium-history-row { align-items: center; display: flex; gap: 12px; }
.atrium-history-dot { border-radius: 50%; flex-shrink: 0; height: 8px; width: 8px; }
.atrium-history-dot--ok { background: #22c55e; }
.atrium-history-dot--warn { background: #f97316; }
.atrium-history-body { align-items: center; display: flex; flex-wrap: wrap; font-size: .82rem; gap: 6px; }
.atrium-history-action { color: var(--text-muted); }
.atrium-history-asset { color: var(--ink); font-weight: 600; }
.atrium-history-date { color: var(--text-muted); margin-left: auto; white-space: nowrap; }

/* ── Detail panel ────────────────────────────────────────────────── */
.atrium-detail {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  overflow: hidden;
  position: sticky;
  top: 16px;
  transform: translateX(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.atrium-detail--open { opacity: 1; transform: translateX(0); }

.atrium-detail-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 16px 18px;
}
.atrium-detail-name { color: var(--ink); font-size: 1rem; font-weight: 800; line-height: 1.2; }
.atrium-detail-type-tag {
  background: rgba(23,15,17,.06);
  border: 1px solid rgba(23,15,17,.09);
  border-radius: 4px;
  color: var(--text-muted);
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  margin-top: 4px;
  padding: 1px 7px;
}
.atrium-detail-close {
  align-items: center;
  background: rgba(23,15,17,.06);
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 26px;
  justify-content: center;
  padding: 0;
  transition: background .12s, color .12s;
  width: 26px;
}
.atrium-detail-close:hover { background: rgba(23,15,17,.12); color: var(--ink); }

.atrium-detail-tabs-nav {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0;
  padding: 0 16px;
}
.atrium-detail-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: -1px;
  padding: 10px 10px 8px;
  transition: color .12s, border-color .12s;
}
.atrium-detail-tab.active { border-bottom-color: var(--amber-honey); color: var(--ink); }
.atrium-detail-tab:hover:not(.active) { color: var(--ink); }

.atrium-detail-meta-grid {
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  padding: 14px 18px;
}
.atrium-dm-row { display: flex; flex-direction: column; gap: 2px; padding: 5px 0; }
.atrium-dm-label { color: var(--text-muted); font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.atrium-dm-val { color: var(--ink); font-size: .82rem; font-weight: 600; }

.atrium-detail-section { border-bottom: 1px solid var(--border); padding: 14px 18px; }
.atrium-detail-section:last-of-type { border-bottom: none; }
.atrium-detail-section-label { color: var(--text-muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; text-transform: uppercase; }

.atrium-detail-roles { display: flex; flex-direction: column; gap: 7px; }
.atrium-dr-row { align-items: center; display: flex; gap: 7px; font-size: .8rem; }
.atrium-dr-status { border-radius: 4px; font-size: .65rem; font-weight: 700; margin-left: auto; padding: 1px 6px; }
.atrium-dr-status--ok      { background: rgba(34,197,94,.1); color: #166534; }
.atrium-dr-status--missing { background: rgba(239,68,68,.1); color: #ef4444; }

.atrium-detail-actions { display: flex; flex-direction: column; gap: 5px; }
.atrium-qa {
  align-items: center;
  background: rgba(23,15,17,.04);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--ink);
  display: flex;
  font-size: .8rem;
  font-weight: 600;
  gap: 8px;
  padding: 9px 12px;
  text-decoration: none;
  transition: background .12s, border-color .12s;
}
.atrium-qa:hover { background: rgba(23,15,17,.07); border-color: rgba(23,15,17,.14); }
.atrium-qa--primary {
  background: rgba(232,170,20,.1);
  border-color: rgba(232,170,20,.25);
  color: #8a6200;
}
.atrium-qa--primary:hover { background: rgba(232,170,20,.18); }

.atrium-detail-tip {
  align-items: flex-start;
  background: rgba(69,105,144,.06);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  padding: 14px 18px;
}
.atrium-tip-icon { color: var(--baltic-blue); flex-shrink: 0; margin-top: 1px; opacity: .7; }
.atrium-tip-title { color: var(--ink); font-size: .8rem; font-weight: 700; margin-bottom: 3px; }
.atrium-tip-text { color: var(--text-muted); font-size: .75rem; margin: 0 0 5px; }
.atrium-tip-link { color: var(--amber-honey); font-size: .75rem; font-weight: 700; text-decoration: none; }
.atrium-tip-link:hover { text-decoration: underline; }

/* ── Browse people modal ─────────────────────────────────────────── */
.atrium-browse-overlay {
  align-items: flex-start;
  background: rgba(0,0,0,.5);
  bottom: 0; left: 0; right: 0; top: 0;
  display: flex;
  justify-content: center;
  padding-top: 10vh;
  position: fixed;
  z-index: 900;
}
.atrium-browse-modal {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(23,15,17,.2);
  display: flex;
  flex-direction: column;
  max-height: 70vh;
  overflow: hidden;
  width: min(480px, calc(100vw - 32px));
}
.atrium-browse-header {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}
.atrium-browse-title { font-size: .95rem; font-weight: 800; margin: 0; }
.atrium-browse-search {
  background: rgba(23,15,17,.04);
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
  outline: none;
  padding: 12px 18px;
  width: 100%;
}
.atrium-browse-search::placeholder { color: var(--text-muted); }
.atrium-browse-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.atrium-browse-item {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 12px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background .1s;
}
.atrium-browse-item:hover { background: var(--amber-soft); }
.atrium-browse-avatar {
  align-items: center;
  background: var(--amber-soft);
  border-radius: 50%;
  color: var(--amber-honey);
  display: flex;
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.atrium-browse-name { font-size: .88rem; font-weight: 700; }
.atrium-browse-sub { color: var(--text-muted); font-size: .75rem; }

/* ── Dashboard Atrium card ───────────────────────────────────────── */
.atrium-dash-card {
  background: linear-gradient(135deg, var(--coffee-bean) 0%, #261A1E 100%);
  border: 1px solid rgba(232,170,20,.25);
  border-radius: 14px;
  color: var(--bright-snow);
  padding: 20px 22px;
  text-decoration: none;
}
.atrium-dash-card-label {
  color: rgba(232,170,20,.9);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.atrium-dash-card-title { font-size: 1.05rem; font-weight: 800; margin: 5px 0 14px; }
.atrium-dash-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.atrium-dash-stat { display: flex; flex-direction: column; gap: 1px; }
.atrium-dash-stat-val { font-size: 1.4rem; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.atrium-dash-stat-label { color: rgba(251,250,248,.45); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.atrium-dash-stat--alert .atrium-dash-stat-val { color: #f97316; }
.atrium-dash-cta {
  align-items: center;
  background: var(--amber-honey);
  border-radius: 7px;
  color: var(--coffee-bean);
  display: inline-flex;
  font-size: .8rem;
  font-weight: 700;
  padding: 7px 14px;
  text-decoration: none;
  transition: opacity .14s;
}
.atrium-dash-cta:hover { opacity: .88; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .atrium-main { grid-template-columns: 1fr; }
  .atrium-detail { display: none; }
  .atrium-hero-top { flex-direction: column; gap: 16px; }
  .atrium-hero-actions { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .atrium-hero-stats { flex-wrap: wrap; }
  .atrium-hero-stat { flex: 0 0 calc(50% - 1px); }
  .atrium-hero-stat-sep { display: none; }
  .atrium-clarity-card { flex-direction: column; }
  .atrium-clarity-donut-wrap { border-left: none; border-top: none; padding: 20px 20px 12px; width: auto; }
  .atrium-clarity-body { border-left: none; border-top: 1px solid var(--border); }
  .atrium-clarity-cta { border-left: none; border-top: 1px solid var(--border); flex-direction: row; justify-content: flex-end; }
}
