/* vCFO Cockpit — the page in front of the demo.
 *
 * Same palette and faces as the product, so opening the demo feels like
 * walking through a door rather than leaving one building for another.
 * The page borrows the product's own devices — the figure tape, the hairline
 * statement rules — instead of the usual marketing card grid.
 */

@font-face {
  font-family: 'Fraunces'; src: url('../fonts/fraunces.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karla'; src: url('../fonts/karla.woff2') format('woff2-variations');
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono'; src: url('../fonts/plexmono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono'; src: url('../fonts/plexmono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --teal: #0B3B36;
  --teal-deep: #072B27;
  --teal-300: #7FB3A8;
  --teal-wash: #E6F0ED;
  --gold: #C9A227;
  --gold-soft: #F6EBC8;
  --field: #EFEDE6;
  --surface: #FFFFFF;
  --surface-2: #F8F7F3;
  --ink: #10201D;
  --ink-2: #344743;
  --muted: #6B7B77;
  --line: #E2E0D7;
  --line-strong: #C8C5B8;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Karla', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --r: 16px;
  --lift: 0 1px 2px rgba(16,32,29,.04), 0 18px 40px -28px rgba(16,32,29,.42);
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--field); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

h1, h2, h3 {
  font-family: var(--serif); font-weight: 600; margin: 0;
  font-variation-settings: 'SOFT' 0, 'WONK' 0; letter-spacing: -0.015em; line-height: 1.14;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.08rem; }
p { margin: 0; }
a { color: inherit; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
section { padding: 82px 0; }
.lede { font-size: 1.05rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }

/* --------------------------------------------------------------- head --- */

.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(239, 237, 230, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; margin-right: auto; }
/* The lockup is used whole and never rebuilt from parts. It keeps one K-stem of
 * clear space, which is what the gap and the divider offset below give it. The
 * kit's minimum for the horizontal lockup is 150px wide; this is 158. */
.brand .lockup { width: 158px; height: auto; display: block; }
.brand-product {
  font-family: var(--serif); font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  padding-left: 16px; border-left: 1px solid var(--line-strong); line-height: 1.2;
}
@media (max-width: 620px) {
  .brand .lockup { width: 132px; }
  .brand-product { display: none; }
}
.top nav { display: flex; gap: 20px; font-size: 14.5px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--teal); }

.btn {
  display: inline-block; text-decoration: none; border-radius: 9px;
  padding: 11px 20px; font-size: 15px; font-weight: 600; border: 1px solid transparent;
  transition: background .14s ease, border-color .14s ease;
}
.btn.solid { background: var(--teal); color: #F4FAF8; }
.btn.solid:hover { background: var(--teal-deep); }
.btn.line { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn.line:hover { border-color: var(--teal); }
.btn.small { padding: 8px 15px; font-size: 14px; }

/* --------------------------------------------------------------- hero --- */

.hero { padding: 72px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 54px; align-items: center; }
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; color: var(--teal);
  background: var(--teal-wash); border: 1px solid #CFE2DC;
  display: inline-block; padding: 4px 11px; border-radius: 99px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p.lede { margin-top: 20px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.shot {
  border-radius: 13px; border: 1px solid var(--line-strong);
  box-shadow: var(--lift); display: block; width: 100%; height: auto; background: var(--surface);
}
.hero-shot { transform: translateX(28px); }

/* ---------------------------------------------------------- the tape --- */

.tape-strip {
  margin-top: 72px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--lift); overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.tape-strip div { padding: 18px 20px; border-right: 1px solid var(--line); }
.tape-strip div:last-child { border-right: 0; }
.tape-strip dt { font-size: 12.5px; color: var(--muted); }
.tape-strip dd { margin: 6px 0 0; font-family: var(--mono); font-weight: 500; font-size: 1.4rem; letter-spacing: -.035em; }
.tape-strip p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.tape-strip div:first-child { background: linear-gradient(160deg, var(--teal), var(--teal-deep)); }
.tape-strip div:first-child dt { color: var(--gold); }
.tape-strip div:first-child dd { color: #fff; }
.tape-strip div:first-child p { color: #9FC3BB; }
.tape-caption { font-size: 12.5px; color: var(--muted); margin-top: 12px; font-family: var(--mono); }

/* -------------------------------------------------------------- panes --- */

.pane { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head-block { max-width: 66ch; }
.head-block h2 + p { margin-top: 14px; }

.rows { margin-top: 40px; }
.row {
  display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 28px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row-key { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.row-key span { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--gold); margin-top: 5px; }
.row p { color: var(--ink-2); }
.row p + p { margin-top: 9px; }

/* ---------------------------------------------------------- exchange --- */

.exchange {
  margin-top: 40px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 28px;
}
.q {
  font-family: var(--serif); font-size: 1.22rem; color: var(--teal); margin-bottom: 16px;
}
.trace { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.trace i { display: block; border-left: 2px solid var(--gold); padding: 3px 0 3px 11px; font-style: normal; margin: 3px 0; }
.a { margin-top: 16px; color: var(--ink-2); }
.a b { color: var(--ink); }
.a ul { margin: 10px 0 0; padding-left: 20px; }
.a li { margin: 3px 0; }

/* --------------------------------------------------------------- grid --- */

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 40px; }

/* Screenshots of a dense financial screen stop being readable below about
 * full column width, so they get the whole column rather than half of it. */
#screens .two { grid-template-columns: minmax(0, 1fr); gap: 48px; }
#compliance { background: var(--surface); border-top: 1px solid var(--line); }
#screens figure { margin: 0; }
#screens .shot-caption { max-width: 74ch; }
.shot-caption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.shot-caption b { color: var(--ink); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 40px; counter-reset: step; }
.step { border-top: 2px solid var(--teal); padding-top: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--gold); display: block; margin-bottom: 8px; }

.plain { border-left: 3px solid var(--gold); padding-left: 20px; margin-top: 36px; max-width: 68ch; }
.plain p + p { margin-top: 12px; }

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

.contact { background: var(--teal); color: #DCE9E6; }
.contact h2 { color: #fff; }
.contact .lede { color: #A9C8C1; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; margin-top: 36px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: #A9C8C1; }
.field input, .field textarea {
  font: inherit; font-size: 15px; padding: 11px 13px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #7FA49C; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.11); }
.contact .btn.solid { background: var(--gold); color: #2A2205; }
.contact .btn.solid:hover { background: #DDB63C; }
.form-note { font-size: 13px; color: #A9C8C1; margin-top: 12px; }
.reach { font-size: 15px; }
.reach dt { font-size: 12.5px; color: #7FA49C; margin-top: 18px; }
.reach dd { margin: 4px 0 0; }
.reach a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(201,162,39,.6); }

footer { background: var(--teal-deep); color: #7FA49C; font-size: 13.5px; padding: 26px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #A9C8C1; }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 940px) {
  section { padding: 60px 0; }
  .hero-grid, .two, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-shot { transform: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .top nav { display: none; }
}

.foot-brand { display: flex; align-items: center; gap: 18px; }
.foot-brand img { width: 132px; height: auto; display: block; }
