/* =========================================================
   GRIAALOS LANDING
   Commercial website
========================================================= */

:root {
  --bg-primary: #1b1f20;
  --bg-secondary: #17191a;
  --bg-elevated: #22272b;
  --bg-soft: #262c30;

  --text-primary: #f4f6f8;
  --text-secondary: #98a2b3;
  --text-muted: #667085;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-visible: rgba(148, 163, 184, 0.18);

  --blue-primary: #1f62d0;
  --blue-hover: #1854b8;
  --blue-light: #60a5fa;

  --green-primary: #20c997;

  --success: #20c997;
  --warning: #f59e0b;
  --danger: #ef4444;

  --container: 1280px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 220ms ease;
}

/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-width: 0;

  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;
  min-height: 100vh;

  font-family:
    Inter,
    Satoshi,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--bg-primary);
  color: var(--text-primary);

  font-size: 16px;
  line-height: 1.6;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

header,
main,
footer,
section,
nav,
aside,
article,
div {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  color: #ffffff;
  background: var(--blue-primary);
}

/* =========================================================
   CONSTRUCTION LOCK
========================================================= */

body.construction-pending,
body.construction-locked {
  overflow: hidden;
}

body.construction-pending > header,
body.construction-pending > main,
body.construction-pending > footer,
body.construction-locked > header,
body.construction-locked > main,
body.construction-locked > footer {
  visibility: hidden;
  pointer-events: none;
}

/* =========================================================
   GENERAL
========================================================= */

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--blue-light);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2,
.traceability-copy h2,
.solutions-copy h2,
.final-cta h2 {
  color: var(--text-primary);

  font-size: clamp(36px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-heading p,
.traceability-copy > p,
.solutions-copy > p,
.final-cta p {
  margin-top: 20px;

  color: var(--text-secondary);

  font-size: 17px;
  line-height: 1.75;
}

/* =========================================================
   BUTTONS
========================================================= */

.button {
  min-height: 44px;
  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid transparent;
  border-radius: 12px;

  font-size: 14px;
  font-weight: 600;

  text-align: center;

  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    color var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;

  background: var(--blue-primary);
  border-color: var(--blue-primary);
}

.button-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.button-secondary {
  color: var(--text-primary);

  background: var(--bg-elevated);
  border-color: var(--border-visible);
}

.button-secondary:hover {
  background: var(--bg-soft);
}

.button-ghost {
  color: var(--text-secondary);

  background: transparent;
  border-color: var(--border-visible);
}

.button-ghost:hover {
  color: var(--text-primary);

  background: rgba(255, 255, 255, 0.03);
}

.button-large {
  min-height: 50px;
  padding-inline: 24px;
}

/* =========================================================
   BRAND
========================================================= */

.brand {
  min-width: 0;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  flex-shrink: 0;
}

.brand-name {
  color: var(--text-secondary);

  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.brand-name-main {
  color: var(--text-primary);
  font-weight: 650;
}

.brand-symbol {
  position: relative;

  width: 31px;
  height: 31px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.symbol-core {
  position: relative;

  width: 15px;
  height: 15px;

  border: 2px solid var(--text-primary);
  border-radius: 50%;
}

.symbol-core::before {
  content: "";

  position: absolute;
  inset: 3px;

  border-radius: 50%;
  background: var(--blue-primary);
}

.brand-symbol::before,
.brand-symbol::after {
  content: "";

  position: absolute;

  background: var(--text-muted);
}

.brand-symbol::before {
  width: 1px;
  height: 100%;
}

.brand-symbol::after {
  width: 100%;
  height: 1px;
}

.symbol-node {
  position: absolute;

  width: 5px;
  height: 5px;

  border: 1px solid var(--blue-light);
  background: var(--bg-primary);
}

.node-top {
  top: 0;
}

.node-right {
  right: 0;
}

.node-bottom {
  bottom: 0;
}

.node-left {
  left: 0;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;

  width: 100%;

  border-bottom: 1px solid transparent;

  transition:
    background var(--transition),
    border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(27, 31, 32, 0.94);
  border-bottom-color: var(--border-subtle);

  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

.desktop-nav {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  color: var(--text-secondary);

  font-size: 14px;
  font-weight: 500;

  transition: color var(--transition);
}

.desktop-nav a:hover {
  color: var(--text-primary);
}

.header-actions {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-menu-button {
  width: 42px;
  height: 42px;

  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  flex: 0 0 42px;

  gap: 6px;

  background: var(--bg-elevated);
  border: 1px solid var(--border-visible);
  border-radius: 10px;

  cursor: pointer;
}

.mobile-menu-button span {
  width: 17px;
  height: 1px;

  background: var(--text-primary);

  transition: transform var(--transition);
}

.mobile-menu-button.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-button.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;

  padding: 0 24px 24px;

  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav > a {
  padding: 16px 0;

  color: var(--text-secondary);

  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-actions {
  margin-top: 20px;

  display: grid;
  gap: 10px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 850px;

  padding-top: 170px;
  padding-bottom: 95px;

  display: flex;
  align-items: center;

  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;

  pointer-events: none;
}

.hero-background::before {
  content: "";

  position: absolute;
  top: 80px;
  right: -250px;

  width: 650px;
  height: 650px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(31, 98, 208, 0.09) 0%,
    rgba(31, 98, 208, 0) 68%
  );
}

.hero-background::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -300px;

  width: 900px;
  height: 500px;

  transform: translateX(-50%);

  background: radial-gradient(
    ellipse,
    rgba(32, 201, 151, 0.035) 0%,
    transparent 70%
  );
}

.hero-layout {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);

  gap: 70px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 24px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--text-secondary);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--green-primary);

  box-shadow: 0 0 0 4px rgba(32, 201, 151, 0.08);
}

.hero h1 {
  max-width: 700px;

  font-size: clamp(54px, 6vw, 76px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;

  overflow-wrap: normal;
}

.hero h1 span {
  display: block;

  color: var(--text-secondary);
}

.hero-description {
  max-width: 590px;
  margin-top: 28px;

  color: var(--text-secondary);

  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;

  display: flex;
  gap: 12px;

  flex-wrap: wrap;
}

.hero-principles {
  margin-top: 42px;

  display: flex;
  align-items: center;
  gap: 12px;

  flex-wrap: wrap;

  color: var(--text-muted);

  font-size: 12px;
  font-weight: 500;
}

.hero-principles i {
  width: 3px;
  height: 3px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--border-visible);
}

.hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 50%;

  width: min(calc(100% - 48px), var(--container));
  height: 1px;

  transform: translateX(-50%);

  background: var(--border-subtle);
}

/* =========================================================
   PRODUCT PREVIEW
========================================================= */

.product-preview {
  position: relative;

  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.preview-window {
  width: 100%;
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--border-visible);
  border-radius: 18px;

  background: #171b1d;

  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.01);
}

.preview-topbar {
  height: 48px;
  padding: 0 17px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  border-bottom: 1px solid var(--border-subtle);
}

.preview-brand {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 600;
}

.preview-logo-dot {
  width: 7px;
  height: 7px;

  flex-shrink: 0;

  border: 1px solid var(--blue-light);
  border-radius: 50%;

  box-shadow: inset 0 0 0 2px var(--bg-primary);
}

.preview-topbar-actions {
  display: flex;
  gap: 7px;

  flex-shrink: 0;
}

.preview-topbar-actions span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--text-muted);

  opacity: 0.55;
}

.preview-body {
  width: 100%;
  min-width: 0;
  min-height: 425px;

  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
}

.preview-sidebar {
  min-width: 0;

  padding: 18px 10px;

  border-right: 1px solid var(--border-subtle);

  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-menu-item {
  min-width: 0;
  min-height: 34px;
  padding: 0 9px;

  display: flex;
  align-items: center;
  gap: 8px;

  color: var(--text-muted);

  border-radius: 7px;

  font-size: 8px;
}

.preview-menu-item span {
  width: 6px;
  height: 6px;

  flex-shrink: 0;

  border: 1px solid currentColor;
  border-radius: 2px;
}

.preview-menu-item.active {
  color: var(--text-primary);

  background: rgba(31, 98, 208, 0.15);
}

.preview-menu-item.active span {
  border-color: var(--blue-light);
}

.preview-content {
  width: 100%;
  min-width: 0;

  padding: 24px 22px;
}

.preview-heading {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;
}

.preview-heading > div {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preview-heading small {
  color: var(--text-muted);

  font-size: 8px;
}

.preview-heading strong {
  color: var(--text-primary);

  font-size: 13px;
}

.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  flex-shrink: 0;

  color: var(--text-secondary);

  font-size: 7px;
}

.preview-status i {
  width: 5px;
  height: 5px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--green-primary);
}

.preview-kpis {
  min-width: 0;
  margin-top: 20px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 9px;
}

.preview-kpi {
  min-width: 0;
  min-height: 86px;
  padding: 12px;

  display: flex;
  flex-direction: column;

  background: #1d2225;

  border: 1px solid var(--border-subtle);
  border-radius: 9px;
}

.preview-kpi span {
  color: var(--text-muted);

  font-size: 7px;
}

.preview-kpi strong {
  margin-top: 8px;

  color: var(--text-primary);

  font-size: 19px;
  line-height: 1;
}

.preview-kpi small {
  margin-top: auto;

  color: var(--text-muted);

  font-size: 6px;
}

.preview-kpi.green strong {
  color: var(--green-primary);
}

.preview-main-grid {
  min-width: 0;
  margin-top: 10px;

  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);

  gap: 10px;
}

.preview-panel {
  min-width: 0;
  min-height: 155px;
  padding: 14px;

  background: #1d2225;

  border: 1px solid var(--border-subtle);
  border-radius: 9px;
}

.preview-panel-title {
  color: var(--text-secondary);

  font-size: 8px;
  font-weight: 600;
}

.preview-flow {
  width: 100%;
  min-width: 0;
  height: 105px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-flow > div {
  min-width: 34px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;
}

.preview-flow div i {
  width: 11px;
  height: 11px;

  border: 2px solid var(--blue-primary);
  border-radius: 4px;

  background: var(--bg-primary);
}

.preview-flow div span {
  color: var(--text-muted);

  font-size: 6px;
}

.preview-flow b {
  width: 20px;
  min-width: 8px;
  height: 1px;

  margin-bottom: 15px;

  background: var(--border-visible);
}

.preview-activity {
  display: flex;
  flex-direction: column;

  gap: 12px;
}

.activity-row {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-row:first-of-type {
  margin-top: 10px;
}

.activity-row i {
  width: 5px;
  height: 5px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--green-primary);
}

.activity-row span {
  width: 100%;
  min-width: 0;
  height: 5px;

  display: block;

  border-radius: 10px;

  background: var(--bg-soft);
}

/* =========================================================
   POSITIONING
========================================================= */

.positioning {
  background: var(--bg-secondary);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pillar {
  min-width: 0;
  min-height: 260px;
  padding: 34px 40px;

  border-right: 1px solid var(--border-subtle);
}

.pillar:last-child {
  border-right: none;
}

.pillar-number {
  color: var(--blue-light);

  font-size: 12px;
  font-weight: 600;
}

.pillar-number.green {
  color: var(--green-primary);
}

.pillar h3 {
  margin-top: 60px;

  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.pillar p {
  margin-top: 13px;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.7;
}

/* =========================================================
   PLATAFORMA MODULAR
========================================================= */

.modules-flow-section {
  overflow: hidden;
}

.modules-flow-section .section-heading {
  max-width: 820px;
}

.modules-note {
  max-width: 620px;
  margin-top: 18px !important;

  color: var(--text-muted) !important;

  font-size: 13px !important;
  line-height: 1.65 !important;
}

.modules-groups {
  display: grid;
  gap: 48px;
}

.module-group {
  min-width: 0;
}

.module-group-heading {
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.module-group-heading::after {
  content: "";

  height: 1px;

  flex: 1;

  background: var(--border-subtle);
}

.module-group-label {
  flex-shrink: 0;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
}

.module-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card {
  min-width: 0;
  min-height: 205px;
  padding: 28px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background: transparent;

  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);

  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.module-card:hover {
  background: var(--bg-elevated);

  transform: translateY(-1px);
}

.module-card h3 {
  color: var(--text-primary);

  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.module-card p {
  max-width: 390px;
  margin-top: 12px;

  color: var(--text-secondary);

  font-size: 14px;
  line-height: 1.75;
}


.modules-expansion-control {
  margin: 6px 0 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;

  gap: 22px;
}

.expansion-line {
  height: 1px;

  background: var(--border-subtle);
}

.modules-expand-button {
  min-width: 230px;
  padding: 14px 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  color: var(--text-primary);

  background: transparent;

  border: 1px solid var(--border-visible);
  border-radius: 14px;

  cursor: pointer;

  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.modules-expand-button:hover {
  background: var(--bg-elevated);
  border-color: rgba(96, 165, 250, 0.42);

  transform: translateY(-1px);
}

.modules-expand-icon {
  width: 34px;
  height: 34px;

  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--blue-light);

  border: 1px solid var(--blue-primary);
  border-radius: 9px;

  background: rgba(31, 98, 208, 0.07);

  font-size: 22px;
  font-weight: 300;
  line-height: 1;

  transition:
    transform 300ms ease,
    background var(--transition),
    color var(--transition);
}

.modules-expand-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  text-align: left;
}

.modules-expand-copy strong {
  color: var(--text-primary);

  font-size: 14px;
  font-weight: 600;
}

.modules-expand-copy small {
  margin-top: 2px;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 500;
}

.modules-expand-button[aria-expanded="true"] .modules-expand-icon {
  transform: rotate(45deg);

  color: var(--text-primary);

  background: rgba(31, 98, 208, 0.14);
}

.additional-modules {
  max-height: 0;

  overflow: hidden;

  opacity: 0;
  transform: translateY(-10px);

  pointer-events: none;

  transition:
    max-height 560ms ease,
    opacity 300ms ease,
    transform 420ms ease,
    margin-top 420ms ease;
}

.additional-modules.open {
  max-height: 1000px;
  margin-top: 46px;

  opacity: 1;
  transform: translateY(0);

  pointer-events: auto;
}

.additional-modules .module-group + .module-group {
  margin-top: 44px;
}

.module-card-top {
  margin-bottom: auto;

  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.module-availability {
  min-height: 24px;
  padding: 0 9px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.module-availability.available {
  color: var(--green-primary);

  background: rgba(32, 201, 151, 0.07);
  border: 1px solid rgba(32, 201, 151, 0.18);
}

.module-availability.future {
  color: var(--text-muted);

  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
}

.future-module {
  opacity: 0.72;
}

.future-module:hover {
  opacity: 0.9;
}

/* =========================================================
   TRACEABILITY
========================================================= */

.traceability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);

  gap: 90px;
  align-items: center;
}

.traceability-list {
  margin-top: 34px;

  display: grid;
  gap: 15px;

  list-style: none;
}

.traceability-list li {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--text-secondary);

  font-size: 14px;
}

.traceability-list li span {
  width: 7px;
  height: 7px;

  flex-shrink: 0;

  border-radius: 50%;
  border: 1px solid var(--green-primary);

  box-shadow: 0 0 0 3px rgba(32, 201, 151, 0.05);
}

.trace-card {
  min-width: 0;

  padding: 30px;

  background: var(--bg-secondary);

  border: 1px solid var(--border-visible);
  border-radius: var(--radius-lg);
}

.trace-card-top {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.trace-card-top > div {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.trace-card-top small {
  color: var(--text-muted);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.trace-card-top strong {
  margin-top: 3px;

  font-size: 18px;
}

.trace-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  flex-shrink: 0;

  color: var(--text-secondary);

  font-size: 11px;
}

.trace-status i {
  width: 7px;
  height: 7px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--green-primary);
}

.trace-fields {
  min-width: 0;
  margin-top: 30px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
}

.trace-fields div {
  min-width: 0;
  min-height: 90px;
  padding: 17px;

  display: flex;
  flex-direction: column;

  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trace-fields span {
  color: var(--text-muted);

  font-size: 10px;
}

.trace-fields strong {
  margin-top: auto;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 500;
}

.trace-route {
  min-width: 0;
  margin-top: 30px;

  display: flex;
  align-items: center;
}

.trace-route div {
  min-width: 74px;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;

  color: var(--text-muted);

  font-size: 9px;
}

.trace-route div i {
  width: 12px;
  height: 12px;

  border: 2px solid var(--blue-primary);
  border-radius: 4px;

  background: var(--bg-secondary);
}

.trace-route > span {
  min-width: 8px;
  flex: 1;

  height: 1px;

  margin-bottom: 19px;

  background: var(--border-visible);
}

/* =========================================================
   BENEFITS
========================================================= */

.benefits-section {
  background: var(--bg-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
}

.benefit-item {
  min-width: 0;
  min-height: 120px;
  padding: 22px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.benefit-item span {
  color: var(--text-muted);

  font-size: 10px;
}

.benefit-item strong {
  color: var(--text-secondary);

  font-size: 14px;
  font-weight: 500;
}

/* =========================================================
   SHOWCASE
========================================================= */

.product-showcase-section {
  overflow: hidden;
}

.showcase-frame {
  width: 100%;
  min-width: 0;
  max-width: 1120px;
  margin: 0 auto;

  overflow: hidden;

  background: #171b1d;

  border: 1px solid var(--border-visible);
  border-radius: 22px;

  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.24);
}

.showcase-toolbar {
  min-width: 0;
  height: 54px;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 80px;
  align-items: center;

  border-bottom: 1px solid var(--border-subtle);
}

.showcase-brand {
  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 600;
}

.showcase-toolbar-center {
  width: min(170px, 100%);
  height: 7px;

  margin: auto;

  border-radius: 20px;

  background: var(--bg-soft);
}

.showcase-user {
  width: 24px;
  height: 24px;

  margin-left: auto;

  border-radius: 50%;

  background: var(--bg-soft);
}

.showcase-layout {
  min-width: 0;
  min-height: 480px;

  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.showcase-layout aside {
  min-width: 0;

  padding: 22px 16px;

  border-right: 1px solid var(--border-subtle);

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-layout aside span {
  width: 100%;
  height: 27px;

  border-radius: 6px;

  background: var(--bg-soft);

  opacity: 0.55;
}

.showcase-layout aside span.active {
  background: rgba(31, 98, 208, 0.2);

  opacity: 1;
}

.showcase-content {
  min-width: 0;

  padding: 34px;
}

.showcase-title {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
}

.showcase-title > div {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.showcase-title small {
  color: var(--text-muted);

  font-size: 9px;
}

.showcase-title strong {
  margin-top: 3px;

  font-size: 16px;
}

.showcase-title > span {
  width: 110px;
  max-width: 30%;
  height: 8px;

  flex-shrink: 1;

  border-radius: 20px;

  background: var(--bg-soft);
}

.showcase-cards {
  min-width: 0;
  margin-top: 28px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 12px;
}

.showcase-cards div {
  min-width: 0;
  height: 102px;

  background: var(--bg-elevated);

  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.showcase-panels {
  min-width: 0;
  margin-top: 12px;

  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);

  gap: 12px;
}

.large-panel,
.side-panel {
  min-width: 0;
  min-height: 225px;
  padding: 20px;

  background: var(--bg-elevated);

  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.large-panel > span,
.side-panel > span {
  width: 100px;
  max-width: 100%;
  height: 6px;

  display: block;

  border-radius: 20px;

  background: var(--bg-soft);
}

.fake-chart {
  height: 150px;
  margin-top: 20px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 9px;

  border-bottom: 1px solid var(--border-subtle);
}

.fake-chart i {
  width: 100%;
  min-width: 0;

  display: block;

  border-radius: 3px 3px 0 0;

  background: var(--blue-primary);

  opacity: 0.65;
}

.side-panel i {
  width: 100%;
  height: 12px;

  margin-top: 22px;

  display: block;

  border-radius: 20px;

  background: var(--bg-soft);
}

.showcase-note {
  padding: 12px 20px;

  color: var(--text-muted);

  border-top: 1px solid var(--border-subtle);

  font-size: 10px;
  text-align: center;
}

/* =========================================================
   SOLUTIONS
========================================================= */

.solutions-section {
  background: var(--bg-secondary);
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);

  gap: 90px;
  align-items: center;
}

.solutions-copy .button {
  margin-top: 30px;
}

.solutions-panel {
  min-width: 0;

  border-top: 1px solid var(--border-subtle);
}

.solution-row {
  min-width: 0;

  padding: 27px 0;

  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);

  gap: 14px;

  border-bottom: 1px solid var(--border-subtle);
}

.solution-row > span {
  color: var(--blue-light);

  font-size: 11px;
  font-weight: 600;
}

.solution-row strong {
  font-size: 17px;
  font-weight: 600;
}

.solution-row p {
  margin-top: 5px;

  color: var(--text-secondary);

  font-size: 14px;
}

/* =========================================================
   TRUST
========================================================= */

.trust-section {
  padding-top: 40px;
  padding-bottom: 40px;

  background: var(--bg-secondary);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  border: 1px solid var(--border-subtle);
}

.trust-bar > div {
  min-width: 0;

  padding: 27px;

  display: flex;
  flex-direction: column;

  gap: 5px;

  border-right: 1px solid var(--border-subtle);
}

.trust-bar > div:last-child {
  border-right: none;
}

.trust-bar small {
  color: var(--text-muted);

  font-size: 10px;
}

.trust-bar strong {
  color: var(--text-secondary);

  font-size: 14px;
  font-weight: 500;
}

/* =========================================================
   FINAL CTA
========================================================= */

.final-cta-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.final-cta {
  min-width: 0;

  padding: 64px;

  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);

  gap: 50px;
  align-items: center;

  background: var(--bg-elevated);

  border: 1px solid var(--border-visible);
  border-radius: var(--radius-xl);
}

.final-cta h2 {
  max-width: 720px;
}

.final-cta-actions {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 10px;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding-top: 70px;

  background: var(--bg-secondary);

  border-top: 1px solid var(--border-subtle);
}

.footer-main {
  padding-bottom: 55px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  gap: 80px;
}

.footer-brand p {
  margin-top: 18px;

  color: var(--text-muted);

  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 40px;
}

.footer-links > div {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 10px;
}

.footer-links strong {
  margin-bottom: 7px;

  color: var(--text-primary);

  font-size: 12px;
}

.footer-links a {
  color: var(--text-muted);

  font-size: 12px;

  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  min-height: 66px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: var(--text-muted);

  border-top: 1px solid var(--border-subtle);

  font-size: 11px;
}

/* =========================================================
   CONSTRUCTION ACCESS GATE
========================================================= */

.construction-gate {
  position: fixed;
  z-index: 99999;
  inset: 0;

  padding: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #17191a;

  isolation: isolate;
}

.construction-gate::before {
  content: "";

  position: absolute;
  z-index: -1;
  top: -250px;
  right: -250px;

  width: 650px;
  height: 650px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(31, 98, 208, 0.09),
    rgba(31, 98, 208, 0) 68%
  );

  pointer-events: none;
}

.construction-gate::after {
  content: "";

  position: absolute;
  z-index: -1;
  left: -250px;
  bottom: -300px;

  width: 700px;
  height: 600px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(32, 201, 151, 0.035),
    rgba(32, 201, 151, 0) 70%
  );

  pointer-events: none;
}

.construction-gate-panel {
  width: min(100%, 470px);

  padding: 44px;

  background: #1b1f20;

  border: 1px solid var(--border-visible);
  border-radius: 20px;

  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

.construction-gate-brand {
  display: flex;
  align-items: center;

  gap: 11px;
}

.construction-gate-symbol {
  position: relative;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.construction-gate-symbol::before,
.construction-gate-symbol::after {
  content: "";

  position: absolute;

  background: var(--text-muted);
}

.construction-gate-symbol::before {
  width: 1px;
  height: 100%;
}

.construction-gate-symbol::after {
  width: 100%;
  height: 1px;
}

.construction-gate-core {
  position: relative;
  z-index: 1;

  width: 14px;
  height: 14px;

  background: var(--bg-primary);

  border: 2px solid var(--text-primary);
  border-radius: 50%;
}

.construction-gate-core::after {
  content: "";

  position: absolute;
  inset: 3px;

  border-radius: 50%;

  background: var(--blue-primary);
}

.construction-gate-name {
  color: var(--text-secondary);

  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.construction-gate-name strong {
  color: var(--text-primary);
}

.construction-gate-status {
  margin-top: 38px;

  display: flex;
  align-items: center;
  gap: 9px;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.construction-gate-status span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green-primary);

  box-shadow: 0 0 0 4px rgba(32, 201, 151, 0.07);
}

.construction-gate-panel h1 {
  margin-top: 17px;

  color: var(--text-primary);

  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.construction-gate-panel > p {
  margin-top: 16px;

  color: var(--text-secondary);

  font-size: 14px;
  line-height: 1.7;
}

#construction-gate-form {
  margin-top: 30px;

  display: flex;
  flex-direction: column;
}

#construction-gate-form label {
  margin-bottom: 8px;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 500;
}

#construction-access-code {
  width: 100%;
  height: 52px;

  padding: 0 16px;

  color: var(--text-primary);

  background: var(--bg-elevated);

  border: 1px solid var(--border-visible);
  border-radius: 12px;

  outline: none;

  font-size: 20px;
  letter-spacing: 0.18em;

  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

#construction-access-code:hover {
  border-color: rgba(148, 163, 184, 0.3);
}

#construction-access-code:focus {
  background: var(--bg-soft);

  border-color: var(--blue-primary);

  box-shadow: 0 0 0 3px rgba(31, 98, 208, 0.1);
}

#construction-gate-form button {
  height: 50px;
  margin-top: 12px;

  color: #ffffff;

  background: var(--blue-primary);

  border: 1px solid var(--blue-primary);
  border-radius: 12px;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

#construction-gate-form button:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);

  transform: translateY(-1px);
}

#construction-gate-form button:focus-visible,
#construction-access-code:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

.construction-gate-error {
  min-height: 20px;
  margin-top: 10px;

  color: var(--danger);

  font-size: 11px;
}

.construction-gate-panel > small {
  margin-top: 18px;

  display: block;

  color: var(--text-muted);

  font-size: 10px;
}

.construction-gate-error-state .construction-gate-panel {
  animation: constructionGateShake 260ms ease;
}

.construction-gate-unlocking {
  opacity: 0;

  transition: opacity 400ms ease;
}

@keyframes constructionGateShake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-3px);
  }

  100% {
    transform: translateX(0);
  }
}

/* =========================================================
   REVEAL
========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(18px);

  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);

    gap: 56px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-preview {
    width: 100%;
    max-width: 780px;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traceability-layout,
  .solutions-layout {
    grid-template-columns: minmax(0, 1fr);

    gap: 60px;
  }

  .traceability-copy,
  .solutions-copy {
    max-width: 720px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .final-cta-actions {
    max-width: 280px;
  }
}

/* =========================================================
   MOBILE / SMALL TABLET
========================================================= */

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-label {
    margin-bottom: 14px;
  }

  .header-inner {
    min-height: 64px;

    gap: 16px;
  }

  .desktop-action {
    display: none;
  }

  .brand {
    gap: 10px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-symbol {
    width: 29px;
    height: 29px;
  }

  .mobile-menu-button {
    width: 42px;
    height: 42px;

    flex-basis: 42px;
  }

  .mobile-menu {
    padding-inline: 16px;
  }

  /* HERO */

  .hero {
    min-height: auto;

    padding-top: 104px;
    padding-bottom: 54px;

    align-items: flex-start;
  }

  .hero-layout {
    gap: 34px;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
  }

  .eyebrow {
    max-width: 100%;
    margin-bottom: 18px;

    gap: 8px;

    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.075em;
  }

  .hero h1 {
    width: 100%;
    max-width: 560px;

    font-size: clamp(38px, 10.7vw, 46px);
    line-height: 1.01;
    letter-spacing: -0.045em;
  }

  .hero h1 span {
    margin-top: 2px;
  }

  .hero-description {
    max-width: 540px;
    margin-top: 20px;

    font-size: 15.5px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    margin-top: 24px;

    display: grid;
    grid-template-columns: minmax(0, 1fr);

    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 50px;

    padding-inline: 18px;
  }

  .hero-principles {
    margin-top: 28px;

    gap: 8px;

    font-size: 11px;
    line-height: 1.4;
  }

  .hero-bottom-line {
    width: calc(100% - 32px);
  }

  /* HERO PRODUCT PREVIEW */

  .product-preview {
    width: 100%;
    max-width: 560px;

    margin-inline: auto;
  }

  .preview-window {
    width: 100%;

    border-radius: 13px;
  }

  .preview-topbar {
    height: 40px;
    padding-inline: 12px;
  }

  .preview-brand {
    gap: 6px;

    font-size: 9px;
  }

  .preview-logo-dot {
    width: 6px;
    height: 6px;
  }

  .preview-topbar-actions {
    gap: 5px;
  }

  .preview-topbar-actions span {
    width: 4px;
    height: 4px;
  }

  .preview-body {
    min-height: 278px;

    grid-template-columns: 54px minmax(0, 1fr);
  }

  .preview-sidebar {
    padding: 10px 6px;

    gap: 5px;
  }

  .preview-menu-item {
    min-height: 28px;
    padding: 0 5px;

    justify-content: center;

    font-size: 0;
  }

  .preview-menu-item span {
    width: 7px;
    height: 7px;
  }

  .preview-content {
    padding: 13px 10px;
  }

  .preview-heading {
    gap: 8px;
  }

  .preview-heading small {
    font-size: 6px;
  }

  .preview-heading strong {
    font-size: 11px;
    line-height: 1.2;
  }

  .preview-status {
    gap: 4px;

    font-size: 6px;
  }

  .preview-status i {
    width: 4px;
    height: 4px;
  }

  .preview-kpis {
    margin-top: 13px;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 7px;
  }

  .preview-kpi {
    min-height: 66px;
    padding: 9px;
  }

  .preview-kpi span {
    font-size: 6px;
  }

  .preview-kpi strong {
    margin-top: 5px;

    font-size: 15px;
  }

  .preview-kpi small {
    font-size: 5px;
  }

  .preview-main-grid {
    margin-top: 7px;

    grid-template-columns: minmax(0, 1fr);

    gap: 7px;
  }

  .preview-panel {
    min-height: 100px;
    padding: 10px;
  }

  .preview-panel-title {
    font-size: 7px;
  }

  .preview-flow {
    height: 72px;
  }

  .preview-flow > div {
    min-width: 29px;

    gap: 5px;
  }

  .preview-flow div i {
    width: 9px;
    height: 9px;
  }

  .preview-flow div span {
    font-size: 5px;
  }

  .preview-flow b {
    width: 14px;
    min-width: 6px;

    margin-bottom: 10px;
  }

  .preview-activity {
    display: none;
  }

  /* POSITIONING */

  .pillar-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillar {
    min-height: 195px;
    padding: 28px 24px;

    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .pillar:last-child {
    border-bottom: none;
  }

  .pillar h3 {
    margin-top: 32px;
  }

  /* MODULES */

  .modules-flow-section .section-heading {
    margin-bottom: 38px;
  }

  .modules-note {
    margin-top: 14px !important;

    font-size: 12px !important;
  }

  .modules-groups {
    gap: 38px;
  }

  .module-group-heading {
    margin-bottom: 12px;
  }

  .module-grid,
  .module-grid-compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .module-card {
    min-height: 160px;
    padding: 24px;
  }

  .module-card h3 {
    font-size: 20px;
  }

  .module-card p {
    font-size: 13px;
    line-height: 1.7;
  }

  .modules-expansion-control {
    grid-template-columns: minmax(0, 1fr);

    gap: 14px;
  }

  .modules-expansion-control .expansion-line {
    display: none;
  }

  .modules-expand-button {
    width: 100%;
    min-width: 0;

    justify-content: flex-start;
  }

  .additional-modules.open {
    margin-top: 38px;
  }

  .additional-modules .module-group + .module-group {
    margin-top: 36px;
  }

  /* TRACEABILITY */

  .trace-card {
    padding: 18px;
  }

  .trace-card-top {
    gap: 12px;
  }

  .trace-card-top strong {
    font-size: 16px;
  }

  .trace-status {
    font-size: 10px;
  }

  .trace-fields {
    margin-top: 22px;

    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trace-fields div {
    min-height: 78px;
    padding: 14px;
  }

  .trace-route {
    max-width: 100%;

    overflow-x: auto;
    overscroll-behavior-inline: contain;

    padding-bottom: 12px;
  }

  .trace-route div {
    min-width: 68px;
  }

  .trace-route > span {
    min-width: 24px;
  }

  /* BENEFITS */

  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* SHOWCASE */

  .showcase-toolbar {
    height: 44px;
    padding-inline: 12px;

    grid-template-columns: 70px minmax(0, 1fr) 34px;
  }

  .showcase-brand {
    font-size: 9px;
  }

  .showcase-toolbar-center {
    width: min(100px, 70%);
  }

  .showcase-user {
    width: 20px;
    height: 20px;
  }

  .showcase-layout {
    min-height: 315px;

    grid-template-columns: 52px minmax(0, 1fr);
  }

  .showcase-layout aside {
    padding: 14px 6px;

    gap: 8px;
  }

  .showcase-layout aside span {
    height: 22px;
  }

  .showcase-content {
    padding: 16px 10px;
  }

  .showcase-title {
    gap: 8px;
  }

  .showcase-title small {
    font-size: 7px;
  }

  .showcase-title strong {
    font-size: 12px;
  }

  .showcase-title > span {
    width: 70px;
    max-width: 24%;
  }

  .showcase-cards {
    margin-top: 18px;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;
  }

  .showcase-cards div {
    height: 72px;
  }

  .showcase-panels {
    margin-top: 8px;

    grid-template-columns: minmax(0, 1fr);
  }

  .large-panel {
    min-height: 170px;
    padding: 14px;
  }

  .side-panel {
    display: none;
  }

  .fake-chart {
    height: 105px;
    margin-top: 16px;

    gap: 5px;
  }

  /* TRUST */

  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-bar > div {
    padding: 22px;
  }

  .trust-bar > div:nth-child(2) {
    border-right: none;
  }

  .trust-bar > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-subtle);
  }

  /* FINAL CTA */

  .final-cta-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .final-cta {
    padding: 34px 24px;

    border-radius: 20px;
  }

  .final-cta-actions {
    width: 100%;
    max-width: none;
  }

  .final-cta-actions .button {
    width: 100%;
  }

  /* FOOTER */

  .footer-main {
    grid-template-columns: minmax(0, 1fr);

    gap: 44px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    padding: 20px 0;

    flex-direction: column;
    align-items: flex-start;
  }

  /* GATE */

  .construction-gate {
    padding: 16px;
  }

  .construction-gate-panel {
    padding: 34px 26px;
  }

  .construction-gate-panel h1 {
    font-size: 31px;
  }
}

/* =========================================================
   PHONE
========================================================= */

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .traceability-copy h2,
  .solutions-copy h2,
  .final-cta h2 {
    font-size: clamp(30px, 8.8vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  /* HERO PHONE */

  .hero {
    padding-top: 94px;
    padding-bottom: 46px;
  }

  .hero-layout {
    gap: 30px;
  }

  .eyebrow {
    margin-bottom: 16px;

    font-size: 9px;
    letter-spacing: 0.065em;
  }

  .hero h1 {
    max-width: 430px;

    font-size: clamp(36px, 10.3vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .hero-description {
    margin-top: 18px;

    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 22px;

    gap: 9px;
  }

  .hero-principles {
    margin-top: 24px;

    gap: 7px;

    font-size: 10px;
  }

  /* HERO MOCKUP PHONE */

  .product-preview {
    max-width: 100%;
  }

  .preview-body {
    min-height: 250px;

    grid-template-columns: 46px minmax(0, 1fr);
  }

  .preview-sidebar {
    padding: 8px 5px;
  }

  .preview-menu-item {
    min-height: 25px;
  }

  .preview-content {
    padding: 11px 8px;
  }

  .preview-heading strong {
    font-size: 10px;
  }

  .preview-status {
    font-size: 5.5px;
  }

  .preview-kpis {
    margin-top: 11px;

    gap: 6px;
  }

  .preview-kpi {
    min-height: 61px;
    padding: 8px;
  }

  .preview-main-grid {
    gap: 6px;
  }

  .preview-panel {
    min-height: 90px;
    padding: 9px;
  }

  .preview-flow {
    height: 64px;
  }

  .preview-flow > div {
    min-width: 26px;
  }

  .preview-flow b {
    width: 10px;
  }

  /* MODULES PHONE */

  .modules-groups {
    gap: 34px;
  }

  .module-group-label {
    font-size: 9px;
  }

  .module-card {
    min-height: 150px;
    padding: 22px;
  }

  .module-card h3 {
    font-size: 19px;
  }

  /* TRACEABILITY */

  .trace-card-top {
    align-items: flex-start;
  }

  .trace-status {
    margin-top: 2px;
  }

  /* SHOWCASE */

  .showcase-frame {
    border-radius: 16px;
  }

  .showcase-layout {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .showcase-content {
    padding-inline: 8px;
  }

  .showcase-toolbar {
    grid-template-columns: 64px minmax(0, 1fr) 28px;
  }

  .showcase-toolbar-center {
    width: min(80px, 65%);
  }

  .showcase-title > span {
    display: none;
  }

  /* FOOTER */

  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }

  /* GATE */

  .construction-gate-panel {
    padding: 30px 22px;
  }

  .construction-gate-status {
    margin-top: 30px;
  }

  .construction-gate-panel h1 {
    font-size: 29px;
  }

  #construction-access-code {
    height: 50px;
  }
}

/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media (max-width: 360px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-principles {
    max-width: 290px;
  }

  .preview-body {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .preview-heading strong {
    font-size: 9px;
  }

  .preview-kpi {
    padding: 7px;
  }

  .preview-flow > div {
    min-width: 24px;
  }

  .preview-flow b {
    width: 8px;
  }

  .module-card {
    min-height: 145px;
    padding: 20px;
  }

  .module-card p {
    font-size: 12.5px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}