/* =========================================================
   Frangoules Enterprises | site styles
   Tokens first, then layout, then sections, then components.
   Light is default; dark via [data-theme="dark"] on <html>.
   ========================================================= */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --bg: #f7f7f5;
  --bg-2: #efefec;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --text: #1a1a1c;
  --muted: #5d5d63;      /* 6.3:1 on --bg */
  --muted-2: #a3a3aa;    /* decorative only */
  --line: #e2e2de;
  --line-2: #d4d4cf;
  --accent: #1F6B45;     /* 6.0:1 on white */
  --accent-soft: #e2efe7;
  --brand-green: #1F6B45;
  --good: #128a5a;
  --shadow: 0 1px 2px rgba(12,12,20,.04), 0 12px 40px -12px rgba(12,12,20,.18);
  --shadow-lg: 0 2px 6px rgba(12,12,20,.05), 0 40px 80px -30px rgba(12,12,20,.35);
  --dark-bg: #0d0d10;
  --dark-surface: #16161b;
  --dark-text: #ededf0;
  --dark-muted: #a2a2ad;
  --radius: 14px;
  --radius-lg: 22px;
  --gutter: 16px;
  --max: 1200px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--font); /* one typeface everywhere; no monospace */
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b0b0c;
  --bg-2: #121215;
  --surface: #151518;
  --ink: #f2f2f4;
  --text: #e6e6ea;
  --muted: #a0a0aa;      /* 7.6:1 on --bg */
  --muted-2: #55555e;
  --line: #24242a;
  --line-2: #303038;
  --accent: #7CF0B4;
  --accent-soft: #12271d;
  --brand-green: #7CF0B4;
  --good: #57d39b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 40px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 40px 80px -30px rgba(0,0,0,.8);
  --dark-bg: #111116;
  --dark-surface: #1a1a21;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 24px; height: 26px; color: var(--ink); flex: none; overflow: visible; }
.brand__mark .bm-stem { fill: currentColor; }
.brand__mark .bm-cur { fill: var(--brand-green); animation: bm-blink 1s steps(1, end) .6s 3; }
.brand:hover .bm-cur { animation: bm-blink-again 1s steps(1, end) 3; }
@keyframes bm-blink { 50% { opacity: .15; } }
@keyframes bm-blink-again { 50% { opacity: .15; } }
.brand__name { font-weight: 700; letter-spacing: -0.03em; font-size: 18px; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.brand__sub { font-weight: 400; color: var(--muted); }
.nav__links { display: none; gap: 28px; font-size: 14.5px; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (max-width: 420px) { .brand__sub { display: none; } }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__links a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1120px) { .nav__links { gap: 16px; font-size: 14px; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 24px; position: relative; }
.hero::before { /* faint grid backdrop */
  content: ""; position: absolute; inset: 0 0 30% 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero > * { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  font: 500 13px/1 var(--mono); letter-spacing: .02em; color: var(--muted);
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 25%, transparent); }
.hero__title { font-size: clamp(2.6rem, 7.4vw, 5.6rem); letter-spacing: -0.045em; line-height: .98; font-weight: 600; max-width: 14ch; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } .hero__title { max-width: none; } }
.hero__row { display: grid; gap: 24px; margin-top: 24px; align-items: end; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40ch; margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .hero__row { grid-template-columns: 1fr auto; } .hero { padding-top: 56px; } }

/* Showcase stage */
.stage { margin-top: 36px; overflow: hidden; padding: 8px 0 40px; }
.stage__inner {
  position: relative; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  aspect-ratio: 16 / 10.5;
}
.stage .frame { position: absolute; }
.stage__a { left: 4%; top: 0; width: 68%; z-index: 2; }
.stage__b { right: 2%; top: 14%; width: 46%; z-index: 1; opacity: .96; }
.stage__c { left: 0; bottom: 2%; width: 40%; z-index: 3; }
.stage__d { right: 10%; bottom: 0; width: 17%; z-index: 4; }
@media (max-width: 720px) {
  .stage__inner { aspect-ratio: 4 / 4.6; }
  .stage__a { left: var(--gutter); width: calc(88% - var(--gutter)); }
  .stage__b { display: none; }
  .stage__c { left: var(--gutter); width: 70%; bottom: 0; }
  .stage__d { right: var(--gutter); width: 34%; bottom: 4%; }
}
.float-1 { animation: float 9s ease-in-out infinite; }
.float-2 { animation: float 11s ease-in-out -3s infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.live-strip {
  list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; font: 500 13px/1.4 var(--mono); color: var(--muted);
}
.live-strip li:first-child { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.live-strip a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.live-strip a:hover { color: var(--ink); border-color: var(--ink); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Device frames ---------- */
.frame { margin: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.frame--browser .frame__bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame__bar span { margin: 0 auto; font: 500 11px/1 var(--mono); color: var(--muted); transform: translateX(-14px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame--phone { border-radius: 26px; padding: 6px; background: #0b0b0c; border-color: #0b0b0c; }
.frame--phone img { border-radius: 20px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; width: 100%; }
@media (max-width: 720px) { .frame--browser .frame__bar { height: 22px; } .frame__bar span { font-size: 9px; } .frame__bar i { width: 6px; height: 6px; } .frame--phone { border-radius: 18px; padding: 4px; } .frame--phone img { border-radius: 14px; } }

/* ---------- Illustrative app mock (hero) ---------- */
.frame--app { padding: 0; }
.mock-app { display: grid; grid-template-columns: 44px 1fr; min-height: 100%; font-size: 12px; }
.mock-app__side { background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.mock-app__side b { width: 20px; height: 20px; border-radius: 6px; background: var(--ink); margin-bottom: 6px; }
.mock-app__side span { width: 18px; height: 6px; border-radius: 3px; background: var(--line-2); }
.mock-app__side span.on { background: var(--accent); }
.mock-app__main { padding: 14px; display: grid; gap: 10px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; }
.mock-row strong { color: var(--ink); font-weight: 600; font-size: 13px; }
.pill { font: 500 10px/1 var(--mono); font-style: normal; color: var(--accent); background: var(--accent-soft); padding: 5px 8px; border-radius: 999px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 6px; }
.mock-kpis small { color: var(--muted); font-size: 10px; line-height: 1.1; }
.mock-kpis i, .mock-list i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: var(--ink); opacity: .85; }
.mock-chart { width: 100%; height: 64px; }
.mock-list { display: grid; gap: 6px; }
.mock-list span { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; }
.mock-list b { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 10px; display: grid; place-items: center; }
.mock-list i { opacity: .2; }
.mock-list em { font-style: normal; font: 500 9.5px/1 var(--mono); color: var(--muted); }
@media (max-width: 720px) {
  .mock-app { grid-template-columns: 30px 1fr; }
  .mock-app__main { padding: 9px; gap: 7px; }
  .mock-kpis div:nth-child(3), .mock-list span:nth-child(3) { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-chart { height: 40px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-2); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__lede { color: var(--muted); font-size: 1.1rem; margin: 18px 0 0; max-width: 56ch; }
.kicker { font: 500 13px/1 var(--mono); color: var(--accent); margin: 0 0 18px; letter-spacing: .02em; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section__head { margin-bottom: 40px; } }

/* ---------- Case studies ---------- */
.case { display: grid; gap: 32px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 960px) {
  .case { grid-template-columns: 1.25fr 1fr; gap: 64px; padding: 64px 0; }
  .case--flip .case__visual { order: 2; }
  .case--wide { grid-template-columns: 1fr 1.25fr; }
}
.case__visual { position: relative; padding: 0 0 36px; }
.case__visual--ecm .frame--browser, .case__visual--wl .frame--browser { width: 92%; }
.case__float { position: absolute; right: 0; bottom: 0; width: 46%; }
.case__phone { position: absolute; right: 0; bottom: 0; width: 26%; }
.case__meta { font: 500 13px/1.4 var(--mono); color: var(--muted); margin-bottom: 14px; }
.case__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; margin-bottom: 16px; }
.case__body > p { color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); background: var(--surface); }
.facts { margin: 0 0 22px; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.facts dt { font: 500 12.5px/1.6 var(--mono); color: var(--muted); }
.facts dd { margin: 0; font-size: 15.5px; color: var(--text); }
.link-arrow { font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--ink); }

/* Calendar mock */
.mock-cal { padding: 12px; font-size: 11px; display: grid; gap: 10px; }
.mock-cal__grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto repeat(4, 16px); gap: 5px; }
.mock-cal__grid span { font: 500 9.5px/1 var(--mono); color: var(--muted); }
.ev { grid-column: var(--c); grid-row: var(--r); border-radius: 5px; background: var(--accent); }
.ev--alt { background: var(--ink); }
.ev--soft { background: var(--accent-soft); }

/* Ops mock */
.ops { padding: 16px; display: grid; gap: 12px; font-size: 12px; }
.ops__top { display: flex; justify-content: space-between; align-items: center; }
.ops__top strong { color: var(--ink); font-size: 14px; }
.ops__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ops__card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 10px; background: var(--bg); }
.ops__card--wide { grid-column: 1 / -1; }
.ops__card small { color: var(--muted); font-size: 11px; }
.ops__card svg { width: 100%; height: 70px; }
.ops__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.ops__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--accent); opacity: .85; }
.ops__tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ops__tasks li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: center; }
.ops__tasks b { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); }
.ops__tasks b.ok { background: var(--good); border-color: var(--good); }
.ops__tasks i { height: 7px; width: var(--w); border-radius: 4px; background: var(--ink); opacity: .18; display: block; }

/* ---------- Services ---------- */
.grid4 { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.svc { background: var(--surface); padding: 32px 28px 36px; transition: background-color .25s; }
.svc:hover { background: var(--bg); }
.svc__icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 40px; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.step { padding: 24px 0; border-top: 1px solid var(--ink); }
.step__n { display: block; font: 500 13px/1 var(--mono); color: var(--accent); margin-bottom: 28px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 899px) { .step__n { margin-bottom: 12px; } }

/* ---------- Now building (always dark band) ---------- */
.section--dark { background: var(--dark-bg); color: var(--dark-text); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__lede, .section--dark .wip__body p { color: var(--dark-muted); }
.section--dark .kicker { color: #9fe8c4; }
.grid3 { display: grid; gap: 20px; }
@media (min-width: 900px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.wip { background: var(--dark-surface); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.wip__visual {
  height: 280px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(124,240,180,.16), transparent 60%), #121218;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.wip__body { padding: 24px 24px 28px; }
.wip__body h3 { margin: 10px 0 10px; font-size: 1.35rem; }
.wip__body .stack { font: 500 12.5px/1.4 var(--mono); color: #c3c3cc !important; margin: 16px 0 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: #c9f3dd !important; margin: 0; padding: 6px 10px; border-radius: 999px; background: rgba(124,240,180,.12); }
.status span { width: 6px; height: 6px; border-radius: 50%; background: #f5c26b; animation: pulse 2.4s ease-in-out infinite; }

.mini-phone { width: 180px; height: 300px; margin-top: 60px; border-radius: 26px; background: #1c1c24; border: 1px solid rgba(255,255,255,.12); padding: 16px 12px; display: grid; align-content: start; gap: 9px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); color: #eaeaf0; font-size: 11px; }
.mini-phone--deep { background: linear-gradient(180deg, #171a2e, #0f1018); }
.mp__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 4px; }
.mp__head b { font-size: 13px; }
.mp__head span { color: #9a9aa8; font-size: 10px; }
.mp__card { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px; display: grid; gap: 7px; }
.mp__card small { color: #a6a6b4; font-size: 10px; }
.mp__card--row { display: flex; gap: 6px; }
.mp__bars { display: grid; gap: 5px; }
.mp__bars i, .mp__meter i { display: block; height: 6px; width: var(--w); border-radius: 3px; background: #7CF0B4; }
.mp__bars i:nth-child(2) { background: #7ee0b5; } .mp__bars i:nth-child(3) { background: #f5c26b; }
.mp__meter { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); }
.mp__meter i { background: #7ee0b5; }
.mp__chip { font-size: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.1); }
.mp__area { width: 100%; height: 110px; margin-top: 6px; }
.mp__ring { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px; }
.mp__ring svg { width: 44px; height: 44px; }
.mp__ring span { color: #a6a6b4; font-size: 10px; line-height: 1.4; }
.mp__ring em { font-style: normal; color: #7ee0b5; font-size: 12px; font-weight: 600; }

.mini-card { width: 240px; border-radius: 18px; background: #1c1c24; border: 1px solid rgba(255,255,255,.12); padding: 16px; color: #eaeaf0; font-size: 11px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.mc__top { display: flex; justify-content: space-between; align-items: center; }
.mc__top b { font-size: 13px; }
.mc__verdict { font-size: 10px; color: #7ee0b5; background: rgba(126,224,181,.12); padding: 4px 8px; border-radius: 999px; }
.mc__gauge { display: grid; place-items: center; padding: 12px 0 6px; }
.mc__gauge svg { width: 130px; }
.mc__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mc__rows li { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; }
.mc__rows small { color: #a6a6b4; font-size: 10px; }
.mc__rows i { height: 6px; width: var(--w); border-radius: 3px; background: rgba(255,255,255,.28); display: block; }
.mc__rows li:nth-child(3) i { background: #7CF0B4; }

/* ---------- About ---------- */
.about { display: grid; gap: 32px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about__lead h2 { max-width: 14ch; }
.about__body p { font-size: 1.12rem; color: var(--text); }
.about__body p + p { color: var(--muted); }
.about__facts { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.about__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about__facts dt { font: 500 13px/1.6 var(--mono); color: var(--muted); }
.about__facts dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.mail-big { display: inline-block; margin-top: 28px; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); overflow-wrap: anywhere; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .form { padding: 32px; } }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 500; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field ::placeholder { color: var(--muted); opacity: .8; }
.form__note { font-size: 14px; color: var(--muted); margin: 0; text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer__legal { margin: 0 0 4px; color: var(--ink); font-weight: 500; font-size: 15px; }
.footer__small { margin: 0; font-size: 14px; color: var(--muted); }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------- Simple inner pages (privacy, thanks) ---------- */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; margin-bottom: 20px; }
.page h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.page p, .page li { color: var(--muted); }
.page a:not(.btn) { color: var(--accent); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float-1, .float-2, .live-dot, .status span, .brand__mark .bm-cur { animation: none !important; }
  .btn:hover { transform: none; }
}

/* Phone: keep the small floating mocks tidy */
.mock-row strong { white-space: nowrap; }
@media (max-width: 560px) { .case__float .pill { display: none; } .case__float { width: 54%; } }


/* ===== One voice: no mono, no shouty labels ===== */
.kicker, .eyebrow, .case__meta, .facts dt, .about__facts dt, .step__n, .status, .live-strip, .frame__bar span,
.crumbs, .cs-kicker, .cs-meta dt, .cs-glance h3, .cs-label, .cs-stack li, .cs-next small, .work-card__meta,
.rung__tag, .ia-cols h4, .brands__label, .calc__result small, .ai-ex small, .pillar__n,
.mx-crumbs, .mx-card__n, .mx-proj__tag, .mx-proof small, .mx-hub small, .mx-also p {
  font-family: var(--font) !important; letter-spacing: -0.005em !important; text-transform: none !important;
}
.kicker { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.cs-label, .rung__tag, .ia-cols h4, .cs-glance h3 { font-size: 14px; font-weight: 600; }
.brands__label, .calc__result small, .work-card__meta, .cs-meta dt, .about__facts dt, .facts dt { font-size: 14px; font-weight: 500; }

/* Sticky consultation bar (phones) */
.mbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-weight: 600; color: var(--ink); font-size: 15px; transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.mbar.is-on { transform: none; }
@media (min-width: 900px) { .mbar { display: none; } }

/* Ask Frangoules */
.ask { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: grid; justify-items: end; gap: 12px; }
@media (max-width: 899px) { .ask { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); right: 12px; } }
.ask__fab { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: var(--bg); font: 600 15px/1 var(--font); cursor: pointer; box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--brand-green) 70%, transparent); }
.ask__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-green) 25%, transparent); }
.ask.is-open .ask__fab { display: none; }
.ask__panel { width: min(380px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ask__panel[hidden] { display: none; }
.ask__head { padding: 16px 18px 12px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; row-gap: 2px; }
.ask__head b { color: var(--ink); font-size: 16px; }
.ask__head span { grid-column: 1; color: var(--muted); font-size: 13px; }
.ask__x { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.ask__log { flex: 1; overflow-y: auto; padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.ask__msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.ask__msg--ai { background: var(--bg-2); color: var(--text); border-bottom-left-radius: 4px; }
.ask__msg--me { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.ask__msg.is-wait { color: var(--muted); }
.ask__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.ask__chips button { border: 1px solid var(--line-2); background: transparent; color: var(--ink); border-radius: 999px; padding: 6px 10px; font: 500 13px/1.2 var(--font); cursor: pointer; }
.ask__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.ask__in { flex: 1; min-width: 0; font: 16px/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; }
.ask__in:focus { outline: none; border-color: var(--accent); }
.ask__fine { margin: 0; padding: 0 16px 12px; font-size: 12px; color: var(--muted); }
.footer__disc { margin-top: 6px; font-size: 12.5px; color: var(--muted); max-width: 70ch; }
/* On the seminar page, keep the AI button from covering the date on phones */
@media (max-width: 899px) { .sem-page .ask { display: none; } }

/* QA fixes: phones */
@media (max-width: 899px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .btn--sm, .theme-toggle, .mbar .btn { min-height: 44px; }
  .theme-toggle { width: 44px; height: 44px; }
  .footer__top, .crumbs a, .ia-links a { display: inline-block; padding-block: 10px; }
  /* Bigger tap areas for small text links (sweep 2026-10-18): footer links, breadcrumbs, logo */
  .footer .footer__small a { display: inline-block; padding-block: 9px; }
  .ins-crumbs a, .mx-crumbs a, .sec-crumbs a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  .brand { padding-block: 9px; margin-block: -9px; }
  /* Phones get one floating thing at a time: Ask our AI near the top, then the sticky consultation bar takes over */
  .ask { transition: opacity .3s; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  body.has-mbar-on .ask:not(.is-open) { opacity: 0; pointer-events: none; }
  body:not(.has-scrolled) .ask:not(.is-open) { opacity: 0; pointer-events: none; }
  .consult-page .ask { display: none; }
}
/* Phone menu */
.mnav-btn { display: none; }
@media (max-width: 899px) {
  .mnav-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; }
  .mnav-btn svg { width: 20px; height: 20px; }
  .nav.mnav-open .nav__links { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; gap: 0; box-shadow: var(--shadow); }
  .nav.mnav-open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav__actions .btn--sm { padding: 0 14px; }
}
@media (max-width: 440px) { .nav__actions .btn--sm { white-space: nowrap; font-size: 13.5px; padding: 0 12px; } .nav__actions { gap: 6px; } .brand__name { font-size: 17px; } }

/* ---------- Insights cards (homepage strip, article pages, /insights/). Built by tools/build-insights.mjs ---------- */
.ins-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .ins-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ins-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.ins-card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.ins-card__cat { align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; line-height: 1; }
.ins-card__title { font-size: 1.15rem; line-height: 1.28; letter-spacing: -0.015em; color: var(--ink); margin: 0; font-weight: 600; }
.ins-card__desc { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.ins-card__meta { margin-top: auto; padding-top: 4px; color: var(--muted); font-size: 13px; }
.ins-strip { padding-bottom: 32px; }
.ins-strip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; margin-bottom: 28px; }
.ins-strip__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.ins-strip__head .kicker { margin-bottom: 10px; }
.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; }

/* Phone header fit: the theme follows the phone's setting, so the toggle steps aside on narrow screens */
@media (max-width: 420px) {
  .nav__actions .theme-toggle { display: none; }
  .nav__actions { gap: 8px; }
}

.footer a { display: inline-block; padding-block: 4px; }

/* Log in: in the header from 900px up, inside the phone menu below that (accounts and portals, stage 1) */
.nav__login { display: none; align-items: center; min-height: 38px; padding: 0 6px; font-size: 14.5px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav__login:hover { color: var(--ink); }
.nav__login--always { display: inline-flex; }
@media (min-width: 900px) { .nav__login { display: inline-flex; } .nav__links .nav__login-m { display: none; } }
@media (min-width: 900px) and (max-width: 1120px) { .nav__login { font-size: 14px; padding: 0 4px; } }
@media (min-width: 900px) and (max-width: 980px) { .nav__links { gap: 12px; } }

/* ===== Ease audit 2026-10-20: prospects ===== */
/* Big numbers render final values; they only rise in once. */
.js .count-wait { display: inline-block; opacity: .001; transform: translateY(8px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .count-wait.count-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .count-wait { opacity: 1; transform: none; transition: none; } }

/* Phone menu: Text Austin sits with the main links, only in the phone menu */
.nav__sms-m { display: none; }
@media (max-width: 899px) { .nav.mnav-open .nav__links .nav__sms-m { display: block; color: var(--accent); font-weight: 600; } }

/* Sticky bar: Ask lives inside it on phones, so the floating bubble steps aside */
.mbar__acts { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.mbar .mbar__ask { background: transparent; color: var(--ink); border-color: var(--line-2); padding: 0 14px; }
.mbar > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 899px) { body.has-bar-ask .ask__fab { display: none; } }
.sem-registered a[href="#register"] { display: none !important; }

/* Ask our AI: links inside answers */
.ask__msg a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.ask__msg--me a { color: inherit; }
.ask__chips[hidden] { display: none; }

/* Homepage hero: text Austin under the sketch box */
.hx-text { margin: 10px 0 0; font-size: 15px; color: var(--hx-muted, var(--muted)); }
.hx-text a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.hx-text { color: var(--muted); }

/* Pricing: label above the Run plans */
.price-run-label { grid-column: 1 / -1; margin: 0; padding: 18px 22px 12px; background: var(--bg-2); color: var(--text); font-size: 15px; font-weight: 500; }

/* Consultation */
.q__start { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 26px; }
.q__start .btn { height: 52px; padding: 0 24px; font-size: 16px; }
.q__start-or { margin: 0; color: var(--muted); font-size: 15px; }
.cx .q__hint { display: block; }
.q__chips { margin-top: 20px; }
.q__chips-label { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); }
.q__chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { appearance: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 500 15px/1.2 var(--font); cursor: pointer; }
.qchip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.q__more { margin: 4px 0 6px; border-top: 1px solid var(--line); padding-top: 4px; }
.q__more > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 500; color: var(--ink); list-style: none; }
.q__more > summary::-webkit-details-marker { display: none; }
.q__more > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 15px; line-height: 1; }
.q__more[open] > summary::before { content: "−"; }
.q__more[open] { display: grid; gap: 16px; padding-bottom: 6px; }
.res__about { margin-top: 18px; }
.res__about-h { font-size: 1.1rem; margin: 0 0 4px; }
.est__pkg-link { margin: 6px 0 0; }
.est__pkg-link a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; }
.cx__note { margin: 14px 0 0; }
.cx__note > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent); font-weight: 600; font-size: 15px; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.cx__note > summary::-webkit-details-marker { display: none; }
.cx__note-form { display: grid; gap: 8px; margin-top: 8px; }
.cx__note-l { font-size: 14px; font-weight: 500; color: var(--ink); }
.cx__note-form input:not([name="bot-field"]) { width: 100%; min-height: 44px; font: 16px/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; }
.cx__note-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.cx__note-form .btn { justify-self: start; margin-top: 4px; }
.cx__note-msg { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--muted); }

/* Touch targets: 44px minimum for small links and chips (390px phone view) */
/* "body" lifts these over the page stylesheets that load after this one (home, insights, receipts, work, metro). */
body .sk-chips button, body .ia-tab, body .ins-chip, body .hub-tabs button { min-height: 44px; }
body .ins-chip { height: auto; }
/* Footer links: 44px tap height from padding, cancelled by negative margin, so the footer looks exactly the same. */
body .footer .footer__small a, body .footer a.footer__top { display: inline-block; padding: 12px 9px; margin: -12px -9px; line-height: 1.6; }
body .mx-crumbs a, body .crumbs a, body .ins-crumbs a { padding-inline: 8px; margin-inline: -8px; min-height: 44px; display: inline-flex; align-items: center; }
body .ia-links a, body .mail-big { display: inline-flex; align-items: center; min-height: 44px; }
.skip { min-height: 44px; display: inline-flex; align-items: center; }
body .rc__head h3 a, body .rc__visit, body .rc__case, body .lh__more, body .hx-proof__receipt a, body .crumbs a, body .mx-also a, body .ins-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
body .lh__more { margin-top: 10px; }
body .mx-also a { padding-block: 0; }
body .cs-meta dd a { display: inline-flex; align-items: center; min-height: 44px; }

/* Scrollable comparison table: keyboard reachable, with a visible focus ring */
.in-cmp-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
/* Sample dashboards: never scroll sideways; the amount column steps aside on narrow phones */
.in-mock .ui-table-wrap { overflow: hidden; }
@media (max-width: 479px) { .ui .ui-hide-xs { display: none; } }

/* Contrast: "Sample data" labels and the Package pill (4.5:1 or better on their own backgrounds) */
.ui .ui-sample { color: var(--u-ink); font-size: 10.5px; }
.hx__pill b { color: #8ff5c9; background: rgba(94,240,180,.10); }
/* Industry sample dashboards: small grey and accent text up to 4.5:1 */
.in-mock .ui-h p, .hx-v .ui-h p { color: var(--u-text); }
.in-mock .chip:not([class*="chip--"]), .hx-v .chip:not([class*="chip--"]) { color: color-mix(in srgb, var(--u-accent) 78%, #000); }
