/* HailDeck marketing site — palette inherited from the product (apps/web/src/ui-polish.css) */

:root {
  --bg: #070b12;
  --panel: #0d1420;
  --panel-2: #101a2a;
  --line: #263449;
  --text: #e8eef7;
  --muted: #94a3b8;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --mono: "Cascadia Code", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --maxw: 68rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

code,
pre {
  font-family: var(--mono);
  font-size: 0.9em;
}
code {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}
pre {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  line-height: 1.55;
  margin: 1.25rem 0;
}
pre code {
  background: none;
  border: none;
  padding: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- header ---- */

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(7, 11, 18, 0.88);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 3.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 600;
}
.brand:hover {
  text-decoration: none;
}
.brand svg {
  display: block;
}
.brand-name {
  font-family: var(--mono);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand-name b {
  color: var(--cyan);
  font-weight: 600;
}
.site-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  color: var(--text);
}
.site-nav a.nav-cta {
  color: var(--bg);
  background: var(--cyan);
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
}
.site-nav a.nav-cta:hover {
  background: #4ee1f8;
}

/* ---- shared section furniture ---- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
section {
  padding: 4.5rem 0;
}
section + section {
  border-top: 1px solid var(--line);
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}
.lede {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 38rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1.3rem;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn:hover {
  text-decoration: none;
  border-color: var(--muted);
}
.btn-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
}
.btn-primary:hover {
  background: #4ee1f8;
  border-color: #4ee1f8;
}
.btn-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

/* ---- hero ---- */

.hero {
  padding: 5.5rem 0 4.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}
.hero-facts {
  display: flex;
  gap: 1.6rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.hero-facts span::before {
  content: "▸ ";
  color: var(--blue);
}

/* signature: incident record card */

.incident-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.82rem;
  box-shadow: 0 24px 60px -24px rgba(34, 211, 238, 0.18);
}
.incident-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  flex-wrap: wrap;
}
.sev {
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.14);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.4);
}
.incident-id {
  color: var(--muted);
}
.incident-name {
  color: var(--text);
}
.incident-rows {
  list-style: none;
  padding: 0.6rem 0;
}
.incident-rows li {
  display: grid;
  grid-template-columns: 5.2rem 7.2rem 1fr;
  gap: 0.9rem;
  padding: 0.42rem 1.1rem;
  align-items: baseline;
}
.incident-rows li:hover {
  background: rgba(59, 130, 246, 0.06);
}
.t {
  color: var(--muted);
}
.st {
  font-weight: 600;
}
.st-declared {
  color: var(--red);
}
.st-bridge {
  color: var(--cyan);
}
.st-task {
  color: var(--blue);
}
.st-mitigated {
  color: var(--amber);
}
.st-resolved {
  color: var(--green);
}
.d {
  color: var(--muted);
}
.d em {
  color: var(--text);
  font-style: normal;
}

/* ---- features ---- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem 1.7rem;
}
.feature h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.feature .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}
.feature p {
  color: var(--muted);
  margin-top: 0.6rem;
  font-size: 0.98rem;
}
.feature ul {
  margin: 0.8rem 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.feature li {
  margin-top: 0.25rem;
}

/* ---- stack strip ---- */

.stack-strip {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
}
.stack-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  color: var(--muted);
}

/* ---- pricing ---- */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
.tier {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.tier-featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan) inset;
}
.tier h3 {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier-price {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.7rem;
}
.tier-price small {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}
.tier-tagline {
  color: var(--muted);
  margin-top: 0.8rem;
}
.tier ul {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  flex: 1;
}
.tier li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
  color: var(--muted);
  font-size: 0.97rem;
}
.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
}
.pricing-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-left: 3px solid var(--line);
  padding-left: 1rem;
}

/* ---- docs ---- */

.docs-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 3rem;
  padding: 3rem 0 5rem;
}
.docs-nav {
  position: sticky;
  top: 5.5rem;
  align-self: start;
}
.docs-nav .eyebrow {
  display: block;
  margin-bottom: 0.8rem;
}
.docs-nav ul {
  list-style: none;
}
.docs-nav a {
  display: block;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-left: 2px solid var(--line);
  font-size: 0.95rem;
}
.docs-nav a:hover {
  color: var(--text);
  text-decoration: none;
}
.docs-nav a[aria-current="page"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.prose h1 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}
.prose h2 {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.prose h3 {
  margin-top: 1.6rem;
  font-size: 1.15rem;
}
.prose p {
  margin-top: 1rem;
  color: #c6d0dd;
}
.prose ul,
.prose ol {
  margin: 1rem 0 0 1.4rem;
  color: #c6d0dd;
}
.prose li {
  margin-top: 0.45rem;
}
.prose blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
  margin-top: 1rem;
  color: var(--muted);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}
.doc-source {
  margin-top: 3rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* ---- stub pages ---- */

.stub {
  padding: 5rem 0;
  max-width: 44rem;
}
.stub-todo {
  margin-top: 2rem;
  border: 1px dashed var(--amber);
  border-radius: 10px;
  padding: 1.3rem 1.5rem;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.9rem;
}

/* ---- footer ---- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--text);
}

/* ---- responsive ---- */

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .docs-nav {
    position: static;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .docs-nav .eyebrow {
    display: none;
  }
  .docs-nav ul {
    display: flex;
    gap: 0.4rem;
  }
  .docs-nav a {
    border-left: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    white-space: nowrap;
  }
  .docs-nav a[aria-current="page"] {
    border-color: var(--cyan);
  }
  .site-nav {
    gap: 0.9rem;
  }
  .site-nav a {
    font-size: 0.88rem;
  }
  .incident-rows li {
    grid-template-columns: 4.6rem 6.2rem 1fr;
    gap: 0.5rem;
  }
}

/* ---- 2026 homepage: HailDeck's energetic product story ---- */

.home-page {
  --home-ink: #eef6ff;
  --home-blue: #4f7cff;
  --home-blue-deep: #3153dc;
  --home-mint: #20d4b1;
  --home-night: #06101d;
  --home-surface: #0b1726;
  --home-surface-2: #102238;
  --home-line: rgba(153, 181, 213, 0.18);
  overflow-x: hidden;
  background: var(--home-night);
}

.home-page .wrap {
  max-width: 76rem;
}

.home-page .site-header {
  border-bottom-color: rgba(132, 164, 201, 0.14);
  background: rgba(6, 16, 29, 0.76);
  backdrop-filter: blur(16px);
}

.home-page .site-header .wrap {
  height: 4.5rem;
}

.home-page .brand-name {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.home-page .site-nav a {
  color: #c2d0df;
  font-weight: 650;
}

.home-page .site-nav a.nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: #f4f8fc;
  color: #07111c;
}

.home-page .site-nav a.nav-cta:hover {
  border-color: var(--home-mint);
  background: var(--home-mint);
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6.6rem 0 5.5rem;
  background:
    radial-gradient(circle at 52% 6%, rgba(79, 124, 255, 0.3), transparent 29rem),
    radial-gradient(circle at 8% 56%, rgba(32, 212, 177, 0.13), transparent 23rem),
    linear-gradient(180deg, #081425 0%, #07111e 68%, #08131f 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(137, 169, 210, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 169, 210, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(91, 137, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-orbit::before {
  inset: 18%;
  border: 1px solid rgba(32, 212, 177, 0.16);
}

.hero-orbit::after {
  width: 0.7rem;
  height: 0.7rem;
  top: 16%;
  left: 21%;
  background: var(--home-mint);
  box-shadow: 0 0 24px var(--home-mint);
}

.hero-orbit-one {
  top: 6rem;
  left: -19rem;
}

.hero-orbit-two {
  top: 2rem;
  right: -18rem;
  transform: scale(1.25);
}

.hero-orbit-two::after {
  top: 72%;
  left: 14%;
  background: var(--home-blue);
  box-shadow: 0 0 24px var(--home-blue);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(32, 212, 177, 0.28);
  border-radius: 999px;
  background: rgba(14, 35, 52, 0.72);
  color: #a9f4e5;
  letter-spacing: 0.1em;
}

.hero-kicker span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--home-mint);
  box-shadow: 0 0 0 5px rgba(32, 212, 177, 0.1);
}

.home-hero h1 {
  max-width: 66rem;
  margin-top: 1.45rem;
  color: var(--home-ink);
  font-size: clamp(3.25rem, 7.5vw, 6.85rem);
  font-weight: 830;
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.home-hero h1 em {
  color: var(--home-mint);
  font-style: normal;
}

.home-hero-copy > p:not(.hero-note) {
  max-width: 45rem;
  margin-top: 1.55rem;
  color: #b6c6d8;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  justify-content: center;
  margin-top: 2rem;
}

.home-page .btn {
  border-color: rgba(150, 178, 210, 0.26);
  border-radius: 999px;
  background: rgba(10, 25, 41, 0.7);
}

.home-page .btn:hover {
  border-color: rgba(206, 224, 245, 0.62);
  transform: translateY(-2px);
}

.home-page .btn-primary {
  border-color: var(--home-mint);
  background: var(--home-mint);
  color: #032019;
  box-shadow: 0 12px 34px rgba(32, 212, 177, 0.16);
}

.home-page .btn-primary:hover {
  border-color: #64efd4;
  background: #64efd4;
}

.btn-large {
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}

.btn-large span {
  display: inline-block;
  margin-left: 0.3rem;
  transition: transform 180ms ease;
}

.btn-large:hover span {
  transform: translateX(3px);
}

.btn-quiet {
  background: rgba(255, 255, 255, 0.04) !important;
}

.hero-note {
  margin-top: 1rem;
  color: #7890aa;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.035em;
}

.product-window-wrap {
  position: relative;
  z-index: 1;
  margin-top: 5rem;
}

.product-window {
  position: relative;
  overflow: hidden;
  max-width: 70rem;
  height: 39rem;
  margin: 0 auto;
  border: 1px solid rgba(166, 195, 228, 0.28);
  border-radius: 1.4rem;
  background: #121e2e;
  box-shadow: 0 50px 100px -36px rgba(0, 0, 0, 0.9), 0 0 0 8px rgba(255, 255, 255, 0.025);
}

.window-topbar {
  height: 3.1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 0.9rem;
  border-bottom: 1px solid #263549;
  background: #0c1624;
  color: #9eb0c5;
  font-size: 0.72rem;
}

.window-dots {
  display: flex;
  gap: 0.38rem;
}

.window-dots span {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #33465b;
}

.window-dots span:first-child { background: #ef6a6d; }
.window-dots span:nth-child(2) { background: #f0b94e; }
.window-dots span:last-child { background: #46ca92; }

.window-title {
  font-weight: 700;
}

.window-search {
  justify-self: end;
  width: 12.5rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid #26384d;
  border-radius: 0.4rem;
  background: #07111c;
  color: #6f8298;
}

.window-search kbd {
  float: right;
  padding: 0 0.3rem;
  border: 1px solid #34495f;
  border-radius: 0.2rem;
  background: #111f30;
  color: #8fa4bb;
  font-family: var(--mono);
}

.window-body {
  height: calc(100% - 3.1rem);
  display: grid;
  grid-template-columns: 4.25rem 14.5rem minmax(0, 1fr);
}

.workspace-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0.55rem;
  background: #08111c;
}

.rail-mark,
.rail-avatar,
.rail-add {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  background: #17283a;
  color: #9eb1c6;
  font-size: 0.7rem;
  font-weight: 750;
}

.rail-mark {
  border-radius: 0.75rem;
  background: linear-gradient(145deg, var(--home-mint), #4f7cff);
  color: #04111a;
  font-size: 1.1rem;
}

.rail-avatar.active {
  position: relative;
  border-radius: 0.72rem;
  background: var(--home-blue-deep);
  color: white;
}

.rail-avatar.active::before {
  content: "";
  position: absolute;
  left: -0.7rem;
  width: 0.22rem;
  height: 1.8rem;
  border-radius: 0 0.3rem 0.3rem 0;
  background: var(--home-mint);
}

.rail-add {
  border: 1px dashed #345068;
  background: transparent;
  color: var(--home-mint);
  font-size: 1.2rem;
}

.rail-profile {
  margin-top: auto;
  border-radius: 50%;
  background: #2b4261;
  color: white;
}

.channel-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0.65rem 4.3rem;
  border-right: 1px solid #263549;
  background: #101b29;
  color: #8da1b7;
  font-size: 0.75rem;
}

.channel-list > strong {
  display: flex;
  justify-content: space-between;
  margin: 0 0.25rem 1.2rem;
  color: #e6eef8;
  font-size: 0.8rem;
}

.channel-list > small {
  margin: 0.75rem 0.45rem 0.22rem;
  color: #61758b;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.channel {
  min-height: 2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.4rem;
}

.channel.active {
  background: #213249;
  color: #f0f5fb;
}

.channel > b {
  color: #698098;
  font-size: 0.92rem;
}

.channel > i {
  min-width: 1rem;
  margin-left: auto;
  padding: 0 0.28rem;
  border-radius: 99px;
  background: #e45158;
  color: white;
  font-size: 0.55rem;
  font-style: normal;
  text-align: center;
}

.channel.live { color: #a8eadc; }
.channel.live > b { color: var(--home-mint); }

.channel.incident {
  align-items: flex-start;
  border-left: 2px solid #f0b94e;
  background: rgba(240, 185, 78, 0.08);
}

.channel.incident > b { color: #f0b94e; }
.channel.incident > span { display: grid; }
.channel.incident strong { color: #dfe8f3; font-size: 0.72rem; }
.channel.incident em { color: #d9a94b; font-size: 0.6rem; font-style: normal; }

.channel-user {
  position: absolute;
  inset: auto 0 0 0;
  height: 3.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem;
  border-top: 1px solid #263549;
  background: #0b1522;
}

.channel-user > span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #385a87;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
}

.channel-user p { flex: 1; display: grid; line-height: 1.3; }
.channel-user p strong { color: #dde7f2; font-size: 0.66rem; }
.channel-user p small { color: #70849a; font-size: 0.55rem; }

.chat-panel {
  min-width: 0;
  background: #142132;
}

.chat-heading {
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  border-bottom: 1px solid #263549;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.13);
}

.chat-heading > div:first-child { display: grid; }
.chat-heading b { color: #eef4fb; font-size: 0.8rem; }
.chat-heading span { color: #8296ac; font-size: 0.62rem; }
.chat-tools { color: #8da1b7; }

.chat-content {
  position: relative;
  height: calc(100% - 3.6rem);
  padding: 1rem 1.3rem 5rem;
}

.day-rule {
  position: relative;
  height: 1.5rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #2a3a4f;
  text-align: center;
}

.day-rule span {
  position: relative;
  top: 0.78rem;
  padding: 0 0.6rem;
  background: #142132;
  color: #687d94;
  font-size: 0.58rem;
}

.chat-message {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0;
}

.avatar {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 750;
}

.avatar-blue { background: linear-gradient(145deg, #5689ff, #374ec1); }
.avatar-mint { background: linear-gradient(145deg, #2bd6b6, #187e70); }
.avatar-amber { background: linear-gradient(145deg, #f2ba52, #9c6730); }

.chat-message strong,
.chat-story article strong { color: #eaf2fb; font-size: 0.75rem; }
.chat-message time,
.chat-story time { margin-left: 0.35rem; color: #667c94; font-size: 0.57rem; font-weight: 400; }
.chat-message p,
.chat-story article p { color: #b1c0d1; font-size: 0.72rem; line-height: 1.5; }

.reaction {
  width: max-content;
  margin-top: 0.35rem;
  padding: 0.12rem 0.45rem;
  border: 1px solid #405574;
  border-radius: 99px;
  background: #1b2a3f;
  color: #a9c9ff;
  font-size: 0.6rem;
}

.message-card {
  max-width: 23rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.55rem;
  padding: 0.7rem;
  border: 1px solid #30455e;
  border-left: 3px solid var(--home-mint);
  border-radius: 0.45rem;
  background: #101b2b;
}

.card-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(32, 212, 177, 0.12);
  color: var(--home-mint);
}

.message-card p { flex: 1; display: grid; }
.message-card p b { color: #e7f0f9; font-size: 0.65rem; }
.message-card p small { color: #7890a7; font-size: 0.56rem; }
.message-card button,
.system-message button,
.incident-story-head button {
  border: 0;
  border-radius: 0.35rem;
  background: var(--home-blue-deep);
  color: white;
  font-family: inherit;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
}

.system-message {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.6rem;
  padding: 0.75rem;
  border: 1px solid rgba(240, 185, 78, 0.32);
  border-radius: 0.55rem;
  background: rgba(240, 185, 78, 0.08);
}

.system-message > span {
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  background: #d49335;
  color: #251600;
  font-weight: 800;
}

.system-message p { flex: 1; display: grid; }
.system-message p b { color: #f3d69a; font-size: 0.65rem; }
.system-message p small { color: #a9936f; font-size: 0.57rem; }

.composer {
  position: absolute;
  inset: auto 1.3rem 1.2rem;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border: 1px solid #304258;
  border-radius: 0.55rem;
  background: #1d2d41;
  color: #71879f;
  font-size: 0.67rem;
}

.signal-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(179, 207, 238, 0.26);
  border-radius: 99px;
  background: rgba(10, 24, 40, 0.92);
  color: #c4d2e2;
  font-size: 0.7rem;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.signal-pill i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--home-mint);
  box-shadow: 0 0 0 4px rgba(32, 212, 177, 0.12);
}

.signal-pill b { color: #ffc961; }
.signal-left { top: -1rem; left: 0.1rem; }
.signal-right { top: 5.2rem; right: -0.4rem; }

.capability-band {
  overflow: hidden;
  border-block: 1px solid rgba(76, 116, 165, 0.28);
  background: var(--home-blue-deep);
  color: #fff;
}

.capability-band > div {
  width: max-content;
  min-width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.capability-band i {
  color: var(--home-mint);
  font-size: 0.52rem;
  font-style: normal;
}

.story-section {
  padding: 8.5rem 0;
  border-top: 0;
  background: #08131f;
}

.story-section + .story-section {
  border-top: 1px solid rgba(125, 157, 194, 0.1);
}

.story-soft {
  background: #0b1725;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.story-reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.story-reverse .story-copy { order: 2; }

.story-number {
  color: var(--home-mint);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.story-copy h2,
.ownership-copy h2,
.final-cta h2 {
  margin-top: 0.85rem;
  color: var(--home-ink);
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.story-copy > p,
.ownership-copy > p,
.final-cta p {
  margin-top: 1.25rem;
  color: #a9bacd;
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.6rem;
  color: #bcd0ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link:hover { color: var(--home-mint); text-decoration: none; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }

.story-visual {
  overflow: hidden;
  border: 1px solid rgba(141, 174, 210, 0.22);
  border-radius: 1.5rem;
  background: #111f30;
  box-shadow: 0 32px 70px -38px rgba(0, 0, 0, 0.9);
}

.chat-story {
  min-height: 29rem;
  padding: 0 1.4rem 1.6rem;
}

.mini-channel {
  display: flex;
  justify-content: space-between;
  margin: 0 -1.4rem 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid #2b3c50;
}

.mini-channel b { color: #ecf3fb; font-size: 0.85rem; }
.mini-channel span { color: #71869d; font-size: 0.7rem; }

.chat-story article {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1rem 0;
}

.chat-story article > div { display: grid; align-content: start; }

.chat-story .reply {
  position: relative;
  margin-left: 2rem;
  padding: 1.2rem;
  border-radius: 0.8rem;
  background: #17283c;
}

.reply-line {
  position: absolute;
  left: -1.15rem;
  top: -1rem;
  width: 1.1rem;
  height: 2.2rem;
  border-top: 1px solid #385069;
  border-left: 1px solid #385069;
  border-radius: 0.7rem 0 0;
}

.chat-story article > div > small { color: #738ba4; font-size: 0.6rem; }

.attachment {
  max-width: 20rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.65rem;
  border: 1px solid #344a64;
  border-radius: 0.55rem;
  background: #101c2b;
}

.attachment > span {
  padding: 0.35rem 0.45rem;
  border-radius: 0.3rem;
  background: rgba(79, 124, 255, 0.16);
  color: #9bb5ff;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.attachment p { flex: 1; display: grid; }
.attachment p b { color: #dce8f5; font-size: 0.62rem; }
.attachment p small { color: #71869d; font-size: 0.54rem; }
.attachment em { color: var(--home-mint); font-style: normal; }

.typing {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  margin: 1.1rem 0 0 3.3rem;
  color: #71869d;
  font-size: 0.65rem;
}

.typing i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #71869d;
}

.typing i:last-of-type { margin-right: 0.3rem; }

.check-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
  list-style: none;
  color: #a9bacd;
  font-size: 0.9rem;
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: rgba(32, 212, 177, 0.13);
  color: var(--home-mint);
  font-size: 0.65rem;
  font-weight: 800;
}

.call-story {
  min-height: 31rem;
  padding: 1rem;
  background: linear-gradient(145deg, #122338, #0d1928);
}

.call-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.3rem 1rem;
  color: #7890a8;
  font-size: 0.8rem;
}

.call-head > div { display: flex; align-items: center; gap: 0.6rem; }
.call-head i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--home-mint); box-shadow: 0 0 0 5px rgba(32, 212, 177, 0.1); }
.call-head span span,
.call-head > div > span { display: grid; }
.call-head b { color: #eaf2fb; font-size: 0.78rem; }
.call-head small { color: #71869d; font-size: 0.58rem; }

.call-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.person,
.share-tile {
  position: relative;
  min-height: 9.8rem;
  display: grid;
  place-items: center;
  border: 1px solid #30465f;
  border-radius: 0.8rem;
  background: #17283c;
}

.person > span {
  width: 3.9rem;
  height: 3.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #5689ff, #354bb9);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 750;
}

.person-two > span { background: linear-gradient(145deg, #2bd6b6, #187e70); }
.person-three > span { background: linear-gradient(145deg, #efbd60, #9e6931); }
.person b { position: absolute; left: 0.65rem; bottom: 0.55rem; color: #e5edf6; font-size: 0.65rem; }
.person i { position: absolute; right: 0.55rem; top: 0.55rem; color: var(--home-mint); font-size: 0.53rem; font-style: normal; }
.person-one { border-color: var(--home-mint); box-shadow: inset 0 0 0 1px var(--home-mint); }

.share-tile {
  justify-items: stretch;
  align-content: center;
  padding: 1rem;
  background: #f0f4f8;
  color: #0d2138;
}

.share-tile small { color: #60768f; font-family: var(--mono); font-size: 0.5rem; }
.share-tile b { font-size: 0.75rem; }

.chart-lines {
  height: 4rem;
  display: flex;
  align-items: flex-end;
  gap: 0.38rem;
  margin-top: 0.7rem;
}

.chart-lines i { flex: 1; height: 42%; border-radius: 0.2rem 0.2rem 0 0; background: #a9b9ce; }
.chart-lines i:nth-child(2) { height: 64%; }
.chart-lines i:nth-child(3) { height: 54%; }
.chart-lines i:nth-child(4) { height: 78%; background: var(--home-blue); }
.chart-lines i:nth-child(5) { height: 94%; background: var(--home-mint); }

.call-controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  padding-top: 1rem;
}

.call-controls span {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #263a51;
  color: #d9e5f2;
  font-size: 0.72rem;
}

.call-controls .hangup { background: #db4e57; font-size: 1.2rem; }

.incident-story { padding: 1.2rem; }

.incident-story-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.incident-story-head > div { display: flex; align-items: center; gap: 0.7rem; }
.incident-story-head > div > span { padding: 0.3rem 0.48rem; border: 1px solid rgba(239, 181, 70, 0.45); border-radius: 0.35rem; background: rgba(239, 181, 70, 0.12); color: #f4c366; font-family: var(--mono); font-size: 0.58rem; font-weight: 750; }
.incident-story-head p { display: grid; }
.incident-story-head p b { color: #ecf3fb; font-size: 0.78rem; }
.incident-story-head p small { color: #748aa1; font-size: 0.58rem; }
.incident-story-head button { background: var(--home-mint); color: #042018; }

.incident-progress {
  height: 0.25rem;
  overflow: hidden;
  margin-top: 1.1rem;
  border-radius: 99px;
  background: #263a50;
}

.incident-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--home-blue), var(--home-mint)); }

.incident-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1rem;
}

.incident-meta span {
  display: grid;
  padding: 0.7rem;
  border: 1px solid #2c4056;
  border-radius: 0.55rem;
  background: #0f1a29;
}

.incident-meta small { color: #607890; font-family: var(--mono); font-size: 0.5rem; }
.incident-meta b { color: #cfdae7; font-size: 0.64rem; }

.timeline {
  position: relative;
  display: grid;
  gap: 0.2rem;
  margin-top: 1rem;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  bottom: 1.1rem;
  left: 0.35rem;
  width: 1px;
  background: #34495f;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 0.75rem 3rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.45rem 0;
}

.timeline li > i { z-index: 1; width: 0.7rem; height: 0.7rem; border: 2px solid #111f30; border-radius: 50%; }
.timeline li > i.red { background: #e85f67; }
.timeline li > i.cyan { background: #36c7df; }
.timeline li > i.amber { background: #efb546; }
.timeline li > i.green { background: var(--home-mint); }
.timeline time { color: #6d849b; font-family: var(--mono); font-size: 0.58rem; }
.timeline p { display: grid; }
.timeline p b { color: #dce7f3; font-size: 0.67rem; }
.timeline p small { color: #74899f; font-size: 0.57rem; }

.ownership-section {
  padding: 7rem 0 5rem;
  border-top: 1px solid rgba(132, 164, 201, 0.14);
  background:
    radial-gradient(circle at 80% 20%, rgba(32, 212, 177, 0.12), transparent 25rem),
    #06101b;
}

.ownership-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 5rem;
  align-items: center;
}

.ownership-copy .eyebrow { color: var(--home-mint); }
.ownership-copy .btn-row { margin-top: 1.8rem; }

.stack-map {
  position: relative;
  min-height: 29rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px solid rgba(146, 177, 211, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.12), transparent 62%);
}

.stack-map::before,
.stack-map::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(94, 133, 180, 0.22);
  border-radius: 50%;
}

.stack-map::after { inset: 29%; border-style: solid; }

.stack-core {
  position: relative;
  z-index: 2;
  width: 10rem;
  height: 10rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(32, 212, 177, 0.42);
  border-radius: 50%;
  background: #0d1f2e;
  box-shadow: 0 0 60px rgba(32, 212, 177, 0.12);
}

.stack-logo {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, var(--home-mint), var(--home-blue));
  color: #04121c;
  font-weight: 850;
}

.stack-core p { display: grid; text-align: center; }
.stack-core b { color: #edf5fd; font-size: 0.76rem; }
.stack-core small { color: #7390a7; font-size: 0.56rem; }

.stack-nodes { position: absolute; inset: 0; }
.stack-nodes > span { position: absolute; z-index: 2; min-width: 7rem; display: grid; padding: 0.65rem 0.75rem; border: 1px solid #2c435b; border-radius: 0.65rem; background: #0d1a29; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24); }
.stack-nodes i { color: var(--home-mint); font-family: var(--mono); font-size: 0.5rem; font-style: normal; }
.stack-nodes b { color: #dce7f3; font-size: 0.67rem; }
.stack-nodes small { color: #6f859c; font-size: 0.55rem; }
.stack-nodes > span:first-child { top: 5%; left: 18%; }
.stack-nodes > span:nth-child(2) { top: 4%; right: 15%; }
.stack-nodes > span:nth-child(3) { top: 41%; right: 0; }
.stack-nodes > span:nth-child(4) { right: 15%; bottom: 4%; }
.stack-nodes > span:nth-child(5) { bottom: 4%; left: 14%; }
.stack-nodes > span:nth-child(6) { top: 41%; left: 0; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 6rem;
  overflow: hidden;
  border: 1px solid rgba(135, 166, 201, 0.18);
  border-radius: 0.9rem;
  background: rgba(135, 166, 201, 0.18);
}

.trust-row > span {
  display: grid;
  padding: 1.25rem;
  background: #0b1725;
}

.trust-row b { color: #e2edf8; font-size: 0.8rem; }
.trust-row small { color: #7890a7; font-size: 0.62rem; }

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0;
  border-top: 1px solid rgba(132, 164, 201, 0.14);
  background: #081421;
  text-align: center;
}

.final-cta .wrap { position: relative; z-index: 1; display: grid; justify-items: center; }
.final-cta .eyebrow { color: var(--home-mint); }
.final-cta h2 { max-width: 52rem; }
.final-cta p { max-width: 40rem; }
.final-cta .btn-row { justify-content: center; }

.final-glow {
  position: absolute;
  width: 50rem;
  height: 50rem;
  left: 50%;
  bottom: -38rem;
  transform: translateX(-50%);
  border: 1px solid rgba(79, 124, 255, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 124, 255, 0.28), transparent 62%);
  box-shadow: 0 0 0 7rem rgba(79, 124, 255, 0.025), 0 0 0 14rem rgba(32, 212, 177, 0.018);
}

.home-page .site-footer {
  border-top-color: rgba(132, 164, 201, 0.14);
  background: #050d16;
}

@media (max-width: 980px) {
  .product-window { height: 34rem; }
  .window-body { grid-template-columns: 3.7rem 12.5rem minmax(0, 1fr); }
  .signal-right { right: 0.7rem; }
  .story-grid,
  .story-reverse,
  .ownership-shell { grid-template-columns: 1fr; gap: 3.5rem; }
  .story-copy { max-width: 42rem; }
  .story-reverse .story-copy { order: 0; }
  .story-visual { width: 100%; max-width: 45rem; }
  .story-reverse .story-visual { justify-self: end; }
  .stack-map { width: min(100%, 38rem); justify-self: center; }
}

@media (max-width: 760px) {
  .home-page .site-header .wrap { height: auto; min-height: 4rem; padding-block: 0.55rem; }
  .home-page .site-nav { gap: 0.35rem; }
  .home-page .site-nav a { display: none; }
  .home-page .site-nav .nav-cta { display: inline-block; font-size: 0.78rem; }
  .home-hero { padding-top: 4.6rem; }
  .home-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .home-hero h1 br { display: none; }
  .hero-kicker { font-size: 0.6rem; }
  .product-window-wrap { margin-top: 3.7rem; padding-inline: 0.75rem; }
  .product-window { height: 31rem; border-radius: 1rem; }
  .window-body { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .channel-list { display: none; }
  .window-search { width: 7.5rem; overflow: hidden; white-space: nowrap; }
  .signal-pill { font-size: 0.6rem; }
  .signal-left { left: 0.5rem; }
  .signal-right { top: 3.8rem; }
  .chat-content { padding-inline: 0.8rem; }
  .system-message button { display: none; }
  .capability-band > div { justify-content: flex-start; }
  .story-section { padding: 5.5rem 0; }
  .story-copy h2,
  .ownership-copy h2,
  .final-cta h2 { font-size: clamp(2.3rem, 11vw, 3.3rem); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .ownership-section { padding-top: 5.5rem; }
  .stack-map { min-height: 25rem; transform: scale(0.92); }
  .stack-nodes > span { min-width: 6.1rem; padding: 0.5rem 0.6rem; }
  .stack-core { width: 8rem; height: 8rem; }
  .final-cta { padding-block: 6rem; }
}

@media (max-width: 480px) {
  .home-hero-copy { padding-inline: 1rem; }
  .home-hero h1 { letter-spacing: -0.06em; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-note { max-width: 19rem; }
  .product-window { height: 29rem; }
  .window-topbar { grid-template-columns: auto 1fr; }
  .window-title { display: none; }
  .window-search { justify-self: end; }
  .window-body { grid-template-columns: 3rem minmax(0, 1fr); }
  .workspace-rail { padding-inline: 0.25rem; }
  .rail-mark,
  .rail-avatar,
  .rail-add { width: 2.35rem; height: 2.35rem; border-radius: 0.7rem; }
  .chat-heading { padding-inline: 0.75rem; }
  .chat-heading span,
  .chat-tools { display: none; }
  .chat-message { grid-template-columns: 2rem minmax(0, 1fr); gap: 0.55rem; }
  .chat-message .avatar { width: 2rem; height: 2rem; }
  .chat-message p { font-size: 0.65rem; }
  .message-card { padding: 0.5rem; }
  .signal-right { display: none; }
  .chat-story .reply { margin-left: 0; }
  .reply-line { display: none; }
  .call-grid { grid-template-columns: 1fr; }
  .call-story { max-height: 38rem; }
  .person { min-height: 6.5rem; }
  .person > span { width: 3rem; height: 3rem; }
  .share-tile { min-height: 7.5rem; }
  .person-three { display: none; }
  .incident-story-head { align-items: flex-start; gap: 0.7rem; }
  .incident-story-head button { padding-inline: 0.45rem; }
  .incident-meta { grid-template-columns: 1fr; }
  .incident-meta span { display: flex; justify-content: space-between; }
  .timeline li { grid-template-columns: 0.75rem 2.5rem minmax(0, 1fr); }
  .stack-map { margin: -2.5rem -2rem; transform: scale(0.78); }
  .trust-row { grid-template-columns: 1fr; }
}
