/* Dashboard-first layout (Nov 2026): hero with the product in it, the CSV
   how-to, the logger band, the /demo page and the /griffith landing page.
   Builds on styles.css and sales.css; same tokens, same type. */

/* ─── HERO: words left, the real gap map right ─── */
#hero.v2-hero {
  min-height: auto; justify-content: center;
  padding: 140px 48px 88px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 56px; align-items: center;
}
.v2-hero .hero-headline { font-size: clamp(40px, 5.2vw, 78px); line-height: 0.95; }
.v2-hero .hero-sub { max-width: 560px; }
.v2-hero-shot {
  position: relative; margin: 0;
  opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards;
}
.v2-hero-shot img {
  display: block; width: 100%; height: auto; border-radius: 10px;
  border: 1px solid rgba(84,104,91,0.18);
  box-shadow: 0 24px 60px rgba(11,13,12,0.18);
}
.v2-hero-shot figcaption {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray-text);
}
.v2-hero-shot figcaption b { color: var(--red-accent); font-weight: 600; }
.v2-hero-badge {
  position: absolute; left: 14px; top: 14px;
  background: rgba(255,255,255,0.95); border-left: 4px solid var(--red-accent);
  border-radius: 6px; padding: 8px 12px;
  font-family: var(--mono); font-size: 12px; color: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.v2-hero-badge b { color: var(--red-accent); }

/* ─── A strip of plain facts under a section ─── */
.v2-proof {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px;
  font-family: var(--mono); font-size: 12px; color: var(--gray-text);
}
.v2-proof span::before { content: '✓ '; color: var(--green-accent); }

/* ─── Demo call-out under the real session ─── */
.v2-demo-call {
  margin-top: 36px; padding: 28px 32px; border-radius: 10px;
  background: var(--gray-dark); border: 1px solid rgba(84,104,91,0.18);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.v2-demo-call p { font-size: 15px; line-height: 1.5; color: var(--white); max-width: 560px; }
.v2-demo-call p span { color: var(--gray-text); }

/* ─── Also-included chips ─── */
.v2-also { margin-top: 56px; }
.v2-also h3 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 14px; font-weight: 500;
}
.v2-also ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.v2-also li {
  font-family: var(--mono); font-size: 13px; padding: 8px 14px; border-radius: 999px;
  background: var(--gray-dark); border: 1px solid rgba(84,104,91,0.18); color: var(--white);
}

/* ─── CSV steps ─── */
.v2-csv-note { margin-top: 28px; font-size: 14px; line-height: 1.6; color: var(--gray-text); max-width: 760px; }
.v2-csv-note a { color: var(--sage-light); }

/* ─── Logger band on the home page ─── */
.v2-logger-band {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.v2-logger-band img {
  display: block; width: 100%; height: auto; border-radius: 10px;
  border: 1px solid rgba(84,104,91,0.18); background: #fff;
}
.v2-logger-band .gx-assure { margin-top: 20px; }
.v2-price-line { font-family: var(--mono); font-size: 15px; color: var(--white); margin: 18px 0 26px; line-height: 1.6; }
.v2-price-line b { font-weight: 600; }
.v2-price-line s { color: var(--gray-text); }

/* ─── Founder line in the hero area of sub-pages ─── */
.v2-page-head { padding: 140px 48px 40px; }
.v2-page-head .section-title { font-size: clamp(36px, 4.6vw, 64px); }

/* ─── /demo ─── */
.v2-demo { padding: 0 48px 80px; }
.v2-kpis {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 32px;
}
.v2-kpis div {
  background: var(--gray-dark); border: 1px solid rgba(84,104,91,0.16); border-radius: 8px; padding: 14px 16px;
}
.v2-kpis b {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray-text); font-weight: 500; margin-bottom: 6px;
}
.v2-kpis span { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--white); }
.v2-kpis .loss { color: var(--red-accent); }
.v2-kpis .gain { color: var(--green-accent); }

.v2-demo-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.v2-map-wrap { position: sticky; top: 84px; }
.v2-map {
  position: relative; width: 100%; border-radius: 10px; overflow: hidden; background: #2b2f2c;
  border: 1px solid rgba(84,104,91,0.18); max-height: calc(100vh - 170px);
}
.v2-map svg { display: block; width: 100%; height: auto; max-height: calc(100vh - 170px); touch-action: manipulation; }
.v2-map .badge { cursor: pointer; }
.v2-map .badge text { font-family: var(--mono); font-weight: 700; pointer-events: none; }
.v2-map-tools { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.v2-map-tools button, .v2-reset {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: var(--gray-dark); color: var(--white); border: 1px solid rgba(84,104,91,0.25);
}
.v2-map-tools button[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.v2-reset { margin-left: auto; }
.v2-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--gray-text); }
.v2-legend i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }

.v2-panel h2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin: 0 0 12px; }
.v2-corners { list-style: none; display: grid; gap: 6px; margin-bottom: 28px; }
.v2-corners button {
  width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 76px; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 8px; cursor: pointer; text-align: left;
  background: #fff; border: 1px solid rgba(84,104,91,0.16); font-family: var(--mono); font-size: 13px; color: var(--white);
}
.v2-corners button:hover { border-color: var(--sage); }
.v2-corners button[aria-pressed="true"] { border-color: var(--white); box-shadow: 0 0 0 1px var(--white); }
.v2-corners .bar { height: 8px; border-radius: 4px; background: var(--gray-mid); position: relative; overflow: hidden; }
.v2-corners .bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 4px; }
.v2-corners .bar i.loss { background: var(--red-accent); }
.v2-corners .bar i.gain { background: var(--green-accent); }
.v2-corners .t { font-weight: 600; }
.v2-corners .g { text-align: right; }
.v2-corners .g.loss { color: var(--red-accent); }
.v2-corners .g.gain { color: var(--green-accent); }

.v2-detail {
  background: var(--gray-dark); border: 1px solid rgba(84,104,91,0.18); border-radius: 10px;
  padding: 22px 24px; margin-bottom: 28px;
}
.v2-detail h3 { font-family: var(--mono); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.v2-detail .sub { font-family: var(--mono); font-size: 12px; color: var(--gray-text); margin-bottom: 16px; }
.v2-detail dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.v2-detail dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-text); }
.v2-detail dd { font-family: var(--mono); font-size: 16px; font-weight: 600; margin-top: 4px; }
.v2-detail .a { color: #A16207; }
.v2-detail .b { color: var(--blue-accent); }
.v2-detail p { font-size: 14px; line-height: 1.55; color: var(--white); }
.v2-detail .tip { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(84,104,91,0.18); }
.v2-detail .tip b { display: block; font-family: var(--mono); font-size: 14px; margin-bottom: 4px; }

.v2-tips { list-style: none; display: grid; gap: 8px; }
.v2-tips li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start;
  padding: 14px 16px; border-radius: 8px; background: #fff; border: 1px solid rgba(84,104,91,0.16);
}
.v2-tips .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-text); grid-column: 1 / -1; }
.v2-tips .ti { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.v2-tips .w { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--green-accent); white-space: nowrap; }
.v2-tips p { grid-column: 1 / -1; font-size: 13px; line-height: 1.55; color: var(--gray-text); }

.v2-cta-band {
  margin: 56px 48px 0; padding: 40px; border-radius: 12px; background: var(--white); color: var(--black);
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.v2-cta-band h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; font-weight: 600; line-height: 1.05; }
.v2-cta-band p { font-size: 15px; line-height: 1.55; opacity: 0.75; margin-top: 10px; max-width: 520px; }
.v2-cta-band .btn-primary { background: var(--black); color: var(--white); }
.v2-cta-band .btn-primary:hover { background: var(--sage-brand); }
.v2-cta-band .v2-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.v2-cta-band a.v2-light { color: var(--black); font-family: var(--mono); font-size: 13px; opacity: 0.8; }

/* ─── /griffith ad landing ─── */
.v2-land { padding: 120px 48px 64px; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: center; }
.v2-land video { width: 100%; height: auto; border-radius: 14px; background: #000; box-shadow: 0 24px 60px rgba(11,13,12,0.22); display: block; }
.v2-land .hero-headline { font-size: clamp(36px, 4.4vw, 64px); opacity: 1; animation: none; }
.v2-land .hero-sub { opacity: 1; animation: none; }
.v2-land .hero-actions { opacity: 1; animation: none; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  #hero.v2-hero { padding: 120px 32px 72px; gap: 40px; }
  .v2-demo { padding: 0 32px 64px; }
  .v2-page-head { padding: 120px 32px 32px; }
  .v2-cta-band { margin: 48px 32px 0; }
  .v2-land { padding: 110px 32px 56px; gap: 40px; }
}
@media (max-width: 860px) {
  #hero.v2-hero { grid-template-columns: 1fr; padding: 108px 24px 56px; }
  .v2-hero-shot { order: 2; }
  .v2-logger-band { grid-template-columns: 1fr; gap: 32px; }
  .v2-demo-grid { grid-template-columns: 1fr; }
  .v2-map-wrap { position: static; }
  .v2-map, .v2-map svg { max-height: 70vh; }
  .v2-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-land { grid-template-columns: 1fr; }
  .v2-land video { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .v2-demo { padding: 0 24px 56px; }
  .v2-page-head { padding: 108px 24px 24px; }
  .v2-cta-band { margin: 40px 24px 0; padding: 28px 24px; }
  .v2-demo-call { padding: 22px; }
  .v2-land { padding: 100px 24px 48px; }
}
@media (max-width: 480px) {
  #hero.v2-hero { padding: 100px 20px 48px; }
  .v2-demo { padding: 0 20px 48px; }
  .v2-page-head { padding: 100px 20px 20px; }
  .v2-cta-band { margin: 32px 20px 0; }
  .v2-detail dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-land { padding: 96px 20px 40px; }
}

/* /logger opens straight on the product, so it clears the fixed nav itself. */
#logger.v2-first { padding-top: 140px; }
@media (max-width: 768px) { #logger.v2-first { padding-top: 104px; } }
.v2-legend[hidden] { display: none; }
.section-eyebrow.v2-plain::before { content: none; }
