/* Morrow-inspired depth; Hookwell's mark, type and physical interaction remain. */
:root {
  --paper: #0d0e10;
  --ink: #f4f4ef;
  --muted: #969aa2;
  --line: #2b2d33;
  --blue: #d9f36a;
  --night: #0d0e10;
  --panel: #151619;
  --inset: #202125;
  --accent: #d9f36a;
  --secondary: #969aa2;
}
body {
  background: var(--night);
  color: var(--ink);
}
h1,
h2,
h3,
h4 {
  color: var(--ink) !important;
}
.muted {
  color: #8b9182;
}
.eyebrow {
  color: #aeb89c !important;
}
.button,
.button.dark,
.button.primary,
.hero-actions .button,
.builder-bottom .dark {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #10120b;
  border-radius: 999px;
  box-shadow: none;
}
.button:hover,
.button.dark:hover,
.button.primary:hover,
.hero-actions .button:hover {
  background: #e4ff84;
  border-color: #e4ff84;
  color: #10120b;
  box-shadow: none;
}
.button.outline,
.button.white {
  background: #1a1c20;
  border-color: #32353b;
  color: #f1f2eb;
}
.button.outline:hover,
.button.white:hover {
  background: #272a2e;
  border-color: #4b5144;
  color: #f1f2eb;
}
.button:disabled {
  opacity: 0.45;
}
.quiet-link,
.text-link {
  color: #b9d181;
}
.is-error {
  color: #ff9c86 !important;
}
.header {
  height: 78px;
  background: #0d0e10ed;
  border-bottom: 1px solid #24272b;
  box-shadow: none;
  backdrop-filter: blur(16px);
  padding: 0 var(--gutter);
  gap: 24px;
}
.header.is-scrolled {
  background: #0d0e10f7;
  box-shadow: 0 1px 0 #25282d;
}
.brand {
  color: #f4f4ef;
  font-size: 29px;
  letter-spacing: -1.3px;
  gap: 10px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.header nav {
  gap: 4px;
  font-size: 13px;
}
.header nav > a,
.header nav > button {
  padding: 10px 14px;
  border-radius: 999px;
  color: #9da29b;
  line-height: 1.2;
}
.header nav > a:after {
  display: none;
}
.header nav > a:hover,
.header nav > button:hover {
  background: #181a1e;
  color: #f4f4ef;
}
.header nav > a[aria-current="location"] {
  background: #23252a;
  color: #f4f4ef;
}
.header-actions {
  gap: 9px;
}
.header-actions .white {
  background: #16181c;
  color: #d9ded0;
  border-color: #2b2f34;
  border-radius: 999px;
  min-height: 40px;
  padding: 12px 18px;
  font-size: 12px;
}
.wallet {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1007;
  border-radius: 999px;
  font-size: 12px;
  min-height: 40px;
  padding: 11px 17px;
}
.wallet:hover {
  background: #e4ff84;
}
.wallet-icon {
  border-color: #283415;
}
.wallet-icon:after {
  background: #283415;
}
.hero {
  height: max(940px, 100svh);
  min-height: 940px;
  max-height: 1100px;
  background:
    radial-gradient(ellipse at 78% 42%, #a9be2e10, transparent 53%), #0d0e10;
}
.hero-copy {
  padding-top: 120px;
  padding-bottom: 135px;
  width: 53%;
}
.hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 27px;
  color: #c3d29e !important;
}
.rh-mark {
  color: var(--accent);
}
.hero h1 {
  font-size: clamp(82px, 7.4vw, 124px);
  line-height: 1.01;
  letter-spacing: -0.067em;
}
.hero-copy > p {
  font-size: 18px;
  line-height: 1.65;
  color: #a4aa9d;
  max-width: 420px;
  margin: 24px 0;
}
.hero-actions {
  margin-top: 18px;
  gap: 24px;
}
.hero-actions .button.primary {
  background: transparent;
  border: 1px solid #454b3b;
  color: #e1ebd3;
  padding: 12px 18px;
  min-height: 43px;
  font-size: 12px;
}
.hero-actions .button.primary:hover {
  background: #20261a;
  border-color: #8aa762;
}
.hero-actions .text-link {
  font-size: 12px;
  color: #aeb6a0;
}
.hero-copy > .hero-scope {
  font-size: 10px;
  color: #909986;
  margin-top: 17px;
  max-width: 410px;
}
.hero-meta {
  font-size: 10px;
  color: #929b87;
  margin-top: 16px;
}
.chain-number {
  color: #929b87;
}
.meta-divider {
  background: #3c4434;
}
.scene-shell {
  top: 80px;
  bottom: 115px;
  left: 45%;
  right: -7%;
  overflow: visible;
}
.scene-shell::before {
  display: block;
  content: "";
  inset: 16% 5% 18% 10%;
  background: radial-gradient(ellipse, #d9f36a13, transparent 68%);
  filter: blur(35px);
}
.scene-hint {
  background: #0d0e10d9;
  color: #9ba98a;
  padding: 8px 0;
  border-top: 1px solid #343e2922;
}
.scene-hint button {
  color: #d2e4b0;
}
.stage-label #edit-channel {
  color: #d9f36a;
  border-color: #586a38;
  background: #13190e;
}
.scene-handle:hover {
  box-shadow: 0 0 0 2px #d9f36a30;
}
.scene-handle:after {
  background: #171b13;
  color: #e1eccf;
  border-color: #3b4930;
}
.hero-bottom {
  border-color: #2d3426;
  background: #0d0e10bb;
}
.channel-copy b {
  color: #eef2e5;
}
.channel-copy > span {
  color: #89947d;
}
.hero-channel .channel-state {
  color: #9ca98c;
}
.hero-channel[aria-pressed="true"] .channel-state {
  color: #d9f36a;
}
.hero-channel:hover .channel-copy b {
  text-decoration-color: #d9f36a;
}
.channel-green {
  color: #a8d078;
}
.channel-orange {
  color: #dfa16a;
}
.channel-blue {
  color: #758dff;
}
.hero-token-form {
  pointer-events: auto;
  width: 100%;
  max-width: 490px;
  background: #16181ce8;
  border: 1px solid #30352a;
  border-radius: 17px;
  padding: 17px 18px;
  box-shadow: 0 16px 48px #0002;
}
.hero-token-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #e4ecd6;
  margin-bottom: 12px;
}
.hero-live-dot {
  height: 6px;
  width: 6px;
  background: #bee876;
  box-shadow: 0 0 8px #bff27933;
  border-radius: 50%;
}
.hero-token-entry {
  display: flex;
  gap: 9px;
  align-items: center;
}
.hero-token-entry input {
  background: #202327;
  border: 1px solid #34392e;
  border-radius: 10px;
  min-width: 0;
  width: 100%;
  height: 46px;
  padding: 12px;
  color: #f4f4ef;
  font: inherit;
  font-size: 12px;
}
.hero-token-entry input::placeholder {
  color: #858b81;
}
.hero-token-entry input:focus {
  outline: 2px solid #d9f36a;
  outline-offset: 2px;
}
.hero-token-entry input[aria-invalid="true"] {
  border-color: #dc866f;
}
.hero-token-entry .button {
  flex-shrink: 0;
  min-height: 46px;
  padding: 12px 17px;
  font-size: 12px;
  white-space: nowrap;
}
.hero-token-form > p {
  font-size: 10px;
  line-height: 1.65;
  color: #9da88e;
  margin: 11px 0 0;
  min-height: 16px;
}
.revenue-product {
  background: #111315;
  border-top: 1px solid #292d26;
  border-bottom: 1px solid #25292b;
  border-radius: 26px 26px 0 0;
  padding-top: 75px;
  padding-bottom: 75px;
}
.product-heading .product-intro p {
  color: #a4ad98;
}
.account-strip {
  border-color: #30362b;
  color: #a3ae97;
}
.account-strip .quiet-link {
  color: #d2e5b0;
}
.product-notice {
  color: #a4b593;
}
.workspace-shell {
  background: #151719;
  border: 1px solid #2e342a;
  box-shadow: 0 22px 70px #0002;
  border-radius: 18px;
}
.workspace-tabs {
  background: #121416;
  border-color: #2b3027;
}
.workspace-tabs button {
  color: #a0ac93;
  background: transparent;
  border-radius: 9px;
}
.workspace-tabs button[aria-selected="true"] {
  background: #242b1d;
  color: #e7f2d7;
}
.workspace-tabs button[aria-selected="true"]:before {
  background: #d9f36a;
}
.workspace-tabs button:before {
  background: #536047;
}
.workspace-tabs small {
  color: #93a17f;
}
#build-workspace {
  background: transparent;
}
#build-workspace .connection-editor {
  background: transparent;
}
.instrument-heading p,
.connection-editor .fine-print {
  color: #9aa68b;
}
.connection-editor label,
.pons-entry label {
  color: #a6b394;
}
.connection-editor input,
.connection-editor select {
  background: #202427;
  border-color: #39432f;
  color: #eef3e7;
  border-radius: 8px;
}
.connection-editor input:focus,
.connection-editor select:focus {
  outline-color: #d9f36a;
}
.live-recipient input[aria-invalid="true"] {
  background: #2b211e;
  border-color: #c17e64;
}
.recipient-head {
  color: #93a380;
}
.recipient-validation {
  color: #a2b58e;
}
.recipient-hint {
  color: #b5d48f;
}
.share-input span:not(.sr-only) {
  color: #a3b58e;
}
.share-total {
  border-color: #34402b;
  color: #afc29a;
}
.share-total b {
  color: #d9f36a;
}
.editor-shortcuts .quiet-link {
  color: #c5daa6;
}
.server-library {
  border-color: #303a28;
}
.server-library .quiet-link {
  color: #d9f36a;
}
#server-rules > p,
#pons-saved > p {
  color: #9daa8c;
}
.server-rule {
  color: #e1e9d4;
  border-color: #35412c;
}
.server-rule small {
  color: #94a77f;
}
.server-rule:hover {
  background: #20271b;
}
.connection-actions .button {
  font-size: 12px;
}
.allocation-studio {
  background: #191e18;
  border-color: #323c28;
  color: #f1f5eb;
}
.allocation-studio-top {
  color: #b4c89a;
}
.allocation-studio > p {
  color: #9eb18b;
}
.allocation-source {
  border-color: #39462e;
}
.allocation-source label {
  color: #9fb38a;
}
.allocation-source input {
  color: #e7f6cc;
}
.allocation-source span {
  color: #9db383;
}
.allocation-output {
  border-color: #35432c;
}
.allocation-output span {
  color: #bdcfa7;
}
.allocation-output strong {
  color: #eff7e4;
}
.allocation-output small {
  color: #9db586;
}
.allocation-strip i {
  background: #d9f36a;
}
.allocation-strip .output-1 {
  background: #88a965;
}
.allocation-strip .output-2 {
  background: #506b3b;
}
.allocation-studio .preview-note {
  color: #9caf89;
}
.share-presets {
  border-color: #35442b;
}
.share-presets > span {
  color: #a9be94;
}
.share-presets button {
  color: #c0d4a8;
  border-color: #465a36;
  background: transparent;
}
.share-presets button:hover {
  background: #2a3722;
}
.share-presets button[aria-pressed="true"] {
  background: #d9f36a;
  color: #17200c;
  border-color: #d9f36a;
}
.studio-readiness > div {
  color: #c6dbb0;
}
.studio-readiness b {
  color: #d9f36a;
}
.studio-readiness ul {
  color: #93a980;
}
.studio-readiness li[data-ready="true"] {
  color: #d4e8ba;
}
.studio-readiness li > span {
  color: #b4d58e;
}
.studio-footer {
  border-color: #35442b;
  color: #9aaf86;
}
.release-boundary {
  color: #a9b698;
}
.product-tag {
  background: #29361f;
  color: #c4dda2;
  border: 1px solid #3c512c;
  border-radius: 999px;
  padding: 5px 9px;
}
.sandbox-tag {
  background: transparent;
  color: #aeb59f;
  border-color: #3e4635;
}
.release-boundary p {
  color: #93a382;
}
.pons-workspace.workspace-panel {
  background: transparent;
}
.pons-workspace-heading p:not(.eyebrow) {
  color: #a5b493;
}
.pons-result {
  border-color: #34402c;
}
.pons-entry input {
  background: #202427;
  border-color: #3b4731;
  color: #edf4e3;
}
.pons-entry label {
  color: #afc19a;
}
.pons-entry h4 {
  color: #dce8ca;
}
.pons-entry #pons-status {
  color: #a5bc8e;
}
.pons-token-heading h4 span {
  color: #a2ba89;
}
.pons-symbol {
  background: #24341d;
  color: #dcf3bc;
  border-color: #536a3a;
}
.pons-token-heading p,
.pons-explanation,
.pons-more,
.pons-more p,
.pons-ledger span,
.pons-balances small,
.pons-balances span,
.pons-route small,
.pons-route a {
  color: #adc196;
}
.pons-token-heading a,
.pons-result a,
.pons-route a {
  color: #d4ecad;
}
.pons-route,
.pons-balances,
.pons-ledger,
.pons-recover {
  border-color: #3b4a30;
}
.pons-balances b {
  color: #ebf7dc;
}
.pons-cable {
  background: #60784b;
}
.pons-cable.is-connected {
  background: #d9f36a;
}
.pons-empty {
  color: #9fb38c;
}
.pons-empty .mini-port {
  color: #93bb68;
}
.pons-empty h4 {
  color: #dcebd0;
}
.pons-empty-wire {
  border-color: #698950;
}
.pons-more summary,
.pons-recover summary {
  color: #c2d6a7;
}
.pons-more .button {
  color: #dcf3be;
}
.pons-warning {
  background: #33291c;
  color: #efd3a2;
  border-color: #695537;
}
#connections-workspace .connection-monitor {
  background: transparent;
  color: #f0f4e9;
}
.connection-monitor .instrument-heading p,
.split-list > p,
.split-choice small,
.split-choice > span:last-child {
  color: #a5b494;
}
.split-choice {
  background: #1b2319;
  color: #e1edd4;
  border-color: #3d4d31;
  border-radius: 10px;
}
.split-choice.active {
  border-color: #d9f36a;
}
.connection-empty p {
  color: #a5b993;
}
.connection-empty rect {
  fill: #1d2a17;
}
.connection-empty .button {
  color: #d9f36a;
}
.connection-monitor .quiet-link,
.monitor-refresh,
.contract-address button,
.activity-list a,
.receipt-heading a {
  color: #d9f36a;
}
.contract-address,
.contract-address a {
  color: #ecf4df;
}
.verified-connection,
.verified-connection > div > span:last-child,
.connection-metrics small,
.connection-metrics span,
.live-allocations span:not(.allocation-wire),
.fund-connection label,
.fund-connection small,
.history-scope,
.activity-list > p {
  color: #9eb58a;
}
.verified-connection,
.connection-metrics,
.live-allocations > div,
.token-drawer,
.receipt-heading,
.activity-list > div {
  border-color: #3c4c30;
}
.live-allocations button,
.asset-row button {
  color: #d9f36a;
}
.live-allocations button:disabled,
.asset-row button:disabled {
  color: #667d54;
}
.fund-connection input,
.token-drawer input {
  background: #20291c;
  border-color: #4d6239;
  color: #e9f3d9;
}
.fund-connection .button.dark {
  background: #d9f36a;
  color: #18220c;
}
.token-drawer summary,
.token-drawer p,
.token-drawer a {
  color: #b7cea0;
}
.token-drawer .button {
  color: #d9f36a;
}
.receipt-recovery,
.receipt-recovery p,
.receipt-recovery summary {
  color: #a9c190;
  border-color: #3d4e30;
}
.receipt-recovery input {
  background: #20291c;
  color: #eef8e1;
  border-color: #4c6337;
}
.receipt-recovery .button {
  color: #d9f36a;
}
.how {
  background: #0d0e10;
  color: #f4f4ef;
  border-color: #2a3026;
}
.how-copy > p:not(.eyebrow) {
  color: #9fae92;
}
.flow-amounts legend {
  color: #a4b195;
}
.flow-amounts button {
  color: #b9c9a5;
  background: #171d13;
  border-color: #3c4c2c;
}
.flow-amounts button[aria-pressed="true"],
.flow-actions .button.pale {
  background: #d9f36a;
  border-color: #d9f36a;
  color: #15200b;
}
#use-flow {
  color: #c9e1ab;
  border-color: #607747;
}
#flow-status {
  color: #9eaf8d;
}
.flow-node,
.flow-node.logic {
  background: #171e15;
  border-color: #53683c;
  color: #eaf3dc;
}
.flow-node small {
  color: #9eb38a;
}
.flow-node strong {
  color: #e4f0d1;
}
.flow-node.logic .mini-port {
  color: #bad98f;
}
.flow-casing {
  stroke: #242e1d;
}
.flow-result {
  background: transparent;
  border-color: #3b4d2b;
}
.flow-result > span:not(.flow-socket) {
  color: #b1c79a;
}
.flow-result > small {
  color: #91a57b;
}
.flow-result > b {
  color: #deefc7;
}
.flow-socket {
  background: #314324;
  border-color: #769954;
}
.flow-result.received {
  background: #22311a;
  border-color: #9abd6a;
}
.flow-result.received:after {
  color: #d9f36a;
}
.flow-receipt {
  border-color: #38492a;
  color: #b1c899;
}
.flow-receipt > span:last-child {
  color: #abc594;
  border-color: #4a6037;
}
.modules {
  background: #111416;
  border-color: #2b3228;
}
.section-description,
.module-panel > p,
.capabilities p,
.faq-list p {
  color: #a0ad95;
}
.tabs {
  border-color: #343e2c;
}
.tabs button {
  color: #91a27f;
}
.tabs button[aria-selected="true"] {
  color: #e4efce;
  border-color: #d9f36a;
}
.scope,
.module-example small {
  color: #a8ba93;
}
.module-example strong {
  color: #e3f0d1;
}
.module-try {
  color: #d9f36a;
  border-color: #53673c;
}
.module-art {
  background: radial-gradient(ellipse, #acc85b0a, transparent 68%);
}
.physical-rule {
  border-color: #7d8e6a;
  box-shadow:
    3px 7px 0 #2e3d23,
    0 30px 50px #0004;
}
.rule-top {
  color: #5b6f47;
}
#rule-display strong {
  color: #3658ed;
}
.wire-journey {
  border-top: 1px solid #293122;
  border-bottom: 1px solid #293122;
}
.journey-stage,
.journey-copy,
.journey-copy h2 {
  color: #f0f4e8 !important;
}
.journey-copy > p:last-child {
  color: #aab89a;
}
.journey-bottom {
  background: #11160fe8 !important;
  border-color: #40532e;
  color: #bfd4a5;
}
.journey-actions button {
  color: #d9f36a;
  border-color: #657e46;
}
.journey-outcome {
  background: #182314e8;
  border-color: #617d44;
  color: #d3e6bb;
}
.journey-outcome > strong,
.journey-outcome b {
  color: #d9f36a;
}
.builder {
  background: #111713;
  border-color: #303c28;
}
.builder-heading > p,
.control-intro,
.fine-print,
.sidebar-note {
  color: #9bae8d;
}
.workbench {
  background: #171d16;
  border-color: #3a4930;
  box-shadow: none;
}
.workbench-cap {
  background: #151d12;
  border-color: #35462b;
  color: #a6bf90;
}
.builder-sidebar {
  background: #141c11;
  border-color: #35462b;
}
.builder-sidebar label,
.controls label,
.input-label {
  color: #a1b58c;
}
.builder-sidebar .sidebar-note {
  color: #92a87d;
}
.controls {
  background: #1a2216;
}
.controls h3 {
  color: #eef4e6;
}
.number-field,
.controls select {
  background: #202a1b;
  border-color: #435a32;
  color: #e1efd2;
}
.number-field input,
.controls select {
  color: #edf6e0;
}
.view-tabs button {
  color: #a6bd91;
}
.view-tabs button[aria-selected="true"] {
  background: #2c3c22;
  color: #e3f1d0;
}
.calculator {
  background: #162111;
  border-color: #3b502b;
  color: #deedcb;
}
.calculator-heading > span {
  color: #9cb784;
}
.calculator label,
.calculator .input-label,
.calculator .pay-amount > span {
  color: #9fb98b;
}
.calculator .pay-amount input,
.receive-amount {
  color: #e2f2cb !important;
}
.calculator dt {
  color: #9ab383;
}
.calculator dd {
  color: #e4f2d1;
}
.calculator .reserves,
.receipt-divider,
.recipient-receipt > div {
  border-color: #3c522a;
  color: #a4bd8e;
}
.calculator .fine-print {
  color: #96ae82;
}
.calculator .recipient-receipt b {
  color: #d9f36a;
}
.builder-bottom {
  background: #161f12;
  border-color: #374a29;
  color: #a4be8f;
}
.builder-bottom > span,
.draft-tools {
  color: #a5be8e;
}
.recipe-bar {
  border-color: #3a502b;
}
.recipe-bar small {
  color: #95ad7d;
}
.recipe-options button {
  background: transparent;
  color: #b6cba0;
}
.recipe-options button[aria-pressed="true"] {
  background: #26381d;
  color: #ecf4df;
}
.recipe-options button > span {
  color: #91a97b;
}
.builder-wire path {
  stroke: #d9f36a;
}
.token-symbol {
  color: #eef4e5;
}
.token-field {
  border-color: #4b6336;
  background: #24331b;
}
.token-field input {
  color: #ebf6da;
}
.token-field .token-monogram {
  background: #405b2b;
  color: #e0f2bd;
}
.developers,
.faq {
  background: #0d0e10;
  border-color: #2e3c25;
}
.developers > div > p {
  color: #a3b78e;
}
.capabilities article,
.faq-list details {
  border-color: #34462a;
}
.capabilities p {
  color: #9fb58d;
}
.capabilities span {
  color: #abc88f;
}
.faq-list summary {
  color: #e0ebd3;
}
.faq-list p {
  color: #a4b993;
}
.question-wire path,
.question-wire rect {
  stroke: #92af70;
}
.closing,
footer {
  background: #121a0f;
  border-color: #35482a;
}
.closing h2 {
  color: #e7f1d8 !important;
}
.closing .button {
  background: #d9f36a;
  color: #17220b;
}
.footer-brand {
  color: #e6f0d8;
}
.footer-brand small,
footer p,
footer > span {
  color: #9db488;
}
.footer-top,
footer button {
  color: #b7cf9b;
}
.deploy-dialog,
#modal {
  background: #171f14;
  color: #e5f0d8;
  border-color: #50683b;
  box-shadow: 0 35px 140px #0009;
}
.deploy-dialog::backdrop,
#modal::backdrop {
  background: #050804b8;
  backdrop-filter: blur(6px);
}
.deploy-dialog .fine-print,
#modal p,
#modal li {
  color: #afc59a;
}
.dialog-close,
.dialog-close:hover,
#close-modal {
  background: #28391d;
  border-color: #587641;
  color: #d7edba;
}
.review-row,
.review-row code,
.review-row b {
  color: #d5e7bf;
  border-color: #3f5730;
}
.deployment-consent {
  color: #bdd4a4;
}
.deployment-consent input {
  accent-color: #d9f36a;
}
.wallet-option {
  background: #202c19;
  border-color: #485f35;
  color: #e0efcc;
  border-radius: 12px;
}
.wallet-option:hover {
  border-color: #d9f36a;
}
.wallet-option small,
.wallet-steps {
  color: #a6be90;
}
.wallet-option-mark {
  background: #344a25;
  color: #e4f5c7;
}
.wallet-empty {
  background: #21321a;
  color: #b9d49f;
}
.public-token-summary {
  border-color: #435d30;
}
.public-token-heading p,
.public-source-note {
  color: #a4bc8e;
}
.public-token-heading a,
.public-connection-link {
  color: #d9f36a;
}
.public-token-symbol {
  background: #2e4422;
  color: #e4f5ca;
}
.pending-panel {
  background: #242e1b;
  border-color: #8aa359;
  color: #e2efc8;
}
.pending-panel span {
  color: #bed49c;
}
.fixture-note {
  background: #302a19;
  color: #d6c092;
}
#toast {
  background: #d9f36a;
  color: #17210b;
  border-color: #718d47;
}
.draft-name-label {
  color: #afc798;
}
.draft-save-row input {
  background: #27381d;
  border-color: #556f3d;
  color: #e5f3ce;
}
.draft-library article {
  border-color: #4b6237;
}
.draft-library small {
  color: #9cb785;
}
.draft-empty {
  color: #a4bf8e;
}
.public-connection #revenue-product {
  background: #0d0e10;
}
.public-connection .workspace-shell {
  background: #151b13;
  border-color: #3c512d;
}
.public-connection .connection-empty {
  color: #c1d9a9;
}
.skip:focus {
  background: #d9f36a;
  color: #18200e;
}
@media (max-width: 1150px) {
  .header nav {
    gap: 1px;
  }
  .header nav > a,
  .header nav > button {
    font-size: 12px;
    padding: 10px;
  }
  .hero h1 {
    font-size: 8.5vw;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-token-form {
    padding: 15px;
    max-width: 440px;
  }
  .hero-token-entry {
    gap: 7px;
  }
  .hero-token-entry .button {
    padding: 11px 12px;
    font-size: 11px;
  }
  .hero-token-entry input {
    font-size: 11px;
  }
  .hero-copy {
    padding-left: var(--gutter);
    padding-right: 20px;
  }
}
@media (max-width: 900px) {
  .workspace-tabs {
    background: #151c12;
    border-color: #394d2b;
  }
  .workspace-tabs button {
    color: #acc291;
  }
  .workspace-tabs button[aria-selected="true"] {
    background: #2d3d22;
    color: #e3efcf;
  }
}
@media (max-width: 800px) {
  .header {
    height: 72px;
    padding: 0 24px;
    background: #0d0e10f2;
  }
  .brand {
    font-size: 25px;
    gap: 8px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .wallet {
    font-size: 11px;
    padding: 10px 12px;
    min-height: 37px;
  }
  .header.menu-open nav {
    background: #181f14;
    border-color: #526b39;
    top: 67px;
    box-shadow: 0 20px 40px #0005;
  }
  .header.menu-open nav > a,
  .header.menu-open nav > button {
    color: #dcebc9;
    border-radius: 8px;
  }
  .header.menu-open nav > a:hover {
    background: #2c3d20;
  }
  #menu-button span {
    background: #d9e7c7;
  }
  .hero {
    height: 1250px;
    min-height: 1250px;
    max-height: none;
  }
  .hero-copy {
    padding: 112px 24px 0;
    width: 100%;
    height: auto;
    justify-content: flex-start;
  }
  .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(64px, 12vw, 90px);
    line-height: 1.01;
  }
  .hero-copy > p {
    font-size: 16px;
    line-height: 1.6;
    margin: 22px 0;
    max-width: 370px;
  }
  .hero-token-form {
    max-width: 500px;
    padding: 16px;
  }
  .hero-token-entry .button {
    padding: 12px 15px;
    font-size: 12px;
  }
  .hero-token-entry input {
    font-size: 12px;
  }
  .hero-token-form label {
    font-size: 12px;
  }
  .hero-token-form > p {
    font-size: 10px;
  }
  .hero-actions {
    margin-top: 18px;
    gap: 22px;
  }
  .hero-actions .button.primary {
    font-size: 12px;
    padding: 11px 15px;
    min-height: 42px;
  }
  .hero-copy > .hero-scope {
    font-size: 10px;
    margin-top: 15px;
    max-width: 365px;
  }
  .hero-meta {
    font-size: 10px;
    margin-top: 14px;
  }
  .scene-shell {
    top: 700px;
    bottom: 110px;
    left: -10%;
    right: -12%;
  }
  .scene-hint {
    left: 16%;
    right: 17%;
    bottom: 12px;
    font-size: 10px;
  }
  .hero-bottom {
    bottom: 12px;
  }
  .hero-channel .channel-state {
    color: #a8ba96;
  }
  .revenue-product {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .revenue-product .product-heading h2 {
    font-size: 44px;
  }
  .pons-result {
    border-color: #415a2e;
  }
  .allocation-studio {
    border-color: #41582f;
  }
  .journey-copy > p:last-child {
    color: #adbf9b;
  }
  .journey-bottom {
    background: #141d10ed !important;
  }
  .builder-sidebar {
    border-color: #3d542e;
  }
  .calculator {
    border-color: #405831;
  }
  .closing .button {
    color: #17220b;
  }
  footer,
  footer p {
    color: #9fba88;
  }
}
@media (max-width: 600px) {
  .hero {
    height: 1260px;
    min-height: 1260px;
  }
  .hero h1 {
    font-size: 18.5vw;
  }
  .hero-copy > p {
    font-size: 15px;
    max-width: 330px;
  }
  .hero-token-entry input {
    height: 44px;
    padding: 11px 10px;
    font-size: 11px;
  }
  .hero-token-entry .button {
    min-height: 44px;
    font-size: 11px;
    padding: 11px 13px;
  }
  .hero-token-form {
    padding: 15px;
  }
  .scene-shell {
    top: 710px;
    bottom: 100px;
    left: -17%;
    right: -18%;
  }
  .channel-copy b {
    font-size: 11px;
  }
  .hero-token-form > p {
    min-height: 16px;
  }
  .wallet-icon {
    display: none;
  }
  .header {
    gap: 10px;
  }
  .journey-outcome {
    background: #172512eb;
  }
}

/* Neutral graphite surfaces, with color reserved for actions and cable channels. */
body.night-theme
  :is(.revenue-product, .modules, .builder, .developers, .faq, .how) {
  background: #101113;
  border-color: #292b30;
}
body.night-theme
  :is(.workspace-shell, .pons-workspace.workspace-panel, .connection-monitor) {
  background: #151619;
  border-color: #303238;
}
body.night-theme
  :is(.workspace-tabs, .builder-sidebar, .workbench-cap, .builder-bottom) {
  background: #121416;
  border-color: #2c2f34;
}
body.night-theme :is(.connection-editor, .controls, .workbench) {
  background: #16181b;
  border-color: #303238;
}
body.night-theme :is(.allocation-studio, .calculator) {
  background: #1b1d21;
  border-color: #303339;
}
body.night-theme
  :is(
    .connection-editor input,
    .connection-editor select,
    .pons-entry input,
    .fund-connection input,
    .token-drawer input,
    .receipt-recovery input,
    .number-field,
    .controls select,
    .draft-save-row input
  ) {
  background: #222429;
  border-color: #3a3d44;
  color: #f0f1ed;
}
body.night-theme
  :is(
    .workspace-tabs button[aria-selected="true"],
    .view-tabs button[aria-selected="true"],
    .split-choice,
    .recipe-options button[aria-pressed="true"]
  ) {
  background: #25282d;
  color: #f0f2e9;
  border-color: #42473b;
}
body.night-theme
  :is(.hero-token-form, .wallet-option, .wallet-empty, .deploy-dialog, #modal) {
  background: #17191d;
  border-color: #34373f;
}
body.night-theme :is(.closing, footer) {
  background: #111315;
  border-color: #2d3035;
}
body.night-theme
  :is(
    .product-heading .product-intro p,
    .account-strip,
    .product-notice,
    .instrument-heading p,
    .connection-editor label,
    .connection-editor .fine-print,
    .recipient-head,
    .recipient-validation,
    .server-rule small,
    .allocation-studio-top,
    .allocation-studio > p,
    .allocation-source label,
    .allocation-source span,
    .allocation-output span,
    .allocation-output small,
    .allocation-studio .preview-note,
    .studio-footer,
    .pons-workspace-heading p:not(.eyebrow),
    .pons-entry label,
    .pons-token-heading p,
    .pons-route small,
    .pons-balances small,
    .pons-balances span,
    .pons-explanation,
    .pons-more p,
    .pons-ledger span,
    .history-scope,
    .activity-list > p,
    .split-list > p,
    .verified-connection,
    .connection-metrics small,
    .connection-metrics span,
    .live-allocations span:not(.allocation-wire),
    .fund-connection label,
    .fund-connection small,
    .control-intro,
    .fine-print,
    .sidebar-note,
    .controls label,
    .builder-sidebar label,
    .input-label,
    .calculator label,
    .calculator .input-label,
    .calculator dt,
    .calculator .fine-print,
    .builder-heading > p,
    .section-description,
    .module-panel > p,
    .module-example small,
    .capabilities p,
    .faq-list p,
    .developers > div > p,
    footer p,
    footer > span,
    .footer-brand small
  ) {
  color: #a1a5ad;
}
body.night-theme
  :is(
    .allocation-output strong,
    .allocation-source input,
    .contract-address,
    .contract-address a,
    .calculator dd,
    .calculator .pay-amount input
  ) {
  color: #f0f2eb;
}
body.night-theme
  :is(
    .account-strip,
    .share-total,
    .server-library,
    .allocation-source,
    .allocation-output,
    .share-presets,
    .studio-footer,
    .pons-result,
    .pons-route,
    .pons-balances,
    .pons-ledger,
    .pons-more,
    .receipt-recovery,
    .verified-connection,
    .connection-metrics,
    .live-allocations > div,
    .token-drawer,
    .receipt-heading,
    .activity-list > div,
    .recipe-bar,
    .recipe-options,
    .calculator .reserves,
    .receipt-divider,
    .capabilities article,
    .faq-list details
  ) {
  border-color: #34373d;
}
body.night-theme :is(.flow-node, .flow-node.logic) {
  background: #1b1e22;
  border-color: #3b4148;
}
body.night-theme .flow-result {
  background: transparent;
  border-color: #393f46;
}
body.night-theme .flow-result.received {
  background: #252e1c;
  border-color: #8ba657;
}
body.night-theme .journey-bottom {
  background: #111519ed !important;
  border-color: #353d42;
}
body.night-theme .journey-outcome {
  background: #171e21eb;
  border-color: #4b5e45;
}
body.night-theme .header.menu-open nav {
  background: #181b1f;
  border-color: #3c4148;
}
body.night-theme .hero-token-form {
  border-color: #34373d;
}
body.night-theme .hero-token-entry input {
  background: #222429;
  border-color: #3b3e45;
}
body.night-theme .hero-token-entry input[aria-invalid="true"] {
  border-color: #d78771;
}
body.night-theme.public-connection .workspace-shell {
  background: #151619;
}
