/* HuoVision — English homepage · v03 editorial-grid
   12-column editorial grid · radius 0 · 1px rules and whitespace only
   white #FFFFFF / text #111111 / secondary #5C5C5C / accent #1A73E8 / dark band #111111 */

:root {
  --ink: #111111;
  --secondary: #5C5C5C;
  --accent: #1A73E8;
  --accent-deep: #1558B8;
  --rule: #E6E6E6;
  --rule-ink: #111111;
  --tint: #F6F6F6;
  --band: #111111;
  --band-secondary: #B3B3B3;
  --container: 1280px;
  --gutter: clamp(20px, 3.5vw, 48px);
  --track: 0.08em;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #FFFFFF;
}

::selection { background: var(--ink); color: #FFFFFF; }

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

a { color: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

/* ------------------------------------------------------------------ skip */

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 13px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 18px;
}
.skip:focus { left: 16px; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-deep); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #FFFFFF; }

/* ------------------------------------------------------------------ masthead */

.masthead { border-bottom: 1px solid var(--rule); background: #FFFFFF; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand svg { flex: none; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.8vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-primary a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 26px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}
.nav-primary a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.nav-primary a:hover::after,
.nav-primary a:focus-visible::after { transform: scaleX(1); }
.nav-primary svg { flex: none; }

.nav-utility {
  margin-left: auto;
}
.nav-utility ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-utility a {
  display: inline-block;
  padding: 26px 0;
  font-size: 14px;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.18s ease;
  white-space: nowrap;
}
.nav-utility a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

/* medium screens: Customers and Company collapse */
@media (max-width: 1359px) {
  .nav-optional { display: none; }
}

/* small screens: the primary list becomes its own scrollable deck */
@media (max-width: 1079px) {
  .nav-inner { flex-wrap: wrap; min-height: 0; }
  .brand { height: 56px; }
  .nav-utility ul { height: 56px; }
  .nav-utility a { padding: 0; }
  .nav-scroll {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid var(--rule);
  }
  .nav-scroll::-webkit-scrollbar { display: none; }
  .nav-primary { width: max-content; height: 52px; gap: 26px; }
  .nav-optional { display: list-item; }
  .nav-primary a { padding: 0; }
  .nav-primary a::after { bottom: 10px; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 69px);
  padding-top: clamp(48px, 7vh, 92px);
  padding-bottom: clamp(36px, 6vh, 64px);
}
.hero .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-grid { align-content: start; }

.hero-eyebrow {
  grid-column: 1 / 5;
  align-self: start;
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--secondary);
}

.hero-title {
  grid-column: 5 / 13;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero-sub {
  grid-column: 5 / 13;
  margin: 30px 0 0;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--secondary);
}

.hero-actions {
  grid-column: 5 / 13;
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-contents {
  margin-top: auto;
  padding-top: clamp(40px, 6vh, 72px);
}
.hero-contents ul {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--rule-ink);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 64px);
  list-style: none;
}
.hero-contents a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.hero-contents a svg { transition: transform 0.2s ease; }
.hero-contents a:hover { text-decoration: underline; text-underline-offset: 5px; color: var(--accent-deep); }
.hero-contents a:hover svg { transform: translateX(3px); }

/* entrance */
.hero-eyebrow, .hero-title, .hero-sub, .hero-actions, .hero-contents {
  animation: rise 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.hero-title   { animation-delay: 0.06s; }
.hero-sub     { animation-delay: 0.12s; }
.hero-actions { animation-delay: 0.18s; }
.hero-contents{ animation-delay: 0.26s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-eyebrow, .hero-title, .hero-sub, .hero-actions { grid-column: 1 / -1; }
  .hero-eyebrow { margin-top: 0; }
  .hero-contents { padding-top: 56px; }
}
@media (max-width: 1079px) {
  .hero { min-height: 0; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ------------------------------------------------------------------ sections */

.section {
  border-top: 1px solid var(--rule);
  padding-block: clamp(64px, 9vh, 112px);
}

.section-title {
  margin: 0 0 clamp(40px, 6vh, 64px);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* ---- four business lines: numbered rows */

.bl-list { border-bottom: 1px solid var(--rule); }

.bl-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--gutter);
  align-items: start;
  padding-block: 32px;
  border-top: 1px solid var(--rule);
  transition: background-color 0.25s ease;
}
.bl-row:hover { background: var(--tint); }

.bl-num {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--secondary);
  padding-top: 7px;
  transition: color 0.25s ease;
}
.bl-row:hover .bl-num { color: var(--ink); }

.bl-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.bl-phrase {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.bl-body {
  margin: 7px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
}

@media (max-width: 900px) {
  .bl-row {
    grid-template-columns: 56px minmax(0, 1fr);
    row-gap: 12px;
    padding-block: 26px;
  }
  .bl-body { grid-column: 2; }
}

/* ---- why on-device: title left 4, points right 8, two columns */

.why-head { grid-column: 1 / 5; }
.why-head .section-title { margin: 0; max-width: 6em; }

.why-points {
  grid-column: 5 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(44px, 6vh, 64px);
}

.point-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.point-dek {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--secondary);
}
.point-body {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
}

@media (max-width: 980px) {
  .why-head, .why-points { grid-column: 1 / -1; }
  .why-head { margin-bottom: clamp(40px, 6vh, 56px); }
  .why-head .section-title { max-width: none; }
}
@media (max-width: 680px) {
  .why-points { grid-template-columns: 1fr; }
}

/* ---- products: three text columns, no borders */

.pd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(48px, 6vh, 64px);
}

.pd-label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--secondary);
}
.pd-name {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.pd-body {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
}

@media (max-width: 980px) { .pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pd-grid { grid-template-columns: 1fr; } }

/* ---- customers: two rows of two, badge left */

.cu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(48px, 7vh, 72px);
}

.cu-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
}

.cu-badge {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #CFCFCF;
  color: var(--ink);
}

.cu-title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.cu-body {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
}

@media (max-width: 720px) {
  .cu-grid { grid-template-columns: 1fr; }
  .cu-item { grid-template-columns: 44px minmax(0, 1fr); }
}

/* ---- whitepapers: title left, body right, baseline aligned */

.wp-list { border-bottom: 1px solid var(--rule); }

.wp-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--gutter);
  align-items: baseline;
  padding-block: 28px;
  border-top: 1px solid var(--rule);
  transition: background-color 0.25s ease;
}
.wp-row:hover { background: var(--tint); }

.wp-title { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.wp-title a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.wp-title a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 5px; }
.wp-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
}

@media (max-width: 800px) {
  .wp-row { grid-template-columns: 1fr; row-gap: 10px; align-items: start; }
}

/* ------------------------------------------------------------------ CTA band */

.cta {
  background: var(--band);
  color: #FFFFFF;
  padding-block: clamp(72px, 10vh, 120px);
}
.cta :focus-visible { outline-color: #FFFFFF; }

.cta-main { grid-column: 1 / 9; }

.cta-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}
.cta-body {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--band-secondary);
}

.cta-action {
  grid-column: 9 / 13;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.cta-action .btn { margin-bottom: 6px; }

@media (max-width: 900px) {
  .cta-main, .cta-action { grid-column: 1 / -1; }
  .cta-action { margin-top: 40px; justify-content: flex-start; }
  .cta-action .btn { margin-bottom: 0; }
}

/* ------------------------------------------------------------------ footer */

.site-footer { border-top: 1px solid var(--rule); }

.foot-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 20px 0 40px; /* legal row sits 40px above the column block */
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal-links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--secondary);
  text-decoration: none;
}
.legal-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.lang { position: relative; }
.lang summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: var(--secondary);
  user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--ink); }
.lang[open] summary { color: var(--ink); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 148px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  padding: 6px 0;
  z-index: 20;
}
.lang-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
}
.lang-menu a:hover { background: var(--tint); }
.lang-menu a[aria-current] { font-weight: 600; }

.foot-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 40px;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.foot-nav { display: flex; gap: clamp(48px, 7vw, 96px); }
.foot-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-nav a {
  display: inline-block;
  padding: 6px 0;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.foot-bottom {
  margin-top: clamp(44px, 6vh, 64px);
  border-top: 1px solid var(--rule);
  padding: 20px 0 36px;
}
.foot-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--secondary);
}

@media (max-width: 720px) {
  .foot-columns { grid-template-columns: 1fr; gap: 40px; }
  .foot-nav { flex-wrap: wrap; gap: 32px 48px; }
}

/* ------------------------------------------------------------------ motion off */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
