:root {
  --ink: #18232b;
  --muted: #5d6b75;
  --line: #dce7df;
  --paper: #ffffff;
  --soft: #f5faf6;
  --green: #1f8a5b;
  --green-dark: #12613f;
  --amber: #f2a93b;
  --blue: #2f6fb0;
  --red: #c94f43;
  --radius: 8px;
  --shadow: 0 16px 38px rgba(24, 35, 43, .1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfb;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 35, 43, .08);
}

.nav {
  max-width: 1180px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 0;
  border-radius: var(--radius);
  padding: .78rem 1rem;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(31, 138, 91, .22);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-light {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(24, 35, 43, .12);
}

.btn-amber {
  color: #2a1b00;
  background: var(--amber);
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.hero {
  padding: 5rem 1.25rem 3.5rem;
  border-bottom: 1px solid rgba(24, 35, 43, .08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .9) 52%, rgba(245, 250, 246, .84) 100%),
    url("/assets/hero-interface.png") center right / cover no-repeat;
}

.hero-inner,
.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .58fr);
  gap: 2rem;
  align-items: center;
}

.hero-grid > *,
.demo-banner-grid > *,
.story-grid > *,
.before-after-grid > *,
.grid-3 > *,
.value-grid > *,
.demo-layout > *,
.cta-box > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 .55rem;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: 3.6rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: .75rem;
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: #31424d;
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.excel-preview {
  overflow: hidden;
  border: 1px solid rgba(24, 35, 43, .12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem .85rem;
  color: #fff;
  background: #163528;
  font-weight: 850;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.preview-cell {
  min-height: 84px;
  padding: .85rem;
  background: #fff;
}

.preview-cell strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.preview-cell span {
  color: var(--muted);
  font-size: .9rem;
}

.project-timeline {
  overflow: hidden;
  border: 1px solid rgba(24, 35, 43, .12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.project-timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem .9rem;
  color: #fff;
  background: #163528;
  font-weight: 850;
}

.project-timeline-head strong {
  padding: .25rem .45rem;
  border-radius: var(--radius);
  color: #2a1b00;
  background: var(--amber);
  font-size: .82rem;
  white-space: nowrap;
}

.project-track {
  position: relative;
  display: grid;
  gap: .65rem;
  padding: 1rem;
}

.project-track::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  bottom: 1.45rem;
  left: 2rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--amber), var(--blue));
}

.project-milestone {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 4.3rem 1fr;
  gap: .75rem;
  align-items: start;
  padding: .85rem;
  border: 1px solid rgba(24, 35, 43, .09);
  border-radius: var(--radius);
  background: #fff;
}

.project-milestone strong {
  display: block;
  margin-bottom: .15rem;
  font-size: 1.06rem;
  line-height: 1.2;
}

.project-milestone p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.project-milestone-finish {
  border-color: rgba(31, 138, 91, .24);
  background: #f4fbf6;
}

.day-badge {
  min-height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green-dark);
  font-size: .8rem;
  font-weight: 900;
  white-space: nowrap;
}

.project-milestone-finish .day-badge {
  background: var(--blue);
}

.elapsed {
  position: relative;
  z-index: 1;
  margin-left: 4.75rem;
  padding: .45rem .55rem;
  border: 1px dashed rgba(24, 35, 43, .18);
  border-radius: var(--radius);
  background: #f7faf8;
}

.elapsed::before {
  content: "";
  display: block;
  height: .55rem;
  border-radius: 999px;
  background: rgba(31, 138, 91, .18);
}

.elapsed-short::before {
  width: 34%;
}

.elapsed-long::before {
  width: 100%;
  background: rgba(242, 169, 59, .32);
}

.elapsed span {
  display: block;
  margin-top: .28rem;
  color: #40515c;
  font-size: .84rem;
  font-weight: 850;
}

.price-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin: 1.35rem 0;
}

.price-item {
  padding: 1rem;
  border: 1px solid rgba(24, 35, 43, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 24px rgba(24, 35, 43, .06);
}

.price-item span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 750;
}

.price-item strong {
  display: block;
  margin-top: .2rem;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.2;
}

.trust-note {
  margin: 0;
  padding: .75rem .85rem;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  color: #34444f;
  background: rgba(242, 169, 59, .14);
  font-size: .96rem;
}

.primary-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(31, 138, 91, .24);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 138, 91, .1);
}

.primary-cta-card strong,
.primary-cta-card span {
  display: block;
}

.primary-cta-card strong {
  margin-bottom: .2rem;
  font-size: 1.02rem;
}

.primary-cta-card span {
  color: var(--muted);
  font-size: .95rem;
}

.demo-banner {
  padding: 1.4rem 1.25rem 1.2rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 138, 91, .18), rgba(242, 169, 59, .08)),
    #163528;
  border-bottom: 1px solid rgba(24, 35, 43, .14);
}

.demo-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr);
  gap: 1.25rem;
  align-items: end;
}

.demo-label {
  margin: 0 0 .45rem;
  color: #f5c96a;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-banner h2 {
  max-width: 780px;
  margin-bottom: .45rem;
  color: #fff;
  font-size: 1.65rem;
}

.demo-banner p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .76);
}

.source-file-card {
  display: grid;
  gap: .75rem;
  padding: .9rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
}

.source-file-card span {
  color: rgba(255, 255, 255, .86);
  font-weight: 850;
}

.demo-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.demo-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  padding: .55rem .85rem;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
  font-weight: 850;
}

.demo-menu a[aria-current="page"] {
  color: #163528;
  background: #fff;
  border-color: #fff;
}

.section {
  padding: 4.5rem 1.25rem;
}

.section-alt {
  background: var(--soft);
  border-top: 1px solid rgba(24, 35, 43, .06);
  border-bottom: 1px solid rgba(24, 35, 43, .06);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.story-grid,
.before-after-grid,
.value-grid,
.cta-box {
  display: grid;
  gap: 1.25rem;
}

.story-grid {
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
}

.story-card,
.timeline-card,
.image-card,
.value-card,
.cta-box,
.compare-panel {
  border: 1px solid rgba(24, 35, 43, .1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(24, 35, 43, .05);
}

.story-card,
.timeline-card,
.value-card,
.cta-box,
.compare-panel {
  padding: 1.15rem;
}

.story-card h3,
.timeline-card h3,
.image-card h3,
.value-card h3,
.compare-panel h3 {
  margin-bottom: .45rem;
  font-size: 1.12rem;
}

.story-card p,
.timeline-card p,
.image-card p,
.value-card p,
.compare-panel p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: .8rem;
  align-items: start;
}

.timeline strong {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green-dark);
  font-size: .82rem;
}

.timeline span {
  color: #34444f;
}

.before-after-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.image-card {
  overflow: hidden;
}

.image-card h3,
.image-card p {
  padding: 0 1rem;
}

.image-card h3 {
  padding-top: 1rem;
}

.image-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top left;
  border-top: 1px solid var(--line);
  background: #fff;
}

.image-zoom {
  display: block;
  color: inherit;
  text-decoration: none;
}

.image-zoom:focus-visible {
  outline: 3px solid rgba(47, 111, 176, .35);
  outline-offset: 3px;
}

.image-card-wide img {
  height: 260px;
}

.caption {
  margin: .65rem 1rem 1rem;
  color: var(--muted);
  font-size: .9rem;
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  white-space: normal;
  vertical-align: top;
  text-align: left;
}

.compare-table td:first-child {
  font-weight: 800;
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-card {
  border-left: 4px solid var(--green);
}

.value-card:nth-child(2n) {
  border-left-color: var(--blue);
}

.value-card:nth-child(3n) {
  border-left-color: var(--amber);
}

.value-card:nth-child(4n) {
  border-left-color: var(--red);
}

.demo-note {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(47, 111, 176, .18);
  border-radius: var(--radius);
  background: #eef6ff;
  color: #27435a;
}

.focus-note,
.try-panel,
.demo-disclaimer,
.mid-cta {
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(24, 35, 43, .05);
}

.focus-note {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(31, 138, 91, .22);
  border-left: 5px solid var(--green);
  background: #fff;
}

.focus-note p:last-child {
  margin-bottom: 0;
}

.try-panel {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(242, 169, 59, .26);
  background: #fff8e8;
}

.try-panel strong {
  display: block;
  margin-bottom: .45rem;
  color: #5b3a04;
  font-size: 1.04rem;
}

.try-panel ul {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding-left: 1.2rem;
  color: #34444f;
}

.demo-disclaimer {
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(24, 35, 43, .1);
  background: #fff;
  color: var(--muted);
}

.mid-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1.1rem;
  border: 1px solid rgba(31, 138, 91, .22);
  background: #f5faf6;
}

.mid-cta strong,
.mid-cta span {
  display: block;
}

.mid-cta strong {
  margin-bottom: .25rem;
  font-size: 1.08rem;
}

.mid-cta p {
  margin: 0;
  color: var(--muted);
}

.schedule-toggle {
  margin-top: .9rem;
}

.cta-box {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: #fff;
  background: #163528;
}

.cta-box p {
  color: rgba(255, 255, 255, .78);
}

.cta-box h2 {
  color: #fff;
}

.cta-box .section-kicker {
  color: #b8e4cf;
}

.cta-box .actions {
  justify-content: flex-end;
}

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

.step,
.metric,
.note-panel,
.control-panel,
.table-panel,
.chart-panel {
  border: 1px solid rgba(24, 35, 43, .1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(24, 35, 43, .05);
}

.step {
  padding: 1.15rem;
  border-top: 4px solid var(--green);
}

.step:nth-child(2) {
  border-top-color: var(--amber);
}

.step:nth-child(3) {
  border-top-color: var(--blue);
}

.step h3 {
  margin-bottom: .35rem;
  font-size: 1.1rem;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.demo-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.control-panel,
.note-panel,
.table-panel,
.chart-panel {
  padding: 1.1rem;
}

.control-panel {
  position: sticky;
  top: 88px;
}

label {
  display: block;
  margin-bottom: .3rem;
  color: #34444f;
  font-weight: 800;
  font-size: .9rem;
}

select,
input[type="range"] {
  width: 100%;
}

select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .65rem .75rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input[type="range"] {
  accent-color: var(--green);
}

.field {
  margin-bottom: 1rem;
}

.range-readout {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .92rem;
}

.strategy-buttons {
  display: grid;
  gap: .45rem;
}

.strategy-buttons button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.strategy-buttons button[aria-pressed="true"] {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.metric {
  padding: 1rem;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.metric strong {
  display: block;
  margin-top: .2rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.metric-accent {
  border-top: 4px solid var(--amber);
}

.metric-green {
  border-top: 4px solid var(--green);
}

.metric-blue {
  border-top: 4px solid var(--blue);
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: .94rem;
}

th,
td {
  padding: .68rem .75rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

thead th {
  color: #fff;
  background: #2f672c;
  font-size: .88rem;
}

tbody tr:nth-child(even) td {
  background: #f8fbf8;
}

.chart-panel canvas {
  width: 100%;
  height: 320px;
  display: block;
}

.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.35rem;
}

.page-tabs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  color: var(--muted);
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}

.page-tabs a[aria-current="page"] {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.footer {
  padding: 2rem 1.25rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid rgba(24, 35, 43, .08);
}

.footer-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .85rem;
}

.footer a {
  text-underline-offset: .18em;
}

@media (max-width: 980px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-grid,
  .demo-banner-grid,
  .demo-layout,
  .story-grid,
  .before-after-grid,
  .mid-cta,
  .primary-cta-card,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .control-panel {
    position: static;
  }

  .grid-3,
  .metric-grid,
  .price-strip,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box .actions {
    justify-content: flex-start;
  }

  .primary-cta-card .btn,
  .source-file-card .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 62px;
    padding: 0 .9rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 3rem .9rem 2.5rem;
  }

  .hero-inner,
  .wrap,
  .footer-inner {
    width: 100%;
  }

  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .section {
    padding: 3rem .9rem;
  }

  .grid-3,
  .metric-grid,
  .price-strip,
  .preview-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .image-card img,
  .image-card-wide img {
    height: 220px;
  }

  .project-track {
    padding: .85rem;
  }

  .project-track::before {
    left: 1.75rem;
  }

  .project-milestone {
    grid-template-columns: 3.75rem 1fr;
    padding: .75rem;
  }

  .elapsed {
    margin-left: 4.2rem;
  }

  .cta-box .actions .btn {
    width: 100%;
  }

  .demo-banner {
    padding: 1.2rem .9rem 1rem;
  }

  .demo-banner h2 {
    font-size: 1.25rem;
  }

  .demo-menu {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chart-panel canvas {
    height: 260px;
  }
}
