:root {
  --ink: #0d1916;
  --ink-soft: #42514c;
  --forest-950: #061a15;
  --forest-900: #09251e;
  --forest-800: #0b3429;
  --forest-700: #11513f;
  --green-500: #3fcf8e;
  --green-400: #72e0ad;
  --mint-100: #ddf7ea;
  --paper: #f5f6f2;
  --white: #ffffff;
  --line: #d9dfda;
  --copper: #d49864;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow: 0 26px 80px rgba(3, 24, 18, 0.15);
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--forest-950);
  background: var(--green-400);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 26, 21, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav .nav-cta {
  padding: 10px 16px;
  color: var(--forest-950);
  background: var(--green-400);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 10%, rgba(63, 207, 142, 0.14), transparent 36%),
    linear-gradient(145deg, #061a15 0%, #09291f 48%, #0b3429 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  top: 220px;
  right: -240px;
  border: 1px solid rgba(114, 224, 173, 0.25);
  box-shadow: 0 0 120px rgba(63, 207, 142, 0.08) inset;
}

.hero-glow-two {
  width: 360px;
  height: 360px;
  top: 290px;
  right: -170px;
  border: 1px solid rgba(212, 152, 100, 0.28);
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 860px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 74px;
  padding-top: 112px;
  padding-bottom: 70px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--green-400);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--forest-700);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 5px rgba(114, 224, 173, 0.13);
}

.hero h1,
.section h2,
.cta-card h2 {
  margin: 0;
  font-weight: 680;
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.45rem, 6.5vw, 6.4rem);
}

.hero h1 span {
  color: var(--green-400);
}

.hero-intro {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

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

.button-primary {
  color: var(--forest-950);
  background: var(--green-400);
}

.button-primary:hover {
  background: #8ce8bd;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.87rem;
}

.hero-visual {
  width: 100%;
}

.visual-window {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(247, 250, 247, 0.96);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: rotate(1.1deg);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 3px 16px;
}

.window-top > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b6c2ba;
}

.window-top > span:nth-child(1) { background: #e89979; }
.window-top > span:nth-child(2) { background: #e6c774; }
.window-top > span:nth-child(3) { background: #6fd29d; }

.window-top p {
  margin: 0 0 0 9px;
  color: #6c7972;
  font-size: 0.72rem;
  font-weight: 700;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid #e1e5e1;
}

.metric-label {
  margin: 0;
  color: #748078;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.metric-value {
  margin: 3px 0 0;
  font-size: 1.03rem;
  font-weight: 760;
}

.metric-badge {
  padding: 7px 10px;
  color: #15513f;
  background: #e4f8ee;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.chart-card {
  margin-top: 12px;
  padding: 21px;
  border: 1px solid #e1e5e1;
  border-radius: 16px;
  background: var(--white);
}

.chart-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.chart-title {
  margin: 3px 0 0;
  font-size: 1rem;
  font-weight: 760;
}

.chart-heading > span {
  color: #829087;
  font-size: 0.67rem;
}

.bars {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.bar-row {
  display: grid;
  grid-template-columns: 72px minmax(100px, 1fr) 54px;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
}

.bar-row > span {
  color: #59675f;
  font-weight: 650;
}

.bar-row > div {
  height: 8px;
  overflow: hidden;
  background: #eaf0ec;
  border-radius: 999px;
}

.bar-row i {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest-700), var(--green-500));
}

.bar-row b {
  color: #7a867f;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: right;
}

.visual-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border: 1px solid #e1e5e1;
  border-radius: 16px;
  background: var(--white);
}

.mini-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--forest-700);
  background: var(--mint-100);
  font-weight: 800;
}

.mini-card p {
  margin: 0;
  color: #77837c;
  font-size: 0.65rem;
}

.mini-card strong {
  display: block;
  margin-top: 2px;
  font-size: 0.73rem;
}

.visual-caption {
  margin: 14px 18px 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.68rem;
  text-align: center;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #eef1ec;
}

.trust-grid {
  min-height: 82px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.trust-grid p {
  margin: 0;
  padding: 0 20px;
  color: #64716a;
  border-right: 1px solid #d7ddd8;
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.trust-grid p:last-child {
  border-right: 0;
}

.section {
  padding: 126px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 58px;
}

.section-heading h2,
.principles-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading > p:last-child,
.principles-copy > p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 340px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.feature-card::after {
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(17, 81, 63, 0.12);
  border-radius: 50%;
  content: "";
}

.feature-number {
  color: #91a098;
  font-size: 0.73rem;
  font-weight: 800;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-top: 45px;
  place-items: center;
  color: var(--forest-700);
  background: var(--mint-100);
  border-radius: 15px;
  font-size: 1.45rem;
}

.feature-card h3 {
  margin: 26px 0 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.workflow {
  color: var(--white);
  background: var(--forest-950);
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: 100px;
  align-items: start;
}

.workflow-heading {
  position: sticky;
  top: 130px;
  margin: 0;
}

.workflow-heading > p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.workflow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-list li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green-400);
  border: 1px solid rgba(114, 224, 173, 0.3);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.workflow-list h3 {
  margin: 0;
  font-size: 1.3rem;
}

.workflow-list p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.57);
}

.industries {
  background: #edf0eb;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-grid article {
  min-height: 330px;
  padding: 36px;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(6, 26, 21, 0.2), rgba(6, 26, 21, 0.96)),
    radial-gradient(circle at 80% 12%, rgba(114, 224, 173, 0.42), transparent 32%),
    var(--forest-800);
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.industry-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(6, 26, 21, 0.2), rgba(6, 26, 21, 0.96)),
    radial-gradient(circle at 20% 12%, rgba(212, 152, 100, 0.55), transparent 35%),
    #26362f;
}

.industry-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(6, 26, 21, 0.2), rgba(6, 26, 21, 0.96)),
    radial-gradient(circle at 50% 10%, rgba(124, 150, 211, 0.42), transparent 35%),
    #122d31;
}

.industry-kicker {
  margin: 0 0 auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.industry-grid h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
}

.industry-grid article > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
}

.principles {
  color: var(--white);
  background: #12251f;
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: 92px;
  align-items: start;
}

.principles-copy {
  position: sticky;
  top: 130px;
}

.principles-copy > p {
  color: rgba(255, 255, 255, 0.6);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--green-400);
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  transition: transform 150ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.principle-cards {
  display: grid;
  gap: 15px;
}

.principle-cards article {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.principle-cards article > span {
  color: var(--green-400);
  font-size: 0.72rem;
  font-weight: 800;
}

.principle-cards h3 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
}

.principle-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.cta-section {
  padding: 90px 0;
  background: #edf0eb;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  padding: 64px;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 0%, rgba(114, 224, 173, 0.35), transparent 32%),
    linear-gradient(135deg, var(--forest-950), var(--forest-700));
}

.cta-card h2 {
  max-width: 680px;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.cta-card > div > p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.button-light {
  flex: 0 0 auto;
  color: var(--forest-950);
  background: var(--white);
}

.site-footer {
  padding: 56px 0;
  color: var(--white);
  background: #061411;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 40px;
  align-items: end;
}

.footer-brand {
  width: fit-content;
}

.footer-grid > div:first-child > p {
  max-width: 380px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-meta {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  text-align: right;
}

.footer-meta p {
  margin: 2px 0;
}

/* Privacy and 404 pages */
.simple-page {
  min-height: 100vh;
  background: var(--paper);
}

.simple-header {
  color: var(--white);
  background: var(--forest-950);
}

.simple-header .header-inner {
  min-height: 76px;
}

.simple-main {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 120px;
}

.simple-main h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.simple-main .lead {
  margin: 0 0 52px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-section {
  margin-top: 38px;
}

.legal-section h2 {
  font-size: 1.35rem;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
}

.back-link {
  display: inline-flex;
  margin-top: 45px;
  color: var(--forest-700);
  font-weight: 750;
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 160px;
    padding-bottom: 100px;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-visual {
    max-width: 670px;
  }

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

  .workflow-layout,
  .principles-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .workflow-heading,
  .principles-copy {
    position: static;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid article {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

  .site-header {
    background: rgba(6, 26, 21, 0.94);
    backdrop-filter: blur(14px);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 15px;
    left: 15px;
    display: none;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: #0a251e;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .hero-layout {
    padding-top: 132px;
    padding-bottom: 74px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .visual-window {
    padding: 12px;
    border-radius: 22px;
  }

  .visual-bottom {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 66px 1fr;
  }

  .bar-row b {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding: 18px 0;
  }

  .trust-grid p {
    padding: 13px 8px;
    border-right: 0;
  }

  .section {
    padding: 92px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .workflow-list li {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
