/* LAND-DEN · Landing DEN section — sits between Rivalry and How-it-works.
   Palette: LLaMa sage + Fox gold on the navy landing ground.
   Grid stacks to single column at 900px; command tiles reflow;
   value strip stacks with icons above copy on narrow viewports. */

.den-section {
  padding: 72px 0 88px;
  background: var(--section-bg, #0d1220);
  color: #e6ede6;
}

/* ── Header ───────────────────────────────────────────────────── */

.den-section__hdr {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}
.den-section__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5.2vw, 52px);
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.den-section__title-accent { color: #d4af37; }
.den-section__deck {
  margin: 0 0 6px;
  font-size: 16px;
  color: #c8d3ca;
  line-height: 1.55;
}
.den-section__deck-brand { color: #7d9e83; font-weight: 600; }
.den-section__byline {
  margin: 0;
  font-size: 14px;
  color: #a0a5a7;
  line-height: 1.5;
}
.den-section__byline-fox   { color: #d4af37; font-weight: 600; }
.den-section__byline-llama { color: #7d9e83; font-weight: 600; }

/* ── Grid ─────────────────────────────────────────────────────── */

.den-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .den-section__grid { grid-template-columns: 1fr; }
}

/* ── Cameo card (chat + LLaMa identity) ───────────────────────── */

.den-cameo {
  background: #131a2e;
  border: 1px solid rgba(125, 158, 131, 0.20);
  border-radius: 14px;
  padding: 22px 22px 20px;
}
.den-cameo__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
}
.den-cameo__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #7d9e83;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1220;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  flex: 0 0 46px;
}
.den-cameo__avatar-mono { line-height: 1; }
.den-cameo__name {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  color: #ffffff;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.den-cameo__verified {
  width: 18px;
  height: 18px;
  vertical-align: -2px;
}
.den-cameo__role {
  margin: 5px 0 0;
  font-size: 11.5px;
  color: #7d9e83;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 700;
}

/* ── Chat exchange ────────────────────────────────────────────── */

.den-cameo__chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.den-chat__bubble {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
}
.den-chat__bubble--user {
  align-self: flex-end;
  max-width: 78%;
  background: rgba(125, 158, 131, 0.14);
  border: 1px solid rgba(125, 158, 131, 0.30);
  color: #ffffff;
}
.den-chat__bubble--user p { margin: 0; }
.den-chat__bubble--llama {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(125, 158, 131, 0.22);
  color: #e6ede6;
}
.den-chat__bubble--llama p { margin: 0 0 6px; }
.den-chat__prefix {
  font-size: 11.5px;
  color: #7d9e83;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.den-chat__list {
  margin: 6px 0 10px;
  padding-left: 22px;
  color: #d4dcd6;
}
.den-chat__list li { margin: 3px 0; }
.den-chat__note {
  color: #96ac9a;
  font-style: italic;
  font-size: 14px;
}
.den-chat__verify {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid rgba(212, 175, 55, 0.40);
  color: #d4af37;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.den-chat__verify:hover { background: rgba(212, 175, 55, 0.16); }

/* ── Cost legend ──────────────────────────────────────────────── */

.den-cameo__legend {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: #b6bcbe;
  line-height: 1.4;
}
.den-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: 1px;
}
.den-badge--free {
  background: rgba(125, 158, 131, 0.15);
  border: 1px solid rgba(125, 158, 131, 0.40);
  color: #7d9e83;
}
.den-badge--llm {
  background: rgba(84, 148, 190, 0.12);
  border: 1px solid rgba(84, 148, 190, 0.40);
  color: #8ec1e2;
}

/* ── Side column (commands + prompts) ─────────────────────────── */

.den-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.den-side__block { min-width: 0; }
.den-side__lbl {
  margin: 0 0 14px;
  font-size: 12px;
  color: #7d9e83;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Commands — icon tile grid, 4 across on desktop, 3 → 2 on mobile */
.den-cmds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1100px) {
  .den-cmds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .den-cmds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.den-cmd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 16px 10px 14px;
  border-radius: 10px;
  background: rgba(125, 158, 131, 0.05);
  border: 1px solid rgba(125, 158, 131, 0.24);
  color: #e6ede6;
  font-size: 13.5px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.den-cmd:hover {
  background: rgba(125, 158, 131, 0.14);
  border-color: rgba(125, 158, 131, 0.55);
  transform: translateY(-1px);
}
.den-cmd__icon {
  width: 28px;
  height: 28px;
  color: #7d9e83;
  flex: 0 0 28px;
}
.den-cmd__label {
  font-weight: 600;
  line-height: 1.2;
  color: #e6ede6;
}

/* Prompts — vertical list, tap-target ≥44px */
.den-prompts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.den-prompts a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef1ee;
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.15s;
}
.den-prompts a:hover {
  background: rgba(125, 158, 131, 0.08);
  border-color: rgba(125, 158, 131, 0.30);
}
.den-prompts span:first-child { flex: 1; min-width: 0; }

/* ── Value strip: Fox emblem + tagline + moved CTAs + trust ─── */

.den-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  max-width: 1080px;
  margin: 36px auto 0;
  padding: 26px 28px;
  background: #131a2e;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
}
@media (max-width: 900px) {
  .den-strip {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 20px;
  }
}
.den-strip__brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}
.den-strip__emblem {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.den-strip__emblem svg { width: 100%; height: 100%; display: block; }
.den-strip__copy { flex: 1; min-width: 0; }
.den-strip__tag {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #ffffff;
  line-height: 1.25;
  font-weight: 500;
}
.den-strip__sub {
  margin: 0 0 18px;
  font-size: 15px;
  color: #b6bcbe;
  line-height: 1.55;
}
.den-strip__cta {
  display: flex;
}
.den-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

/* Single hero CTA — the only action in the strip, so it earns weight */
.den-cta--hero {
  min-height: 56px;
  padding: 16px 40px;
  border-radius: 999px;
  background: #d4af37;
  color: #2a1f04;
  border: 1px solid #d4af37;
  font-size: 17px;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 24px -6px rgba(212, 175, 55, 0.45);
}
.den-cta--hero:hover {
  background: #e0be48;
  box-shadow: 0 6px 28px -4px rgba(212, 175, 55, 0.55);
  transform: translateY(-1px);
}
.den-cta--hero:active { transform: translateY(0) scale(0.98); }

.den-strip__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .den-strip__trust {
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
  }
}
@media (max-width: 520px) {
  .den-strip__trust { grid-template-columns: 1fr; gap: 12px; }
}
.den-strip__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.den-strip__trust-icon {
  width: 26px;
  height: 26px;
  color: #7d9e83;
  flex: 0 0 26px;
}
.den-strip__trust-h {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.den-strip__trust-s {
  margin: 3px 0 0;
  font-size: 13px;
  color: #b6bcbe;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .den-cta--hero {
    width: 100%;
    padding: 16px 20px;
  }
}
