/* ============================================================
   Architeqt AI — Lead Magnets Template Layout
   SMB-validated layout overrides. No borders anywhere.
   Loaded alongside anthropic.css on every /magnets/:slug route.
   ============================================================ */

/* ─── Body / page card ─────────────────────────────────────── */
body { background: #edeae3; }

.page-card {
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── Nav override — align to page-card width ─────────────── */
.site-nav .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .site-nav .container { padding: 0 20px; } }

/* ─── Section backgrounds ──────────────────────────────────── */
.section-base,
.section-raised,
.section-oat,
.hero-section { display: block; width: 100%; }

.section-base   { background: #faf9f5; }
.section-raised { background: #f0eee6; }
.section-oat    { background: #e3dacc; }
.hero-section   { background: #faf9f5; }

/* ─── Wrap — horizontal padding only inside page-card ─────── */
.wrap {
  max-width: none;
  margin: 0;
  padding: 0 40px;
}
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* Section vertical padding — longhand to preserve wrap's horizontal */
.sp { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 768px) { .sp { padding-top: 40px; padding-bottom: 40px; } }

/* ─── Hero two-column grid ─────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 72px 0 48px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 3fr 2fr;
    align-items: start;
    padding: 88px 0 56px;
  }
}

/* ─── Keyword tag (clay, sans caps) ───────────────────────── */
.keyword {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: 16px;
}

/* ─── Hero subtitle ────────────────────────────────────────── */
.hero-sub {
  font-family: var(--sans);
  font-size: var(--t-base);
  color: var(--muted);
  line-height: 1.7;
  max-width: 460px;
  margin-top: 12px;
}

/* ─── Hero credential cards — serif numbers, no borders ───── */
.hero-creds { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }

.hero-cred {
  background: #f0eee6;
  border-radius: var(--r-md);
  padding: 16px 20px;
}

.hero-cred-num {
  font-family: var(--serif);
  font-size: var(--t-2xl);
  font-weight: 300;
  color: var(--clay);
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-cred-label {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Section label (muted, sans caps) ────────────────────── */
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

/* ─── Row list — automation/benefit items, no borders ─────── */
.row-list { display: flex; flex-direction: column; gap: 8px; }

.row-item {
  padding: 20px;
  border-radius: var(--r-md);
  background: #f0eee6;
  transition: background 0.15s;
}
.section-raised .row-item { background: #faf9f5; }
.row-item:hover { background: var(--oat); }

.row-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.row-title {
  font-family: var(--serif);
  font-size: var(--t-base);
  font-weight: 400;
  color: var(--dark);
  flex: 1;
}

.row-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  align-self: flex-start;
  white-space: nowrap;
}
.tag-high { color: var(--clay); background: rgba(217,119,87,0.12); }
.tag-med  { color: var(--dark-lt); background: var(--oat); }

.row-sub {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Prompt grid — 2-col, full-width override ─────────────── */
.prompt-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  max-width: none;
}
@media (min-width: 768px) { .prompt-list { grid-template-columns: repeat(2, 1fr); } }

.prompt-card {
  background: #faf9f5;
  border-radius: var(--r-md);
  padding: 20px;
}
.section-raised .prompt-card { background: #faf9f5; }

.prompt-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--clay);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.prompt-text {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--dark);
  line-height: 1.75;
  background: #e3dacc;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 10px;
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
}

.prompt-note {
  font-family: var(--sans);
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.5;
}

/* ─── MCP copy block — full section width, no borders ─────── */
.mcp-copy-block {
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: 40px;
  margin: 32px 0;
  width: 100%;
  max-width: 9999px;
  box-sizing: border-box;
}

.mcp-copy-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: 16px;
}

.mcp-copy-text {
  font-family: var(--sans);
  font-size: 12px;
  color: #b0aea5;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  margin: 0;
}

/* ─── Quote block ──────────────────────────────────────────── */
.quote-block {
  background: #e3dacc;
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin: 28px 0;
}

.quote-text {
  font-family: var(--serif);
  font-size: var(--t-xl);
  color: var(--dark);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 12px;
}

.quote-source {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
}

/* ─── CTA strip ────────────────────────────────────────────── */
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 0;
}
@media (min-width: 640px) {
  .cta-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.cta-text h3 { margin-bottom: 12px; }
.cta-text p {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: var(--muted);
  max-width: 400px;
  line-height: 1.6;
}

.cta-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
@media (min-width: 640px) { .cta-right { align-items: flex-end; } }

.cta-sub {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
}

/* ─── ROI Calculator layout ────────────────────────────────── */
.hero-area {
  padding: 52px var(--side-pad-sm) var(--sp-8);
}
@media (min-width: 768px) { .hero-area { padding: 72px var(--side-pad) var(--sp-8); } }

.calc-wrap {
  padding: 0 var(--side-pad-sm) var(--sec-pad);
}
@media (min-width: 768px) { .calc-wrap { padding: 0 var(--side-pad) var(--sec-pad); } }

.calc-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  max-width: 960px;
}
@media (min-width: 900px) {
  .calc-cols { grid-template-columns: 1fr 1fr; align-items: start; }
}

.outputs-col { position: sticky; top: 70px; }

.inputs-title {
  font-family: var(--serif);
  font-size: var(--t-xl);
  color: var(--dark);
  margin-bottom: var(--sp-8);
}

.output-section-label {
  font-family: var(--sans);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: var(--sp-3);
}

.big-number {
  font-family: var(--sans);
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  display: block;
  margin-bottom: var(--sp-1);
}
.big-number--clay { color: var(--clay); }

.number-sub {
  font-size: var(--t-sm);
  color: var(--muted);
  display: block;
  margin-bottom: var(--sp-6);
}

.payback-row {
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.payback-label {
  font-family: var(--sans);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: var(--sp-1);
}
.payback-value {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--ivory);
}
.payback-note {
  font-size: var(--t-xs);
  color: var(--muted);
  max-width: 160px;
  line-height: 1.4;
}

.chart-section {
  background: var(--bg-raised);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-top: var(--sp-5);
}
.chart-title {
  font-family: var(--sans);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: var(--sp-4);
}

/* Context strip */
.context-strip {
  padding: var(--sec-pad-sm) var(--side-pad-sm);
  background: var(--bg-raised);
}
@media (min-width: 768px) { .context-strip { padding: var(--sec-pad) var(--side-pad); } }

.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (min-width: 900px) { .context-grid { grid-template-columns: repeat(4, 1fr); } }

.context-card {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.context-num {
  font-family: var(--serif);
  font-size: var(--t-3xl);
  color: var(--clay);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.context-desc {
  font-size: var(--t-sm);
  color: var(--dark-lt);
  line-height: 1.55;
}

/* ─── Capture card — dark, full-bleed photo + dark form ───── */
.capture-card {
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
@media (max-width: 768px) {
  .capture-card { grid-template-columns: 1fr; min-height: auto; }
}

/* Photo side — full cover, gradient bleeds right into dark panel */
.cfb-photo {
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .cfb-photo { display: none; } }

.cfb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.cfb-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20,20,19,0) 20%, rgba(20,20,19,0.5) 60%, rgba(20,20,19,1) 100%),
    linear-gradient(to top, rgba(20,20,19,0.6) 0%, rgba(20,20,19,0) 40%);
}

/* Caption pill over photo */
.cfb-caption {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  background: rgba(20,20,19,0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 14px 18px;
}

.cfb-caption-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: 8px;
}

.cfb-caption p {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: #faf9f5;
  line-height: 1.35;
  max-width: 210px;
}

/* Dark form panel */
.cfb-form {
  background: var(--dark);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) { .cfb-form { padding: 36px 24px; } }

.cfb-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: 12px;
}

.cfb-form h3 {
  color: #faf9f5;
  margin-bottom: 12px;
}

.cfb-desc {
  font-family: var(--sans);
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Labels and inputs in dark panel — no borders, background-only distinction */
.cfb-form .form-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  display: block;
  margin-bottom: 6px;
}

.cfb-form .form-input,
.cfb-form .form-textarea {
  background: rgba(255,255,255,0.07);
  color: #faf9f5;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: var(--t-base);
  width: 100%;
  display: block;
  outline: none;
  transition: background 0.15s;
  -webkit-appearance: none;
  margin-bottom: 12px;
}

.cfb-form .form-input:focus,
.cfb-form .form-textarea:focus {
  background: rgba(255,255,255,0.13);
}

.cfb-form .form-input::placeholder,
.cfb-form .form-textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.cfb-form .form-textarea { resize: none; min-height: 80px; }

/* Submit — ivory on dark */
.cfb-submit {
  display: block;
  width: 100%;
  background: #faf9f5;
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-md);
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s;
}
.cfb-submit:hover { background: #e3dacc; }
.cfb-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Form success in dark panel */
.cfb-form .form-success {
  text-align: center;
  padding: var(--sp-10) var(--sp-4);
}
.cfb-form .form-success-title { color: #faf9f5; }
.cfb-form .form-success-body { color: rgba(255,255,255,0.5); }

/* ─── Footer override ──────────────────────────────────────── */
.site-footer { background: #edeae3; }

/* ─── No monospace anywhere — override anthropic.css ──────── */
.form-label,
.section-tag,
.card-label,
.tag,
.site-footer-links a,
.cta-sub,
.wordmark,
.nav-cta,
.prompt-tag,
.prompt-text,
.mcp-copy-label,
.mcp-copy-text,
.output-section-label,
.chart-title,
.payback-label,
.payback-value,
.payback-note,
.context-card .context-num,
.cfb-label,
.cfb-caption-tag,
.timeline-date-day,
.timeline-date-month,
.timeline-level,
.timeline-price,
.process-num,
.process-day,
.roi-card-label,
.roi-card-value,
.filter-pill,
.band-card .band-label,
.slider-value,
.slider-label,
.answer-btn,
.accomplish-badge-text,
.command-name,
.command-time,
.footer-meta,
.case-source,
.logo-name {
  font-family: var(--sans);
}

/* ─── No italics anywhere ──────────────────────────────────── */
em, i { font-style: normal; }

/* ─── Pulse dot (map near-empty categories) ───────────────── */
@keyframes magnets-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay);
  display: inline-block;
  flex-shrink: 0;
  animation: magnets-pulse 2s ease-in-out infinite;
}

/* ─── Dark code block (getting-started terminal) ───────────── */
.code-block {
  background: var(--dark);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: #b0aea5;
  line-height: 1.8;
}
.code-block .prompt { color: var(--clay); }
.code-block .out    { color: #faf9f5; }

/* ─── Industry cards (toolkit step 1) ─────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  max-width: 600px;
}
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }

.industry-card {
  background: var(--bg-raised);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}
.industry-card:hover { background: var(--oat); transform: translateY(-2px); }
.industry-card.selected { background: var(--dark); }
.industry-card.selected .ic-name { color: #faf9f5; }
.industry-card.selected .ic-desc { color: #b0aea5; }

.ic-emoji { font-size: 22px; display: block; margin-bottom: var(--sp-2); }
.ic-name  { font-family: var(--serif); font-size: var(--t-lg); color: var(--dark); margin-bottom: var(--sp-1); }
.ic-desc  { font-size: var(--t-xs); color: var(--muted); line-height: 1.4; }

/* ─── Pill multi-select (toolkit step 2) ──────────────────── */
.pill-grid { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-2); }

.pill-option {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: var(--bg-raised);
  color: var(--dark-lt);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.pill-option:hover   { background: var(--oat); color: var(--dark); }
.pill-option.on      { background: var(--dark); color: #faf9f5; }

/* ─── CLAUDE.md output box (toolkit step 3) ───────────────── */
.output-box {
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
  max-width: 760px;
}
.output-label {
  font-family: var(--sans);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}
.output-code {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.75;
  color: #faf9f5;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}
.copy-btn {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--sans);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  color: #b0aea5;
  border-radius: var(--r-sm);
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.copy-btn:hover { background: rgba(255,255,255,0.16); color: #faf9f5; }

/* ─── Category map rows ────────────────────────────────────── */
.cat-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--bg-raised);
  transition: background 0.15s;
}
.cat-row:hover { background: var(--oat); }
.cat-row--opp  { background: rgba(217,119,87,0.07); }
.cat-row--opp:hover { background: rgba(217,119,87,0.13); }

.cat-name {
  font-family: var(--serif);
  font-size: var(--t-base);
  color: var(--dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-sub { font-family: var(--sans); font-size: var(--t-xs); color: var(--muted); }
.cat-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }

.opp-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--r-sm);
}
.opp-low      { color: var(--muted); }
.opp-medium   { color: var(--dark-lt); background: var(--oat); }
.opp-high     { color: var(--dark); background: var(--oat); }
.opp-very-high{ color: var(--clay); background: rgba(217,119,87,0.12); }

/* ─── Ready quiz — answer buttons ─────────────────────────── */
.answer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 440px;
}
@media (min-width: 480px) { .answer-grid { grid-template-columns: repeat(3, 1fr); } }

.answer-btn-ready {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  color: var(--dark-lt);
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.answer-btn-ready .icon { font-size: 22px; }
.answer-btn-ready:hover { background: var(--oat); color: var(--dark); transform: translateY(-2px); }
.answer-btn-ready.sel-yes     { background: var(--dark); color: #faf9f5; }
.answer-btn-ready.sel-partial { background: var(--clay); color: #faf9f5; }
.answer-btn-ready.sel-no      { background: var(--oat); color: var(--dark-md); }

/* ─── Chart bar rows (ready results) ──────────────────────── */
.chart-bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 36px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.chart-bar-label { font-family: var(--sans); font-size: var(--t-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; text-align: right; }
.chart-bar-track { height: 8px; background: var(--oat); border-radius: 4px; overflow: hidden; }
.chart-bar-fill  { height: 100%; border-radius: 4px; transition: width 0.8s cubic-bezier(0.4,0,0.2,1); }
.chart-bar-val   { font-family: var(--sans); font-size: var(--t-xs); color: var(--dark-md); font-weight: 700; }

/* ─── Gap rows (ready results) ────────────────────────────── */
.gap-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 12px 0;
  font-size: var(--t-sm);
  color: var(--dark-lt);
  line-height: 1.6;
}
.gap-icon     { font-family: var(--sans); font-size: 14px; color: var(--clay); font-weight: 700; padding-top: 2px; }
.gap-icon--no { color: var(--dark-md); }

/* ─── Getting-started step rows ───────────────────────────── */
.step-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 16px 0;
  font-size: var(--t-base);
  color: var(--dark-lt);
  line-height: 1.6;
}
.step-n { font-family: var(--sans); font-size: var(--t-xs); color: var(--clay); font-weight: 700; padding-top: 3px; }
