/* ==========================================================================
   Flobase marketing site — single stylesheet
   Organisation: tokens → reset → base → layout → components → sections → utilities
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* ink + surfaces */
  --ink:        #1a1a1a;
  --ink-2:      #4a4a4a;
  --ink-3:      #6b6b6b;
  --bg:         #ffffff;
  --bg-2:       #fafafa;
  --bg-3:       #f4f4f4;
  --line:       #e5e5e5;
  --line-2:     #d4d4d4;

  /* product accents */
  --flobase:    #cfb000;
  --siteflo:    #0d9488;
  --quoteflo:   #2563eb;
  --jobflo:     #ea580c;
  --cashflo:    #16a34a;

  /* state */
  --success:    #16a34a;
  --alert:      #dc2626;
  --placeholder:#ec4899;

  /* active accent — overridden per page on <body> */
  --accent:       var(--flobase);
  --accent-ink:   #ffffff;
  --accent-soft:  rgba(207, 176, 0, 0.08);

  /* type */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* rhythm */
  --max:        1120px;
  --gutter:     24px;
  --radius:     10px;
  --radius-lg:  16px;

  /* elevation */
  --shadow:     0 1px 2px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
}

body[data-accent="siteflo"]  { --accent: var(--siteflo);  --accent-soft: rgba(13,148,136,0.08); }
body[data-accent="quoteflo"] { --accent: var(--quoteflo); --accent-soft: rgba(37,99,235,0.08); }
body[data-accent="jobflo"]   { --accent: var(--jobflo);   --accent-soft: rgba(234,88,12,0.08); }
body[data-accent="cashflo"]  { --accent: var(--cashflo);  --accent-soft: rgba(22,163,74,0.08); }
body[data-accent="flobase"]  { --accent: var(--flobase);  --accent-soft: rgba(207,176,0,0.08); }

/* ---------- Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.01em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw + 0.5rem, 3.5rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem); }
h3 { font-size: clamp(1.125rem, 1vw + 0.75rem, 1.375rem); }
h4 { font-size: 1.0625rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-2); }
p.lead { font-size: 1.1875rem; color: var(--ink-2); }
small { color: var(--ink-3); }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.375em; }

/* ---------- Layout primitives ------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 64px 0;
}
@media (min-width: 768px) { .section { padding: 96px 0; } }

.section--tight  { padding: 48px 0; }
.section--bleed  { padding: 0; }
.section--alt    { background: var(--bg-2); }
.section--dark   { background: var(--ink); color: var(--bg); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--bg); }

.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
.grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.1s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover { filter: brightness(0.92); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #000; }

.btn--lg { padding: 16px 26px; font-size: 1.0625rem; }
.btn--sm { padding: 10px 16px; font-size: 0.9375rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header / nav ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo svg,
.site-header__logo img { height: 28px; width: auto; }
.site-header__logo:hover { text-decoration: none; }

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a.is-current { color: var(--ink); }

.site-header__cta { display: none; align-items: center; gap: 12px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  color: var(--ink);
}
.nav-toggle:hover { background: var(--bg-3); }
.nav-toggle__bars { width: 20px; height: 14px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after,
.nav-toggle__bars span {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span    { top: 6px; }
.nav-toggle__bars::after  { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span    { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 6px; transform: rotate(-45deg); }

/* mobile menu drawer */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 16px var(--gutter) 24px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.0625rem;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { text-decoration: none; }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.mobile-menu__cta .btn { width: 100%; }

@media (min-width: 880px) {
  .site-nav { display: flex; }
  .site-header__cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero -------------------------------------------------------- */
.hero {
  padding: 64px 0 48px;
  position: relative;
}
@media (min-width: 768px) { .hero { padding: 96px 0 80px; } }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { max-width: 18ch; }
.hero p.lead { max-width: 58ch; margin-top: 16px; }
.hero .btn-row { margin-top: 32px; }

/* ---------- Cards ------------------------------------------------------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card--pad-lg { padding: 32px; }

.card--feature {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card--feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.card__icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 6px; }
.card p  { margin-bottom: 0; }

/* product cards (home page) */
.product-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
  text-decoration: none;
}
.product-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--ink-2);
}
.product-card__badge--live {
  background: rgba(22,163,74,0.1);
  color: var(--success);
}
.product-card__logo { height: 32px; margin-bottom: 8px; }
.product-card__logo svg,
.product-card__logo img { height: 100%; width: auto; }
.product-card p { color: var(--ink-2); margin-bottom: 12px; }
.product-card__link { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.product-card__link::after { content: "→"; transition: transform 0.15s ease; }
.product-card:hover .product-card__link::after { transform: translateX(2px); }

.product-card[data-product="siteflo"]  { --accent: var(--siteflo);  --accent-soft: rgba(13,148,136,0.08); }
.product-card[data-product="quoteflo"] { --accent: var(--quoteflo); --accent-soft: rgba(37,99,235,0.08); }
.product-card[data-product="jobflo"]   { --accent: var(--jobflo);   --accent-soft: rgba(234,88,12,0.08); }
.product-card[data-product="cashflo"]  { --accent: var(--cashflo);  --accent-soft: rgba(22,163,74,0.08); }

/* ---------- Pain / solution pairs --------------------------------------- */
.pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pain-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pain-list li strong { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 2px; }
.pain-list li p { margin: 0; font-size: 0.9375rem; }
.pain-list .icon-pill {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pain-list .icon-pill--pain {
  background: rgba(220,38,38,0.08);
  color: var(--alert);
}
.pain-list .icon-pill--fix {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---------- Steps (how it works) ---------------------------------------- */
.steps { display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p  { margin-bottom: 0; font-size: 0.9375rem; }

/* ---------- Pricing ----------------------------------------------------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-3);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin: 0 auto 40px;
}
.billing-toggle button {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-2);
  transition: background 0.15s ease, color 0.15s ease;
}
.billing-toggle button.is-active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.billing-toggle__save {
  margin-left: 4px;
  font-size: 0.75rem;
  color: var(--success);
  background: rgba(22,163,74,0.1);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.plans {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.plan {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 6px 24px rgba(13,148,136,0.1);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan__name { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.plan__tagline { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 24px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan__price .num { font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.plan__price .per { color: var(--ink-2); font-size: 1rem; }
.plan__billed { color: var(--ink-3); font-size: 0.8125rem; margin-bottom: 24px; min-height: 1em; }
.plan__cta { margin-bottom: 28px; }
.plan__cta .btn { width: 100%; }
.plan__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 0.9375rem;
  margin: 0;
}
.plan__features li svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

/* comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--bg);
}
.compare caption {
  text-align: left;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.125rem;
}
.compare th, .compare td {
  padding: 14px 20px;
  text-align: left;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
  vertical-align: middle;
}
.compare thead th {
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 700;
  border-top: 0;
}
.compare thead th.is-featured { color: var(--accent); }
.compare tbody th {
  color: var(--ink);
  font-weight: 500;
  background: var(--bg);
}
.compare td.tick { color: var(--accent); font-weight: 600; text-align: center; }
.compare td.dash { color: var(--line-2); text-align: center; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--bg-2); }

/* all plans include strip */
.includes {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .includes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .includes { grid-template-columns: repeat(3, 1fr); } }
.includes__item { display: flex; gap: 10px; align-items: center; font-size: 0.9375rem; color: var(--ink-2); }
.includes__item svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--accent); }

/* ---------- FAQ --------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 50%;
  top: 50%;
  transition: transform 0.2s ease;
}
.faq__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Placeholders (SVG mock UIs) --------------------------------- */
.placeholder {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.placeholder__banner {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--placeholder);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(236,72,153,0.35);
}
.placeholder__banner--video {
  top: 16px;
  left: 16px;
}
.placeholder svg.mock { display: block; width: 100%; height: auto; }

/* video-style placeholder */
.placeholder--video {
  aspect-ratio: 16 / 9;
  background: #0f1720;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
}
.placeholder--video .play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.placeholder--video .play svg { width: 28px; height: 28px; margin-left: 3px; }
.placeholder--video .label {
  position: absolute;
  bottom: 16px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

/* phone-frame wrapper for mobile app mockups */
.phone-frame {
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px;
  background: #111;
  border-radius: 36px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.08);
  position: relative;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: #333;
  border-radius: 2px;
  z-index: 2;
}
.phone-frame .screen {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
}

/* ---------- Forms ------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row.cols-2 { grid-template-columns: 1fr 1fr; } }

.form label {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.form input,
.form textarea,
.form select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form__hint { color: var(--ink-3); font-size: 0.875rem; }

.form-msg {
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  display: none;
}
.form-msg.is-visible { display: block; }
.form-msg--ok    { background: rgba(22,163,74,0.08); color: var(--success); border: 1px solid rgba(22,163,74,0.2); }
.form-msg--err   { background: rgba(220,38,38,0.06); color: var(--alert);   border: 1px solid rgba(220,38,38,0.2); }

/* ---------- CTA band ---------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { max-width: 22ch; margin: 0 auto 12px; }
.cta-band p  { max-width: 52ch; margin: 0 auto 28px; color: rgba(255,255,255,0.75); }

/* ---------- Footer ------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  font-size: 0.9375rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer__brand svg,
.site-footer__brand img { height: 28px; width: auto; margin-bottom: 12px; }
.site-footer__brand p   { color: rgba(255,255,255,0.6); max-width: 36ch; font-size: 0.9375rem; }
.site-footer h4 { color: #fff; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Small bits -------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.quote {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 720px;
  margin: 0 auto;
}
.quote p { font-size: 1.125rem; color: var(--ink); font-style: italic; margin-bottom: 12px; }
.quote cite { font-style: normal; font-size: 0.9375rem; color: var(--ink-2); }

/* founder strip */
.founder {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .founder { grid-template-columns: 280px 1fr; }
}
.founder__photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.founder__photo .placeholder__banner { position: absolute; }
.founder__photo svg { width: 100%; height: 100%; }
.founder__body p.lead { margin-top: 8px; }

/* logo-stack — breadcrumb above logo on product pages */
.logo-stack { display: flex; flex-direction: column; gap: 2px; }
.back-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  line-height: 1;
  transition: color 0.15s;
  white-space: nowrap;
}
.back-link:hover { color: var(--ink-2); text-decoration: none; }

/* utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0  { margin-top: 0 !important; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0 !important; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.muted { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.back-to-flobase {
  font-size: 0.75rem;
  color: #6b7280;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}
.back-to-flobase:hover {
  color: #111827;
}
