/* TechMinds — Apple-inspired design system.
   Light, spacious, large tight type; brand teal (from the logo) as the only accent. */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-chrome: rgba(251, 251, 253, 0.8); /* matches the logo's own background */
  --bg-dark: #000000;
  --bg-dark-alt: #1d1d1f;

  /* Text */
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --text-on-dark: #f5f5f7;
  --text-on-dark-2: #a1a1a6;

  /* Brand (sampled from logo.png) */
  --brand: #00665e;
  --brand-hover: #00534c;
  --brand-on-dark: #3fc2b3;
  --navy: #202a3a;

  --border: #d2d2d7;
  --border-dark: #424245;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Spacing (spacious marketing scale) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius: 18px;
  --radius-lg: 28px;
  --nav-h: 52px;
  --max: 1080px;
  --max-wide: 1280px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px;
}
.skip-link:focus { top: 8px; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.container-wide { width: min(var(--max-wide), 100% - 48px); margin-inline: auto; }
.center { text-align: center; }

/* ---------------------------------------------------------------- navigation */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--bg-chrome);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-inner {
  height: 100%;
  width: min(var(--max), 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-size: 13px; opacity: 0.85; transition: opacity 0.2s var(--ease); }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-cta { font-size: 13px; padding: 7px 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--text); cursor: pointer; border-radius: 10px;
}
.nav-toggle svg { margin: auto; }

@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .btn.nav-cta { display: none; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(251, 251, 253, 0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: var(--s-2) var(--s-5) var(--s-5);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a { display: block; font-size: 24px; font-weight: 600; padding: 12px 0; opacity: 1; }
}

/* ---------------------------------------------------------------- buttons & links */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 12px 22px;
  border-radius: 980px; border: 0;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn.nav-cta { min-height: 32px; padding: 6px 16px; font-size: 13px; }

.link-more { font-size: 17px; font-weight: 400; white-space: nowrap; }
.link-more::after { content: " \203A"; font-size: 1.15em; }
.on-dark .link-more { color: var(--brand-on-dark); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); }

/* ---------------------------------------------------------------- typography helpers */

.eyebrow { display: block; font-size: 17px; font-weight: 600; color: var(--brand); margin-bottom: var(--s-3); letter-spacing: -0.01em; }
.on-dark .eyebrow { color: var(--brand-on-dark); }
.display { font-size: clamp(44px, 8vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.headline { font-size: clamp(36px, 5.5vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.title { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--text-2); letter-spacing: -0.015em; font-weight: 400; }
.on-dark .lede { color: var(--text-on-dark-2); }
.muted { color: var(--text-2); }
.gradient-text {
  background: linear-gradient(90deg, var(--brand) 0%, #1a8f86 45%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------------- sections & tiles */

.section { padding: var(--s-10) 0; }
.section-tight { padding: var(--s-9) 0; }
.bg-alt { background: var(--bg-alt); }
.on-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.on-dark.alt { background: var(--bg-dark-alt); }
.section-head { max-width: 820px; margin: 0 auto var(--s-8); text-align: center; }
.section-head .lede { margin-top: var(--s-4); }

.hero { padding: var(--s-9) 0 0; text-align: center; overflow: hidden; }
.hero .lede { max-width: 720px; margin: var(--s-5) auto 0; }

.page-hero { padding: var(--s-9) 0 var(--s-8); text-align: center; }
.page-hero .lede { max-width: 720px; margin: var(--s-5) auto 0; }

/* Full-width product-style tile: headline, line, links, then a visual */
.tile { padding: var(--s-9) 0 0; text-align: center; overflow: hidden; }
.tile + .tile { border-top: 12px solid var(--bg); }
.tile .lede { max-width: 640px; margin: var(--s-3) auto 0; }
.tile .cta-row { margin-top: var(--s-5); }
.tile-art { margin: var(--s-7) auto 0; width: min(880px, 100% - 48px); }

/* ---------------------------------------------------------------- illustrations */

.tile-art svg { width: 100%; height: auto; }
.tile-art.padded { padding-bottom: var(--s-9); }

/* ---------------------------------------------------------------- grids & cards */

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.bg-alt .card { background: var(--bg); }
.card.on-light-alt { background: var(--bg-alt); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.25); }
.card h3 { font-size: 24px; letter-spacing: -0.025em; margin: var(--s-5) 0 var(--s-2); }
.card p { color: var(--text-2); font-size: 17px; }
.icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(0, 102, 94, 0.08); color: var(--brand);
}
.icon svg { width: 26px; height: 26px; }
.on-dark .card { background: var(--bg-dark-alt); }
.on-dark .card p { color: var(--text-on-dark-2); }
.on-dark .icon { background: rgba(63, 194, 179, 0.14); color: var(--brand-on-dark); }

/* Capability list (services page) */
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-8); text-align: left; }
@media (max-width: 980px) { .capabilities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .capabilities { grid-template-columns: 1fr; } }
.cap { padding: var(--s-6); border-radius: var(--radius); background: var(--bg-alt); }
.bg-alt .cap { background: var(--bg); }
.on-dark .cap { background: var(--bg-dark-alt); }
.cap svg { width: 24px; height: 24px; color: var(--brand); }
.on-dark .cap svg { color: var(--brand-on-dark); }
.cap h3 { font-size: 19px; margin: var(--s-4) 0 var(--s-2); letter-spacing: -0.02em; }
.cap p { font-size: 15px; color: var(--text-2); line-height: 1.5; }
.on-dark .cap p { color: var(--text-on-dark-2); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-5); list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.steps li { border-top: 1px solid var(--border); padding-top: var(--s-5); }
.steps .num { font-size: 15px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 21px; margin: var(--s-2) 0 var(--s-2); letter-spacing: -0.02em; }
.steps p { font-size: 15px; color: var(--text-2); }

/* Platforms strip */
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); list-style: none; padding: 0; }
.platforms li { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-3); }

/* Big numbers (about page) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-size: clamp(56px, 8vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--brand-on-dark); }
.stat h3 { font-size: 19px; margin-top: var(--s-3); letter-spacing: -0.02em; }
.stat p { font-size: 15px; color: var(--text-on-dark-2); margin-top: var(--s-2); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-7); } }
.prose p { font-size: 19px; line-height: 1.6; color: var(--text-2); letter-spacing: -0.012em; }
.prose p + p { margin-top: var(--s-5); }
.prose strong { color: var(--text); font-weight: 600; }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-6); }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); align-items: start; }
.points h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: var(--s-1); }
.points p { color: var(--text-2); font-size: 17px; }

/* Leader card */
.leader { display: grid; grid-template-columns: 360px 1fr; gap: var(--s-8); align-items: center; max-width: 960px; margin-inline: auto; }
.leader img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-lg); }
.leader .role { color: var(--brand); font-weight: 600; margin: var(--s-2) 0 var(--s-4); }
@media (max-width: 760px) { .leader { grid-template-columns: 1fr; text-align: center; } .leader img { max-width: 280px; margin-inline: auto; } }

/* Local (in-page) nav — like Apple product pages */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: var(--bg-chrome);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.subnav ul { display: flex; justify-content: center; gap: var(--s-6); list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.subnav a { display: block; padding: 14px 0; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.subnav a:hover { color: var(--text); text-decoration: none; }

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-6); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card, .info-card { background: var(--bg); border-radius: var(--radius-lg); padding: var(--s-7); }
@media (max-width: 640px) { .form-card, .info-card { padding: var(--s-6) var(--s-5); } }
.field { display: grid; gap: 6px; margin-bottom: var(--s-5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
label { font-size: 14px; font-weight: 600; color: var(--text); }
.req { color: var(--text-2); font-weight: 400; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  background: var(--bg-alt); border: 1px solid transparent; border-radius: 12px;
  padding: 13px 16px; min-height: 48px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--bg); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 102, 94, 0.15); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #d70015; }
.error { font-size: 13px; color: #d70015; min-height: 0; }
.form-note { font-size: 13px; color: var(--text-2); margin-top: var(--s-4); text-align: center; }
.btn-block { width: 100%; }
.form-status { display: none; padding: var(--s-4) var(--s-5); border-radius: 12px; background: rgba(0, 102, 94, 0.08); color: var(--brand); margin-bottom: var(--s-5); font-weight: 500; }
.form-status.show { display: block; }

.info-card h2 { font-size: 24px; letter-spacing: -0.025em; margin-bottom: var(--s-5); }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { padding: var(--s-4) 0; border-top: 1px solid var(--border); }
.info-list li:first-child { border-top: 0; padding-top: 0; }
.info-list .k { display: block; font-size: 13px; color: var(--text-2); }
.info-list .v { font-size: 17px; font-weight: 500; color: var(--text); }
.next-steps { list-style: none; margin: var(--s-5) 0 0; padding: 0; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: var(--s-3); padding: var(--s-2) 0; color: var(--text-2); }
.next-steps li::before {
  content: counter(n); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
  background: rgba(0, 102, 94, 0.1); color: var(--brand);
}

/* ---------------------------------------------------------------- closing CTA */

.closing { text-align: center; }
.closing .lede { max-width: 640px; margin: var(--s-4) auto 0; }

/* ---------------------------------------------------------------- footer */

.footer { background: var(--bg-alt); color: var(--text-2); font-size: 12px; line-height: 1.5; padding: var(--s-7) 0 var(--s-6); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid var(--border); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 28px; width: auto; margin-bottom: var(--s-3); mix-blend-mode: multiply; }
.footer-brand p { max-width: 340px; }
.footer h2 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: var(--s-3); letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-5); }

/* ---------------------------------------------------------------- motion */

/* Only hidden when JS is running (html.js), so content never stays invisible if a script fails. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

/* Two-column variant of the capability grid (for an even number of items) */
.capabilities.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
@media (max-width: 640px) { .capabilities.two { grid-template-columns: 1fr; } }
.service-section .section-head { margin-bottom: 0; }
.service-section .cta-row { margin-top: var(--s-5); }

/* ---------------------------------------------------------------- phone + chat mock (WhatsApp-style) */

.phone {
  width: min(360px, 100% - 32px); margin: var(--s-8) auto 0;
  border-radius: 48px; padding: 12px; background: #1d1d1f;
  box-shadow: 0 50px 100px -40px rgba(0, 40, 36, 0.5), inset 0 0 0 1px #3a3a3c;
  text-align: left;
}
.phone-screen { border-radius: 38px; overflow: hidden; background: #efeae2; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 18px 16px 12px; background: #f7f7f7; border-bottom: 1px solid #e5e5ea; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.chat-name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.chat-sub { font-size: 12px; color: var(--text-2); }
.chat { display: grid; gap: 8px; padding: 14px 12px 18px; min-height: 420px; align-content: start; }
.bubble { max-width: 86%; padding: 8px 10px 6px; border-radius: 12px; font-size: 14px; line-height: 1.4; background: #fff; color: #111b21; box-shadow: 0 1px 0.5px rgba(0,0,0,.13); }
.bubble.me { justify-self: end; background: #d9fdd3; }
.bubble .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--brand); margin-bottom: 2px; }
.bubble .time { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 2px; }
.bubble .btns { display: flex; gap: 6px; margin-top: 8px; }
.bubble .btns span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; color: #027eb5; border-top: 1px solid #e9edef; padding-top: 6px; }

/* ---------------------------------------------------------------- automation flow: trigger → AI → result */

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: var(--s-3); margin-top: var(--s-6); }
.flow-step { background: var(--bg-alt); border-radius: var(--radius); padding: var(--s-5); text-align: left; }
.bg-alt .flow-step { background: var(--bg); }
.on-dark .flow-step { background: var(--bg-dark-alt); }
.flow-step .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.flow-step h3 { font-size: 17px; margin: var(--s-2) 0 var(--s-1); letter-spacing: -0.015em; line-height: 1.3; }
.flow-step p { font-size: 14px; color: var(--text-2); line-height: 1.45; }
.on-dark .flow-step p { color: var(--text-on-dark-2); }
.flow-step.ai { box-shadow: inset 0 0 0 1.5px var(--brand); }
.on-dark .flow-step.ai { box-shadow: inset 0 0 0 1.5px var(--brand-on-dark); }
.flow-arrow { display: grid; place-items: center; color: var(--brand); }
.on-dark .flow-arrow { color: var(--brand-on-dark); }
.flow-arrow svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .flow-arrow svg { transform: rotate(90deg); }
}

/* Use-case blocks (use-cases page) */
.usecase { padding: var(--s-9) 0; }
.usecase + .usecase { border-top: 1px solid var(--border); }
.usecase .section-head { margin-bottom: 0; text-align: left; margin-inline: 0; max-width: 760px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-5); }
@media (max-width: 760px) { .before-after { grid-template-columns: 1fr; } }
.before-after div { border-radius: var(--radius); padding: var(--s-5); background: var(--bg-alt); }
.bg-alt .before-after div { background: var(--bg); }
.before-after .after, .bg-alt .before-after .after { background: rgba(0, 102, 94, 0.07); }
.before-after h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: var(--s-2); }
.before-after .after h3 { color: var(--brand); }
.before-after p { font-size: 16px; color: var(--text); }

/* ---------------------------------------------------------------- dashboard mock (one-dashboard use case) */

.dash {
  width: min(980px, 100% - 48px); margin: var(--s-7) auto 0;
  background: var(--bg); color: var(--text); text-align: left;
  border-radius: var(--radius-lg); padding: var(--s-6);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-5); }
.dash-title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.dash-meta { font-size: 13px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.dash-meta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #28c840; }
.kpis { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s-4); }
.kpi { background: var(--bg-alt); border-radius: var(--radius); padding: var(--s-5); }
.kpi .k { font-size: 13px; color: var(--text-2); }
.kpi .v { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 13px; font-weight: 600; color: var(--brand); margin-top: 2px; }
.kpi.net { background: linear-gradient(135deg, #00665e, #0b3b37); color: #fff; }
.kpi.net .k, .kpi.net .d { color: rgba(255, 255, 255, 0.8); }
.kpi svg { width: 100%; height: 36px; margin-top: var(--s-2); }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); margin-top: var(--s-6); }
.ledger h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: var(--s-3); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.ledger li { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s-3); font-size: 15px; }
.ledger .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger .src { font-size: 12px; color: var(--text-3); }
.bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--bg-alt); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 3px; background: var(--brand); }
.liabilities .bar span { background: #c2410c; }
.dash-note { font-size: 12px; color: var(--text-3); margin-top: var(--s-5); text-align: center; }
@media (max-width: 760px) {
  .dash { padding: var(--s-5); }
  .kpis, .ledger { grid-template-columns: 1fr; }
}

/* Spam trap: off-screen for people (and screen readers); bots fill it in */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status.error { background: rgba(215, 0, 21, 0.08); color: #b00012; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Leadership profile (text only) */
.profile { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s-9); align-items: start; max-width: 1000px; margin-inline: auto; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; gap: var(--s-6); } }
.profile .role { color: var(--brand); font-weight: 600; margin: var(--s-2) 0 var(--s-6); font-size: 19px; }
.profile .highlight { border-top: 1px solid var(--border); padding-top: var(--s-5); }
.profile .highlight .num { font-size: clamp(56px, 7vw, 80px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--brand); }
.profile .highlight p { color: var(--text-2); margin-top: var(--s-2); }
.profile .prose h3 { font-size: 21px; letter-spacing: -0.02em; margin: var(--s-7) 0 var(--s-4); color: var(--text); }
.skills { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.skills li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; font-size: 17px; color: var(--text-2); line-height: 1.5; }
.skills li strong { color: var(--text); font-weight: 600; }
.skills svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }

/* Mini spreadsheet mock (bank statement use case) */
.sheet { margin-top: var(--s-6); border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px var(--border); }
.sheet-scroll { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.sheet th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--brand); padding: 10px 14px; }
.sheet td { padding: 10px 14px; border-top: 1px solid var(--bg-alt); color: var(--text); }
.sheet td.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet td.raw { color: var(--text-3); font-family: var(--font-mono); font-size: 12px; }
.sheet tr.check td { background: #fff4d6; }
.sheet .how { font-size: 12px; color: var(--text-2); }
.sheet .warn { font-size: 12px; color: #b00012; font-weight: 600; }
.sheet-note { font-size: 12px; color: var(--text-3); padding: 10px 14px; border-top: 1px solid var(--bg-alt); }
@media (max-width: 640px) {
  /* Phones: each statement line becomes a small stacked card instead of a wide table */
  .sheet table { min-width: 0; }
  .sheet thead { display: none; }
  .sheet tbody { display: block; }
  .sheet tr { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s-3); padding: 12px 14px; border-top: 1px solid var(--bg-alt); }
  .sheet tr.check { background: #fff4d6; }
  .sheet td { display: block; padding: 0; border: 0; background: none !important; }
  .sheet td:first-child { font-weight: 600; }
  .sheet td.num { grid-column: 2; grid-row: 1; }
  .sheet td.raw { grid-column: 1 / -1; overflow-wrap: anywhere; }
  .sheet td:last-child { grid-column: 1 / -1; }
}
