@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111318;
  --stormy-teal: #106c6c;
  --sea-green: #11b3ad;
  --sea-green-rgb: 17, 179, 173;
  --platinum: #f5f7f8;
  --white: #ffffff;

  --bg: #111318;
  --surface: #171a20;
  --surface-hover: #1c2027;
  --text: #f5f7f8;
  --text-soft: rgba(245, 247, 248, 0.74);
  --text-faint: rgba(245, 247, 248, 0.52);
  --line: rgba(245, 247, 248, 0.1);
  --line-strong: rgba(245, 247, 248, 0.18);
  --header: rgba(17, 19, 24, 0.9);
  --accent: #11b3ad;
  --cta: #106c6c;
  --cta-hover: #0c5858;
  --cta-text: #ffffff;
  --labs-bg: #0e5f5f;
  --labs-text: #ffffff;
  --labs-muted: rgba(255, 255, 255, 0.8);
  --labs-line: rgba(255, 255, 255, 0.16);

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.125rem;
  --text-3xl: 2.625rem;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 96px;

  --container: 1100px;
  --header-height: 68px;
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-hover: #f0f3f4;
  --text: #111318;
  --text-soft: rgba(17, 19, 24, 0.72);
  --text-faint: rgba(17, 19, 24, 0.5);
  --line: rgba(17, 19, 24, 0.1);
  --line-strong: rgba(17, 19, 24, 0.16);
  --header: rgba(245, 247, 248, 0.92);
  --accent: #0d7a76;
  --cta: #106c6c;
  --cta-hover: #0c5858;
  --shadow: 0 16px 40px rgba(17, 19, 24, 0.08);
  --labs-bg: #106c6c;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  transition: background-color 0.28s ease, color 0.28s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Aberto como app na tela de início (iOS/Android) */
@media all and (display-mode: standalone) {
  body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .site-header {
    height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  .mobile-nav {
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px));
  }

  .hero {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 28px);
  }
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

img,
svg {
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

em {
  font-style: normal;
}

::selection {
  background: rgba(var(--sea-green-rgb), 0.28);
  color: var(--text);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cta);
  color: var(--cta-text);
  font-weight: 600;
  font-size: var(--text-sm);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: var(--space-8) 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.logo-light {
  display: none;
}

html[data-theme="light"] .logo-dark {
  display: none;
}

html[data-theme="light"] .logo-light {
  display: block;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  border-color: var(--line);
  background: var(--header);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.desktop-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: var(--surface-hover);
  color: var(--text);
}

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

/* Language picker — mesmo padrão do TubePresenter */
.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  flex: none;
  background: var(--surface-hover);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.14);
}

.language-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-appearance: none;
  appearance: none;
  min-height: 38px;
  max-width: 220px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c6681' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.language-select:hover,
.language-select[aria-expanded="true"] {
  border-color: var(--line-strong);
  background-color: var(--surface);
}

.language-select .lang-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 120;
  min-width: 220px;
  max-height: min(70vh, 360px);
  overflow-y: auto;
  margin: 4px 0 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  list-style: none;
}

.language-options[hidden] {
  display: none;
}

.language-options li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.language-options li:hover,
.language-options li[aria-selected="true"] {
  background: var(--surface-hover);
}

.lang-option-flag {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-hover);
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.14);
}

.lang-option-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

html[dir="rtl"] .language-flag {
  left: auto;
  right: 11px;
}

html[dir="rtl"] .language-select {
  padding: 0 37px 0 34px;
  background-position: left 14px center;
  text-align: right;
}

html[dir="rtl"] .language-options {
  right: auto;
  left: 0;
}

html[dir="rtl"] .language-options li {
  flex-direction: row-reverse;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.moon-icon {
  display: none;
}

html[data-theme="light"] .sun-icon {
  display: none;
}

html[data-theme="light"] .moon-icon {
  display: block;
}

/* Buttons */
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button-small {
  min-height: 38px;
  padding-inline: 16px;
}

.button-large {
  min-height: 50px;
  padding-inline: 24px;
  font-size: var(--text-base);
}

.button-primary {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 10px 24px rgba(16, 108, 108, 0.22);
}

.button-primary:hover {
  background: var(--cta-hover);
  box-shadow: 0 12px 28px rgba(16, 108, 108, 0.28);
}

.button-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.button-light {
  background: var(--platinum);
  color: var(--ink);
}

.button-light:hover {
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
}

.text-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--accent);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.menu-toggle {
  display: none;
  place-items: center;
}

.menu-toggle span {
  width: 16px;
  height: 1.5px;
  border-radius: 10px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.2s ease;
  grid-area: 1 / 1;
}

.menu-toggle span:nth-child(1) { transform: translateY(-5px); }
.menu-toggle span:nth-child(3) { transform: translateY(5px); }

.site-header.menu-active .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.menu-active .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-active .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto;
  display: none;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  border-bottom: 1px solid var(--line-strong);
  background: var(--bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  -webkit-overflow-scrolling: touch;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.mobile-nav a:active {
  color: var(--accent);
}

.mobile-nav a:last-child {
  margin-top: 18px;
  min-height: 50px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-text);
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0;
}

.mobile-nav a:last-child:active {
  color: var(--cta-text);
  background: var(--cta-hover);
}

.mobile-nav.is-open {
  display: block;
  animation: menuSlide 0.22s var(--ease) both;
}

@keyframes menuSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero brand (secondary) */
.hero-brand {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: var(--space-7);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--text-faint);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(var(--text-2xl), 3.6vw, var(--text-3xl));
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.hero h1 em {
  color: var(--accent);
}

.hero-description {
  max-width: 40ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: var(--text-md);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  content: "";
}

.brand-panel-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.brand-panel-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.brand-panel-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-panel-label {
  margin: 0;
  color: var(--text-faint);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-panel-tagline {
  margin: 0 0 24px;
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.brand-panel-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.brand-panel-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.pill {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}

.pill::before {
  content: attr(data-num);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0;
}

.brand-panel-list strong,
.brand-panel-list span {
  display: block;
}

.brand-panel-list strong {
  margin-bottom: 2px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.brand-panel-list span {
  color: var(--text-soft);
  font-size: var(--text-sm);
}

/* Products (main / first section) */
.products-main {
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 56px;
  border-top: 0;
}

.products-main .products-heading h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(var(--text-2xl), 3.4vw, var(--text-3xl));
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.products {
  border-top: 1px solid var(--line);
}

.product-carousel {
  position: relative;
}

.product-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  touch-action: pan-y;
  cursor: grab;
}

.product-viewport.is-dragging {
  cursor: grabbing;
}

.product-track {
  display: flex;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.product-track.is-instant {
  transition: none;
}

.product-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.product-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.product-controls[hidden] {
  display: none;
}

.product-nav {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.product-nav:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.product-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.product-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.hero-brand {
  border-top: 1px solid var(--line);
}

.hero-brand h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-brand h2 em {
  color: var(--accent);
  font-style: normal;
}

.product-media {
  min-height: 280px;
  background: #0b1220;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-meta img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  image-rendering: auto;
}

.product-badge {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-body > p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-base);
  line-height: 1.65;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tags li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: var(--text-xs);
  font-weight: 500;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* Solutions */
.solutions {
  border-top: 1px solid var(--line);
}

/* About */
.about {
  border-top: 1px solid var(--line);
}

.about-intro {
  max-width: 40rem;
  margin-bottom: 40px;
}

.about-intro h2 {
  margin: 0;
  font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl));
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.about-intro-text {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.about-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 4px);
  background: var(--bg);
  aspect-ratio: 3 / 4;
  max-width: 320px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-role {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.about-lead {
  margin: 14px 0 0;
  color: var(--text);
  font-size: var(--text-md);
  line-height: 1.65;
}

.about-copy > p {
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.about-copy strong {
  color: var(--text);
  font-weight: 600;
}

.about-copy a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.about-copy a:not(.button):hover {
  color: var(--accent-hover, var(--accent));
}

.about-actions .button-primary {
  color: #ffffff;
  text-decoration: none;
}

.about-actions .button-primary:hover {
  color: #ffffff;
  text-decoration: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-grid h4 {
  margin: 0 0 6px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.about-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 36px;
}

.section-heading h2,
.principles-intro h2,
.process-copy h2,
.labs-copy h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.section-heading h2 {
  max-width: 18ch;
  font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl));
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-base);
  line-height: 1.7;
}

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

.solution-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.22s ease, transform 0.22s var(--ease), box-shadow 0.22s ease;
}



.solution-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.solution-index {
  color: var(--text-faint);
  font-size: var(--text-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.solution-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.solution-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.solution-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.solution-card > p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: 1.65;
  flex: 1;
}

.solution-card ul {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.solution-card li {
  position: relative;
  padding-left: 14px;
  color: var(--text-soft);
  font-size: var(--text-sm);
}

.solution-card li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

/* Principles */
.principles {
  border-top: 1px solid var(--line);
}

.principles-intro {
  max-width: 40rem;
}

.principles-intro h2 {
  font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl));
}

.principles-lead {
  max-width: 42ch;
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.principles-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.principle-number {
  padding-top: 4px;
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.principle-body h3 {
  margin: 0 0 8px;
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.principle-body p {
  max-width: 52ch;
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-base);
  line-height: 1.7;
}

/* Process */
.process {
  border-top: 1px solid var(--line);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}

.process-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.process-copy h2 {
  max-width: 12ch;
  font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl));
}

.process-copy > p {
  max-width: 34ch;
  margin: 14px 0 22px;
  color: var(--text-soft);
  line-height: 1.7;
}

.process-steps {
  position: relative;
  display: grid;
}

.process-steps::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 15px;
  width: 1px;
  background: var(--line);
  content: "";
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid var(--line);
}

.process-step:first-child {
  border-top: 1px solid var(--line);
}

.process-step-num {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.process-step h3 {
  margin: 0;
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.process-step p {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
}

/* Labs */
.labs {
  border-top: 1px solid var(--line);
  padding-bottom: var(--space-7);
}

.labs-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  padding: clamp(32px, 4.5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--labs-bg);
  color: var(--labs-text);
}

.labs-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.labs-kicker::before {
  background: currentColor;
}

.labs-copy h2 {
  max-width: 18ch;
  margin-top: 4px;
  font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl));
}

.labs-copy p {
  max-width: 42ch;
  margin: 14px 0 26px;
  color: var(--labs-muted);
  line-height: 1.7;
}

.labs-topics {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--labs-line);
}

.labs-topics li {
  padding: 14px 0;
  border-bottom: 1px solid var(--labs-line);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  font-weight: 500;
}

.labs-topics li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Contact */
.contact {
  padding-top: var(--space-5);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-copy h2 {
  max-width: 18ch;
  font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl));
}

.contact-copy p {
  max-width: 36ch;
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-channels {
  display: grid;
  gap: 8px;
}

.contact-channels a {
  color: var(--text-faint);
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.contact-channels a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 0 0 28px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0;
}

.footer-brand-block {
  display: grid;
  gap: 12px;
}

.footer-brand-block p {
  max-width: 34ch;
  margin: 0;
  color: var(--text-faint);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: var(--text-xs);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover only on devices that support it */
@media (hover: hover) and (pointer: fine) {
  .solution-card:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
  }

  .process-step:hover .process-step-num {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
  }

  .principle:hover {
    background: color-mix(in srgb, var(--accent) 4%, transparent);
  }

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

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .solution-card:hover {
    transform: none;
    box-shadow: none;
  }

  .solution-card:hover {
    border-color: var(--line);
  }

  .process-step:hover .process-step-num {
    border-color: var(--line-strong);
    background: var(--bg);
    color: var(--accent);
  }

  .principle:hover {
    background: transparent;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 60px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .language-select {
    max-width: 148px;
    min-height: 44px;
    font-size: 0.72rem;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
  }

  .icon-button {
    width: 44px;
    height: 44px;
  }

  .brand-logo {
    height: 28px;
  }

  .site-header.is-scrolled,
  .site-header.menu-active {
    background: var(--bg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .site-header.menu-active {
    border-color: var(--line-strong);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 48px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 6.2vw, 2.35rem);
    line-height: 1.14;
  }

  .hero-description {
    max-width: none;
    margin-top: 16px;
    font-size: var(--text-base);
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 10px;
  }

  .brand-panel {
    max-width: none;
    padding: 22px;
  }

  .brand-panel-tagline {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }

  .brand-panel-list li {
    padding: 14px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 220px;
    max-height: 280px;
  }

  .products-main {
    min-height: auto;
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 48px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
    text-align: center;
  }

  .about-photo {
    max-width: 260px;
    margin-inline: auto;
  }

  .about-copy {
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-actions {
    justify-content: center;
  }

  .about-actions .text-link {
    justify-content: center;
  }

  .section-heading h2,
  .principles-intro h2,
  .process-copy h2,
  .labs-copy h2,
  .contact-copy h2 {
    max-width: none;
    font-size: clamp(1.5rem, 5vw, 1.85rem);
  }

  .section-heading p,
  .principles-lead,
  .process-copy > p {
    max-width: none;
  }

  .solution-grid {
    gap: 12px;
  }

  .solution-card {
    padding: 20px;
  }

  .principles-list {
    margin-top: 28px;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-copy {
    position: static;
  }

  .process-copy h2 {
    max-width: none;
  }

  .labs {
    padding-bottom: 56px;
  }

  .labs-card {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 24px;
  }

  .labs-copy h2 {
    max-width: none;
  }

  .labs-copy p {
    max-width: none;
    margin-bottom: 22px;
  }

  .contact {
    padding-top: 24px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    padding: 40px 0;
  }

  .contact-copy h2,
  .contact-copy p {
    max-width: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 22px;
    padding: 28px 0;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 6px 4px;
  }

  .footer-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px 8px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 56px 0;
  }

  .section-kicker {
    margin-bottom: 10px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 22px);
    padding-bottom: 40px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.8125rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8.4vw, 2.1rem);
    letter-spacing: -0.03em;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .button {
    min-height: 48px;
  }

  .brand-panel {
    padding: 18px;
    border-radius: 14px;
  }

  .brand-panel-top {
    margin-bottom: 16px;
  }

  .brand-panel-mark {
    width: 46px;
    height: 46px;
  }

  .brand-panel-mark img {
    width: 26px;
    height: 26px;
  }

  .brand-panel-tagline {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .brand-panel-list li {
    gap: 12px;
    padding: 12px 0;
  }

  .solution-grid,
  .solution-card:last-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .solution-card {
    padding: 18px;
    border-radius: 14px;
  }

  .product-body {
    padding: 20px 18px 22px;
  }

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

  .product-actions .button {
    width: 100%;
  }

  .about-intro {
    margin-bottom: 24px;
    text-align: center;
  }

  .about-layout {
    padding: 18px;
    justify-items: center;
    text-align: center;
  }

  .about-photo {
    max-width: 200px;
    margin-inline: auto;
  }

  .about-lead {
    font-size: var(--text-base);
  }

  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-actions .button {
    width: 100%;
  }

  .about-actions .text-link {
    justify-content: center;
  }

  .products-main .products-heading h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .contact-channels {
    width: 100%;
    text-align: center;
  }

  .solution-card-head {
    margin-bottom: 16px;
  }

  .solution-card h3 {
    font-size: 1.1rem;
  }

  .solution-card > p {
    font-size: 0.9rem;
  }

  .solution-card ul {
    margin-top: 16px;
    padding-top: 14px;
    gap: 7px;
  }

  .principle {
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .principle-number {
    padding-top: 2px;
    font-size: 0.8125rem;
  }

  .principle-body h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .principle-body p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .process-steps::before {
    left: 13px;
  }

  .process-step {
    grid-template-columns: 28px 1fr;
    gap: 14px;
    padding: 16px 0;
  }

  .process-step-num {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
  }

  .process-step h3 {
    font-size: 1rem;
  }

  .process-step p {
    font-size: 0.875rem;
  }

  .labs {
    padding-bottom: 48px;
  }

  .labs-card {
    padding: 24px 18px;
    border-radius: 14px;
    gap: 20px;
  }

  .labs-copy p {
    margin: 12px 0 20px;
    font-size: 0.95rem;
  }

  .labs-copy .button {
    width: 100%;
  }

  .labs-topics li {
    padding: 12px 0;
    font-size: 0.9rem;
  }

  .contact-card {
    padding: 32px 0;
    gap: 20px;
  }

  .contact-copy p {
    margin-top: 12px;
    font-size: 0.95rem;
  }

  .contact-action {
    width: 100%;
    gap: 10px;
  }

  .contact-action .button {
    width: 100%;
  }

  .contact-channels a {
    display: block;
    padding: 4px 0;
    word-break: break-all;
  }

  .footer-top {
    padding: 24px 0;
    gap: 18px;
  }

  .footer-brand-block p {
    max-width: none;
    font-size: 0.875rem;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
  }

  .footer-links a {
    min-height: 44px;
    padding: 10px 8px 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    line-height: 1.45;
  }

  .site-footer {
    padding-bottom: 20px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero h1 {
    font-size: 1.65rem;
  }

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

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .mobile-nav.is-open {
    animation: none;
  }

  .button:hover,
  .solution-card:hover {
    transform: none;
  }
}
