@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap');

:root {
  --shell-ink: #111114;
  --shell-carbon: #19191d;
  --shell-paper: #f4f1e9;
  --shell-whitepaper: #fcfbf8;
  --shell-line: #d2cec4;
  --shell-muted: #66666e;
  --shell-violet: #6842c2;
  --shell-violet-dark: #4e2f99;
  --shell-violet-light: #b9a5e5;
}

body.smyrna-shell-active { padding-top: 0; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 2000;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: var(--shell-violet);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible,
.skip-link:focus {
  transform: translateY(0);
}

.smyrna-shell-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
}

.smyrna-shell-header .smyrna-header-surface {
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: transparent;
  transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

.smyrna-shell-header[data-scrolled="true"] { color: var(--shell-ink); }
.smyrna-shell-header[data-scrolled="true"] .smyrna-header-surface {
  border-color: var(--shell-line);
  background: rgba(244,241,233,.96);
  box-shadow: 0 8px 30px rgba(17,17,20,.06);
  backdrop-filter: blur(8px);
}

.smyrna-shell-nav {
  display: flex;
  min-height: 80px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.smyrna-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
}

.smyrna-brand svg { width: 2rem; height: 2rem; flex: none; }
.smyrna-desktop-links { display: flex; align-items: stretch; align-self: stretch; }
.smyrna-nav-link {
  display: inline-flex;
  padding: 0 1.15rem;
  border-left: 1px solid rgba(255,255,255,.14);
  align-items: center;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}
.smyrna-nav-link:hover,
.smyrna-nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.smyrna-shell-header[data-scrolled="true"] .smyrna-nav-link { color: var(--shell-muted); border-color: var(--shell-line); }
.smyrna-shell-header[data-scrolled="true"] .smyrna-nav-link:hover,
.smyrna-shell-header[data-scrolled="true"] .smyrna-nav-link[aria-current="page"] { color: var(--shell-ink); background: var(--shell-whitepaper); }
.smyrna-header-cta {
  display: inline-flex;
  padding: 0 1.5rem;
  align-items: center;
  background: var(--shell-violet);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}
.smyrna-header-cta:hover { background: var(--shell-violet-dark); }
.smyrna-nav-dropdown { position: relative; display: flex; }
.smyrna-diagnostics-link { border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.smyrna-diagnostics-link span { margin-left: .35rem; font-size: .8rem; transition: transform 180ms ease; }
.smyrna-nav-dropdown-panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  display: grid;
  min-width: 13.5rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  border: 1px solid var(--shell-line);
  background: var(--shell-whitepaper);
  box-shadow: 0 20px 45px rgba(17,17,20,.14);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.smyrna-nav-dropdown:hover .smyrna-nav-dropdown-panel,
.smyrna-nav-dropdown:focus-within .smyrna-nav-dropdown-panel { visibility: visible; opacity: 1; transform: translateY(0); }
.smyrna-nav-dropdown:hover .smyrna-diagnostics-link span,
.smyrna-nav-dropdown:focus-within .smyrna-diagnostics-link span { transform: rotate(180deg); }
.smyrna-nav-dropdown-panel a { padding: .9rem 1rem; border-bottom: 1px solid var(--shell-line); color: var(--shell-muted); font-size: .8rem; text-decoration: none; }
.smyrna-nav-dropdown-panel a:last-child { border-bottom: 0; }
.smyrna-nav-dropdown-panel a:hover,
.smyrna-nav-dropdown-panel a:focus-visible { background: var(--shell-paper); color: var(--shell-ink); }
.smyrna-mobile-menu { position: relative; display: none; }
.smyrna-mobile-menu summary { padding: 1.75rem .5rem; cursor: pointer; font-size: .82rem; font-weight: 600; list-style: none; }
.smyrna-mobile-menu summary::-webkit-details-marker { display: none; }
.smyrna-mobile-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: min(88vw,22rem);
  border: 1px solid var(--shell-line);
  background: var(--shell-whitepaper);
  color: var(--shell-ink);
  box-shadow: 0 24px 60px rgba(17,17,20,.18);
}
.smyrna-mobile-panel a { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid var(--shell-line); color: inherit; text-decoration: none; }
.smyrna-mobile-panel .smyrna-mobile-group-label { margin: 0; padding: .75rem 1.5rem; border-bottom: 1px solid var(--shell-line); color: var(--shell-violet-dark); font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.smyrna-mobile-panel a[aria-current="page"] { color: var(--shell-violet-dark); font-weight: 600; }
.smyrna-mobile-panel .smyrna-mobile-subnav { padding-left: 2.25rem; background: var(--shell-paper); color: var(--shell-muted); font-size: .78rem; }
.smyrna-mobile-panel .smyrna-mobile-cta { border: 0; background: var(--shell-violet); color: #fff; font-weight: 600; }

.smyrna-page-progress { position: absolute; inset: auto 0 0; height: 2px; overflow: hidden; pointer-events: none; }
.smyrna-page-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--shell-violet), #7fa8ca); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.smyrna-page-rail { position: fixed; top: 50%; right: 1.25rem; z-index: 850; width: 13.5rem; color: var(--shell-ink); font-family: Inter, system-ui, sans-serif; transform: translateY(-50%); }
/* Source-level editorial pages already provide their own navigation and spatial index. */
body.smyrna-experience-theme .smyrna-page-rail,
body.smyrna-environments-theme .smyrna-page-rail { display: none; }
.smyrna-page-rail summary { display: flex; min-height: 2.8rem; padding: .75rem .85rem; border: 1px solid var(--shell-line); border-radius: .8rem .8rem 0 0; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; background: rgba(252,251,248,.94); box-shadow: 0 12px 30px rgba(17,17,20,.1); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 600; }
.smyrna-page-rail:not([open]) summary { border-radius: 999px; }
.smyrna-page-rail summary > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smyrna-page-rail summary::-webkit-details-marker { display: none; }
.smyrna-page-rail summary strong { display: grid; width: 1.55rem; height: 1.55rem; border-radius: 50%; place-items: center; background: var(--shell-violet); color: #fff; font-size: .62rem; }
.smyrna-page-rail nav { max-height: min(65vh, 32rem); overflow: auto; border: 1px solid var(--shell-line); border-top: 0; border-radius: 0 0 .8rem .8rem; background: rgba(252,251,248,.97); box-shadow: 0 18px 40px rgba(17,17,20,.12); }
.smyrna-page-rail a { display: grid; grid-template-columns: 1.7rem 1fr; padding: .72rem .8rem; border-bottom: 1px solid var(--shell-line); align-items: start; gap: .35rem; color: var(--shell-muted); font-size: .68rem; line-height: 1.35; text-decoration: none; }
.smyrna-page-rail a:last-child { border-bottom: 0; }
.smyrna-page-rail a > span { color: var(--shell-violet); font-size: .58rem; font-weight: 600; letter-spacing: .08em; }
.smyrna-page-rail a:hover, .smyrna-page-rail a[aria-current] { background: var(--shell-paper); color: var(--shell-ink); }
.smyrna-section-reveal { opacity: .82; transform: translateY(10px); transition: opacity 360ms ease, transform 360ms cubic-bezier(.2,.7,.2,1); }
.smyrna-section-reveal.smyrna-section-visible { opacity: 1; transform: none; }

/* Give long internal documents useful depth without changing their content model. */
body.smyrna-internal-theme:not(.smyrna-article-page) .glass-card,
body.smyrna-internal-theme:not(.smyrna-article-page) [class*="border-gray-"][class*="p-"],
body.smyrna-internal-theme:not(.smyrna-article-page) [class*="border-slate-"][class*="p-"] {
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}
body.smyrna-internal-theme:not(.smyrna-article-page) .glass-card:hover,
body.smyrna-internal-theme:not(.smyrna-article-page) [class*="border-gray-"][class*="p-"]:hover,
body.smyrna-internal-theme:not(.smyrna-article-page) [class*="border-slate-"][class*="p-"]:hover {
  border-color: var(--shell-violet-light) !important;
  box-shadow: 0 18px 44px rgba(17,17,20,.075) !important;
  transform: translateY(-2px);
}
body.smyrna-internal-theme:not(.smyrna-article-page) > main > section:nth-child(odd),
body.smyrna-internal-theme:not(.smyrna-article-page) > section:nth-of-type(odd) {
  background-image: linear-gradient(135deg, rgba(104,66,194,.025), transparent 42%) !important;
}

.smyrna-shell-footer {
  background: var(--shell-ink);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
}
.smyrna-footer-inner { max-width: 1440px; margin: 0 auto; padding: 3.5rem 2.5rem 2rem; }
.smyrna-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.smyrna-footer-brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.smyrna-footer-brand svg { width: 2rem; height: 2rem; }
.smyrna-footer-statement { max-width: 28rem; margin: 1.25rem 0 0; color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.7; }
.smyrna-footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.smyrna-footer-column h2 { margin: 0 0 1.1rem; color: rgba(255,255,255,.35); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.smyrna-footer-column ul { display: grid; margin: 0; padding: 0; gap: .7rem; list-style: none; }
.smyrna-footer-column a { color: rgba(255,255,255,.62); font-size: .82rem; text-decoration: none; }
.smyrna-footer-column a:hover { color: #fff; }
.smyrna-footer-base { display: flex; padding-top: 2rem; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.58); font-size: .72rem; }
.smyrna-footer-legal-note { color: rgba(255,255,255,.68); }

.smyrna-shell-header :focus-visible,
.smyrna-shell-footer :focus-visible { outline: 3px solid var(--shell-violet-light); outline-offset: 4px; }

@media (max-width: 1180px) {
  .smyrna-desktop-links { display: none; }
  .smyrna-mobile-menu { display: block; }
  .smyrna-page-rail { right: .75rem; width: 12rem; }
}
@media (max-width: 720px) {
  .smyrna-shell-nav { min-height: 68px; padding: 0 1.25rem; }
  body.smyrna-internal-theme a.cta-button { width: 100%; max-width: 24rem; }
  .smyrna-brand { font-size: .9rem; }
  .smyrna-page-rail { top: auto; right: 1rem; bottom: 1rem; left: 1rem; width: auto; transform: none; }
  .smyrna-page-rail summary { margin-left: auto; width: min(14rem, calc(100vw - 2rem)); min-height: 2.6rem; border-radius: 999px; }
  .smyrna-page-rail[open] summary { width: 100%; border-radius: .8rem .8rem 0 0; }
  .smyrna-page-rail nav { max-height: 55vh; border-top: 1px solid var(--shell-line); }
  .smyrna-footer-inner { padding: 3rem 1.25rem 1.5rem; }
  .smyrna-footer-grid, .smyrna-footer-links { grid-template-columns: 1fr; }
  .smyrna-footer-grid { gap: 2.5rem; }
  .smyrna-footer-base { flex-direction: column; }
}
@media print {
  .smyrna-shell-header, .smyrna-shell-footer { display: none !important; }
}

/* Homepage-derived visual alignment for legacy internal pages. */
body.smyrna-internal-theme {
  --primary: var(--shell-ink);
  --secondary: var(--shell-whitepaper);
  --accent: var(--shell-violet);
  --success: #2f6f57;
  --warning: #9a6700;
  --enterprise: #365f8d;
  background: var(--shell-paper) !important;
  color: var(--shell-ink) !important;
  font-family: Inter, system-ui, sans-serif !important;
}

body.smyrna-internal-theme > main,
body.smyrna-internal-theme > section,
body.smyrna-internal-theme > article {
  background-color: transparent;
}

body.smyrna-internal-theme > section:first-of-type,
body.smyrna-internal-theme > main > section:first-child,
body.smyrna-internal-theme > article > section:first-child {
  padding-top: max(8rem, calc(80px + 3rem)) !important;
}

body.smyrna-internal-theme h1,
body.smyrna-internal-theme h2,
body.smyrna-internal-theme h3 {
  color: var(--shell-ink) !important;
  font-family: Newsreader, Georgia, serif !important;
  letter-spacing: -.025em;
}

body.smyrna-internal-theme h1 {
  letter-spacing: -.045em;
}

body.smyrna-internal-theme p,
body.smyrna-internal-theme li,
body.smyrna-internal-theme dd,
body.smyrna-internal-theme blockquote {
  color: var(--shell-muted);
}

body.smyrna-internal-theme strong,
body.smyrna-internal-theme dt,
body.smyrna-internal-theme label {
  color: var(--shell-ink);
}

/* Keep intended dark-surface sections readable when internal-theme defaults are active. */
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) h1,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) h2,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) h3,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) strong,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) dt,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) label {
  color: #fff !important;
}

body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) p,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) li,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) dd,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) blockquote {
  color: rgba(255,255,255,.76) !important;
}

body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) .approach-eyebrow,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) .connect-eyebrow,
body.smyrna-internal-theme :is(
  .approach-framework-section,
  .approach-engagement-route,
  .connect-next,
  .gateway-context-panel,
  .approach-model-panel,
  .assessment-entry__panel > div,
  .stack-flow-section,
  .pressure-mosaic__detail > header
) .assessment-eyebrow {
  color: var(--shell-violet-light) !important;
}

body.smyrna-internal-theme .text-white,
body.smyrna-internal-theme .text-gray-100,
body.smyrna-internal-theme .text-gray-200,
body.smyrna-internal-theme .text-gray-300 {
  color: var(--shell-ink) !important;
}

body.smyrna-internal-theme .text-gray-400,
body.smyrna-internal-theme .text-gray-500,
body.smyrna-internal-theme .text-gray-600 {
  color: var(--shell-muted) !important;
}

/* Preserve semantic meaning on paper instead of converting every signal to brand violet. */
body.smyrna-internal-theme .text-azure,
body.smyrna-internal-theme .text-blue-300,
body.smyrna-internal-theme .text-blue-400,
body.smyrna-internal-theme .text-sky-400 {
  color: #285f8f !important;
}

body.smyrna-internal-theme .text-emerald {
  color: #2f6f57 !important;
}

body.smyrna-internal-theme .text-gold,
body.smyrna-internal-theme .text-amber-300,
body.smyrna-internal-theme .text-amber-400,
body.smyrna-internal-theme .text-orange-300,
body.smyrna-internal-theme .text-orange-400 {
  color: #8a5a00 !important;
}

body.smyrna-internal-theme .text-red-300,
body.smyrna-internal-theme .text-red-400,
body.smyrna-internal-theme .text-pink-300,
body.smyrna-internal-theme .text-pink-400 {
  color: #a33a45 !important;
}

body.smyrna-internal-theme .text-purple-300,
body.smyrna-internal-theme .text-purple-400 {
  color: var(--shell-violet-dark) !important;
}

body.smyrna-internal-theme .gradient-text {
  background: none !important;
  color: var(--shell-violet-dark) !important;
  -webkit-text-fill-color: currentColor !important;
}

body.smyrna-internal-theme .glass-card,
body.smyrna-internal-theme .glass-effect,
body.smyrna-internal-theme .glass,
body.smyrna-internal-theme [class*="bg-slate-800"],
body.smyrna-internal-theme [class*="bg-slate-900"] {
  border-color: var(--shell-line) !important;
  background: var(--shell-whitepaper) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.smyrna-internal-theme [class*="border-gray-"],
body.smyrna-internal-theme [class*="border-slate-"] {
  border-color: var(--shell-line) !important;
}

body.smyrna-internal-theme .bg-slate-950,
body.smyrna-internal-theme [class*="bg-slate-950/"],
body.smyrna-internal-theme [class*="from-slate-"],
body.smyrna-internal-theme [class*="to-slate-"] {
  background-color: var(--shell-paper) !important;
  background-image: none !important;
}

body.smyrna-internal-theme [class*="bg-azure/"],
body.smyrna-internal-theme [class*="bg-blue-"][class*="/"],
body.smyrna-internal-theme [class*="bg-sky-"][class*="/"] {
  border-color: #7fa8ca !important;
  background-color: #e7f0f7 !important;
}

body.smyrna-internal-theme [class*="bg-emerald/"] {
  border-color: #8eb7a6 !important;
  background-color: #e6f0eb !important;
}

body.smyrna-internal-theme [class*="bg-gold/"],
body.smyrna-internal-theme [class*="bg-amber-"][class*="/"],
body.smyrna-internal-theme [class*="bg-orange-"][class*="/"] {
  border-color: #d0ae69 !important;
  background-color: #f7eed9 !important;
}

body.smyrna-internal-theme [class*="bg-red-"][class*="/"],
body.smyrna-internal-theme [class*="bg-pink-"][class*="/"] {
  border-color: #d6a0a5 !important;
  background-color: #f7e8e9 !important;
}

body.smyrna-internal-theme [class*="bg-purple-"][class*="/"] {
  border-color: var(--shell-violet-light) !important;
  background-color: #eee8fa !important;
}

/* Keep gradients meaningful but restrained on the light compatibility theme. */
body.smyrna-internal-theme [class*="from-azure"] {
  background-color: #e7f0f7 !important;
  background-image: linear-gradient(90deg, #e7f0f7, rgba(252,251,248,.35)) !important;
}
body.smyrna-internal-theme [class*="from-emerald"] {
  background-color: #e6f0eb !important;
  background-image: linear-gradient(90deg, #e6f0eb, rgba(252,251,248,.35)) !important;
}
body.smyrna-internal-theme [class*="from-gold"],
body.smyrna-internal-theme [class*="from-orange"] {
  background-color: #f7eed9 !important;
  background-image: linear-gradient(90deg, #f7eed9, rgba(252,251,248,.35)) !important;
}
body.smyrna-internal-theme [class*="from-red"],
body.smyrna-internal-theme [class*="from-pink"] {
  background-color: #f7e8e9 !important;
  background-image: linear-gradient(90deg, #f7e8e9, rgba(252,251,248,.35)) !important;
}
body.smyrna-internal-theme [class*="from-purple"] {
  background-color: #eee8fa !important;
  background-image: linear-gradient(90deg, #eee8fa, rgba(252,251,248,.35)) !important;
}

body.smyrna-internal-theme a[class*="bg-azure"],
body.smyrna-internal-theme a[class*="bg-emerald"],
body.smyrna-internal-theme a[class*="bg-gold"],
body.smyrna-internal-theme a[class*="bg-purple"],
body.smyrna-internal-theme a[class*="bg-orange"],
body.smyrna-internal-theme a[class*="bg-pink"],
body.smyrna-internal-theme a[class*="bg-red"],
body.smyrna-internal-theme button[class*="bg-azure"],
body.smyrna-internal-theme button[class*="bg-emerald"],
body.smyrna-internal-theme button[class*="bg-gold"],
body.smyrna-internal-theme button[class*="bg-purple"],
body.smyrna-internal-theme button[class*="bg-orange"],
body.smyrna-internal-theme button[class*="bg-pink"],
body.smyrna-internal-theme button[class*="bg-red"],
body.smyrna-internal-theme input[type="submit"] {
  border: 1px solid var(--shell-violet) !important;
  border-radius: 0 !important;
  background: var(--shell-violet) !important;
  color: #fff !important;
}

body.smyrna-internal-theme a:not(.smyrna-brand):not(.smyrna-header-cta):not(.smyrna-nav-link):not(.smyrna-mobile-cta):not(.smyrna-footer-brand) {
  text-decoration-color: var(--shell-violet-light);
}

/* Shared internal-page actions. Legacy pages use this class without defining it. */
body.smyrna-internal-theme a.cta-button {
  display: inline-flex !important;
  min-height: 2.8rem;
  padding: .72rem 1.05rem !important;
  border: 1px solid var(--shell-violet) !important;
  border-radius: 0 !important;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: var(--shell-violet) !important;
  color: #fff !important;
  font: 600 .76rem/1.25 Inter, system-ui, sans-serif !important;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
body.smyrna-internal-theme a.cta-button:hover {
  border-color: var(--shell-violet-dark) !important;
  background: var(--shell-violet-dark) !important;
}
body.smyrna-internal-theme a.cta-button.cta-button--secondary {
  border-color: var(--shell-violet) !important;
  background: transparent !important;
  color: var(--shell-violet-dark) !important;
}
body.smyrna-internal-theme a.cta-button.cta-button--secondary:hover {
  background: #eee8fa !important;
  color: var(--shell-ink) !important;
}
body.smyrna-internal-theme a.cta-button:focus-visible {
  outline: 3px solid var(--shell-violet-light);
  outline-offset: 3px;
}

body.smyrna-internal-theme input,
body.smyrna-internal-theme select,
body.smyrna-internal-theme textarea {
  border-color: var(--shell-line) !important;
  border-radius: 0 !important;
  background: var(--shell-whitepaper) !important;
  color: var(--shell-ink) !important;
}

body.smyrna-internal-theme table {
  border-color: #bdb8ae !important;
  background: var(--shell-whitepaper);
  color: var(--shell-ink);
}

body.smyrna-internal-theme th,
body.smyrna-internal-theme td {
  border-color: #c8c3b9 !important;
}

body.smyrna-internal-theme .table-shell,
body.smyrna-internal-theme .glass-card:has(> .article-table),
body.smyrna-internal-theme .glass-card:has(> table) {
  border: 1px solid #bdb8ae !important;
  background: var(--shell-whitepaper) !important;
  box-shadow: 0 14px 35px rgba(17,17,20,.055) !important;
}

body.smyrna-internal-theme .comparison-table th,
body.smyrna-internal-theme .article-table th {
  background: #e7e3da !important;
  color: #29292f !important;
  border-bottom: 2px solid #aaa49a !important;
}

body.smyrna-internal-theme .comparison-table td,
body.smyrna-internal-theme .article-table td,
body.smyrna-internal-theme .article-table tbody tr td:first-child {
  color: #35353b !important;
}

body.smyrna-internal-theme .comparison-table tbody tr:nth-child(even),
body.smyrna-internal-theme .article-table tbody tr:nth-child(even) {
  background: #f2efe8;
}

body.smyrna-internal-theme .comparison-table tr:hover td,
body.smyrna-internal-theme .article-table tr:hover td {
  background: #e9e4da !important;
}

/* Article figures were authored for charcoal. Rebuild their contrast on paper while retaining data colors. */
body.smyrna-internal-theme .svg-wrap,
body.smyrna-internal-theme .mermaid-wrap {
  border-color: #bdb8ae !important;
  background: var(--shell-whitepaper) !important;
  box-shadow: 0 14px 35px rgba(17,17,20,.055);
}
body.smyrna-internal-theme .svg-wrap svg [fill="#f1f5f9"],
body.smyrna-internal-theme .svg-wrap svg [fill="#cbd5e1"] { fill: #242429 !important; }
body.smyrna-internal-theme .svg-wrap svg [fill="#94a3b8"],
body.smyrna-internal-theme .svg-wrap svg [fill="#64748b"] { fill: #5b5b63 !important; }
body.smyrna-internal-theme .svg-wrap svg [stroke="#334155"],
body.smyrna-internal-theme .svg-wrap svg [stroke="#1e293b"] { stroke: #c8c3b9 !important; }
body.smyrna-internal-theme .svg-wrap svg [stroke="#64748b"] { stroke: #74747c !important; }
body.smyrna-internal-theme .svg-wrap svg [fill="#0EA5E9"] { fill: #286f9f !important; }
body.smyrna-internal-theme .svg-wrap svg [stroke="#0EA5E9"] { stroke: #286f9f !important; }
body.smyrna-internal-theme .svg-wrap svg [fill="#10B981"] { fill: #2f7659 !important; }
body.smyrna-internal-theme .svg-wrap svg [stroke="#10B981"] { stroke: #2f7659 !important; }
body.smyrna-internal-theme .svg-wrap svg [fill="#FFD700"] { fill: #9a6700 !important; }
body.smyrna-internal-theme .svg-wrap svg [stroke="#FFD700"] { stroke: #9a6700 !important; }
body.smyrna-internal-theme .svg-wrap svg [fill="#FB7185"] { fill: #b33a4b !important; }
body.smyrna-internal-theme .svg-wrap svg [stroke="#FB7185"] { stroke: #b33a4b !important; }
body.smyrna-internal-theme .svg-wrap svg [fill="#A78BFA"] { fill: #6842c2 !important; }
body.smyrna-internal-theme .svg-wrap svg [stroke="#A78BFA"] { stroke: #6842c2 !important; }

body.smyrna-internal-theme .rounded-lg,
body.smyrna-internal-theme .rounded-xl,
body.smyrna-internal-theme .rounded-2xl,
body.smyrna-internal-theme .rounded-3xl {
  border-radius: 2px !important;
}

body.smyrna-internal-theme section[id],
body.smyrna-internal-theme article[id],
body.smyrna-environments-theme .industry-panel[id] {
  scroll-margin-top: 6rem;
}

body.smyrna-environments-theme {
  --ink: var(--shell-ink);
  --carbon: var(--shell-carbon);
  --paper: var(--shell-paper);
  --white: var(--shell-whitepaper);
  --line: var(--shell-line);
  --muted: var(--shell-muted);
  --quiet: #85818a;
  --green: var(--shell-violet);
  --green-light: #eee8fa;
  --rust: var(--shell-violet-dark);
  --blue: #5e45a5;
  --amber: #8068bd;
  --display: Inter, system-ui, sans-serif;
  --serif: Newsreader, Georgia, serif;
}

/* Modern shared navigation: compact, floating and consistent across routes. */
.smyrna-shell-header {
  padding: .75rem 1rem 0;
  pointer-events: none;
}

.smyrna-shell-header .smyrna-header-surface {
  width: min(100%, 1400px);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  overflow: visible;
  pointer-events: auto;
}

.smyrna-shell-header[data-scrolled="true"] .smyrna-header-surface {
  border-color: rgba(210,206,196,.9);
  background: rgba(252,251,248,.9);
  box-shadow: 0 14px 44px rgba(17,17,20,.09);
}

.smyrna-shell-nav {
  min-height: 64px;
  padding: 0 .65rem 0 1.1rem;
}

.smyrna-brand svg {
  width: 1.75rem;
  height: 1.75rem;
}

.smyrna-desktop-links {
  align-items: center;
  align-self: auto;
  gap: .15rem;
}

.smyrna-nav-link {
  min-height: 2.65rem;
  padding: 0 .95rem;
  border: 0;
  border-radius: 999px;
}

.smyrna-shell-header[data-scrolled="true"] .smyrna-nav-link {
  border: 0;
}

.smyrna-shell-header[data-scrolled="true"] .smyrna-nav-link:hover,
.smyrna-shell-header[data-scrolled="true"] .smyrna-nav-link[aria-current="page"] {
  background: #eee8fa;
  color: var(--shell-violet-dark);
}

.smyrna-header-cta {
  min-height: 2.8rem;
  margin-left: .35rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(104,66,194,.2);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.smyrna-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 26px rgba(104,66,194,.27);
}

.smyrna-mobile-menu summary {
  margin-right: .25rem;
  padding: .7rem 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.smyrna-mobile-panel {
  top: calc(100% + .8rem);
  border-radius: 1rem;
  overflow: hidden;
}

/* Compact legacy presentation spacing so internal routes read as editorial pages, not slide decks. */
body.smyrna-internal-theme > section[class~="py-20"],
body.smyrna-internal-theme > main > section[class~="py-20"],
body.smyrna-internal-theme > article > section[class~="py-20"] {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

body.smyrna-internal-theme > section:first-of-type h1,
body.smyrna-internal-theme > main > section:first-child h1,
body.smyrna-internal-theme > main > header h1,
body.smyrna-internal-theme > article > section:first-child h1 {
  max-width: 62rem;
  font-size: clamp(2.8rem, 5.4vw, 5rem) !important;
  line-height: 1 !important;
}

body.smyrna-internal-theme .glass-card.p-8 {
  padding: clamp(1.35rem, 2.5vw, 2rem) !important;
}

body.smyrna-internal-theme .my-16 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

/* How We Think: retain the model, but reduce presentation scale and scroll fatigue. */
body.smyrna-thinking-theme > section {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

body.smyrna-thinking-theme > section:first-of-type {
  padding-top: 8.5rem !important;
  padding-bottom: 3.75rem !important;
}

body.smyrna-thinking-theme > section:first-of-type h1 {
  max-width: 58rem;
  font-size: clamp(3rem, 6vw, 5.25rem) !important;
  line-height: .98 !important;
}

body.smyrna-thinking-theme > section:first-of-type p {
  max-width: 48rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem) !important;
}

body.smyrna-thinking-theme h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem) !important;
  line-height: 1.04 !important;
}

body.smyrna-thinking-theme .space-y-12 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem !important;
}

body.smyrna-thinking-theme .glass-card.p-10 {
  padding: clamp(1.5rem, 3vw, 2.25rem) !important;
}

body.smyrna-thinking-theme > section:nth-of-type(2) {
  padding-top: 2rem !important;
  padding-bottom: 2.5rem !important;
}

body.smyrna-thinking-theme > section:nth-of-type(3) {
  padding-top: 1.5rem !important;
  padding-bottom: 4rem !important;
}

body.smyrna-thinking-theme > section:nth-of-type(3) > div {
  gap: 0 !important;
}

body.smyrna-thinking-theme .smyrna-stack-layer {
  border: 1px solid var(--shell-line);
  border-bottom: 0;
  background: var(--shell-whitepaper);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

body.smyrna-thinking-theme [id="iot-edge"] .smyrna-stack-layer {
  border-bottom: 1px solid var(--shell-line);
}

body.smyrna-thinking-theme .smyrna-stack-layer[open] {
  background: #fff;
  box-shadow: 0 18px 42px rgba(17,17,20,.065);
}

body.smyrna-thinking-theme .smyrna-stack-summary {
  position: relative;
  padding: 1rem 4.25rem 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease;
}

body.smyrna-thinking-theme .smyrna-stack-summary:hover {
  background: rgba(104,66,194,.045);
}

body.smyrna-thinking-theme .smyrna-stack-summary::-webkit-details-marker {
  display: none;
}

body.smyrna-thinking-theme .smyrna-stack-summary::after {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  content: "+";
  color: var(--shell-violet-dark);
  font: 500 1.15rem/1.55rem Inter, sans-serif;
  text-align: center;
  transform: translateY(-50%);
}

body.smyrna-thinking-theme .smyrna-stack-layer[open] .smyrna-stack-summary::after {
  content: "−";
  background: var(--shell-violet);
  color: #fff;
}

body.smyrna-thinking-theme .smyrna-stack-summary:focus-visible {
  outline: 3px solid var(--shell-violet-light);
  outline-offset: -3px;
}

body.smyrna-thinking-theme .smyrna-stack-summary > div {
  margin: 0 !important;
  align-items: center !important;
  gap: 1rem !important;
}

body.smyrna-thinking-theme .smyrna-stack-summary > div > div:first-child {
  width: 2.4rem !important;
  height: 2.4rem !important;
}

body.smyrna-thinking-theme .smyrna-stack-summary svg {
  width: 1.35rem !important;
  height: 1.35rem !important;
}

body.smyrna-thinking-theme .smyrna-stack-summary h2 {
  margin: 0 !important;
  font-size: clamp(1.3rem, 2vw, 1.75rem) !important;
}

body.smyrna-thinking-theme .smyrna-stack-summary p {
  margin: .3rem 0 0 !important;
  font-size: .95rem !important;
}

body.smyrna-thinking-theme .smyrna-stack-summary .mb-3 {
  margin-bottom: 0 !important;
}

body.smyrna-thinking-theme .smyrna-stack-content {
  padding: 0 clamp(1rem, 2.5vw, 1.5rem) 1.5rem;
  border-top: 1px solid var(--shell-line);
}

body.smyrna-thinking-theme .smyrna-stack-content .grid {
  gap: clamp(1rem, 2.5vw, 1.75rem) !important;
}

body.smyrna-thinking-theme .smyrna-stack-content > .locked-content {
  padding-top: 1.5rem;
}

body.smyrna-thinking-theme .smyrna-stack-content .space-y-8 > :not([hidden]) ~ :not([hidden]),
body.smyrna-thinking-theme .smyrna-stack-content .space-y-6 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.25rem !important;
}

body.smyrna-thinking-theme .locked-overlay {
  display: none !important;
}

body.smyrna-thinking-theme .smyrna-stack-content .locked-content {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 720px) {
  body.smyrna-thinking-theme > section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary {
    padding: .9rem 3.5rem .9rem 1rem;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary > div {
    align-items: flex-start !important;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary > div > div:first-child {
    display: none !important;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary > div > div:last-child > div {
    display: block !important;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary p {
    line-height: 1.45 !important;
  }
}

/* Environments: harmonize scale and surfaces without changing atlas structure or data colors. */
body.smyrna-environments-theme {
  --header-height: 80px;
  --display: Inter, system-ui, sans-serif;
  --serif: Newsreader, Georgia, serif;
}

body.smyrna-environments-theme .masthead-inner {
  padding-top: 8.75rem;
  padding-bottom: 4.5rem;
}

body.smyrna-environments-theme .masthead h1 {
  max-width: 880px;
  font-size: clamp(3rem, 5.4vw, 5.5rem);
  line-height: .94;
}

body.smyrna-environments-theme .perspective h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

body.smyrna-environments-theme .atlas-header h2 {
  font-size: clamp(2rem, 2.7vw, 3rem);
}

body.smyrna-environments-theme .chapter-heading h3 {
  font-size: clamp(2.4rem, 3.7vw, 4.4rem);
  line-height: .98;
}

body.smyrna-environments-theme .industry-tab {
  border-radius: .5rem;
  transition: color 180ms ease, background-color 180ms ease, padding 180ms ease;
}

body.smyrna-environments-theme .industry-tab:hover,
body.smyrna-environments-theme .industry-tab[aria-selected="true"] {
  padding-left: .75rem;
  background: #eee8fa;
  color: var(--shell-violet-dark);
}

body.smyrna-environments-theme .compare-trigger,
body.smyrna-environments-theme .interpretation-action,
body.smyrna-environments-theme .contact-link {
  border-radius: 999px;
}

@media (max-width: 720px) {
  .smyrna-shell-header { padding: .55rem .65rem 0; }
  .smyrna-shell-nav { min-height: 58px; padding: 0 .5rem 0 .85rem; }
  .smyrna-brand { font-size: .86rem; }
  .smyrna-brand svg { width: 1.55rem; height: 1.55rem; }

  body.smyrna-internal-theme > section:first-of-type,
  body.smyrna-internal-theme > main > section:first-child,
  body.smyrna-internal-theme > article > section:first-child {
    padding-top: max(7rem, calc(68px + 2rem)) !important;
  }

  body.smyrna-internal-theme > section[class~="py-20"],
  body.smyrna-internal-theme > main > section[class~="py-20"],
  body.smyrna-internal-theme > article > section[class~="py-20"] {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  body.smyrna-internal-theme .table-shell,
  body.smyrna-internal-theme .glass-card.overflow-x-auto {
    border-radius: .5rem !important;
  }

  body.smyrna-thinking-theme > section {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  body.smyrna-thinking-theme > section:first-of-type {
    padding-top: 7.5rem !important;
  }

  body.smyrna-thinking-theme .glass-card.p-10 {
    padding: 1.25rem !important;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary {
    padding: 1rem 3.35rem 1rem 1rem;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary::after {
    right: 1rem;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary > div {
    align-items: flex-start !important;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary > div > div:first-child {
    display: none !important;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary .flex.items-center.justify-between {
    display: block !important;
  }

  body.smyrna-thinking-theme .smyrna-stack-summary .text-sm.italic {
    display: block;
    margin-top: .35rem;
  }

  body.smyrna-thinking-theme .smyrna-stack-content {
    padding: 0 1rem 1.25rem;
  }

  body.smyrna-thinking-theme .smyrna-stack-content .grid {
    gap: 1.25rem !important;
  }

  body.smyrna-environments-theme .masthead-inner {
    padding-top: 7.5rem;
    padding-bottom: 3rem;
  }

  body.smyrna-environments-theme .masthead h1 {
    font-size: clamp(2.75rem, 13vw, 4.15rem);
  }
}

/* Site-wide editorial scale: narrower reading measures and restrained headings. */
body.smyrna-internal-theme:not(.smyrna-article-page) > section > [class*="max-w-"],
body.smyrna-internal-theme:not(.smyrna-article-page) > main > section > [class*="max-w-"] {
  max-width: 68rem !important;
}

body.smyrna-internal-theme:not(.smyrna-article-page) > section:first-of-type h1,
body.smyrna-internal-theme:not(.smyrna-article-page) > main > section:first-child h1 {
  max-width: 48rem !important;
  font-size: clamp(2.55rem, 4.8vw, 4.4rem) !important;
  line-height: 1 !important;
}

body.smyrna-internal-theme:not(.smyrna-article-page) h2[class*="text-4xl"],
body.smyrna-internal-theme:not(.smyrna-article-page) h2[class*="text-5xl"],
body.smyrna-internal-theme:not(.smyrna-article-page) h2[class*="md:text-4xl"],
body.smyrna-internal-theme:not(.smyrna-article-page) h2[class*="md:text-5xl"] {
  font-size: clamp(1.8rem, 3vw, 2.75rem) !important;
  line-height: 1.06 !important;
}

body.smyrna-internal-theme:not(.smyrna-article-page) p[class*="text-xl"],
body.smyrna-internal-theme:not(.smyrna-article-page) p[class*="md:text-2xl"] {
  max-width: 46rem !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

/* Homepage keeps its hierarchy while no longer reading as a sequence of oversized billboards. */
body.smyrna-shell-active:not(.smyrna-internal-theme):not(.smyrna-experience-theme):not(.smyrna-environments-theme) h1 span[class*="text-6xl"] {
  font-size: clamp(3.4rem, 6vw, 5.8rem) !important;
  line-height: .96 !important;
}
body.smyrna-shell-active:not(.smyrna-internal-theme):not(.smyrna-experience-theme):not(.smyrna-environments-theme) h2[class*="text-5xl"],
body.smyrna-shell-active:not(.smyrna-internal-theme):not(.smyrna-experience-theme):not(.smyrna-environments-theme) h2[class*="text-6xl"] {
  font-size: clamp(2.35rem, 4vw, 3.8rem) !important;
  line-height: 1 !important;
}
body.smyrna-shell-active:not(.smyrna-internal-theme):not(.smyrna-experience-theme):not(.smyrna-environments-theme) [class*="max-w-7xl"] {
  max-width: 70rem !important;
}

@media (max-width: 720px) {
  body.smyrna-internal-theme:not(.smyrna-article-page) > section:first-of-type h1,
  body.smyrna-internal-theme:not(.smyrna-article-page) > main > section:first-child h1 {
    font-size: clamp(2.3rem, 11vw, 3.25rem) !important;
  }
  body.smyrna-shell-active:not(.smyrna-internal-theme):not(.smyrna-experience-theme):not(.smyrna-environments-theme) h1 span[class*="text-6xl"] {
    font-size: clamp(3rem, 14vw, 4rem) !important;
  }
}
