/* StoreUp Financials website. Mono + Signal brand.
   Black and white with one emerald accent (signal). Inter only.
   Signal is a fill, never text on white. No shadows, no gradients. */

:root {
  --paper: #FFFFFF;
  --side: #FAFAFA;
  --subtle: #F5F5F5;
  --ink: #0A0A0A;
  --ink-2: #2E2E2E;
  --muted: #6B6B6B;
  --line: #E5E5E5;
  --line-soft: #F0F0F0;
  --signal: #12B76A;
  --signal-ink: #0A0A0A;
  --brand-soft: #E9F8F0;
  --brand-soft-line: #B5E8CD;

  /* On black brand surfaces */
  --on-ink: #FFFFFF;
  --on-ink-2: #D4D4D4;
  --on-ink-muted: #A3A3A3;
  --on-ink-line: #2A2A2A;

  --sans: "Inter", "Inter Variable", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--signal); outline-offset: 3px; border-radius: var(--radius-sm);
}
.on-ink a { color: var(--on-ink); }
.on-ink a:hover { color: var(--on-ink-2); }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

h1, h2, h3 { font-weight: 600; margin: 0; color: var(--ink); letter-spacing: -0.02em; }
.h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.035em; }
.lede { margin: 18px 0 0; color: var(--muted); max-width: 52ch; }
.label { margin: 0 0 16px; font-size: 14px; font-weight: 500; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons: one primary per view, black. Sentence case, start with a verb. */
.btn {
  display: inline-block;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--radius-md);
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--paper); }
.btn-line { color: var(--ink); border-color: var(--line); background: var(--paper); }
.btn-line:hover { background: var(--subtle); color: var(--ink); }
.btn-light, .on-ink .btn-light { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn-light:hover, .on-ink .btn-light:hover { background: var(--on-ink-2); border-color: var(--on-ink-2); color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink); text-decoration: none;
}
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .wm span { font-weight: 400; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  color: var(--paper); background: var(--ink);
  padding: 8px 14px; border-radius: var(--radius-md); font-weight: 500;
}
.site-nav .nav-cta:hover { background: var(--ink-2); color: var(--paper); }

/* Hero: white text column, black chart panel. One white peak bar;
   bars rise on hover and the green line follows the bar tops. */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
.hero .lede { margin-top: 28px; font-size: 19px; max-width: 46ch; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.chart {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-lg);
  height: clamp(320px, 36vw, 480px);
  padding: 32px 28px 0;
  overflow: hidden;
}
.chart-bars {
  position: absolute; left: 36px; right: 36px; top: 56px; bottom: 0;
  display: flex; align-items: flex-end; gap: clamp(12px, 2.2vw, 22px);
}
.chart-bars span {
  flex: 1 1 0;
  height: calc(var(--h) * 1%);
  background: #2E2E2E;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  transform: scaleY(var(--s, 1));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
}
.chart-bars span.is-peak { background: var(--on-ink); }
.chart-bars span.is-hover { background: #6B6B6B; }
.chart-bars span.is-peak.is-hover { background: var(--on-ink); }
.chart-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.chart-line polyline { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-line circle { fill: var(--signal); stroke: var(--ink); stroke-width: 2; transition: r 0.2s; }
.chart.is-loading .chart-bars span { transform: scaleY(0); }
@media (prefers-reduced-motion: reduce) {
  .chart-bars span { transition: none; }
}


@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .chart { height: 280px; }
}

/* Black band */
.band { background: var(--ink); color: var(--on-ink); }
.band .wrap { padding-top: var(--section); padding-bottom: var(--section); }
.band h2, .band h3 { color: var(--on-ink); }
.intro {
  margin: 0 0 var(--section);
  padding-bottom: var(--section);
  border-bottom: 1px solid var(--on-ink-line);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 34ch;
  color: var(--on-ink-2);
}
.intro strong { font-weight: 600; color: var(--on-ink); }
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 56px;
  margin-top: 48px;
}
.services > div { padding-top: 20px; border-top: 1px solid var(--on-ink-line); }
.services h3 { font-size: 20px; letter-spacing: -0.02em; }
.services p { margin: 8px 0 0; color: var(--on-ink-muted); }

/* Feature sections (two-tone headline) */
.feature { padding-top: var(--section); }
.two-tone { text-align: center; max-width: 22ch; margin: 0 auto; }
.two-tone span { display: block; color: var(--muted); }
.feature-body {
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px;
  margin-top: clamp(40px, 6vw, 72px);
}
.feature-body > * { flex: 1 1 340px; min-width: 0; }
.tools-text { margin: 0; font-size: 19px; line-height: 1.6; max-width: 52ch; color: var(--ink-2); }
.tools-text + .tools-text { margin-top: 18px; }

/* Approval rule card, styled like the StoreUp app */
.flow {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px) clamp(18px, 3vw, 36px);
  background: var(--side);
}
.flow-label { margin: 0 0 20px; font-size: 13px; font-weight: 500; color: var(--muted); }
.flow-steps { position: relative; display: flex; flex-direction: column; gap: 20px; }
.flow-steps::before {
  content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px;
  width: 1px; background: var(--line);
}
.flow-row {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  min-height: 32px; padding-left: 46px;
  font-size: 15px; color: var(--muted);
}
.flow-icon {
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 6px 12px; font-variant-numeric: tabular-nums;
}
.initials {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: var(--radius-sm);
  background: var(--subtle); color: var(--ink);
  font-size: 11px; font-weight: 600;
}
.chip-done { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); font-weight: 500; }

/* Always building */
.build-list { list-style: none; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0; max-width: 960px; border-top: 1px solid var(--line); }
.build-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.build-name { flex: 0 0 200px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.build-desc { flex: 1 1 260px; font-size: 17px; color: var(--ink-2); }
.build-status {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  background: var(--brand-soft); border: 1px solid var(--brand-soft-line);
  border-radius: var(--radius-sm); padding: 2px 8px;
}
.build-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* Pathways */
.pathways { padding-top: var(--section); }
.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.path { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px 36px; }
.path-featured { background: var(--ink); color: var(--on-ink); border-color: var(--ink); box-shadow: inset 0 4px 0 var(--signal); }
.path-kind { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.path-featured .path-kind { color: var(--on-ink-muted); }
.path h3 { margin-top: 8px; font-size: 30px; letter-spacing: -0.03em; }
.path-featured h3 { color: var(--on-ink); }
.path-tagline { margin: 6px 0 0; font-size: 17px; color: var(--ink-2); }
.path-featured .path-tagline { color: var(--on-ink-2); }
.path ul {
  margin: 26px 0 0;
  padding: 22px 0 0 1.1em;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  line-height: 1.45;
}
.path-featured ul { border-top-color: var(--on-ink-line); color: var(--on-ink-2); }
.pricing-note { margin: 28px 0 0; font-size: 16px; color: var(--muted); }
.pricing-note a { color: var(--ink); }

/* Steps */
.split { display: flex; flex-wrap: wrap; gap: 48px; padding-top: var(--section); padding-bottom: var(--section); }
.split > :first-child { flex: 1 1 300px; }
.split > :last-child { flex: 2 1 520px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 44px 1fr; gap: 0 12px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: var(--radius-md);
  background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.steps span { display: block; font-size: 18px; line-height: 1.5; color: var(--ink-2); padding-top: 3px; }
.steps strong + span { margin-top: 4px; padding-top: 0; }

/* FAQ */
.faq, .about { border-top: 1px solid var(--line); }
.faq-list { margin-top: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 500;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  font-size: 26px; font-weight: 400;
  line-height: 1;
  color: var(--muted);
}
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 26px; max-width: 64ch; color: var(--ink-2); }

/* About */
.verse, .about-big {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.verse footer { margin-top: 18px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.about h2 { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.about-text { margin: 12px 0 0; font-size: 19px; line-height: 1.6; max-width: 50ch; color: var(--ink-2); }
.about-text + .about-text { margin-top: 16px; }

/* Cross-link card */
.crosslink .wrap { padding-bottom: var(--section); }
.cross-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 44px);
}
.cross-card h2 { margin-top: 6px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; }
.cross-text { margin: 10px 0 0; color: var(--muted); max-width: 52ch; }

/* Results (systems page) */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1040px; }
.result { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 32px; background: var(--paper); }
.result-num { font-weight: 600; font-size: clamp(32px, 3vw, 42px); letter-spacing: -0.035em; white-space: nowrap; line-height: 1; font-variant-numeric: tabular-nums; }
.result-num small { font-size: 0.5em; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.result h3 { margin-top: 18px; font-weight: 600; font-size: 17px; }
.result p { margin: 8px 0 0; color: var(--ink-2); }
.result-invite { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 4px 0 var(--signal); }
.result-invite .result-num, .result-invite h3 { color: var(--on-ink); }
.result-invite p { color: var(--on-ink-muted); }
.result-invite .btn { margin-top: 22px; }
.results-note { margin: 24px auto 0; max-width: 1040px; font-size: 14px; color: var(--muted); }

/* Footer: black, white type, signal mark */
.site-footer { background: var(--ink); color: var(--on-ink); }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 32px;
  align-items: center; justify-content: space-between;
  padding-top: 64px; padding-bottom: 48px;
}
.footer-top p { margin: 0; font-weight: 600; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.035em; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-contact a.email { color: var(--on-ink); font-size: 15px; }
.footer-contact a.email:hover { color: var(--on-ink-2); }
.legal {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 20px 0 32px; border-top: 1px solid var(--on-ink-line);
  font-size: 14px; color: var(--on-ink-muted);
}
.legal svg { width: 20px; height: 20px; flex: none; }
.legal a { color: var(--on-ink-muted); }
.legal a:hover { color: var(--on-ink); }
