:root {
  --page: #ffffff;
  --sand: #f5f0e7;
  --sand-2: #ece3d3;
  --ink: #10291f;
  --text: #26372f;
  --text-2: #4d5e56;
  --muted: #6b7a73;
  --line: rgba(16, 41, 31, 0.12);
  --line-strong: rgba(16, 41, 31, 0.2);
  --forest: #0f3a2b;
  --forest-deep: #0b2a1f;
  --on-forest: #f3efe6;
  --on-forest-2: #b8cbc1;
  --on-forest-line: rgba(243, 239, 230, 0.16);
  --green: #0a7a4e;
  --green-hover: #08663f;
  --green-soft: #7fd1a8;
  --ochre: #d9a148;
  --ochre-deep: #8a5a12;
  --error: #b42318;
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

p {
  margin: 0;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

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

button {
  font-family: inherit;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition-property: color, background-color, border-color, transform;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.btn:hover {
  background: var(--green-hover);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

.btn-ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: var(--ochre);
  color: var(--forest-deep);
}

.btn-light:hover {
  background: #e6b363;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--green);
}

.link-arrow .icon {
  transition: transform 200ms var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* Utility bar */
.utility {
  background: var(--forest-deep);
  color: var(--on-forest-2);
  font-size: 14px;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 40px;
}

.utility-links {
  display: flex;
  gap: 28px;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-forest);
  transition: color 150ms var(--ease);
}

.utility-links a:hover {
  color: var(--ochre);
}

.utility-links .icon {
  width: 15px;
  height: 15px;
  color: var(--ochre);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand);
  transition-property: background-color, box-shadow;
  transition-duration: 200ms;
  transition-timing-function: var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(16, 41, 31, 0.25);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.logo-word {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-desc {
  padding-left: 14px;
  border-left: 2px solid var(--ochre);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-2);
}

.nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav-links > li > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms var(--ease);
}

.nav-links > li > a:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  background: rgba(16, 41, 31, 0.07);
}

.nav-links > li > a[aria-current="true"] {
  box-shadow: inset 0 -2px 0 var(--ochre);
  border-radius: 0;
}

.nav-trigger .icon {
  width: 16px;
  height: 16px;
  transition: transform 200ms var(--ease);
}

.nav-trigger[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.has-menu {
  position: static;
}

.mega {
  position: absolute;
  top: calc(var(--header-h) - 8px);
  left: 50%;
  display: none;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  width: min(1136px, calc(100vw - 32px));
  padding: 32px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -16px rgba(16, 41, 31, 0.28);
  transform: translateX(-50%);
}

.mega.is-open {
  display: grid;
}

.mega-intro {
  padding: 24px;
  border-radius: 6px;
  background: var(--forest);
  color: var(--on-forest-2);
  font-size: 15px;
}

.mega-title {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--on-forest);
}

.mega-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--ochre);
}

.mega-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  align-content: start;
}

.mega-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 6px;
  transition: background-color 150ms var(--ease);
}

.mega-list a:hover {
  background: var(--sand);
}

.mega-list strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.mega-list span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--text-2);
}

.menu-btn {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-btn .icon-close {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 160px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(217, 161, 72, 0.22) 0%, rgba(217, 161, 72, 0) 70%),
    linear-gradient(180deg, var(--sand) 0%, #f8f4ec 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: center;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lead {
  margin-top: 28px;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-2);
}

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

.hero-visual {
  position: relative;
  padding: 0 24px 24px 0;
}

/* Signature : bloc de couleur décalé derrière les photos */
.frame {
  position: relative;
  isolation: isolate;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 28px -24px -24px 28px;
  z-index: -1;
  border-radius: 4px;
}

.frame-ochre::before {
  background: var(--ochre);
}

.frame-sand::before {
  background: var(--ochre);
  opacity: 0.9;
}

.frame img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.hero-visual .frame img {
  aspect-ratio: 5 / 6;
  object-position: 50% 30%;
}

.hero-card {
  position: absolute;
  left: -56px;
  bottom: 56px;
  max-width: 260px;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--on-forest-2);
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 20px 40px -20px rgba(11, 42, 31, 0.6);
}

.hero-card-title {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--on-forest);
}

/* Promesses : barre blanche qui chevauche le bas du hero */
.promises {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -88px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(16, 41, 31, 0.35);
}

.promises li {
  padding: 28px 28px 32px;
}

.promises li + li {
  border-left: 1px solid var(--line);
}

.promises strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.promises span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

/* Sections */
.section {
  padding: 120px 0;
}

.section.sand {
  background: var(--sand);
}

.section h2,
.band h2 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.intro {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
}

.intro a {
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}

.note {
  margin-top: 32px;
  font-size: 16px;
  color: var(--text-2);
}

/* Constat */
.constat {
  padding-top: 120px;
}

.constat-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 80px;
  align-items: start;
}

.constat .intro {
  margin-top: 24px;
  max-width: 460px;
}

.problems li {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.problems li:last-child {
  border-bottom: 1px solid var(--line);
}

.problems h3 {
  font-size: 22px;
  line-height: 1.35;
}

.problems p {
  margin-top: 8px;
  color: var(--text-2);
}

/* Bande forêt : la solution */
.band {
  padding: 120px 0;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(127, 209, 168, 0.14) 0%, rgba(127, 209, 168, 0) 70%),
    var(--forest);
  color: var(--on-forest-2);
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 96px;
  align-items: center;
}

.band-media {
  margin: 0 24px 24px 0;
}

.band-media img {
  aspect-ratio: 4 / 5;
  object-position: 38% 50%;
}

.band h2 {
  color: var(--on-forest);
}

.band-lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.65;
}

.band-lead + .band-lead {
  margin-top: 12px;
}

.list-title {
  margin-top: 40px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ochre);
}

.checks {
  margin-top: 12px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--on-forest-line);
  color: var(--on-forest);
  line-height: 1.5;
}

.checks .icon {
  margin-top: 3px;
  color: var(--green-soft);
}

/* Migration */
.migration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
}

.migration h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.35;
}

.lines {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: line;
}

.lines li {
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
  line-height: 1.5;
}

.lines li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.lines-num li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  counter-increment: line;
}

.lines-num li::before {
  content: counter(line) ".";
  font-weight: 600;
  color: var(--ink);
}

.migration-included {
  margin-top: 40px;
  padding: 24px 32px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--on-forest);
  font-size: 18px;
  line-height: 1.5;
}

/* Modules */
.erp {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 48px;
  align-items: stretch;
}

.erp-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.erp-tab {
  position: relative;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--text-2);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition-property: color, background-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}

.erp-tab:hover {
  background: var(--sand);
  color: var(--ink);
}

.erp-tab[aria-selected="true"] {
  background: var(--forest);
  color: var(--on-forest);
  font-weight: 600;
}

.erp-panels {
  display: grid;
}

.erp-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 48px;
  border-radius: 8px;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(217, 161, 72, 0.25) 0%, rgba(217, 161, 72, 0) 65%),
    var(--sand);
}

.erp-panel[hidden] {
  display: none;
}

.erp-panel h3 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.erp-panel > p {
  margin-top: 16px;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  margin-bottom: 40px;
}

.tags li {
  padding: 8px 16px;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.tags .tag-more {
  border: 1.5px dashed var(--line-strong);
  background: transparent;
  color: var(--text-2);
}

.erp-tab-other {
  margin-top: 8px;
  border: 1.5px dashed var(--line-strong);
}

.erp-panel > p + .link-arrow {
  margin-top: 40px;
}

.erp-panel .link-arrow {
  margin-top: auto;
}

.sectors {
  margin-top: 48px;
  max-width: 880px;
  font-size: 17px;
  color: var(--text-2);
}

.sectors strong {
  margin-right: 6px;
  font-weight: 600;
  color: var(--ink);
}

/* Thèmes */
.theme-switch {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.theme-label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.theme-list {
  display: grid;
  gap: 4px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.theme-choice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.theme-choice:hover {
  background: rgba(16, 41, 31, 0.06);
}

.theme-choice[aria-pressed="true"] {
  background: var(--forest);
  color: var(--on-forest);
}

.theme-choice:focus-visible,
.mode-toggle button:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 2px;
}

.swatch {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--s1) 0 50%, var(--s2) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(16, 41, 31, 0.14);
}

.swatch-custom {
  background: conic-gradient(#1a73e8 0 25%, #1f2937 0 50%, #5b4fe6 0 75%, #5fbfa8 0 100%);
}

.theme-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.theme-desc {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.75;
}

.mode-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
}

.mode-toggle button {
  min-width: 88px;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.mode-toggle button[aria-pressed="true"] {
  background: var(--forest);
  color: var(--on-forest);
}

.theme-screen {
  margin: 0 24px 24px 0;
}

.theme-screen img {
  display: block;
  aspect-ratio: 16 / 9;
  background: #e9e4da;
  box-shadow: 0 0 0 1px rgba(16, 41, 31, 0.12), 0 12px 32px rgba(16, 41, 31, 0.12);
  transition: opacity 200ms ease;
}

.theme-custom-note {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: calc(100% - 48px);
  padding: 14px 24px;
  border-radius: 6px;
  background: var(--forest);
  color: var(--on-forest);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transform: translate(-50%, -50%);
}

.theme-custom-note[hidden] {
  display: none;
}

.theme-screen img.is-loading {
  opacity: 0.6;
}

/* Tarif */
.price {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: end;
  padding: 72px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--on-forest-2);
}

.price h2 {
  color: var(--on-forest);
}

.price-lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: 24px;
  line-height: 1.45;
  color: var(--ochre);
}

.price-side {
  position: relative;
  z-index: 1;
}

.price-side p {
  line-height: 1.7;
}

.price-side .btn {
  margin-top: 32px;
}

/* Méthode */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
}

.step {
  position: relative;
}

.step-when {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--on-forest);
  font-size: 15px;
  font-weight: 600;
}

.step:first-child .step-when {
  background: var(--ochre);
  color: var(--forest-deep);
}

.step h3 {
  margin-top: 28px;
  font-size: 22px;
  line-height: 1.3;
}

.step p {
  margin-top: 10px;
  color: var(--text-2);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.faq-head .intro {
  margin-top: 20px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq details {
  border-radius: 6px;
  background: #fff;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--green);
  transition: transform 200ms var(--ease);
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 640px;
  padding: 0 24px 24px;
  line-height: 1.7;
  color: var(--text-2);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: start;
}

.contact-text {
  padding-top: 24px;
}

.contact-text > p {
  margin-top: 20px;
  max-width: 440px;
  font-size: 19px;
  color: var(--text-2);
}

.contact-lines {
  margin-top: 36px;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-lines li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-lines .icon {
  color: var(--ochre-deep);
}

.contact-lines a {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  transition: color 150ms var(--ease);
}

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

.contact-form {
  position: relative;
  padding: 40px;
  border-radius: 8px;
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: #fbf8f3;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}

.field input {
  height: 52px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field textarea::placeholder {
  color: var(--muted);
}

.field input:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-bottom: 16px;
  font-size: 15px;
}

.form-status:empty {
  display: none;
}

.form-status.error {
  color: var(--error);
}

.form-status.success {
  color: var(--green);
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: var(--on-forest-2);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 56px;
}

.logo-light,
.logo-light .logo-word {
  color: var(--on-forest);
}

.logo-light .logo-desc {
  color: var(--on-forest-2);
}

.footer-brand p {
  margin-top: 20px;
  max-width: 320px;
  font-size: 15px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-title {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ochre);
}

.footer-col a {
  font-size: 15px;
  color: var(--on-forest);
  transition: color 150ms var(--ease);
}

.footer-col a:hover {
  color: var(--ochre);
}

.footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 48px;
  background: linear-gradient(var(--on-forest-line), var(--on-forest-line)) 32px 0 / calc(100% - 64px) 1px no-repeat;
}

.footer-legal h3 {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--on-forest);
}

.footer-legal p {
  font-size: 14px;
  line-height: 1.65;
}

.footer-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ochre);
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 24px;
  background: linear-gradient(var(--on-forest-line), var(--on-forest-line)) 32px 0 / calc(100% - 64px) 1px no-repeat;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1080px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  .steps::before {
    display: none;
  }

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

  .hero-card {
    left: -24px;
  }

  .nav-links > li > a,
  .nav-trigger {
    padding: 0 12px;
  }

  .logo-desc {
    display: none;
  }
}

@media (max-width: 960px) {
  .container {
    padding: 0 24px;
  }

  .hero-grid,
  .constat-grid,
  .band-grid,
  .head-row,
  .erp,
  .faq-grid,
  .contact,
  .migration,
  .price {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 56px;
  }

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

  .hero-card {
    left: auto;
    right: 0;
    bottom: -8px;
  }

  .head-row {
    gap: 20px;
    margin-bottom: 40px;
  }

  .constat-grid,
  .band-grid,
  .faq-grid,
  .contact {
    gap: 48px;
  }

  .band-media {
    max-width: 520px;
  }

  .band-media img {
    aspect-ratio: 4 / 3;
  }

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

  .promises li:nth-child(3) {
    border-left: 0;
  }

  .promises li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .erp {
    gap: 24px;
  }

  .erp-tabs {
    flex-direction: row;
    gap: 8px;
    margin: 0 -24px;
    padding: 0 24px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .erp-tabs::-webkit-scrollbar {
    display: none;
  }

  .erp-tab-other {
    margin-top: 0;
  }

  .erp-tab {
    flex: none;
    width: auto;
    padding: 12px 20px;
    border-radius: 6px;
    background: var(--sand);
    font-size: 16px;
  }

  .erp-tab[aria-selected="true"] {
    background: var(--forest);
    color: var(--on-forest);
  }

  .theme-switch {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .theme-list {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .theme-list li {
    flex: 0 0 auto;
  }

  .theme-choice {
    grid-template-columns: 20px auto;
    padding: 10px 14px;
    border: 1px solid var(--line-strong);
  }

  .theme-choice[aria-pressed="true"] {
    border-color: var(--forest);
  }

  .swatch {
    grid-row: auto;
    width: 20px;
    height: 20px;
  }

  .theme-desc {
    display: none;
  }

  .price {
    gap: 32px;
    padding: 48px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .step h3 {
    margin-top: 16px;
  }

  .faq-head {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-legal,
  .footer-bottom {
    background-position: 24px 0;
    background-size: calc(100% - 48px) 1px;
  }
}

@media (max-width: 860px) {
  .menu-btn {
    display: grid;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px 24px 24px;
    background: #fff;
    box-shadow: 0 16px 32px -16px rgba(16, 41, 31, 0.3);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .site-header.is-open .icon-open {
    display: none;
  }

  .site-header.is-open .icon-close {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
  }

  .nav-links > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links > li > a,
  .nav-trigger {
    width: 100%;
    height: 56px;
    padding: 0;
    border-radius: 0;
    justify-content: space-between;
    font-size: 18px;
  }

  .nav-links > li > a:hover,
  .nav-trigger:hover,
  .nav-trigger[aria-expanded="true"] {
    background: none;
  }

  .nav-links > li > a[aria-current="true"] {
    box-shadow: none;
  }

  .mega {
    position: static;
    width: auto;
    padding: 0 0 16px;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .mega.is-open {
    display: block;
  }

  .mega-intro {
    display: none;
  }

  .mega-list {
    grid-template-columns: 1fr;
  }

  .mega-list a {
    padding: 10px 12px;
  }

  .nav-cta {
    margin-top: 20px;
    height: 52px;
  }

  .utility-inner > p {
    display: none;
  }

  .utility-inner {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 68px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding: 40px 0 128px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .lead,
  .intro,
  .contact-text > p,
  .erp-panel > p {
    font-size: 17px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    padding: 0 16px 16px 0;
  }

  .frame::before {
    inset: 20px -16px -16px 20px;
    border-radius: 4px;
  }

  .frame img {
    border-radius: 4px;
  }

  .hero-visual .frame img {
    aspect-ratio: 4 / 4.4;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -40px 0 0 16px;
  }

  .logo-word {
    font-size: 24px;
  }

  .utility-links a:last-child {
    display: none;
  }

  .section,
  .band {
    padding: 80px 0;
  }

  .section h2,
  .band h2 {
    font-size: 32px;
  }

  .promises {
    grid-template-columns: 1fr;
    margin-top: -72px;
  }

  .promises li {
    padding: 20px 24px;
  }

  .promises li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .problems h3 {
    font-size: 20px;
  }

  .band-media {
    margin: 0 16px 16px 0;
  }

  .erp-panel {
    padding: 32px 24px;
    border-radius: 8px;
  }

  .erp-panel h3 {
    font-size: 26px;
  }

  .theme-screen {
    margin: 0 16px 16px 0;
  }

  .price {
    padding: 40px 24px;
    border-radius: 8px;
  }

  .price-lead {
    font-size: 20px;
  }

  .contact-form {
    padding: 24px;
    border-radius: 8px;
  }

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

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

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0ms !important;
  }
}
