:root {
  --ink: #080808;
  --text: #1d1e1c;
  --muted: #666963;
  --subtle: #92958f;
  --line: #e7e8e4;
  --line-strong: #d5d7d1;
  --surface: #ffffff;
  --soft: #f7f8f5;
  --soft-2: #f0f1ed;
  --button: #080808;
  --button-hover: #242424;
  --radius: 8px;
  --max: 1160px;
  --shadow: 0 20px 60px rgba(8, 8, 8, 0.06);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(230, 231, 226, 0.9), transparent 34rem),
    linear-gradient(180deg, #fff 0%, #fbfbfa 40%, #fff 100%);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    padding 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(8, 8, 8, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand span {
  display: none;
}

.brand img {
  width: 128px;
  height: 38px;
  object-fit: cover;
  object-position: center;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 4px;
  color: var(--muted);
  background: rgba(247, 248, 245, 0.86);
  border: 1px solid rgba(8, 8, 8, 0.07);
  border-radius: 999px;
  font-size: 0.92rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: #fff;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 720;
  white-space: nowrap;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.primary,
.header-cta {
  color: #fff;
  background: var(--button);
}

.primary:hover,
.header-cta:hover {
  background: var(--button-hover);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
}

.secondary:hover {
  border-color: var(--ink);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.menu-active .menu-button span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.menu-active .menu-button span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section,
.hero {
  padding: clamp(92px, 12vw, 146px) clamp(18px, 4vw, 52px);
}

.hero {
  min-height: 92svh;
  display: grid;
  place-items: center;
  padding-top: 140px;
}

.section-soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.centered,
.hero-inner {
  text-align: center;
}

.hero-inner {
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(3.6rem, 8.2vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.lead,
.narrow > p,
.section-heading p,
.product-card > p,
.legal-content p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.lead {
  max-width: 760px;
  margin: 30px auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.pillar-grid article,
.product-card,
.pricing-card,
.partner-list span,
.contact-form {
  background:
    linear-gradient(180deg, #fff, rgba(248, 248, 245, 0.92)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pillar-grid article {
  min-height: 190px;
  padding: 28px;
}

.pillar-grid span {
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 780;
}

.pillar-grid h3 {
  margin: 24px 0 12px;
}

.pillar-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.product-card {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 740px;
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}

.product-logo {
  width: 100%;
  min-height: 156px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  overflow: hidden;
}

.product-logo img {
  width: min(260px, 78%);
  max-height: 140px;
  object-fit: contain;
  transform: scale(1.18);
}

.chantier-logo img {
  width: min(320px, 88%);
}

.product-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.product-subtitle {
  margin: 12px 0 20px;
  color: var(--ink);
  font-weight: 700;
}

.feature-list {
  width: 100%;
  display: grid;
  gap: 0;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.feature-list li {
  position: relative;
  padding: 13px 0 13px 24px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 1.45em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.benefit {
  display: block;
  margin: auto 0 24px;
  color: var(--ink);
  line-height: 1.5;
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: start;
}

.section-heading p {
  margin-top: 22px;
}

.pricing-card {
  padding: clamp(28px, 4vw, 42px);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 760;
}

.partner-list {
  display: grid;
  gap: 12px;
}

.partner-list span {
  padding: 22px 24px;
  color: var(--text);
  font-weight: 650;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 680;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 640;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  outline: none;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 44px clamp(18px, 4vw, 52px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-brand,
.site-footer > div {
  display: grid;
  gap: 8px;
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
}

.footer-links a {
  transition: color 160ms ease;
}

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

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--subtle);
  font-size: 0.92rem;
}

.legal-main {
  padding-top: 84px;
}

.legal-hero {
  padding: 82px clamp(18px, 4vw, 52px) 54px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.legal-date {
  color: var(--muted);
}

.legal-content {
  padding: 62px clamp(18px, 4vw, 52px) 92px;
}

.legal-content h2,
.legal-content h3 {
  color: var(--ink);
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-size: 1.45rem;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
}

.legal-content ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-content a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: var(--soft);
}

td {
  color: var(--muted);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 12px;
    border-radius: calc(var(--radius) - 2px);
  }

  .main-nav a:hover {
    background: var(--soft);
  }

  .product-cards,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .section,
  .hero {
    padding: 76px 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-actions,
  .button,
  .header-cta {
    width: 100%;
  }

  .pillar-grid,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 26px 20px;
  }

  .product-logo {
    min-height: 118px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
