/* FFG founders-tools SEO landing — scoped to standalone founders-tools.hbs page */
:root {
  --bg: #08111d;
  --bg2: #0c1727;
  --line: #1d2b44;
  --gold: #e8b23a;
  --amber: #fbbf24;
  --g: #22c55e;
  --r: #f87171;
  --p: #c084fc;
  --mut: #a9b5c8;
  --txt: #e6ebf3;
  --sub: #c9d2e0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--amber);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 860px;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.3rem;
  margin: 26px 0 8px;
}

p {
  margin: 0 0 14px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--amber);
  color: #08111d;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}

.skip:focus {
  left: 12px;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.kick {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.answer {
  font-size: 1.1rem;
  color: #f1f4f9;
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 16px;
  margin: 10px 0 18px;
}

.center .answer {
  border-left: 0;
  padding: 0;
  margin: 14px auto 0;
  color: var(--sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #08111d;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(232, 178, 58, 0.25);
  transition: transform 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--gold);
  box-shadow: none;
}

.btn.sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 17, 29, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo small {
  display: block;
  font-weight: 600;
  color: var(--mut);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--amber);
  font-size: 0.95rem;
}

.navlinks {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlinks a {
  color: var(--sub);
  text-decoration: none;
  font-weight: 500;
}

.navlinks a:hover {
  color: #fff;
}

.hero {
  padding: 80px 0 64px;
  background: radial-gradient(1100px 560px at 78% -10%, rgba(232, 178, 58, 0.14), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.08;
}

h1 em {
  font-style: normal;
  color: var(--amber);
}

.sub {
  font-size: 1.15rem;
  color: var(--sub);
  margin: 22px 0 30px;
  max-width: 580px;
}

.ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 26px 0 8px;
  font-size: 0.88rem;
  color: var(--mut);
}

.legend li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 8px;
  background: var(--c);
}

.legend-in {
  --c: #22c55e;
}

.legend-out {
  --c: #ef4444;
}

.legend-inst {
  --c: #c084fc;
}

.updated {
  font-size: 0.85rem;
  color: var(--mut);
  margin: 0;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 0.85rem;
  color: var(--mut);
  margin-top: 10px;
}

.frame img,
.tshot img,
.wide img,
#money-flow-index figure img {
  border-radius: 14px;
  border: 1px solid #2a3a58;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

section {
  padding: 88px 0;
}

.alt {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
}

.center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.defn {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 22px;
}

.defn dt {
  font-weight: 700;
  color: #fff;
}

.defn dd {
  margin: 6px 0 0;
  color: var(--sub);
}

.facts {
  background: var(--bg2);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 24px 26px;
}

.facts h3 {
  margin-top: 0;
}

.facts ul {
  margin: 0;
  padding-left: 18px;
}

.facts li {
  margin: 7px 0;
  color: var(--sub);
}

.facts strong {
  color: #fff;
}

.probs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--sub);
  margin: 0;
}

.tool {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: center;
  margin: 0 0 84px;
}

.tool.rev .tshot {
  order: 2;
}

.tnum {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0;
}

.tool h3 {
  font-size: 1.9rem;
  margin: 8px 0 6px;
}

.ttag {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--amber);
}

.tool p {
  color: var(--sub);
}

.tool ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.tool li {
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.tool li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.link {
  font-weight: 600;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.wide {
  max-width: 1024px;
  margin: 0 auto;
}

#money-flow-index figure {
  margin-top: 30px;
}

.diffs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.diff {
  display: flex;
  gap: 18px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.diff:last-child {
  grid-column: 1 / -1;
}

.diff h3 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.05rem;
  margin: 4px 0 6px;
}

.diff p {
  margin: 0;
  color: var(--sub);
}

.dn {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #08111d;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.tbl {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  font-size: 0.93rem;
}

caption {
  caption-side: bottom;
  text-align: left;
  padding: 14px 16px;
  color: var(--mut);
  font-size: 0.85rem;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: #0f1c30;
  color: #fff;
}

thead small {
  display: block;
  color: var(--mut);
  font-weight: 400;
  font-size: 0.76rem;
}

tbody th {
  color: #e2e8f1;
  font-weight: 500;
}

td {
  color: var(--sub);
}

.ffgc {
  background: rgba(232, 178, 58, 0.08);
  color: #fff;
}

thead th.ffgc {
  color: var(--amber);
  background: rgba(232, 178, 58, 0.16);
}

.yes {
  color: var(--g);
  font-weight: 800;
}

.no {
  color: var(--r);
  font-weight: 800;
}

.part {
  color: var(--amber);
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.three p {
  color: var(--sub);
}

.vid {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px solid #2a3a58;
  background: #000;
  margin: 18px 0 10px;
}

.transcript {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}

.transcript p {
  margin: 0 0 6px;
  color: var(--sub);
}

.ts {
  display: inline-block;
  min-width: 44px;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: s;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding-top: 66px;
}

.steps li::before {
  content: "0" counter(s);
  position: absolute;
  top: 18px;
  left: 26px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  color: var(--gold);
}

.center-cta {
  text-align: center;
  margin-top: 40px;
}

.qa {
  border-bottom: 1px solid var(--line);
  padding: 6px 0 10px;
}

.qa h3 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.08rem;
  margin: 18px 0 6px;
}

.qa p {
  color: var(--sub);
}

.sources {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
}

.sources summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
}

.sources li {
  margin: 6px 0;
}

.final {
  text-align: center;
  background: radial-gradient(800px 400px at 50% 0%, rgba(232, 178, 58, 0.18), transparent 70%);
  border-top: 1px solid var(--line);
}

.final h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.final p {
  color: var(--sub);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 16px auto 30px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--mut);
  font-size: 0.88rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.foot strong {
  color: #fff;
}

.disc {
  max-width: 620px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .navlinks {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .tool,
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tool.rev .tshot {
    order: 0;
  }

  .probs,
  .diffs {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

  .tool {
    margin-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .logo small {
    display: none;
  }

  .nav .btn.sm {
    padding: 9px 14px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 48px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 1000px;
}
