:root {
  --ink: #17201d;
  --muted: #5f6e68;
  --line: #dce5e1;
  --paper: #ffffff;
  --mist: #f3f7f5;
  --green: #0f7a4d;
  --green-dark: #075c39;
  --green-soft: #dff3e8;
  --blue: #245fc7;
  --blue-soft: #e5edff;
  --amber: #c87917;
  --amber-soft: #fff0d8;
  --navy: #142a25;
  --shadow: 0 18px 50px rgba(20, 42, 37, 0.09);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system,
    sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-size: 16px;
}

a {
  color: inherit;
}

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

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

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

.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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--green-dark);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 229, 225, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--container));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(15, 122, 77, 0.15);
}

.brand span,
.footer-brand span {
  display: grid;
  line-height: 1.25;
}

.brand strong {
  font-size: 16px;
  font-weight: 700;
}

.brand small,
.footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

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

.site-nav a {
  position: relative;
  color: #394640;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  min-height: 680px;
  border-bottom: 1px solid var(--line);
  background-color: #f4f8f6;
  background-image: url("/assets/hero-platform.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.hero-inner {
  width: min(calc(100% - 40px), var(--container));
  min-height: 680px;
  margin: 0 auto;
  padding: 116px 0 62px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 590px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.8vw, 76px);
  font-weight: 780;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 34px;
  color: #4a5852;
  font-size: 19px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-width: 136px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(15, 122, 77, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--ink);
  border-color: #bfcac5;
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 29, 0.08);
}

.hero-points {
  display: flex;
  gap: 0;
  width: fit-content;
  margin: 68px 0 0;
}

.hero-points div {
  min-width: 145px;
  padding: 0 28px;
  border-left: 1px solid #cbd6d1;
}

.hero-points div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-points dt {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.hero-points dd {
  color: var(--muted);
  font-size: 13px;
}

.hero-mobile-visual {
  display: none;
}

.section {
  padding: 104px 0;
}

.section-inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 48px;
}

.section-heading h2,
.contact-layout h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 760;
}

.section-heading > p:last-of-type,
.contact-layout > div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 245px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.service-icon-green {
  color: var(--green-dark);
  background: var(--green-soft);
}

.service-icon-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.service-icon-amber {
  color: #8b4c00;
  background: var(--amber-soft);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-process {
  color: #fff;
  background: var(--navy);
}

.section-heading-light .eyebrow {
  color: #6fdaa4;
}

.section-heading-light > p:last-of-type {
  color: #b7c7c1;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 235px;
  padding: 0 28px;
  border-left: 1px solid #40544d;
}

.process-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.process-list > li > span {
  width: 42px;
  height: 42px;
  margin-bottom: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #6a8178;
  border-radius: 50%;
  color: #8ae1b4;
  font-size: 14px;
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.process-list p {
  margin-bottom: 0;
  color: #b7c7c1;
  font-size: 14px;
}

.section-security {
  background: var(--mist);
}

.security-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.security-layout .section-heading {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

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

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

.security-list {
  border-top: 1px solid #cbd6d1;
}

.security-list article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid #cbd6d1;
}

.security-list h3,
.security-list p {
  margin-bottom: 0;
}

.security-list h3 {
  font-size: 18px;
}

.security-list p {
  color: var(--muted);
  font-size: 14px;
}

.section-contact {
  padding: 94px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-style: normal;
}

.contact-details div {
  min-height: 126px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-details span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}

.contact-details strong,
.contact-details a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--green);
}

.site-footer {
  padding: 32px 0;
  color: #c4d0cb;
  background: #101b17;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand strong {
  color: #fff;
  font-size: 14px;
}

.footer-brand small {
  color: #8fa099;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer a {
  color: #c4d0cb;
  font-size: 12px;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer p {
  margin: 0;
  text-align: right;
  font-size: 11px;
}

.footer-legal {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.footer-legal a {
  font-size: 11px;
}

.policy-main {
  min-height: 70vh;
  padding: 80px 20px 110px;
  background: var(--mist);
}

.policy-article {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 64px 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.policy-article header {
  padding-bottom: 32px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.policy-article header h1 {
  margin-bottom: 16px;
  font-size: 46px;
}

.policy-article header > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.policy-article section + section {
  margin-top: 34px;
}

.policy-article h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.policy-article p {
  margin-bottom: 12px;
  color: #4e5c56;
  font-size: 15px;
}

.policy-article a {
  color: var(--green-dark);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .hero {
    background-position: 42% center;
  }

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

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

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 52px;
  }

  .process-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .security-layout,
  .contact-layout {
    gap: 52px;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    width: min(calc(100% - 28px), var(--container));
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav:not(.policy-nav) {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 24px rgba(23, 32, 29, 0.08);
  }

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

  .site-nav:not(.policy-nav) a {
    padding: 11px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .policy-nav {
    gap: 16px;
  }

  .policy-nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    background-image: none;
  }

  .hero-inner {
    width: min(calc(100% - 32px), var(--container));
    min-height: 0;
    padding: 74px 0 0;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 46px;
  }

  .hero-copy {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-points {
    width: 100%;
    margin-top: 54px;
  }

  .hero-points div {
    min-width: 0;
    flex: 1;
    padding: 0 12px;
  }

  .hero-points dt {
    font-size: 13px;
  }

  .hero-points dd {
    font-size: 11px;
    line-height: 1.5;
  }

  .hero-mobile-visual {
    width: calc(100% + 32px);
    max-width: none;
    height: 310px;
    margin: 44px -16px 0;
    display: block;
    object-fit: cover;
    object-position: 61% center;
  }

  .section {
    padding: 76px 0;
  }

  .section-inner {
    width: min(calc(100% - 32px), var(--container));
  }

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

  .section-heading h2,
  .contact-layout h2 {
    font-size: 34px;
  }

  .section-heading > p:last-of-type,
  .contact-layout > div > p:last-child {
    font-size: 15px;
  }

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

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .service-icon {
    margin-bottom: 28px;
  }

  .process-list {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .process-list li,
  .process-list li:first-child,
  .process-list li:nth-child(3) {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid #40544d;
    border-left: 0;
  }

  .process-list > li > span {
    margin: 0;
  }

  .security-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .security-layout .section-heading {
    position: static;
  }

  .security-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details div {
    min-height: 104px;
  }

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

  .footer-legal {
    justify-items: start;
  }

  .site-footer p {
    text-align: left;
  }

  .policy-main {
    padding: 42px 14px 70px;
  }

  .policy-article {
    padding: 36px 24px;
  }

  .policy-article header h1 {
    font-size: 36px;
  }

}

@media (max-width: 430px) {
  .brand strong {
    font-size: 14px;
  }

  .policy-nav a:first-child {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .button {
    flex: 1 1 140px;
  }
}

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

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