:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --panel: #ffffff;
  --text: #263039;
  --muted: #66717c;
  --line: #dfe5e8;
  --orange: #e85b19;
  --orange-dark: #b83e0d;
  --blue: #0955a2;
  --teal: #0bb39c;
  --shadow: 0 18px 45px rgba(25, 36, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: var(--blue);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.preobra-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: linear-gradient(135deg, #ff9c25, #d9430d);
  border-radius: 8px;
  color: white;
  font-weight: 900;
  font-size: 26px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  padding: 8px 10px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

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

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 64px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(246, 247, 248, 0.98), rgba(246, 247, 248, 0.70)),
    radial-gradient(circle at 85% 18%, rgba(232, 91, 25, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff, #e7ebee);
}

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

.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30, 42, 54, 0.08);
  font-weight: 800;
}

.odoom-as {
  color: #222a78;
  font-size: 26px;
}

.odoo-partner {
  color: #8d8d8d;
  gap: 8px;
  font-size: 24px;
}

.odoo-partner span {
  padding: 4px 7px;
  background: var(--teal);
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.mtop {
  color: var(--blue);
  max-width: 270px;
  font-size: 16px;
  line-height: 1.15;
}

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

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

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #3d4852;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--orange);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--text);
  border-color: var(--line);
}

.section {
  padding: 64px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.support h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.section-heading p,
.support p {
  color: var(--muted);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: #202a32;
}

.quick-links article {
  min-height: 180px;
  padding: 22px;
  background: #2a3640;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: white;
}

.quick-links span {
  color: #ffad6a;
  font-weight: 900;
}

.quick-links h2 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.quick-links p {
  color: #d8dee3;
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.manual-grid article,
.support form {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(33, 43, 52, 0.06);
}

.manual-grid h3 {
  margin-top: 0;
}

.manual-grid li + li {
  margin-top: 6px;
}

.note {
  padding: 12px 14px;
  background: #fff7ed;
  border-left: 4px solid var(--orange);
  color: #674019 !important;
}

.accent {
  background: #edf2f5;
}

.doc-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.doc-table > div {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 1.1fr;
  gap: 16px;
  padding: 16px;
  background: white;
}

.doc-table > div:first-child {
  background: #263039;
  color: white;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  color: var(--orange);
  font-size: 28px;
  font-weight: 900;
}

.timeline p {
  margin: 0;
}

.support {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  background: #fff;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: #4a5661;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cfd8de;
  border-radius: 8px;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: #202a32;
  color: white;
}

footer span {
  color: #cdd5dc;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-links,
  .manual-grid,
  .support {
    grid-template-columns: 1fr;
  }

  .doc-table > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  nav a {
    padding-left: 0;
  }

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

  .partner-row {
    margin-bottom: 30px;
  }

  .logo-chip {
    width: 100%;
  }
}
