:root {
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --tint: #EEF3F1;
  --sand: #ECE8E0;
  --ink: #1E2A2A;
  --ink-2: #4D5A59;
  --ink-3: #85908E;
  --line: #E2E3DE;
  --accent: #3E8E86;
  --accent-deep: #2C6D66;
  --accent-soft: #CFE5E1;
  --accent-mist: #E3F0ED;
  --warn: #E7C9A6;
  --bad: #E2B3AA;
  --radius: 18px;
  --radius-sm: 10px;
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px;
  background: var(--accent-deep);
  color: #fff;
  border: 0; border-radius: 999px;
  font: 500 15px/1.2 var(--sans);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--ink); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.link-arrow { font-weight: 500; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #9FD3CB, var(--accent) 70%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.35);
}
.logo__text { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.logo__text span { font-weight: 400; color: var(--ink-3); }

.nav { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--accent-deep); }
.nav__cta-mobile { display: none; }

.header__right { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .04em;
  color: var(--ink-2); padding: 7px 10px; border-radius: 999px;
}
.lang button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }

.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.menu-open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.hero__title em { font-style: italic; color: var(--accent-deep); }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 520px; }
.hero__points { margin-top: 24px; display: grid; gap: 8px; }
.hero__points li { position: relative; padding-left: 26px; color: var(--ink); }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: .65em; width: 14px; height: 1.5px; background: var(--accent);
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

.cof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 60px -40px rgba(30, 60, 58, .25);
}
.cof-card__label { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; letter-spacing: .02em; }
.cof-row + .cof-row { margin-top: 22px; }
.cof-row__head { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.cof-row__head strong { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cof-bar { height: 10px; background: var(--sand); border-radius: 99px; overflow: hidden; }
.cof-bar__fill { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent-soft), var(--accent)); border-radius: inherit; }
.cof-bar__fill--before { background: linear-gradient(90deg, #F1DCCB, var(--bad)); }
.cof-scale { position: relative; display: flex; justify-content: space-between; margin-top: 12px; font-size: 11px; color: var(--ink-3); }
.cof-scale__mark { position: absolute; left: var(--x); transform: translateX(-50%); color: var(--accent-deep); }
.cof-scale__mark::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 30px; margin-bottom: 4px; border-left: 1px dashed var(--accent); opacity: .5; }
.cof-card__note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

.stats {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__v { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); color: var(--accent-deep); line-height: 1.1; }
.stat__l { font-size: 14px; color: var(--ink-2); }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2, .contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 46px);
  letter-spacing: -.015em;
}
.section__lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 680px; }

/* Positioning quote */
.quote { max-width: 900px; margin-bottom: clamp(48px, 6vw, 72px); }
.quote__text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
}
.quote__sub { margin-top: 24px; color: var(--ink-2); font-size: 17px; max-width: 640px; }

.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(0,0,0,.03); }
.card__num { font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.card h3 { margin: 18px 0 10px; font-size: 19px; }
.card p { color: var(--ink-2); font-size: 15px; }

/* Solutions */
.solutions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.solution { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 44px); }
.solution--alt { background: var(--sand); border-color: transparent; }
.solution__tag {
  display: inline-block; font-size: 12px; font-weight: 500; color: var(--accent-deep);
  background: var(--accent-mist); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.solution--alt .solution__tag { background: rgba(255,255,255,.6); }
.solution h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 14px; }
.solution > p { color: var(--ink-2); }
.checklist { margin-top: 26px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.5 2.4L13 6.3' fill='none' stroke='%232C6D66' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.solution--alt .checklist li::before { background-color: rgba(255,255,255,.7); }

/* Technology */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.tech__points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
.point h4 { font-size: 17px; margin-bottom: 8px; padding-top: 16px; border-top: 1.5px solid var(--accent-soft); }
.point p { font-size: 15px; color: var(--ink-2); }

.table-card { background: var(--surface); border-radius: 24px; padding: clamp(24px, 3vw, 36px); }
.table-card h4 { font-size: 17px; margin-bottom: 18px; }
.cof-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cof-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; padding: 0 0 10px; }
.cof-table td { padding: 13px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.cof-table td:last-child { display: flex; align-items: center; gap: 10px; }
.cof-table td:last-child::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.is-good td:last-child::before { background: var(--accent); }
.is-ok td:last-child::before { background: var(--accent-soft); }
.is-warn td:last-child::before { background: var(--warn); }
.is-bad td:last-child::before { background: var(--bad); }
.table-card__note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
.targets { margin-top: 24px; background: var(--accent-mist); border-radius: 14px; padding: 20px 22px; }
.targets__title { font-size: 14px; font-weight: 500; margin-bottom: 10px; color: var(--accent-deep); }
.targets li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.targets strong { font-weight: 500; font-variant-numeric: tabular-nums; }

.surfaces { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.surfaces__title { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.step::before { content: ""; position: absolute; top: 18px; left: 44px; right: -16px; height: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step__n {
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-mist); color: var(--accent-deep);
  font-size: 14px; font-weight: 500;
}
.step > div { padding-top: 28px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.industries li { background: var(--surface); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; min-height: 130px; }
.industries strong { font-weight: 500; font-size: 15.5px; }
.industries span { font-size: 13.5px; color: var(--ink-3); }

/* Certificates */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); display: flex; flex-direction: column; }
.cert__badge {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--accent-deep);
  border: 1.5px solid var(--accent-soft);
  border-radius: 8px; padding: 6px 10px;
  margin-bottom: 22px;
}
.cert h3 { font-size: 16.5px; margin-bottom: 10px; }
.cert p { font-size: 14.5px; color: var(--ink-2); }
.certs__note { margin-top: 28px; font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.certs__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section__head { margin-bottom: 0; }
.faq__list details { border-bottom: 1px solid #D5DEDB; }
.faq__list details:first-child { border-top: 1px solid #D5DEDB; }
.faq__list summary {
  list-style: none; cursor: pointer;
  padding: 22px 40px 22px 0; position: relative;
  font-size: 17px; font-weight: 500;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .25s, margin-top .25s;
}
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__list details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.demo-note {
  margin-top: 28px;
  padding: 20px 22px 20px 24px;
  background: var(--accent-mist);
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
}
.demo-note__title { font-weight: 500; color: var(--accent-deep); margin-bottom: 6px; }
.demo-note p:not(.demo-note__title) { font-size: 15px; color: var(--ink-2); }
.contact__list { margin: 40px 0 0; display: grid; gap: 22px; }
.contact__list dt { font-size: 13px; color: var(--ink-3); margin-bottom: 2px; }
.contact__list dd { margin: 0; font-size: 19px; }
.contact__list a { border-bottom: 1px solid var(--accent-soft); transition: border-color .2s, color .2s; }
.contact__list a:hover { color: var(--accent-deep); border-color: var(--accent); }

.form { background: var(--surface); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 13px; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%;
  font: 400 15px/1.4 var(--sans);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234D5A59' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--ink-3); }
.form__error { font-size: 13.5px; color: #A2554A; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__tag { margin-top: 14px; color: var(--ink-2); font-size: 14px; max-width: 360px; }
.footer__links { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); text-align: right; }
.footer__links a:hover { color: var(--accent-deep); }
.footer__bottom { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .header__cta { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step:nth-child(3)::before { display: none; }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    font-size: 17px; color: var(--ink);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta-mobile { display: block; border: 0; margin-top: 16px; color: var(--accent-deep); font-weight: 500; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }

  .hero__grid, .tech, .faq, .contact, .solutions { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 8px; }
}

@media (max-width: 640px) {
  .header__inner { height: 64px; gap: 12px; }
  .nav { inset: 64px 0 auto 0; }
  .logo__text { font-size: 16px; }
  .logo__text span { display: none; }
  .lang button { padding: 7px 8px; }
  .steps { grid-template-columns: 1fr; row-gap: 8px; }
  .step { flex-direction: row; padding: 0 0 24px; }
  .step::before { top: 40px; bottom: 0; left: 18px; right: auto; width: 1px; height: auto; display: block !important; }
  .step:last-child::before { display: none !important; }
  .step__n { position: relative; flex: none; }
  .step > div { padding-top: 6px; }
  .industries { grid-template-columns: 1fr 1fr; }
  .industries li { min-height: 0; padding: 20px 16px; }
  .certs { grid-template-columns: 1fr; }
  .tech__points { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__links { text-align: left; }
  .cof-card { padding: 24px; }
}
