/* FORGE public site (2026-10-17 rewrite). Scoped under .fs so the dark app behind the login is untouched.
   Palette and type from the council work-up (tasks/forge-saas-plan-2026-10-17.md). */
.fs {
  --navy: #10233f;
  --ink: #10233f;
  --paper: #f7f8f5;
  --card: #ffffff;
  --slate: #526174;
  --line: #e2e6ea;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #0f9d8a;
  --amber: #d99000;
  --soft-blue: #eaf1fe;
  --soft-teal: #e6f6f3;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.fs * { box-sizing: border-box; }
.fs h1, .fs h2, .fs h3, .fs h4 { font-family: "IBM Plex Sans", Inter, sans-serif; color: var(--navy); margin: 0; letter-spacing: -0.01em; }
.fs h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.08; font-weight: 700; }
.fs h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; font-weight: 700; }
.fs h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
.fs p { margin: 0; }
.fs a { color: inherit; }
.fs .mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.fs .wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.fs .narrow { max-width: 760px; }
.fs section { padding: 84px 0; }
.fs .muted { color: var(--slate); }
.fs .eyebrow { color: var(--blue); font-weight: 600; }
.fs .lead { font-size: 1.2rem; color: var(--slate); max-width: 680px; }
.fs .stack > * + * { margin-top: 18px; }
.fs .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fs .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fs .grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) {
  .fs .grid3, .fs .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fs { font-size: 16px; }
  .fs section { padding: 60px 0; }
  .fs .grid2, .fs .grid3, .fs .grid4 { grid-template-columns: 1fr; }
}

/* buttons */
.fs .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.fs .btn-primary { background: var(--blue); color: #fff; }
.fs .btn-primary:hover { background: var(--blue-dark); }
.fs .btn-ghost { background: transparent; color: var(--navy); border-color: #c9d1da; }
.fs .btn-ghost:hover { border-color: var(--navy); }
.fs .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* cards */
.fs .card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.fs .card h3 + p { margin-top: 8px; color: var(--slate); }
.fs .tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--soft-blue); color: var(--blue-dark); font-size: 0.8rem; font-weight: 600; }
.fs .check { color: var(--teal); }

/* header */
.fs .site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 248, 245, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.fs .site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.fs .logo { font-family: "IBM Plex Sans", sans-serif; font-weight: 700; letter-spacing: 0.14em; font-size: 1.1rem; text-decoration: none; color: var(--navy); }
.fs .nav { display: flex; align-items: center; gap: 26px; }
.fs .nav a { text-decoration: none; color: var(--slate); font-weight: 500; font-size: 0.95rem; }
.fs .nav a:hover, .fs .nav a.active { color: var(--navy); }
.fs .nav-cta { display: flex; align-items: center; gap: 14px; }
.fs .nav-cta .signin { text-decoration: none; color: var(--slate); font-weight: 500; font-size: 0.95rem; }
.fs .menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--navy); }
.fs .mobile-nav { display: none; }
@media (max-width: 900px) {
  .fs .nav, .fs .nav-cta .signin { display: none; }
  .fs .menu-btn { display: inline-block; }
  .fs .mobile-nav.open { display: block; border-top: 1px solid var(--line); padding: 10px 20px 18px; }
  .fs .mobile-nav a { display: block; padding: 10px 0; text-decoration: none; color: var(--navy); font-weight: 500; }
  .fs .nav-cta .btn { padding: 10px 14px; font-size: 0.92rem; }
}

/* hero */
.fs .hero { padding: 76px 0 64px; }
.fs .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.fs .hero .lead { margin-top: 22px; }
.fs .hero .btn-row { margin-top: 30px; }
.fs .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(16, 35, 63, 0.35); background: #fff; }
.fs .shot img { display: block; width: 100%; height: auto; }
.fs .shot-caption { margin-top: 12px; color: var(--slate); font-size: 0.88rem; }
@media (max-width: 900px) { .fs .hero-grid { grid-template-columns: 1fr; } }

/* proof strip */
.fs .proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.fs .proof > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.fs .proof > div:first-child { border-left: none; }
.fs .proof strong { display: block; font-family: "IBM Plex Sans", sans-serif; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.fs .proof span { color: var(--slate); font-size: 0.92rem; }
@media (max-width: 900px) {
  .fs .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs .proof > div:nth-child(3) { border-left: none; }
  .fs .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* bands */
.fs .band { background: var(--navy); color: #e8edf5; }
.fs .band h2, .fs .band h3 { color: #fff; }
.fs .band .muted, .fs .band .lead { color: #b7c3d4; }
.fs .band .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.fs .band .card h3 + p { color: #b7c3d4; }
.fs .white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* steps */
.fs .steps { counter-reset: step; display: grid; gap: 14px; }
.fs .step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.fs .step .n { width: 40px; height: 40px; border-radius: 10px; background: var(--soft-blue); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: "IBM Plex Sans", sans-serif; }
.fs .step p { color: var(--slate); margin-top: 4px; }

/* complaint vs answer */
.fs .versus { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.fs .versus + .versus { margin-top: 14px; }
.fs .versus > div { padding: 22px 24px; }
.fs .versus .them { background: #fbf6ec; border-right: 1px solid var(--line); }
.fs .versus .them .mono { color: var(--amber); }
.fs .versus .us .mono { color: var(--teal); }
.fs .versus h3 { margin-top: 6px; font-size: 1.08rem; }
.fs .versus p { color: var(--slate); margin-top: 6px; }
@media (max-width: 640px) {
  .fs .versus { grid-template-columns: 1fr; }
  .fs .versus .them { border-right: none; border-bottom: 1px solid var(--line); }
}

/* lists */
.fs ul.checks { list-style: none; padding: 0; margin: 0; }
.fs ul.checks li { position: relative; padding-left: 28px; margin-top: 10px; }
.fs ul.checks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* pricing */
.fs .price { font-family: "IBM Plex Sans", sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.fs .price small { font-size: 1rem; font-weight: 500; color: var(--slate); }

/* tables */
.fs .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.fs table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.fs th, .fs td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.fs thead th { border-top: none; background: #f1f3f0; font-family: "IBM Plex Sans", sans-serif; color: var(--navy); }

/* forms */
.fs label.field { display: block; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.fs label.field span.hint { font-weight: 400; color: var(--slate); }
.fs .input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #c9d1da; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.fs .input:focus { outline: 2px solid var(--soft-blue); border-color: var(--blue); }
.fs textarea.input { min-height: 140px; resize: vertical; }
.fs .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fs .notice { border-radius: 10px; padding: 14px 16px; }
.fs .notice.ok { background: var(--soft-teal); color: #0b5d52; }
.fs .notice.err { background: #fdecec; color: #8a1c1c; }

/* footer */
.fs .site-footer { border-top: 1px solid var(--line); padding: 46px 0 56px; color: var(--slate); font-size: 0.92rem; }
.fs .site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.fs .site-footer a { text-decoration: none; color: var(--slate); display: block; margin-top: 8px; }
.fs .site-footer a:hover { color: var(--navy); }
/* versus cards keep dark headings inside the dark band */
.fs .band .versus h3 { color: var(--navy); }

/* ── Imagery (2026-10-17): editorial photography + the real product capture ───────────────────── */
.fs .photo-hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.fs .photo-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fs .photo-hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 24, 46, 0.94) 0%, rgba(10, 24, 46, 0.82) 38%, rgba(10, 24, 46, 0.25) 72%, rgba(10, 24, 46, 0.05) 100%); }
.fs .photo-hero .wrap { position: relative; width: 100%; padding-top: 90px; padding-bottom: 90px; }
.fs .photo-hero h1 { color: #fff; max-width: 640px; }
.fs .photo-hero .lead { color: #d3dceb; max-width: 590px; margin-top: 22px; }
.fs .photo-hero .eyebrow { color: #8fbaff; }
.fs .photo-hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.fs .photo-hero .btn-ghost:hover { border-color: #fff; }
.fs .photo-hero .btn-row { margin-top: 32px; }
.fs .float-shot { position: relative; margin-top: -150px; z-index: 2; }
.fs .float-shot .shot { max-width: 880px; margin-left: auto; }
@media (max-width: 900px) {
  .fs .photo-hero { min-height: 560px; }
  .fs .photo-hero::before { background: linear-gradient(180deg, rgba(10, 24, 46, 0.55) 0%, rgba(10, 24, 46, 0.92) 55%); }
  .fs .photo-hero .wrap { padding-top: 220px; padding-bottom: 56px; }
  .fs .float-shot { margin-top: -40px; }
}

.fs .page-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.fs .page-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs .page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 24, 46, 0.92) 0%, rgba(10, 24, 46, 0.55) 55%, rgba(10, 24, 46, 0.2) 100%); }
.fs .page-hero .wrap { position: relative; width: 100%; padding-bottom: 56px; padding-top: 120px; }
.fs .page-hero h1 { color: #fff; max-width: 820px; }
.fs .page-hero .lead { color: #d3dceb; margin-top: 18px; }
.fs .page-hero .eyebrow { color: #8fbaff; }

.fs .photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.fs .photo-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.fs .photo-card .body { padding: 22px 24px 26px; }
.fs .photo-card .body h3 + p { margin-top: 8px; color: var(--slate); }

.fs .photo-band { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.fs .photo-band > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs .photo-band::before { content: ""; position: absolute; inset: 0; background: rgba(10, 24, 46, 0.72); }
.fs .photo-band .wrap { position: relative; width: 100%; }
.fs .photo-band h2 { color: #fff; max-width: 820px; }
.fs .photo-band .lead { color: #d3dceb; }

.fs .split-photo { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(16, 35, 63, 0.45); }
.fs .split-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.fs .stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.fs .stat-row strong { display: block; font-family: "IBM Plex Sans", sans-serif; font-size: 2.2rem; color: #fff; line-height: 1.1; }
.fs .stat-row span { color: #b7c3d4; }
@media (max-width: 640px) { .fs .stat-row { grid-template-columns: 1fr; } }

.fs .industries { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--slate); font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 0.98rem; }
.fs .faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.fs .faq summary { cursor: pointer; font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: 1.08rem; color: var(--navy); list-style: none; }
.fs .faq summary::-webkit-details-marker { display: none; }
.fs .faq summary::after { content: "+"; float: right; color: var(--blue); font-weight: 400; }
.fs .faq details[open] summary::after { content: "\2212"; }
.fs .faq details p { margin-top: 10px; color: var(--slate); }

/* ── Guides (static pages from scripts/build-guides.mjs) ──────────────────────────────────────── */
.fs .guide-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.fs .guide-toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.fs .guide-toc a { color: var(--slate); text-decoration: none; line-height: 1.35; }
.fs .guide-toc a:hover { color: var(--blue); }
.fs .guide { max-width: 760px; min-width: 0; overflow-wrap: anywhere; }
.fs .guide h2 { font-size: 1.7rem; margin: 46px 0 14px; scroll-margin-top: 90px; }
.fs .guide h3 { font-size: 1.22rem; margin: 30px 0 10px; scroll-margin-top: 90px; }
.fs .guide p { margin: 0 0 16px; }
.fs .guide ul, .fs .guide ol { margin: 0 0 18px; padding-left: 22px; }
.fs .guide li { margin: 6px 0; }
.fs .guide a { color: var(--blue); }
.fs .guide .table-wrap { margin: 8px 0 22px; }
.fs .guide .answer { background: var(--soft-blue); border-left: 4px solid var(--blue); border-radius: 10px; padding: 20px 22px; margin-bottom: 26px; }
.fs .guide .answer .mono { color: var(--blue-dark); margin-bottom: 6px; }
.fs .guide .answer p { margin: 0; font-size: 1.08rem; color: var(--ink); }
.fs .guide-cta { background: var(--navy); color: #d3dceb; border-radius: 14px; padding: 30px; margin: 40px 0; }
.fs .guide-cta h3 { color: #fff; margin: 0 0 8px; }
.fs .guide-cta p { color: #b7c3d4; }
.fs .guide-cta .btn { margin-top: 6px; }
.fs .guide ol.sources { font-size: 0.9rem; color: var(--slate); }
@media (max-width: 900px) {
  .fs .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fs .guide-toc { display: none; }
}

/* layering: photo at the back, the darkening overlay over it, the content on top */
.fs .photo-hero > img.bg, .fs .page-hero > img.bg, .fs .photo-band > img.bg { z-index: 0; }
.fs .photo-hero::before, .fs .page-hero::before, .fs .photo-band::before { z-index: 1; }
.fs .photo-hero .wrap, .fs .page-hero .wrap, .fs .photo-band .wrap { z-index: 2; }
/* buttons inside guide text keep their own colors */
.fs .guide a.btn-primary, .fs .guide-cta a.btn-primary { color: #fff; }
