:root {
  --ink: #07090b;
  --ink-2: #101418;
  --charcoal: #0b0f0d;
  --slate: #4f5d66;
  --slate-2: #8b98a3;
  --paper: #e9f2e8;
  --paper-2: #c8d4cf;
  --terminal: #31f46d;
  --terminal-soft: #7dffad;
  --amber: #d89a34;
  --amber-soft: #f0bf6a;
  --red: #ff5f57;
  --blue: #61a6ff;
  --line: rgba(255, 255, 255, 0.14);
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-md: 22px;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--paper);
  background: var(--ink);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--terminal) #080d0b;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #080d0b; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--terminal), var(--amber));
  border: 3px solid #080d0b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--terminal-soft); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 0%, rgba(49, 244, 109, 0.08), transparent 34%),
    linear-gradient(180deg, #07090b 0%, #101418 48%, #07090b 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(5, 6, 9, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.header-cta,
.mobile-nav,
.button,
.security-card,
.orbit-card {
  transform: translateZ(0);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark,
.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--terminal);
  color: var(--ink);
  font-family: "Unbounded", sans-serif;
  box-shadow: 0 10px 25px rgba(49, 244, 109, 0.22);
}

.brand-logo,
.mark-img {
  object-fit: contain;
  padding: 0;
  background: transparent;
  box-shadow: none;
  filter: brightness(0) saturate(100%) invert(79%) sepia(83%) saturate(677%) hue-rotate(73deg) brightness(101%) contrast(105%);
}

.desktop-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: rgba(238, 242, 244, 0.72);
  font-weight: 600;
  font-size: 14px;
}
.desktop-nav a { transition: color 180ms ease, transform 180ms ease; }
.desktop-nav a:hover { color: var(--terminal); transform: translateY(-1px); }

.header-cta {
  border-radius: 999px;
  background: var(--terminal);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.18);
}

.menu-button {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #1d2427;
  color: var(--paper);
  align-items: center;
  justify-content: center;
}
.menu-button span {
  position: absolute;
  width: 17px;
  height: 2px;
  background: currentColor;
  display: block;
  border-radius: 999px;
  transition: transform 220ms ease, opacity 180ms ease;
}
.menu-button span:nth-child(1) { transform: translateY(-6px); }
.menu-button span:nth-child(3) { transform: translateY(6px); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 12px;
  right: 12px;
  z-index: 29;
  border-radius: 22px;
  background: #12181a;
  border: 1px solid var(--line);
  padding: 12px;
  box-shadow: var(--shadow);
}
.mobile-nav a {
  display: block;
  padding: 14px;
  border-radius: 14px;
  color: rgba(238,242,244,0.82);
}
.mobile-nav.open { animation: menuIn 180ms ease both; }

main {
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: 12px clamp(8px, 2vw, 22px) 0;
}

.panel,
.stats,
.tile,
.panel-dark,
.download {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(860px, calc(100vh - 92px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 4vw, 76px);
  padding: clamp(34px, 6vw, 86px);
  background:
    radial-gradient(ellipse at 74% 18%, rgba(49, 244, 109, 0.24), transparent 34%),
    linear-gradient(135deg, #16201c 0%, #2a3338 52%, #101418 100%);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08), var(--shadow);
}

.hero::after,
.accent-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(49,244,109,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(49,244,109,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.62), transparent 70%);
}

.eyebrow {
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(125,255,173,0.78);
}

.hero h1 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(54px, 8.6vw, 132px);
  line-height: 0.92;
  color: var(--paper);
}

.audience-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
  color: rgba(233, 242, 232, 0.86);
  font-size: clamp(19px, 2.1vw, 31px);
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.audience-line span {
  color: rgba(233, 242, 232, 0.72);
  white-space: nowrap;
}

.audience-rotator {
  position: relative;
  display: inline-grid;
  flex: 0 0 13ch;
  min-width: 0;
  height: 1.15em;
  color: var(--terminal);
  font-family: "Unbounded", sans-serif;
  font-size: 0.95em;
  line-height: 1.15;
  text-shadow: 0 0 24px rgba(49, 244, 109, 0.28);
  overflow: visible;
}

.audience-rotator b {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  animation: audienceCycle 14s cubic-bezier(.2,.8,.2,1) infinite;
}

.audience-rotator b:nth-child(2) { animation-delay: 2s; }
.audience-rotator b:nth-child(3) { animation-delay: 4s; }
.audience-rotator b:nth-child(4) { animation-delay: 6s; }
.audience-rotator b:nth-child(5) { animation-delay: 8s; }
.audience-rotator b:nth-child(6) { animation-delay: 10s; }
.audience-rotator b:nth-child(7) { animation-delay: 12s; }

.hero-line {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  font-weight: 400;
  color: rgba(233, 242, 232, 0.66);
}

.hero-actions,
.download-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 34px rgba(5,6,9,0.24);
}
.button.ghost {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid currentColor;
}
.hero-actions .button.ghost:first-child {
  background: var(--terminal);
  color: var(--ink);
  border-color: var(--terminal);
  box-shadow: 0 16px 36px rgba(49, 244, 109, 0.2);
}
.panel-dark .button.ghost,
.download .button.ghost { color: var(--paper); }

.hero-device {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  perspective: 1200px;
  overflow: visible;
}

.phone {
  position: relative;
  width: min(310px, 68vw);
  aspect-ratio: 9 / 19;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #07090b, #1d2529);
  box-shadow: 0 45px 90px rgba(0,0,0,0.48), inset 0 0 0 1px rgba(255,255,255,0.18);
  transform: rotateX(7deg) rotateY(-10deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 92px;
  height: 23px;
  border-radius: 999px;
  background: #07090b;
  transform: translateX(-50%);
  z-index: 2;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}
.halo::after {
  content: "";
  position: absolute;
  inset: 42% -44% -8%;
  background: linear-gradient(90deg, transparent, rgba(49, 244, 109, 0.34), transparent);
  filter: blur(18px);
  z-index: -1;
}

.orbit-card {
  position: absolute;
  min-width: 156px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(10, 15, 13, 0.9);
  color: var(--paper);
  font-weight: 800;
  box-shadow: 0 20px 50px rgba(0,0,0,0.32);
}
.card-one { left: 4%; top: 18%; animation: driftA 5s ease-in-out infinite; }
.card-two { right: 1%; bottom: 18%; animation: driftB 5.8s ease-in-out infinite; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 12px 0 88px;
  background: linear-gradient(135deg, #17211d 0%, #344047 100%);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.security-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  gap: 12px;
  margin: 0 0 88px;
}
.security-art,
.security-copy {
  min-height: 520px;
  border-radius: var(--radius-xl);
}
.security-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 56%, rgba(49, 244, 109, 0.36), transparent 34%),
    linear-gradient(135deg, #283139 0%, #12181a 56%, #07090b 100%);
  box-shadow: var(--shadow);
}
.security-art::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,0.28);
  background-image: linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: rotate(-3deg);
  opacity: 0.44;
}
.lock-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.lock-logo {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(79%) sepia(83%) saturate(677%) hue-rotate(73deg) brightness(101%) contrast(105%);
}
.lock-logo-main {
  position: absolute;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border-radius: 44px;
  padding: 28px;
  background: var(--terminal);
  border: 1px solid rgba(125,255,173,0.72);
  box-shadow: 0 38px 90px rgba(5,6,9,0.42), inset 0 0 42px rgba(49,244,109,0.12);
  animation: securePulse 4.8s ease-in-out infinite;
  z-index: 2;
}
.lock-logo-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}
.lock-logo-one,
.lock-logo-two,
.lock-logo-three {
  width: 58px;
  height: 58px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(7, 9, 11, 0.74);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  animation: logoOrbit 9s linear infinite;
  z-index: 3;
}
.lock-logo-one { animation-delay: 0s; }
.lock-logo-two { animation-delay: -3s; }
.lock-logo-three { animation-delay: -6s; }
.lock-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  animation: ringOut 4.4s ease-in-out infinite;
}
.lock-ring:nth-of-type(2) { animation-delay: 700ms; }
.lock-ring:nth-of-type(3) { animation-delay: 1400ms; }
.security-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 66px);
  background: #17211d;
  color: var(--paper);
}
.security-copy h2 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 78px);
  line-height: 0.98;
}
.security-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(233, 242, 232, 0.72);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.18;
}
.stats div {
  padding: clamp(28px, 5vw, 58px);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stats strong {
  display: block;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.92;
  font-weight: 900;
}
.stats span {
  max-width: 290px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(233,242,232,0.68);
}

.section-title {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 36px;
}
.section-title .eyebrow,
.panel-dark .eyebrow,
.download .eyebrow,
.showcase .eyebrow { color: var(--terminal); }
.section-title h2,
.security h2,
.showcase h2,
.download h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 0.98;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.tile {
  position: relative;
  min-height: 520px;
  padding: clamp(28px, 4vw, 58px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.tile.pale {
  background: #17211d;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tile.tally-tile {
  isolation: isolate;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 12% 18%, rgba(49, 244, 109, 0.2), transparent 30%),
    radial-gradient(circle at 88% 80%, rgba(216, 154, 52, 0.14), transparent 32%),
    linear-gradient(135deg, #101816 0%, #1d2a23 48%, #0b100f 100%);
  overflow: hidden;
}
.tile.tally-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(49,244,109,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49,244,109,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,0.78), transparent 76%);
  animation: tallyGridDrift 14s linear infinite;
}
.tile.accent-tile {
  background: linear-gradient(135deg, #11181a 0%, #2d3940 62%, #16231b 100%);
  display: grid;
  place-items: center;
  color: var(--paper);
}
.tile h3 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 58px);
  line-height: 1;
}
.tile p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(233, 242, 232, 0.72);
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.18;
  max-width: 590px;
}

.tally-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 660px;
}

.tally-board::before {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49, 244, 109, 0.72), transparent);
  opacity: 0.5;
  animation: scanLine 4.8s ease-in-out infinite;
}

.tally-board article {
  position: relative;
  z-index: 1;
  min-height: 148px;
  padding: 18px;
  border: 1px solid rgba(49, 244, 109, 0.24);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(7, 9, 11, 0.88), rgba(14, 23, 19, 0.78));
  box-shadow: inset 0 0 28px rgba(49, 244, 109, 0.06), 0 18px 42px rgba(0,0,0,0.18);
  overflow: hidden;
  animation: tallyLift 5.2s ease-in-out infinite;
}

.tally-board article::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terminal), transparent);
  transform-origin: left;
  animation: streamFill 4.2s ease-in-out infinite;
}

.tally-board article:nth-child(2) { animation-delay: 160ms; }
.tally-board article:nth-child(3) { animation-delay: 320ms; }
.tally-board article:nth-child(4) { animation-delay: 480ms; }
.tally-board article:nth-child(2)::after { animation-delay: 160ms; }
.tally-board article:nth-child(3)::after { animation-delay: 320ms; }
.tally-board article:nth-child(4)::after { animation-delay: 480ms; }

.tally-board span {
  display: block;
  color: var(--amber-soft);
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tally-board strong {
  display: block;
  margin-top: 8px;
  color: var(--paper);
  font-size: 18px;
  line-height: 1.08;
}

.tally-board p {
  margin: 8px 0 0;
  color: rgba(233, 242, 232, 0.66);
  font-size: 13px;
  line-height: 1.28;
}

.tally-example {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(49, 244, 109, 0.32);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(9, 15, 13, 0.88), rgba(9, 15, 13, 0.7));
}

.tally-example-title {
  margin: 0;
  color: var(--amber-soft);
  font-size: 11px;
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tally-example p {
  margin: 8px 0;
  color: rgba(233, 242, 232, 0.86);
  font-size: 14px;
}

.tally-example code {
  display: block;
  margin-top: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--terminal-soft);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-all;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--terminal);
  font-weight: 800;
  border-bottom: 1px solid rgba(49, 244, 109, 0.42);
}

.text-link:hover { color: var(--terminal-soft); }

.screen-card {
  width: min(285px, 70%);
  border-radius: 34px;
  box-shadow: 0 34px 70px rgba(5,6,9,0.36);
  border: 10px solid #080a0f;
  z-index: 2;
}
.tilt-left { transform: rotate(-5deg); animation: breathe 6s ease-in-out infinite; }
.tilt-right { transform: rotate(5deg); animation: breathe 6.4s ease-in-out infinite reverse; }

.terminal-lines {
  position: absolute;
  inset: 40px;
  display: grid;
  gap: 18px;
  align-content: end;
  opacity: 0.28;
}
.terminal-lines span {
  height: 18px;
  border-radius: 999px;
  background: var(--terminal);
  transform-origin: left;
  animation: linePulse 2.8s ease-in-out infinite;
}
.terminal-lines span:nth-child(2) { width: 70%; animation-delay: 140ms; }
.terminal-lines span:nth-child(3) { width: 82%; animation-delay: 260ms; }
.terminal-lines span:nth-child(4) { width: 54%; animation-delay: 390ms; }

.waveform {
  position: absolute;
  width: 76%;
  height: 180px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, var(--terminal) 0 8px, transparent 8px 22px);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  opacity: 0.28;
  animation: slideWave 5s linear infinite;
}

.security {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  margin: 12px 0;
  padding: clamp(34px, 6vw, 76px);
  background:
    radial-gradient(circle at 88% 12%, rgba(216,154,52,0.16), transparent 28%),
    linear-gradient(135deg, #141b1e 0%, #07090b 100%);
  border: 1px solid var(--line);
}
.security p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(238,242,244,0.72);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.18;
}
.security-stack {
  display: grid;
  align-content: center;
  gap: 14px;
}
.security-card {
  padding: 24px;
  min-height: 90px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease;
}
.security-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber-soft);
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
}
.security-card:hover { transform: translateX(7px); background: rgba(255,255,255,0.10); }

.showcase {
  padding: clamp(34px, 6vw, 74px) 0;
}
.showcase-copy {
  max-width: 980px;
  margin: 0 auto 32px;
  text-align: center;
  padding: 0 20px;
}
.screens-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(8px, 2vw, 24px);
}
.screens-row figure {
  margin: 0;
}
.screens-row img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border-radius: 34px;
  border: 9px solid #11131a;
  box-shadow: 0 30px 70px rgba(0,0,0,0.42);
  transition: transform 240ms ease;
}
.screens-row figcaption {
  margin: 18px auto 0;
  max-width: 330px;
  color: rgba(233, 242, 232, 0.72);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}
.screens-row figure:nth-child(1) { transform: translateY(28px) rotate(-3deg); }
.screens-row figure:nth-child(2) { transform: translateY(0); }
.screens-row figure:nth-child(3) { transform: translateY(28px) rotate(3deg); }
.screens-row img:hover { transform: translateY(-4px) scale(1.015); }

.download {
  margin: 18px 0 0;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(34px, 6vw, 78px);
  background: linear-gradient(135deg, #17211d 0%, #2f3a42 62%, #101418 100%);
  color: var(--paper);
}
.download .eyebrow { color: var(--amber-soft); }
.download h2 { max-width: 820px; }

footer {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(238,242,244,0.64);
  font-weight: 700;
}
footer span { color: var(--paper); }
footer a:hover { color: var(--paper); }

.legal-page {
  background:
    radial-gradient(circle at 85% 0%, rgba(49, 244, 109, 0.10), transparent 32%),
    linear-gradient(180deg, #07090b 0%, #111817 58%, #07090b 100%);
}

.legal-shell {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 96px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: var(--paper);
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
}

.legal-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: transparent;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(79%) sepia(83%) saturate(677%) hue-rotate(73deg) brightness(101%) contrast(105%);
}

.legal-shell h1 {
  margin: 0 0 8px;
  color: var(--terminal);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1;
}

.legal-shell .last-updated {
  color: var(--slate-2);
  margin: 0 0 34px;
}

.legal-shell h2 {
  margin: 46px 0 16px;
  color: var(--terminal-soft);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(22px, 3vw, 31px);
}

.legal-shell h3 {
  margin: 26px 0 12px;
  color: var(--paper);
  font-size: 20px;
}

.legal-shell p,
.legal-shell li {
  color: rgba(233, 242, 232, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.legal-shell ul {
  margin: 0 0 22px 20px;
  padding: 0;
}

.legal-shell strong { color: var(--paper); }
.legal-shell a { color: var(--terminal); }

.legal-callout,
.warning-box {
  margin: 28px 0;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border-left: 3px solid var(--terminal);
}

.warning-box { border-left-color: var(--red); }

.footer-link {
  display: inline-flex;
  margin-top: 46px;
  color: var(--terminal);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }

.floaty { animation: floaty 6.5s ease-in-out infinite; }

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}
@keyframes driftA {
  0%, 100% { transform: translate3d(0,0,0) rotate(-4deg); }
  50% { transform: translate3d(10px,-10px,0) rotate(1deg); }
}
@keyframes driftB {
  0%, 100% { transform: translate3d(0,0,0) rotate(5deg); }
  50% { transform: translate3d(-8px,12px,0) rotate(-1deg); }
}
@keyframes breathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes linePulse {
  0%, 100% { transform: scaleX(0.74); opacity: 0.28; }
  50% { transform: scaleX(1); opacity: 0.48; }
}
@keyframes slideWave {
  to { background-position-x: 220px; }
}
@keyframes tallyOrbit {
  to { transform: rotate(1turn); }
}
@keyframes tallyLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes streamFill {
  0%, 100% { transform: scaleX(0.18); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 0.9; }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes securePulse {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes ringOut {
  0% { transform: scale(0.45); opacity: 0; }
  28% { opacity: 0.55; }
  100% { transform: scale(1.28); opacity: 0; }
}
@keyframes logoOrbit {
  from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}
@keyframes audienceCycle {
  0% { opacity: 0; transform: translateY(12px); filter: blur(5px); }
  4%, 13% { opacity: 1; transform: translateY(0); filter: blur(0); }
  17%, 100% { opacity: 0; transform: translateY(-12px); filter: blur(5px); }
}
@keyframes tallyGridDrift {
  to { background-position: 44px 44px; }
}
@keyframes scanLine {
  0%, 100% { transform: translateY(-72px); opacity: 0; }
  35%, 65% { opacity: 0.54; }
  50% { transform: translateY(72px); }
}

@media (max-width: 900px) {
  .site-header { padding: 10px 14px; }
  .desktop-nav,
  .header-cta { display: none; }
  .menu-button { display: flex; margin-left: auto; }
  .mobile-nav.open { display: block; }
  .menu-button.open span:first-child { transform: translateY(0) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; transform: scaleX(0.25); }
  .menu-button.open span:last-child { transform: translateY(0) rotate(-45deg); }
  main { padding: 8px 5px 0; }
  .hero {
    min-height: 820px;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 22px 0;
    gap: 8px;
    border-radius: 26px;
  }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .audience-line {
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    gap: 9px;
    font-size: clamp(16px, 4.6vw, 24px);
  }
  .audience-rotator { flex-basis: 12.5ch; text-align: left; }
  .hero-line { margin-left: auto; margin-right: auto; font-size: clamp(15px, 4vw, 18px); }
  .hero-actions { justify-content: center; }
  .hero-device { min-height: 430px; }
  .phone { width: min(245px, 68vw); }
  .orbit-card { display: none; }
  .stats { grid-template-columns: 1fr; margin-bottom: 58px; border-radius: 26px; }
  .stats div { min-height: 150px; }
  .feature-grid,
  .security-feature,
  .security,
  .screens-row { grid-template-columns: 1fr; }
  .security-feature { margin-bottom: 58px; }
  .security-art,
  .security-copy { min-height: 430px; border-radius: 26px; }
  .tile { min-height: 430px; border-radius: 26px; }
  .tile.tally-tile {
    min-height: auto;
    padding-bottom: 34px;
    overflow: visible;
  }
  .security,
  .download { border-radius: 26px; }
  .tally-board {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }
  .tally-board::before { display: none; }
  .tally-board article {
    min-height: auto;
    animation: none;
  }
  .tally-board article::after { bottom: 10px; }
  .tally-example code { font-size: 11px; }
  .screens-row img,
  .screens-row figure:nth-child(1),
  .screens-row figure:nth-child(2),
  .screens-row figure:nth-child(3) { transform: none; }
  .screens-row { max-width: 360px; margin: 0 auto; }
  .download { flex-direction: column; align-items: flex-start; }
  footer { flex-wrap: wrap; padding: 34px 18px; }
}

/* ───────────────────────── Talos security layer ───────────────────────── */
.talos-band {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  margin: 12px 0 88px;
  padding: clamp(26px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 26% 42%, rgba(49, 244, 109, 0.12), transparent 42%),
    linear-gradient(140deg, #10171a 0%, #07090b 62%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.talos-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 30% 45%, #000, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.talos-orbit {
  --size: min(460px, 80vw);
  position: relative;
  width: var(--size);
  height: var(--size);
  margin: 0 auto;
  z-index: 1;
}
.orbit-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.orbit-rings span:nth-child(1) { width: calc(var(--size) * 0.68); height: calc(var(--size) * 0.68); border-color: rgba(49, 244, 109, 0.22); animation: talosRingPulse 4.6s ease-in-out infinite; }
.orbit-rings span:nth-child(2) { width: calc(var(--size) * 0.9);  height: calc(var(--size) * 0.9); }
.orbit-rings span:nth-child(3) { width: calc(var(--size) * 0.46); height: calc(var(--size) * 0.46); border-style: dashed; border-color: rgba(255, 255, 255, 0.14); }

.orbit-threats { position: absolute; inset: 0; }
.threat {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--red);
  transform: rotate(var(--a)) translateX(calc(var(--size) * 0.52));
  animation: threatIn 3.6s var(--d) cubic-bezier(.55, 0, .75, .4) infinite;
}
.threat.t-alert { color: var(--amber-soft); }
.threat.t-bug { color: #ff9182; }
.threat .ic { width: 22px; height: 22px; transform: rotate(calc(-1 * var(--a))); }
.threat::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  animation: threatPing 3.6s var(--d) cubic-bezier(.55, 0, .75, .4) infinite;
}

.orbit-shield-track { position: absolute; inset: 0; animation: talosSpin 9s linear infinite; }
.orbit-shield-track.slow { animation-delay: -4.5s; }
.orbit-arm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(calc(var(--size) * 0.34));
}
.orbit-shield {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: var(--terminal);
  background: rgba(7, 9, 11, 0.78);
  border: 1px solid rgba(125, 255, 173, 0.55);
  box-shadow: 0 0 0 5px rgba(49, 244, 109, 0.07), 0 16px 34px rgba(0, 0, 0, 0.45);
  animation: talosSpin 9s linear infinite reverse;
}
.orbit-shield-track.slow .orbit-shield { animation-delay: -4.5s; }
.orbit-shield .ic { width: 32px; height: 32px; }

.talos-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--size) * 0.28);
  height: calc(var(--size) * 0.28);
  transform: translate(-50%, -50%);
  border-radius: 30%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--terminal-soft), var(--terminal));
  box-shadow: 0 0 60px rgba(49, 244, 109, 0.42), inset 0 0 30px rgba(6, 20, 12, 0.18);
  animation: talosCore 4.6s ease-in-out infinite;
  z-index: 2;
}
.talos-core img { width: 60%; height: 60%; object-fit: contain; filter: brightness(0); }

.talos-band-copy { z-index: 1; }
.talos-band-copy h2 { margin: 12px 0 0; font-size: clamp(32px, 4.4vw, 62px); line-height: 0.98; }
.talos-band-copy > p { margin: 20px 0 0; max-width: 520px; color: rgba(233, 242, 232, 0.72); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; }
.talos-band-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.talos-band-points li { display: flex; align-items: flex-start; gap: 12px; color: rgba(233, 242, 232, 0.86); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.4; }
.talos-band-points span {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--terminal);
  box-shadow: 0 0 0 4px rgba(49, 244, 109, 0.14);
}

/* ── Talos detail section (no cards) ── */
.talos-detail {
  margin: 12px 0;
  padding: clamp(30px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 86% 8%, rgba(216, 154, 52, 0.14), transparent 30%),
    linear-gradient(140deg, #141b1e 0%, #07090b 100%);
  border: 1px solid var(--line);
}
.talos-detail-head { max-width: 820px; }
.talos-detail-head p:not(.eyebrow) { margin: 18px 0 0; color: rgba(238, 242, 244, 0.72); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.32; }

/* Tabbed capability deck */
.talos-tabs {
  display: inline-flex;
  gap: 6px;
  margin: clamp(28px, 4vw, 46px) 0 22px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  flex-wrap: wrap;
}
.talos-tab {
  border: 0;
  background: transparent;
  color: rgba(233, 242, 232, 0.7);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}
.talos-tab:hover { color: var(--paper); }
.talos-tab.active { color: #04140c; background: var(--terminal); box-shadow: 0 8px 22px rgba(49, 244, 109, 0.2); }

.talos-layer { display: none; }
.talos-layer.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* The coercion layer carries a fourth tile (Hidden vaults); let it flow to a
   balanced 2x2 on mid widths and 4-across only on very wide screens. */
.talos-layer.active[data-layer="coercion"] { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1180px) {
  .talos-layer.active[data-layer="coercion"] { grid-template-columns: repeat(4, 1fr); }
}
.talos-feat {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.talos-detail.in-view .talos-layer.active .talos-feat {
  animation: featIn 560ms cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}
.talos-feat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(49, 244, 109, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}
.talos-feat:hover { transform: translateY(-5px); border-color: rgba(49, 244, 109, 0.45); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.36); }
.talos-feat:hover::before { opacity: 1; }
.feat-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--terminal);
  background: rgba(49, 244, 109, 0.1);
  border: 1px solid rgba(49, 244, 109, 0.28);
  margin-bottom: 16px;
}
.feat-ic svg { width: 26px; height: 26px; }
.talos-feat h3 { margin: 0; font-size: 20px; line-height: 1.15; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.talos-feat p { position: relative; z-index: 1; margin: 10px 0 16px; color: rgba(233, 242, 232, 0.64); font-size: 14px; line-height: 1.5; }
.feat-first { font-family: "Unbounded", sans-serif; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terminal-soft); border: 1px solid rgba(49, 244, 109, 0.5); border-radius: 999px; padding: 3px 8px; }
.feat-kind { position: relative; z-index: 1; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.feat-kind.open { color: var(--terminal-soft); background: rgba(49, 244, 109, 0.1); border: 1px solid rgba(49, 244, 109, 0.32); }
.feat-kind.service { color: var(--blue); background: rgba(97, 166, 255, 0.1); border: 1px solid rgba(97, 166, 255, 0.32); }

@keyframes featIn { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .talos-layer.active { grid-template-columns: 1fr; }
}

/* ── Tally external CTA (upgraded from a plain link) ── */
.tally-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--paper);
  background: linear-gradient(120deg, rgba(49, 244, 109, 0.14), rgba(49, 244, 109, 0.04));
  border: 1px solid rgba(49, 244, 109, 0.34);
  overflow: hidden;
  position: relative;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.tally-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(125, 255, 173, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 620ms ease;
}
.tally-cta:hover { transform: translateY(-3px); border-color: rgba(49, 244, 109, 0.7); box-shadow: 0 18px 44px rgba(49, 244, 109, 0.14); }
.tally-cta:hover::before { transform: translateX(120%); }
.tally-cta-mark { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--terminal); color: #04140c; font-size: 18px; font-weight: 800; }
.tally-cta-body { display: flex; flex-direction: column; z-index: 1; }
.tally-cta-body strong { font-size: 16px; }
.tally-cta-body em { font-style: normal; font-size: 13px; color: rgba(233, 242, 232, 0.6); }
.tally-cta-go { margin-left: auto; font-size: 22px; color: var(--terminal); transition: transform 240ms ease; z-index: 1; }
.tally-cta:hover .tally-cta-go { transform: translate(3px, -3px); }

@keyframes threatIn {
  0%   { transform: rotate(var(--a)) translateX(calc(var(--size) * 0.55)) scale(0.5); opacity: 0; }
  16%  { opacity: 1; }
  58%  { transform: rotate(var(--a)) translateX(calc(var(--size) * 0.385)) scale(1); opacity: 1; }
  70%  { transform: rotate(var(--a)) translateX(calc(var(--size) * 0.4)) scale(1.4); opacity: 1; }
  100% { transform: rotate(var(--a)) translateX(calc(var(--size) * 0.52)) scale(0.35); opacity: 0; }
}
@keyframes threatPing {
  0%, 62% { opacity: 0; transform: scale(0.4); }
  70% { opacity: 0.9; transform: scale(1); }
  86% { opacity: 0; transform: scale(1.8); }
  100% { opacity: 0; }
}
@keyframes talosSpin { to { transform: rotate(360deg); } }
@keyframes talosCore {
  0%, 100% { box-shadow: 0 0 50px rgba(49, 244, 109, 0.34), inset 0 0 30px rgba(6, 20, 12, 0.18); }
  50% { box-shadow: 0 0 80px rgba(49, 244, 109, 0.62), inset 0 0 30px rgba(6, 20, 12, 0.18); }
}
@keyframes talosRingPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .talos-band { grid-template-columns: 1fr; }
  .talos-orbit { --size: min(400px, 82vw); order: 2; }
  .talos-band-copy { order: 1; }
  .talos-split { grid-template-columns: 1fr; }
  .talos-row { grid-template-columns: auto 1fr; }
  .talos-kind { grid-column: 2; justify-self: start; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
  .audience-rotator b:first-child { opacity: 1; transform: none; }
  /* Keep the Talos orbit legible when motion is off: threats rest at the
     shield boundary rather than mid-flight, and rows are shown. */
  .threat { opacity: 1 !important; transform: rotate(var(--a)) translateX(calc(var(--size) * 0.4)) !important; }
  .threat::after { display: none; }
  .talos-row { opacity: 1 !important; transform: none !important; }
}




/* ── Wallet connect button (header) + developer intake + admin surface ── */
.wallet-connect {
  border: 1px solid rgba(49, 244, 109, 0.55);
  border-radius: 999px;
  background: rgba(49, 244, 109, 0.08);
  color: var(--terminal);
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.wallet-connect:hover { transform: translateY(-1px); background: rgba(49, 244, 109, 0.14); box-shadow: 0 8px 22px rgba(49, 244, 109, 0.18); }
.wallet-connect:disabled { opacity: 0.6; cursor: default; transform: none; }
.wallet-connect.is-admin { background: var(--terminal); color: var(--ink); border-color: var(--terminal); }

/* Shared form primitives (used by the admin console upload form). */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 700; color: rgba(233, 242, 232, 0.8); }
.field .req { color: var(--terminal); margin-left: 3px; }
.field input, .field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  color: var(--paper);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(49, 244, 109, 0.6);
  box-shadow: 0 0 0 3px rgba(49, 244, 109, 0.14);
}
.field textarea { resize: vertical; }

/* Contact terminal — a premium mock terminal window for reaching the crew. */
.dev-section {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}
.terminal-card {
  width: min(640px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(49, 244, 109, 0.28);
  background:
    radial-gradient(140% 100% at 50% -20%, rgba(49, 244, 109, 0.10), transparent 60%),
    linear-gradient(180deg, #0a0f0c, #070a08);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(49, 244, 109, 0.06);
  overflow: hidden;
  position: relative;
}
.terminal-card::after {
  /* faint scanlines for CRT texture, kept very subtle */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.014) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* Window chrome */
.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tc-dots { display: inline-flex; gap: 8px; }
.tc-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); }
.tc-red { background: var(--red); }
.tc-amber { background: var(--amber); }
.tc-green { background: var(--terminal); }
.tc-title {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(233, 242, 232, 0.5);
}
.tc-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terminal-soft);
}
.tc-secure-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terminal);
  box-shadow: 0 0 8px var(--terminal);
  animation: tc-pulse 2.4s ease-in-out infinite;
}
@keyframes tc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Body */
.terminal-body { padding: clamp(22px, 3.4vw, 34px); }
.tc-command {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  margin: 0 0 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-user { color: var(--terminal); }
.tc-path { color: var(--blue); margin-left: 8px; }
.tc-sigil { color: rgba(233, 242, 232, 0.55); margin-left: 8px; }
.tc-cmd { color: var(--paper); margin-left: 8px; }
.tc-caret {
  display: inline-block;
  width: 8px; height: 15px;
  margin-left: 6px;
  vertical-align: -3px;
  background: var(--terminal);
  box-shadow: 0 0 8px rgba(49, 244, 109, 0.7);
  animation: tc-blink 1.05s steps(1) infinite;
}
@keyframes tc-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

.tc-h2 {
  margin: 0 0 8px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
}
.tc-lede {
  color: rgba(233, 242, 232, 0.6);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 46ch;
}

/* Fields as terminal input lines */
.tc-field { display: block; margin-bottom: 16px; }
.tc-key {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(125, 255, 173, 0.7);
}
.tc-key::before { content: "# "; color: rgba(233, 242, 232, 0.35); }
.tc-key .req { color: var(--terminal); margin-left: 4px; }
.tc-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  padding: 0 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.tc-field-area .tc-input { align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
.tc-chev {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--terminal);
  opacity: 0.55;
  line-height: 1;
  transition: opacity 160ms ease;
}
.tc-input input,
.tc-input textarea {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14.5px;
  padding: 13px 0;
  caret-color: var(--terminal);
}
.tc-field-area .tc-input textarea { padding: 0; }
.tc-input input::placeholder,
.tc-input textarea::placeholder { color: rgba(233, 242, 232, 0.32); }
.tc-input input:focus,
.tc-input textarea:focus { outline: none; }
.tc-input textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.tc-input:focus-within {
  border-color: rgba(49, 244, 109, 0.65);
  background: rgba(49, 244, 109, 0.05);
  box-shadow: 0 0 0 3px rgba(49, 244, 109, 0.12), 0 0 22px rgba(49, 244, 109, 0.08);
}
.tc-input:focus-within .tc-chev { opacity: 1; }

/* Send as a command button */
.tc-send {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid var(--terminal);
  background: rgba(49, 244, 109, 0.1);
  color: var(--terminal-soft);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 140ms ease, box-shadow 160ms ease;
}
.tc-send .tc-sigil { color: var(--terminal); margin: 0; }
.tc-send .tc-flag { color: rgba(125, 255, 173, 0.65); font-weight: 400; }
.tc-enter { margin-left: 4px; opacity: 0.7; }
.tc-send:hover {
  background: var(--terminal);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(49, 244, 109, 0.28);
}
.tc-send:hover .tc-sigil,
.tc-send:hover .tc-flag { color: var(--ink); }
.tc-send:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }

.form-status {
  min-height: 18px;
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
}
.form-status:not(:empty)::before { content: "» "; opacity: 0.6; }
.form-status.ok { color: var(--terminal); }
.form-status.err { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .tc-caret, .tc-secure-dot { animation: none; }
}
@media (max-width: 820px) {
  .wallet-connect { display: none; }
}
@media (max-width: 480px) {
  .tc-title { display: none; }
  .tc-command { font-size: 11.5px; }
}

/* Crew / Meet the Tribe — founder cards. */
.team-section { margin: 40px 0; }
.team-head { max-width: 660px; margin: 0 auto 26px; text-align: center; }
.team-head h2 { font-family: "Unbounded", sans-serif; font-size: clamp(24px, 3vw, 34px); margin: 10px 0 0; }
.team-lede { color: rgba(233, 242, 232, 0.62); font-size: 15px; line-height: 1.55; margin: 14px 0 0; }
.team-lede a { color: var(--terminal); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.member-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: clamp(20px, 2.6vw, 28px);
}
.member-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.member-av {
  width: 56px; height: 56px; flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink-2);
  border: 1px solid rgba(49, 244, 109, 0.4);
  box-shadow: 0 0 20px -6px rgba(49, 244, 109, 0.4);
}
.member-card h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.member-tag {
  font-family: var(--mono);
  font-size: 11px; font-weight: 400;
  color: var(--terminal-soft);
  border: 1px solid rgba(49, 244, 109, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
}
.member-role { color: var(--terminal); font-size: 12.5px; font-weight: 600; line-height: 1.4; margin: 5px 0 0; }
.member-bio { color: rgba(233, 242, 232, 0.66); font-size: 13.5px; line-height: 1.6; margin: 0; }
.member-bio a { color: var(--terminal-soft); }
.member-x {
  display: inline-block;
  margin-top: 12px;
  color: var(--terminal);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.member-x:hover { color: var(--terminal-soft); }
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Contact popup modal — the terminal contact card in an overlay. */
.contact-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 5, 7, 0.72);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: cmFade 0.18s ease;
}
.contact-scrim[hidden] { display: none; }
@keyframes cmFade { from { opacity: 0; } }
.contact-modal {
  position: relative;
  width: min(620px, 100%);
  max-height: 92vh;
  overflow: auto;
  animation: cmPop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes cmPop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.contact-modal .terminal-card { width: 100%; }
.cm-close {
  position: absolute;
  top: -16px;
  right: -4px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--paper-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, transform 140ms ease;
}
.cm-close:hover { color: var(--terminal); border-color: var(--terminal); transform: scale(1.08); }
@media (max-width: 560px) {
  .cm-close { top: 8px; right: 8px; }
}
