:root {
  color-scheme: dark;
  --bg: #080e16;
  --panel: #0e1721;
  --line: #23313d;
  --text: #edf3f7;
  --muted: #97a7b5;
  --cyan: #59e4eb;
  --scroll-track: #101923;
  --scroll-green: #45d9ad;
  --scroll-cyan: #59e4eb;
  --mono: "Courier New", Courier, monospace;
}
.icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  vertical-align: -0.18em;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 1rem; height: 1rem; }
.icon--md { width: 1.25rem; height: 1.25rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-green) var(--scroll-track);
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--scroll-track); }
::-webkit-scrollbar-thumb { border: 3px solid var(--scroll-track); border-radius: 999px; background: linear-gradient(180deg, var(--scroll-cyan), var(--scroll-green)); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #8af5fa, #69edc4); }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a,
button {
  transition:
    background 0.18s,
    color 0.18s;
}
a:hover {
  color: var(--cyan);
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: clamp(28px, 3.1vw, 43px);
  line-height: 1.15;
  letter-spacing: -1.4px;
  font-weight: 600;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin: auto;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  letter-spacing: 2.4px;
  font-weight: 800;
}
.brand-divider {
  color: #485360;
  font-weight: 400;
  margin: 0 3px;
}
.brand-caption {
  font: 9px monospace;
  letter-spacing: 1.2px;
  color: var(--muted);
}
nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: #b6c1cb;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  background: var(--cyan);
  color: #06161b;
  border: 1px solid var(--cyan);
  padding: 14px 21px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.button:hover {
  background: #a1f4f4;
  color: #06161b;
}
.button .icon { width: 1rem; height: 1rem; }
.button.small {
  font-size: 11px;
  padding: 9px 15px;
  gap: 21px;
}
.actions > .auth-state-cta.button { min-width: 205px; }
body:not([data-auth-state-ready="true"]) main a[href="/join/"],
body:not([data-auth-state-ready="true"]) footer a[href="/join/"],
body:not([data-auth-state-ready="true"]) .auth-state-cta { visibility: hidden; }
body[data-auth-state-ready="true"] .auth-state-cta { visibility: visible; }
.site-header .button.small { gap: 10px; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 705px;
  align-items: center;
  position: relative;
}
.hero-copy {
  padding: 54px 0 45px;
  z-index: 1;
}
.eyebrow {
  font: 10px/1.6 monospace;
  letter-spacing: 1.8px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}
.signal {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px #59e4eb60;
}
h1 {
  font-size: clamp(70px, 7.6vw, 106px);
  line-height: 0.96;
  letter-spacing: -6px;
  margin: 26px 0;
}
h1 span,
.join-copy .join-heading span {
  color: var(--cyan);
}
.expansion {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.intro {
  color: var(--muted);
  max-width: 425px;
  font-size: 14px;
  margin-top: 18px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 29px;
}
.text-link {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.text-link span {
  margin-left: 14px;
}
.hero-note {
  font: 9px monospace;
  letter-spacing: 1px;
  color: #8c9ba9;
  margin-top: 35px;
}
@keyframes home-hero-from-top { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes home-hero-from-left { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes home-hero-from-right { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: translateX(0); } }
@keyframes home-hero-from-center { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes home-hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes advance-glyph-cyan { 0% { opacity: 0; } 6.488% { opacity: 1; } 7.007%, 9.170% { opacity: 0; } 13.495%, 100% { opacity: 1; } }
@keyframes advance-glyph-white { 0% { opacity: 1; } 6.488%, 100% { opacity: 0; } }
@keyframes advance-glyph-hash { 0% { opacity: 0; } 7.007% { opacity: 1; } 9.170%, 100% { opacity: 0; } }
@keyframes advance-glyph-one { 0% { opacity: 0; } 9.170% { opacity: 1; } 11.332%, 100% { opacity: 0; } }
@keyframes advance-glyph-zero { 0% { opacity: 0; } 11.332% { opacity: 1; } 13.495%, 100% { opacity: 0; } }
.advance-glitch-a { display: inline-block; margin-right: -.025em; }
.advance-glitch-letter { position: relative; display: inline-block; color: transparent; }
.advance-glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cyan); opacity: 0; pointer-events: none; user-select: none; }
.advance-glyph::before { display: block; }
.advance-glyph--cyan { opacity: 1; }
.advance-glyph--cyan::before, .advance-glyph--white::before { content: "a"; }
.advance-glyph--hash::before { content: "#"; }
.advance-glyph--one::before { content: "1"; }
.advance-glyph--zero::before { content: "0"; }
.advance-glyph--white { color: #f4ffff; }
@media (prefers-reduced-motion: no-preference) {
  html.home-hero-intro .beta-notice { animation: home-hero-from-top 1.6s cubic-bezier(.2,.7,.25,1) both; }
  html.home-hero-intro .hero-copy > .eyebrow,
  html.home-hero-intro .hero-copy > h1,
  html.home-hero-intro .hero-copy > .intro { animation: home-hero-from-left 1.65s cubic-bezier(.2,.7,.25,1) both; }
  html.home-hero-intro .hero-copy > .eyebrow { animation-delay: .2s; }
  html.home-hero-intro .hero-copy > h1 { animation-duration: 1.8s; animation-delay: .38s; }
  html.home-hero-intro .hero-copy > .intro { animation-delay: .38s; }
  html.home-hero-intro .hero-visual { animation: home-hero-from-right 2s cubic-bezier(.2,.7,.25,1) .28s both; }
  html.home-hero-intro .hero-copy > .actions,
  html.home-hero-intro .hero-copy > .hero-note { animation: home-hero-from-right 1.8s cubic-bezier(.2,.7,.25,1) .38s both; }
  html.home-hero-intro .meaning-overview.home-meaning-intro { animation: home-hero-fade 2.2s cubic-bezier(.2,.7,.25,1) .38s both; }
  html.home-hero-intro:not(.home-meaning-intro) .hero-rain-pause,
  html.home-hero-intro:not(.home-meaning-intro) .hero-rain-control { opacity: 0; visibility: hidden; }
  html.home-hero-intro.home-meaning-intro .hero-rain-pause,
  html.home-hero-intro.home-meaning-intro .hero-rain-control { opacity: 1; visibility: visible; animation: home-hero-fade 2.2s cubic-bezier(.2,.7,.25,1) .38s both; }
  html.home-hero-intro .advance-glyph--cyan { animation: advance-glyph-cyan 23.12s steps(1, end) 5s infinite; }
  html.home-hero-intro .advance-glyph--white { animation: advance-glyph-white 23.12s steps(1, end) 5s infinite; }
  html.home-hero-intro .advance-glyph--hash { animation: advance-glyph-hash 23.12s steps(1, end) 5s infinite; }
  html.home-hero-intro .advance-glyph--one { animation: advance-glyph-one 23.12s steps(1, end) 5s infinite; }
  html.home-hero-intro .advance-glyph--zero { animation: advance-glyph-zero 23.12s steps(1, end) 5s infinite; }
}
.tiny-cross {
  color: var(--cyan);
  font-size: 16px;
  margin-right: 7px;
}
.hero-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-width: 0;
}
.hero-visual > img {
  width: 115%;
  max-width: none;
  height: auto;
  margin-left: -8%;
  opacity: 0.95;
}
.visual-top,
.visual-bottom {
  position: absolute;
  left: 8%;
  right: 0;
  display: flex;
  justify-content: space-between;
  font: 9px/1.8 monospace;
  letter-spacing: 1px;
  color: #7f9bab;
}
.visual-top {
  top: 45px;
}
.visual-bottom {
  bottom: 47px;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
}
.visual-bottom strong {
  color: #b9ced9;
  font-weight: 400;
}
.coordinates {
  margin-left: auto;
  color: var(--cyan);
}
.principle-bar {
  border-block: 1px solid var(--line);
  background: #0b131d;
}
.principle-bar .wrap {
  display: flex;
  justify-content: space-between;
  padding-block: 20px;
  font: 10px monospace;
  letter-spacing: 1.7px;
  color: #99aab9;
}
.principle-bar b {
  color: var(--cyan);
  margin-left: 30px;
}
.section {
  padding-block: 65px;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.section-heading .eyebrow {
  margin-bottom: 15px;
}
.section-heading > p {
  max-width: 370px;
  color: var(--muted);
  font-size: 13px;
}
.compact {
  align-items: center;
}
.compact h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.demo-tag {
  font: 9px monospace;
  color: #aab8c3;
  letter-spacing: 0.8px;
  border: 1px solid var(--line);
  padding: 7px 10px;
  white-space: nowrap;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.metrics article {
  position: relative;
  padding: 25px 23px;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.metrics article:last-child {
  border: 0;
}
.metrics article > p {
  font: 9px/1.6 monospace;
  color: var(--muted);
}
.global-reach-metrics article > p { display: flex; align-items: center; gap: 8px; }
.global-reach-metrics article > p .icon { color: var(--muted); }
.metrics p span,
th span {
  font: 8px monospace;
  color: var(--cyan);
  margin-left: 4px;
}
.metrics strong {
  display: block;
  font-size: 44px;
  letter-spacing: -1.7px;
  line-height: 1.2;
  margin: 23px 0 10px;
  font-weight: 500;
}
.metrics h3 {
  font-size: 13px;
}
.metrics small {
  font-size: 10px;
  color: var(--muted);
}
.reach-metric {
  background: transparent;
}
.reach-metric strong {
  color: var(--cyan);
}
.metrics.global-reach-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.global-reach-metrics article { min-height: 190px; }
.reach-context { margin-top: clamp(52px, 8vw, 104px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.reach-context-heading { max-width: 690px; margin-bottom: 30px; }
.reach-context-heading h2 { max-width: 14ch; margin-block: 14px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -1.2px; }
.reach-context-heading > p:last-child { max-width: 62ch; color: var(--muted); font-size: 14px; line-height: 1.7; }
.reach-context-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.reach-context-cards article { min-height: 200px; padding: clamp(20px, 3vw, 32px); border-right: 1px solid var(--line); }
.reach-context-cards article:last-child { border-right: 0; }
.reach-context-cards article > span { color: var(--cyan); font: 9px/1.6 monospace; letter-spacing: 1px; }
.reach-context-cards h3 { margin-block: 24px 10px; font-size: 17px; }
.reach-context-cards article > p { max-width: 40ch; color: var(--muted); font-size: 12px; line-height: 1.7; }
.reach-context-cards a { color: var(--cyan); text-underline-offset: 3px; }
@media (hover: hover) {
  .metrics article:hover {
    z-index: 1;
    transform: translateY(-5px);
    background: linear-gradient(145deg, #103139a8, #0a111a 78%);
    box-shadow: inset 0 0 0 1px #55e3e955, 0 14px 38px #36dfe51a, 0 0 24px #36dfe510;
  }
  .metrics article:hover strong {
    color: var(--cyan);
    text-shadow: 0 0 22px #55e3e966;
    animation: metric-hover-glow 1.8s ease-in-out infinite alternate;
  }
}
.metrics article:focus-within {
  z-index: 1;
  background: linear-gradient(145deg, #103139a8, #0a111a 78%);
  box-shadow: inset 0 0 0 1px #55e3e955, 0 14px 38px #36dfe51a;
}
@keyframes metric-hover-glow {
  from { text-shadow: 0 0 12px #55e3e944; }
  to { text-shadow: 0 0 25px #55e3e9aa; }
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillars article {
  padding: 23px;
  background: linear-gradient(135deg, #111d29, #0b121c);
  border: 1px solid var(--line);
}
.pillar-symbol {
  font-size: 28px;
  color: var(--cyan);
}
.index {
  float: right;
  font: 10px monospace;
  color: #697d8e;
  margin-top: 10px;
}
.pillars h3 {
  margin: 27px 0 10px;
}
.pillars p {
  color: var(--muted);
  font-size: 12px;
}
.table-panel {
  border: 1px solid var(--line);
  background: #0c141e;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 27px;
  gap: 20px;
}
.table-toolbar h3 {
  font-size: 15px;
}
.table-toolbar p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.search {
  display: flex;
  align-items: center;
  border: 1px solid #304050;
  padding: 0 12px;
  background: var(--bg);
  gap: 10px;
}
.search > span:first-child {
  font-size: 24px;
  color: var(--muted);
}
.search input {
  border: 0;
  background: none;
  padding: 9px 0;
  width: 190px;
  color: var(--text);
  font-size: 12px;
}
.table-scroll {
  max-height: 414px;
  overflow: auto;
  scrollbar-color: var(--scroll-green) var(--scroll-track);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  padding: 13px 27px;
  background: #121e2a;
  position: sticky;
  top: 0;
  z-index: 1;
}
td {
  border-bottom: 1px solid #1b2935;
  padding: 14px 27px;
  font-size: 12px;
}
td:nth-child(2),
td:nth-child(3) {
  font-family: monospace;
  color: #c5d2db;
}
.country-code {
  display: inline-block;
  font: 9px monospace;
  color: #7f9dad;
  border: 1px solid #2b3b49;
  padding: 2px 4px;
  margin-right: 12px;
  width: 27px;
  text-align: center;
}
.status {
  font: 10px monospace;
  border: 1px solid #345159;
  padding: 4px 9px;
  border-radius: 3px;
  color: #8be1d1;
  background: #16423d30;
}
.status.emerging {
  color: #c3c6e7;
  border-color: #40405a;
  background: #35334830;
}
.status.target {
  color: #a3b1c0;
  border-color: #394653;
  background: #303b4530;
}
.table-note {
  display: flex;
  gap: 10px;
  padding: 17px 27px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.table-note > span {
  color: var(--cyan);
}
#empty-state {
  padding: 30px;
  color: var(--muted);
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ecosystem-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 28px;
  background: #0c141e;
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.wordmark {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 27px;
}
.wordmark span {
  display: block;
  font: 8px monospace;
  color: #7f93a4;
  letter-spacing: 1.1px;
  margin-top: 8px;
}
.ecosystem-grid .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
}
.ecosystem-grid h3 {
  font-size: 16px;
  margin: 12px 0;
}
.ecosystem-grid article > p:last-child {
  font-size: 12px;
  color: var(--muted);
}
.ecosystem-grid article::after,
.ecosystem-principle-grid article::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .32s ease; }
@media (hover: hover) {
  .ecosystem-grid article:hover,
  .ecosystem-principle-grid article:hover {
    transform: translateY(-5px);
    border-color: #55e3e988;
    background: linear-gradient(145deg, #10242d, #0c141e 74%);
    box-shadow: 0 16px 38px #0005, 0 0 24px #36dfe516;
  }
  .ecosystem-grid article:hover::after,
  .ecosystem-principle-grid article:hover::after { transform: scaleX(1); }
  .ecosystem-grid article:hover .ecosystem-brand img { transform: translateY(-2px) scale(1.05); filter: drop-shadow(0 0 9px #55e3e955); }
}
.ecosystem-brand img { transition: transform .28s ease, filter .28s ease; }
.ecosystem-principle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.ecosystem-principle-grid article { position: relative; overflow: hidden; min-height: 220px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); background: #0c141e; transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease; }
.ecosystem-principle-grid article > span { color: var(--cyan); font: 9px/1.6 monospace; letter-spacing: 1px; }
.ecosystem-principle-grid h3 { max-width: 18ch; margin-block: 24px 12px; font-size: 19px; }
.ecosystem-principle-grid article > p { max-width: 42ch; color: var(--muted); font-size: 12px; line-height: 1.75; }
.ecosystem-contact-link { display: flex; justify-content: flex-end; margin-top: 24px; }
@media (prefers-reduced-motion: reduce) {
  .ecosystem-grid article,
  .ecosystem-grid article::after,
  .ecosystem-principle-grid article,
  .ecosystem-principle-grid article::after,
  .ecosystem-brand img { transition: none; }
  .ecosystem-grid article:hover,
  .ecosystem-principle-grid article:hover,
  .ecosystem-grid article:hover .ecosystem-brand img { transform: none; }
}
.engagement {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(100deg, #122730, #0c141e);
  border: 1px solid #29404a;
  padding: 25px;
  margin-top: 23px;
}
.engagement-icon {
  color: var(--cyan);
}
.engagement h3 {
  font-size: 15px;
  margin: 5px 0;
}
.engagement p:last-child {
  font-size: 10px;
  color: var(--muted);
}
.engagement .text-link {
  margin-left: auto;
}
.join-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  padding-block: 80px;
}
.join-copy .join-heading {
  letter-spacing: -1.5px;
  margin: 23px 0;
  font-size: clamp(34px, 3.5vw, 49px);
  line-height: 1.15;
}
.join-copy > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  max-width: 340px;
}
.join-manifesto {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 32px;
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
  color: #a8bac6;
}
.join-manifesto strong {
  color: var(--text);
  font-weight: 500;
}
.join-copy .preview-note {
  font: 10px/1.8 monospace !important;
  margin-top: 34px;
}
form {
  padding: 28px;
  border: 1px solid var(--line);
  background: #0e1721;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid label {
  font-size: 11px;
  display: block;
}
.form-grid label > span {
  color: var(--muted);
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;
  width: 100%;
  border: 1px solid #30404e;
  background: #0a111a;
  color: var(--text);
  padding: 11px 12px;
  margin-top: 6px;
  border-radius: 0;
  font-size: 12px;
  min-width: 0;
  min-height: 42px;
  box-sizing: border-box;
}
.form-grid textarea { min-height: 112px; line-height: 1.5; }
.form-grid select.form-select,
.account-card select.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 43px 10px 12px;
  background-image: url("/assets/select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px 7px;
  cursor: pointer;
}
.form-grid select.form-select:hover:not(:disabled),
.account-card select.form-select:hover:not(:disabled) { border-color: #68808f; }
.form-grid select.form-select:disabled,
.account-card select.form-select:disabled { opacity: .62; cursor: not-allowed; }
.form-grid select.form-select[aria-invalid="true"],
.account-card select.form-select[aria-invalid="true"] { border-color: #ffb1ab; }
.select-with-flag { position: relative; min-width: 0; }
.select-with-flag > select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.country-picker-trigger { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; margin-top: 6px; padding: 10px 14px; border: 1px solid #30404e; border-radius: 0; background: #0a111a; color: var(--text); text-align: left; font: 12px/1.4 Arial, Helvetica, sans-serif; cursor: pointer; }
.country-picker-trigger:hover:not(:disabled), .country-picker-trigger[aria-expanded="true"] { border-color: #68808f; }
.country-picker-trigger:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.country-picker-trigger:disabled { opacity: .62; cursor: not-allowed; }
.country-select-flag, .country-picker-option-flag { flex: 0 0 20px; width: 20px; height: 15px; object-fit: cover; }
.country-picker-trigger > span { flex: 1; min-width: 0; }
.country-picker-chevron { flex: 0 0 12px; width: 12px; height: 7px; transition: transform .16s ease; }
.country-picker-trigger[aria-expanded="true"] .country-picker-chevron { transform: rotate(180deg); }
.country-picker-menu { position: absolute; z-index: 20; top: calc(100% + 2px); left: 0; right: 0; max-height: min(340px, 45vh); overflow-y: auto; padding: 5px; border: 1px solid #526473; background: #0b131d; box-shadow: 0 16px 38px #0009; }
.country-picker-menu[hidden] { display: none; }
.country-picker-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 38px; padding: 7px 10px; border: 0; background: transparent; color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.country-picker-option:hover, .country-picker-option:focus-visible, .country-picker-option[aria-selected="true"] { outline: none; background: #152532; color: var(--cyan); }
.country-picker-option-flag { display: block; border: 1px solid #ffffff24; }
.country-picker-option-mark { display: inline-grid; place-items: center; flex: 0 0 20px; width: 20px; height: 15px; line-height: 15px; font-size: 14px; color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .country-picker-chevron { transition: none; } }
.form-grid input[type="file"], .avatar-picker input[type="file"] { padding: 7px; }
.form-grid input[type="file"]::file-selector-button,
.avatar-picker input[type="file"]::file-selector-button {
  min-height: 28px;
  margin: 0 10px 0 0;
  padding: 4px 10px;
  color: var(--text);
  background: #172532;
  border: 1px solid #47616f;
  border-radius: 3px;
  font: inherit;
  cursor: pointer;
}
.form-grid input[type="file"]::file-selector-button:hover,
.avatar-picker input[type="file"]::file-selector-button:hover { background: #203543; }
.form-grid input[type="file"]:focus-visible::file-selector-button,
.avatar-picker input[type="file"]:focus-visible::file-selector-button { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #7f91a1;
}
.full {
  grid-column: 1/-1;
}
textarea {
  resize: vertical;
}
form .button {
  width: 100%;
  margin-top: 23px;
}
.form-note {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}
#join-feedback:not(:empty) {
  border-left: 2px solid var(--cyan);
  padding: 14px;
  margin-top: 15px;
  font-size: 13px;
  color: var(--cyan);
}
footer {
  padding-block: 35px;
}
.footer-main {
  display: flex;
  align-items: start;
  gap: 45px;
}
.footer-main > p {
  font-size: 12px;
}
.footer-main > p span {
  color: var(--muted);
}
.footer-links {
  margin-left: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 23px;
  font-size: 10px;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #8295a5;
  font-size: 9px;
}
.footer-bottom > span {
  font-family: monospace;
  letter-spacing: 1px;
}
#runtime-status:not(:empty),
.runtime-error {
  background: #182d38;
  padding: 12px;
  text-align: center;
  font-size: 12px;
}
#runtime-status:empty {
  display: none;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: var(--bg);
  padding: 15px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 760px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .brand-caption,
  .brand-divider {
    display: none;
  }
  .hero-visual > img {
    width: 108%;
    margin-left: -5%;
  }
  .metrics article {
    padding: 20px 16px;
  }
  .metrics strong {
    font-size: 37px;
  }
  .pillars {
    gap: 12px;
  }
  .pillars article {
    padding: 19px;
  }
  .join-section {
    gap: 35px;
  }
  .ecosystem-grid article {
    padding: 22px;
  }
  .engagement {
    flex-wrap: wrap;
  }
  .engagement .text-link {
    margin-left: 55px;
  }
  .hero-note {
    font-size: 8px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 80px;
  }
  .brand {
    font-size: 19px;
  }
  .site-header nav {
    display: none;
  }
  .button.small {
    gap: 10px;
    padding: 8px 11px;
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    padding: 45px 0 15px;
  }
  h1 {
    font-size: 88px;
  }
  .hero-visual {
    height: 370px;
    max-width: 470px;
    width: 100%;
    margin: auto;
    overflow: hidden;
  }
  .hero-visual > img {
    width: 100%;
    margin: 0;
  }
  .visual-top {
    top: 10px;
    left: 0;
  }
  .visual-bottom {
    bottom: 8px;
    left: 0;
  }
  .hero-note {
    font-size: 8px;
  }
  .principle-bar .wrap {
    gap: 20px;
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .principle-bar b {
    display: none;
  }
  .section {
    padding-block: 45px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 100%;
  }
  .compact .demo-tag {
    display: inline-block;
    margin-top: 18px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics article {
    padding: 22px;
  }
  .metrics article:nth-child(2) {
    border-right: 0;
  }
  .metrics article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .metrics strong {
    font-size: 40px;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
  .table-toolbar {
    align-items: start;
    flex-direction: column;
    padding: 20px;
  }
  .search {
    width: 100%;
  }
  .search input {
    width: 100%;
  }
  th,
  td {
    padding: 13px 18px;
  }
  .table-note {
    padding: 16px 20px;
  }
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .wordmark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 20px;
  }
  .wordmark span {
    font-size: 7px;
  }
  .engagement {
    padding: 20px;
    gap: 14px;
  }
  .engagement-icon {
    display: none;
  }
  .engagement .text-link {
    margin-left: 0;
  }
  .engagement .eyebrow {
    font-size: 8px;
  }
  .join-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .join-copy .join-heading {
    font-size: 43px;
  }
  .join-copy > p:not(.eyebrow) {
    max-width: 100%;
  }
  .footer-main {
    flex-wrap: wrap;
    gap: 22px;
  }
  .footer-links {
    margin-left: 0;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .hero-visual .coordinates {
    padding-right: 5px;
  }
  form {
    padding: 20px;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 16px;
    gap: 7px;
  }
  .brand img {
    width: 27px;
  }
  .site-header {
    gap: 10px;
  }
  .actions {
    gap: 20px;
  }
  .button {
    gap: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .metrics article {
    padding: 18px 12px;
  }
  .metrics article > p {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  a,
  button {
    transition: none;
  }
  .metrics article,
  .metrics article:hover strong {
    animation: none;
    transition: none;
  }
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    min-width: 0;
  }
  h1 {
    font-size: clamp(66px, 22vw, 88px);
    letter-spacing: -4px;
  }
  .actions {
    flex-wrap: wrap;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
}

/* Consistent local logo placement without changing ecosystem captions. */
.ecosystem-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.ecosystem-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .wordmark {
    display: block;
  }
  .wordmark > span {
    margin-top: 12px;
  }
}
/* Launch gate: disabled + inert independently of the visual blur. */
.join-gate {
  position: relative;
  min-width: 0;
}
.join-gate form {
  filter: blur(4px);
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}
.join-gate {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c151e;
}
.join-gate form {
  border: 0;
}
.join-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 25px;
  background: #080e1630;
}
.coming-soon {
  text-align: center;
  padding: 35px 24px;
  border: 1px solid #3c6975;
  background: #0c1926f5;
  box-shadow: 0 20px 60px #0008;
}
.launch-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 10px monospace;
  letter-spacing: 1.5px;
  color: var(--cyan);
}
.coming-soon h3 {
  font-size: clamp(32px, 4vw, 45px);
  letter-spacing: -1.5px;
  margin: 18px 0 5px;
}
.coming-soon > p:first-of-type {
  color: var(--cyan);
  font-size: 16px;
  margin-bottom: 18px;
}
.coming-soon > p {
  color: #b6c6d2;
  font-size: 13px;
}
.launch-note {
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
#join-fields legend {
  font-size: 16px;
  padding: 0 0 10px;
}
#join-fields > .form-note {
  text-align: left;
  margin: 0 0 22px;
}
.field-hint {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 7px;
}
.field-count {
  display: block;
  text-align: right;
  font: 10px monospace;
  color: var(--muted);
  margin-top: 5px;
}
.field-count.near-limit {
  color: #f1c477;
}
.field-error {
  color: #ffb1ab;
  font-size: 11px;
  margin-top: 6px;
}
.field-error:empty {
  display: none;
}
.form-grid [aria-invalid="true"] {
  border-color: #ffb1ab;
}
@media (max-width: 760px) {
  .join-overlay {
    padding: 18px;
  }
  .coming-soon {
    padding: 30px 18px;
  }
}
/* Orthographic globe: real outlines, fixed Atlantic view, animated signal routes. */
.hero-visual { isolation: isolate; }
.network-globe { display: block; width: 112%; max-width: none; height: auto; flex-shrink: 0; margin-left: -6%; overflow: visible; }
.network-route { animation: network-flow 7s linear infinite; }
@keyframes network-flow { to { stroke-dashoffset: -100; } }
.globe-pause { position: absolute; top: 78px; left: 8%; accent-color: var(--cyan); z-index: 2; }
.globe-pause-label { position: absolute; top: 77px; left: calc(8% + 23px); font: 10px/20px monospace; color: var(--muted); z-index: 2; cursor: pointer; }
.globe-pause:checked ~ .network-globe .network-route { animation-play-state: paused; }
@media (max-width: 760px) {
 .hero-visual { height: auto; min-height: 420px; padding-block: 55px 50px; overflow: visible; }
 .network-globe { width: 100%; margin-left: 0; }
 .globe-pause { top: 32px; left: 0; }
 .globe-pause-label { top: 31px; left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
 .network-route { animation: none; stroke-dasharray: none; opacity: .55; }
 .globe-pause, .globe-pause-label { display: none; }
}
/* Keep the globe and atmosphere inside the hero column at tablet widths. */
.network-globe { width: 100%; margin-left: 0; overflow: hidden; }

.official-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 0 0 35px;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--line);
}
.official-social h2 { font-size: 25px; letter-spacing: -.6px; margin: 12px 0; }
.official-social > div > p:last-child { max-width: 680px; color: var(--muted); font-size: 12px; }
.official-social strong { color: var(--text); }
.social-link { display: flex; align-items: center; gap: 18px; flex-shrink: 0; border: 1px solid #395460; background: var(--panel); padding: 17px 20px; }
.social-link:hover { border-color: var(--cyan); background: #142631; }
.social-link > span { font-size: 12px; }
.social-link strong { display: block; font: 11px/1.8 monospace; }
.social-link > span:last-child { font-size: 21px; color: var(--cyan); }
@media(max-width: 760px) {
 .official-social { align-items: flex-start; flex-direction: column; gap: 22px; }
 .official-social h2 { font-size: 23px; }
}
.network-globe { touch-action: none; cursor: grab; user-select: none; }
.network-globe:active { cursor: grabbing; }
.globe-reset { position: absolute; top: 77px; right: 0; z-index: 2; color: var(--cyan); background: var(--bg); border: 1px solid var(--line); padding: 3px 8px; font: 10px/20px monospace; cursor: pointer; }
.globe-reset:disabled { opacity: .4; cursor: default; }
.globe-help { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font: 9px/1.5 monospace; }
@media(max-width:760px) {
 .globe-reset { top: 29px; }
 .hero-visual { padding-bottom: 75px; }
 .hero-visual .visual-bottom { bottom: 32px; }
 .globe-help { bottom: 0; font-size: 8px; }
}
.network-globe:focus { outline: none; }
.network-globe:focus-visible { outline: 1px dashed var(--cyan); outline-offset: -30px; border-radius: 50%; }

/* Shared route shell: intrinsic grids reflow with browser zoom and viewport size. */
.wrap { width: min(1200px, calc(100% - clamp(24px, 6vw, 96px))); }
main { min-height: 45vh; }
main > *, .hero > *, .metrics > *, .pillars > *, .join-section > * { min-width: 0; }
.site-header { height: auto; min-height: 100px; padding-block: 20px; flex-wrap: wrap; }
.site-header nav { display: flex; flex: 1; justify-content: center; flex-wrap: wrap; gap: 8px 32px; }
.site-header nav, .site-header .login-link, .site-header .button.small { font-size: 15px; }
.site-header .login-link, .site-header .button.small { white-space: nowrap; }
.site-header .button.small { padding: 12px 18px; }
.site-header nav a { padding-block: 8px; }
[aria-current="page"] { color: var(--cyan); }
.breadcrumb { display: flex; flex-wrap: wrap; padding-top: 30px; gap: 14px; font-size: 12px; }
.page-title { font-size: clamp(32px, 5vw, 62px); line-height: 1.12; letter-spacing: -1.5px; overflow-wrap: anywhere; }
.resource-page { min-height: 48vh; }
.resource-page .page-title { margin-block: 18px 24px; }
.resource-copy { max-width: 65ch; color: var(--muted); margin-bottom: 32px; }
.pillars { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ecosystem-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics article, .pillars article, .ecosystem-grid article { overflow-wrap: anywhere; }
.hero-visual { display: grid; grid-template-columns: auto 1fr auto; align-content: center; align-items: center; gap: 14px 8px; height: auto; min-height: 0; padding: 22px; max-width: 100%; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #10222c80, #080e16); margin-block: 30px; }
.hero-visual:focus-within { border-color: var(--cyan); }
.hero-visual .visual-top, .hero-visual .visual-bottom, .hero-visual .globe-help { position: static; grid-column: 1 / -1; width: 100%; }
.hero-visual .visual-top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.hero-visual .visual-bottom { display: flex; gap: 12px; font-size: 9px; }
.hero-visual .globe-help { grid-row: 5; font-size: 10px; overflow-wrap: anywhere; }
.hero-visual .globe-pause, .hero-visual .globe-pause-label, .hero-visual .globe-reset { position: static; margin: 0; }
.hero-visual .globe-pause { grid-column: 1; grid-row: 2; }
.hero-visual .globe-pause-label { grid-column: 2; grid-row: 2; }
.hero-visual .globe-reset { grid-column: 3; grid-row: 2; min-height: 36px; }
.network-globe { grid-column: 1 / -1; grid-row: 3; width: 100%; max-width: 100%; aspect-ratio: 1; border: 1px solid #355565; border-radius: 12px; overflow: hidden; background: #07131d; }
.network-globe:focus-visible { outline-offset: 3px; border-radius: 12px; }
.join-gate { border-radius: 12px; }
.join-overlay { position: relative; grid-area: 1 / 1; }
.join-gate { display: grid; }
.join-gate form { grid-area: 1 / 1; min-width: 0; }
.coming-soon { overflow-wrap: anywhere; border-radius: 8px; }
.footer-links a { padding-block: 7px; }
@media (max-width: 1000px) {
  .site-header nav { order: 3; flex-basis: 100%; width: 100%; justify-content: center; border-top: 1px solid var(--line); padding-top: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { width: 100%; max-width: 660px; margin-inline: auto; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .site-header { gap: 16px; }
  .site-header > .button { margin-left: auto; }
  .hero-visual { padding: 14px; border-radius: 12px; }
  .visual-top { font-size: 9px; letter-spacing: .5px; }
  .join-section { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .principle-bar .wrap { flex-wrap: wrap; gap: 8px 20px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .engagement { flex-wrap: wrap; }
  .coming-soon { padding: 24px 16px; }
  .join-overlay { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .globe-reset { grid-column: 2 / 4; justify-self: end; }
}

/* Homepage technology signature: a prominent C core and readable supporting layers. */
.stack-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); border: 1px solid #355565; border-radius: 16px; background: var(--panel); }
.stack-label { font: 10px/1.7 monospace; letter-spacing: 1.4px; color: var(--cyan); }
.stack-core { padding: clamp(24px, 4vw, 48px); border-right: 1px solid #355565; border-radius: 16px 0 0 16px; background: radial-gradient(ellipse at 10% 40%, #16445180, transparent 75%), repeating-linear-gradient(0deg, transparent 0 31px, #59e4eb06 31px 32px); }
.stack-monogram { display: flex; align-items: baseline; gap: 8px; margin-block: 12px 20px; font: 700 clamp(96px, 11vw, 156px)/1 monospace; letter-spacing: -10px; color: var(--cyan); }
.stack-monogram span { font: 400 24px/1 monospace; letter-spacing: 0; color: #b7cdd7; }
.stack-core h3 { font-size: clamp(21px, 2.3vw, 29px); letter-spacing: -.6px; }
.stack-core > p:last-of-type, .stack-layer div > p:last-child { color: var(--muted); font-size: 13px; margin-top: 12px; max-width: 52ch; }
.stack-pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #355565; font: 12px/1.8 monospace; }
.stack-pipeline span:first-child, .stack-pipeline span:last-child { color: var(--cyan); }
.stack-layers { min-width: 0; display: grid; }
.stack-layer { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: clamp(22px, 3vw, 32px); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.stack-layer + .stack-layer { border-top: 1px solid var(--line); }
.stack-symbol { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #355565; border-radius: 10px; font: 14px monospace; color: var(--cyan); background: #0a1822; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.stack-layer h3 { margin-top: 6px; font-size: 20px; }
@media (hover: hover) {
  .stack-layer:hover {
    z-index: 1;
    transform: translateX(-5px);
    background: linear-gradient(100deg, #102b35, #0d1721 72%);
    box-shadow: inset 3px 0 #55e3e9, 0 0 28px #36dfe514;
  }
  .stack-layer:hover .stack-symbol {
    transform: translateY(-2px) rotate(-3deg);
    border-color: #55e3e9aa;
    background: #0c2530;
    box-shadow: 0 0 18px #36dfe533;
  }
  .stack-layer:hover h3 { color: var(--cyan); text-shadow: 0 0 18px #55e3e944; }
}
.stack-tooling { padding: 24px 4px 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px 32px; }
.stack-tooling ul { display: flex; flex-wrap: wrap; gap: 16px 28px; list-style: none; padding: 0; margin: 0; }
.stack-tooling li { font-size: 11px; color: var(--muted); }
.stack-tooling strong { display: block; color: var(--text); font-size: 12px; font-weight: 500; }
@media (max-width: 760px) {
  .reach-context-cards { grid-template-columns: 1fr; }
  .reach-context-cards article { min-height: 0; border-right: 0; }
  .reach-context-cards article + article { border-top: 1px solid var(--line); }
  .reach-context-cards h3 { margin-top: 16px; }
  .stack-board { grid-template-columns: minmax(0, 1fr); }
  .stack-core { border-right: 0; border-bottom: 1px solid #355565; border-radius: 16px 16px 0 0; }
  .stack-layer { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .stack-symbol { width: 36px; height: 36px; font-size: 12px; }
}

/* Raised geography: stable base hit areas with a separate decorative lift layer. */
.network-globe > *, .network-globe .globe-country { pointer-events: none; }
.network-globe .country-surface { pointer-events: visiblePainted; }
.globe-country { --country-glow: #6ff2dc; --country-lift: -3px; --country-scale: 1.035; }
.globe-country.usa { --country-glow: #ff465f; --country-lift: -5px; --country-scale: 1.055; }
.globe-country.isles { --country-glow: #448fff; --country-lift: -6px; --country-scale: 1.10; }
.country-lift { pointer-events: none; opacity: 0; transform-box: fill-box; transform-origin: center; transition: transform .22s ease-out, opacity .18s ease-out; filter: drop-shadow(0 3px 1px #000a) drop-shadow(0 0 3px var(--country-glow)); }
.country-lift use { stroke: var(--country-glow); stroke-width: 1; }
.globe-country.is-highlighted .country-lift { opacity: 1; transform: translateY(var(--country-lift)) scale(var(--country-scale)); }
.globe-country.usa.is-highlighted .country-lift, .globe-country.isles.is-highlighted .country-lift { filter: drop-shadow(0 4px 2px #000b) drop-shadow(0 0 5px var(--country-glow)) drop-shadow(0 0 10px var(--country-glow)); }
.globe-country:focus-visible { outline: none; }
.globe-country:focus-visible .country-surface { filter: brightness(1.5); }
.globe-shade { pointer-events: none; }
.hero-visual .globe-country-name { grid-column: 1 / -1; grid-row: 4; min-height: 1.8em; font: 12px/1.8 monospace; color: var(--cyan); text-align: center; }
.hero-visual .visual-bottom { grid-row: 5; }
.hero-visual .globe-help { grid-row: 6; }
.member-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.member-flag { margin: 0; padding: clamp(12px, 2vw, 24px); background: linear-gradient(140deg, #15313d, #0a131d); border: 1px solid #355565; border-radius: 16px; box-shadow: 0 20px 60px #0003; }
.member-flag img { display: block; width: 100%; height: auto; border-radius: 7px; }
.member-flag figcaption { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 18px; font: 9px/1.7 monospace; letter-spacing: 1px; color: var(--cyan); }
.member-flag figcaption > span:last-child { margin-left: auto; color: var(--muted); }
.member-copy { min-width: 0; }
.member-copy h2 { font-size: clamp(36px, 4.8vw, 64px); margin-block: 20px; line-height: 1.05; }
.member-copy h2 span { display: block; color: var(--cyan); }
.member-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.member-copy .member-motto { border-left: 2px solid var(--cyan); padding-left: 16px; margin-block: 26px; color: var(--text); }
.member-copy .member-note { margin-top: 10px; font: 10px/1.8 monospace; }
@media (max-width: 760px) {
  .member-section { grid-template-columns: minmax(0, 1fr); }
  .member-flag figcaption > span:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .country-lift { transition: none; }
  .globe-country.is-highlighted .country-lift { transform: none; }
  .stack-layer, .stack-symbol { transition: none; }
  .stack-layer:hover, .stack-layer:hover .stack-symbol { transform: none; }
}

/* Stagger route animation without inline style attributes (strict CSP). */
#route-1 { animation-delay: -1s; }
#route-2 { animation-delay: -2s; }
#route-3 { animation-delay: -3s; }
#route-4 { animation-delay: -4s; }
#route-5 { animation-delay: -5s; }

/* Two seamless tiles animate only transforms; foreground remains interactive. */
.hero-band { container-type: inline-size; }
.hero { isolation: isolate; }
.hero-rain {
  position: absolute;
  inset: 0;
  /* Container units exclude the scrollbar, avoiding viewport-width overflow. */
  left: calc(50% - 50cqw);
  right: auto;
  width: 100cqw;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
  opacity: .42;
  mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent);
}
.hero-rain-layer {
  position: absolute;
  inset: -360px 0 0;
  background: url('/assets/hero-rain-letters.svg') repeat;
  animation: hero-code-fall 24s linear infinite;
  animation-play-state: paused;
}
.hero-rain-layer + .hero-rain-layer {
  left: 30px;
  opacity: .35;
  background-position: 120px 150px;
  animation-duration: 37s;
  animation-delay: -19s;
}
:is(.hero, .login-scene)[data-rain-active="true"] .hero-rain-layer { animation-play-state: running; }
:is(.hero, .login-scene):has(.hero-rain-pause:checked) .hero-rain-layer { animation-play-state: paused; }
.hero-rain-pause { position: absolute; bottom: 12px; left: 0; margin: 0; accent-color: var(--cyan); }
.hero-rain-control { position: absolute; bottom: 7px; left: 22px; color: var(--muted); font: 10px/24px monospace; cursor: pointer; }
.hero-rain-pause:focus-visible + .hero-rain-control { outline: 2px solid var(--cyan); outline-offset: 4px; }
@keyframes hero-code-fall { to { transform: translateY(360px); } }
/* Binary glyphs swap in place; letters and symbols keep their original drift. */
.hero-rain-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/hero-rain-binary.svg') repeat;
  background-position: inherit;
  animation: hero-binary-glitch 8s steps(1, end) infinite;
  animation-play-state: paused;
}
.hero-rain-layer + .hero-rain-layer::after {
  animation-duration: 11s;
  animation-delay: -4s;
}
:is(.hero, .login-scene)[data-rain-active="true"] .hero-rain-layer::after { animation-play-state: running; }
:is(.hero, .login-scene):has(.hero-rain-pause:checked) .hero-rain-layer::after { animation-play-state: paused; }
@keyframes hero-binary-glitch {
  0%, 80%, 90%, 100% { background-image: url('/assets/hero-rain-binary.svg'); }
  81%, 85%, 89% { background-image: url('/assets/hero-rain-binary-swapped.svg'); }
  82%, 87% { background-image: url('/assets/hero-rain-binary-glitch.svg'); }
  83%, 88% { background-image: url('/assets/hero-rain-binary.svg'); }
}
@media (max-width: 700px) {
  .hero-rain { opacity: .28; }
  .hero-rain-layer + .hero-rain-layer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.hero, .login-scene) .hero-rain-layer, :is(.hero, .login-scene) .hero-rain-layer::after { animation: none; }
  .hero-rain-pause, .hero-rain-control { display: none; }
}

/* Photograph and device overlays share one coordinate system and crop. */
.cinematic-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 24px; background: #080e16; border-block: 1px solid var(--line); }
.cinematic-scene, .cinematic-hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cinematic-scene { overflow: hidden; container-type: size; --scene-x: 50%; --scene-y: 48%; }
.cinematic-scene-plane { position: absolute; width: max(100cqw, 177.68331562cqh); height: max(100cqh, 56.27990431cqw); left: var(--scene-x); top: var(--scene-y); transform: translate(calc(-1 * var(--scene-x)), calc(-1 * var(--scene-y))); }
.cinematic-scene-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.cinematic-hero-shade { background: linear-gradient(90deg, #080e16ed 0%, #080e1699 28%, #080e160a 65%), linear-gradient(0deg, #080e16 0%, transparent 35%, transparent 80%, #080e1677); }
.cinematic-hero-content { min-height: clamp(660px, 54vw, 850px); display: flex; flex-direction: column; justify-content: space-between; gap: 70px; padding-block: 28px 24px; }
.cinematic-scene-heading, .cinematic-scene-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font: 10px/1.6 monospace; letter-spacing: 1.4px; color: #bad0db; }
.cinematic-scene-heading > span:first-child { display: flex; align-items: center; gap: 12px; color: var(--cyan); }
.cinematic-hero-copy { max-width: 550px; padding-block: 30px; }
.cinematic-hero-copy h1 { font-size: clamp(54px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -3px; margin: 24px 0; }
.cinematic-hero-copy h1 span { color: var(--cyan); }
.cinematic-hero-copy > p:not(.eyebrow) { max-width: 400px; color: #c4d1d9; font-size: 16px; line-height: 1.8; }
.cinematic-hero-copy .actions { margin-top: 30px; flex-wrap: wrap; }
.cinematic-motion-control { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0; }
.cinematic-motion-control input { margin: 0; accent-color: var(--cyan); }
.cinematic-motion-control label { cursor: pointer; padding-block: 8px; }
.cinematic-motion-control input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 4px; }
.cinematic-hero:has(#cinematic-motion-pause:checked) .device-activity * { animation-play-state: paused; }
.cinematic-art-caption { font-size: 9px; color: #97a7b5; }
@media (min-width: 1800px) { .cinematic-scene { --scene-y: 56%; } }
@media (max-width: 760px) {
  .cinematic-hero-content { min-height: 800px; gap: 24px; padding-top: 20px; }
  .cinematic-scene { bottom: auto; height: 520px; }
  .cinematic-scene { --scene-x: 68%; --scene-y: 50%; }
  .cinematic-hero-shade { background: linear-gradient(0deg, #080e16 28%, #080e16e6 42%, #080e1600 75%, #080e1688); }
  .cinematic-scene-heading { font-size: 9px; letter-spacing: .7px; }
  .cinematic-scene-heading > span:last-child { display: none; }
  .cinematic-hero-copy { padding: 0; }
  .cinematic-hero-copy h1 { font-size: clamp(48px, 11vw, 72px); letter-spacing: -2px; }
  .cinematic-hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .cinematic-hero-copy { margin-top: 240px; }
  .cinematic-scene-footer { font-size: 9px; letter-spacing: .7px; }
  .cinematic-art-caption { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .device-activity { display: none; }
  .device-activity * { animation: none !important; }
  .cinematic-motion-control { display: none; }
}

@media (min-width: 761px) {
  #global-hero-title, #ecosystem-hero-title { font-size: clamp(54px, 5vw, 72px); }
}

.site-header .button[aria-current="page"] { color: var(--bg); }

.device-activity { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.device-screen { fill: #55c9ff; opacity: .018; animation: device-screen-glow 7.2s ease-in-out infinite; }
.device-scan { fill: none; stroke: #91efff; stroke-width: 1.5; opacity: 0; animation: device-scan 9s ease-in-out infinite; }
.device-map-glow { fill: #34dfff; opacity: .16; filter: drop-shadow(0 0 5px #29d8ff) drop-shadow(0 0 11px #168eff); transform-box: fill-box; transform-origin: center; animation: device-map-pulse 4.8s ease-in-out infinite; }
.device-map-glow:nth-of-type(3n) { animation-delay: -1.6s; }
.device-map-glow:nth-of-type(3n + 1) { animation-delay: -3.2s; }
.device-map-core { fill: #c2faff; opacity: .65; filter: drop-shadow(0 0 3px #4ce7ff) drop-shadow(0 0 7px #218dff); animation: device-map-core 4.8s ease-in-out infinite; }
.device-map-core:nth-of-type(3n) { animation-delay: -1.6s; }
.device-map-core:nth-of-type(3n + 1) { animation-delay: -3.2s; }
.server-leds { fill: #d8fbff; stroke: #60d9ff; stroke-width: 2; filter: drop-shadow(0 0 5px #43caff); opacity: .15; animation: server-activity 2.8s ease-in-out infinite; }
.server-leds-secondary { animation-duration: 3.6s; animation-delay: -1.4s; }
.server-rack-glow { fill: #43bfff; filter: blur(7px); opacity: .03; animation: server-rack-glow 3.2s ease-in-out infinite; }
@keyframes server-activity { 0%, 100% { opacity: .08; } 20%, 42% { opacity: 1; } 65%, 82% { opacity: .12; } }
@keyframes server-rack-glow { 0%, 100% { opacity: .015; } 35%, 50% { opacity: .23; } 75% { opacity: .035; } }
@keyframes device-screen-glow { 0%, 100% { opacity: .018; } 38% { opacity: .07; } 68% { opacity: .035; } }
@keyframes device-map-pulse { 0%, 100% { opacity: .12; transform: scale(.78); } 48% { opacity: .56; transform: scale(1.22); } }
@keyframes device-map-core { 0%, 100% { opacity: .58; } 48% { opacity: 1; } }
@keyframes device-scan { 0%, 16% { opacity: 0; transform: translateY(0); } 24% { opacity: .22; } 72% { opacity: .16; transform: translateY(150px); } 86%, 100% { opacity: 0; transform: translateY(190px); } }

/* Development membership workspace. Production HTML keeps the launch gate. */
[hidden] { display: none !important; }
.login-link { font-size: 12px; white-space: nowrap; margin-left: auto; }
.site-header > .button { flex-shrink: 0; }
.site-header .header-auth { display: flex; flex: 0 0 270px; align-items: center; justify-content: flex-end; gap: 10px; min-height: 44px; margin-left: auto; }
.site-header .header-auth .login-link { margin-left: 0; }
@media (max-width: 760px) {
  .site-header .header-auth { flex-basis: 270px; margin-left: auto; }
}
.member-menu { position: relative; z-index: 30; flex: 0 0 auto; }
.member-menu-trigger { gap: 8px; }
.member-menu-chevron { width: 13px !important; height: 13px !important; opacity: .75; transition: transform .18s ease; }
.member-menu-trigger[aria-expanded="true"] .member-menu-chevron { transform: rotate(180deg); }
.member-menu-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; display: grid; width: min(292px, calc(100vw - 28px)); padding: 10px; border: 1px solid #31515e; border-radius: 12px; background: linear-gradient(145deg, #101f2a, #09121b 82%); box-shadow: 0 20px 54px #000b, 0 0 36px #32dbe512, inset 0 1px #e5ffff0c; opacity: 0; pointer-events: none; transform: translateY(-7px) scale(.985); transform-origin: top right; transition: opacity .18s ease, transform .18s ease; }
.member-menu-panel[hidden] { display: none; }
.member-menu-panel[data-open="true"] { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.member-menu-heading { margin: 5px 9px 8px; color: #70e7db; font: 9px/1.5 var(--mono); letter-spacing: 1.6px; }
.member-menu-panel > a { display: flex; align-items: center; min-height: 40px; padding: 8px 10px; border: 1px solid transparent; border-radius: 6px; color: #cfdae0; font-size: 12px; line-height: 1.35; transition: color .16s ease, background .16s ease, border-color .16s ease; }
.member-menu-panel > a:hover, .member-menu-panel > a:focus-visible { border-color: #315a64; background: #122731; color: #a6f2eb; outline: none; }
.member-menu-divider { height: 1px; margin: 7px 5px; background: linear-gradient(90deg, transparent, #3b5963, transparent); }
.member-menu-panel > .member-menu-logout { gap: 10px; min-height: 43px; margin-top: 5px; padding-inline: 10px; border: 1px solid #873e4b70; background: linear-gradient(100deg, #421c27, #29151d); color: #ff9ba7; font-weight: 700; }
.member-menu-panel > .member-menu-logout .icon { color: #ff8493; }
.member-menu-panel > .member-menu-logout:hover, .member-menu-panel > .member-menu-logout:focus-visible { border-color: #ff788b; background: #4c202c; color: #ffd4d9; }
@media (max-width: 600px) {
  .site-header .header-auth { flex: 0 1 auto; min-width: 0; gap: 8px; }
  .site-header .header-auth > .button.small { gap: 7px; padding-inline: 12px; }
  .member-menu-panel { top: calc(100% + 8px); width: min(292px, calc(100vw - 24px)); }
}
@media (prefers-reduced-motion: reduce) {
  .member-menu-chevron, .member-menu-panel, .member-menu-panel > a { transition: none; }
}
body[data-development="true"] .join-development form { filter: none; opacity: 1; pointer-events: auto; user-select: auto; }
body[data-development="true"] .join-development .join-overlay { display: none; }
.join-development #join-feedback, .join-development .preview-next { margin: 20px; }
.preview-banner { padding: 16px 20px; border: 1px solid #41636c; background: #12313b; color: #cce9ec; border-radius: 10px; font-size: 13px; }
.account-page { padding-top: 26px; }
.account-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.dashboard-logout { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; padding: 0 15px; border: 1px solid #35515e; border-radius: 6px; background: #0b141d; color: var(--text); font: inherit; font-size: 12px; line-height: 1.2; cursor: pointer; transition: border-color .18s, background .18s, color .18s, transform .12s; }
.dashboard-logout .icon { color: var(--cyan); }
.dashboard-logout:hover:not(:disabled) { border-color: #54bfc7; background: #10212a; color: #fff; }
.dashboard-logout:active:not(:disabled) { transform: translateY(1px); background: #132631; }
.dashboard-logout:disabled { opacity: .55; cursor: wait; }
.dashboard-logout:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 24px; }
.account-card, .membership-card { padding: clamp(20px, 3vw, 36px); border: 1px solid #35505e; background: var(--panel); border-radius: 14px; min-width: 0; }
.account-card h2, .membership-card h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.5px; }
.account-card p, .membership-card p, .account-card small { color: var(--muted); }
.account-card label, .avatar-picker label { display: block; margin: 18px 0 7px; }
.account-card input:not([type="checkbox"]), .account-card textarea, .account-card select { width: 100%; padding: 12px; color: var(--text); background: var(--bg); border: 1px solid #47616f; border-radius: 6px; font: inherit; }
.account-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.account-card .button { margin-top: 24px; }
.account-card .security-form-note { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.6; }
.account-card [data-account-form="password"] .field-hint,
.account-card [data-account-form="email"] .field-hint { display: block; margin-top: 7px; line-height: 1.55; }
.account-card [data-account-form="email"] .field-count { display: block; margin-top: 5px; font: 10px var(--mono); text-align: right; color: var(--muted); }
.account-card [data-account-form="email"] .field-count.near-limit { color: #f1c477; }
.account-card [data-account-form="email"] label:not(:first-child) { margin-top: 22px; }
.account-card details { margin-block: 18px; }
.account-card summary { cursor: pointer; color: var(--cyan); }
.account-card [role="status"] { color: var(--cyan); min-height: 1.7em; }
.account-tabs { --dashboard-nav-bg: #0b131c; --dashboard-nav-border: #263b48; --dashboard-nav-radius: 10px; --dashboard-tab-height: 46px; --dashboard-tab-pad: 18px; --dashboard-accent: #20d6ff; display: flex; flex-wrap: nowrap; gap: 3px; min-width: 0; margin-block: 22px 28px; padding: 5px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--scroll-green) transparent; border: 1px solid var(--dashboard-nav-border); border-radius: var(--dashboard-nav-radius); background: linear-gradient(110deg, #0d1720, var(--dashboard-nav-bg) 48%, #0b131b); }
.account-tabs::-webkit-scrollbar { height: 5px; }
.account-tabs::-webkit-scrollbar-track { background: transparent; }
.account-tabs::-webkit-scrollbar-thumb { border: 1px solid var(--dashboard-nav-bg); border-radius: 999px; background: linear-gradient(90deg, var(--scroll-cyan), var(--scroll-green)); }
.account-tabs > [role="tab"] { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-height: var(--dashboard-tab-height); padding: 0 var(--dashboard-tab-pad); border: 0; border-radius: 6px; background: transparent; color: #a6b4bf; cursor: pointer; font: inherit; font-size: 13px; white-space: nowrap; transition: background .18s, color .18s; }
.account-tabs > [role="tab"]::after { position: absolute; right: 12px; bottom: 0; left: 12px; height: 2px; border-radius: 2px 2px 0 0; background: var(--dashboard-accent); box-shadow: 0 0 8px #20d6ff80; content: ""; opacity: 0; transform: scaleX(.45); transition: opacity .18s, transform .18s; }
.account-tabs > [role="tab"]:hover:not([aria-selected="true"]) { background: #16232c; color: #edf3f7; }
.account-tabs > [role="tab"][aria-selected="true"] { background: linear-gradient(180deg, #16303a, #101c25); color: #eaffff; box-shadow: inset 0 1px 0 #b4ffff14; }
.account-tabs > [role="tab"][aria-selected="true"]::after { opacity: 1; transform: scaleX(1); }
.account-tabs > [role="tab"]:focus-visible { outline: 2px solid var(--dashboard-accent); outline-offset: -3px; }
.account-card h2 > .icon { margin-right: 5px; }
.learning-card h3 { display: flex; align-items: center; gap: 10px; }
.learning-card h3 .icon { color: var(--muted); }
.learning-card:hover h3 .icon { color: var(--cyan); }
.topic-toggle { border: 1px solid #405b69; border-radius: 7px; background: var(--panel); color: var(--text); padding: 12px 16px; cursor: pointer; font: inherit; }
.topic-toggle[aria-pressed="true"] { color: var(--bg); background: var(--cyan); }
.membership-card { background: radial-gradient(ellipse at 100% 0, #1d5864, transparent 80%), #0b1720; }
.membership-card code { display: block; font-size: clamp(14px, 2vw, 23px); color: var(--cyan); letter-spacing: 1px; overflow-wrap: anywhere; }
.membership-steps { padding-left: 20px; }
.membership-steps li { margin-block: 18px; }
.membership-steps small { display: block; }
.learning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.learning-grid .account-card { display: flex; flex-direction: column; align-items: flex-start; }
.topic-toggle { margin-top: auto; }
.avatar-picker { padding-block: 12px 24px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.avatar-picker canvas { width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--cyan); display: block; }
.avatar-picker input { max-width: 100%; }
.avatar-picker p { font-size: 12px; }
.avatar-picker button { margin-top: 12px; background: none; border: 0; cursor: pointer; color: var(--cyan); }
.profile-avatar-editor { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 28px; }
.profile-avatar-editor .avatar-preview-column { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.profile-avatar-editor .avatar-preview-column .avatar-default { display: block; width: 100px; height: 100px; border: 2px solid var(--cyan); border-radius: 50%; object-fit: cover; }
.profile-avatar-editor .avatar-upload-controls { min-width: 0; }
.profile-avatar-editor .avatar-upload-controls label { margin: 0 0 8px; }
.profile-avatar-editor .avatar-upload-controls input { width: 100%; }
.profile-avatar-editor .avatar-upload-controls p { margin: 8px 0 0; }
.profile-avatar-editor .avatar-preview-column button { margin: 12px 0 0; padding: 4px 0; text-align: left; }
@media (max-width: 520px) {
  .profile-avatar-editor { grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: 16px; }
  .profile-avatar-editor .avatar-preview-column .avatar-default,
  .profile-avatar-editor .avatar-preview-column canvas { width: 80px; height: 80px; }
  .profile-avatar-editor .avatar-upload-controls input { font-size: 12px; }
}
@media (max-width: 1050px) { .learning-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .account-grid, .learning-grid { grid-template-columns: minmax(0, 1fr); }
  .site-header .login-link { margin-left: 0; }
  .account-tabs { margin-block: 18px 24px; }
  .account-tabs > [role="tab"] { font-size: 12px; padding-inline: 14px; }
  .community-preview-card { grid-template-columns: minmax(0, 1fr); }
  .community-preview-copy { max-width: 620px; }
}
@media (max-width: 520px) {
  .topic-search { padding: 16px 14px 13px; }
  .topic-search-meta { align-items: flex-start; font-size: 10px; }
  .community-preview-card { gap: 20px; }
  .community-preview-visual { margin-inline: -3px; width: calc(100% + 6px); }
}

@media (prefers-reduced-motion: reduce) {
.dashboard-logout, .account-tabs > [role="tab"], .account-tabs > [role="tab"]::after { transition: none; }
}

/* Organizational participation: one public source of truth and a restrained member shortcut. */
.coming-soon-badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 10px; border: 1px solid #27606b; border-radius: 999px; background: #0b2028; color: #a9f4f3; font: 10px/1.2 var(--mono, ui-monospace, monospace); letter-spacing: 1.2px; text-transform: uppercase; }
.coming-soon-badge span { color: var(--cyan); font-size: 13px; }
.participation-page { padding-top: clamp(30px, 5vw, 64px); }
.participation-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); align-items: end; gap: clamp(28px, 6vw, 82px); padding: clamp(30px, 5vw, 64px); border: 1px solid #294551; border-radius: 16px; background: radial-gradient(ellipse at 82% 8%, #12313a75, transparent 55%), linear-gradient(145deg, #0d1923, #09111a 72%); position: relative; overflow: hidden; }
.participation-hero::after { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#61e6ef08 1px, transparent 1px), linear-gradient(90deg, #61e6ef08 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(90deg, transparent 30%, #000 100%); content: ""; }
.participation-hero > * { position: relative; z-index: 1; min-width: 0; }
.participation-hero .eyebrow { color: var(--cyan); }
.participation-hero .page-title { max-width: 12ch; margin-block: 20px 18px; font-size: clamp(42px, 7vw, 82px); }
.participation-hero .coming-soon-badge { margin-top: 22px; }
.participation-lede { max-width: 58ch; color: #e4edf1; font-size: clamp(18px, 2vw, 24px); line-height: 1.48; }
.participation-hero-copy > p:not(.eyebrow):not(.participation-lede) { max-width: 66ch; color: var(--muted); font-size: 14px; line-height: 1.8; }
.participation-hero .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
.participation-principle { display: grid; gap: 16px; padding: 24px; border: 1px solid #31505c; border-radius: 10px; background: #08121bd9; box-shadow: inset 0 0 0 1px #9affff08; }
.participation-principle > p:nth-child(2) { margin: 0 0 6px; color: #f0f6f9; font-size: clamp(23px, 3vw, 34px); font-weight: 650; line-height: 1.18; letter-spacing: -.7px; }
.participation-principle > span { padding-top: 11px; border-top: 1px solid #263a45; color: #89a5b3; font: 9px/1.4 var(--mono, ui-monospace, monospace); letter-spacing: 1px; }
.participation-principle > span:first-of-type { color: #83eeec; }
.participation-section { margin-top: clamp(64px, 9vw, 112px); scroll-margin-top: 32px; }
.participation-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.participation-section-heading h2 { max-width: 20ch; margin: 10px 0 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.12; letter-spacing: -1px; }
.participation-section-heading > p { max-width: 46ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.participation-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: #0b141e; }
.participation-capabilities article { min-height: 190px; padding: clamp(20px, 3vw, 30px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, box-shadow .2s, transform .2s; }
.participation-capabilities article:nth-child(3n) { border-right: 0; }
.participation-capabilities article:nth-last-child(-n+3) { border-bottom: 0; }
.participation-capabilities article:hover { background: linear-gradient(145deg, #102731, #0b141e 75%); box-shadow: inset 0 0 0 1px #55e3e933; }
.participation-capabilities article > span, .participation-flow li > span { color: var(--cyan); font: 10px/1.5 var(--mono, ui-monospace, monospace); letter-spacing: 1px; }
.participation-capabilities article > span { display: inline-flex; align-items: center; gap: 8px; }
.participation-capabilities h3 { margin: 28px 0 8px; font-size: 19px; }
.participation-capabilities p { max-width: 42ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.participation-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; border: 1px solid var(--line); list-style: none; counter-reset: participation; }
.participation-flow li { position: relative; display: flex; min-height: 158px; flex-direction: column; gap: 11px; padding: 20px 16px; border-right: 1px solid var(--line); background: linear-gradient(150deg, #101d27, #0b131c); }
.participation-flow li:last-child { border-right: 0; }
.participation-flow li > span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #285764; border-radius: 50%; }
.participation-flow strong { font-size: 14px; }
.participation-flow small { color: var(--muted); font-size: 11px; line-height: 1.55; }
.participation-flow li:not(:last-child)::after { position: absolute; top: 33px; right: -6px; z-index: 1; width: 10px; height: 10px; border-top: 1px solid var(--cyan); border-right: 1px solid var(--cyan); background: #0c1720; content: ""; transform: rotate(45deg); }
.participation-output { display: grid; grid-template-columns: minmax(160px, .35fr) 1fr; gap: 20px; align-items: start; margin-top: 18px; padding: 20px 22px; border-left: 2px solid var(--cyan); background: #0d1922; }
.participation-output .eyebrow { margin: 0; color: var(--cyan); }
.participation-output p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.participation-output p:last-child span { color: var(--cyan); }
.participation-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.participation-principles article { display: flex; gap: 18px; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.participation-principles article:nth-child(odd) { border-right: 1px solid var(--line); }
.participation-principles article:nth-child(even) { padding-left: 24px; }
.participation-principles article > span { flex: 0 0 30px; color: var(--cyan); font: 11px/1.5 var(--mono, ui-monospace, monospace); }
.participation-principles h3 { margin: 0 0 7px; font-size: 16px; }
.participation-principles p { max-width: 52ch; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.participation-directory { padding: clamp(24px, 4vw, 40px); border: 1px solid #2b4652; border-radius: 12px; background: linear-gradient(125deg, #0e1a24, #0a121b 68%); }
.participation-directory .participation-section-heading { align-items: center; }
.participation-directory .participation-section-heading h2 { font-size: clamp(26px, 3.5vw, 40px); }
.participation-directory > p { max-width: 78ch; color: var(--muted); font-size: 14px; line-height: 1.8; }
.participation-directory > p:last-child { margin-bottom: 0; }
.participation-contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: clamp(64px, 9vw, 112px); padding: clamp(26px, 5vw, 52px); border: 1px solid #2f6069; border-radius: 12px; background: radial-gradient(ellipse at 90% 10%, #12343c, transparent 58%), #0c1720; scroll-margin-top: 32px; }
.participation-contact h2 { margin: 10px 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -1px; }
.participation-contact p:last-child { max-width: 64ch; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.participation-contact .button { flex: 0 0 auto; }
.participation-entry { display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid #2e4c58; border-radius: 12px; background: linear-gradient(120deg, #0d1c25, #0b121b); padding: clamp(24px, 4vw, 42px); }
.participation-entry h2 { max-width: 22ch; margin: 10px 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.15; }
.participation-entry h2 .icon { margin-right: 5px; vertical-align: -0.12em; }
.participation-entry p:last-child { max-width: 68ch; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.participation-entry .button { flex: 0 0 auto; }
.participation-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.participation-index-card { display: flex; min-height: 220px; flex-direction: column; padding: clamp(20px, 2.5vw, 28px); border: 1px solid #2a4652; border-radius: 9px; background: linear-gradient(145deg, #101e28, #0b131c 72%); color: inherit; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.participation-index-card:hover, .participation-index-card:focus-visible { transform: translateY(-3px); border-color: #4baab0; background: linear-gradient(145deg, #122831, #0b131c 72%); outline: none; }
.participation-index-card > span { color: var(--cyan); font: 10px/1.5 var(--mono, ui-monospace, monospace); letter-spacing: 1.1px; }
.participation-index-card h3 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -.3px; }
.participation-index-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.participation-index-card b { display: flex; justify-content: space-between; margin-top: auto; color: #a9f4f3; font-size: 11px; font-weight: 600; }
.participation-index-card b span { color: var(--cyan); font-size: 16px; }
.participation-index-note { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 32px; margin-top: clamp(56px, 8vw, 96px); padding: clamp(24px, 4vw, 40px); border: 1px solid #294551; border-left: 3px solid var(--cyan); border-radius: 8px; background: #0d1922; }
.participation-index-note .eyebrow { color: var(--cyan); }
.participation-index-note h2 { margin: 8px 0 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.participation-index-note > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.participation-back { margin: 0 0 16px; }
.participation-back a, .participation-related a { color: #a9f4f3; font-size: 12px; text-decoration: none; }
.participation-back a:hover, .participation-related a:hover { color: var(--cyan); text-decoration: underline; }
.participation-related { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: clamp(42px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line); }
.dashboard-extended-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; margin: -15px 0 28px; padding: 5px; border: 1px solid #263b48; border-radius: 10px; background: linear-gradient(110deg, #0d1720, #0b131c 48%, #0b131b); }
.dashboard-nav-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #a6b4bf; font: inherit; font-size: 13px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.dashboard-nav-link:hover, .dashboard-nav-link:focus-visible, .dashboard-disclosure:focus-within > .dashboard-disclosure-trigger { border-color: #315965; background: #13232c; color: #edfafa; }
.dashboard-nav-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dashboard-disclosure { position: relative; }
.dashboard-disclosure-trigger .icon--disclosure { margin-left: auto; color: var(--cyan); }
.dashboard-disclosure-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; display: grid; width: min(330px, calc(100vw - 40px)); padding: 14px; border: 1px solid #31515e; border-radius: 9px; background: #08121bf5; box-shadow: 0 18px 46px #0009, inset 0 1px 0 #c8ffff0c; backdrop-filter: blur(14px); }
.dashboard-disclosure-panel::before { position: absolute; top: -10px; left: 0; right: 0; height: 10px; content: ""; }
.dashboard-disclosure-panel .eyebrow { margin: 2px 8px 9px; color: var(--cyan); font-size: 9px; }
.dashboard-disclosure-panel a { display: block; padding: 11px 10px; border: 1px solid transparent; border-radius: 5px; color: #d6e1e7; font-size: 13px; text-decoration: none; }
.dashboard-disclosure-panel a:hover, .dashboard-disclosure-panel a:focus-visible { border-color: #2a5763; background: #12242d; color: #9bf6f5; outline: none; }
@media (max-width: 980px) {
  .participation-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .participation-flow li:nth-child(3) { border-right: 0; }
  .participation-flow li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .participation-flow li:nth-child(3)::after { display: none; }
  .participation-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .participation-capabilities article:nth-child(3n) { border-right: 1px solid var(--line); }
  .participation-capabilities article:nth-child(2n) { border-right: 0; }
  .participation-capabilities article:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .participation-capabilities article:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 680px) {
  .participation-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 18px; }
  .participation-principle { padding: 20px; }
  .participation-section-heading { display: grid; align-items: start; }
  .participation-capabilities { grid-template-columns: minmax(0, 1fr); }
  .participation-capabilities article, .participation-capabilities article:nth-child(3n), .participation-capabilities article:nth-last-child(-n+2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .participation-capabilities article:last-child { border-bottom: 0; }
  .participation-capabilities h3 { margin-top: 18px; }
  .participation-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .participation-flow li:nth-child(3) { border-right: 1px solid var(--line); }
  .participation-flow li:nth-child(2n) { border-right: 0; }
  .participation-flow li:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .participation-flow li:nth-child(3)::after { display: block; }
  .participation-flow li:nth-child(2n)::after { display: none; }
  .participation-flow li { min-height: 145px; }
  .participation-output { grid-template-columns: 1fr; gap: 10px; }
  .participation-principles { grid-template-columns: 1fr; }
  .participation-principles article:nth-child(odd) { border-right: 0; }
  .participation-principles article:nth-child(even) { padding-left: 0; }
  .participation-index-grid { grid-template-columns: minmax(0, 1fr); }
  .participation-index-card { min-height: 190px; }
  .participation-index-note { grid-template-columns: 1fr; gap: 14px; }
  .participation-contact, .participation-entry { align-items: flex-start; flex-direction: column; }
  .participation-contact .button, .participation-entry .button { width: 100%; }
  .dashboard-extended-nav { align-items: stretch; margin-top: -14px; }
  .dashboard-extended-nav > .dashboard-nav-link, .dashboard-disclosure { flex: 1 1 100%; }
  .dashboard-extended-nav .dashboard-nav-link { justify-content: space-between; width: 100%; }
  .dashboard-extended-nav > .dashboard-nav-link { justify-content: flex-start; }
  .dashboard-disclosure-panel { position: static; width: 100%; margin-top: 6px; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .participation-capabilities article, .participation-index-card { transition: none; }
}

.staff-preview-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.staff-preview-links .button { margin: 0; }
.staff-member-card { margin-block: 24px; }
.staff-member-card h2 { font-size: 22px; }
.staff-member-card select { max-width: 360px; }
.staff-application-list { display: grid; gap: 12px; }
.staff-application-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.staff-application-row > span:first-child { flex: 1; min-width: 180px; }
.staff-application-row .topic-toggle { margin-top: 0; }
.staff-detail { margin-block: 24px; }
.staff-details { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 12px 24px; }
.staff-details dt { color: var(--muted); }
.staff-details dd { margin: 0; overflow-wrap: anywhere; }
#staff-login-feedback { border-left: 2px solid var(--cyan); padding-left: 12px; }
#staff-login-feedback:empty { border: 0; padding: 0; }
@media (max-width: 600px) { .staff-details { grid-template-columns: 1fr; gap: 5px; } .staff-details dd { margin-bottom: 12px; } }

/* CODARIS member credential: geometric identity, independent of gender. */
.membership-card { align-self: start; position: relative; overflow: hidden; background: repeating-linear-gradient(125deg, transparent 0 22px, #4de0e805 22px 23px), radial-gradient(ellipse at 100% 0, #1d5864, transparent 75%), #0b1720; box-shadow: inset 0 0 0 5px #07151c, inset 0 0 0 6px #2a505a; }
.credential-header { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #47707a; padding-bottom: 20px; }
.credential-header strong { display: block; font-size: 20px; letter-spacing: 4px; }
.credential-header span, .credential-number > span, .credential-portrait > span, .credential-footer { font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; }
.credential-header .credential-edition { margin-left: auto; font-size: 25px; opacity: .45; }
.credential-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; margin-block: 28px; }
.credential-portrait { border: 1px solid #47707a; background: #081a22; padding: 5px; }
.credential-portrait img, .credential-portrait canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.credential-portrait > span { display: block; text-align: center; padding-top: 7px; font-size: 8px; letter-spacing: .5px; }
.credential-identity { min-width: 0; }
.credential-identity h2 { font-size: clamp(23px, 2.2vw, 30px); overflow-wrap: anywhere; }
.credential-identity p:not(.eyebrow) { font-size: 11px; line-height: 1.6; margin-block: 8px 14px; }
.credential-identity .status { font-size: 8px; white-space: normal; }
.credential-number { border-block: 1px solid #47707a; padding-block: 16px; }
.membership-card .credential-number code { margin-top: 8px; font-size: clamp(14px, 1.55vw, 21px); }
.credential-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; color: var(--cyan); }
.membership-card .credential-note { font-size: 10px; line-height: 1.6; margin-top: 15px; }
.avatar-picker .avatar-default { display: block; width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--cyan); }
.credential-consent { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: start; gap: 13px; margin: 26px 0 14px; padding: 18px; border: 1px solid #35505e; background: #0b1720; color: var(--muted); line-height: 1.65; }
.credential-consent input, .credential-public-control input { width: 18px; height: 18px; accent-color: var(--cyan); margin-top: 3px; }
.credential-consent span { margin: 0; }
.credential-workspace { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(300px,1fr); align-items: stretch; gap: 24px; margin-block: 28px; }
.credential-panel { min-width: 0; padding: clamp(18px,2.8vw,34px); border: 1px solid #31505b; border-radius: 16px; background: radial-gradient(ellipse at 80% 0,#102b36 0,transparent 52%),var(--panel); }
.credential-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.credential-panel-heading h2 { margin: 8px 0 0; font-size: clamp(22px,3vw,32px); }
.credential-live-status { display: flex; flex: 0 0 220px; align-items: center; min-width: 0; max-width: 100%; min-height: 34px; padding: 8px 12px; color: var(--cyan); border: 1px solid #31505b; border-radius: 999px; font: 11px var(--mono); }
.credential-stage { position: relative; display: block; width: 100%; min-width: 0; aspect-ratio: 85.6 / 53.98; perspective: 1400px; min-height: 290px; margin-block: 24px 14px; padding: 6px; touch-action: pan-y; }
.credential-stage img { --credential-ratio: 85.6 / 53.98; position: absolute; inset: 6px; display: block; width: calc(100% - 12px); max-width: 1010px; min-width: 0; height: calc(100% - 12px); aspect-ratio: var(--credential-ratio); object-fit: contain; border-radius: 16px; border: 1px solid #35505e; box-shadow: 0 26px 70px #0008,0 0 38px #22d9f31c; transition: transform .25s ease, filter .3s ease; cursor: grab; }
.credential-stage-status { position: absolute; top: 50%; left: 50%; display: none; width: max-content; max-width: min(36ch, calc(100% - 24px)); padding: 16px 20px; border: 1px solid #35505e; border-left: 3px solid var(--cyan); background: #0b1720; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: left; transform: translate(-50%, -50%); }
.credential-stage[data-state="pending"] .credential-stage-status,
.credential-stage[data-state="loading"] .credential-stage-status,
.credential-stage[data-state="error"] .credential-stage-status { display: block; }
.credential-stage[data-state="pending"] img,
.credential-stage[data-state="loading"] img,
.credential-stage[data-state="error"] img { visibility: hidden; }
.credential-stage[data-state="pending"] .credential-stage-status { border-left-color: #718391; }
.credential-stage[data-state="error"] .credential-stage-status { border-left-color: #f0ad72; }
.credential-stage[data-tilt-x="-1"][data-tilt-y="-1"] img { transform: rotateX(-8deg) rotateY(-10deg); }
.credential-stage[data-tilt-x="-1"][data-tilt-y="0"] img { transform: rotateY(-10deg); }
.credential-stage[data-tilt-x="-1"][data-tilt-y="1"] img { transform: rotateX(8deg) rotateY(-10deg); }
.credential-stage[data-tilt-x="0"][data-tilt-y="-1"] img { transform: rotateX(-8deg); }
.credential-stage[data-tilt-x="0"][data-tilt-y="1"] img { transform: rotateX(8deg); }
.credential-stage[data-tilt-x="1"][data-tilt-y="-1"] img { transform: rotateX(-8deg) rotateY(10deg); }
.credential-stage[data-tilt-x="1"][data-tilt-y="0"] img { transform: rotateY(10deg); }
.credential-stage[data-tilt-x="1"][data-tilt-y="1"] img { transform: rotateX(8deg) rotateY(10deg); }
.credential-stage img:active { cursor: grabbing; }
.credential-stage.is-turning img { transform: rotateY(88deg) scale(.96); filter: brightness(.75); }
.credential-summary { min-height: 3.3em; color: var(--muted); }
.credential-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.credential-actions .button { min-width: 0; min-height: 54px; margin: 0; justify-content: center; gap: 12px; padding-inline: 14px; text-align: center; transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.credential-actions #credential-flip { grid-column: 1 / -1; justify-self: start; width: auto; min-width: min(100%, 300px); }
.credential-actions .button-secondary { color: var(--text); background: transparent; border: 1px solid #405b69; }
.credential-actions .button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 22px #20d6ff20; }
.credential-actions .button-secondary:hover:not(:disabled) { color: #dffcff; background: #10242e; border-color: var(--cyan); }
.credential-actions .button:active:not(:disabled) { transform: translateY(0); box-shadow: 0 2px 8px #20d6ff18; }
.credential-actions .button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.credential-actions .button:disabled { cursor: not-allowed; opacity: .52; }
.credential-public-control { margin-top: 28px; padding: 20px; border: 1px solid #35505e; border-left: 3px solid var(--cyan); background: #0a161f; }
.credential-public-control h3 { margin: 0; }
.credential-public-control label { display: flex; align-items: flex-start; gap: 10px; color: var(--text); line-height: 1.5; cursor: pointer; }
.credential-public-control label input { flex: 0 0 auto; }
.credential-side-info { display: flex; flex-direction: column; }
.credential-side-info h2 { margin-top: 4px; font-size: clamp(26px,3vw,38px); }
.credential-side-info > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.membership-steps li { padding-left: 4px; }
.membership-steps li strong { color: var(--text); }
.membership-steps li small { color: var(--muted); line-height: 1.6; margin-top: 6px; }
.credential-verify-page { min-height: 70vh; padding-top: 70px; }
.credential-verify-card { max-width: 760px; margin-top: 36px; padding: clamp(24px,5vw,50px); border: 1px solid #35505e; border-left: 3px solid var(--cyan); border-radius: 14px; background: radial-gradient(ellipse at 100% 0,#153744,transparent 65%),var(--panel); }
.credential-verify-card h2 { font-size: clamp(28px,5vw,46px); margin: 12px 0 28px; }
.credential-verify-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 28px; }
.credential-verify-card dl div { padding-top: 14px; border-top: 1px solid var(--line); }
.credential-verify-card dt { color: var(--muted); font: 10px var(--mono); text-transform: uppercase; letter-spacing: 1.2px; }
.credential-verify-card dd { margin: 7px 0 0; font-size: 18px; overflow-wrap: anywhere; }
.credential-verify-footnote { max-width: 760px; color: var(--muted); line-height: 1.7; }
@media (max-width: 850px) { .credential-workspace { grid-template-columns: minmax(0,1fr); } .credential-side-info { min-height: 0; } }
@media (max-width: 760px) { .credential-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .credential-actions #credential-flip { min-width: min(100%, 260px); } .credential-actions #credential-download-png { grid-column: 1 / -1; } }
@media (max-width: 520px) { .credential-stage { min-height: 180px; margin-inline: -8px; } .credential-verify-card dl { grid-template-columns: 1fr; } .credential-actions { grid-template-columns: minmax(0, 1fr); } .credential-actions #credential-flip, .credential-actions #credential-download-png { grid-column: 1; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .credential-stage img, .credential-actions .button { transition: none; } }
@media (max-width: 420px) { .credential-body { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; } .credential-header strong { font-size: 18px; } .credential-header span { font-size: 8px; letter-spacing: .6px; } }

/* Developer documentation library. Native disclosure works without a runtime. */
.language-library { padding-top: 48px; }
.docs-heading { padding: 10px 0 42px; border-bottom: 1px solid var(--line); }
.docs-heading > p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.docs-stats { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 28px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.docs-stats strong { display: block; color: var(--cyan); font-size: 27px; margin-bottom: 4px; }
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.docs-sidebar { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 26px 18px 24px 0; border-right: 1px solid var(--line); font-size: 12px; }
.docs-sidebar nav { display: flex; flex-direction: column; gap: 5px; padding-block: 14px; }
.docs-sidebar a { color: var(--muted); text-decoration: none; padding: 7px 9px; border-radius: 4px; overflow-wrap: anywhere; }
.docs-sidebar > .text-link { display: block; width: fit-content; max-width: 100%; white-space: normal; font-size: 12px; }
.docs-sidebar > details { border-bottom: 1px solid var(--line); margin-bottom: 14px; padding-bottom: 10px; }
.docs-sidebar a:hover, .docs-sidebar a:focus-visible { color: var(--cyan); background: #12313b; }
.docs-sidebar summary { cursor: pointer; padding-block: 10px; color: var(--text); }
.docs-sidebar .docs-alphabet { display: grid; grid-template-columns: repeat(4, 1fr); }
.docs-content { min-width: 0; }
.docs-section { padding-block: 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.docs-section h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.2; margin: 12px 0 22px; }
.docs-section h3 { font-size: 17px; margin: 24px 0 8px; }
.docs-section p, .docs-section li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.docs-section p { margin-block: 12px; }
.docs-section a { color: var(--cyan); overflow-wrap: anywhere; }
.docs-section details { border: 1px solid var(--line); border-radius: 7px; margin-block: 12px; padding: 0 20px 4px; background: #0d1921; scroll-margin-top: 24px; }
.docs-section summary { cursor: pointer; padding-block: 18px; font-size: 15px; }
.docs-section summary::marker { color: var(--cyan); }
.docs-section details[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.docs-section .language-guide > summary span { display: block; margin: 7px 0 0 18px; font-family: var(--mono); color: var(--muted); font-size: 10px; }
.guide-body { padding-bottom: 16px; }
.docs-callout { border-left: 3px solid var(--cyan); padding: 20px 24px; margin-block: 24px; background: #12313b; }
.docs-callout p { margin-bottom: 0; }
.docs-search { padding-block: 16px; }
.docs-search label { display: block; margin-bottom: 8px; font-size: 13px; }
.docs-search input { width: 100%; background: var(--bg); border: 1px solid #47707a; color: var(--text); padding: 15px; border-radius: 6px; font: inherit; }
.docs-section .catalogue-group { background: transparent; padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.catalogue-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.docs-section .catalogue-entry { margin: 0; min-width: 0; padding-inline: 14px; }
.catalogue-entry[open] { grid-column: 1 / -1; }
.catalogue-entry summary { overflow-wrap: anywhere; }
.catalogue-entry summary small { color: var(--muted); font: 10px var(--mono); margin-left: 8px; }
.language-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.language-metrics dt { font-size: 11px; color: var(--muted); }
.language-metrics dd { margin: 5px 0 0; font: 15px var(--mono); color: var(--cyan); }
.research-table { overflow-x: auto; max-width: 100%; margin-block: 20px; }
.research-table table { width: 100%; border-collapse: collapse; font-size: 12px; }
.research-table caption { text-align: left; color: var(--muted); padding-bottom: 14px; font-size: 11px; }
.research-table th, .research-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.research-table th { color: var(--cyan); font-size: 11px; }
.research-table tbody tr:nth-child(2n) { background: #12313b44; }
.research-source { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
@media (max-width: 800px) { .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .docs-sidebar { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); } .docs-sidebar > details > nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .catalogue-entries, .language-metrics { grid-template-columns: minmax(0, 1fr); } }
.framework-library .language-metrics dd, .database-library .language-metrics dd { overflow-wrap: anywhere; line-height: 1.6; }

/* Country-room chat preview. */
.chat-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; margin-block: 24px; align-items: start; }
.chat-sidebar { padding: 24px; }
.chat-sidebar h3 { font-size: 20px; }
.chat-sidebar details { font-size: 12px; }
.chat-sidebar #chat-leave { margin-top: 18px; }
.chat-main { padding: 24px; }
.chat-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.chat-heading h3 { font-size: 24px; }
#chat-room-state { font: 10px var(--mono); color: var(--muted); }
#chat-messages { height: 390px; overflow-y: auto; overscroll-behavior: contain; padding-block: 12px; }
.chat-message { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.chat-message > img, .chat-message > canvas { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; }
.chat-message-content { min-width: 0; flex: 1; }
.chat-message strong { font-size: 13px; overflow-wrap: anywhere; }
.chat-message small { display: block; font: 10px var(--mono); }
.chat-message p { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 8px; }
.chat-message-actions, .chat-tools, .chat-emojis { display: flex; gap: 8px; flex-wrap: wrap; }
.chat-tools { justify-content: space-between; align-items: center; margin-block: 14px; }
.chat-tools .button { margin: 0; }
.chat-layout button:not(.button) { cursor: pointer; border: 1px solid #35505e; border-radius: 5px; background: var(--bg); color: var(--cyan); padding: 7px 10px; }
.chat-message-actions button { font-size: 10px; }
.chat-layout button:disabled { opacity: .5; cursor: default; }
.chat-emojis button { font-size: 18px; }
.chat-attachment { padding: 10px; background: #12313b; border-radius: 6px; font-size: 12px; overflow-wrap: anywhere; }
.chat-attachment canvas { display: block; max-width: 100%; margin-bottom: 8px; }
.chat-report { padding: 18px; border: 1px solid var(--cyan); border-radius: 8px; margin-block: 14px; }
.chat-report button { margin-top: 12px; }
#chat-feedback { margin-top: 16px; font-size: 13px; min-height: 2em; }
@media (max-width: 850px) { .chat-layout { grid-template-columns: minmax(0,1fr); } .chat-heading { flex-wrap: wrap; } .chat-main { padding: 18px; } }
.chat-layout fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.chat-tools .button { width: auto; }

/* Shared documentation and a clear, consistent topic entry point. */
.topic-library .language-metrics dd { overflow-wrap: anywhere; line-height: 1.6; }
.docs-code, .docs-source-note { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #09121a; font: 12px/1.8 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.docs-letter-links { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 20px; }
.docs-letter-links a { min-width: 32px; text-align: center; padding: 5px; border: 1px solid var(--line); border-radius: 4px; }
.topic-library .docs-heading > p:not(.eyebrow) { max-width: 900px; font-size: 16px; }
.topic-library .docs-heading .page-title { font-size: clamp(30px, 4.8vw, 60px); overflow-wrap: anywhere; }
.learning-heading { margin-bottom: 24px; }
.learning-heading h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; margin-block: 12px; }
.learning-heading p { max-width: 700px; color: var(--muted); }
#learning-progress { font: 12px var(--mono); color: var(--cyan); border: 1px solid #35505e; padding: 14px; border-radius: 8px; }
.learning-overview { display: flex; flex-wrap: wrap; gap: 24px 44px; background: linear-gradient(120deg,#153540,#0e1721); padding: 24px; border: 1px solid #35505e; border-radius: 12px; }
.learning-overview span { font: 11px/1.7 var(--mono); color: var(--muted); }
.learning-overview strong { display: block; font-size: 26px; color: var(--cyan); }
.learning-note { color: var(--muted); font-size: 12px; margin-block: 16px 32px; }
.topic-search { margin: 26px 0 22px; padding: 20px 22px 16px; border: 1px solid #294451; border-radius: 12px; background: linear-gradient(115deg, #101f29, #0b141d 72%); box-shadow: inset 3px 0 #20d6ff30; }
.topic-search > label { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: #dce8ed; font-size: 13px; font-weight: 600; }
.topic-search > label .icon { width: 17px; height: 17px; color: var(--cyan); }
.topic-search-control { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 12px 0 16px; border: 1px solid #3d5b68; border-radius: 8px; background: #08121a; transition: border-color .16s, box-shadow .16s; }
.topic-search-control:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px #20d6ff1c; }
.topic-search-control input { flex: 1; min-width: 0; height: 50px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.topic-search-control input::placeholder { color: #8295a2; }
.topic-search-control input::-webkit-search-cancel-button { display: none; }
.topic-search-control button { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #aab9c2; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.topic-search-control button:hover, .topic-search-control button:focus-visible { border-color: #35505e; background: #14232d; color: var(--cyan); }
.topic-search-control button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.topic-search-control button .icon { width: 18px; height: 18px; }
.topic-search-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 9px; color: var(--muted); font-size: 11px; }
.topic-search-meta #topic-search-count { color: var(--cyan); font-family: var(--mono); }
.community-preview-card { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(24px, 4vw, 48px); overflow: hidden; background: radial-gradient(ellipse at 92% 0, #153540 0, transparent 58%), var(--panel); }
.community-preview-copy { max-width: 460px; }
.community-preview-copy .eyebrow { margin-top: 22px; color: var(--cyan); }
.community-preview-copy h2 { max-width: 12ch; font-size: clamp(28px, 3vw, 42px); line-height: 1.13; }
.community-preview-copy > p:not(.eyebrow) { line-height: 1.75; }
.community-preview-copy .community-preview-note { padding: 12px 14px; border-left: 2px solid var(--cyan); background: #10232d; font-size: 12px; }
.development-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #536270; border-radius: 999px; background: #131f29; color: #d9e4e9; font: 11px var(--mono); letter-spacing: .04em; }
.development-badge > span { width: 7px; height: 7px; border-radius: 50%; background: #f1c477; box-shadow: 0 0 0 3px #f1c47720; }
.community-preview-visual { display: block; width: 100%; height: auto; min-width: 0; filter: drop-shadow(0 22px 34px #0004); }
.learning-group-title { font-size: 23px; margin: 38px 0 20px; }
.learning-group-title span { font: 10px var(--mono); color: var(--muted); margin-left: 12px; }
.topic-library-grid { gap: 20px; align-items: stretch; }
.topic-library-grid .learning-card { padding: 26px; align-items: stretch; transition: border-color .15s; }
.learning-card:hover { border-color: #4e8590; }
.learning-card h3 { font-size: 21px; line-height: 1.35; margin: 12px 0; }
.learning-card .topic-description { font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.learning-card .eyebrow { color: var(--cyan); font-size: 9px; }
.learning-card .topic-actions { display: grid; gap: 10px; margin-top: auto; width: 100%; }
.learning-card .topic-open { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; margin: 0; border: 1px solid #386772; background: #112d36; color: #bceef1; font-size: 12px; font-weight: 600; border-radius: 6px; text-decoration: none; }
.learning-card .topic-open span { font-size: 14px; color: inherit; }
.learning-card .topic-open:hover, .learning-card .topic-open:focus-visible { background: #20505c; border-color: var(--cyan); color: #effdff; }
.learning-card .topic-open:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.learning-card .topic-toggle[aria-pressed="true"] { background: #142631; color: var(--cyan); }
.learning-card .topic-toggle { margin: 0; font-size: 11px; padding: 9px; }
.v2-roadmap { margin-top: clamp(52px, 8vw, 96px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid #294451; }
.v2-roadmap-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.v2-roadmap-heading > div { max-width: 620px; }
.v2-roadmap-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #39766d; border-radius: 999px; background: #102a2b; color: #b9f5e2; font: 10px var(--mono); letter-spacing: 1.2px; }
.v2-roadmap-badge > span { width: 7px; height: 7px; border-radius: 50%; background: #45d9ad; box-shadow: 0 0 0 3px #45d9ad22; }
.v2-roadmap-heading .eyebrow { margin-top: 24px; color: var(--cyan); }
.v2-roadmap-heading h2 { margin: 8px 0 14px; font-size: clamp(30px, 4vw, 48px); }
.v2-roadmap-heading > div > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.v2-roadmap-heading .v2-roadmap-note { margin-top: 18px; padding: 12px 15px; border-left: 2px solid #45d9ad; background: #102126; font-size: 12px; }
.v2-roadmap-preview { min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid #35505e; border-radius: 12px; background: #0b141d; }
.v2-library-diagram { display: block; width: 100%; height: auto; }
.v2-roadmap-preview figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 5px 3px; color: var(--muted); font: 9px var(--mono); letter-spacing: .7px; }
.v2-roadmap-preview figcaption a { color: #b8f5e8; font: 11px/1.5 Arial, Helvetica, sans-serif; letter-spacing: 0; }
.v2-roadmap-preview figcaption a:hover { color: var(--cyan); }
.v2-topic-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 48px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.v2-topic-list-heading h3 { font-size: 23px; }
.v2-topic-list-heading > span { color: var(--muted); font: 10px var(--mono); letter-spacing: 1px; }
.v2-topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; counter-reset: v2topic; }
.v2-topic-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 17px 8px; border-bottom: 1px solid #21323e; }
.v2-topic-number { padding-top: 2px; color: #45d9ad; font: 11px var(--mono); }
.v2-topic-list h4 { margin: 0; color: var(--text); font-size: 14px; line-height: 1.45; }
.v2-topic-list li p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.65; }
@media (max-width: 760px) { .v2-roadmap-heading { grid-template-columns: minmax(0, 1fr); } .v2-roadmap-preview { max-width: 620px; } }
@media (max-width: 560px) { .v2-topic-list { grid-template-columns: minmax(0, 1fr); } .v2-topic-list-heading { align-items: flex-start; flex-direction: column; gap: 7px; } .v2-topic-list li { padding-inline: 0; } }
@media (max-width: 520px) { .learning-overview { gap: 18px; } .learning-group-title span { display: block; margin: 8px 0 0; } .topic-library-grid .learning-card { padding: 22px; } }

/* Keep application information beside the profile preview when space permits. */
.application-header { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; margin-bottom: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.application-avatar { flex: 0 0 100px; }
.application-avatar img, .application-avatar canvas { display: block; width: 100px; height: 100px; border: 2px solid var(--cyan); border-radius: 50%; }
.application-details { flex: 1 1 240px; min-width: 0; }
.application-details h2 { margin: 0; font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: normal; }
.application-details .form-note { text-align: left; margin: 10px 0 0; }
.application-details .avatar-picker { padding: 0; margin: 0; border: 0; }

.join-gate.join-development form { filter: none; opacity: 1; pointer-events: auto; user-select: auto; }
#application-reason { white-space: pre-wrap; overflow-wrap: anywhere; }

.beta-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; max-width: 470px; margin-bottom: 24px; padding: 13px 16px; border: 1px solid #826735; border-left: 3px solid #f2c56d; border-radius: 8px; background: #211d16; }
.beta-badge { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 5px 9px; border: 1px solid #a7803e; border-radius: 4px; color: #ffe0a2; font: 700 11px/1.4 var(--mono); letter-spacing: 1.5px; }
.beta-badge span { color: #a7803e; }
.beta-notice p { flex: 1 1 210px; margin: 0; color: #efddb9; font-size: 12px; line-height: 1.6; }

/* Login uses a stationary binary field across the full page width. */
.login-scene { position: relative; isolation: isolate; padding-bottom: 72px; }
.login-band { container-type: inline-size; }
.login-scene > .hero-rain { inset: 0 auto 0 calc(50% - 50cqw); width: 100cqw; opacity: .38; }
.login-scene .account-card { background: #0d1822ed; }
.login-scene .login-welcome { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #16434a80, transparent 65%), #0d1822ed; }
.login-welcome > .button { margin-top: 22px; }
.login-signal { position: relative; display: grid; place-items: center; min-height: 220px; margin-block: 20px; }
.login-signal-ring { position: absolute; width: 178px; height: 178px; border: 1px solid #49dce64d; border-radius: 50%; box-shadow: 0 0 0 20px #49dce609, 0 0 0 40px #49dce605; background: linear-gradient(90deg, transparent 49.6%, #49dce622 50%, transparent 50.4%), linear-gradient(transparent 49.6%, #49dce622 50%, transparent 50.4%); }
.login-signal img { z-index: 1; filter: drop-shadow(0 0 18px #49dce644); }
.login-signal > span { position: absolute; bottom: 0; font: 10px/1.5 monospace; letter-spacing: 2px; color: var(--cyan); }
.login-benefits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.login-benefits li { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.login-benefits li > span { font: 12px/1.8 monospace; color: var(--cyan); }
.login-benefits h3 { margin: 0 0 4px; font-size: 15px; }
.login-benefits li p { margin: 0; font-size: 13px; }

.login-code-grid, .login-code-pulse { position: absolute; inset: 0; background: url('/assets/login-code-0.svg') repeat; }
.login-code-grid { animation: login-code-scramble 7s steps(1, end) infinite; animation-play-state: paused; }
.login-code-pulse { background: radial-gradient(ellipse at 50% 40%, transparent 20%, #080f17aa 80%); }
.login-scene[data-rain-active="true"] .login-code-grid { animation-play-state: running; }
.login-scene:has(.hero-rain-pause:checked) .login-code-grid { animation-play-state: paused; }
@keyframes login-code-scramble {
  0%, 70%, 88%, 100% { background-image: url('/assets/login-code-0.svg'); }
  72%, 80% { background-image: url('/assets/login-code-1.svg'); }
  75%, 84% { background-image: url('/assets/login-code-2.svg'); }
}
@media (prefers-reduced-motion: reduce) { .login-scene .login-code-grid { animation: none; } }

/* Keep pause controls above the hero copy and its stacking context. */
.hero-rain-pause, .hero-rain-control { z-index: 3; }
.hero-rain-pause { width: 18px; height: 18px; bottom: 14px; cursor: pointer; }
.hero-rain-control { left: 28px; bottom: 6px; min-height: 34px; line-height: 34px; }

.account-notice:not(:empty) { padding: 14px 16px; margin-block: 18px; border: 1px solid #49dce64d; border-left: 3px solid var(--cyan); border-radius: 8px; background: #102b32; color: #b7f5ee; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.account-notice[data-tone="error"]:not(:empty) { color: #ffb4b4; background: #341a23; border-color: #ef747459; border-left-color: #ff7777; }
.account-notice:empty { display: none; }
.field-error:not(:empty) { color: #ffb4b4; font-size: 12px; padding: 8px 12px; border-left: 3px solid #ff7777; background: #341a23; border-radius: 4px; }
.account-page input[aria-invalid="true"] { border-color: #ff7777; }
body[data-member-route="true"]:not([data-member-route-authenticated="true"]) main,
body[data-member-route="true"]:not([data-member-route-authenticated="true"]) footer { visibility: hidden; }

/* Registration feedback sits outside the padded fieldset. */
#register-feedback:not(:empty) { margin: 0 clamp(20px, 4vw, 40px) 28px; }
.account-notice[data-tone="success"]:not(:empty) { background: linear-gradient(110deg, #12382f, #10232a); border-color: #62d9ad66; border-left-color: #77e6b5; color: #c2f6df; }

.account-card fieldset > .button { width: fit-content; justify-self: start; padding: 10px 18px; font-size: 14px; }
#panel-profile .account-card form [type="submit"] { gap: 10px; justify-content: center; }
#panel-profile .account-card > h3 { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
#panel-profile .account-card .field-hint { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; }
#panel-profile .account-card .field-count { display: block; margin-top: 5px; color: var(--muted); text-align: right; font: 10px var(--mono); }
#panel-profile .account-card .field-count.near-limit { color: #f1c477; }
.verification-page { max-width: 680px; }
.verification-card { padding: clamp(24px, 5vw, 44px); }
.verification-card > img { margin-bottom: 24px; }
.verification-card h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin-block: 14px; }
.verification-card .field-hint { margin-top: 22px; }
.verification-card .button[hidden] { display: none; }

/* Reusable, byte-progress-driven account transition screen. */
.codaris-loader[hidden] { display: none; }
.codaris-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; overflow: auto; background: radial-gradient(ellipse at 50% 42%, #12383b 0, #0b1720 38%, #070c12 78%); }
.codaris-loader::before, .codaris-loader::after { position: absolute; inset: 9%; border: 1px solid #42d8dc12; border-radius: 50%; content: ""; pointer-events: none; }
.codaris-loader::after { inset: 17%; border-style: dashed; border-color: #42d8dc20; transform: rotate(-18deg); }
.codaris-loader__card { position: relative; display: flex; width: min(100%, 420px); flex-direction: column; align-items: center; padding: 42px 36px 32px; border: 1px solid #3ad5d34a; border-radius: 16px; background: linear-gradient(150deg, #0d1b23f5, #09121bed); box-shadow: 0 28px 100px #0009, inset 0 1px #c4ffff0b, 0 0 70px #21c8ca10; text-align: center; }
.codaris-loader__mark { width: 92px; height: 92px; margin-bottom: 22px; overflow: visible; filter: drop-shadow(0 0 17px #31e0dd42); }
.codaris-loader__hex { fill: #0c1c24; stroke: #f4ffff; stroke-width: 1.6; }
.codaris-loader__c { fill: #f7ffff; }
.codaris-loader__c--fill { fill: url(#codaris-loader-fill); }
.codaris-loader__eyebrow { margin: 0 0 9px; color: #72e3dd; font: 10px/1.4 var(--mono); letter-spacing: 2.4px; }
.codaris-loader__card h2 { margin: 0; color: #eef8fa; font-size: clamp(22px, 5vw, 28px); font-weight: 560; letter-spacing: -.035em; }
.codaris-loader__phase { min-height: 1.5em; margin: 10px 0 22px; color: #9cafb8; font-size: 13px; }
.codaris-loader__track { width: 100%; height: 4px; overflow: hidden; border-radius: 99px; background: #182b33; box-shadow: inset 0 1px 3px #0008; }
.codaris-loader__track span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #23cdf7, #67edb4); box-shadow: 0 0 14px #4de1cb80; transform: scaleX(0); transform-origin: left center; transition: transform .12s linear; }
.codaris-loader__track.is-indeterminate span { width: 36%; transform: translateX(90%); }
@keyframes codaris-loader-travel { to { transform: translateX(290%); } }
.codaris-loader__percent { display: flex; align-self: flex-end; gap: 3px; margin: 9px 0 0; color: #9deedc; font: 11px/1 var(--mono); }
body[data-codaris-busy="true"] { overflow: hidden; }
@media (max-width: 520px) { .codaris-loader { padding: 16px; } .codaris-loader__card { padding: 36px 25px 27px; } .codaris-loader::before { inset: 5%; } .codaris-loader::after { inset: 12%; } }
@media (prefers-reduced-motion: no-preference) {
  .codaris-loader__mark { animation: codaris-loader-breathe 2.4s ease-in-out infinite; }
  .codaris-loader__hex { stroke-dasharray: 100; animation: codaris-loader-orbit 5s linear infinite; }
  .codaris-loader__track.is-indeterminate span { animation: codaris-loader-travel 1.15s ease-in-out infinite; }
  @keyframes codaris-loader-breathe { 50% { filter: drop-shadow(0 0 26px #31e0dd77); transform: scale(1.035); } }
  @keyframes codaris-loader-orbit { to { stroke-dashoffset: -100; } }
}

.registration-success { display: grid; min-height: 56svh; place-items: center; padding-block: clamp(52px, 9vh, 104px); }
.registration-success-card { width: min(100%, 660px); padding: clamp(30px, 6vw, 58px); border: 1px solid #3ad5d34d; border-radius: 16px; background: radial-gradient(ellipse at 50% 0, #16434a55, transparent 58%), linear-gradient(145deg, #0e1c25f5, #09121bf2); box-shadow: 0 28px 90px #0007, inset 0 1px #d4ffff0d; text-align: center; }
.registration-success-mark { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 24px; border: 1px solid #6ce7b580; border-radius: 50%; background: #0e352e; color: #80efb9; box-shadow: 0 0 0 10px #64e5b20b, 0 0 34px #39d99a22; }
.registration-success-mark .icon { width: 34px; height: 34px; }
.registration-success-card > .eyebrow { color: #7be6c0; }
.registration-success-card .page-title { margin-block: 14px 16px; }
.registration-success-lead { max-width: 490px; margin: 0 auto; color: #cfdee3; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.7; }
.registration-success-timing { max-width: 500px; margin: 19px auto 0; color: #9eafb9; font-size: 13px; line-height: 1.7; }
.registration-success-login { margin-top: 28px; }
.registration-success-development { margin-top: 30px; padding: 14px 16px; border: 1px solid #344d59; border-radius: 8px; background: #0b151d; color: #9fb2bc; font-size: 11px; line-height: 1.7; text-align: left; }
.registration-success-development strong { color: #d4e1e5; }
.registration-success-development code { color: #82e7da; font: inherit; }
@media (max-width: 520px) { .registration-success { min-height: auto; } .registration-success-card { padding: 32px 22px; } }

.logout-page { display: grid; min-height: 58svh; place-items: center; padding-block: clamp(48px, 8vh, 96px); }
.logout-card { width: min(100%, 540px); padding: clamp(28px, 5vw, 48px); border: 1px solid #673944; border-radius: 14px; background: radial-gradient(ellipse at 50% 0, #471f2b55, transparent 58%), linear-gradient(145deg, #111a24f5, #0a1119f5); box-shadow: 0 25px 80px #0007; text-align: center; }
.logout-mark { display: grid; width: 64px; height: 64px; place-items: center; margin: 0 auto 22px; border: 1px solid #a04b5d88; border-radius: 50%; background: #351b24; color: #ff9aa8; }
.logout-mark .icon { width: 28px; height: 28px; }
.logout-card > .eyebrow { justify-content: center; color: #ff9aa8; }
.logout-card .page-title { margin-block: 13px; }
.logout-copy { max-width: 390px; margin: 0 auto 20px; color: var(--muted); line-height: 1.7; }
.logout-card form { margin-top: 18px; }
.logout-card fieldset { min-width: 0; padding: 0; border: 0; }
.logout-card .logout-retry { justify-content: center; gap: 10px; width: 100%; margin: 0; border-color: #a94d60; background: #4a202b; color: #ffd7dc; }
.logout-card .logout-retry:hover { background: #612a38; }
.logout-home { display: inline-block; margin-top: 20px; color: #adbdc7; font-size: 12px; }
.logout-home:hover { color: var(--cyan); }

/* Join: circuit traces with slow pockets of binary light, no falling columns. */
.join-band { container-type: inline-size; }
.join-scene { position: relative; isolation: isolate; }
.join-code { position: absolute; inset: 0 auto 0 calc(50% - 50cqw); width: 100cqw; z-index: -1; pointer-events: none; overflow: hidden; background: url('/assets/join-circuit.svg') repeat; opacity: .35; mask-image: linear-gradient(transparent, #000 12%, #000 85%, transparent); }
.join-code-pulse { position: absolute; inset: 0; background: url('/assets/join-circuit.svg') repeat; mask-image: radial-gradient(ellipse at 25% 35%, #000, transparent 55%); animation: join-code-breathe 9s ease-in-out infinite; animation-play-state: paused; }
.join-scene[data-rain-active="true"] .join-code-pulse { animation-play-state: running; }
.join-scene:has(#join-motion-pause:checked) .join-code-pulse { animation-play-state: paused; }
.join-motion { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; font: 11px/1.6 monospace; color: var(--muted); }
.join-motion input { width: 18px; height: 18px; margin: 0; accent-color: var(--cyan); }
.join-motion label { cursor: pointer; padding-block: 8px; }
@keyframes join-code-breathe { 0%, 100% { opacity: .1; } 45% { opacity: 1; } 65% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .join-code-pulse { animation: none; opacity: .2; } .join-motion { display: none; } }

.join-code { animation: join-code-switch 6s steps(1, end) infinite; animation-play-state: paused; }
.join-code-pulse { background-image: inherit; }
.join-scene[data-rain-active="true"] .join-code { animation-play-state: running; }
.join-scene:has(#join-motion-pause:checked) .join-code { animation-play-state: paused; }
@keyframes join-code-switch {
  0%, 48%, 82%, 100% { background-image: url('/assets/join-circuit.svg'); }
  50%, 64%, 78% { background-image: url('/assets/join-circuit-1.svg'); }
  55%, 70% { background-image: url('/assets/join-circuit-2.svg'); }
}
@media (prefers-reduced-motion: reduce) { .join-scene .join-code { animation: none; } }

/* Public GitHub repository feature page. */
.github-page { overflow: hidden; }
.github-hero { min-height: 590px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr); align-items: center; gap: 18px; padding-block: 44px 58px; }
.github-hero-copy { position: relative; z-index: 1; padding-block: 28px; }
.github-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: #8cebd0; font: 10px/1.5 var(--mono); letter-spacing: 1.7px; }
.github-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #67e4ba; box-shadow: 0 0 14px #67e4ba; }
.github-hero h1 { max-width: 650px; margin: 0; font-size: clamp(44px, 6vw, 76px); font-weight: 600; line-height: .99; letter-spacing: -4px; }
.github-hero h1 span { color: #a8b8c6; }
.github-lede { max-width: 490px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.github-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 25px; margin-top: 30px; }
.github-primary { justify-content: center; gap: 15px; }
.github-text-link { color: #c8d5de; font-size: 12px; transition: color .2s ease; }
.github-text-link span { padding-left: 5px; color: var(--cyan); }
.github-text-link:hover { color: var(--cyan); }
.github-stack { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 42px; color: #80919e; font: 9px/1.5 var(--mono); letter-spacing: 1px; }
.github-stack i { width: 3px; height: 3px; border-radius: 50%; background: #4b6974; }
.github-orbit-figure { position: relative; display: grid; place-items: center; width: min(100%, 550px); aspect-ratio: 1.08; margin: 0 auto; isolation: isolate; transform: translateY(22px); }
.github-orbit-figure::before { position: absolute; z-index: -1; inset: 14%; border-radius: 50%; background: radial-gradient(circle, #1236408c 0, #102b342e 45%, transparent 72%); content: ""; }
.github-orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: github-orbit-turn 100s linear infinite; }
.github-orbit-node { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 5px #59e4ebcc); animation: github-node-focus 2.6s ease-in-out infinite alternate; }
.github-orbit-core { position: relative; display: grid; place-items: center; gap: 15px; width: 194px; height: 194px; border: 1px solid #58dbe64a; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #17303b, #0a121b 70%); box-shadow: 0 0 0 12px #59e4eb08, 0 0 0 28px #59e4eb06, 0 0 60px #59e4eb19, inset 0 0 40px #59e4eb0b; animation: github-core-breathe 6s ease-in-out infinite; }
.github-orbit-core img { width: 92px; height: 90px; object-fit: contain; filter: drop-shadow(0 0 16px #edf3f777); }
.github-orbit-core span { color: #8ca2b0; text-align: center; font: 8px/1.7 var(--mono); letter-spacing: 1.5px; }
.github-orbit-label { position: absolute; color: #8ba3b1; font: 9px/1.5 var(--mono); letter-spacing: 1.25px; }
.github-orbit-label--top { top: 9%; left: 50%; transform: translateX(-50%); }
.github-orbit-label--right { top: 50%; right: 1%; color: #8cebd0; transform: translateY(-160%); }
.github-orbit-label--bottom { bottom: 7%; left: 50%; white-space: nowrap; transform: translateX(-50%); }
.github-orbit-satellite { position: absolute; top: 17%; right: 20%; width: 8px; height: 8px; border: 1px solid #b4f3de; border-radius: 50%; background: #59e4eb; box-shadow: 0 0 16px #59e4eb; animation: github-satellite 4s ease-in-out infinite; }
@keyframes github-orbit-turn { to { transform: rotate(360deg); } }
@keyframes github-node-focus { from { opacity: .65; transform: scale(.8); } to { opacity: 1; transform: scale(1.45); } }
@keyframes github-core-breathe { 0%, 100% { box-shadow: 0 0 0 12px #59e4eb08, 0 0 0 28px #59e4eb06, 0 0 60px #59e4eb19, inset 0 0 40px #59e4eb0b; } 50% { box-shadow: 0 0 0 15px #59e4eb0b, 0 0 0 34px #59e4eb07, 0 0 82px #59e4eb25, inset 0 0 48px #59e4eb12; } }
@keyframes github-satellite { 0%, 100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
.github-discover { padding-block: 43px 86px; border-top: 1px solid var(--line); }
.github-section-heading { display: grid; grid-template-columns: 1fr minmax(250px, .8fr); column-gap: 34px; align-items: end; margin-bottom: 28px; }
.github-section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 12px; color: var(--cyan); }
.github-section-heading h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -1.4px; }
.github-section-heading > p:last-child { max-width: 390px; justify-self: end; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.github-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.github-card { position: relative; display: flex; min-height: 250px; flex-direction: column; padding: 24px 23px 21px; border: 1px solid #273b47; background: linear-gradient(145deg, #101d27, #0b121a 70%); transition: transform .25s ease, border-color .25s ease, background .25s ease; animation: github-card-in .65s both; }
.github-card:nth-child(2) { animation-delay: .08s; }
.github-card:nth-child(3) { animation-delay: .16s; }
.github-card:hover { transform: translateY(-5px); border-color: #4b9e9f; background: linear-gradient(145deg, #12252e, #0b121a 75%); }
.github-card-index { color: #8cebd0; font: 10px/1.5 var(--mono); letter-spacing: 1px; }
.github-card-index span { color: #778995; }
.github-card h3 { margin: 27px 0 9px; font-size: 21px; letter-spacing: -.45px; }
.github-card p { max-width: 350px; margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.github-card a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: auto; color: #c7f3e8; font-size: 11px; }
.github-card a span { color: var(--cyan); transition: transform .2s ease; }
.github-card a:hover span { transform: translate(2px, -2px); }
@keyframes github-card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.github-close { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 80px; padding: 28px 30px; border: 1px solid #31545a; background: radial-gradient(ellipse at 0 50%, #17434b77, transparent 62%), #0d1821; }
.github-close .eyebrow { margin-bottom: 7px; color: var(--cyan); }
.github-close h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); letter-spacing: -1px; }
.github-close .button { flex: 0 0 auto; gap: 18px; }
@media (max-width: 900px) {
  .github-hero { grid-template-columns: minmax(0, 1fr) minmax(310px, .85fr); gap: 0; }
  .github-hero h1 { font-size: clamp(43px, 6vw, 62px); letter-spacing: -3px; }
  .github-orbit-label--right { right: -1%; }
}
@media (max-width: 680px) {
  .github-hero { grid-template-columns: minmax(0, 1fr); padding-block: 38px 34px; }
  .github-hero-copy { padding-block: 12px 0; }
  .github-hero h1 { max-width: 580px; font-size: clamp(42px, 12vw, 64px); }
  .github-lede { font-size: 14px; }
  .github-stack { margin-top: 26px; }
  .github-orbit-figure { width: min(100%, 440px); margin-top: 12px; transform: translateY(10px); }
  .github-orbit-core { width: 160px; height: 160px; gap: 9px; }
  .github-orbit-core img { width: 75px; height: 73px; }
  .github-orbit-label--right { right: 0; }
  .github-section-heading { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .github-section-heading .eyebrow { grid-column: auto; }
  .github-section-heading > p:last-child { justify-self: start; }
  .github-cards { grid-template-columns: minmax(0, 1fr); }
  .github-card { min-height: 216px; }
  .github-close { align-items: flex-start; flex-direction: column; margin-bottom: 54px; padding: 24px 20px; }
  .github-close .button { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .github-orbit-svg, .github-orbit-node, .github-orbit-core, .github-orbit-satellite, .github-card { animation: none; }
  .github-card, .github-text-link, .github-card a span { transition: none; }
}

/* Keep the compact account controls beside the brand on narrow headers. */
@media (max-width: 1000px) {
  .site-header { align-items: center; }
  .site-header .header-auth { flex: 0 0 auto; margin-left: auto; }
  .site-header .header-auth > .button.small,
  .site-header .header-auth > .member-menu > .member-menu-trigger { gap: 7px; min-height: 40px; padding: 8px 11px; font-size: 12px; }
  .site-header .header-auth .button .icon { width: 15px; height: 15px; }
  .site-header .member-menu-chevron { width: 12px !important; height: 12px !important; }
}
@media (max-width: 760px) {
  .site-header { min-height: 68px; padding-block: 8px; flex-wrap: nowrap; gap: 8px; }
  .site-header nav { display: none; }
  .site-header .brand { flex: 0 0 auto; gap: 6px; font-size: 16px; letter-spacing: 1.4px; }
  .site-header .brand img { width: 25px; height: 25px; }
  .site-header .header-auth { flex: 0 0 auto; gap: 6px; }
  .site-header .header-auth > .button.small,
  .site-header .member-menu-trigger { gap: 5px; min-height: 36px; padding: 6px 8px; font-size: 11px; }
  .site-header .header-auth .button .icon { width: 14px; height: 14px; }
  .site-header .member-menu-chevron { width: 11px !important; height: 11px !important; }
}
@media (max-width: 380px) {
  .site-header { gap: 6px; }
  .site-header .brand { gap: 5px; font-size: 14px; letter-spacing: 1px; }
  .site-header .brand img { width: 23px; height: 23px; }
  .site-header .header-auth { gap: 4px; }
  .site-header .header-auth > .button.small,
  .site-header .header-auth > .member-menu > .member-menu-trigger { gap: 4px; min-height: 34px; padding: 5px 6px; font-size: 10px; }
}
