/* ===================================================================
   FORGE — shared site stylesheet
   Brand tokens pulled from the approved design-canvas mockups
   (Main.dc.html / WhyForge.dc.html / AboutAris.dc.html / AboutCompany.dc.html)
   =================================================================== */

:root {
  --black: #0D1B2A;
  --navy: #0f2035;
  --navy-card: #122844;
  --orange: #FF6B2B;
  --gold: #C89B3C;
  --white: #FFFFFF;
  --grey: #6B7280;
  --light-grey: #9CA3AF;
  --border: rgba(200,155,60,0.25);

  --container: 1180px;
  --gap: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--orange); }

img { max-width: 100%; display: block; }

.display { font-family: 'Bebas Neue', sans-serif; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(255,107,43,0.3);
  padding: 7px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.section { padding: 72px 0; }
.section.bg-navy { background: var(--navy); }
.section.center { text-align: center; }

.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

/* ---------------- Nav ---------------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 20;
}
.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav__logo-icon { height: 34px; width: auto; }
.site-nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.site-nav__wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--white);
}
.site-nav__wordmark .gold-o { color: var(--gold); }
.site-nav__wordmark sup { font-size: 10px; }
.site-nav__tagline {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-transform: none;
  color: var(--light-grey);
  margin-top: 3px;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav__links a {
  font-size: 13px;
  color: var(--light-grey);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.site-nav__links a.active,
.site-nav__links a:hover { color: var(--white); }
.site-nav__login {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold) !important;
  background: transparent;
  border: 1px solid var(--gold);
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.site-nav__login:hover {
  background: var(--gold);
  color: var(--navy) !important;
}
.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--white);
  cursor: pointer;
}
.site-nav__toggle svg { display: block; }

@media (max-width: 860px) {
  .site-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 32px rgba(0,0,0,0.4);
  }
  .site-nav__links.open { display: flex; }
  .site-nav__links a {
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .site-nav__login { text-align: center; }
  .site-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------------- Buttons ---------------- */
.btn {
  cursor: pointer;
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  padding: 16px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
}
.btn-primary { background: var(--orange); color: var(--black); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--gold); padding: 15px 30px; }
.btn--disabled {
  background: var(--navy-card);
  color: var(--light-grey);
  cursor: not-allowed;
  border-color: var(--border);
  pointer-events: none;
}
.btn-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.center .btn-row { justify-content: center; }

/* ---------------- Hero ---------------- */
.hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 64px 0 72px;
}
.hero__copy { flex: 1; min-width: 0; }
.hero h1 {
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: 2px;
  line-height: 1.02;
  margin: 0 0 24px;
}
.hero__lede {
  font-size: 17px;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 20px;
}
.hero__quote {
  font-size: 14px;
  font-style: italic;
  color: var(--grey);
  padding: 12px 18px;
  border-left: 2px solid var(--gold);
  max-width: 460px;
  margin-bottom: 32px;
}
.hero__note {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.5px;
  margin-top: 16px;
}
.hero__panel {
  flex: 0 0 420px;
  max-width: 100%;
}

@media (max-width: 940px) {
  .hero { flex-direction: column; align-items: stretch; padding-top: 40px; }
  .hero__copy { text-align: left; }
  .hero__lede, .hero__quote { max-width: none; }
  .hero__panel { flex: none; width: 100%; }
}

/* ARIS chat mock panel */
.aris-panel {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.aris-panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.aris-panel__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.aris-panel__label { font-size: 11px; color: var(--grey); margin-left: 8px; letter-spacing: 0.5px; }
.aris-bubble {
  max-width: 82%;
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 10px 10px 2px 10px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  margin-left: auto;
  margin-bottom: 12px;
}
.aris-bubble--reply {
  margin-left: 0;
  margin-right: auto;
  border-radius: 10px 10px 10px 2px;
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--light-grey);
}
.aris-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  margin-top: 4px;
}
.aris-stat {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  text-align: center;
}
.aris-stat__num { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--gold); }
.aris-stat__label { font-size: 9px; color: var(--grey); letter-spacing: 0.5px; margin-top: 2px; }
.aris-disclaimer {
  font-size: 10.5px;
  color: var(--grey);
  line-height: 1.5;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
/* ---------------- ARIS demo panel animation (homepage hero) ---------------- */
/* Base HTML already contains the real, final copy — .aris-anim-hidden is only
   ever added by JS once it's confirmed it can run the loop, so a no-JS or
   reduced-motion visitor always sees the complete, correct panel. */
.aris-bubble, .aris-stat {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.aris-bubble.aris-anim-hidden, .aris-stat.aris-anim-hidden {
  opacity: 0;
  transform: translateY(6px);
}
.aris-stat:nth-child(2) { transition-delay: 0.08s; }
.aris-stat:nth-child(3) { transition-delay: 0.16s; }
.aris-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: -2px;
  opacity: 0;
}
.aris-cursor.is-active { animation: aris-blink 1s steps(1) infinite; }
@keyframes aris-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.aris-typing-dots {
  display: none;
  align-items: center;
  gap: 4px;
  height: 1em;
}
.aris-typing-dots.is-active { display: inline-flex; }
.aris-typing-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--grey);
  animation: aris-dot-bounce 1.1s infinite ease-in-out;
}
.aris-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.aris-typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aris-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .aris-cursor, .aris-typing-dots span { animation: none !important; }
}
/* ---------------- Hear From ARIS panel (About ARIS page) ---------------- */
.aris-intro-caption { font-size: 15px; line-height: 1.75; color: var(--light-grey); }
.aris-intro-ask { transition: opacity 0.4s ease; }
.aris-intro-ask.aris-anim-hidden { opacity: 0; }
/* ---------------- Grids ---------------- */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: var(--gap);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--gap);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--gap);
}
@media (max-width: 1020px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .grid-5, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------------- Tools section layout (screenshot + grid) ---------------- */
.tools-layout {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: 40px;
  align-items: start;
}
.screenshot-stack {
  position: relative;
  padding-bottom: 60px;
}
.screenshot-stack--second {
  margin-top: 44px;
}
.browser-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  background: var(--navy-card);
}
.browser-frame--back {
  position: relative;
  width: 100%;
  z-index: 1;
  filter: brightness(0.85);
}
.browser-frame--front {
  position: absolute;
  top: 110px;
  right: -6px;
  width: 68%;
  z-index: 2;
  border-color: rgba(200,155,60,0.4);
  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}
.browser-frame__bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.browser-frame__bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.tools-screenshot img {
  width: 100%;
  display: block;
}
.tools-screenshot__caption {
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 14px;
}
.tools-screenshot__cta {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.tools-screenshot__cta-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 18px;
}
.tools-screenshot__cta-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.tools-layout .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1020px) {
  .tools-layout { grid-template-columns: 1fr; }
  .tools-screenshot { max-width: 480px; margin: 0 auto 8px; }
  .tools-layout .grid-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .tools-layout .grid-5 { grid-template-columns: 1fr; }
}

.tool-card { padding: 22px 18px; }
.tool-card svg { margin-bottom: 12px; }
.tool-card__name { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.tool-card__desc { font-size: 12.5px; color: var(--light-grey); line-height: 1.6; }
.tool-card--soon { opacity: 0.7; position: relative; }
.tool-card__badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 9px; letter-spacing: 1px; color: var(--grey);
  border: 1px solid var(--border); padding: 3px 8px; border-radius: 10px;
}

/* ---------------- Section headers ---------------- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 1.5px;
  margin: 0;
}
.section-head p {
  font-size: 15px;
  color: var(--light-grey);
  max-width: 680px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ---------------- Testimonials ---------------- */
.testimonial { display: flex; flex-direction: column; gap: 14px; }
.testimonial__head { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(200,155,60,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 15px; color: var(--gold);
  flex: none;
}
.testimonial__name { font-size: 13.5px; font-weight: 600; }
.testimonial__loc { font-size: 10.5px; color: var(--grey); }
.testimonial__badge { font-size: 9px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 1px 0; }
.testimonial__quote { font-size: 12.5px; color: var(--light-grey); line-height: 1.6; font-style: italic; }
.testimonial__tag { font-size: 9.5px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--orange); }

/* ---------------- Objection / qualifier sections ---------------- */
.compare-2 { display: flex; gap: 20px; flex-wrap: wrap; }
.compare-2 > .card { flex: 1; min-width: 260px; }
.compare-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.compare-label--muted { color: var(--grey); }
.compare-label--accent { color: var(--orange); }

.qualify-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
@media (max-width: 720px) { .qualify-grid { grid-template-columns: 1fr; } }
.qualify-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.qualify-list li { font-size: 13.5px; color: var(--light-grey); line-height: 1.6; padding-left: 26px; position: relative; }
.qualify-list li::before {
  content: '';
  position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
}
.qualify-list--fit li::before { background: rgba(85,138,66,0.18); border: 1px solid rgba(85,138,66,0.5); }
.qualify-list--nofit li::before { background: rgba(107,114,128,0.18); border: 1px solid rgba(107,114,128,0.5); }

/* ---------------- Footer ---------------- */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.site-footer__mark { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.site-footer__legal { color: var(--grey); font-size: 13px; margin-top: 10px; line-height: 1.8; }
.site-footer__links { font-size: 12px; margin-top: 14px; }

/* ---------------- GHL chat widget bubble (illustrative, homepage only) ---------------- */
.chat-teaser {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.chat-teaser__bubble {
  background: var(--white);
  color: var(--black);
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 240px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.chat-teaser__fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(255,107,43,0.4);
  border: none; cursor: pointer;
}
@media (max-width: 480px) {
  .chat-teaser { right: 16px; bottom: 16px; }
  .chat-teaser__bubble { max-width: 200px; font-size: 12px; }
}

/* ---------------- Badge / level cards (Why FORGE) ---------------- */
.level-card { position: relative; }
.level-card__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.level-card__title { font-size: 26px; letter-spacing: 1px; margin-bottom: 14px; }
.level-card__desc { font-size: 13px; color: var(--light-grey); line-height: 1.7; margin-bottom: 18px; }
.level-card__divider { height: 1px; background: var(--border); margin-bottom: 18px; }
.level-card__unlocks-label { font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.level-card__unlocks { font-size: 12.5px; color: var(--light-grey); line-height: 1.8; list-style: none; margin: 0; padding: 0; }
.level-card__unlocks li { position: relative; padding-left: 14px; margin-bottom: 6px; }
.level-card__unlocks li:last-child { margin-bottom: 0; }
.level-card__unlocks li::before { content: "\2022"; position: absolute; left: 0; color: var(--orange); }
.level-card--featured { border-color: var(--gold); box-shadow: 0 20px 50px rgba(200,155,60,0.1); }

/* ---------------- Facts panel ---------------- */
.facts-panel__label { font-size: 15px; letter-spacing: 2px; color: var(--gold); margin-bottom: 20px; font-family: 'Bebas Neue', sans-serif; }
.facts-row { display: flex; flex-direction: column; gap: 16px; }
.facts-item__k { font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.facts-item__v { font-size: 13.5px; color: var(--light-grey); }
.facts-divider { height: 1px; background: var(--border); }

/* ---------------- Story layout (About pages) ---------------- */
.story-layout { display: flex; gap: 56px; align-items: flex-start; }
.story-layout__main { flex: 1.1; min-width: 0; }
.story-layout__side { flex: 0 0 380px; max-width: 100%; }
@media (max-width: 900px) {
  .story-layout { flex-direction: column; }
  .story-layout__side { flex: none; width: 100%; }
}
.story-photo-row { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 22px; flex-wrap: wrap; }
.story-photo-row img { flex: 0 0 200px; width: 200px; height: 200px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.story-photo-row p { flex: 1; min-width: 220px; font-size: 15px; color: var(--light-grey); line-height: 1.85; margin: 0; }

p.body-copy { font-size: 15px; color: var(--light-grey); line-height: 1.85; margin-bottom: 20px; }

.statement {
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.35;
  max-width: 880px;
  margin: 0 auto;
}
.leadership-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.leadership-card { text-align: center; max-width: 200px; }
.leadership-card img { width: 180px; height: 226px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 16px; }
.leadership-card__name { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1px; color: var(--gold); }
.leadership-card__title { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey); margin: 4px 0 10px; }
.leadership-card__desc { font-size: 13px; color: var(--light-grey); line-height: 1.6; margin: 0; }

/* ---------------- Blog ---------------- */
.blog-card { display: flex; flex-direction: column; padding: 24px 22px; height: 100%; transition: border-color 0.15s ease, transform 0.15s ease; }
.blog-card:hover { border-color: rgba(200,155,60,0.55); transform: translateY(-2px); }
.blog-card__eyebrow { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.blog-card__eyebrow--forge { color: var(--gold); }
.blog-card__title { font-family: 'Bebas Neue', sans-serif; font-size: 21px; letter-spacing: 0.5px; line-height: 1.25; color: var(--white); margin-bottom: 12px; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--gold); }
.blog-card__excerpt { font-size: 13.5px; color: var(--light-grey); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.blog-card__meta { font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.blog-card__link { font-size: 13px; font-weight: 600; color: var(--gold); text-decoration: none; }
.blog-card__link:hover { text-decoration: underline; }

.blog-back { display: inline-block; font-size: 13px; color: var(--grey); text-decoration: none; margin-bottom: 28px; }
.blog-back:hover { color: var(--gold); }

.blog-post-header { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.blog-post-header .blog-card__meta { text-align: center; }

.blog-post-body { max-width: 720px; margin: 0 auto; }
.blog-post-body p.body-copy { font-size: 16px; }
.blog-post-body h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(20px,3vw,26px); letter-spacing: 0.5px; color: var(--white); margin: 40px 0 16px; }
.blog-post-body h3 { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 0.5px; color: var(--gold); margin: 28px 0 12px; }
.blog-post-body ul, .blog-post-body ol { color: var(--light-grey); font-size: 15px; line-height: 1.85; margin: 0 0 20px; padding-left: 22px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body a { color: var(--gold); }
.blog-post-body blockquote { border-left: 3px solid var(--gold); margin: 28px 0; padding: 4px 0 4px 20px; font-style: italic; color: var(--light-grey); }

.blog-related { max-width: 900px; margin: 0 auto; }
