/* VendiWin shared base styles */
:root {
  --max: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --gap: 24px;
  --header-height: 76px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font-sans);
  --bg: #ffffff;
  --bg-alt: #f5f8f5;
  --surface: #ffffff;
  --surface-2: #eff5f0;
  --border: #dfe8e1;
  --text: #11211a;
  --muted: #5a6d63;
  --brand: #0f9d4f;
  --brand-strong: #0b7a3d;
  --brand-soft: #e5f5eb;
  --on-brand: #ffffff;
  --shadow: 0 1px 2px rgba(15, 35, 25, 0.05), 0 18px 38px rgba(15, 35, 25, 0.08);
  --shadow-sm: 0 1px 2px rgba(15, 35, 25, 0.04), 0 8px 18px rgba(15, 35, 25, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.section-title {
  max-width: 22ch;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
}

.section-title.center {
  margin: 0 auto;
}

.lead {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 18px;
}

.lead.center {
  margin-left: auto;
  margin-right: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

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

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
}

.note-line {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-strong);
}

.section-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.info-note {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(14px);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: #ffffff;
  }
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 36px;
}

.brand--footer .brand-logo {
  height: 58px;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
  min-width: 0;
}

.nav a {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch a {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.lang-switch a[aria-current="page"] {
  background: var(--brand);
  color: var(--on-brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle-line,
.menu-toggle-line::before,
.menu-toggle-line::after {
  content: "";
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-line::before {
  position: absolute;
  top: -6px;
}

.menu-toggle-line::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 92px 0 76px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 52px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.hero h1,
.detail-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
}

.hero-sub {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 19px;
}

.hero-cta {
  margin-top: 30px;
}

.hero-media,
.section-media,
.machine-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media picture,
.section-media picture,
.machine-media picture {
  display: block;
}

.hero-media img,
.section-media img,
.machine-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  min-height: 420px;
  background: var(--surface-2);
}

.about-grid,
.dashboard-grid,
.contact-grid,
.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.about-points,
.dash-features,
.detail-list,
.detail-blocks {
  display: grid;
  gap: 18px;
}

.about-point,
.detail-list li,
.dash-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.icon-chip {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.icon-chip svg {
  width: 22px;
  height: 22px;
}

.about-point h3,
.detail-list strong {
  font-size: 16px;
  font-weight: 700;
}

.about-point p,
.detail-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.models,
.cards-grid,
.machines-grid,
.detail-columns {
  display: grid;
  gap: var(--gap);
}

.models {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.machines-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.detail-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.card,
.model-card,
.step-card,
.dashboard,
.form-shell,
.faq-item,
.callout,
.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card,
.step-card,
.detail-card {
  padding: 26px;
}

.card h3,
.step-card h3,
.model-card h3,
.callout h3,
.detail-card h3,
.detail-card h2,
.faq-question {
  font-size: 20px;
  font-weight: 800;
}

.card p,
.step-card p,
.callout p,
.detail-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.model-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.model-card.is-featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow);
}

.model-tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-card > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.model-features,
.detail-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  list-style: none;
}

.model-features li,
.detail-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 14.5px;
}

.model-features li svg,
.detail-points li svg,
.dash-features li svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--brand);
}

.model-card .btn {
  margin-top: auto;
}

.compare-actions {
  margin-top: 26px;
}

.table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table caption {
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 14.5px;
}

.compare-table thead th {
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare-table tbody th {
  width: 230px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: rgba(15, 157, 79, 0.04);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 42px;
}

.step-card {
  position: relative;
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 15px;
  font-weight: 800;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 26px 28px;
}

.callout-copy {
  max-width: 60ch;
}

.machine-card {
  overflow: hidden;
  padding: 0;
}

.machine-media {
  min-height: 260px;
  border-radius: 0;
  box-shadow: none;
}

.machine-body {
  padding: 24px;
}

.dashboard-copy .lead {
  max-width: 56ch;
}

.dashboard {
  padding: 22px;
}

.dashboard-sample {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.dash-kpi {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  padding: 16px;
}

.dash-kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-kpi-value {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
}

.dash-kpi-trend {
  margin-top: 6px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.dash-chart {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  padding: 18px;
}

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

.chart-head h3 {
  font-size: 16px;
  font-weight: 800;
}

.chart-head p {
  color: var(--muted);
  font-size: 12px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 130px;
}

.bar {
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: var(--brand);
  opacity: 0.9;
}

.bar-48 {
  height: 48%;
}

.bar-55 {
  height: 55%;
  opacity: 0.68;
}

.bar-62 {
  height: 62%;
}

.bar-68 {
  height: 68%;
  opacity: 0.68;
}

.bar-74 {
  height: 74%;
}

.bar-88 {
  height: 88%;
  opacity: 0.68;
}

.bar-96 {
  height: 96%;
}

.faq {
  margin-top: 40px;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question-text {
  font-size: 18px;
  font-weight: 700;
}

.faq-question-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  position: relative;
}

.faq-question-icon::before,
.faq-question-icon::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 8px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.faq-question-icon::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-question-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
}

.faq-answer[hidden] {
  display: none;
}

.contact-grid {
  align-items: start;
}

.form-shell {
  padding: 28px;
}

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

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
}

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

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 14.5px;
  font-weight: 600;
}

.form-note.is-error {
  background: #fde9e9;
  color: #a11b1b;
}

.detail-hero {
  padding: 92px 0 56px;
}

.detail-hero-grid {
  align-items: end;
}

.detail-hero-copy .lead {
  max-width: 58ch;
}

.detail-hero-card {
  padding: 28px;
}

.detail-section {
  padding-top: 74px;
}

.detail-card h2 {
  font-size: 26px;
}

.detail-card h3 {
  font-size: 18px;
  margin-top: 26px;
}

.detail-card p + h3,
.detail-card ul + h3 {
  margin-top: 28px;
}

.detail-card p {
  margin-top: 12px;
}

.detail-list {
  list-style: none;
  margin-top: 18px;
}

.detail-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.detail-anchor-nav a {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.detail-anchor-nav a:hover {
  color: var(--brand-strong);
  border-color: var(--brand);
}

.site-footer {
  padding: 56px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 38px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-address {
  font-style: normal;
}

.footer-address-link {
  display: block;
  max-width: 43ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  transition: color 0.15s ease;
}

.footer-address-link:hover {
  color: var(--brand-strong);
}

.footer-col h3 {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--text);
  font-size: 15px;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
}

.footer-disclaimer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

html[lang="en"] .nav {
  gap: clamp(10px, 1.15vw, 18px);
}

html[lang="en"] .nav a {
  font-size: 14px;
  letter-spacing: -0.01em;
}

html[lang="en"] .header-actions .desktop-cta {
  padding-inline: 14px;
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(15, 157, 79, 0.28);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .cards-grid,
  .machines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .dashboard-grid,
  .contact-grid,
  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .models,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .section {
    padding: 66px 0;
  }

  .hero,
  .detail-hero {
    padding: 78px 0 56px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-logo {
    height: 32px;
  }

  .brand--footer .brand-logo {
    height: 44px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }

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

  .nav a {
    white-space: normal;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions .desktop-cta {
    display: none;
  }

  .cards-grid,
  .machines-grid,
  .steps,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dash-cards {
    grid-template-columns: 1fr;
  }

  .callout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1160px) {
  html[lang="en"] .header-actions .desktop-cta {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
