:root {
  color-scheme: light;
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --paper: #f8fafc;
  --surface: #ffffff;
  --line: #d9e2ec;
  --green: #1f8a5b;
  --green-dark: #176947;
  --cobalt: #2354a6;
  --coral: #d85b3f;
  --amber: #e5a917;
  --shadow: 0 20px 55px rgba(17, 24, 39, .12);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-color: rgba(31, 138, 91, .45);
  text-underline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, .88);
  border-bottom: 1px solid rgba(217, 226, 236, .9);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span:last-child {
  font-size: 18px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}

.nav-toggle::before {
  top: 13px;
}

.nav-toggle::after {
  top: 27px;
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a[aria-current="page"] {
  color: var(--green-dark);
}

.lang {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang a {
  min-width: 36px;
  padding: 5px 9px;
  border-radius: 999px;
  text-align: center;
}

.lang a[aria-current="true"] {
  background: var(--ink);
  color: white;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
  white-space: normal;
}

.button.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 12px 28px rgba(31, 138, 91, .25);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(720px, calc(100svh - 64px));
  background: #111827;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, .94) 0%, rgba(17, 24, 39, .78) 44%, rgba(17, 24, 39, .28) 100%), url("/assets/proop-system-map.svg");
  background-size: 100% 100%, min(980px, 72vw) auto;
  background-position: center, right center;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: 68px 0 92px;
}

.hero-copy {
  width: min(760px, 100%);
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ef0b7;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(42px, 7.2vw, 86px);
}

.hero h1 span {
  display: block;
}

h2 {
  font-size: clamp(30px, 4.6vw, 54px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #dbe7f0;
  font-size: clamp(18px, 2vw, 22px);
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 54px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
}

.hero-proof div {
  padding: 18px;
  background: rgba(17, 24, 39, .58);
}

.hero-proof strong {
  display: block;
  color: white;
}

.hero-proof span {
  color: #cbd5e1;
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: #eef3f8;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid > *,
.split > *,
.container > * {
  min-width: 0;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(17, 24, 39, .03);
}

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

.card.accent-blue {
  border-top: 4px solid var(--cobalt);
}

.card.accent-coral {
  border-top: 4px solid var(--coral);
}

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

.card p,
.card ul {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.card ul {
  padding-left: 20px;
}

.metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e8f6ee;
  color: var(--green-dark);
  font-weight: 900;
}

.band {
  background: var(--ink);
  color: white;
  padding: 76px 0;
}

.band .section-lead,
.band p {
  color: #cbd5e1;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 74px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 44px;
  align-items: start;
}

.list-clean {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.list-clean li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.list-clean strong {
  color: var(--ink);
}

.cta-panel {
  background: #111827;
  color: white;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: #cbd5e1;
}

.quote {
  margin: 0;
  padding: 30px;
  border-left: 5px solid var(--green);
  background: white;
  color: var(--ink-soft);
  font-size: 20px;
}

.mini-kicker {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.footer-brand p {
  margin: 6px 0 0;
  color: #cbd5e1;
}

.footer-trust-link {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin-top: 16px;
  line-height: 0;
  text-decoration: none;
}

.footer-trust-logo {
  display: block;
  width: 136px;
  height: auto;
  opacity: .92;
}

.footer a {
  color: #e2e8f0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

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

[data-reveal][data-visible="true"] {
  transform: none;
  opacity: 1;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  transition: opacity .18s ease, transform .18s ease;
}

.sticky-cta[data-hidden] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.not-found {
  width: min(620px, calc(100vw - 40px));
  margin: 14vh auto;
}

.simple-page {
  background: var(--paper);
}

.legal-hero {
  padding: 72px 0 38px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(36px, 5.6vw, 64px);
}

.legal-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-content {
  max-width: 920px;
}

.legal-content h2 {
  margin-top: 36px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.legal-content h3 {
  margin-top: 24px;
}

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

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--surface);
}

.legal-content th,
.legal-content td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: #eef3f8;
  color: var(--ink);
}

.legal-note {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--green);
  background: #ecfdf3;
  color: var(--ink-soft);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

  .hero::before {
    background-image: linear-gradient(90deg, rgba(17, 24, 39, .97) 0%, rgba(17, 24, 39, .95) 58%, rgba(17, 24, 39, .88) 100%), url("/assets/proop-system-map.svg");
    background-size: 100% 100%, min(680px, 80vw) auto;
    background-position: center, calc(100% + 230px) center;
  }

  .hero-inner {
    padding: 78px 0 96px;
  }

  h1 {
    font-size: clamp(42px, 6vw, 64px);
  }

  .sticky-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .nav[data-open] {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
  }

  .hero::before {
    background-image: linear-gradient(180deg, rgba(17, 24, 39, .97) 0%, rgba(17, 24, 39, .94) 62%, rgba(17, 24, 39, .84) 100%), url("/assets/proop-system-map.svg");
    background-size: 100% 100%, min(720px, 112vw) auto;
    background-position: center, 70% 54%;
  }

  h1 {
    font-size: clamp(38px, 7vw, 56px);
  }

  .lang {
    align-self: flex-start;
    margin-top: 10px;
  }

  .grid.two,
  .grid.three,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 640px) {
  :root {
    --container: 100%;
  }

  .container,
  .hero-inner,
  .nav-wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-copy,
  .hero h1,
  .lead,
  .section-lead {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 span {
    display: inline;
  }

  .hero h1 span::after {
    content: " ";
  }

  .hero h1 span:last-child::after {
    content: "";
  }

  .section {
    padding: 64px 0;
  }

  .hero-inner {
    padding: 52px 14px 70px;
  }

  .hero::before {
    background-image: linear-gradient(90deg, rgba(17, 24, 39, .95), rgba(17, 24, 39, .78)), url("/assets/proop-system-map.svg");
    background-size: 100% 100%, 760px auto;
    background-position: center, 48% center;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  h2 {
    max-width: 100%;
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  p,
  li,
  a,
  strong {
    overflow-wrap: anywhere;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .04em;
  }

  .lead {
    font-size: 18px;
  }

  .card,
  .cta-panel {
    padding: 22px;
  }

  .step {
    padding-left: 0;
    padding-top: 62px;
  }

  .sticky-cta {
    display: none;
  }
}
