/* ===========================================================
   SUMMIT AIS — Lead Magnets (Playbook / Proof / System)
   Shared stylesheet for /playbook, /proof/*, /system/*
   Reuses summit-v11 brand tokens. Mobile-first, article-style.
   =========================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --ink: #0B0F0D;
  --forest: #093B2C;
  --forest-2: #0c4a37;
  --cream: #F5F2EA;
  --cream-2: #ece6d6;
  --paper: #fbfaf4;
  --accent: #67AF44;
  --accent-deep: #4c8a30;
  --accent-soft: rgba(103,175,68,0.12);
  --gray: #6B6B6B;

  --on-dark: #F5F2EA;
  --on-dark-dim: rgba(245,242,234,0.66);
  --on-cream: #14201a;
  --on-cream-dim: #5c645d;

  --line-dark: rgba(245,242,234,0.12);
  --line-cream: rgba(11,15,13,0.14);

  --display: 'Funnel Display', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw-nav: 1080px;
  --maxw-article: 720px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--on-cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { text-wrap: balance; font-family: var(--display); color: var(--on-cream); }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap-nav { max-width: var(--maxw-nav); margin: 0 auto; padding: 0 20px; }
.wrap { max-width: var(--maxw-article); margin: 0 auto; padding: 0 20px; }@media (min-width: 640px){ .wrap, .wrap-nav { padding: 0 28px; }}

/* ---- nav (matches site nav) ---- */
nav.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,15,13,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
nav.site .wrap-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 28px; width: auto; }
.brand .word { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--on-dark); line-height: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 800; letter-spacing: -0.01em;
  background: var(--accent); color: #06210f;
  border: none; cursor: pointer; border-radius: 12px;
  padding: 13px 22px; font-size: 16px;
  box-shadow: 0 12px 30px -14px rgba(103,175,68,0.85);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); background: #74c24d; }
.nav-cta { padding: 10px 16px; font-size: 14px; border-radius: 10px; }

/* ---- breadcrumb / eyebrow ---- */
.eyebrow-row { padding: 22px 0 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow a { color: var(--accent-deep); text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow .sep { color: var(--on-cream-dim); opacity: 0.5; }

/* ---- article head ---- */
.article-head { padding: 14px 0 6px; }
.article-head h1 {
  font-weight: 800; font-size: clamp(28px, 7vw, 40px); line-height: 1.08; letter-spacing: -0.02em;
}

/* ---- article body ---- */
main.article { padding-bottom: 64px; }
.block { margin-top: 26px; }
.block:first-child { margin-top: 22px; }

.block.h1 h1 { font-weight: 800; font-size: clamp(28px, 7vw, 40px); line-height: 1.08; letter-spacing: -0.02em; margin-top: 6px; }
.block.h2 h2 { font-weight: 800; font-size: clamp(21px, 5vw, 26px); line-height: 1.2; letter-spacing: -0.01em; margin-top: 40px; padding-top: 6px; border-top: 1px solid var(--line-cream); }
.block.h2:first-child h2 { border-top: none; margin-top: 0; padding-top: 0; }
.block.h3 h3 { font-weight: 700; font-size: clamp(17px, 4vw, 19px); letter-spacing: -0.005em; color: var(--forest); margin-top: 8px; }

.block.p p, p.inline { font-size: 1em; color: var(--on-cream); }
.block p strong, .block li strong, .block td strong { font-weight: 750; color: var(--forest); }
.block p em, .block li em { font-style: italic; color: var(--on-cream-dim); }
.block a { color: var(--accent-deep); text-decoration: underline; text-decoration-color: rgba(76,138,48,0.35); text-underline-offset: 3px; }
.block a:hover { text-decoration-color: var(--accent-deep); }

.block ul, .block ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.block li { font-size: 1em; }
.block ul { list-style: none; padding-left: 0; }
.block ul li { position: relative; padding-left: 1.4em; }
.block ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent-deep); font-weight: 700; }
.block ol { counter-reset: n; list-style: none; padding-left: 0; }
.block ol li { position: relative; padding-left: 2.1em; }
.block ol li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 0; top: 0.05em;
  width: 1.5em; height: 1.5em; border-radius: 50%;
  background: var(--accent-soft); color: var(--forest);
  font-family: var(--mono); font-size: 0.72em; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.block.quote blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  font-style: italic; font-size: 1.04em; color: var(--forest);
  line-height: 1.6;
  white-space: pre-line;
}

.callout {
  border-radius: 14px; padding: 18px 20px; display: flex; gap: 12px;
  align-items: flex-start;
}
.callout .ico { font-size: 20px; line-height: 1.4; flex-shrink: 0; }
.callout .txt { font-size: 0.98em; line-height: 1.62; }
.callout.green { background: var(--accent-soft); border: 1px solid rgba(103,175,68,0.28); }
.callout.green .txt strong { color: var(--forest); }
.callout.gray { background: var(--cream-2); border: 1px solid var(--line-cream); }
.callout.gray .txt { color: var(--on-cream-dim); }
.callout.gray .txt strong { color: var(--on-cream); }
.callout a { font-weight: 700; }

.block.divider hr { border: none; border-top: 1px solid var(--line-cream); margin: 6px 0; }

/* ---- video embed ---- */
.video-embed { border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: 0 18px 40px -20px rgba(11,15,13,0.35); }
.video-frame { position: relative; width: 100%; padding-top: 56.25%; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { padding: 10px 14px; font-family: var(--mono); font-size: 12.5px; color: var(--on-dark-dim); background: var(--ink); }

/* ---- table ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid var(--line-cream); }
table { border-collapse: collapse; width: 100%; min-width: 480px; background: var(--paper); }
th, td { text-align: left; padding: 12px 14px; font-size: 0.92em; vertical-align: top; border-bottom: 1px solid var(--line-cream); }
th { background: var(--forest); color: var(--on-dark); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--cream); }

/* ---- card grid (hub -> subpage links) ---- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.card-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); border: 1px solid var(--line-cream); border-radius: 14px;
  padding: 16px 18px; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease;
}
.card-link:hover { border-color: var(--accent); transform: translateX(2px); }
.card-link .ct { font-family: var(--display); font-weight: 750; font-size: 16px; color: var(--on-cream); line-height: 1.3; }
.card-link .arw { color: var(--accent-deep); font-size: 20px; flex-shrink: 0; }

/* ---- footer CTA (structural chrome, identical on every page) ---- */
.footer-cta { background: var(--forest); color: var(--on-dark); padding: 52px 0 44px; margin-top: 56px; }
.footer-cta .wrap { text-align: center; }
.footer-cta .eyebrow { color: var(--accent); }
.footer-cta h2 { font-weight: 800; font-size: clamp(24px, 6vw, 30px); color: var(--on-dark); margin-top: 10px; line-height: 1.15; }
.footer-cta p { color: var(--on-dark-dim); margin-top: 10px; font-size: 15px; }
.footer-cta .btn { margin-top: 22px; font-size: clamp(16px, 3vw, 18px); padding: 16px 28px; border-radius: 14px; }

/* ---- site footer ---- */
footer.site-foot { background: var(--ink); color: var(--on-dark-dim); padding: 26px 0; }
footer.site-foot .wrap-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
footer.site-foot a { color: var(--on-dark-dim); text-decoration: none; }
footer.site-foot a:hover { color: var(--on-dark); }
footer.site-foot .links { display: flex; gap: 16px; flex-wrap: wrap; }@media (min-width: 720px){
  .card-grid { grid-template-columns: 1fr; }}

/* ---- operator tape: their own testimonial video, inside their case file (2026-08-18) ---- */
.op-tape {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--ink); border-radius: 16px; padding: 22px 18px;
  box-shadow: 0 20px 44px -24px rgba(11,15,13,0.4);
}@media (min-width: 680px){ .op-tape { flex-direction: row; align-items: center; gap: 22px; padding: 22px; }}
.op-tape-vid {
  position: relative; flex: none; width: 100%; max-width: 230px; aspect-ratio: 9 / 16;
  border-radius: 12px; overflow: hidden; background: #0a0f0c; cursor: pointer;
  border: 1px solid rgba(245,242,234,0.14);
}
.op-tape-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.op-tape-vid::after {
  content: ''; position: absolute; inset: 0; transition: opacity .25s;
  background: linear-gradient(180deg, rgba(11,15,13,0.12), transparent 40%, rgba(11,15,13,0.55));
}
.op-tape-vid.playing::after { opacity: 0; }
.op-tape-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 38px rgba(0,0,0,0.55); transition: transform .18s ease, opacity .2s;
}
.op-tape-play svg { width: 19px; height: 19px; fill: #06210f; margin-left: 3px; }
.op-tape-vid:hover .op-tape-play { transform: translate(-50%,-50%) scale(1.07); }
.op-tape-vid.playing .op-tape-play { opacity: 0; pointer-events: none; }
.op-tape-txt { flex: 1; text-align: center; }@media (min-width: 680px){ .op-tape-txt { text-align: left; }}
.op-tape-txt .k {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.op-tape-txt p {
  margin-top: 10px; color: var(--on-dark); font-size: 15.5px; line-height: 1.55;
}
.op-tape-txt .more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(103,175,68,0.45); border-radius: 9px; padding: 9px 13px;
  transition: background .16s ease, color .16s ease;
}
.op-tape-txt .more:hover { background: var(--accent); color: #06210f; }