:root {
  color-scheme: dark;
  --bg: #070908;
  --surface: #0c100e;
  --surface-raised: #101512;
  --surface-soft: #0a0d0b;
  --text: #e8ede9;
  --muted: #909a93;
  --dim: #66716a;
  --line: rgba(219, 240, 224, 0.105);
  --line-strong: rgba(219, 240, 224, 0.18);
  --accent: #c5f27c;
  --accent-dark: #9cc454;
  --red: #ee7c76;
  --amber: #e8bd75;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(7, 9, 8, 0.05), rgba(7, 9, 8, 0.35) 52%, var(--bg) 100%);
}

::selection {
  background: rgba(197, 242, 124, 0.24);
  color: #f5ffe9;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.ambient,
.page-grid {
  position: fixed;
  z-index: -2;
  pointer-events: none;
}

.ambient {
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(105px);
  opacity: 0.1;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient-one {
  top: -270px;
  left: 5%;
  background: #93d253;
}

.ambient-two {
  top: 36%;
  right: -350px;
  width: 560px;
  height: 560px;
  background: #23633b;
  opacity: 0.08;
  animation-delay: -7s;
}

.page-grid {
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image: linear-gradient(rgba(212, 243, 222, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 243, 222, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.58) 44%, transparent 88%);
}

.site-shell {
  width: min(var(--page-width), calc(100% - 72px));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 222px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(197, 242, 124, 0.45);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(197, 242, 124, 0.13), rgba(197, 242, 124, 0.015));
  color: var(--accent);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  box-shadow: inset 0 0 18px rgba(197, 242, 124, 0.04), 0 0 24px rgba(197, 242, 124, 0.04);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1.15;
}

.brand-period,
.footer-brand span {
  color: var(--accent);
}

.brand-caption,
.topbar-nav,
.topbar-status,
.eyebrow,
.panel-index,
.field-label,
.signal-strip,
.portrait-topline,
.portrait-kicker,
.portrait-number,
.source-counter,
.tool-card-top,
.tool-card a,
.toolkit-note,
.principles-index,
.footer,
.manual-heading,
.result-state,
.result-badge,
.result-source,
.progress-wrap,
.dns-key {
  font-family: var(--mono);
}

.brand-caption {
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: 42px;
  color: #a0aaa3;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topbar-nav a,
.back-to-top {
  transition: color 180ms ease;
}

.topbar-nav a:hover,
.back-to-top:hover {
  color: var(--accent);
}

.topbar-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #aab4ad;
  font-size: 9px;
  letter-spacing: 0.085em;
  white-space: nowrap;
}

.noscript-note {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 189, 117, 0.22);
  border-radius: 7px;
  color: #d3b67f;
  font-size: 11px;
}

.live-dot,
.state-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(197, 242, 124, 0.8);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
  padding: 80px 0 75px;
}

.hero-copy {
  padding: 12px 0 0;
  animation: rise-in 720ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  color: #a0b59b;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.145em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 19px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(197, 242, 124, 0.5);
}

.eyebrow-index {
  color: #5d685f;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  color: #eef2ef;
  font-size: clamp(54px, 6.1vw, 82px);
  font-weight: 540;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.title-accent {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.075em;
}

.hero-description {
  max-width: 480px;
  margin: 26px 0 0;
  color: #9aa49d;
  font-size: 14px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  min-height: 47px;
  padding: 0 17px;
  background: var(--accent);
  color: #10170b;
  box-shadow: 0 7px 26px rgba(148, 199, 82, 0.13);
}

.button-primary:hover {
  background: #d2fa94;
  box-shadow: 0 9px 30px rgba(148, 199, 82, 0.22);
}

.button-primary span {
  font-size: 15px;
  font-weight: 400;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7e8981;
  font-size: 10px;
}

.tiny-lock {
  color: var(--accent);
  font-size: 13px;
}

.hero-byline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 47px;
  color: #7b857e;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.hero-byline strong {
  color: #c4cdc6;
  font-weight: 500;
}

.byline-rule {
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

.byline-separator,
.byline-muted {
  color: #57625b;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 17px 20px 18px;
  border: 1px solid rgba(198, 231, 203, 0.15);
  border-radius: 15px;
  background: linear-gradient(142deg, rgba(17, 24, 19, 0.96), rgba(9, 12, 10, 0.94) 62%, rgba(11, 16, 12, 0.98));
  box-shadow: 0 24px 85px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.025);
  animation: rise-in 850ms 100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.portrait-card::before {
  position: absolute;
  top: -170px;
  right: -35px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(148, 200, 86, 0.075);
  filter: blur(70px);
  content: "";
  pointer-events: none;
}

.portrait-topline,
.portrait-caption,
.panel-heading,
.results-topline,
.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portrait-topline {
  position: relative;
  z-index: 1;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: #93a096;
  font-size: 8px;
  letter-spacing: 0.11em;
}

.portrait-topline > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-square {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(197, 242, 124, 0.55);
}

.portrait-coordinates {
  color: #556159;
}

.portrait-art-wrap {
  position: relative;
  display: grid;
  min-height: 315px;
  margin: 15px 0 13px;
  overflow: hidden;
  place-items: center;
  background: radial-gradient(ellipse at 50% 48%, rgba(105, 149, 77, 0.115), transparent 62%);
}

.ascii-art {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #c8ec9e;
  font-family: var(--mono);
  font-size: clamp(8px, 0.78vw, 10px);
  font-weight: 600;
  line-height: 1.37;
  text-shadow: 0 0 17px rgba(197, 242, 124, 0.19);
  white-space: pre;
  user-select: text;
}

.scanline {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 242, 124, 0.44), transparent);
  box-shadow: 0 0 17px rgba(197, 242, 124, 0.24);
  animation: scan 6.8s ease-in-out infinite;
}

.art-corner {
  position: absolute;
  z-index: 1;
  width: 13px;
  height: 13px;
  opacity: 0.6;
}

.art-corner-tl {
  top: 7px;
  left: 7px;
  border-top: 1px solid var(--accent-dark);
  border-left: 1px solid var(--accent-dark);
}

.art-corner-tr {
  top: 7px;
  right: 7px;
  border-top: 1px solid var(--accent-dark);
  border-right: 1px solid var(--accent-dark);
}

.art-corner-bl {
  bottom: 7px;
  left: 7px;
  border-bottom: 1px solid var(--accent-dark);
  border-left: 1px solid var(--accent-dark);
}

.art-corner-br {
  right: 7px;
  bottom: 7px;
  border-right: 1px solid var(--accent-dark);
  border-bottom: 1px solid var(--accent-dark);
}

.portrait-caption {
  position: relative;
  z-index: 1;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.portrait-kicker {
  display: block;
  margin-bottom: 3px;
  color: #707c73;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.portrait-caption h2 {
  margin: 0;
  color: #e2e9e2;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.portrait-number {
  color: #89948c;
  font-size: 11px;
}

.portrait-number span {
  padding: 0 5px;
  color: var(--accent);
}

.signal-strip {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 33px);
  min-height: 63px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #8d9890;
  font-size: 8px;
  letter-spacing: 0.095em;
}

.signal-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.signal-index {
  color: var(--accent-dark);
  font-size: 8px;
}

.signal-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4d5a50;
}

.signal-tail {
  margin-left: auto;
  color: var(--accent);
  font-size: 13px;
}

.section-block {
  padding: 105px 0 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}

.section-heading .eyebrow {
  margin-bottom: 17px;
}

.section-heading h2 {
  font-size: clamp(37px, 4.4vw, 56px);
  line-height: 1.07;
}

.section-intro {
  max-width: 670px;
  margin: 15px 0 0;
  color: #929d95;
  font-size: 12px;
  line-height: 1.8;
}

.source-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 108px;
  margin-bottom: 3px;
  padding: 9px 0 9px 15px;
  border-left: 1px solid var(--line-strong);
  color: #7e8981;
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.55;
}

.source-counter strong {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: 16px;
  align-items: stretch;
}

.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(147deg, rgba(16, 21, 18, 0.96), rgba(10, 13, 11, 0.96));
  box-shadow: 0 15px 55px rgba(0, 0, 0, 0.14), inset 0 1px rgba(255, 255, 255, 0.018);
}

.lookup-panel {
  padding: 23px;
}

.panel-heading {
  align-items: flex-start;
  margin-bottom: 22px;
}

.panel-index {
  color: #829087;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.panel-heading h3 {
  margin: 6px 0 0;
  color: #e0e7e1;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.035em;
}

.panel-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 21px;
  line-height: 1;
}

.lookup-tabs {
  display: grid;
  grid-template-columns: 1fr 0.82fr 1.25fr;
  gap: 3px;
  margin-bottom: 23px;
  padding: 4px;
  border: 1px solid rgba(219, 240, 224, 0.07);
  border-radius: 9px;
  background: #090c0a;
}

.lookup-tab {
  min-height: 35px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #7c8780;
  cursor: pointer;
  font-size: 10px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lookup-tab:hover {
  color: #cbd4cd;
}

.lookup-tab.is-active {
  border-color: rgba(197, 242, 124, 0.14);
  background: rgba(197, 242, 124, 0.085);
  color: #d8f8b0;
}

.lookup-tab:disabled {
  cursor: wait;
  opacity: 0.65;
}

.tab-panel {
  animation: tab-in 260ms ease both;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: #c4cdc6;
  font-size: 9px;
  letter-spacing: 0.045em;
}

.input-row {
  display: flex;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(218, 240, 224, 0.14);
  border-radius: 8px;
  background: #080b09;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.input-row:focus-within {
  border-color: rgba(197, 242, 124, 0.6);
  box-shadow: 0 0 0 3px rgba(197, 242, 124, 0.07);
}

.input-prefix {
  flex: none;
  padding: 0 0 0 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}

.input-prefix-domain {
  color: #8ba577;
  font-size: 10px;
}

.input-prefix-email {
  color: #8ba577;
}

.input-row input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 11px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #e4ebe5;
  font-size: 12px;
}

.input-row input::placeholder {
  color: #566159;
}

.input-row input:disabled {
  cursor: wait;
  opacity: 0.68;
}

.input-row input:focus-visible {
  outline: 0;
}

.button-submit {
  flex: none;
  min-height: 34px;
  margin: 6px;
  padding: 0 11px;
  border: 1px solid rgba(197, 242, 124, 0.24);
  background: rgba(197, 242, 124, 0.11);
  color: #d7f4b3;
  font-size: 10px;
}

.button-submit:hover {
  border-color: rgba(197, 242, 124, 0.55);
  background: rgba(197, 242, 124, 0.19);
}

.button-submit span:last-child {
  font-size: 13px;
}

.button-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.field-help {
  min-height: 39px;
  margin: 9px 0 0;
  color: #748078;
  font-size: 10px;
  line-height: 1.65;
}

.privacy-note {
  display: flex;
  gap: 11px;
  margin-top: 23px;
  padding: 13px 12px;
  border: 1px solid rgba(197, 242, 124, 0.11);
  border-radius: 8px;
  background: rgba(197, 242, 124, 0.035);
}

.privacy-icon {
  flex: none;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.4;
}

.privacy-note p {
  margin: 0;
  color: #818d84;
  font-size: 9px;
  line-height: 1.65;
}

.privacy-note strong {
  color: #bdcbbd;
  font-weight: 550;
}

.results-panel {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 23px;
}

.results-topline {
  margin-bottom: 23px;
}

.result-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8e9b91;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.result-state .state-dot {
  width: 5px;
  height: 5px;
  background: #64756a;
  box-shadow: none;
}

.result-state.is-running .state-dot {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(232, 189, 117, 0.7);
  animation: pulse 1s ease-in-out infinite alternate;
}

.result-state.is-complete .state-dot {
  background: var(--accent);
  box-shadow: 0 0 9px rgba(197, 242, 124, 0.65);
}

.result-state.is-error .state-dot {
  background: var(--red);
  box-shadow: 0 0 9px rgba(238, 124, 118, 0.55);
}

.results-panel > h3 {
  margin: 0;
  color: #e2e9e3;
  font-size: 21px;
  font-weight: 530;
  letter-spacing: -0.045em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.title-period {
  color: var(--accent);
}

.results-summary {
  min-height: 38px;
  margin: 7px 0 0;
  color: #87938a;
  font-size: 10px;
  line-height: 1.65;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 15px 0 3px;
  color: #88978a;
  font-size: 8px;
  letter-spacing: 0.03em;
}

.progress-wrap progress {
  width: 90px;
  height: 3px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #252e27;
  accent-color: var(--accent);
}

.progress-wrap progress::-webkit-progress-bar {
  border-radius: 10px;
  background: #252e27;
}

.progress-wrap progress::-webkit-progress-value {
  border-radius: 10px;
  background: var(--accent);
  transition: width 300ms ease;
}

.progress-wrap progress::-moz-progress-bar {
  border-radius: 10px;
  background: var(--accent);
}

.result-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.empty-state {
  display: grid;
  min-height: 137px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px dashed rgba(219, 240, 224, 0.105);
  border-radius: 9px;
  color: #657169;
  text-align: center;
}

.empty-orbit {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 4px;
  place-items: center;
  border: 1px solid rgba(197, 242, 124, 0.18);
  border-radius: 50%;
}

.empty-orbit span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 12px rgba(197, 242, 124, 0.42);
}

.empty-state strong {
  color: #a7b1a9;
  font-size: 10px;
  font-weight: 550;
}

.empty-state > span:last-child {
  font-size: 9px;
}

.result-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 10px 11px;
  border: 1px solid rgba(219, 240, 224, 0.08);
  border-radius: 8px;
  background: rgba(5, 8, 6, 0.57);
  animation: card-in 350ms ease both;
}

.result-card:nth-child(2) {
  animation-delay: 40ms;
}

.result-card:nth-child(3) {
  animation-delay: 80ms;
}

.result-card:nth-child(4) {
  animation-delay: 120ms;
}

.result-card:nth-child(5) {
  animation-delay: 160ms;
}

.result-card:nth-child(6) {
  animation-delay: 200ms;
}

.result-card:nth-child(7) {
  animation-delay: 240ms;
}

.result-card:nth-child(8) {
  animation-delay: 280ms;
}

.result-monogram {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(219, 240, 224, 0.1);
  border-radius: 7px;
  background: rgba(219, 240, 224, 0.035);
  color: #a9b5ab;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: -0.03em;
}

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

.result-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.result-title {
  color: #d7e0d8;
  font-size: 10px;
  font-weight: 560;
}

.result-source {
  color: #59675d;
  font-size: 7px;
  letter-spacing: 0.035em;
}

.result-detail {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #77847a;
  font-size: 9px;
  line-height: 1.45;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
}

.result-badge {
  justify-self: end;
  padding: 5px 7px;
  border: 1px solid rgba(219, 240, 224, 0.1);
  border-radius: 5px;
  color: #8d9990;
  font-size: 7px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.result-badge.is-found {
  border-color: rgba(197, 242, 124, 0.19);
  background: rgba(197, 242, 124, 0.055);
  color: #c7ed99;
}

.result-badge.is-missing {
  color: #87938a;
}

.result-badge.is-unavailable {
  border-color: rgba(232, 189, 117, 0.15);
  color: #d2ad73;
}

.result-badge.is-warning {
  border-color: rgba(238, 124, 118, 0.17);
  color: #ee9a92;
}

.result-open-link {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.result-open-link:hover {
  color: #e0ffb4;
}

.manual-search {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  animation: tab-in 300ms ease both;
}

.manual-heading {
  display: flex;
  justify-content: space-between;
  color: #a9b6aa;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.manual-heading span:last-child {
  color: var(--accent);
  font-size: 12px;
}

.manual-search > p {
  margin: 4px 0 10px;
  color: #6f7b72;
  font-size: 9px;
}

.manual-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.manual-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #a8b3aa;
  font-size: 8px;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.manual-link:hover {
  border-color: rgba(197, 242, 124, 0.38);
  background: rgba(197, 242, 124, 0.04);
  color: var(--accent);
}

.toolkit {
  padding-top: 105px;
}

.toolkit-heading {
  margin-bottom: 30px;
}

.toolkit-note {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  color: #66736a;
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.65;
  white-space: nowrap;
}

.toolkit-note strong {
  color: #b9c4bb;
  font-weight: 500;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tool-card {
  display: flex;
  min-height: 227px;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(148deg, rgba(15, 20, 17, 0.83), rgba(9, 12, 10, 0.87));
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 242, 124, 0.2);
  background: linear-gradient(148deg, rgba(18, 25, 19, 0.9), rgba(10, 14, 11, 0.93));
}

.tool-card-top {
  margin-bottom: 21px;
  color: #748076;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.tool-code {
  color: var(--accent-dark);
}

.tool-language {
  color: #67736a;
}

.tool-card h3 {
  margin: 0;
  color: #e0e7e1;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.035em;
}

.tool-card p {
  margin: 9px 0 17px;
  color: #87928a;
  font-size: 10px;
  line-height: 1.75;
}

.tool-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  color: #c6e89e;
  font-size: 9px;
  letter-spacing: 0.03em;
  transition: color 160ms ease, gap 160ms ease;
}

.tool-card a:hover {
  gap: 11px;
  color: #e0ffb4;
}

.principles {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 19px;
  margin-top: 82px;
  padding: 25px 26px;
  border: 1px solid rgba(197, 242, 124, 0.13);
  border-radius: 12px;
  background: linear-gradient(105deg, rgba(197, 242, 124, 0.055), rgba(197, 242, 124, 0.012) 58%, rgba(197, 242, 124, 0.025));
}

.principles-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(197, 242, 124, 0.25);
  border-radius: 50%;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
}

.principles .eyebrow {
  margin: 0 0 6px;
  color: #a3b490;
  font-size: 8px;
}

.principles h2 {
  margin: 0;
  color: #e3eae3;
  font-size: 19px;
  font-weight: 520;
  letter-spacing: -0.045em;
}

.principles h2 span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.principles p:last-child {
  max-width: 730px;
  margin: 8px 0 0;
  color: #8b988d;
  font-size: 10px;
  line-height: 1.75;
}

.principles-index {
  padding-top: 3px;
  color: #758271;
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  margin-top: 75px;
  border-top: 1px solid var(--line);
  color: #6c776f;
  font-size: 8px;
  letter-spacing: 0.075em;
}

.footer-brand {
  color: #cbd4cc;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 730;
  letter-spacing: 0.12em;
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer p span {
  padding: 0 5px;
  color: #404b43;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #909b92;
  white-space: nowrap;
}

.back-to-top span {
  color: var(--accent);
  font-size: 12px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tab-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  0%, 100% {
    transform: translateY(4px);
    opacity: 0;
  }
  15%, 85% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(300px);
    opacity: 0.38;
  }
}

@keyframes drift {
  from {
    transform: translate3d(-12px, 0, 0) scale(0.94);
  }
  to {
    transform: translate3d(24px, 32px, 0) scale(1.08);
  }
}

@keyframes pulse {
  to {
    opacity: 0.42;
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(var(--page-width), calc(100% - 48px));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
    gap: 38px;
    padding: 66px 0 63px;
  }

  .hero h1 {
    font-size: clamp(52px, 6.6vw, 70px);
  }

  .portrait-card {
    min-height: 415px;
  }

  .portrait-art-wrap {
    min-height: 290px;
  }

  .ascii-art {
    font-size: 8.5px;
  }

  .lookup-panel,
  .results-panel {
    padding: 19px;
  }

  .console-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 65px 0 55px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero h1 {
    font-size: clamp(58px, 11vw, 80px);
  }

  .portrait-card {
    width: min(100%, 520px);
    justify-self: center;
  }

  .ascii-art {
    font-size: clamp(8px, 1.6vw, 10px);
  }

  .signal-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 13px 20px;
    padding: 15px 0;
  }

  .signal-tail {
    display: none;
  }

  .console-grid {
    grid-template-columns: 1fr;
  }

  .results-panel {
    min-height: 320px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: calc(100% - 36px);
  }

  .topbar {
    min-height: 74px;
  }

  .brand {
    min-width: auto;
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 12px;
  }

  .brand-caption {
    font-size: 7px;
  }

  .topbar-nav {
    display: none;
  }

  .topbar-status {
    gap: 6px;
    padding: 7px 8px;
    font-size: 7px;
    letter-spacing: 0.035em;
  }

  .live-dot {
    width: 5px;
    height: 5px;
  }

  .hero {
    gap: 32px;
    padding: 51px 0 43px;
  }

  .hero .eyebrow {
    margin-bottom: 18px;
    font-size: 8px;
  }

  .hero h1 {
    font-size: clamp(49px, 13vw, 64px);
  }

  .hero-description {
    margin-top: 20px;
    font-size: 12px;
  }

  .hero-actions {
    gap: 13px;
    margin-top: 25px;
  }

  .hero-note {
    font-size: 9px;
  }

  .hero-byline {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
    font-size: 8px;
  }

  .portrait-card {
    min-height: 370px;
    padding: 14px;
  }

  .portrait-art-wrap {
    min-height: 252px;
    margin: 12px 0;
  }

  .ascii-art {
    font-size: clamp(6.5px, 2vw, 8px);
    line-height: 1.4;
  }

  .portrait-caption h2 {
    font-size: 15px;
  }

  .portrait-coordinates {
    font-size: 7px;
  }

  .signal-strip {
    gap: 12px 14px;
    font-size: 7px;
  }

  .signal-item {
    gap: 6px;
  }

  .signal-separator {
    display: none;
  }

  .section-block,
  .toolkit {
    padding-top: 75px;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: clamp(35px, 9vw, 46px);
  }

  .section-intro {
    font-size: 11px;
  }

  .source-counter {
    display: none;
  }

  .lookup-panel,
  .results-panel {
    padding: 16px;
  }

  .lookup-tabs {
    grid-template-columns: 1fr 0.8fr 1.15fr;
    gap: 1px;
    margin-bottom: 20px;
    padding: 3px;
  }

  .lookup-tab {
    padding-inline: 5px;
    font-size: 8px;
  }

  .field-help {
    min-height: 0;
    font-size: 9px;
  }

  .privacy-note {
    margin-top: 20px;
  }

  .results-panel > h3 {
    font-size: 19px;
  }

  .result-card {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px;
  }

  .result-monogram {
    width: 30px;
    height: 30px;
    font-size: 7px;
  }

  .result-badge {
    padding: 4px 5px;
    font-size: 6px;
  }

  .result-title {
    font-size: 9px;
  }

  .toolkit-note {
    display: none;
  }

  .principles {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px;
    margin-top: 62px;
    padding: 19px 16px;
  }

  .principles-index {
    display: none;
  }

  .principles h2 {
    font-size: 17px;
  }

  .principles p:last-child {
    font-size: 9px;
  }

  .footer {
    min-height: 82px;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 57px;
    padding: 17px 0;
    font-size: 7px;
  }

  .footer p {
    order: 3;
    width: 100%;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
