/* 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);
}

.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;
}

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

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

.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);
}
