:root {
  color-scheme: light;
  --bg: #f5f3ee;
  --ink: #111111;
  --muted: #5d5a54;
  --line: #d9d4c9;
  --panel: #ffffff;
  --panel-soft: #ebe6dc;
  --dark: #111111;
  --dark-soft: #1e1e1c;
  --white: #ffffff;
  --green: #44c463;
  --amber: #c88a23;
  --blue: #4b7fff;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(20, 18, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.top-anchor {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.en,
.es {
  display: inline;
}

html[data-lang="en"] .es,
html[data-lang="es"] .en {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 57px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-size: 15px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(75, 127, 255, 0.9);
  outline-offset: 3px;
}

.button:focus-visible,
.language-toggle:focus-visible,
.menu-toggle:focus-visible {
  box-shadow: 0 0 0 5px rgba(75, 127, 255, 0.16);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  appearance: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--dark);
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}

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

.button-secondary-light {
  border-color: rgba(255, 255, 255, 0.34);
  background: var(--white);
  color: var(--dark);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

#model,
#systems,
#control-room,
#fit,
#contact {
  scroll-margin-top: 92px;
}

.hero {
  width: min(1400px, calc(100% - 64px));
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: clamp(620px, calc(100svh - 140px), 760px);
  padding: clamp(44px, 7vh, 70px) 0 clamp(34px, 5vh, 54px);
}

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

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

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(42px, 4.25vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  max-width: 460px;
  margin-bottom: 0;
  font-size: 12px;
}

.control-preview {
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  background: #151514;
  box-shadow: var(--shadow);
  color: var(--white);
}

.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 4px 2px 0;
}

.preview-header strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.preview-kicker {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  white-space: nowrap;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(68, 196, 99, 0.18);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.metric-card,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.metric-card {
  padding: 18px;
}

.metric-card span,
.metric-card small {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.metric-card strong {
  display: block;
  margin: 7px 0 4px;
  font-size: 34px;
}

.preview-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
}

.panel {
  padding: 20px;
}

.panel-dark {
  background: #090909;
}

.panel-title {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 800;
}

.flow-row {
  display: grid;
  grid-template-columns: 78px 1fr 32px;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.flow-row strong {
  color: var(--white);
  text-align: right;
}

.bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--white);
}

.action-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.action-list li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.dot.amber {
  background: var(--amber);
}

.dot.green {
  background: var(--green);
}

.dot.blue {
  background: var(--blue);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 36px;
}

.wide-copy {
  max-width: 860px;
  font-size: 18px;
}

.pain-grid,
.system-grid,
.proof-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pain-grid article,
.system-card,
.fit-card,
.proof-grid article,
.process-grid > div,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  padding: 22px;
}

.pain-grid article > span,
.model-number,
.process-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.pain-grid p,
.system-card p,
.proof-grid p,
.process-grid p,
.faq-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.model-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
}

.model-strip article {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.model-strip article:last-child {
  border-right: 0;
  background: var(--dark);
  color: var(--white);
}

.model-strip article:last-child p,
.model-strip article:last-child .model-number {
  color: rgba(255, 255, 255, 0.64);
}

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

.system-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.featured-card {
  background: var(--dark);
  color: var(--white);
}

.featured-card p,
.featured-card li {
  color: rgba(255, 255, 255, 0.68);
}

.system-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.system-card li {
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.control-room {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin-top: 70px;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 22px;
  background: var(--dark);
  color: var(--white);
}

.control-room p {
  color: rgba(255, 255, 255, 0.68);
}

.control-copy h2 {
  color: var(--white);
}

.control-list {
  display: grid;
  gap: 10px;
}

.control-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.check {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.split-grid,
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.capability-grid span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-weight: 760;
}

.fit-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.muted-card {
  background: rgba(255, 255, 255, 0.28);
}

.proof-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-grid p {
  padding-top: 12px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.final-cta h2 {
  max-width: 720px;
  font-size: clamp(32px, 4.8vw, 62px);
}

.final-cta p {
  max-width: 660px;
  margin-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

.footer p {
  max-width: 520px;
  margin: 0;
  text-align: right;
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    order: 3;
    display: grid;
    flex-basis: 100%;
    width: 100%;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
  }

  .nav a {
    padding: 12px 2px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    font-weight: 700;
  }

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

  .hero,
  .section-heading,
  .control-room,
  .split-grid,
  .fit-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 22px;
  }

  .hero {
    min-height: 0;
    padding-top: 62px;
  }

  .model-strip,
  .pain-grid,
  .proof-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-strip article {
    border-bottom: 1px solid var(--line);
  }

  .model-strip article:nth-child(2) {
    border-right: 0;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .final-cta .button {
    align-self: flex-start;
  }

  .footer {
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 4vw, 60px);
  }

  .hero-text {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-bottom: 0;
  }

  .hero-note {
    display: none;
  }

  .control-preview {
    padding: 18px;
  }

  .metric-card,
  .panel {
    padding: 15px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand-name {
    display: none;
  }

  .header-actions {
    gap: 8px;
    margin-left: auto;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 54px 0;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    gap: 24px;
    padding: 34px 0 44px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .section-heading {
    gap: 0;
    margin-bottom: 26px;
  }

  .hero-text,
  .wide-copy {
    font-size: 15px;
    line-height: 1.58;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .final-cta {
    gap: 22px;
    border-radius: 18px;
    padding: 26px;
  }

  .final-cta h2 {
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.05;
  }

  .final-cta .button {
    align-self: stretch;
  }

  .button-small,
  .language-toggle {
    width: auto;
  }

  .button-small {
    padding: 0 13px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-note {
    display: none;
  }

  .control-preview {
    padding: 12px;
    border-radius: 14px;
  }

  .preview-header strong {
    font-size: 22px;
  }

  .metric-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    align-items: center;
    min-height: 66px;
    padding: 12px 14px;
  }

  .metric-card strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 28px;
  }

  .metric-card span,
  .metric-card small {
    min-width: 0;
    line-height: 1.28;
  }

  .panel {
    padding: 16px;
  }

  .preview-header,
  .preview-body {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .preview-body,
  .model-strip,
  .pain-grid,
  .system-grid,
  .proof-grid,
  .process-grid,
  .faq-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .model-strip article {
    min-height: 0;
    border-right: 0;
  }

  .flow-row {
    grid-template-columns: 70px 1fr 28px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 10.5vw, 43px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.04;
  }

  .pain-grid article,
  .system-card,
  .fit-card,
  .proof-grid article,
  .process-grid > div,
  .faq-grid details {
    padding: 18px;
  }

  .control-room {
    margin-top: 44px;
    padding: 26px 18px;
    border-radius: 16px;
  }

  .footer {
    gap: 12px;
    padding: 28px 18px 34px;
  }

  .footer .brand-name {
    display: inline;
    font-size: 15px;
  }

  .footer p {
    font-size: 13px;
    line-height: 1.5;
  }
}
