:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #101010;
  --muted: #6C6C6C;
  --line: #E5DDE6;
  --teal: #B247F9;
  --amber: #3346FF;
  --blue: #5D7BFF;
  --coral: #AB1DFE;
  --dark: #101010;
  --light: #FFFFFE;
  --shadow: 0 18px 60px rgba(16, 16, 16, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 32, 28, 0.08);
  background: rgba(246, 247, 244, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #41504a;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 72px) 72px;
  background:
    radial-gradient(33.6% 47.05% at 96.71% 45.31%, rgba(178, 71, 249, 0.24) 0%, rgba(118, 43, 204, 0.16) 22%, rgba(79, 23, 143, 0.12) 44%, transparent 100%),
    radial-gradient(38.18% 60.36% at 6.37% 95.31%, rgba(51, 70, 255, 0.18) 0%, rgba(17, 33, 178, 0.12) 44%, transparent 100%),
    var(--bg);
}

.accounting-hero {
  min-height: 72vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.lead {
  max-width: 720px;
  color: #49554f;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: var(--light);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.system-panel {
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.panel-header strong {
  color: var(--ink);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid div,
.finance-stack div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 18px;
}

.metric-grid span,
.finance-stack span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.signal-map {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.node {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #52605a;
  font-weight: 700;
}

.node.active {
  border-color: rgba(178, 71, 249, 0.32);
  color: var(--teal);
}

.connector {
  width: 2px;
  height: 16px;
  margin-left: 20px;
  background: var(--line);
}

.section {
  padding: 84px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.solution-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
  min-height: 390px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.solution-card .index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  border-radius: 8px;
  margin-bottom: 22px;
  background: #eef5f2;
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
}

.solution-card p {
  color: #52605a;
  line-height: 1.55;
}

.solution-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #28362f;
  font-size: 14px;
  font-weight: 650;
}

.solution-card li {
  padding-left: 16px;
  border-left: 3px solid currentColor;
}

.accent-amber {
  border-top-color: var(--amber);
}

.accent-amber .index {
  background: #fbf2e3;
  color: var(--amber);
}

.accent-blue {
  border-top-color: var(--blue);
}

.accent-blue .index {
  background: #eaf0f8;
  color: var(--blue);
}

.accent-coral {
  border-top-color: var(--coral);
}

.accent-coral .index {
  background: #faece9;
  color: var(--coral);
}

.accent-ink {
  border-top-color: var(--dark);
}

.accent-ink .index {
  background: #edf1ef;
  color: var(--dark);
}

.ops-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 38px;
  align-items: start;
  background:
    radial-gradient(39.83% 51.22% at 7.05% 13.98%, #B247F9 0%, #762BCC 22%, #4F178F 44%, #101010 100%);
  color: var(--light);
}

.ops-band .eyebrow,
.ops-band h2 {
  color: #f8faf7;
}

.ops-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ops-list span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #E5DDE6;
  font-weight: 650;
}

.finance-stack {
  display: grid;
  gap: 12px;
}

.finance-stack strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #52605a;
  font-size: 14px;
}

.footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .ops-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .solution-grid,
  .solution-grid.three,
  .ops-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
}
