/* Shared Inferno shell. Extends the established launch.css visual system. */
.service-eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 18px; }
.service-value { background: var(--soft); }
.service-value .text-link { display: inline-block; margin-top: 26px; }
.sprint-summary .service-price { font-size: 2rem; font-weight: 800; color: var(--ink); }
.service-price span { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.sprint-summary > .text-link { display: inline-block; margin-top: 22px; }
.sprint-contact { max-width: 880px; }
.sprint-contact > p { margin-block: 24px; max-width: 68ch; }
.sprint-contact a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.consequence-grid a { text-decoration: underline; text-underline-offset: 3px; }
.sim-hero:has(.sprint-summary) { padding-block: 52px 64px; }
.sim-hero:has(.sprint-summary) h1 { font-size: clamp(2.75rem, 4.5vw, 4.25rem); }
.brand-center { fill: var(--orange); }
.shared-header .header-container { min-height: 76px; }
.shared-header .nav-links { gap: 30px; }
.shared-header .nav-links .button-primary:hover { color: var(--white); }
.product-destination[aria-current=page] { color: var(--orange-dark); }
.product-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 45px; border-top: 1px solid var(--line); font-size: .8125rem; }
.product-name { font-weight: 800; }
.product-nav > div { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.product-nav a { padding-block: 10px; white-space: nowrap; }
.product-nav a:hover, .product-nav a[aria-current=page] { color: var(--orange-dark); }
.shared-footer .footer-grid { grid-template-columns: 1.25fr 1fr 1fr 1fr; }
.shared-footer .footer-grid > div:last-child { display: flex; }
.shared-footer .footer-bottom { flex-wrap: wrap; gap: 12px; }
.shared-footer .footer-grid a { width: fit-content; }
.sim-product { scroll-padding-top: 140px; }
html:has(.sim-product), html:has(.documentation) { scroll-behavior: auto; scroll-padding-top: 130px; }
.sim-product section[id], .documentation [id] { scroll-margin-top: 20px; }
.sim-hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center; gap: 72px; padding-block: 76px 80px; }
.sim-hero h1 { font-size: clamp(3.5rem,6.1vw,5.75rem); font-weight: 800; line-height: 1.04; }
.sim-intro { font-size: 1.125rem; color: var(--muted); max-width: 60ch; margin-top: 28px; }
.install-panel { border-top: 1px solid var(--ink); padding-top: 26px; }
.install-panel h2, .availability-note h2 { font-size: 1.6rem; line-height: 1.25; }
.install-panel > p { margin-top: 16px; color: var(--muted); }
.install-panel .install-note { margin-top: 24px; font-size: .875rem; }
.code-block { position: relative; margin-block: 20px 24px; background: var(--dark); color: var(--paper); border-radius: var(--radius); overflow: hidden; }
.code-block pre { margin: 0; padding: 56px 22px 22px; overflow-x: auto; font: .8125rem/1.75 var(--mono); tab-size: 2; white-space: pre; }
.code-block pre:focus-visible { outline-offset: -4px; outline-color: var(--dark-muted); }
.code-block code { color: inherit; font: inherit; }
.copy-code { position: absolute; right: 12px; top: 10px; padding: 5px 12px; min-height: 32px; background: transparent; border: 1px solid var(--dark-muted); border-radius: 3px; color: var(--paper); font: 600 .75rem var(--font); }
.copy-code:hover { background: var(--muted); }
.copy-code:focus-visible { outline-color: var(--paper); }
.copy-status { position: absolute; left: 22px; top: 14px; font-size: .75rem; color: var(--dark-muted); }
.sim-failure { background: var(--orange); color: var(--stage-ink); padding-block: 48px 26px; }
.failure-heading { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.failure-heading h2 { font-size: clamp(2rem,3.5vw,3.1rem); }
.failure-heading p { margin: 18px 0 0; }
.sim-failure :focus-visible { outline-color: var(--stage-ink); }
.scenario-switch { display: flex; gap: 4px; margin-top: 30px; }
.scenario-switch button { min-height: 44px; padding: 10px 18px; font-size: .875rem; font-weight: 650; border: 1px solid var(--stage-ink); background: transparent; color: var(--stage-ink); border-radius: 3px; }
.scenario-switch button[aria-pressed=true] { background: var(--stage-ink); color: var(--white); }
.failure-flow { list-style: none; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 30px; margin: 38px 0 28px; padding: 0; }
.failure-flow li { position: relative; min-width: 0; border-top: 1px solid var(--stage-ink); padding-top: 18px; }
.failure-flow li:not(:last-child)::after { content: ''; position: absolute; top: -5px; right: 1px; width: 8px; height: 8px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.flow-number { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid var(--stage-ink); border-radius: 50%; margin-bottom: 20px; font: .8125rem var(--mono); }
.failure-flow strong { display: block; font-size: 1.125rem; line-height: 1.3; min-height: 3em; margin-bottom: 10px; }
.failure-flow li > span:last-child { font-size: .875rem; line-height: 1.55; display: block; }
.fault-step .flow-number { background: var(--stage-ink); color: var(--white); }
.failure-flow .flow-number { animation: scenario-mark 6s var(--ease) infinite; }
.failure-flow li:nth-child(2) .flow-number { animation-delay: 1s; }
.failure-flow li:nth-child(3) .flow-number { animation-delay: 2s; }
.failure-flow li:nth-child(4) .flow-number { animation-delay: 3s; }
.failure-flow li:nth-child(5) .flow-number { animation-delay: 4s; }
.scenario-result { display: flex; flex-wrap: wrap; gap: 8px 30px; border-block: 1px solid var(--stage-line); padding-block: 20px; margin-top: 30px; }
.scenario-result strong { font-size: 1rem; }
.scenario-result span { font-size: .875rem; }
.scenario-caption { margin: 18px 0 0; font-size: .75rem; max-width: 110ch; }
.scenario-caption a, .evidence-footnote a { text-decoration: underline; text-underline-offset: 3px; }
.consequence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.consequence-grid > div { border-top: 1px solid var(--line); padding-top: 24px; }
.consequence-grid h3 { font-size: 1.3rem; line-height: 1.25; }
.consequence-grid p { color: var(--muted); margin-top: 16px; }
.consequence-grid code { font: .8125rem var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.evidence-footnote { margin: 34px 0 0; max-width: 95ch; color: var(--muted); font-size: .875rem; }
.sim-usecases { background: var(--soft); }
.sim-usecases h2 { margin-bottom: 48px; }
.usecase-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 90px; border-top: 1px solid var(--line); padding-block: 36px; }
.usecase-row:last-child { padding-bottom: 0; }
.usecase-row h3 { font-size: 1.65rem; }
.usecase-row p { color: var(--muted); margin-top: 16px; max-width: 60ch; }
.usecase-row > div + div p { margin-top: 0; }
.edition-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); }
.edition-grid > div { padding: 36px; }
.edition-grid > div + div { background: var(--soft); border-left: 1px solid var(--line); }
.edition-grid h3 { font-size: 1.65rem; }
.edition-grid p { margin-block: 18px 26px; color: var(--muted); max-width: 55ch; }
.edition-grid small { display: block; color: var(--muted); margin-top: 16px; }
.availability-note { padding: 32px; background: var(--soft); border: 1px solid var(--line); }
.availability-note p { margin: 18px 0 0; color: var(--muted); }
.azure-architecture { padding-block: 60px 40px; background: var(--dark); color: var(--paper); }
.azure-architecture .split-heading > p { color: var(--dark-muted); }
.azure-architecture h2 { font-size: 2.6rem; }
.architecture-flow { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 36px; align-items: center; }
.architecture-flow > div { min-width: 0; padding: 24px 0; }
.architecture-flow span { display: block; font-size: .8125rem; color: var(--dark-muted); margin-bottom: 14px; }
.architecture-flow strong { display: block; font-size: 1.3rem; }
.architecture-flow p { color: var(--dark-muted); font-size: .9375rem; margin-top: 14px; margin-bottom: 0; }
.architecture-flow .cluster-boundary { border: 1px solid var(--orange); padding: 30px; }
.architecture-note { color: var(--dark-muted); margin: 28px 0 0; max-width: 100ch; font-size: .875rem; }
.table-wrap { overflow-x: auto; margin-block: 24px; border: 1px solid var(--line); }
.table-wrap table { margin: 0; border-collapse: collapse; width: 100%; font-size: .9375rem; }
.table-wrap th, .table-wrap td { padding: 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { font-weight: 700; }
.table-wrap thead { background: var(--soft); }
.table-wrap tr:last-child td, .table-wrap tr:last-child th { border-bottom: 0; }
.plan-comparison table { min-width: 760px; }
.plan-comparison th:first-child { width: 35%; }
.plan-comparison td { width: 21.666%; }
.plan-comparison caption { text-align: left; font-size: .875rem; padding: 16px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.rate-row strong { font-size: 1.9rem; letter-spacing: -.035em; }
.rate-row td { font-size: .8125rem; }
.pricing-disclosure { color: var(--muted); max-width: 95ch; font-size: .875rem; }
.plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 26px; }
.azure-boundaries { background: var(--soft); }
.azure-boundaries .text-link { display: inline-block; margin-top: 25px; }
.docs-layout { display: grid; grid-template-columns: 190px minmax(0,740px) 170px; gap: 40px; padding-block: 42px 88px; align-items: start; }
.docs-sidebar, .docs-toc { position: sticky; top: 156px; max-height: calc(100vh - 175px); overflow-y: auto; font-size: .8125rem; padding: 6px; margin: -6px; }
.docs-sidebar summary { font-size: .9375rem; margin-bottom: 16px; }
.docs-sidebar nav, .docs-toc nav { display: flex; flex-direction: column; gap: 8px; }
.docs-sidebar nav a { padding: 6px 10px; border-radius: 3px; line-height: 1.5; }
.docs-sidebar nav a[aria-current=page] { background: var(--soft); color: var(--orange-dark); font-weight: 750; }
.docs-sidebar nav a:hover { background: var(--soft); }
.sidebar-label { font-size: .75rem; color: var(--muted); font-weight: 700; margin: 20px 10px 4px; }
.version-note { padding: 22px 10px 0; margin: 24px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.7; }
.docs-toc strong { font-size: .8125rem; margin-bottom: 8px; }
.docs-toc a { font-size: .75rem; color: var(--muted); padding-block: 3px; line-height: 1.5; }
.docs-toc a:hover { color: var(--orange-dark); }
.docs-article { min-width: 0; }
.docs-article h1 { font-size: clamp(2.3rem,4vw,3.5rem); margin-bottom: 22px; line-height: 1.12; }
.docs-article h2 { font-size: 1.7rem; line-height: 1.25; letter-spacing: -.025em; margin: 52px 0 20px; }
.docs-article h3 { font-size: 1.2rem; line-height: 1.35; margin: 32px 0 16px; }
.docs-article p, .docs-article li { max-width: 75ch; }
.docs-article p { margin-bottom: 20px; }
.docs-article li { margin-bottom: 10px; }
.docs-article .lede { font-size: 1.25rem; line-height: 1.55; color: var(--muted); }
.docs-article .meta { color: var(--muted); font-size: .8125rem; }
.docs-article a:not(.heading-anchor) { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.docs-article a:hover { color: var(--ink); }
.docs-article :not(pre) > code { font: .85em/1.6 var(--mono); background: var(--soft); padding: 2px 4px; border-radius: 2px; overflow-wrap: anywhere; }
.breadcrumbs { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .8125rem; margin-bottom: 28px; }
.docs-article .heading-anchor { margin-left: 10px; opacity: 0; color: var(--orange-dark); font-size: .75em; font-weight: 500; }
.docs-article :is(h2,h3):hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.docs-article .note, .warning, .expected-result { padding: 22px; border: 1px solid var(--line); background: var(--soft); margin-block: 28px; border-radius: var(--radius); }
.docs-article .note p:last-child, .warning p:last-child, .expected-result p:last-child { margin-bottom: 0; }
.warning { background: var(--error-soft); border-color: var(--error); }
.warning strong { color: var(--error); }
.expected-result { background: var(--green-soft); }
.expected-result strong { color: var(--green); }
.warning > strong, .expected-result > strong { display: block; margin-bottom: 10px; }
.guide-links { display: grid; gap: 0; border-block: 1px solid var(--line); margin-block: 24px; }
.docs-article .guide-links a { display: block; padding: 22px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.guide-links a:last-child { border: 0; }
.guide-links strong { display: block; font-size: 1.05rem; }
.guide-links span { display: block; color: var(--muted); margin-top: 8px; }
.mobile-contents { display: none; }
@keyframes scenario-mark { 0%,15%,100% { transform: translateY(0); } 5% { transform: translateY(-5px); } }
@media (max-width: 1200px) {
  .docs-layout { grid-template-columns: 180px minmax(0,1fr); gap: 40px; }
  .docs-toc { display: none; }
  .mobile-contents { display: block; background: var(--soft); padding: 16px 20px; margin-bottom: 28px; border-radius: var(--radius); font-size: .875rem; }
  .mobile-contents nav { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
  .sim-hero { gap: 40px; }
}
@media (max-width: 900px) {
  .sim-hero { grid-template-columns: minmax(0,1fr); gap: 40px; padding-block: 52px; }
  .sim-hero h1 { font-size: clamp(3.3rem,9vw,5.5rem); }
  .install-panel { max-width: 620px; }
  .failure-flow { gap: 18px; }
  .failure-flow strong { font-size: 1rem; }
  .consequence-grid { gap: 24px; }
  .usecase-row { gap: 40px; }
  .architecture-flow { gap: 22px; }
  .shared-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .shared-header .nav-links { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--paper); padding: 20px 24px; border-bottom: 1px solid var(--line); align-items: stretch; flex-direction: column; gap: 18px; }
  .shared-header .nav-links.open { display: flex; }
  .shared-header .menu-button { display: block; }
  .product-nav { font-size: .75rem; gap: 18px; }
  .product-nav > div { gap: 16px; }
  .docs-layout { grid-template-columns: minmax(0,1fr); gap: 24px; padding-top: 24px; }
  .docs-sidebar { position: static; max-height: none; border-bottom: 1px solid var(--line); margin: 0; padding: 0 0 16px; }
  .docs-navigation summary { margin-bottom: 0; min-height: 44px; }
  .docs-navigation[open] summary { margin-bottom: 16px; }
  .docs-sidebar .version-note { display: none; }
  .docs-sidebar nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sidebar-label { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .shared-header .header-container { gap: 16px; }
  .product-nav { align-items: start; flex-direction: column; gap: 0; padding-block: 10px; }
  .product-nav .product-name { padding-block: 0 4px; }
  .product-nav > div { gap: 0 18px; }
  .product-nav a { padding-block: 6px; }
  html:has(.sim-product), html:has(.documentation) { scroll-padding-top: 175px; }
  .sim-hero { padding-block: 40px 46px; }
  .sim-hero h1 { font-size: clamp(2.85rem,10vw,4.1rem); }
  .sim-intro { font-size: 1rem; margin-top: 22px; }
  .sim-hero .hero-actions { align-items: start; flex-direction: column; }
  .install-panel h2 { font-size: 1.4rem; }
  .code-block pre { padding-inline: 16px; font-size: .8125rem; }
  .copy-status { left: 16px; }
  .failure-heading { flex-direction: column; gap: 12px; }
  .failure-heading h2 { font-size: 2.1rem; }
  .failure-heading .motion-toggle { padding-left: 0; }
  .scenario-switch { gap: 6px; }
  .scenario-switch button { font-size: .75rem; padding-inline: 12px; }
  .failure-flow { display: flex; flex-direction: column; gap: 0; margin-block: 30px; }
  .failure-flow li { padding: 0 0 24px 52px; border-top: 0; min-height: 94px; }
  .flow-number { position: absolute; left: 0; top: 0; margin: 0; }
  .failure-flow li:not(:last-child)::after { top: 35px; bottom: 7px; height: auto; left: 13px; width: 1px; border: 0; background: var(--stage-line); transform: none; }
  .failure-flow strong { min-height: 0; font-size: 1.1rem; margin-bottom: 6px; }
  .failure-flow li:last-child { padding-bottom: 0; min-height: 0; }
  .consequence-grid, .usecase-row, .edition-grid, .architecture-flow { grid-template-columns: minmax(0,1fr); }
  .consequence-grid { gap: 28px; }
  .consequence-grid p { margin-bottom: 0; }
  .usecase-row { gap: 8px; padding-block: 28px; }
  .usecase-row h3 { font-size: 1.45rem; }
  .usecase-row > div:first-child p { margin-bottom: 8px; }
  .edition-grid > div { padding: 26px; }
  .edition-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .availability-note { padding: 24px; }
  .azure-architecture h2 { font-size: 2.2rem; }
  .architecture-flow { gap: 12px; }
  .architecture-flow > div { padding-block: 16px; }
  .shared-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
  .shared-footer .footer-grid > div:first-child { grid-column: 1 / -1; }
  .shared-footer .footer-grid a, .shared-footer .footer-grid p { font-size: .8125rem; }
  .shared-footer .footer-grid .brand { font-size: 1.6rem; }
  .docs-article h2 { font-size: 1.5rem; }
  .docs-article .lede { font-size: 1.125rem; }
  .docs-article .note, .warning, .expected-result { padding: 18px; }
  .docs-article .table-wrap table { min-width: 550px; }
}
@media (prefers-reduced-motion: reduce) { .failure-flow .flow-number { animation: none; } }
