/* Bacon Map — design system (apex baconmap.com)
   Caplifi tokens: ink navy, brass, ice, signal green.
   Product job: vanity identity for agent-readable doors. */

:root {
  --ink: #121724;
  --ink-2: #0c1018;
  --panel: #19203a;
  --panel-2: #1c2540;
  --ice: #d8ebf9;
  --ice-dim: rgba(232, 237, 244, 0.72);
  --ice-faint: rgba(232, 237, 244, 0.48);
  --brass: #b6872a;
  --brass-ink: #8a6420;
  --brass-soft: rgba(182, 135, 42, 0.14);
  --brass-line: rgba(182, 135, 42, 0.42);
  --blue: #0b3a73;
  --blue-line: rgba(11, 58, 115, 0.55);
  --green: #54a936;
  --green-soft: rgba(84, 169, 54, 0.14);
  --green-text: #9fd48a;
  --deny: #c24b3a;
  --disp: "Questrial", "Century Gothic", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  font-weight: 400;
  color: var(--ice);
  background: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(182, 135, 42, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(11, 58, 115, 0.35), transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(84, 169, 54, 0.06), transparent 55%),
    linear-gradient(180deg, #121724 0%, #0e121c 100%);
}

/* Map grain grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(11, 58, 115, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 58, 115, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

a {
  color: var(--green-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: var(--ink);
  padding: 8px 14px;
  z-index: 100;
  font-weight: 600;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(18, 23, 36, 0.78);
  border-bottom: 1px solid rgba(11, 58, 115, 0.45);
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/* Award UX: denser sticky bar once content is under the header */
.site-header.is-scrolled {
  background: rgba(12, 16, 28, 0.94);
  border-bottom-color: rgba(216, 235, 249, 0.14);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
}

.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand .word {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand .name {
  font-family: var(--disp);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.brand .tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.nav-sp {
  flex: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}

.nav a {
  color: var(--ice-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 6px;
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.nav a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.nav a.cta-nav {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 600;
  min-height: 44px;
}

.nav a.cta-nav:hover {
  filter: brightness(1.06);
  color: var(--ink);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(216, 235, 249, 0.25);
  color: var(--ice);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
  }
  .site-header .inner {
    flex-wrap: wrap;
  }
  .nav.is-open {
    display: flex;
  }
}

/* —— Hero —— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.25rem) 1.25rem 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

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

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1rem;
}

.pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--brass-line);
  background: var(--brass-soft);
  color: var(--brass);
}

.pill.green {
  border-color: rgba(84, 169, 54, 0.4);
  background: var(--green-soft);
  color: var(--green-text);
}

.hero h1 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(2.35rem, 5.5vw, 3.45rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: #fff;
}

.hero h1 .em {
  color: var(--brass);
  font-style: normal;
}

.lede {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ice-dim);
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), filter 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
}

.btn-primary:hover {
  filter: brightness(1.07);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ice);
  border-color: rgba(216, 235, 249, 0.28);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: #fff;
}

.btn-brass {
  background: var(--brass);
  color: var(--ink);
}

.btn-brass:hover {
  filter: brightness(1.08);
  color: var(--ink);
}

.trust-line {
  font-size: 0.88rem;
  color: var(--ice-faint);
  margin: 0;
}

.trust-line strong {
  color: var(--ice-dim);
  font-weight: 500;
}

/* Hero visual stack */
.hero-visual {
  position: relative;
}

.hero-art {
  border-radius: var(--radius-lg);
  border: 1px solid var(--brass-line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--ink-2);
}

.hero-art img,
.hero-art svg {
  width: 100%;
  display: block;
}

/* Identity card floating */
.id-card {
  margin-top: -2.5rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, rgba(25, 32, 58, 0.98), rgba(18, 23, 36, 0.98));
  border: 1px solid var(--brass-line);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.id-card .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 8px;
}

.id-card .url-row {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--mono);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #fff;
  flex-wrap: wrap;
}

.id-card .url-row .slug {
  color: var(--green-text);
  border-bottom: 1px dashed rgba(159, 212, 138, 0.45);
  min-width: 3ch;
}

.id-card .url-row .zone {
  color: var(--ice-dim);
}

.id-card .vs {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--ice-faint);
}

.id-card .vs s {
  color: rgba(232, 237, 244, 0.4);
}

/* —— Live preview widget —— */
.preview-band {
  max-width: var(--max);
  margin: 0 auto 1rem;
  padding: 0 1.25rem 2rem;
}

.preview-box {
  background: var(--panel);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: end;
}

@media (max-width: 720px) {
  .preview-box {
    grid-template-columns: 1fr;
  }
}

.preview-box h2 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  color: #fff;
  grid-column: 1 / -1;
}

.preview-box .hint {
  grid-column: 1 / -1;
  margin: 0 0 0.25rem;
  color: var(--ice-faint);
  font-size: 0.9rem;
}

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-faint);
  margin-bottom: 8px;
}

.field .input-wrap {
  display: flex;
  align-items: center;
  background: var(--ink-2);
  border: 1px solid rgba(11, 58, 115, 0.7);
  border-radius: 12px;
  padding: 0 14px;
  min-height: 52px;
  transition: border-color 0.2s;
}

.field .input-wrap:focus-within {
  border-color: var(--brass);
}

.field input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--green-text);
  font-family: var(--mono);
  font-size: 1.05rem;
  padding: 12px 0;
}

.field .suffix {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--ice-faint);
  white-space: nowrap;
}

.out-panel {
  background: var(--ink-2);
  border-radius: 12px;
  border: 1px solid rgba(84, 169, 54, 0.25);
  padding: 14px 16px;
  min-height: 52px;
}

.out-panel .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-text);
  margin: 0 0 6px;
}

.out-panel .v {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: #fff;
  word-break: break-all;
  margin: 0;
}

.out-panel .v.dim {
  color: var(--ice-faint);
  font-size: 0.82rem;
  margin-top: 6px;
}

/* —— Sections —— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1rem;
}

.section h2 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: #fff;
}

.section > .sub {
  color: var(--ice-dim);
  max-width: 36rem;
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 800px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgba(25, 32, 58, 0.92);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--brass-line);
  transform: translateY(-2px);
}

.card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: var(--brass-soft);
  border: 1px solid var(--brass-line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #fff;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ice-dim);
  line-height: 1.5;
}

.card code {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--brass);
}

/* Rule */
.rule {
  margin: 1.75rem 0 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid rgba(84, 169, 54, 0.35);
  border-left: 4px solid var(--green);
}

.rule strong {
  display: block;
  color: var(--green-text);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.rule p {
  margin: 0;
  color: var(--ice-dim);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  counter-reset: st;
}

.steps li {
  counter-increment: st;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(11, 58, 115, 0.4);
  align-items: start;
}

.steps li:last-child {
  border-bottom: 0;
}

.steps .n {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--brass-line);
  background: var(--brass-soft);
  color: var(--brass);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: #fff;
}

.steps p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ice-dim);
}

/* Compare strip */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .compare {
    grid-template-columns: 1fr;
  }
  .compare .vs-badge {
    justify-self: center;
  }
}

.compare .col {
  border-radius: var(--radius);
  padding: 20px 18px;
  border: 1px solid var(--blue-line);
  background: rgba(25, 32, 58, 0.7);
}

.compare .col.win {
  border-color: var(--brass-line);
  background: linear-gradient(160deg, rgba(182, 135, 42, 0.12), rgba(25, 32, 58, 0.95));
}

.compare .col h3 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice-faint);
}

.compare .col.win h3 {
  color: var(--brass);
}

.compare .col .big {
  font-family: var(--mono);
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 10px;
  word-break: break-all;
}

.compare .col.lose .big {
  color: var(--ice-faint);
  text-decoration: line-through;
  text-decoration-color: rgba(194, 75, 58, 0.5);
}

.compare ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ice-dim);
  font-size: 0.88rem;
}

.compare .vs-badge {
  align-self: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brass);
  border: 1px solid var(--brass-line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--brass-soft);
}

/* Door sample */
.door-sample {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 1rem;
}

@media (max-width: 780px) {
  .door-sample {
    grid-template-columns: 1fr;
  }
}

.door-chrome {
  background: var(--ink-2);
  border: 1px solid var(--brass-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.door-chrome .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #161c2c;
  border-bottom: 1px solid rgba(11, 58, 115, 0.5);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ice-faint);
}

.door-chrome .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: #3a4560;
  margin-right: 4px;
}

.door-chrome .dots span:nth-child(1) {
  background: #c24b3a;
}
.door-chrome .dots span:nth-child(2) {
  background: #b6872a;
}
.door-chrome .dots span:nth-child(3) {
  background: #54a936;
}

.door-body {
  padding: 20px 20px 24px;
}

.door-body .pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.door-body h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.25rem;
}

.door-body .handle {
  font-family: var(--mono);
  color: var(--brass);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.seek-box {
  background: rgba(25, 32, 58, 0.9);
  border: 1px solid rgba(11, 58, 115, 0.5);
  border-left: 4px solid var(--brass);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.seek-box h4 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #fff;
}

.seek-box ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ice-dim);
  font-size: 0.88rem;
}

.seek-box .kind {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--brass);
  text-transform: uppercase;
  margin-right: 4px;
}

.door-meta {
  font-size: 0.82rem;
  color: var(--ice-faint);
}

.door-meta a {
  color: var(--green-text);
}

.side-note {
  background: rgba(25, 32, 58, 0.85);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.side-note h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.05rem;
}

.side-note p {
  margin: 0 0 12px;
  color: var(--ice-dim);
  font-size: 0.92rem;
}

.side-note pre {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--ink-2);
  color: var(--ice);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.45;
  overflow-x: auto;
  white-space: pre-wrap;
}

/* Band */
.band {
  margin: 2.5rem 0;
  padding: 2.5rem 0;
  background: linear-gradient(180deg, rgba(182, 135, 42, 0.07), transparent);
  border-top: 1px solid rgba(182, 135, 42, 0.18);
  border-bottom: 1px solid rgba(182, 135, 42, 0.1);
}

/* Protocol thin */
.proto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 700px) {
  .proto {
    grid-template-columns: 1fr;
  }
}

/* CTA close */
.close-cta {
  max-width: var(--max);
  margin: 1rem auto 0;
  padding: 0 1.25rem 3rem;
}

.close-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(84, 169, 54, 0.12), transparent 50%),
    linear-gradient(135deg, #19203a, #121724);
  border: 1px solid var(--brass-line);
  text-align: center;
}

.close-panel h2 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 0.65rem;
  color: #fff;
}

.close-panel p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: var(--ice-dim);
}

.close-panel .cta-row {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid rgba(11, 58, 115, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ice-faint);
}

.site-footer a {
  color: var(--brass);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .by {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer .by img {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

/* Claim page specifics */
.claim-form-note {
  font-size: 0.9rem;
  color: var(--ice-faint);
  margin-top: 1rem;
}

/* —— Cook pass: motion, copy, FAQ, agents —— */
@media (prefers-reduced-motion: no-preference) {
  .id-card {
    animation: floatCard 5.5s ease-in-out infinite;
  }
  .hero-art {
    position: relative;
  }
  .hero-art::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 42%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border-radius: 50%;
    border: 2px solid rgba(84, 169, 54, 0.55);
    animation: pinPulse 2.4s ease-out infinite;
    pointer-events: none;
  }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216, 235, 249, 0.22);
  background: rgba(25, 32, 58, 0.9);
  color: var(--ice-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-copy:hover {
  border-color: var(--brass-line);
  color: #fff;
}

.btn-copy.ok {
  border-color: rgba(84, 169, 54, 0.5);
  color: var(--green-text);
  background: var(--green-soft);
}

.out-panel .row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.out-panel .row-top .k {
  margin: 0;
}

.side-note .copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.faq {
  margin: 0.5rem 0 0;
  border-top: 1px solid rgba(11, 58, 115, 0.45);
}

.faq details {
  border-bottom: 1px solid rgba(11, 58, 115, 0.45);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--brass);
  font-size: 1.1rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.65rem 0 0;
  color: var(--ice-dim);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 40rem;
}

.field textarea {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--green-text);
  font-family: var(--mono);
  font-size: 0.95rem;
  padding: 12px 0;
  resize: vertical;
  min-height: 72px;
}

.field .input-wrap.tall {
  min-height: 96px;
  align-items: flex-start;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* Agents page prose */
.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 2rem;
}

.prose pre {
  margin: 0.75rem 0 1.25rem;
  padding: 16px;
  border-radius: 12px;
  background: var(--ink-2);
  border: 1px solid var(--blue-line);
  color: var(--ice);
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-x: auto;
}

.prose ul {
  color: var(--ice-dim);
  padding-left: 1.2rem;
}

.prose li {
  margin: 0.35rem 0;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--brass);
}

/* —— Agent-first landing (2026-07-16 high-agency work face) —— */
.mono-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-faint);
}

.agent-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}

.agent-strip-inner {
  border-radius: var(--radius);
  border: 1px solid rgba(84, 169, 54, 0.35);
  background: linear-gradient(135deg, rgba(84, 169, 54, 0.08), rgba(18, 23, 36, 0.95));
  padding: 14px 16px 16px;
}

.agent-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(84, 169, 54, 0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .pulse-dot {
    animation: livePulse 1.8s ease-out infinite;
  }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(84, 169, 54, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(84, 169, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(84, 169, 54, 0); }
}

.agent-status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green-text);
  margin-left: auto;
}

.agent-status.is-live {
  color: var(--green-text);
}

.agent-endpoints {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 820px) {
  .agent-endpoints {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .agent-endpoints {
    grid-template-columns: 1fr;
  }
}

.agent-endpoints .ep {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 58, 115, 0.55);
  background: rgba(12, 16, 24, 0.75);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.agent-endpoints .ep:hover {
  border-color: var(--brass-line);
  transform: translateY(-1px);
  color: inherit;
}

.agent-endpoints .ep code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--green-text);
}

.agent-endpoints .ep span {
  font-size: 0.78rem;
  color: var(--ice-faint);
}

.agent-fail {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--ice-dim);
  line-height: 1.45;
}

.agent-fail code {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--brass);
}

.hero-work {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

/* Work ticker (dynamic hero visual) */
.work-ticker {
  border-radius: var(--radius-lg);
  border: 1px solid var(--brass-line);
  background: linear-gradient(160deg, rgba(25, 32, 58, 0.98), rgba(12, 16, 24, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.work-ticker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(11, 58, 115, 0.5);
  background: rgba(18, 23, 36, 0.9);
}

.ticker-clock {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brass);
  letter-spacing: 0.06em;
}

.work-ticker-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.work-ticker-list li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

@media (max-width: 520px) {
  .work-ticker-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.work-ticker-list li.is-hot {
  border-color: rgba(84, 169, 54, 0.4);
  background: rgba(84, 169, 54, 0.08);
}

.work-ticker-list .lane {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.work-ticker-list li.is-hot .lane {
  color: var(--green-text);
}

.work-ticker-list .lane-desc {
  font-size: 0.88rem;
  color: var(--ice-dim);
  line-height: 1.4;
}

/* Frontier work cards */
.frontier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 760px) {
  .frontier-grid {
    grid-template-columns: 1fr;
  }
}

.frontier-card {
  background: rgba(25, 32, 58, 0.92);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.frontier-card:hover {
  border-color: var(--brass-line);
  transform: translateY(-2px);
}

.frontier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.frontier-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.12em;
}

.frontier-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #fff;
}

.frontier-card p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--ice-dim);
  line-height: 1.5;
}

.frontier-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.frontier-tags li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(182, 135, 42, 0.35);
  color: var(--brass);
  background: var(--brass-soft);
}

/* Live seeks board */
.live-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.live-head h2 {
  margin-bottom: 0.35rem;
}

.live-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.seeks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 720px) {
  .seeks-grid {
    grid-template-columns: 1fr;
  }
}

.seek-live {
  border-radius: var(--radius);
  border: 1px solid var(--blue-line);
  background: rgba(25, 32, 58, 0.88);
  padding: 16px 16px 18px;
  transition: border-color 0.2s;
}

.seek-live.pri-hi {
  border-color: rgba(84, 169, 54, 0.4);
  background: linear-gradient(160deg, rgba(84, 169, 54, 0.08), rgba(25, 32, 58, 0.95));
}

.seek-live:hover {
  border-color: var(--brass-line);
}

.seek-live-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.seek-live .kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.seek-live .pri {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-faint);
}

.seek-live.pri-hi .pri {
  color: var(--green-text);
}

.seek-live p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ice);
  line-height: 1.45;
}

.not-seeking {
  margin: 1.25rem 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(194, 75, 58, 0.28);
  background: rgba(194, 75, 58, 0.06);
  font-size: 0.88rem;
  color: var(--ice-dim);
  line-height: 1.45;
}

.not-seeking strong {
  color: #e8a39a;
  font-weight: 600;
}

/* —— Camelot named product on baconmap (2026-07-16) —— */
.camelot-band {
  padding-top: 1.5rem;
}

.camelot-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brass-line);
  background:
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(182, 135, 42, 0.14), transparent 55%),
    linear-gradient(145deg, rgba(25, 32, 58, 0.98), rgba(12, 16, 24, 0.98));
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: var(--shadow);
}

@media (max-width: 820px) {
  .camelot-panel {
    grid-template-columns: 1fr;
  }
}

.camelot-panel h2 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: #fff;
}

.camelot-points {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--ice-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}

.camelot-points li {
  margin-bottom: 0.45rem;
}

.camelot-points strong {
  color: var(--ice);
  font-weight: 600;
}

.camelot-points code {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--brass);
}

.camelot-knock {
  background: var(--ink-2);
  border: 1px solid rgba(11, 58, 115, 0.55);
  border-radius: var(--radius);
  padding: 16px;
}

.camelot-knock pre {
  margin: 10px 0 12px;
  padding: 12px;
  border-radius: 12px;
  background: #0a0e16;
  color: var(--ice);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.45;
  overflow-x: auto;
  white-space: pre-wrap;
  border: 1px solid rgba(84, 169, 54, 0.2);
}

.frontier-featured {
  border-color: var(--brass-line);
  background: linear-gradient(160deg, rgba(182, 135, 42, 0.12), rgba(25, 32, 58, 0.95));
}

.door-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.door-tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216, 235, 249, 0.22);
  background: transparent;
  color: var(--ice-dim);
  cursor: pointer;
}

.door-tab.is-on {
  border-color: rgba(84, 169, 54, 0.45);
  background: var(--green-soft);
  color: var(--green-text);
}

.dual-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 1rem 0 1.5rem;
}

@media (max-width: 640px) {
  .dual-doors {
    grid-template-columns: 1fr;
  }
}

.dual-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--blue-line);
  background: rgba(25, 32, 58, 0.9);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}

.dual-card:hover {
  border-color: var(--brass-line);
  transform: translateY(-2px);
  color: inherit;
}

.dual-card.dual-hot {
  border-color: var(--brass-line);
  background: linear-gradient(160deg, rgba(182, 135, 42, 0.14), rgba(25, 32, 58, 0.95));
}

.dual-card strong {
  font-family: var(--mono);
  font-size: 1rem;
  color: #fff;
}

.dual-card span:last-child {
  font-size: 0.88rem;
  color: var(--ice-dim);
}

.door-subh {
  font-family: var(--disp);
  font-weight: 400;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 0.75rem;
}
