/* Florra marketing — layout + product UI compositions */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-production);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-production-hover);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 1000;
  padding: var(--space-2) var(--space-4);
  background: var(--surface-1);
  color: var(--text-primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.skip-link:focus {
  top: var(--space-3);
}

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

/* Atmosphere */
.floora-atmosphere {
  --_grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  position: relative;
  isolation: isolate;
  background-color: var(--bg-atmosphere-base);
  background-image: var(--bg-atmosphere);
  background-repeat: no-repeat;
  background-size: cover;
}

.floora-atmosphere::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--bg-atmosphere-grain-opacity);
  background-image: var(--_grain);
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.floora-atmosphere > * {
  position: relative;
  z-index: 1;
}

/* Edge-anchored production floor lines — same grammar as the app dashboard */
.site-floor-art {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  mask-image: radial-gradient(
    ellipse 58% 54% at 50% 44%,
    transparent 0%,
    transparent 38%,
    #000 76%,
    #000 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 58% 54% at 50% 44%,
    transparent 0%,
    transparent 38%,
    #000 76%,
    #000 100%
  );
}

.floora-atmosphere > .site-floor-art {
  position: fixed;
  z-index: 0;
}

.site-floor-art__marks {
  stroke: color-mix(in srgb, var(--text-muted) 55%, transparent);
  opacity: 0.32;
}

.site-floor-art__bays {
  stroke: var(--accent-production);
  opacity: 0.2;
}

.site-floor-art__route {
  stroke: var(--accent-production);
  opacity: 0.22;
}

.site-floor-art__route rect,
.site-floor-art__spine rect {
  fill: color-mix(in srgb, var(--bg-atmosphere-base) 78%, transparent);
  stroke: var(--accent-production);
}

.site-floor-art__spine {
  stroke: color-mix(in srgb, var(--accent-production) 60%, var(--text-muted));
  opacity: 0.2;
}

.site-floor-art__outbound {
  stroke: var(--accent-info);
  opacity: 0.22;
}

.site-floor-art__outbound rect {
  fill: color-mix(in srgb, var(--bg-atmosphere-base) 78%, transparent);
  stroke: var(--accent-info);
}

.site-floor-art__lanes {
  stroke: color-mix(in srgb, var(--accent-info) 55%, var(--text-muted));
  opacity: 0.2;
}

.site-floor-art__lanes rect {
  fill: color-mix(in srgb, var(--bg-atmosphere-base) 78%, transparent);
  stroke: color-mix(in srgb, var(--accent-info) 70%, var(--text-muted));
}

@media (max-width: 900px) {
  .site-floor-art {
    opacity: 0.72;
    mask-image: radial-gradient(
      ellipse 78% 68% at 50% 42%,
      transparent 0%,
      transparent 52%,
      #000 88%,
      #000 100%
    );
    -webkit-mask-image: radial-gradient(
      ellipse 78% 68% at 50% 42%,
      transparent 0%,
      transparent 52%,
      #000 88%,
      #000 100%
    );
  }

  .site-floor-art__spine {
    opacity: 0.12;
  }
}

@media (max-width: 480px) {
  .site-floor-art {
    opacity: 0.7;
  }

  .site-floor-art__outbound,
  .site-floor-art__spine {
    opacity: 0;
  }

  .site-floor-art__bays {
    opacity: 0.26;
  }

  .site-floor-art__lanes {
    opacity: 0.24;
  }
}

/* Quiet topographic / bay-route accents (app floora-flow-pattern) */
.floora-flow-pattern {
  --pattern-opacity: 0.055;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.floora-flow-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--pattern-opacity);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22140%22%20viewBox%3D%220%200%20200%20140%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M28%2055H95V45M95%2072V118H28V55%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M40%2068h36M40%2080h36M40%2092h36%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M95%2060H128V38H168%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221.15%22%2F%3E%3Cpath%20d%3D%22M128%2060V85%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%20stroke-dasharray%3D%223%204%22%2F%3E%3Crect%20x%3D%22122%22%20y%3D%2254%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%221.5%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%2F%3E%3Crect%20x%3D%22162%22%20y%3D%2232%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%221.5%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M140%20118H190M145%20126H190%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M158%20110v24M174%20110v24%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%20stroke-dasharray%3D%222%204%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: min(70%, 300px) auto;
  mask-image: linear-gradient(135deg, transparent 32%, #000 78%);
  -webkit-mask-image: linear-gradient(135deg, transparent 32%, #000 78%);
}

.floora-flow-pattern--corner::after {
  inset: auto 0 0 auto;
  width: min(180px, 42%);
  height: min(120px, 48%);
  background-size: min(180px, 100%) auto;
  background-position: right bottom;
  mask-image: linear-gradient(135deg, transparent 38%, #000 94%);
  -webkit-mask-image: linear-gradient(135deg, transparent 38%, #000 94%);
  --pattern-opacity: 0.045;
}

.floora-flow-pattern--production {
  --pattern-opacity: 0.07;
}

.floora-flow-pattern > *:not(.floora-flow-float) {
  position: relative;
  z-index: 1;
}

/* Section edge fragments — park lines in gutters, not over copy */
.section--floor {
  position: relative;
  isolation: isolate;
}

.section--floor::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image:
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22160%22%20height%3D%22220%22%20viewBox%3D%220%200%20160%20220%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M18%2040V180%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%20stroke-dasharray%3D%224%207%22%20opacity%3D%220.55%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%2272%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%222%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%22128%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%222%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M23%2079H48%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%20opacity%3D%220.5%22%2F%3E%3Cpath%20d%3D%22M23%20135H48%22%20stroke%3D%22%232d6a4f%22%20stroke-width%3D%221%22%20opacity%3D%220.5%22%2F%3E%3C%2Fsvg%3E"),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22120%22%20viewBox%3D%220%200%20200%20120%22%20fill%3D%22none%22%3E%3Crect%20x%3D%2268%22%20y%3D%2216%22%20width%3D%22100%22%20height%3D%2258%22%20rx%3D%222%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221.1%22%2F%3E%3Cpath%20d%3D%22M68%2045h100%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M88%2026v18M120%2026v18M152%2026v18%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221%22%20opacity%3D%220.65%22%2F%3E%3Cpath%20d%3D%22M68%2045H28V78%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221.1%22%2F%3E%3Crect%20x%3D%2220%22%20y%3D%2270%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%222%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: left 4% bottom 8%, right 2% top 10%;
  background-size: 120px auto, 160px auto;
  opacity: 0.55;
}

.section--floor > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .section--floor::before {
    background-size: 88px auto, 120px auto;
    opacity: 0.38;
  }
}

.floora-page-wash {
  position: relative;
}

.floora-page-wash::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 48% 38% at 92% 4%, color-mix(in srgb, var(--accent-info) 4%, transparent), transparent 70%),
    radial-gradient(ellipse 52% 44% at 6% 96%, color-mix(in srgb, var(--accent-production) 5.5%, transparent), transparent 70%);
}

.floora-page-wash > * {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.btn:focus-visible {
  box-shadow: var(--focus-ring);
}

.btn-primary {
  background: var(--accent-production-solid);
  color: var(--text-on-brand);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 16%, transparent),
    0 1px 2px color-mix(in srgb, var(--accent-production) 28%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent-production) 32%, transparent);
}

.btn-primary:hover {
  background: var(--accent-production-solid-hover);
  color: var(--text-on-brand);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 16%, transparent),
    0 6px 16px color-mix(in srgb, var(--accent-production) 22%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent-production) 38%, transparent);
}

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

.btn-ghost:hover {
  background: color-mix(in srgb, var(--text-primary) 4%, transparent);
  color: var(--text-primary);
}

.btn-outline {
  background: var(--surface-1);
  color: var(--text-secondary);
  border-color: var(--border-color-strong);
}

.btn-outline:hover {
  background: var(--surface-2);
  border-color: color-mix(in srgb, var(--accent-production) 28%, var(--border-color-strong));
  color: var(--accent-production);
}

.btn-lg {
  padding: 14px 26px;
  font-size: var(--font-size-md);
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 7px 14px;
  font-size: var(--font-size-xs);
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg-atmosphere-base) 97%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border-color) 55%, transparent);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent-production) 50%, transparent),
    color-mix(in srgb, var(--accent-info) 35%, transparent)
  );
  opacity: 0.5;
}

.site-header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
  min-height: var(--nav-height);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  box-sizing: border-box;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-lockup:hover {
  color: var(--text-primary);
}

.brand-lockup__mark {
  width: 28px;
  height: 28px;
}

.brand-lockup__word {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  opacity: 0.92;
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
  margin-right: var(--space-2);
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  flex-shrink: 0;
  margin-left: auto;
}

.site-nav + .site-header__actions {
  margin-left: 0;
}

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

.lang-switch__item {
  min-width: 2.1rem;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 5px 8px;
  text-decoration: none;
}

.lang-switch__item:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--text-primary) 4%, transparent);
}

.lang-switch__item--active {
  background: color-mix(in srgb, var(--accent-production) 12%, var(--surface-1));
  color: var(--accent-production);
}

.nav-anchors-mobile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 0 10px;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--space-5);
  scrollbar-width: none;
  background: transparent;
  border-bottom: none;
}

.nav-anchors-mobile::-webkit-scrollbar {
  display: none;
}

.nav-anchors-mobile a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-anchors-mobile a:first-child {
  margin-left: calc(var(--space-5) - 6px);
}

.nav-anchors-mobile a:last-child {
  margin-right: var(--space-5);
}

.nav-anchors-mobile a:hover,
.nav-anchors-mobile a:focus-visible {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--text-primary) 5%, transparent);
  outline: none;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .nav-anchors-mobile {
    display: none;
  }

  .site-header__actions {
    margin-left: 0;
  }
}

@media (max-width: 899px) {
  .site-header__inner {
    padding: 0 var(--space-4);
    min-height: 56px;
    height: 56px;
    gap: var(--space-3);
  }

  .site-header__inner .brand-lockup {
    min-width: 40px;
    min-height: 40px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .site-header__actions .btn {
    min-height: 40px;
  }

  .site-header__signin {
    padding-inline: 10px;
    color: var(--text-secondary);
  }

  .site-header__signin:hover {
    color: var(--text-primary);
  }

  .site-header__actions .btn-primary.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
  }

  .lang-switch__item {
    min-width: 2rem;
    padding: 5px 7px;
  }

  .nav-anchors-mobile {
    scroll-padding-inline: var(--space-4);
    padding-bottom: 8px;
  }

  .nav-anchors-mobile a:first-child {
    margin-left: calc(var(--space-4) - 4px);
  }

  .nav-anchors-mobile a:last-child {
    margin-right: var(--space-4);
  }

}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--space-5);
}

.section[id],
.access-section[id] {
  scroll-margin-top: calc(var(--nav-height) + var(--space-2));
}

@media (max-width: 899px) {
  .section[id],
  .access-section[id] {
    scroll-margin-top: 104px;
  }
}

.section--tight {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: var(--measure);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--accent-production) 32%, var(--text-muted));
}

.section-label::before {
  content: '';
  width: 14px;
  height: 10px;
  flex-shrink: 0;
  background:
    linear-gradient(var(--accent-production), var(--accent-production)) left top / 1.5px 10px no-repeat,
    linear-gradient(var(--accent-production), var(--accent-production)) left top / 10px 1.5px no-repeat;
  opacity: 0.7;
}

.section h2 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.35rem, 2.4vw, var(--font-size-2xl));
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--text-primary);
}

.section__lead {
  margin: 0 0 var(--space-8);
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  max-width: 34rem;
  line-height: 1.55;
}

.section__lead--stack {
  display: grid;
  gap: var(--space-3);
}

.section__lead--stack p {
  margin: 0;
}

/* Hero — editorial product composition */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--space-5) clamp(3rem, 7vw, 5.5rem);
  min-height: min(calc(100svh - var(--nav-height) - 24px), 52rem);
  display: flex;
  align-items: center;
}

.hero__schematic {
  position: absolute;
  inset: -6% -6% -10% -4%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 108%;
  object-fit: cover;
  object-position: left bottom;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  /* Clear copy/product band; keep bay + route edges readable */
  mask-image: radial-gradient(
    ellipse 54% 58% at 58% 42%,
    transparent 0%,
    transparent 28%,
    #000 68%,
    #000 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 54% 58% at 58% 42%,
    transparent 0%,
    transparent 28%,
    #000 68%,
    #000 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__copy {
  max-width: 36rem;
  animation: flooraRise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.hero__brand img {
  width: 52px;
  height: 52px;
  filter: none;
}

.hero__brand-word {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--text-primary);
}

.hero h1 {
  margin: 0 0 var(--space-4);
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.55px;
  line-height: 1.08;
  max-width: 15.5ch;
  color: var(--text-primary);
  text-wrap: balance;
}

.hero__support {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(1.0625rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 31rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@keyframes flooraRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__copy,
  .hero__visual {
    animation: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}

.hero__visual {
  position: relative;
  min-height: 280px;
  justify-self: stretch;
  animation: flooraRise 0.8s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
  }

  .hero__schematic {
    inset: -8% -8% -12% -2%;
    min-width: 100%;
    opacity: 0.55;
    object-position: 62% 48%;
    mask-image: radial-gradient(
      ellipse 48% 52% at 62% 46%,
      transparent 0%,
      transparent 22%,
      #000 62%,
      #000 100%
    );
    -webkit-mask-image: radial-gradient(
      ellipse 48% 52% at 62% 46%,
      transparent 0%,
      transparent 22%,
      #000 62%,
      #000 100%
    );
  }

  .hero__visual {
    min-height: 460px;
  }
}

@media (max-width: 959px) {
  .hero {
    min-height: 0;
    padding-top: 1.75rem;
    padding-bottom: 2.5rem;
    align-items: flex-start;
  }

  .hero__schematic {
    inset: auto -8% -12% -8%;
    min-width: 110%;
    min-height: 70%;
    height: 70%;
    top: auto;
    opacity: 0.42;
    object-position: left bottom;
    mask-image: linear-gradient(to top, #000 22%, transparent 78%);
    -webkit-mask-image: linear-gradient(to top, #000 22%, transparent 78%);
  }

  .hero__inner {
    justify-items: center;
    gap: 1.75rem;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 36rem;
    width: 100%;
  }

  .hero__brand {
    display: none;
  }

  .hero h1 {
    text-align: center;
    max-width: 15ch;
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }

  .hero__support {
    text-align: center;
    max-width: 28rem;
    margin-bottom: 1.35rem;
  }

  .hero__ctas {
    width: 100%;
    max-width: 26rem;
    justify-content: center;
  }

  .hero__ctas .btn {
    justify-content: center;
  }

  .hero__live-desk {
    display: none;
  }

  .hero__visual {
    min-height: 0;
    margin-top: 0.25rem;
    width: 100%;
  }
}

/* Hero product stage */
.hero-compose {
  position: relative;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-compose__phone {
  position: relative;
  z-index: 2;
  margin-right: auto;
  margin-left: 4%;
}

.hero-compose__desk {
  position: absolute;
  right: -2%;
  top: 6%;
  width: min(100%, 460px);
  z-index: 1;
  transform: translateX(2%) rotate(-0.4deg);
  filter: drop-shadow(0 18px 40px rgba(24, 25, 27, 0.1));
}

.hero-compose__desk .desk-frame {
  border-radius: 14px;
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 55%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--accent-info) 16%, var(--border-color)),
    0 22px 48px rgba(24, 25, 27, 0.1);
}

.hero-compose__phone .phone-frame {
  position: relative;
  max-width: 292px;
  padding: 11px;
  border-radius: 32px;
  background: linear-gradient(160deg, #2a3038 0%, #15181c 100%);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 14%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--accent-production) 18%, #2a3038),
    0 32px 64px rgba(24, 25, 27, 0.2),
    0 12px 28px color-mix(in srgb, var(--accent-production) 14%, transparent);
}

.hero-compose__phone .phone-frame::before {
  content: '';
  position: absolute;
  left: 22%;
  right: 22%;
  top: 7px;
  height: 3px;
  border-radius: 2px;
  background: color-mix(in srgb, #fff 18%, transparent);
  pointer-events: none;
  z-index: 3;
}

@media (min-width: 960px) {
  .hero-compose__phone {
    margin-left: 0;
  }

  .hero-compose__desk {
    width: 82%;
    right: -4%;
  }
}

@media (max-width: 959px) {
  .hero-compose {
    justify-content: center;
  }

  .hero-compose__phone {
    max-width: 260px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Who */
.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.audience-list li {
  padding: var(--space-5) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}

.audience-list li:first-child {
  padding-top: 0;
}

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

.audience-list__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-1);
  font-size: var(--font-size-md);
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.35;
}

.audience-list__title::before {
  content: '';
  width: 12px;
  height: 8px;
  flex-shrink: 0;
  background:
    linear-gradient(var(--accent-production), var(--accent-production)) left top / 1px 8px no-repeat,
    linear-gradient(var(--accent-production), var(--accent-production)) left top / 8px 1px no-repeat;
  opacity: 0.55;
}

.audience-list p {
  margin: 0;
  padding-left: calc(12px + var(--space-2));
  font-size: var(--font-size-base);
  line-height: 1.55;
  color: var(--text-secondary);
}

.status-samples {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid color-mix(in srgb, var(--border-color) 70%, transparent);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--surface-2);
  color: var(--text-secondary);
}

.status-chip--live {
  background: color-mix(in srgb, var(--accent-production) 14%, transparent);
  color: var(--accent-production);
}

.status-chip--paused {
  background: color-mix(in srgb, var(--text-muted) 12%, transparent);
  color: var(--text-secondary);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--border-color) 30%, transparent);
}

.status-chip--attention {
  background: color-mix(in srgb, var(--accent-attention) 14%, transparent);
  color: var(--accent-attention);
}

.status-chip--quiet {
  background: var(--surface-2);
  color: var(--text-muted);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: livePulse 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.82);
  }
}

/* Workflow */
.workflow-band {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-3);
  -webkit-overflow-scrolling: touch;
}

.workflow-frame {
  flex: 0 0 min(280px, 82vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.workflow-frame__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-2xs);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: color-mix(in srgb, var(--accent-production) 42%, var(--text-muted));
}

.workflow-chevron {
  display: none;
  align-self: center;
  flex: 0 0 auto;
  color: var(--accent-production);
  opacity: 0.45;
  margin-top: 28px;
}

.workflow-note {
  margin: var(--space-6) 0 0;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .workflow-band {
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: var(--space-3);
  }

  .workflow-frame {
    flex: none;
    width: auto;
  }

  .workflow-chevron {
    display: block;
  }
}

/* Ops layout */
.ops-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .ops-grid {
    grid-template-columns: 1.7fr 1fr;
    align-items: start;
  }
}

/* Outcomes */
.kpi-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .kpi-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.kpi-card {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--surface-card-gradient);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 4%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--border-color) 40%, transparent),
    0 8px 20px rgba(24, 25, 27, 0.04);
}

.kpi-card--production {
  background: var(--surface-production-tint);
}

.kpi-card--cost {
  background: var(--surface-cost-tint);
}

.kpi-card__label {
  margin: 0 0 var(--space-2);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.kpi-card__value {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, var(--font-size-xl));
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.55px;
  color: var(--text-primary);
  line-height: 1.2;
}

.kpi-card--production .kpi-card__value {
  color: var(--accent-production);
}

.kpi-card--cost .kpi-card__value {
  color: var(--accent-cost);
}

.kpi-card__hint {
  margin: var(--space-1) 0 0;
  font-size: var(--font-size-2xs);
  color: var(--text-muted);
}

.soft-data-note {
  margin: var(--space-5) 0 0;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background:
    radial-gradient(
      ellipse 70% 50% at 0% 0%,
      color-mix(in srgb, var(--accent-cost) 8%, transparent) 0%,
      transparent 55%
    ),
    color-mix(in srgb, var(--accent-cost) 5%, var(--surface-1));
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text-secondary);
  /* Top status-bus + wash — same grammar as Live Floor cards, not a left rail */
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    inset 0 1.5px 0 0 var(--accent-cost),
    0 0 0 1px color-mix(in srgb, var(--accent-cost) 16%, transparent);
}

/* Fit */
.fit-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .fit-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .fit-visual-mobile-hide {
    display: block;
  }
}

.fit-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.fit-points li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fit-points h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font-size: var(--font-size-md);
  font-weight: 650;
  line-height: 1.35;
}

.fit-points h3::before {
  content: '';
  width: 12px;
  height: 8px;
  flex-shrink: 0;
  background:
    linear-gradient(var(--accent-production), var(--accent-production)) left top / 1px 8px no-repeat,
    linear-gradient(var(--accent-production), var(--accent-production)) left top / 8px 1px no-repeat;
  opacity: 0.55;
}

.fit-points span {
  padding-left: calc(12px + var(--space-2));
  font-size: var(--font-size-base);
  line-height: 1.55;
  color: var(--text-secondary);
}

.fit-summary {
  max-width: 44rem;
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.fit-summary h2 {
  margin: 0 0 var(--space-3);
}

.fit-summary p {
  max-width: 38rem;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.fit-summary .fit-summary__close {
  margin-top: var(--space-3);
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 899px) {
  .fit-visual-mobile-hide {
    display: none;
  }
}

/* FAQ — stacked cards matching app recent-task / card chrome */
.section__inner--faq {
  max-width: min(40rem, 100%);
}

.faq-intro {
  margin-bottom: var(--space-6);
}

.faq-intro .section__lead {
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}

.faq-item {
  margin: 0;
  background: var(--surface-card-gradient);
  border: none;
  border-radius: var(--radius-md);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--accent-production) 8%, transparent);
  overflow: hidden;
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.faq-item:hover {
  background: color-mix(in srgb, var(--accent-production) 4%, var(--surface-1));
}

.faq-item[open] {
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--accent-production) 28%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--accent-production) 12%, transparent);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 3rem;
  padding: var(--space-4) var(--space-5);
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: '';
}

.faq-item__q {
  flex: 1;
  min-width: 0;
  font-size: var(--font-size-md);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.1px;
  color: var(--text-primary);
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  background-color: var(--text-muted);
  opacity: 0.72;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
  background-color: var(--accent-production);
  opacity: 1;
}

.faq-item summary:hover .faq-item__q {
  color: color-mix(in srgb, var(--accent-production) 40%, var(--text-primary));
}

.faq-item summary:hover .faq-item__chevron {
  opacity: 1;
  background-color: var(--accent-production);
}

.faq-item summary:focus-visible {
  outline: none;
  box-shadow: inset var(--focus-ring);
}

.faq-item__a {
  margin: 0 var(--space-5) var(--space-4);
  padding: var(--space-3) 0 0;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--border-color) 55%, transparent);
}

.faq-item__a p {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 36rem;
}

.faq-foot {
  margin: var(--space-6) 0 0;
  padding: 0;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-muted);
}

.faq-foot a {
  font-weight: 600;
  color: var(--accent-production);
  text-decoration: none;
}

.faq-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  .faq-item summary {
    padding: var(--space-4);
  }

  .faq-item__q {
    font-size: var(--font-size-base);
  }

  .faq-item__a {
    margin-left: var(--space-4);
    margin-right: var(--space-4);
    margin-bottom: var(--space-4);
  }
}

@media (max-width: 380px) {
  .faq-list {
    gap: var(--space-2);
  }

  .faq-item summary {
    padding: var(--space-3) var(--space-3);
    gap: var(--space-2);
  }

  .faq-item__a {
    margin-left: var(--space-3);
    margin-right: var(--space-3);
    margin-bottom: var(--space-3);
  }
}

/* Pricing — compact company desk */
.section__inner--pricing {
  max-width: 40rem;
}

#pricing.section--tight {
  padding-top: clamp(2.5rem, 5vw, 3.25rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.25rem);
}

#pricing h2 {
  margin-bottom: var(--space-2);
}

.pricing-lead {
  margin-bottom: 0;
  max-width: 32rem;
  font-size: var(--font-size-base);
}

.pricing-desk {
  margin-top: var(--space-5);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 55%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--accent-production) 16%, var(--border-color)),
    0 12px 28px rgba(24, 25, 27, 0.06);
}

.pricing-desk__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4) var(--space-4);
  background:
    radial-gradient(ellipse 65% 45% at 0% 0%, color-mix(in srgb, var(--accent-production) 7%, transparent), transparent 55%),
    var(--bg-atmosphere-base);
}

.pricing-desk__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3) var(--space-4);
}

.pricing-desk__plan .ui-live-head {
  margin-bottom: 6px;
}

.pricing-desk__offer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.pricing-desk__offer strong {
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--accent-production) 24%, var(--border-color));
  border-radius: 999px;
  background: var(--surface-production-tint);
  color: var(--accent-production);
  font-size: 10px;
  line-height: 1;
}

.pricing-desk__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  line-height: 1;
}

.pricing-desk__amount {
  font-size: clamp(2rem, 4.5vw, 2.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1.2px;
  color: var(--accent-production);
}

.pricing-desk__period {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-desk__regular {
  margin: 6px 0 0;
  font-size: var(--font-size-2xs);
  color: var(--text-muted);
}

.pricing-desk__regular s {
  text-decoration-thickness: 1px;
}

.pricing-desk__cta {
  flex-shrink: 0;
  justify-content: center;
  text-align: center;
  min-width: 8.5rem;
}

.pricing-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: color-mix(in srgb, var(--border-color) 70%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--border-color) 40%, transparent);
}

.pricing-specs__item {
  margin: 0;
  padding: 10px 12px;
  background: var(--surface-1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pricing-specs__item:first-child {
  background: var(--surface-production-tint);
}

.pricing-specs__item:last-child {
  background: var(--surface-cost-tint);
}

.pricing-specs dt {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.pricing-specs dd {
  margin: 0;
  font-size: var(--font-size-2xs);
  line-height: 1.25;
  color: var(--text-secondary);
}

.pricing-specs dd strong {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.35px;
  color: var(--text-primary);
  line-height: 1.15;
}

.pricing-specs__item:first-child dd strong {
  color: var(--accent-production);
}

.pricing-specs__item:last-child dd strong {
  color: var(--accent-cost);
}

.pricing-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-foot__example {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px var(--space-3);
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--surface-1);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--border-color) 28%, transparent);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

.pricing-foot__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.pricing-foot__total {
  margin-left: auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
  color: var(--accent-production);
}

.pricing-foot__note {
  margin: 0;
  padding: 0 2px;
  font-size: var(--font-size-2xs);
  line-height: 1.35;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .pricing-desk__row {
    align-items: stretch;
  }

  .pricing-desk__cta {
    width: 100%;
  }

  .pricing-specs {
    grid-template-columns: 1fr;
  }

  .pricing-specs__item {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 10px 12px;
  }

  .pricing-specs dd {
    text-align: right;
  }

  .pricing-specs dd strong {
    display: inline;
    font-size: var(--font-size-sm);
  }

  .pricing-foot__total {
    margin-left: 0;
    width: 100%;
  }
}

/* Access */
.access-section {
  padding: var(--space-16) var(--space-5);
}

.access-panel {
  max-width: 32rem;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, color-mix(in srgb, var(--accent-production) 12%, transparent), transparent 70%),
    var(--surface-1);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--accent-production) 22%, transparent),
    0 18px 42px color-mix(in srgb, var(--accent-production) 8%, transparent),
    var(--shadow-lg);
}

.access-panel::before {
  content: '';
  display: block;
  height: 1px;
  margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-6)) var(--space-6);
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--accent-production) 55%, transparent),
    color-mix(in srgb, var(--accent-info) 40%, transparent),
    transparent
  );
}

.access-panel h2 {
  text-align: center;
}

.access-panel .section__lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-6);
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.field label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-secondary);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: var(--font-size-sm);
  padding: 10px 12px;
  border: 1px solid var(--border-color-strong);
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--text-primary);
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent-production);
  box-shadow: var(--focus-ring);
  outline: none;
}

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

.access-form__submit {
  width: 100%;
  margin-top: var(--space-2);
}

.access-cta-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.access-cta-stack .btn {
  width: 100%;
  justify-content: center;
}

.access-alt {
  margin: var(--space-5) 0 0;
  text-align: center;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text-muted);
}

.access-alt a {
  font-weight: 600;
  text-decoration: none;
}

.access-email-fallback {
  margin: var(--space-3) 0 0;
  text-align: center;
  font-size: var(--font-size-2xs);
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  position: relative;
  padding: var(--space-8) var(--space-5);
  border-top: 1px solid var(--border-subtle);
  isolation: isolate;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(220px, 42vw);
  height: 88px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22220%22%20height%3D%2288%22%20viewBox%3D%220%200%20220%2088%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M20%2048H200%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M36%2064H200%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221%22%20opacity%3D%220.7%22%2F%3E%3Cpath%20d%3D%22M52%2080H200%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221%22%20opacity%3D%220.45%22%2F%3E%3Cpath%20d%3D%22M88%2040v48M140%2040v48%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221%22%20stroke-dasharray%3D%222%205%22%20opacity%3D%220.5%22%2F%3E%3Crect%20x%3D%22196%22%20y%3D%2240%22%20width%3D%2214%22%20height%3D%2214%22%20rx%3D%222%22%20stroke%3D%22%230e7490%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  justify-content: space-between;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--font-size-sm);
}

.site-footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--text-primary);
}

.site-footer__copy {
  margin: 0;
  font-size: var(--font-size-2xs);
  color: var(--text-muted);
}

/* Legal pages */
.legal-page {
  padding: calc(var(--nav-height) + var(--space-10)) var(--space-5) var(--space-16);
}

.legal-doc {
  max-width: var(--measure);
  margin: 0 auto;
}

.legal-doc h1 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  letter-spacing: -0.4px;
  line-height: 1.2;
  color: var(--text-primary);
}

.legal-doc__updated {
  margin: 0 0 var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.legal-doc h2 {
  margin: var(--space-8) 0 var(--space-3);
  font-size: var(--font-size-lg);
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

.legal-doc p,
.legal-doc li {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

.legal-doc p {
  margin: 0 0 var(--space-4);
}

.legal-doc ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}

.legal-doc li {
  margin-bottom: var(--space-2);
}

.legal-doc li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-doc__nav {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  font-size: var(--font-size-sm);
}

.example-label {
  margin: 0 0 var(--space-4);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   Product UI compositions (faithful to app)
   ═══════════════════════════════════════════ */

.phone-frame {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 28px;
  padding: 10px;
  background: #1a1d21;
  box-shadow: var(--shadow-lg);
}

.phone-frame__screen {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-atmosphere-base);
  min-height: 420px;
}

.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--surface-1) 88%, transparent);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.phone-body {
  padding: 14px;
}

.desk-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-1);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 4%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--border-color) 40%, transparent),
    var(--shadow-md);
}

.desk-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-subtle);
}

.desk-chrome__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color-strong);
}

.desk-chrome__url {
  margin-left: 8px;
  font-size: 10px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.desk-body {
  padding: 14px 16px 16px;
  background: var(--bg-atmosphere-base);
}

/* Timer card (Active Task) */
.ui-timer {
  background: var(--surface-production-tint);
  border-radius: var(--radius-md);
  padding: 20px 16px 16px;
  text-align: center;
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--accent-production) 12%, transparent);
}

.ui-timer__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent-production) 14%, transparent);
  color: var(--accent-production);
}

.ui-timer__value {
  margin: 10px 0 6px;
  font-size: 44px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1.5px;
  line-height: 1;
  color: var(--accent-production);
}

.ui-timer__name {
  margin: 0;
  font-size: var(--font-size-md);
  font-weight: 650;
  letter-spacing: -0.2px;
}

.ui-timer__meta {
  margin: 6px 0 0;
  font-size: var(--font-size-2xs);
  color: var(--text-muted);
}

.ui-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.ui-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: var(--radius);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: none;
}

.ui-btn--production {
  background: var(--accent-production-solid);
  color: #fff;
}

.ui-btn--danger {
  background: var(--accent-attention-solid);
  color: #fff;
}

.ui-btn--muted {
  background: var(--surface-1);
  color: var(--text-secondary);
  box-shadow: 0 0 0 1px var(--border-color);
}

/* Start task picker */
.ui-step-title {
  margin: 0 0 10px;
  font-size: var(--font-size-sm);
  font-weight: 650;
}

.ui-cat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--surface-1);
  box-shadow: 0 0 0 1px var(--border-subtle);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.ui-cat-item--active {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-production) 40%, transparent);
  background: color-mix(in srgb, var(--accent-production) 6%, var(--surface-1));
  color: var(--accent-production);
  font-weight: 600;
}

.ui-cat-item small {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Complete / output */
.ui-form-block {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--border-color) 30%, transparent);
}

.ui-form-row {
  margin-bottom: 10px;
}

.ui-form-row:last-child {
  margin-bottom: 0;
}

.ui-form-row label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ui-form-row .ui-fake-input {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: var(--font-size-sm);
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

/* Live Floor */
.ui-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ui-live-head h3 {
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.ui-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: color-mix(in srgb, var(--accent-production) 14%, transparent);
  color: var(--accent-production);
}

.ui-room-label {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ui-live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ui-live-card {
  padding: 12px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(
      ellipse 60% 55% at 100% 0%,
      color-mix(in srgb, var(--accent-production) 5%, transparent) 0%,
      transparent 58%
    ),
    var(--surface-production-tint);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 4%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--accent-production) 10%, transparent);
  min-height: 108px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  isolation: isolate;
}

.ui-live-card--paused {
  opacity: 0.92;
  background: var(--surface-card-gradient);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--border-color) 45%, transparent);
}

/* Attention: top status-bus + wash — matches Live Floor, no left rail */
.ui-live-card--review {
  background:
    radial-gradient(
      ellipse 70% 50% at 0% 0%,
      color-mix(in srgb, var(--accent-attention) 8%, transparent) 0%,
      transparent 55%
    ),
    var(--surface-attention-tint);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    inset 0 1.5px 0 0 var(--accent-attention),
    0 0 0 1px color-mix(in srgb, var(--accent-attention) 18%, transparent);
}

.ui-live-card__top {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: flex-start;
}

.ui-live-card__name {
  font-size: var(--font-size-xs);
  font-weight: 650;
  line-height: 1.3;
}

.ui-live-card__status {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.ui-live-card__status--running {
  background: color-mix(in srgb, var(--accent-production) 14%, transparent);
  color: var(--accent-production);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-production) 16%, transparent);
}

.ui-live-card__status--paused {
  background: color-mix(in srgb, var(--text-muted) 12%, transparent);
  color: var(--text-secondary);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--border-color) 30%, transparent);
}

.ui-live-card__meta {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
}

.ui-live-card__stats {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}

.ui-live-card__elapsed {
  font-size: var(--font-size-md);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-production);
  letter-spacing: -0.3px;
}

.ui-live-card--paused .ui-live-card__elapsed {
  color: var(--text-secondary);
}

.ui-live-card--review .ui-live-card__elapsed {
  color: var(--accent-attention);
}

.ui-live-card__cost {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  color: var(--accent-cost);
  align-self: flex-end;
}

.ui-live-card__review {
  font-size: 10px;
  color: var(--accent-attention);
  font-weight: 500;
}

@media (max-width: 520px) {
  .ui-live-grid {
    grid-template-columns: 1fr;
  }

  .ui-live-card__stats {
    gap: 16px;
  }

  .ui-live-card__cost {
    margin-left: auto;
  }
}

/* Replay */
.ui-replay {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--border-color) 28%, transparent);
}

.ui-replay h4 {
  margin: 0 0 4px;
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.ui-replay__date {
  margin: 0 0 12px;
  font-size: var(--font-size-2xs);
  color: var(--text-muted);
}

.ui-timeline {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid color-mix(in srgb, var(--accent-production) 25%, transparent);
  margin-left: 6px;
}

.ui-timeline li {
  position: relative;
  padding: 0 0 12px 14px;
  font-size: var(--font-size-xs);
}

.ui-timeline li::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-production);
}

.ui-timeline li:last-child {
  padding-bottom: 0;
}

.ui-timeline time {
  display: block;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.ui-brief {
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background:
    radial-gradient(
      ellipse 70% 50% at 0% 0%,
      color-mix(in srgb, var(--accent-production) 8%, transparent) 0%,
      transparent 55%
    ),
    color-mix(in srgb, var(--accent-production) 5%, var(--surface-1));
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    inset 0 1.5px 0 0 var(--accent-production),
    0 0 0 1px color-mix(in srgb, var(--accent-production) 14%, transparent);
  overflow: hidden;
}

.ui-brief__label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-production);
}

.ui-brief p {
  margin: 0;
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Labour week view */
.ui-chart-panel {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: clamp(14px, 2vw, 20px);
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--border-color) 28%, transparent);
}

.ui-chart-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: 14px;
}

.ui-chart-panel__title {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.ui-chart-panel__range {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.ui-chart-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--border-color) 55%, transparent);
}

.ui-chart-summary__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ui-chart-summary__value {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.ui-chart-summary__value--hours {
  color: var(--accent-production);
}

.ui-chart-summary__value--cost {
  color: var(--accent-cost);
}

.ui-chart-summary__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.ui-week {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 16px);
  align-items: end;
  min-height: clamp(148px, 26vw, 188px);
  padding: 4px 2px 0;
}

.ui-week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 100%;
}

.ui-week-day__hours {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  line-height: 1;
}

.ui-week-day__track {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 88px;
}

.ui-week-day__bar {
  width: min(100%, 44px);
  height: var(--bar-h, 50%);
  min-height: 16px;
  border-radius: 4px 4px 2px 2px;
  background: var(--accent-production);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 16%, transparent);
}

.ui-week-day--peak .ui-week-day__bar {
  background: var(--accent-production-solid, var(--accent-production));
}

.ui-week-day__name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1;
}

.ui-week-day__cost {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent-cost);
  line-height: 1;
}

.ui-chart-caption {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 520px) {
  .ui-week {
    gap: 6px;
    min-height: 140px;
  }

  .ui-week-day {
    gap: 5px;
  }

  .ui-week-day__hours,
  .ui-week-day__cost {
    font-size: 10px;
  }

  .ui-week-day__name {
    font-size: 10px;
  }

  .ui-week-day__bar {
    width: min(100%, 36px);
  }

  .ui-chart-summary {
    gap: 8px 20px;
  }
}

/* Rooms config quiet panel */
.ui-rooms {
  background: var(--surface-1);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 3.5%, transparent) inset,
    0 0 0 1px color-mix(in srgb, var(--border-color) 28%, transparent);
}

.ui-rooms h4 {
  margin: 0 0 10px;
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.ui-room-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--font-size-sm);
}

.ui-room-row:first-of-type {
  border-top: none;
}

.ui-room-row span {
  font-size: var(--font-size-2xs);
  color: var(--text-muted);
}

/* Responsive overrides (after base so cascade wins) */
@media (max-width: 959px) {
  .hero__ctas .btn-lg {
    min-width: 9.5rem;
  }

  .section,
  .access-section {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .legal-page {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .access-section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__ctas .btn-lg {
    min-width: 0;
  }

  .site-header__inner {
    padding: 0 var(--space-3);
    gap: var(--space-2);
  }

  .brand-lockup {
    gap: var(--space-2);
  }

  .brand-lockup__mark {
    width: 26px;
    height: 26px;
  }

  .brand-lockup__word {
    letter-spacing: 0.14em;
    font-size: 11px;
  }

  .site-header__signin {
    padding-inline: 8px;
    font-size: 13px;
  }

  .site-header__actions .btn-primary.btn-sm {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .nav-anchors-mobile {
    scroll-padding-inline: var(--space-3);
  }

  .nav-anchors-mobile a {
    min-height: 40px;
    padding: 5px 12px;
    font-size: 12px;
  }

  .nav-anchors-mobile a:first-child {
    margin-left: calc(var(--space-3) - 2px);
  }

  .nav-anchors-mobile a:last-child {
    margin-right: var(--space-3);
  }

  .section,
  .access-section,
  .hero {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .legal-page {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .access-section {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .access-panel {
    padding: var(--space-6) var(--space-4);
  }

  .site-footer {
    padding: var(--space-6) var(--space-4);
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .workflow-frame {
    flex-basis: min(260px, 86vw);
  }

  .kpi-card__value {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 360px) {
  .brand-lockup__word {
    display: none;
  }

  .nav-anchors-mobile {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}
