/* GJL Answer Desk — marketing site
   Black & gold, aligned with the locked logo, demo, and Facebook cover. */

:root {
  --black: #050506;
  --black-2: #0a0a0c;
  --navy: #0e1724;
  --navy-2: #162033;
  --ink: #14181f;
  --muted: #5b6472;
  --muted-light: #9aa3af;
  --line: #e6e1d6;
  --line-dark: rgba(226, 193, 115, 0.22);
  --paper: #f7f4ee;
  --white: #fffcf8;
  --gold: #c9a24a;
  --gold-2: #e2c173;
  --gold-dk: #8f6d22;
  --ok: #1f6b4a;
  --danger: #9b2c2c;
  --shadow: 0 18px 50px rgba(14, 23, 36, 0.18);
  --shadow-gold: 0 12px 40px rgba(201, 162, 74, 0.18);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --header-h: 72px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
#contact, #demo-chat, #how, #services, #industries, #pricing, #faq, #problem {
  scroll-margin-top: calc(var(--header-h) + 12px);
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -40px;
  z-index: 100;
  background: var(--gold);
  color: #1a1408;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ----- Buttons ----- */
.btn-gold, .btn-ghost, .btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: #1a1408;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: #1c2b44; }
.btn-gold:focus-visible, .btn-ghost:focus-visible, .btn-dark:focus-visible,
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.22);
  color: #fff;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #000;
  border-radius: 8px;
}
.wordmark { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.wordmark .w1 {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.wordmark .w2 {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 650;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  text-decoration: none;
  color: #d7dde6;
  font-size: 0.9rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--gold-2); }
.site-nav .btn-gold { color: #1a1408; margin-left: 6px; padding: 10px 16px; font-size: 0.88rem; }

/* ----- Hero ----- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(201, 162, 74, 0.14), transparent 55%),
    radial-gradient(700px 400px at 90% 10%, rgba(42, 59, 88, 0.45), transparent 50%),
    linear-gradient(180deg, #000 0%, #0a0a0c 70%, #050506 100%);
  color: #fff;
  padding: 56px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}
.kicker {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.hero-sub {
  color: #d7dde6;
  margin: 0 0 22px;
  max-width: 40rem;
  font-size: 1.05rem;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.pills li {
  border: 1px solid rgba(226, 193, 115, 0.4);
  color: #f3ead2;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-skyline {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center bottom;
  margin-top: 8px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 100%);
  opacity: 0.9;
}

/* ----- Chat widget ----- */
.chat-panel {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(201, 162, 74, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  max-height: 640px;
  height: 600px;
}
.chat-head {
  background: var(--navy);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-head .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3dcc86;
  box-shadow: 0 0 0 4px rgba(61, 204, 134, 0.18);
  flex-shrink: 0;
}
.chat-head .titles { min-width: 0; }
.chat-head h2 { margin: 0; font-size: 0.98rem; color: #fff; letter-spacing: 0; font-weight: 700; }
.chat-head p { margin: 2px 0 0; font-size: 0.75rem; color: #c5ccd6; }
.chat-head .ask {
  margin-left: auto;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 8px;
  background: #f3efe7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.92rem;
  white-space: pre-wrap;
}
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .who {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--gold-dk);
}
.msg.user .who { color: var(--gold-2); }
.receipt {
  background: #eef7f1;
  border: 1px solid #b7ddc8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.86rem;
  align-self: stretch;
}
.receipt strong { color: var(--ok); }
.demo-note { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; background: #f3efe7; }
.chips button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.8rem;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}
.chips button:hover { border-color: var(--gold); color: var(--gold-dk); }
.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.chat-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}
.chat-form button {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.chat-form button:hover { background: #1c2b44; }

/* ----- Sections ----- */
section { padding: 72px 0; }
section h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  margin: 0 0 8px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.lede { color: var(--muted); margin: 0 0 28px; max-width: 42rem; font-size: 1.02rem; }

.section-dark {
  background: var(--navy);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-dark .lede { color: #c5ccd6; }
.section-black {
  background: var(--black);
  color: #fff;
}
.section-black h2 { color: #fff; }
.section-black .lede { color: #c5ccd6; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }

/* Problem */
.problem-quote {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 650;
  max-width: 28ch;
}
.problem-quote span { color: var(--gold-2); }
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.stat-card {
  background: #162033;
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.stat-card h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}
.stat-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
.stat-row .num {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.stat-row .lbl { color: #c5ccd6; font-size: 0.88rem; margin-top: 4px; display: block; }
.cite { font-size: 0.75rem; color: #9aa6b5; margin: 0; line-height: 1.45; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
}
.step .num {
  display: block;
  color: var(--gold-dk);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cards.five {
  grid-template-columns: repeat(6, 1fr);
}
.cards.five .card:nth-child(-n+3) { grid-column: span 2; }
.cards.five .card:nth-child(n+4) { grid-column: span 3; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
}
.section-dark .card, .section-black .card {
  background: #162033;
  border-color: rgba(201, 162, 74, 0.28);
  box-shadow: none;
  color: #fff;
}
.section-dark .card p, .section-black .card p { color: #c5ccd6; }
.card .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--gold);
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.industry h3 { margin: 0 0 8px; font-size: 1.2rem; }
.industry p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.industry .tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-dk);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-card.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.price-card .tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin: 0;
}
.price-card.featured .tier { color: var(--gold-2); }
.price-card .amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
}
.price-card .amount span { font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card.featured .amount span { color: #c5ccd6; }
.price-card .for { margin: 0; color: var(--muted); font-size: 0.92rem; }
.price-card.featured .for { color: #c5ccd6; }
.price-card ul {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.price-card.featured ul { color: #d7dde6; }
.price-card li { margin: 0 0 6px; }
.monthly-band {
  background: #162033;
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}
.monthly-band h3 { margin: 0 0 8px; font-size: 1.15rem; }
.monthly-band p { margin: 0; color: #c5ccd6; font-size: 0.95rem; }
.monthly-band .points { margin: 0; padding: 0; list-style: none; }
.monthly-band .points li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 8px;
  color: #d7dde6;
  font-size: 0.95rem;
}
.monthly-band .points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* FAQ */
.faq-list { max-width: 760px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 18px;
  margin: 0 0 10px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold-dk);
  font-weight: 700;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.form-row { margin: 0 0 14px; }
.form-row label, .form-row .lbl {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  border: 1px solid #cfc8b8;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-hint {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.form-row.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-row.consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--gold-dk);
  cursor: pointer;
}
.form-row.consent label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0;
  line-height: 1.45;
  cursor: pointer;
}
.form-note, .form-status {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 10px 0 0;
  white-space: pre-wrap;
}
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="err"] { color: var(--danger); }
.todo-note {
  font-size: 0.78rem;
  color: var(--gold-dk);
  background: #f3ead2;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0 0 14px;
}

/* Legal pages */
.legal-banner {
  background: #1a1408;
  color: #f3ead2;
  padding: 10px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid #3b3118;
}
.legal-banner strong { color: var(--gold-2); }
.legal {
  padding: 48px 0 72px;
}
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 28px; font-size: 0.9rem; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: #3a4250; }
.legal ul { padding-left: 20px; }

/* Footer */
.site-footer {
  background: #0a1018;
  color: #b7c0cb;
  padding: 36px 0 28px;
  font-size: 0.9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: start;
}
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #000;
  border-radius: 10px;
  flex-shrink: 0;
}
.site-footer strong { color: #fff; display: block; margin-bottom: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: #c5ccd6; text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--gold-2); }
.fine {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #7d8794;
  font-size: 0.78rem;
}

/* ----- Responsive ----- */
@media (max-width: 1020px) {
  .cards.five { grid-template-columns: repeat(2, 1fr); }
  .cards.five .card { grid-column: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero { padding-top: 32px; }
  .hero-grid, .problem-grid, .cards, .cards.five, .industries, .price-grid, .contact-grid, .foot-grid, .monthly-band, .steps, .stat-row, .form-split {
    grid-template-columns: 1fr;
  }
  .cards.five .card { grid-column: auto; }
  .hero-skyline { height: 110px; }
  .chat-panel { height: 540px; min-height: 480px; max-height: 70dvh; }
  .site-nav .btn-gold { margin-left: 0; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #050506;
    border-bottom: 1px solid rgba(201, 162, 74, 0.22);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 18px;
    gap: 0;
  }
  .site-header.open .site-nav { display: flex; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .site-nav .btn-gold {
    margin-top: 10px;
    border: 0;
    text-align: center;
  }
  .foot-brand { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Quick-answer bar */
.quick-bar {
  background: linear-gradient(90deg, #1a1408, #2a2110 40%, #1a1408);
  color: #f6ecd0;
  border-bottom: 1px solid #3b3118;
}
.quick-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.quick-bar p { margin: 0; font-size: 0.95rem; }
.quick-bar a {
  background: var(--gold);
  color: #1a1408;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.quick-bar a:hover { background: var(--gold-2); }
@media (max-width: 880px) {
  .quick-bar .wrap { flex-direction: column; align-items: flex-start; padding: 12px 0; }
}

/* Honeypot field for the demo-booking form. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
