:root {
  --ink: #10263f;
  --ink-soft: #526579;
  --paper: #f6f4ef;
  --paper-deep: #ebe9e2;
  --white: #fffdf9;
  --accent: #e9614f;
  --accent-dark: #c94b3c;
  --mint: #c9e7dc;
  --line: rgba(16, 38, 63, 0.14);
  --display: "Space Grotesk", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.brand > span:last-child span,
.dashboard-topbar > span > span { color: var(--accent); }

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 9px 9px 9px 2px;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.08em;
}

.header-note {
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(450px, 1.08fr);
  align-items: center;
  gap: 56px;
  min-height: 680px;
  padding-block: 72px 104px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ba978;
  border: 2px solid rgba(75, 169, 120, 0.25);
  border-radius: 50%;
  box-sizing: content-box;
}

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

h1,
h2 { font-family: var(--display); letter-spacing: -0.075em; }

h1 {
  max-width: 590px;
  margin-bottom: 26px;
  font-size: clamp(3.8rem, 7vw, 6.45rem);
  line-height: 0.93;
}

h1 span { display: block; color: var(--accent); }

.hero-lede {
  max-width: 470px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary { color: var(--white); background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--accent-dark); }

.text-link {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span { margin-left: 5px; color: var(--accent); }
.text-link:hover { color: var(--accent-dark); }

.hero-visual {
  position: relative;
  min-height: 460px;
  isolation: isolate;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(16, 38, 63, 0.11);
  border-radius: 50%;
  transform: rotate(-17deg);
}

.orbit-one { inset: 5% -5% 5% 7%; }
.orbit-two { inset: 15% 8% 15% -2%; border-color: rgba(233, 97, 79, 0.2); }

.dashboard-card {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(100%, 500px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 38, 63, 0.12);
  border-radius: 12px;
  box-shadow: 18px 24px 60px rgba(16, 38, 63, 0.14);
  transform: translate(-50%, -50%) rotate(2deg);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  color: var(--ink);
  background: var(--paper-deep);
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
}

.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; background: #adb5b7; border-radius: 50%; }
.window-dots i:first-child { background: var(--accent); }
.dashboard-status { color: #43966e; font-family: var(--body); font-size: 0.62rem; font-weight: 600; }

.dashboard-content { padding: 26px; }

.dashboard-heading,
.chart-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-heading small,
.metric small,
.chart-label small { display: block; color: var(--ink-soft); font-size: 0.64rem; }
.dashboard-heading strong { display: block; margin-top: 4px; font-family: var(--display); font-size: 1.08rem; }
.avatar { display: grid; width: 32px; height: 32px; place-items: center; color: var(--white); background: var(--ink); border-radius: 50%; font-size: 0.6rem; font-weight: 700; }

.metric-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 10px; margin-top: 24px; }
.metric { padding: 15px; background: #f2f4f1; border-radius: 6px; }
.metric-highlight { color: var(--white); background: var(--ink); }
.metric-highlight small { color: rgba(255, 253, 249, 0.65); }
.metric strong { display: block; margin: 4px 0 2px; font-family: var(--display); font-size: 1.34rem; letter-spacing: -0.05em; }
.metric span { color: var(--mint); font-size: 0.59rem; }
.metric span.neutral { color: #789080; }

.chart-card { margin-top: 10px; padding: 16px 15px 8px; border: 1px solid var(--line); border-radius: 6px; }
.chart-label span { color: var(--ink-soft); font-size: 0.58rem; }
.chart-card svg { display: block; width: 100%; height: 112px; margin-top: 10px; }
.chart-fill { fill: rgba(201, 231, 220, 0.54); }
.chart-line { fill: none; stroke: #43966e; stroke-linecap: round; stroke-width: 3; }

.floating-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(16, 38, 63, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
}

.floating-label span { display: grid; width: 20px; height: 20px; place-items: center; color: var(--white); background: var(--accent); border-radius: 50%; font-size: 0.6rem; }
.label-fiscal { top: 12%; right: 0; }
.label-local { bottom: 10%; left: 2%; }
.label-local span { color: var(--ink); background: var(--mint); font-size: 0.48rem; }

.promise {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding-block: 112px;
  border-top: 1px solid var(--line);
}

h2 { margin-bottom: 24px; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 0.98; }
h2 em { color: var(--accent); font-style: normal; }
.promise-content > p { max-width: 500px; margin-bottom: 34px; color: var(--ink-soft); font-size: 1.03rem; }
.feature-list { border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.feature-number { color: var(--accent); font-family: var(--display); font-size: 0.72rem; font-weight: 700; }
.feature h3 { margin-bottom: 4px; font-family: var(--display); font-size: 1rem; letter-spacing: -0.03em; }
.feature p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.84rem; }

.cta-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 80px;
  padding: 60px 64px;
  color: var(--white);
  background: var(--ink);
}

.cta-band h2 { margin-bottom: 0; }
.eyebrow-light { color: var(--mint); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 108px;
  border-top: 1px solid var(--line);
}

.brand-footer { font-size: 1.05rem; }
.site-footer p, .copyright { margin: 0; color: var(--ink-soft); font-size: 0.72rem; }
.copyright { text-align: right; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 52px; }
  .hero-copy { max-width: 620px; }
  .hero-visual { width: min(100%, 620px); margin-inline: auto; }
  .promise { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 600px) {
  .section-shell, .site-header { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 72px; }
  .header-note { display: none; }
  .hero { min-height: auto; padding-block: 60px 80px; }
  h1 { font-size: clamp(3.3rem, 17vw, 5rem); }
  .hero-lede { font-size: 0.96rem; }
  .hero-visual { min-height: 365px; margin-top: 18px; }
  .dashboard-card { width: 100%; transform: translate(-50%, -50%) rotate(0); }
  .dashboard-content { padding: 18px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid .metric:nth-child(2) { display: none; }
  .floating-label { font-size: 0.58rem; }
  .label-fiscal { top: 0; right: -3px; }
  .label-local { bottom: 0; left: -3px; }
  .promise { padding-block: 80px; }
  .cta-band { align-items: start; flex-direction: column; margin-bottom: 50px; padding: 40px 26px; }
  .site-footer { grid-template-columns: 1fr; padding-block: 28px; }
  .copyright { text-align: left; }
}
