/* Editorial commercial-site system for Whispy's community operations markets. */
:root {
  color-scheme: dark;
  --bg: #080b0d;
  --bg-soft: #0d1114;
  --panel: #11171a;
  --panel-high: #182024;
  --line: #2a3438;
  --line-soft: #1c2529;
  --gold: #dda94e;
  --gold-bright: #f3d58d;
  --gold-dim: #8c6b33;
  --cream: #f1eee7;
  --muted: #9da5a5;
  --danger: #ff8a81;
  --green: #79d2a6;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 78% -10%, rgba(221, 169, 78, .09), transparent
    34rem),
    radial-gradient(ellipse at 8% 38%, rgba(79, 103, 101, .06), transparent
    38rem),
    var(--bg);
  color: var(--cream);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 620;
  letter-spacing: -.035em;
}

h1 {
  max-width: 15ch;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: .96;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 4.6vw, 4.75rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--cream);
  color: #090b0c;
  transform: translateY(-200%);
}

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

.section-shell,
.nav-shell {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 11, 13, .88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: max-content;
  font-size: 1rem;
  letter-spacing: .22em;
}

.brand img {
  width: 42px;
  height: 30px;
  object-fit: contain;
}

.primary-nav,
.utility-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-nav a,
.utility-nav > a:not(.button) {
  color: #c7ccca;
  font-size: .85rem;
  transition: color .2s ease;
}

.primary-nav a:hover,
.utility-nav > a:not(.button):hover {
  color: var(--cream);
}

.utility-nav {
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.25rem;
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  background: var(--gold);
  color: #11100d;
  font-size: .82rem;
  font-weight: 780;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 transparent;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.button:hover {
  background: var(--gold-bright);
  box-shadow: 0 12px 35px rgba(221, 169, 78, .18);
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: .45rem .9rem;
  font-size: .72rem;
}

.text-link {
  color: var(--gold-bright);
  font-size: .9rem;
  font-weight: 680;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow,
.plan-code {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lede {
  max-width: 62ch;
  color: #b7bfbd;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.home-hero {
  min-height: calc(100vh - 78px);
  min-height: min(900px, calc(100svh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .78fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  padding-block: clamp(4rem, 8vh, 6rem);
}

.hero-copy h1 {
  max-width: 16ch;
  margin: .8rem 0 1.75rem;
  font-size: clamp(3.15rem, 5.2vw, 5.2rem);
}

.hero-copy {
  min-width: 0;
}

.hero-copy .lede {
  max-width: 58ch;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.client-downloads {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.4rem;
}

.client-downloads > span {
  flex-basis: 100%;
  color: #707a7b;
  font: .62rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.client-downloads a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .6rem 1rem;
  border: 1px solid #343e41;
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: #c9cfcd;
  font-size: .72rem;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.client-downloads a:hover {
  border-color: var(--gold-dim);
  color: var(--cream);
  transform: translateY(-1px);
}

.client-downloads svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.client-downloads .linux-mark {
  color: var(--cream);
}

.client-download-note {
  flex-basis: 100%;
  max-width: 58ch;
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.4rem;
  margin: 3.25rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
  list-style: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.proof-list li::before {
  content: "◆";
  margin-right: .55rem;
  color: var(--gold);
  font-size: .55rem;
}

.proof-list li {
  display: inline-flex;
  align-items: center;
}

.hero-watermark {
  position: relative;
  display: grid;
  min-height: 520px;
  place-content: center;
  justify-items: center;
  opacity: .16;
  pointer-events: none;
}

.hero-watermark::before {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 169, 78, .2), transparent 68%);
  filter: blur(30px);
  content: "";
}

.hero-watermark img {
  position: relative;
  width: min(408px, 78%);
  height: auto;
  filter: saturate(.8);
}

.hero-watermark strong {
  position: relative;
  margin-top: 1.25rem;
  margin-left: .48em;
  color: var(--cream);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: .48em;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.architecture-control {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--gold-dim);
  background: rgba(221, 169, 78, .07);
}

.network-code {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .75rem;
  font-weight: 780;
}

.market-section,
.persona-section,
.workflow-section,
.customization-section,
.architecture-section,
.feature-grid,
.difference-panel {
  padding-block: clamp(5.5rem, 10vw, 10rem);
}

.customization-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  border-block: 1px solid var(--line-soft);
}

.customization-copy h2 {
  max-width: 16ch;
  margin: .8rem 0 1.7rem;
}

.customization-lede {
  max-width: 61ch;
  color: #bdc4c2;
  font-size: 1.08rem;
}

.customization-points {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.customization-points article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.customization-points article > span {
  color: var(--gold);
  font: .65rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.customization-points h3 {
  margin-bottom: .35rem;
}

.customization-points p {
  color: var(--muted);
  font-size: .9rem;
}

.architecture-file {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #394448;
  background: linear-gradient(145deg, #151c1f, #0c1113);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .34);
}

.architecture-file-head,
.architecture-file-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  color: #7e898a;
  font: .62rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.architecture-file-head {
  border-bottom: 1px solid var(--line);
}

.architecture-file-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .65rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(221, 169, 78, .65);
}

.architecture-file pre {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  overflow-x: auto;
  color: #7d898b;
  font: clamp(.7rem, 1vw, .82rem)/1.9 ui-monospace, SFMono-Regular, Menlo,
    Consolas, monospace;
  tab-size: 2;
}

.architecture-file code,
.architecture-file em,
.architecture-file strong,
.architecture-file mark {
  font: inherit;
}

.architecture-file em {
  color: #9eabad;
  font-style: normal;
}

.architecture-file strong {
  color: var(--gold-bright);
  font-weight: 500;
}

.architecture-file mark {
  background: transparent;
  color: var(--green);
}

.architecture-file-foot {
  border-top: 1px solid var(--line);
  color: var(--gold);
}

.preset-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2.5rem;
  border: 1px solid #344043;
  border-radius: 42% 12% 38% 10% / 12% 38% 14% 34%;
  background:
    radial-gradient(circle at 50% 42%, rgba(221, 169, 78, .09), transparent
    15rem),
    linear-gradient(145deg, #13191c, #0b0f11);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .3);
}

.preset-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(221, 169, 78, .16);
  border-radius: 48% 52% 45% 55%;
  transform: rotate(-12deg);
}

.preset-orbit::before,
.preset-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
  content: "";
}

.preset-orbit::before {
  inset: 34px -72px;
  transform: rotate(24deg);
}

.preset-orbit::after {
  inset: -62px 48px;
  transform: rotate(-18deg);
}

.preset-core {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 150px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .65rem;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  background: #0c1012;
  box-shadow: 0 0 45px rgba(221, 169, 78, .08);
  text-align: center;
}

.preset-core img {
  width: 55px;
  height: auto;
}

.preset-core span {
  max-width: 12ch;
  color: #c7cecb;
  font-size: .67rem;
  line-height: 1.4;
}

.preset-path {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preset-path li {
  position: absolute;
  width: min(205px, 42%);
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem;
  border: 1px solid #303a3d;
  border-radius: 999px;
  background: rgba(10, 14, 16, .94);
}

.preset-path li:nth-child(1) {
  top: 12%;
  left: 8%;
}

.preset-path li:nth-child(2) {
  top: 18%;
  right: 5%;
}

.preset-path li:nth-child(3) {
  right: 10%;
  bottom: 14%;
}

.preset-path li > span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold);
  font: .6rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.preset-path b,
.preset-path small {
  display: block;
}

.preset-path b {
  font-size: .76rem;
}

.preset-path small {
  margin-top: .12rem;
  color: #7f8989;
  font-size: .61rem;
  line-height: 1.35;
}

.preset-visual > p {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  color: var(--gold);
  font: .6rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 11vw, 11rem);
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 15% 35%, rgba(221, 169, 78, .2), transparent
    30rem),
    radial-gradient(circle at 85% 70%, rgba(65, 99, 108, .2), transparent
    34rem),
    linear-gradient(135deg, #131619 0%, #090d0f 48%, #17150f 100%);
}

.product-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%,
    transparent);
  pointer-events: none;
}

.product-section > .section-shell {
  position: relative;
  z-index: 1;
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: end;
  gap: 3rem 6rem;
  margin-bottom: 4rem;
}

.product-heading h2 {
  max-width: 17ch;
  margin-top: .8rem;
}

.product-heading > p {
  color: #b3bcba;
}

.adoption-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border: 1px solid var(--line);
  background: var(--line);
}

.adoption-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(145deg, rgba(24, 32, 36, .94), rgba(8, 12, 14, .96));
}

.adoption-card-discord {
  background:
    radial-gradient(circle at 100% 0, rgba(88, 101, 242, .15), transparent
    22rem),
    linear-gradient(145deg, rgba(24, 32, 36, .94), rgba(8, 12, 14, .96));
}

.adoption-card > span {
  color: var(--gold);
  font: .65rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.adoption-card h3 {
  max-width: 21ch;
  margin: 1rem 0;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.adoption-card > p {
  max-width: 60ch;
  color: #aab4b2;
}

.organization-route,
.discord-route {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
  overflow-x: auto;
  color: #d8dfdc;
  font: .62rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}

.organization-route strong,
.organization-route b,
.discord-route strong {
  padding: .7rem .85rem;
  border: 1px solid #3d484b;
  background: rgba(255, 255, 255, .025);
  font: inherit;
  letter-spacing: .04em;
}

.organization-route b {
  border-color: rgba(221, 169, 78, .7);
  color: var(--gold-bright);
}

.organization-route i,
.discord-route i {
  color: var(--gold);
  font-style: normal;
}

.discord-route strong:last-child {
  border-color: rgba(88, 101, 242, .7);
  color: #b7bfff;
}

.interorg-proof {
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, rgba(88, 101, 242, .1), transparent
    30rem),
    rgba(8, 12, 14, .74);
}

.interorg-proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  gap: 2rem 5rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.interorg-proof-heading h3 {
  max-width: 24ch;
  margin-top: .75rem;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.interorg-proof-heading > p {
  color: #aab4b2;
}

.interorg-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.interorg-proof-shot {
  min-width: 0;
  margin: 0;
}

.interorg-proof-client .product-shot-frame img {
  width: 100%;
  height: clamp(250px, 28vw, 370px);
  object-fit: cover;
  object-position: center top;
}

.discord-capture-frame {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(88, 101, 242, .5);
  border-radius: 8px;
  background: #111318;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .38);
}

.discord-capture-frame img {
  width: 100%;
  border-radius: 4px;
}

.interorg-proof-shot figcaption {
  padding: 1.25rem .25rem 0;
}

.interorg-proof-shot h4 {
  margin: 0 0 .6rem;
  color: var(--cream);
  font-size: 1.15rem;
}

.interorg-proof-shot figcaption p {
  color: var(--muted);
}

.interorg-proof-shot figcaption small {
  display: block;
  margin-top: .85rem;
  color: #667174;
  font: .56rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-examples {
  position: relative;
  scroll-margin-top: 7rem;
}

.product-example-choice {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.product-example-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.product-example-tabs label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: .95rem;
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: -.015em;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.product-example-tabs label:hover {
  background: var(--panel-high);
  color: var(--cream);
}

#product-example-space:checked ~ .product-example-tabs label[for="product-example-space"],
#product-example-sim:checked ~ .product-example-tabs label[for="product-example-sim"] {
  background: rgba(221, 169, 78, .12);
  border-color: var(--gold-dim);
  color: var(--gold-bright);
}

#product-example-space:focus-visible ~ .product-example-tabs label[for="product-example-space"],
#product-example-sim:focus-visible ~ .product-example-tabs label[for="product-example-sim"] {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.product-example {
  display: none;
}

#product-example-space:checked ~ .product-example-panels .product-example-space,
#product-example-sim:checked ~ .product-example-panels .product-example-sim {
  display: block;
}

.product-example-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}

.product-example-heading h3 {
  color: var(--gold-bright);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.product-example-heading p {
  color: var(--muted);
}

.product-shots {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.product-shot {
  min-width: 0;
  margin: 0;
}

.product-shot-client {
  margin-top: 5rem;
}

.product-shot-frame {
  overflow: hidden;
  border: 1px solid #445053;
  border-radius: 8px;
  background: #080b0d;
  box-shadow: 0 35px 85px rgba(0, 0, 0, .5);
}

.product-shot-bar {
  display: flex;
  gap: .4rem;
  align-items: center;
  height: 32px;
  padding-inline: .8rem;
  border-bottom: 1px solid #293235;
  background: #11171a;
}

.product-shot-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d5759;
}

.product-shot-bar i:first-child {
  background: var(--gold);
}

.product-shot-frame img {
  width: 100%;
  height: clamp(220px, 32vw, 410px);
  object-fit: cover;
}

.product-shot-link {
  display: block;
  position: relative;
  cursor: zoom-in;
  transition: border-color .18s ease;
}

.product-shot-link:hover,
.product-shot-link:focus-visible {
  border-color: var(--gold);
}

.product-shot-link:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.product-shot-enlarge {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  padding: .35rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 11, 13, .92);
  color: var(--cream);
  font-size: .8rem;
  font-weight: 600;
}

/* The native dialog traps focus; the full capture fits without cropping. */
html.is-capture-open {
  overflow: hidden;
}

.product-capture-dialog {
  width: min(1640px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 28px 8px 28px 8px;
  background: var(--panel);
  color: var(--cream);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}

.product-capture-dialog::backdrop {
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(6px);
}

.product-capture-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}

.product-capture-header h2 {
  max-width: none;
  min-width: 0;
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-capture-close {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  background: var(--panel-high);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
}

.product-capture-close:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.product-capture-close:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.product-capture-image {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 10rem);
  border-radius: 12px;
  object-fit: contain;
}

.product-shot-dashboard img {
  object-position: center top;
}

.product-shot-client img {
  object-position: center top;
}

.product-shot figcaption {
  padding: 1.5rem .25rem 0;
}

.product-shot figcaption > span,
.product-shot figcaption > small {
  color: var(--gold);
  font: .65rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-shot figcaption h3 {
  margin: .45rem 0 .65rem;
  font-size: 1.4rem;
}

.product-shot figcaption p {
  max-width: 57ch;
  color: var(--muted);
}

.product-shot figcaption > small {
  display: block;
  margin-top: 1rem;
  color: #667174;
  font-size: .56rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr);
  align-items: end;
  gap: 2rem 5rem;
  margin-bottom: 3.5rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.section-heading.compact {
  display: block;
}

.section-heading.compact h2 {
  margin-top: .75rem;
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.market-card {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.market-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 10, .05) 20%, rgba(5, 8, 10,
    .96) 90%);
  content: "";
}

.market-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}

.market-card:hover img {
  filter: saturate(1.1);
  transform: scale(1.025);
}

.market-number {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  left: 1.5rem;
  padding: .45rem .6rem;
  background: rgba(8, 11, 13, .78);
  color: var(--gold-bright);
  font: .65rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .12em;
}

.market-content {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2.2rem;
  left: 2rem;
  display: grid;
  gap: .8rem;
}

.market-content strong {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.market-content > span {
  max-width: 58ch;
  color: #bcc2c0;
}

.market-content u {
  margin-top: .5rem;
  color: var(--gold-bright);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.persona-list {
  border-top: 1px solid var(--line);
}

.persona-list article {
  display: grid;
  grid-template-columns: 70px minmax(220px, .8fr) minmax(280px, 1.2fr);
  gap: 2rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.persona-list article > span,
.benefit-list article > span,
.feature-grid article > span,
.workflow-list > li > span {
  color: var(--gold);
  font: .7rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.persona-list p,
.workflow-list p,
.benefit-list p,
.feature-grid p,
.difference-panel > p {
  color: var(--muted);
}

.workflow-section {
  border-block: 1px solid var(--line-soft);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow-list li {
  position: relative;
  min-height: 250px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-right: 0;
  background: linear-gradient(145deg, rgba(24, 32, 36, .55), rgba(10, 14, 16,
    .45));
}

.workflow-list li:last-child {
  border-right: 1px solid var(--line);
}

.workflow-list li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -10px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold-dim);
  background: var(--bg);
  color: var(--gold);
  content: "›";
  transform: translateY(-50%);
}

.workflow-list h3 {
  margin: 4rem 0 .8rem;
  font-size: 1.4rem;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-block: clamp(5rem, 10vw, 10rem);
  padding-block: 3.5rem;
  padding-inline: 3.5rem;
  border: 1px solid var(--gold-dim);
  background:
    radial-gradient(circle at 90% 10%, rgba(221, 169, 78, .15), transparent
    20rem),
    var(--panel);
}

.closing-cta h2 {
  max-width: 20ch;
  margin: .5rem 0 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

.closing-cta p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--muted);
}

.market-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: end;
  overflow: hidden;
}

.market-hero > img,
.market-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.market-hero > img {
  object-fit: cover;
}

.market-hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 8, 10, .97) 0%, rgba(5, 8, 10, .73) 42%,
    rgba(5, 8, 10, .12) 78%),
    linear-gradient(0deg, var(--bg) 0%, transparent 36%);
}

.market-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 7rem;
}

.market-hero-content h1 {
  max-width: 12ch;
  margin: .8rem 0 1.75rem;
}

.market-hero-content .lede {
  max-width: 55ch;
}

.market-hero-content .button {
  margin-top: 2rem;
}

.scenario-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 10vw, 9rem);
  padding-block: clamp(6rem, 11vw, 11rem);
}

.scenario-code {
  margin: 2rem 0 .1rem;
  color: #556064;
  font: .7rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .14em;
}

.scenario-intro h2 {
  margin-bottom: 1.5rem;
}

.scenario-intro > p:last-child {
  max-width: 60ch;
  color: var(--muted);
}

.benefit-list {
  border-top: 1px solid var(--line);
}

.benefit-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.5rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list h3 {
  margin-bottom: .45rem;
}

.architecture-section {
  border-block: 1px solid var(--line-soft);
  background: rgba(7, 10, 12, .7);
}

.architecture-board {
  position: relative;
  padding: clamp(1rem, 3vw, 3rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
    #0b1012;
  background-size: 32px 32px;
}

.architecture-control {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 1.35rem;
}

.architecture-control .pulse {
  width: 11px;
  height: 11px;
}

.architecture-control small {
  color: var(--gold);
  font: .65rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.architecture-control h3 {
  margin: .25rem 0;
  font-size: 1.5rem;
}

.architecture-control p,
.architecture-control > strong {
  color: var(--muted);
  font-size: .72rem;
}

.architecture-control > strong {
  color: var(--gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.network-row {
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.network-row:hover,
.network-row:focus-visible,
.network-row.is-active {
  border-color: var(--gold-dim);
  background-color: rgba(221, 169, 78, .08);
  transform: translateY(-2px);
}

.architecture-trunk {
  width: 1px;
  height: 60px;
  margin: 0 auto;
  background: var(--gold-dim);
}

.network-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .8rem;
}

.network-list::before {
  position: absolute;
  top: -30px;
  right: calc(8.333% - .34rem);
  left: calc(8.333% - .34rem);
  height: 1px;
  background: var(--gold-dim);
  content: "";
  pointer-events: none;
}

.network-row {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(13, 18, 20, .94);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.network-row::before {
  position: absolute;
  top: -30px;
  left: 50%;
  width: 1px;
  height: 30px;
  background: var(--gold-dim);
  content: "";
}

.network-code {
  width: 38px;
  height: 38px;
}

.network-name {
  margin-top: 1.5rem;
}

.network-name h3 {
  min-height: 2.4em;
  margin-bottom: .65rem;
}

.network-name p {
  color: var(--muted);
  font-size: .78rem;
}

.network-access {
  width: 100%;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
  color: var(--gold-bright);
  font: .62rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.network-open-hint {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: .75rem;
  color: #879192;
  font: .58rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.network-open-hint b {
  color: var(--gold-bright);
  font-size: 1rem;
  font-weight: 400;
}

.network-row[aria-expanded="true"] .network-open-hint b {
  transform: rotate(45deg);
}

.network-partner-route {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(20px, 1fr) auto;
  align-items: center;
  gap: .5rem;
  color: #aeb7ff;
}

.network-partner-route img {
  width: 38px;
  height: auto;
  filter: saturate(.75) brightness(1.15);
}

.network-partner-route svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.network-partner-route i {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, #aeb7ff, rgba(174, 183, 255, .3));
}

.network-partner-route i::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 5px;
  height: 5px;
  border: 1px solid #aeb7ff;
  border-radius: 50%;
  background: #11151a;
  content: "";
  transform: translateY(-50%);
}

.network-row-collaborative {
  border-color: rgba(122, 135, 225, .58);
  background:
    radial-gradient(circle at 15% 0, rgba(122, 135, 225, .14), transparent
    9rem),
    rgba(15, 18, 25, .96);
}

.network-row-collaborative::before {
  background: #7785db;
}

.network-row-collaborative:hover,
.network-row-collaborative:focus-visible,
.network-row-collaborative.is-active {
  border-color: #8795ed;
  background-color: rgba(122, 135, 225, .12);
}

.network-row-collaborative .network-access,
.network-row-collaborative .network-open-hint b {
  color: #bdc5ff;
}

.architecture-access-details {
  margin-top: 1.15rem;
}

.architecture-access-detail {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid #3a4447;
  border-radius: 8px 28px 8px 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(221, 169, 78, .07), transparent
    24rem),
    rgba(13, 18, 20, .98);
}

.architecture-access-detail > header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}

.architecture-access-detail > header span {
  color: var(--gold);
  font: .62rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.architecture-access-detail > header h3 {
  margin: .35rem 0 .25rem;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
}

.architecture-access-detail > header p {
  color: var(--muted);
  font-size: .78rem;
}

.architecture-access-detail > header button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font: 1.2rem/1 sans-serif;
}

.access-group-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}

.access-group {
  display: flex;
  min-height: 92px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 16px 4px 16px 4px;
  background: rgba(255, 255, 255, .015);
}

.access-group strong,
.access-group small {
  display: block;
}

.access-group strong {
  font-size: .8rem;
}

.access-group small {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .67rem;
  line-height: 1.4;
}

.access-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .3rem;
}

.access-flags span {
  padding: .3rem .42rem;
  border: 1px solid rgba(221, 169, 78, .28);
  border-radius: 999px;
  color: var(--gold-bright);
  font: .56rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.architecture-outcome {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-left: 2px solid var(--gold);
  background: rgba(221, 169, 78, .06);
}

.architecture-outcome span {
  color: var(--gold);
  font: .67rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.architecture-outcome p {
  color: #c3c9c7;
}

/* The discovery page turns the product taxonomy into an explorable map. */
.discover-hero {
  display: grid;
  grid-template-columns: minmax(410px, .72fr) minmax(660px, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(5rem, 9vw, 8rem) clamp(4rem, 8vw, 7rem);
}

.discover-intro h1 {
  max-width: 10ch;
  margin: .8rem 0 1.7rem;
  font-size: clamp(3rem, 4.3vw, 4.4rem);
}

.discover-intro .lede {
  max-width: 48ch;
}

.constellation-explorer {
  position: relative;
  min-height: 610px;
  isolation: isolate;
}

.constellation-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.constellation-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(189, 139, 61, .58);
  stroke-width: 1.1;
}

.constellation-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 148px;
  height: 148px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .6rem;
  border: 1px solid var(--gold-dim);
  border-radius: 48% 52% 46% 54%;
  background: #0b0f11;
  box-shadow: 0 0 60px rgba(221, 169, 78, .07);
  transform: translate(-50%, -50%) rotate(-2deg);
}

.constellation-core img {
  width: 63px;
  height: auto;
}

.constellation-core span {
  font-size: .66rem;
  letter-spacing: .3em;
}

.feature-family {
  position: absolute;
  width: min(255px, 34%);
  transition: opacity .25s ease, transform .25s ease;
}

.feature-family-interorg {
  top: 8%;
  left: 1%;
}

.feature-family-voice {
  top: 8%;
  right: 0;
}

.feature-family-radio {
  top: 42%;
  left: 0;
}

.feature-family-discord {
  top: 42%;
  right: 0;
}

.feature-family-operations {
  bottom: 7%;
  left: 3%;
}

.feature-family-access {
  right: 0;
  bottom: 7%;
}

.feature-family button {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: .8rem;
  min-height: 74px;
  padding: .65rem .85rem .65rem .7rem;
  border: 1px solid #394346;
  border-radius: 999px;
  background: rgba(10, 14, 16, .94);
  color: var(--cream);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.feature-family button:hover,
.feature-family button:focus-visible,
.feature-family.is-active button {
  border-color: var(--gold-dim);
  background: rgba(189, 139, 61, .1);
  transform: translateY(-2px);
}

.feature-family button > svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.feature-family button span,
.feature-family button b,
.feature-family button small {
  display: block;
}

.feature-family button b {
  font-size: .86rem;
  line-height: 1.2;
}

.feature-family button small {
  margin-top: .2rem;
  color: #778182;
  font-size: .65rem;
}

.feature-family button > i {
  color: var(--gold);
  font-size: 1rem;
  font-style: normal;
}

.constellation-explorer.has-selection .feature-family:not(.is-active) {
  opacity: .42;
}

.constellation-hint {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: #7b8585;
  font-size: .72rem;
  text-align: center;
}

.feature-branches {
  grid-column: 1 / -1;
  margin-top: -2rem;
}

.feature-branch {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid #354043;
  border-radius: 32px 8px 32px 8px;
  background:
    radial-gradient(circle at 15% 0, rgba(221, 169, 78, .08), transparent
    24rem),
    rgba(11, 15, 17, .96);
}

.feature-branch + .feature-branch {
  margin-top: 1rem;
}

.feature-branch > header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.feature-branch > header > span {
  color: var(--gold);
  font: .62rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.feature-branch > header h2 {
  grid-column: 1;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.feature-branch > header button {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.feature-branch > header button i {
  margin-left: .4rem;
  font-style: normal;
}

.feature-branch > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.feature-branch > div > a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: .7rem;
  align-items: start;
  min-height: 130px;
  padding: 1rem;
  border: 1px solid #293336;
  border-radius: 22px 6px 22px 6px;
  background: rgba(255, 255, 255, .018);
  transition: border-color .2s ease, transform .2s ease;
}

.feature-branch > div > a:hover,
.feature-branch > div > a:focus-visible {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.feature-branch a svg,
.thread-card > svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  fill: none;
  stroke: var(--gold-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.feature-branch a b,
.feature-branch a small {
  display: block;
}

.feature-branch a b {
  font-size: .82rem;
  line-height: 1.3;
}

.feature-branch a small {
  margin-top: .45rem;
  color: #7f8989;
  font-size: .7rem;
  line-height: 1.45;
}

.feature-branch a > i {
  color: var(--gold);
  font-style: normal;
}

.feature-thread {
  --thread-progress: 0;
  padding-block: clamp(6rem, 11vw, 11rem);
}

.thread-track {
  position: relative;
  display: grid;
  gap: clamp(4rem, 9vw, 8rem);
}

.thread-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #293235;
  transform: translateX(-50%);
}

.thread-line i {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: calc(var(--thread-progress) * 100%);
  border-radius: 999px;
  background: linear-gradient(var(--gold-bright), var(--gold-dim));
  box-shadow: 0 0 20px rgba(221, 169, 78, .2);
}

.thread-step {
  position: relative;
  display: flex;
  width: 50%;
}

.thread-step-left {
  justify-content: flex-end;
  padding-right: clamp(2.5rem, 6vw, 6rem);
}

.thread-step-right {
  margin-left: 50%;
  padding-left: clamp(2.5rem, 6vw, 6rem);
}

.thread-node {
  position: absolute;
  z-index: 2;
  top: 3rem;
  width: 15px;
  height: 15px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: #566164;
  box-shadow: 0 0 0 1px #424d50;
  transition: background .35s ease, box-shadow .35s ease;
}

.thread-step-left .thread-node {
  right: -7px;
}

.thread-step-right .thread-node {
  left: -8px;
}

.thread-card {
  width: min(480px, 100%);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid #303a3d;
  border-radius: 36px 8px 36px 8px;
  background:
    radial-gradient(circle at 0 0, rgba(221, 169, 78, .07), transparent 16rem),
    rgba(13, 17, 19, .94);
}

.thread-card > p:first-of-type {
  margin: 1.2rem 0 .45rem;
  color: var(--gold);
  font: .64rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.thread-card .thread-metric {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin: 1rem 0 .8rem;
  color: var(--cream);
}

.thread-card .thread-metric strong {
  color: var(--gold-bright);
  font: 750 clamp(1.8rem, 3vw, 2.7rem)/1 ui-monospace, SFMono-Regular, Menlo,
    Consolas, monospace;
  letter-spacing: -.06em;
}

.thread-card .thread-metric span {
  max-width: 18ch;
  color: #909a9a;
  font: .62rem/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.thread-card h3 {
  max-width: 23ch;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.thread-card h3 + p {
  margin-top: 1rem;
  color: #9da6a5;
}

.thread-card ul {
  display: grid;
  gap: .55rem;
  margin: 1.4rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line-soft);
  color: #c3c9c7;
  font-size: .78rem;
  list-style: none;
}

.thread-card li::before {
  content: "—";
  margin-right: .55rem;
  color: var(--gold);
}

.feature-thread.is-enhanced .thread-step {
  opacity: .25;
  transform: translateY(36px);
  transition: opacity .5s ease, transform .5s ease;
}

.feature-thread.is-enhanced .thread-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.thread-step.is-visible .thread-node {
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-dim), 0 0 18px rgba(221, 169, 78, .28);
}

.discover-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-block: clamp(5rem, 10vw, 10rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--gold-dim);
  border-radius: 46px 8px 46px 8px;
  background:
    radial-gradient(circle at 90% 0, rgba(221, 169, 78, .12), transparent
    22rem),
    var(--panel);
}

.discover-proof h2 {
  max-width: 20ch;
  margin: .6rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.discover-proof p:not(.eyebrow) {
  max-width: 64ch;
  color: var(--muted);
}

.page-intro {
  padding-block: clamp(6rem, 11vw, 11rem) clamp(3rem, 5vw, 5rem);
}

.page-intro h1 {
  margin: .8rem 0 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
}

.feature-grid article {
  min-height: 330px;
  padding: 2rem;
  outline: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(24, 32, 36, .72), rgba(10, 14, 16,
    .65));
}

.feature-grid h2 {
  margin: 5.5rem 0 1rem;
  font-size: 1.55rem;
}

.difference-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 6rem;
  align-items: end;
  border-top: 1px solid var(--line);
}

.difference-panel h2 {
  margin-top: .8rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 8rem;
}

.plans article {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 2rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel-high), var(--panel));
}

.plans h2 {
  margin: .5rem 0 1rem;
  font-size: 2rem;
}

.plans article > p:not(.plan-code) {
  color: var(--muted);
}

.plans article > strong {
  margin-top: 2.5rem;
  font-size: 2.3rem;
  font-weight: 620;
}

.plans article > strong small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
}

.plans ul {
  display: grid;
  gap: .7rem;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  list-style: none;
}

.plans li b {
  color: var(--cream);
}

.plans .button {
  width: 100%;
  margin-top: auto;
}

.disabled {
  opacity: .38;
  pointer-events: none;
}

.warning,
.maintenance,
.page-panel {
  padding: 1.5rem;
  border: 1px solid rgba(255, 138, 129, .42);
  background: rgba(255, 138, 129, .07);
  color: #ffaaa3;
}

.warning {
  margin-bottom: 1.5rem;
}

.maintenance,
.page-panel,
.not-found {
  margin-block: 8rem;
}

.maintenance h1,
.not-found h1 {
  margin: .8rem 0 2rem;
}

.maintenance p:not(.eyebrow) {
  margin-bottom: 2rem;
}

.legal {
  max-width: 900px;
  padding-block: 7rem 10rem;
}

.legal h1 {
  margin: .7rem 0 3rem;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.legal h2 {
  margin: 3rem 0 .85rem;
  font-size: 1.45rem;
  letter-spacing: -.02em;
}

.legal p,
.legal li,
.legal dd {
  color: #adb5b3;
}

.legal p + p {
  margin-top: 1rem;
}

.legal a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal li {
  margin: .5rem 0;
}

.legal p strong,
.legal li strong {
  color: var(--cream);
}

.legal dl {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: .8rem;
}

.legal dt {
  color: var(--muted);
}

.not-found {
  min-height: 50vh;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #060809;
}

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  background: rgba(12, 17, 19, .94);
  color: var(--gold-bright);
  font: 700 .66rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease,
    visibility .2s;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--gold-bright);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  padding-block: 4rem;
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}

.footer-main nav strong {
  margin-bottom: .5rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-main nav a {
  color: var(--muted);
  font-size: .8rem;
}

.footer-main nav a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: #687174;
  font-size: .68rem;
}

.footer-bottom p {
  max-width: 95ch;
  justify-self: end;
  text-align: right;
}

/* Softer silhouettes keep the existing commercial pages in the same visual family as Discover. */
.architecture-board,
.interorg-proof,
.difference-panel,
.plans article {
  border-radius: 32px 8px 32px 8px;
}

.architecture-control,
.network-row,
.organization-route strong,
.organization-route b,
.discord-route strong {
  border-radius: 18px 5px 18px 5px;
}

.adoption-grid {
  gap: 1rem;
  border: 0;
  background: transparent;
}

.adoption-card:first-child {
  border: 1px solid var(--line);
  border-radius: 36px 8px 28px 8px;
}

.adoption-card:last-child {
  border: 1px solid var(--line);
  border-radius: 8px 36px 8px 28px;
}

.discord-capture-frame {
  border-color: #394448;
  border-radius: 28px 8px 28px 8px;
  background: #111518;
}

.discord-capture-frame img {
  height: auto;
  aspect-ratio: 1302 / 426;
  object-fit: contain;
}

.product-shot-frame {
  border-radius: 28px 8px 28px 8px;
}

.market-grid {
  gap: 1.5rem;
}

.market-card:first-child {
  border-radius: 46px 10px 28px 10px;
}

.market-card:last-child {
  border-radius: 10px 46px 10px 28px;
}

.workflow-list {
  gap: 1rem;
}

.workflow-list li,
.workflow-list li:last-child {
  border: 1px solid var(--line);
  border-radius: 26px 7px 26px 7px;
}

.workflow-list li:not(:last-child)::after {
  right: auto;
  left: calc(100% + .5rem);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.closing-cta {
  border-radius: 48px 10px 48px 10px;
}

.feature-grid {
  gap: 1rem;
}

.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 30px 8px 30px 8px;
  outline: 0;
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding-block: .75rem;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-top: .65rem;
    border-top: 1px solid var(--line-soft);
  }

  .utility-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .discover-hero {
    grid-template-columns: 1fr;
  }

  .discover-intro {
    max-width: 760px;
  }

  .constellation-explorer {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .feature-branch > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-watermark {
    min-height: 360px;
  }

  .network-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .access-group-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-list::before,
  .network-row::before {
    display: none;
  }

  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-list li:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .feature-grid,
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .section-shell,
  .nav-shell {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .primary-nav {
    justify-content: flex-start;
    gap: 1.1rem;
    overflow-x: auto;
  }

  .primary-nav a {
    white-space: nowrap;
  }

  .utility-nav .button {
    padding-inline: .7rem;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 5rem;
  }

  .hero-watermark {
    min-height: 260px;
  }

  .back-to-top span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .client-downloads a {
    flex: 1 1 190px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 11.5vw, 4rem);
    overflow-wrap: anywhere;
  }

  /* Translated titles must fit even when the system fallback font is wider. */
  .page-intro h1 {
    overflow-wrap: anywhere;
  }

  .section-heading,
  .customization-section,
  .product-heading,
  .adoption-grid,
  .interorg-proof-heading,
  .interorg-proof-grid,
  .product-example-heading,
  .product-shots,
  .market-grid,
  .scenario-section,
  .difference-panel,
  .architecture-outcome,
  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .discover-hero {
    gap: 3.5rem;
    padding-block: 4.5rem;
  }

  .discover-intro h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 11vw, 4.8rem);
    overflow-wrap: anywhere;
  }

  .constellation-explorer {
    min-height: auto;
    display: grid;
    gap: .75rem;
  }

  .constellation-lines {
    display: none;
  }

  .constellation-core,
  .feature-family,
  .constellation-hint {
    position: static;
  }

  .constellation-core {
    width: 126px;
    height: 126px;
    margin: 0 auto 1.25rem;
    transform: rotate(-2deg);
  }

  .feature-family {
    width: 100%;
  }

  .constellation-explorer.has-selection .feature-family:not(.is-active) {
    opacity: .55;
  }

  .constellation-hint {
    margin-top: .75rem;
  }

  .feature-branches {
    margin-top: 0;
  }

  .feature-branch > header {
    grid-template-columns: 1fr;
  }

  .feature-branch > header button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: .75rem;
  }

  .feature-branch > div {
    grid-template-columns: 1fr;
  }

  .feature-branch > div > a {
    min-height: auto;
  }

  .thread-track {
    gap: 3rem;
  }

  .thread-line {
    left: 18px;
  }

  .thread-step,
  .thread-step-left,
  .thread-step-right {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding-right: 0;
    padding-left: 3.5rem;
  }

  .thread-step-left .thread-node,
  .thread-step-right .thread-node {
    right: auto;
    left: 11px;
  }

  .discover-proof {
    align-items: flex-start;
    flex-direction: column;
  }

  .preset-visual {
    min-height: 560px;
    padding: 1rem;
    border-radius: 28px 8px 28px 8px;
  }

  .preset-orbit {
    width: 260px;
    height: 260px;
  }

  .preset-path li {
    width: min(210px, 68%);
  }

  .preset-path li:nth-child(1) {
    top: 5%;
    left: 4%;
  }

  .preset-path li:nth-child(2) {
    top: 22%;
    right: 3%;
  }

  .preset-path li:nth-child(3) {
    right: 5%;
    bottom: 14%;
  }

  .architecture-file-head,
  .architecture-file-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-shot-client {
    margin-top: 2rem;
  }

  .product-example-tabs {
    border-radius: 28px;
  }

  .product-example-tabs label {
    padding-inline: .65rem;
  }

  .organization-route,
  .discord-route {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    text-align: center;
    white-space: normal;
  }

  .organization-route i,
  .discord-route i {
    transform: rotate(90deg);
  }

  .market-card {
    min-height: 520px;
  }

  .market-content {
    right: 1.25rem;
    bottom: 1.5rem;
    left: 1.25rem;
  }

  .persona-list article {
    grid-template-columns: 42px 1fr;
    gap: .75rem 1rem;
  }

  .persona-list article p {
    grid-column: 2;
  }

  .workflow-list,
  .feature-grid,
  .plans,
  .network-list {
    grid-template-columns: 1fr;
  }

  .access-group-list {
    grid-template-columns: 1fr;
  }

  .access-group {
    min-height: auto;
  }

  .network-list {
    padding-left: 20px;
  }

  .network-list::before {
    display: block;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 1px;
    height: auto;
  }

  .network-row::before {
    display: block;
    top: 50%;
    left: -20px;
    width: 20px;
    height: 1px;
  }

  .workflow-list li,
  .workflow-list li:nth-child(2) {
    min-height: 210px;
    border-right: 1px solid var(--line);
  }

  .workflow-list li:not(:last-child)::after {
    top: calc(100% + .5rem);
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .closing-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem;
  }

  .market-hero {
    min-height: 760px;
  }

  .market-hero-shade {
    background: linear-gradient(0deg, var(--bg) 5%, rgba(5, 8, 10, .75) 62%,
      rgba(5, 8, 10, .08));
  }

  .market-hero-content {
    padding-bottom: 5rem;
  }

  .network-row {
    min-height: 190px;
  }

  .architecture-trunk {
    height: 30px;
  }

  .footer-main {
    gap: 2.5rem;
  }

  .footer-bottom p {
    justify-self: start;
    text-align: left;
  }

  .legal dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
