/* LAND-DEN · Landing DEN section — ask DEN band
   Palette: sage/green LLaMa + Fox gold on black. */

.den-section {
  --den-gold: #d8b14a;
  --den-gold-cta: #d99c29;
  --den-gold-cta-deep: #bc7618;
  --den-sage: #6fbf8c;
  --den-sage-bright: #55cc75;
  --den-brand: #77d389;
  --den-teal: #16dcce;
  --den-llm: #60d9f7;
  --den-ink: #faf7f0;
  --den-muted: #d9d9d9;
  --den-card: #040b14;
  --den-panel: #070d16;
  --den-strip: #060d14;
  /* Shared rhythm: column gap = strip top gap (half of prior ~78px max) */
  --den-gap: clamp(14px, 2.5vw, 39px);

  padding: 80px 0 88px;
  background: #000;
  color: #e6ede6;
}

.den-section .container {
  max-width: var(--max-w);
}

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

.den-section__hdr {
  max-width: 949px;
  margin: 0 auto 36px;
  text-align: center;
}

.den-section__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--den-gold);
  text-transform: none;
}

.den-section__kicker-rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--den-gold), transparent);
  opacity: 0.85;
}

.den-section__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.08;
  color: var(--den-ink);
  margin: 0 0 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.den-section__title-accent {
  color: var(--den-gold);
}

.den-section__deck {
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
  line-height: 1.75;
}

.den-section__deck-brand {
  color: var(--den-brand);
  font-weight: 600;
}

.den-section__byline {
  margin: 0;
  font-size: 16px;
  color: #fff;
  line-height: 1.75;
}

.den-section__byline-fox {
  color: var(--den-gold);
  font-weight: 600;
}

.den-section__byline-llama {
  color: var(--den-sage-bright);
  font-weight: 600;
}

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

.den-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--den-gap);
  align-items: stretch;
  max-width: none;
  margin: 0;
}

@media (max-width: 900px) {
  .den-section__grid {
    grid-template-columns: 1fr;
    gap: var(--den-gap);
    align-items: start;
  }
}

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

.den-cameo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  height: 100%;
  box-sizing: border-box;
  background: var(--den-card);
  border: 1px solid var(--den-sage);
  border-radius: 12px;
  /* Equal top/bottom padding */
  padding: 22px 28px;
  box-shadow: 0 0 40px rgba(111, 191, 140, 0.08);
}

.den-cameo__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.den-cameo__avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--den-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  flex: 0 0 55px;
}

.den-cameo__avatar-mono {
  line-height: 1;
  transform: translateY(1px);
}

.den-cameo__name {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16.5px;
  color: var(--den-ink);
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.den-cameo__verified {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--den-sage);
}

.den-cameo__verified img {
  width: 12px;
  height: 12px;
  display: block;
  filter: brightness(0);
}

.den-cameo__role {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--den-sage);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.den-cameo__role-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--den-sage);
  flex: 0 0 7px;
}

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

.den-cameo__chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  flex: 0 0 auto;
  min-height: 0;
}

.den-chat__user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.den-chat__fox {
  flex: 0 0 59px;
  width: 59px;
  height: 66px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #13120f;
  overflow: hidden;
}

.den-chat__fox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.den-chat__bubble {
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.55;
}

.den-chat__bubble--user {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  max-width: none;
  background: transparent;
  border: 1px solid rgba(250, 247, 240, 0.44);
  color: #fff;
  align-self: stretch;
}

.den-chat__bubble--user p {
  margin: 0;
}

.den-chat__time {
  flex: 0 0 auto;
  font-size: 14px;
  color: rgba(242, 236, 223, 0.55);
  font-style: normal;
}

.den-chat__bubble--llama {
  background: var(--den-panel);
  border: 1px solid rgba(111, 191, 140, 0.48);
  color: #fff;
  padding: 16px 18px 18px;
}

.den-chat__bubble--llama > p {
  margin: 0 0 8px;
}

.den-chat__prefix {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--den-sage);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.den-chat__list {
  list-style: none;
  margin: 8px 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}

.den-chat__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.den-chat__check {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  flex: 0 0 14px;
  filter: invert(67%) sepia(28%) saturate(617%) hue-rotate(84deg) brightness(95%) contrast(90%);
}

.den-chat__note {
  color: #fff;
  font-style: normal;
  font-size: 15px;
  margin: 0 0 14px !important;
}

.den-chat__verify {
  --liquid: var(--den-gold);
  --ink: #0a101b;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 18px;
  border-radius: 25px;
  background: transparent;
  border: 1px solid var(--den-gold);
  color: var(--den-gold);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  transition: color 0.4s, border-color 0.4s;
}

.den-chat__verify::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -25%;
  width: 150%;
  height: 200%;
  background: var(--liquid);
  border-radius: 45% 55% 0 0 / 25% 25% 0 0;
  transform: translateY(100%);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  pointer-events: none;
}

.den-chat__verify:hover::before,
.den-chat__verify:focus-visible::before {
  transform: translateY(5%);
  animation: sat-btn-liquid-wave 2.5s ease-in-out infinite 0.65s;
}

.den-chat__verify:hover,
.den-chat__verify:focus-visible {
  background: transparent;
  color: var(--ink);
  filter: none;
  transform: none;
}

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

.den-cameo__legend {
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  flex: 0 0 auto;
}

.den-cameo__legend-txt {
  color: #fff;
}

.den-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
}

.den-badge--free {
  background: transparent;
  border: 1px solid var(--den-sage);
  color: var(--den-sage);
}

.den-badge--llm {
  background: transparent;
  border: 1px solid var(--den-llm);
  color: var(--den-teal);
  font-size: 14px;
}

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

.den-side {
  display: flex;
  flex-direction: column;
  /* Tighter stack — less air above/below Try asking */
  gap: 16px;
  min-width: 0;
  min-height: 0;
}

@media (min-width: 901px) {
  .den-side {
    height: 100%;
    justify-content: flex-start;
    gap: 16px;
  }
  /* Extra height fills prompt rows, not the gap above Try asking */
  .den-side__block:last-child {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .den-side__block:last-child .den-prompts {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .den-side__block:last-child .den-prompts > li {
    flex: 1 1 auto;
    display: flex;
  }
  .den-side__block:last-child .den-prompts a {
    flex: 1 1 auto;
    align-content: center;
    min-height: 48px;
  }
}

.den-side__block {
  min-width: 0;
}

.den-side__lbl {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--den-sage);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.den-side__lbl-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.den-side__lbl--ask {
  margin: 0;
  flex: 0 0 auto;
}

.den-side__lbl-rule {
  flex: 1;
  height: 1px;
  background: rgba(242, 236, 223, 0.18);
}

.den-cmds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 12px;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .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: 12px;
  min-height: 108px;
  padding: 16px 10px 14px;
  border-radius: 7px;
  background: #070e16;
  border: 1px solid rgba(85, 204, 117, 0.21);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.den-cmd:hover {
  background: rgba(111, 191, 140, 0.1);
  border-color: rgba(111, 191, 140, 0.55);
  transform: translateY(-1px);
}

.den-cmd__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  object-fit: contain;
  display: block;
}

.den-cmd__icon--arrow {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.den-cmd__label {
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  font-size: 15px;
}

.den-prompts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.den-prompts a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 5px;
  background: #080f17;
  border: 1px solid rgba(242, 236, 223, 0.13);
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.den-prompts a:hover {
  background: rgba(111, 191, 140, 0.08);
  border-color: rgba(111, 191, 140, 0.3);
}

.den-prompts span:first-child {
  min-width: 0;
  text-align: left;
}

.den-prompts__chev {
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  line-height: 1;
}

/* ── Value strip ──────────────────────────────────────────────── */

.den-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  max-width: none;
  margin: var(--den-gap) 0 0;
  padding: 32px 40px 28px;
  background: var(--den-strip);
  border: 1px solid #f0ce6b;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .den-strip {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 20px;
  }
}

.den-strip__brand {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  min-width: 0;
}

.den-strip__emblem {
  position: relative;
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
}

.den-strip__shield-outline {
  width: 86px;
  height: 86px;
  display: block;
}

.den-strip__shield-fox {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 48px;
  height: auto;
  transform: translate(-50%, -50%) scaleX(-1);
  object-fit: cover;
  pointer-events: none;
}

.den-strip__copy {
  min-width: 0;
}

.den-strip__tag {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--den-ink);
}

.den-strip__sub {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--den-muted);
  line-height: 1.55;
}

.den-strip__cta {
  display: flex;
}

.den-cta--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--c-gold);
  background: var(--c-gold);
  color: #06070d;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: filter 0.15s, transform 0.15s;
}

.den-cta--hero:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #06070d;
}

.den-strip__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.den-strip__trust::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(240, 206, 107, 0.35);
}

@media (max-width: 900px) {
  .den-strip__trust::before {
    display: none;
  }
  .den-strip__trust {
    justify-content: space-around;
  }
}

.den-strip__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.den-strip__trust-icon {
  width: 56px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  display: block;
}

.den-strip__trust-h {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.den-strip__trust-s {
  margin: 0;
  font-size: 14px;
  color: var(--den-muted);
  line-height: 1.35;
}

@media (max-width: 560px) {
  .den-section {
    padding: 48px 0 56px;
  }
  .den-cameo {
    padding: 18px 16px 18px;
  }
  .den-chat__user {
    flex-direction: column;
    align-items: flex-start;
  }
  .den-strip__brand {
    flex-direction: column;
    gap: 16px;
  }
  .den-strip__trust {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .den-strip__trust-item {
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }
}
