/* Staging trial: the Manigen app look (Nov 2026) applied to the site.
   Flat sections with one hairline on top instead of rounded cards, small radii,
   no shadows or hover lifts, organic wave edges kept, no italic accent words,
   fresher canvas. Brand colour stays. Loaded by the homepage and /staging/ (not by other pages). */

:root {
  --paper: #FAFBFE;
  --paper-rgb: 250,251,254;
  --paper-2: #F3F4F9;
  --r-sm: 4px;
  --r-md: 6px;
}


/* ---------- No italic accent words; colour carries the emphasis ---------- */
.hero h1 .accent,
.how-pull-quote em,
.section-head .lead em,
.cta-block h2 em,
#start .section-h em,
#cases .section-h em { font-style: normal !important; }
.hero h1 .accent { font-variation-settings: 'opsz' 96, 'wght' 600; }

/* ---------- Buttons: small radius, no lift ---------- */
.btn, .who-meter-btn { border-radius: var(--r-md); }
.btn:hover { transform: none; }
.btn .arrow, .who-meter-btn .arrow { border-radius: 3px; }
.header .btn { padding: 13px 20px; }

/* ---------- What we do: flat sections, not cards ---------- */
.pillars.light { gap: clamp(28px, 3vw, 48px); }
.pillars.light .pillar,
#what .pillar {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  padding: clamp(22px, 2vw, 28px) 0 0;
  box-shadow: none;
}
.pillars.light .pillar:hover { transform: none; box-shadow: none; background: transparent; }
#what .pillar-visual { border-radius: var(--r-md); margin: 0; background: var(--white); }
/* The problem line: no tinted box, a bare orange marker */
#what .pillar-leak {
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  align-items: flex-start;
  font-size: 16px;
  color: var(--ink);
}
#what .leak-x { background: transparent; border-radius: 0; width: auto; height: auto; margin-top: 1px; font-size: 15px; }
#what .pillar ul li::before { font-family: var(--sans); }
@media (min-width: 981px) { #what .pillar-leak { min-height: 72px; } }
.founder-note .founder-photo { border-radius: var(--r-md); }
.modules-outro .founder-photo { border-radius: var(--r-md); }

/* ---------- Cases: flat columns on dark, figures carry the colour ---------- */
#cases .cases-grid { gap: clamp(28px, 3vw, 48px); }
.section.dark .case {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.28);
  border-radius: 0;
  padding: clamp(22px, 2vw, 28px) 0 0;
  min-height: 0;
  overflow: visible;
}
.section.dark .case::before { display: none; }
.section.dark .case:hover { transform: none; box-shadow: none; border-top-color: var(--hot); }
.section.dark .case .metric .v.hot { color: var(--hot); }
.section.dark .case .metric .v.blue { color: #8F86F5; }
.section.dark .case:hover .metric .v.blue { color: #8F86F5; }

/* ---------- How we work: screenshot without the floating shadow ---------- */
#how .how-shot { border-radius: var(--r-md); box-shadow: none; border-color: var(--line-strong); }
#how .how-shot-bar span { border-radius: 2px; }
#how .how-channels {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

/* ---------- Fit check: square ticks, flat meter ---------- */
.who-meter { border-radius: var(--r-md); }
.who-meter[data-tier] { box-shadow: none; transform: none; }
.who-check { border-radius: var(--r-sm); }
.who-row:hover { padding-left: 0; }
.who-meter-track, .who-meter-fill { border-radius: 2px; }

/* ---------- FAQ: square toggle ---------- */
.faq-q .icon, #faq .faq-q .icon { border-radius: var(--r-sm); background: transparent; }

/* ---------- Getting started ---------- */
.cta-host img { border-radius: var(--r-md); }

/* Open FAQ toggle stays a square (rotating it made a diamond) */
#faq .faq-item.open .faq-q .icon, .faq-item.open .faq-q .icon { transform: none; color: var(--white); background: var(--hot); border-color: var(--hot); }

/* What we do on white, so the illustrations sit on the page instead of in boxes */
#what { background: var(--white) !important; }
#what .pillar-visual { background: transparent; }

/* Case dividers stronger than the line above the figures, so each case reads as one block */
.section.dark .case { border-top-color: rgba(255,255,255,0.45); }
.section.dark .case .metric-grid { border-color: rgba(255,255,255,0.12); }

/* What we do is white now, so the cases wave above it fills with white too */
#cases { --wave-top: var(--white); }

/* ================= Site-wide (all pages that load flat.css) ================= */

/* No Geist Mono anywhere: small labels are plain Geist in sentence case */
:root { --mono: var(--sans); }
.mono, .lang-toggle, .ticker, .hero-eyebrow .pill, .pillar-stat, .case .case-tag,
.team-role, .sr-hero .label, .sr-success .label, .sr-success .next h2,
.legal-doc th, .legal-meta {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
}
.mono, .team-role, .sr-hero .label, .sr-success .label, .sr-success .next h2, .legal-doc th {
  font-size: 15px;
  font-weight: 500;
}

/* No italic accent words on the other pages either */
.about-hero h1 em, .sr-hero h1 em, .sr-success h1 em { font-style: normal; }

/* About: team cards become flat sections */
.team-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  padding-top: clamp(18px, 1.6vw, 24px);
}
.team-card:hover { transform: none; border-color: var(--line-strong); }
.team-photo { border-radius: var(--r-md); overflow: hidden; }
.team-meta { padding-left: 0; padding-right: 0; }

/* Account review: calendar frame, privacy: table frame */
.sr-calendly .calendly-inline-widget { border-radius: var(--r-md); }
.table-wrap { border-radius: var(--r-md); }

/* Review pages: star and label text spaced like the homepage labels */
.sr-hero .label, .sr-success .label { display: inline-flex; align-items: center; gap: 0; white-space: pre; }
.sr-hero .label::before, .sr-success .label::before { margin-right: 10px; }
/* Calendar: no second frame around Calendly's own box */
.sr-calendly .calendly-inline-widget { border: 0; background: transparent; }

/* ---------- How we work: clickable tour of the client app ---------- */
#how .app-tabs { gap: 2px; padding: 6px 8px; overflow-x: auto; scrollbar-width: none; }
#how .app-tabs::-webkit-scrollbar { display: none; }
#how .app-tab { flex-shrink: 0; padding: 7px 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .2s ease, color .2s ease; }
#how .app-tab:hover { color: var(--ink); background: rgba(35,36,33,0.05); }
#how .app-tab.is-on { background: var(--white); color: var(--primary); box-shadow: inset 0 0 0 1px var(--line); }
#how .app-stage { position: relative; display: grid; background: #F9FAFE; }
#how .app-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
#how .app-slide.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
#how .app-slide img { display: block; width: 100%; height: auto; }
/* The sidebar inside the screenshot works too */
#how .app-spot { position: absolute; left: 2.2%; width: 13%; height: 3.6%; cursor: pointer; border-radius: 3px; }
#how .app-spot:hover { background: rgba(91,79,232,0.06); }
@media (max-width: 640px) { #how .app-spot { display: none; } #how .app-tab { padding: 7px 10px; font-size: 13px; } }

/* ---------- What we do: flat examples of the real work instead of 3D illustrations (staging trial) ---------- */
#what .pillar-visual.mini {
  aspect-ratio: auto; min-height: 240px; margin: 0; padding: 22px 22px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  font-size: 14.5px; line-height: 1.4; color: var(--ink); font-variant-numeric: tabular-nums;
}
.mini-k { font-size: 12.5px; font-weight: 500; color: rgba(35,36,33,0.55); }
.mini-row { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: baseline; }
.mini-old { color: rgba(35,36,33,0.5); text-decoration: line-through; text-decoration-color: var(--hot); }
.mini-new { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); }
.mini-gap { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.mini-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-tags span { padding: 4px 8px; border-radius: var(--r-sm); background: rgba(91,79,232,0.08); color: var(--primary); font-size: 13px; font-weight: 500; }
.mini-head, .mini-line, .mini-foot { display: flex; justify-content: space-between; gap: 12px; }
.mini-head { font-size: 12.5px; font-weight: 500; color: rgba(35,36,33,0.55); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mini-line { padding: 4px 0; }
.mini-line > span:last-child { white-space: nowrap; color: rgba(35,36,33,0.55); }
.mini-line i { font-style: normal; margin: 0 2px; }
.mini-line b { font-family: var(--display); font-weight: 600; }
.mini-line b.up { color: var(--primary); }
.mini-line b.down { color: var(--hot); }
.mini-foot { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; color: rgba(35,36,33,0.6); }
.mini-foot b { color: var(--ink); font-weight: 600; }
.mini-log { display: grid; grid-template-columns: 44px 8px 1fr; gap: 10px; align-items: baseline; padding: 4px 0; }
.mini-log + .mini-log { border-top: 1px solid var(--line); padding-top: 10px; }
.mini-log time { font-size: 13px; color: rgba(35,36,33,0.55); }
.mini-log .dot { width: 7px; height: 7px; border-radius: 50%; align-self: center; }
.mini-log .dot.blue { background: var(--primary); }
.mini-log .dot.hot { background: var(--hot); }
