:root {
  --ink: #333333;
  --muted: #667469;
  --line: #e3e7de;
  --paper: #fffbf5;
  --cream: #fff1da;
  --white: #ffffff;
  --odoo: #31c975;
  --teal: #2e7d32;
  --green: #31c975;
  --mint: #eaf9ef;
  --gold: #ded2bf;
  --shadow: 0 25px 65px rgba(53, 77, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 251, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark,
.icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--odoo);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  color: var(--odoo);
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 52px;
  background: var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 70px;
  line-height: 1.09;
  font-weight: 650;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-weight: 650;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--odoo);
  border-color: var(--odoo);
}

.button.secondary {
  color: var(--ink);
  background: var(--mint);
}

.button.primary:hover {
  background: #29b868;
}

.button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #3a4654;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  min-width: 0;
}

.server-panel {
  padding: 20px;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
}

.panel-head span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e95f5f;
}

.panel-head span:nth-child(2) {
  background: #f6c85f;
}

.panel-head span:nth-child(3) {
  background: #64c47d;
}

.panel-head strong {
  margin-left: auto;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.metric-grid div,
.stack-card,
.service-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric-grid div {
  padding: 18px;
  background: var(--mint);
  border-color: var(--line);
}

.metric-grid small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.metric-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 28px);
}

.pipeline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.pipeline i {
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.section,
.versions-band,
.contact-section {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.service-grid article,
.stack-card {
  padding: clamp(20px, 3vw, 30px);
}

.service-grid p,
.versions-band p,
.contact-section p,
.steps span,
.stack-card li {
  color: var(--muted);
  line-height: 1.65;
}

.service-grid article:nth-child(2) .icon {
  background: var(--teal);
}

.service-grid article:nth-child(3) .icon {
  background: var(--green);
}

.versions-band {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 0.84fr);
  gap: 32px;
  align-items: center;
  background: var(--mint);
  color: var(--ink);
}

.versions-band p {
  max-width: 760px;
  color: var(--muted);
}

.version-panels {
  display: grid;
  gap: 14px;
}

.version-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.version-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.version-panel h3 {
  margin: 0;
  font-size: 22px;
}

.version-panel-head strong {
  color: var(--teal);
  font-size: 28px;
}

.version-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.version-list span {
  display: inline-flex;
  min-height: 34px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mint);
  border-color: var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.stack-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 28px;
  margin-top: 34px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

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

.steps strong {
  color: var(--teal);
}

.stack-card h3 {
  margin-top: 0;
}

.stack-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.stack-card li + li {
  margin-top: 10px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.65fr);
  gap: 28px;
  align-items: start;
  background: var(--mint);
}

.contact-section p {
  max-width: 760px;
}

.contact-form {
  display: grid;
  gap: 20px;
  min-width: 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
}

.contact-form > label {
  display: grid;
  gap: 7px;
}

.contact-form > label > span,
.choice-field legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.contact-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.contact-form select {
  min-height: 44px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

.contact-form input:not([type="radio"]):not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(49, 201, 117, 0.3);
  border-color: var(--teal);
}

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

.choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  margin-bottom: 8px;
  font-weight: 700;
}

.choice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-form .choice-button {
  position: relative;
  display: block;
  cursor: pointer;
}

.contact-form .choice-button input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  cursor: pointer;
}

.contact-form .choice-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.version-buttons .choice-button span {
  min-width: 58px;
}

.choice-button:hover span {
  border-color: var(--teal);
}

.contact-form .choice-button input:checked + span {
  background: var(--green);
  border-color: var(--teal);
  color: var(--ink);
}

.choice-button input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.form-status {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
}

.form-status.success {
  color: #155a3a;
  background: #dff3e9;
}

.form-status.error {
  color: #8a1f1f;
  background: #f9dddd;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--teal);
  text-underline-offset: 3px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 860px) {
  h1 { font-size: 56px; }
  h2 { font-size: 36px; }
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .versions-band,
  .stack-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

}

@media (max-width: 560px) {
  h1 { font-size: 46px; }
  h2 { font-size: 30px; }
  .metric-grid,
  .steps li,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .pipeline i {
    width: 2px;
    height: 18px;
    justify-self: center;
  }

  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
