:root {
  --ink: #12241f;
  --muted: #5f6e68;
  --paper: #f5f8f6;
  --white: #ffffff;
  --line: #d8e2dc;
  --teal: #007f65;
  --teal-dark: #005c4a;
  --aqua: #18b8bd;
  --gold: #f1bd55;
  --rose: #d56558;
  --navy: #173f57;
  --shadow: 0 28px 64px rgba(18, 36, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(245, 248, 246, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 2.25rem;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 800;
  gap: 0.65rem;
  text-decoration: none;
}
.brand img {
  border: 1px solid #b7d7e9;
  border-radius: 6px;
  height: 2.4rem;
  object-fit: contain;
  width: 2.4rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
nav a:hover,
.text-link:hover {
  color: var(--teal);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
}
.button-primary {
  background: var(--teal);
  color: var(--white);
}
.button-primary:hover {
  background: var(--teal-dark);
}
.button-secondary {
  background: transparent;
  border-color: #9fafaa;
  color: var(--ink);
}
.button-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 0.87fr) minmax(28rem, 1.13fr);
  margin: 0 auto;
  max-width: 86rem;
  min-height: 0;
  padding: 2rem clamp(1.25rem, 4vw, 4.5rem) 4rem;
}

.hero-copy {
  align-self: start;
}
.eyebrow,
.preview-eyebrow {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 1.4rem;
}
.hero-summary {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 35rem;
}
.hero-actions,
.closing-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.text-link {
  color: var(--ink);
  font-weight: 750;
}
.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}

.product-surface {
  align-self: start;
  background: var(--white);
  border: 1px solid #cbd9d2;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.surface-bar {
  align-items: center;
  background: #102a24;
  color: #ecf7f2;
  display: flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
}
.surface-mark {
  background: var(--aqua);
  border-radius: 50%;
  display: inline-block;
  height: 0.7rem;
  width: 0.7rem;
}
.surface-status {
  color: #b9f0d2;
  margin-left: auto;
}
.surface-body {
  display: grid;
  grid-template-columns: 8.8rem 1fr;
  min-height: 25rem;
}
.surface-nav {
  background: #e7efea;
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
}
.surface-nav span {
  border-radius: 5px;
  color: #53635c;
  font-size: 0.82rem;
  padding: 0.65rem;
}
.surface-nav .selected {
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}
.surface-content {
  padding: clamp(1.25rem, 3vw, 2.3rem);
}
.surface-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.35rem;
}
.preview-field {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0;
}
.preview-field span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.preview-field strong {
  font-size: 0.96rem;
}
.preview-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.preview-results div {
  background: #edf7f3;
  border-top: 3px solid var(--teal);
  padding: 0.75rem;
}
.preview-results b,
.preview-results span {
  display: block;
}
.preview-results b {
  color: var(--teal-dark);
  font-size: 1.4rem;
}
.preview-results span {
  color: var(--muted);
  font-size: 0.73rem;
}

.statement,
.workflow,
.security,
.closing {
  margin: 0 auto;
  max-width: 86rem;
  padding-left: clamp(1.25rem, 4vw, 4.5rem);
  padding-right: clamp(1.25rem, 4vw, 4.5rem);
}
.statement {
  background: var(--navy);
  color: var(--white);
  max-width: none;
  padding-bottom: 3.25rem;
  padding-top: 3.25rem;
}
.statement > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 75rem;
}
.statement .eyebrow {
  color: var(--gold);
}
.statement h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  max-width: 45rem;
}
.statement p:last-child {
  color: #d6e2e6;
  font-size: 1.1rem;
  max-width: 42rem;
}

.capabilities {
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.capabilities article {
  min-height: 19rem;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.capabilities article + article {
  border-left: 1px solid var(--line);
}
.capability-number {
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 850;
}
.capabilities h3,
.workflow h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.6rem;
}
.capabilities p {
  color: var(--muted);
}

.workflow {
  align-items: start;
  display: grid;
  gap: 4rem;
  grid-template-columns: 0.85fr 1.15fr;
  padding-bottom: 6rem;
  padding-top: 6rem;
}
.workflow h2,
.security h2,
.closing h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.08;
}
.workflow-intro {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 33rem;
}
.export-callout {
  border-left: 4px solid var(--gold);
  margin-top: 2rem;
  padding: 0.8rem 0 0.8rem 1rem;
}
.export-callout span,
.export-callout strong {
  display: block;
}
.export-callout span {
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.export-callout strong {
  font-size: 1.02rem;
  line-height: 1.35;
}
.workflow ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.workflow li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 2.8rem 1fr;
  padding: 1.25rem 0;
}
.workflow li:last-child {
  border-bottom: 1px solid var(--line);
}
.workflow li > span {
  color: var(--teal);
  font-size: 1.8rem;
  font-weight: 850;
  line-height: 1;
}
.workflow li h3 {
  margin: 0 0 0.35rem;
}
.workflow li p {
  color: var(--muted);
  margin: 0;
}
.workflow li p + p {
  margin-top: 0.7rem;
}

.screen-tour {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 6rem clamp(1.25rem, 4vw, 4.5rem);
}
.screen-tour-heading,
.screen-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 75rem;
}
.screen-tour-heading {
  max-width: 42rem;
  margin-left: max(0px, calc((100% - 75rem) / 2));
}
.screen-tour-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.08;
}
.screen-tour-heading > p:last-child {
  color: var(--muted);
}
.screen-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
}
.screen-grid figure {
  margin: 0;
  min-width: 0;
}
.screen-frame {
  background: #f7faf8;
  border: 1px solid #ccd9d3;
  border-radius: 7px;
  box-shadow: 0 14px 30px rgba(18, 36, 31, 0.11);
  min-height: 18.5rem;
  overflow: hidden;
}
.frame-top {
  align-items: center;
  background: #102a24;
  color: #edf7f2;
  display: flex;
  font-size: 0.67rem;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem;
}
.frame-top > span {
  background: var(--aqua);
  border-radius: 50%;
  height: 0.46rem;
  width: 0.46rem;
}
.frame-top em {
  color: #aee1cf;
  font-style: normal;
  margin-left: auto;
}
.frame-body {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  min-height: 16.7rem;
}
.frame-body aside {
  background: #e5eee9;
  display: grid;
  align-content: start;
  gap: 0.28rem;
  padding: 0.55rem 0.35rem;
}
.frame-body aside b {
  color: #607069;
  font-size: 0.56rem;
  padding: 0.35rem;
}
.frame-body aside .current {
  background: #ffffff;
  border-radius: 3px;
  color: var(--ink);
}
.frame-main,
.preview-main {
  padding: 1rem;
}
.screen-eyebrow {
  color: var(--teal);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}
.frame-main h3,
.preview-main h3 {
  font-size: 1.1rem;
  margin: 0 0 0.8rem;
}
.screen-select {
  border: 1px solid #cdd9d3;
  border-radius: 3px;
  font-size: 0.58rem;
  padding: 0.4rem;
}
.screen-select i {
  float: right;
  font-style: normal;
}
.export-table,
.preview-table {
  display: grid;
  font-size: 0.48rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0.75rem 0;
  overflow: hidden;
}
.export-table > *,
.preview-table > * {
  border-bottom: 1px solid #dce5e0;
  min-width: 0;
  overflow: hidden;
  padding: 0.34rem 0.2rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.export-table > :nth-child(-n + 3),
.preview-table > :nth-child(-n + 3) {
  background: #e7efea;
  font-weight: 850;
}
.screen-frame button {
  background: var(--teal);
  border: 0;
  border-radius: 3px;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 750;
  padding: 0.46rem 0.6rem;
}
.sheet-toolbar {
  background: #e6edf0;
  color: #50606a;
  display: flex;
  font-size: 0.55rem;
  gap: 0.9rem;
  padding: 0.52rem 0.75rem;
}
.sheet-name {
  border-bottom: 1px solid #d8e1dc;
  color: #5e6a64;
  font-size: 0.58rem;
  padding: 0.6rem 0.75rem;
}
.sheet-grid {
  display: grid;
  font-size: 0.5rem;
  grid-template-columns: 1.25fr 0.85fr 1fr 1.15fr;
  padding: 0.75rem;
}
.sheet-grid > * {
  border-bottom: 1px solid #d7e1db;
  border-right: 1px solid #d7e1db;
  min-height: 1.65rem;
  overflow: hidden;
  padding: 0.42rem 0.25rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-grid > b {
  background: #347a5e;
  color: #ffffff;
  font-weight: 750;
}
.sheet-grid .edited {
  background: #fff3d6;
  color: #8a5a00;
}
.preview-main {
  padding: 1rem;
}
.status-row {
  align-items: center;
  display: flex;
  font-size: 0.54rem;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}
.status-row b {
  background: #dff6e7;
  border-radius: 10px;
  color: #237843;
  padding: 0.22rem 0.35rem;
}
.status-row span {
  background: #f2f4f3;
  border-radius: 10px;
  color: #68736e;
  padding: 0.22rem 0.35rem;
}
.status-row i {
  color: #68736e;
  font-style: normal;
}
.good {
  color: #18733e;
  font-weight: 750;
}
.screen-grid figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0.2rem 0;
}
.screen-grid figcaption strong {
  font-size: 0.9rem;
}
.screen-grid figcaption span {
  color: var(--muted);
  font-size: 0.82rem;
}

.security {
  background: #dcece9;
  max-width: none;
  padding-bottom: 5.5rem;
  padding-top: 5.5rem;
}
.security > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 75rem;
}
.security-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
.security-grid p {
  color: #3e534b;
  margin: 0;
}
.security-grid strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}

.closing {
  background: var(--white);
  max-width: none;
  padding-bottom: 6rem;
  padding-top: 6rem;
}
.closing > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 75rem;
}
.closing h2 {
  max-width: 44rem;
}

footer {
  align-items: center;
  background: #102a24;
  color: #d5e2dc;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 1rem 2.5rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem);
}
footer a {
  color: #d5e2dc;
}

@media (max-width: 860px) {
  .site-header {
    gap: 1rem;
  }
  nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .hero,
  .workflow {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 0;
    padding-top: 2rem;
  }
  .product-surface {
    max-width: 42rem;
  }
  .capabilities,
  .security-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }
  .screen-tour-heading {
    margin-left: auto;
  }
  .capabilities article {
    min-height: 0;
  }
  .capabilities article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }
  .surface-body {
    grid-template-columns: 1fr;
  }
  .surface-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
  }
  .surface-nav span {
    white-space: nowrap;
  }
  .preview-results {
    grid-template-columns: 1fr;
  }
  .header-cta {
    min-height: 2.5rem;
    padding-inline: 0.7rem;
  }
}
