/*
 * JC Developer site stylesheet.
 *
 * One hand-written file, no build step. It ports the design tokens and components of the former
 * Next.js + Tailwind application (src/app/globals.css and src/styles/*.css) to plain CSS with
 * readable component classes.
 *
 * Sections, in cascade order:
 *   1. Fonts           Self-hosted Inter (latin, latin-ext) and a metric-matched fallback.
 *   2. Tokens          Colors, surfaces, radii, shadows, motion and layout tokens.
 *   3. Product scopes  `[data-product="jc-inventory"]` recolors the brand tokens (teal).
 *   4. Base            Reset, document defaults, selection and the global focus ring.
 *   5. Typography      The `type-*` text styles and `measure`.
 *   6. Layout          Container, section bands, section heading and section spacing.
 *   7. Components      Skip link, logo, buttons, locale switcher, header, mobile menu, footer,
 *                      eyebrow, gradient text, icon tile, card, text link, pill, badge, lists.
 *   8. Home sections   Hero and its diagram, services, why, technologies, products, process, CTA.
 *   9. Inner pages     Hero entrance, page hero, breadcrumb, detail grid, lists, panels, pills.
 *  10. Services        Jump navigation and service blocks.
 *  11. Solutions       Overview cards and solution blocks.
 *  12. Products        Hub cards, products-or-custom note and the product landing sections.
 *  13. Product screens HTML/CSS recreations of the product interfaces (local light tokens).
 *  14. About           Reach diagram, who we are, mission and vision, values and approach.
 *  15. Privacy         Policy header, draft notice, table of contents, facts and providers.
 *  16. Not found       The 404 band.
 *  17. Contact         Hero, form card, form controls, states and the next-steps aside.
 *  18. Utilities       `sr-only`.
 *  19. Motion          Keyframes and the reduced-motion policy.
 *
 * Breakpoints (mobile first): sm 40rem (640px), md 48rem (768px), lg 64rem (1024px). Media queries
 * cannot read custom properties, so the values are written literally.
 *
 * Content Security Policy: `style-src 'self'`. Never use `style=""` attributes or inline <style>
 * elements; add a class here instead.
 */

/* =============================================================================================
 * 1. Fonts
 * Inter variable (weights 100-900), the files next/font downloaded for the former build. Only
 * the latin file is preloaded; latin-ext loads on demand through `unicode-range`.
 * ============================================================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Arial adjusted to Inter's metrics so the swap does not shift the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

/* =============================================================================================
 * 2. Tokens
 * One committed dark theme. Names follow the former design system (decision D12).
 * ============================================================================================= */

:root {
  color-scheme: dark;

  /* Brand */
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --on-brand: #f9fafb;

  /* Fills (D16): `primary` is the solid fill of buttons and `ring` the focus color. */
  --primary: var(--brand);
  --primary-foreground: var(--on-brand);
  --ring: var(--brand);

  /* Canvas and surfaces */
  --background: #0b1120;
  --foreground: #f9fafb;
  --surface-1: #111827;
  --surface-2: #0e1628;
  --line: rgb(148 163 184 / 0.16);
  --border: #1e293b;

  /* Semantic colors */
  --card: var(--surface-1);
  --card-foreground: var(--foreground);
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  /* `accent` is the subtle hover surface, not the cyan brand accent. */
  --accent: #182236;
  /* Border of form controls (inputs, selects, the consent checkbox). */
  --input: #1e293b;
  --destructive: #f87171;

  /* Shape */
  --radius: 0.625rem;
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-md: calc(var(--radius) * 0.8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
  --radius-2xl: calc(var(--radius) * 1.8);
  --radius-4xl: calc(var(--radius) * 2.6);

  /* Typography */
  --font-sans:
    "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 600ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-page: 75rem;
  --container-heading: 53.75rem;
  --container-measure: 65ch;
  --spacing-gutter: clamp(1rem, 4vw, 2.5rem);
  --spacing-band: clamp(4rem, 9vw, 8rem);
}

/*
 * Derived tokens. Declared for `:root` and for every product scope so each `var(--brand)` or
 * `var(--primary)` resolves against the scope that uses it instead of being fixed at the root.
 */
:root,
[data-product] {
  --brand-soft: color-mix(in oklab, var(--brand) 16%, transparent);
  --brand-deep: color-mix(in oklab, var(--primary) 82%, black);
  /* Radial brand glow behind hero, call-to-action bands and product cards. */
  --glow: radial-gradient(
    60% 50% at 50% 0%,
    var(--brand-soft),
    transparent 70%
  );

  /* Elevation: a soft drop shadow and a brand glow that follows the current scope. */
  --shadow-soft:
    0 1px 2px 0 rgb(0 0 0 / 0.35), 0 12px 32px -16px rgb(0 0 0 / 0.55);
  --shadow-glow:
    0 0 0 1px color-mix(in oklab, var(--brand-2) 30%, transparent),
    0 24px 64px -24px var(--brand), 0 0 40px -12px var(--brand-soft);
  /* Hairline ring used by cards (`ring-1 ring-foreground/10`). */
  --ring-card: 0 0 0 1px color-mix(in oklab, var(--foreground) 10%, transparent);
}

/* =============================================================================================
 * 3. Product scopes (D07, D12, D16)
 * A product block sets `data-product`. Accent colors text, eyebrows, pills, strokes and glows;
 * `primary` colors solid fills; `ring` colors focus. Contrast: white on #0f766e is about 5.5:1,
 * #5eead4 on the canvas about 12:1. JC Farma keeps the corporate palette and needs no block.
 * ============================================================================================= */

[data-product="jc-inventory"] {
  --brand: #0d9488;
  --brand-2: #5eead4;
  --on-brand: #ffffff;
  --primary: #0f766e;
  --primary-foreground: #ffffff;
  --ring: #5eead4;
}

/* =============================================================================================
 * 4. Base
 * ============================================================================================= */

*,
::before,
::after,
::backdrop {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}

html {
  height: 100%;
  font-family: var(--font-sans);
  line-height: 1.5;
  tab-size: 4;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background-color: var(--background);
  color: var(--foreground);
}

h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

ol,
ul {
  list-style: none;
}

img,
svg {
  display: block;
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

::selection {
  background-color: color-mix(in oklab, var(--brand) 45%, transparent);
  color: var(--foreground);
}

/* Smooth scrolling is itself motion: only when the user allows it. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/*
 * Global focus ring. Components with their own ring (buttons) override it; every other
 * interactive element gets this visible brand outline.
 */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================================================================
 * 5. Typography
 * Inter is variable, so weights such as 750 and 650 render as authored.
 * ============================================================================================= */

/* Hero headline. */
.type-display {
  font-size: clamp(2.75rem, 1.4rem + 5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
  color: var(--foreground);
}

/* Section title. */
.type-h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--foreground);
}

/* Card and list titles. */
.type-h3 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-wrap: balance;
  color: var(--foreground);
}

/* Supporting paragraph under a heading. */
.type-lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Small uppercase label that introduces a section; the line height keeps wrapped lines apart. */
.type-eyebrow,
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--brand-2);
}

/* Small muted uppercase label: footer group headings and technology group names. */
.type-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: calc(1 / 0.75);
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* Muted small body copy for cards and lists. */
.type-small {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* Comfortable reading measure for body copy. */
.measure {
  max-width: var(--container-measure);
}

/* =============================================================================================
 * 6. Layout
 * ============================================================================================= */

/* Page shell: 1200px content width, fluid gutter and safe-area padding. */
.container {
  width: 100%;
  max-width: calc(var(--container-page) + 2 * var(--spacing-gutter));
  margin-inline: auto;
  padding-inline: max(var(--spacing-gutter), env(safe-area-inset-left))
    max(var(--spacing-gutter), env(safe-area-inset-right));
}

/* Skip-link target: focusable by script only, without a focus ring of its own. */
.site-main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.site-main:focus,
.site-main:focus-visible {
  outline: none;
}

/* Full-width band with the shared vertical rhythm. */
.section {
  position: relative;
  padding-block: var(--spacing-band);
}

/* Alternate surface with a brand hairline on top. */
.section--alternate {
  background-color: var(--surface-2);
}

.section--alternate::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    color-mix(in oklab, var(--brand) 35%, transparent),
    transparent
  );
  background-image: linear-gradient(
    to right in oklab,
    transparent,
    color-mix(in oklab, var(--brand) 35%, transparent),
    transparent
  );
}

/* Radial brand glow behind hero and call-to-action bands. */
.section--glow {
  isolation: isolate;
}

.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--glow);
}

/* Eyebrow, heading and lead stacked with the shared rhythm. */
.section-heading {
  display: flex;
  max-width: var(--container-heading);
  flex-direction: column;
  gap: 1rem;
}

.section-heading--center {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

/* Content block that follows a section heading. */
.section__body {
  margin-top: 3rem;
}

/* Trailing action row of a section (for example "View all services"). */
.section__actions {
  display: flex;
  margin-top: 2.5rem;
}

@media (min-width: 64rem) {
  .section__body {
    margin-top: 4rem;
  }
}

/* =============================================================================================
 * 7. Components
 * ============================================================================================= */

/* --- Skip link: first focusable element, visible only while focused. ---------------------- */

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  border-radius: var(--radius-md);
  background-color: var(--brand);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: calc(1.25 / 0.875);
  color: var(--on-brand);
  box-shadow: var(--shadow-soft);
}

/* --- Logo: code-built glyph and wordmark. ------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: var(--radius-md);
  color: var(--foreground);
}

.logo__mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background-image: linear-gradient(
    to bottom right,
    var(--brand-deep),
    var(--brand),
    var(--brand-2)
  );
  background-image: linear-gradient(
    to bottom right in oklab,
    var(--brand-deep),
    var(--brand),
    var(--brand-2)
  );
  box-shadow: var(--shadow-soft);
  color: var(--on-brand);
}

.logo__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

/* --- Buttons ------------------------------------------------------------------------------
 * `.button` plus one variant (`--brand`, `--outline`, `--ghost`) and optionally one size
 * (`--lg`, `--xl`, `--icon`, `--icon-lg`). The default size is 36px high.
 */

.button {
  display: inline-flex;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding-inline: 0.625rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background-clip: padding-box;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  white-space: nowrap;
  user-select: none;
  outline: none;
  transition-property: all;
  transition-duration: var(--duration-fast);
  transition-timing-function: var(--ease-standard);
}

.button svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  pointer-events: none;
}

.button:active:not([aria-haspopup]) {
  translate: 0 1px;
}

/* Primary call to action: fill from `--primary` to a deeper shade; the cyan lives in the glow. */
.button--brand {
  background-image: linear-gradient(
    to bottom right,
    var(--primary),
    var(--brand-deep)
  );
  background-image: linear-gradient(
    to bottom right in oklab,
    var(--primary),
    var(--brand-deep)
  );
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}

.button--brand:hover {
  box-shadow: var(--shadow-glow);
  filter: brightness(110%);
}

.button--outline {
  border-color: var(--line);
  color: var(--foreground);
}

.button--outline:hover,
.button--outline[aria-expanded="true"] {
  border-color: color-mix(in oklab, var(--foreground) 25%, transparent);
  background-color: var(--accent);
}

.button--ghost:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.button:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
}

.button--brand:focus-visible {
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--ring) 40%, transparent),
    var(--shadow-soft);
}

.button--brand:hover:focus-visible {
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--ring) 40%, transparent),
    var(--shadow-glow);
}

.button--lg {
  height: 2.5rem;
}

.button--xl {
  height: 3rem;
  gap: 0.5rem;
  padding-inline: 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  line-height: 1.5;
}

.button--icon,
.button--icon-lg {
  width: 2.25rem;
  padding-inline: 0;
}

.button--icon-lg {
  width: 2.5rem;
  height: 2.5rem;
}

.button--block {
  width: 100%;
}

.button:disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* --- Locale switcher: one real link per locale, the current one highlighted. ------------- */

.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: color-mix(in oklab, var(--background) 60%, transparent);
  padding: 0.125rem;
}

.locale-switcher__link {
  display: inline-flex;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding-inline: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: calc(1 / 0.75);
  color: var(--muted-foreground);
  transition:
    color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
}

.locale-switcher__link:hover {
  background-color: color-mix(in oklab, var(--accent) 60%, transparent);
  color: var(--foreground);
}

.locale-switcher__link[aria-current="true"] {
  background-color: var(--accent);
  color: var(--foreground);
}

@media (pointer: coarse) {
  .locale-switcher__link {
    height: 2.75rem;
    padding-inline: 0.75rem;
  }
}

/* --- Site header: sticky translucent bar. -------------------------------------------------
 * Below lg the navigation and the locale switcher move into the mobile menu; below md the
 * call to action moves there too.
 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background-color: color-mix(in oklab, var(--background) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@supports (
  (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))
) {
  .site-header {
    background-color: color-mix(in oklab, var(--background) 70%, transparent);
  }
}

.site-header__inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav,
.site-header__locale,
.site-header__cta {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  border-radius: var(--radius-md);
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  color: var(--muted-foreground);
  transition: color var(--duration-fast) var(--ease-standard);
}

/* Active indicator: a cyan underline that fades in on the current section. */
.site-nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0.75rem;
  bottom: 0.125rem;
  height: 0.125rem;
  border-radius: 9999px;
  background-color: var(--brand-2);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-standard);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--foreground);
}

.site-nav__link[aria-current="page"]::after {
  opacity: 1;
}

@media (pointer: coarse) {
  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (min-width: 48rem) {
  .site-header__cta {
    display: inline-flex;
  }
}

@media (min-width: 64rem) {
  .site-header__inner {
    height: 4.5rem;
  }

  .site-nav {
    display: block;
  }

  .site-header__locale {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* --- Mobile menu: a modal <dialog> sliding in from the right (site/js/main.js). ----------- */

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 75%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border-left: 1px solid var(--line);
  background-color: var(--background);
  /* The translucent border shows the blurred page, not the panel fill. */
  background-clip: padding-box;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--foreground);
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.mobile-menu[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in 200ms ease-in-out;
}

.mobile-menu::backdrop {
  background-color: rgb(0 0 0 / 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: fade-in 100ms ease-out;
}

/* No page scrolling behind the open menu. */
html:has(.mobile-menu[open]) {
  overflow: hidden;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.25rem;
}

.mobile-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.75rem;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu__link {
  display: flex;
  height: 3rem;
  align-items: center;
  border-radius: var(--radius-md);
  padding-inline: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted-foreground);
  transition:
    color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
}

.mobile-menu__link:hover {
  background-color: var(--accent);
  color: var(--foreground);
}

.mobile-menu__link[aria-current="page"] {
  background-color: var(--brand-soft);
  color: var(--foreground);
}

.mobile-menu__footer {
  display: flex;
  margin-top: auto;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding: 1.25rem;
}

.mobile-menu__locale {
  align-self: flex-start;
}

@media (min-width: 40rem) {
  .mobile-menu {
    max-width: 24rem;
  }
}

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

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background-color: var(--surface-2);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-block: 3.5rem;
}

.site-footer__top {
  display: grid;
  gap: 2.5rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.site-footer__text {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--muted-foreground);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__link {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  transition: color var(--duration-fast) var(--ease-standard);
}

.site-footer__link:hover {
  color: var(--foreground);
}

.site-footer__nav {
  display: grid;
  gap: 2.5rem;
}

.site-footer__group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer__slogan {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  color: var(--foreground);
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem 1.5rem;
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

@media (min-width: 40rem) {
  .site-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

@media (min-width: 48rem) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 64rem) {
  .site-footer__inner {
    padding-block: 4rem;
  }

  .site-footer__top {
    grid-template-columns: 1.4fr 3fr;
    gap: 4rem;
  }
}

/* --- Eyebrow: uppercase label, optionally with a pinging status dot. --------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow__dot {
  position: relative;
  display: inline-flex;
  width: 0.375rem;
  height: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: var(--brand-2);
}

/* Expanding ring behind the dot (decorative; hidden when motion is reduced). */
.eyebrow__dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: var(--brand-2);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow__dot::before {
    display: none;
  }
}

/* --- Gradient text: brand-to-cyan key words in large headings. --------------------------- */

.gradient-text {
  background-image: linear-gradient(to right, var(--brand), var(--brand-2));
  background-image: linear-gradient(
    to right in oklab,
    var(--brand),
    var(--brand-2)
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Icon tile: lucide icon on a soft brand square. Sizes: default 44px, sm 36px, lg 56px. */

.icon-tile {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background-color: var(--brand-soft);
  color: var(--brand-2);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 25%, transparent);
}

.icon-tile svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-tile--sm {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
}

.icon-tile--sm svg {
  width: 1rem;
  height: 1rem;
}

.icon-tile--lg {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
}

.icon-tile--lg svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* --- Card: surface with a hairline ring; header, content and footer slots. --------------- */

.card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--card);
  padding-block: 1.5rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--card-foreground);
  box-shadow:
    var(--ring-card),
    0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.card__header {
  display: grid;
  grid-auto-rows: min-content;
  align-items: start;
  gap: 1rem;
  padding-inline: 1.5rem;
}

.card__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-inline: 1.5rem;
}

.card__footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  padding-inline: 1.5rem;
}

/* --- Text link with a trailing arrow that nudges right on hover. ------------------------- */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  color: var(--brand-2);
  transition: color var(--duration-fast) var(--ease-standard);
}

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

.text-link svg {
  width: 1rem;
  height: 1rem;
  transition: translate var(--duration-fast) var(--ease-out);
}

.text-link:hover svg {
  translate: 0.125rem 0;
}

/* --- Pill: hairline chip for short labels such as technology names. ---------------------- */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background-color: var(--surface-1);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

/* --- Badge: brand-tinted category chip. -------------------------------------------------- */

.badge {
  display: inline-flex;
  width: fit-content;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--brand) 40%, transparent);
  border-radius: var(--radius-4xl);
  background-color: var(--brand-soft);
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: calc(1 / 0.75);
  white-space: nowrap;
  color: var(--brand-2);
}

/* --- Check list: short highlights with a check mark, two columns from sm. ---------------- */

.check-list {
  display: grid;
  gap: 0.625rem;
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

.check-list__item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand-2);
}

@media (min-width: 40rem) {
  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Feature list: icon, title and text in a ruled list, two columns from md. ------------ */

.feature-list {
  display: grid;
  column-gap: 2.5rem;
}

.feature-list__item {
  display: flex;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
}

.feature-list__icon {
  margin-top: 0.125rem;
}

.feature-list__body {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.feature-list__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
}

@media (min-width: 48rem) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list__item {
    padding-block: 1.75rem;
  }
}

/* --- Numbered steps: ruled sequence with a round counter. -------------------------------- */

.steps {
  display: grid;
  gap: 2.5rem 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.step__number {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--brand-soft);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: calc(1.25 / 0.875);
  font-variant-numeric: tabular-nums;
  color: var(--brand-2);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 25%, transparent);
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =============================================================================================
 * 8. Home sections
 * ============================================================================================= */

/* --- Hero ------------------------------------------------------------------------------- */

.hero {
  overflow: hidden;
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.hero__content {
  display: flex;
  max-width: var(--container-heading);
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero__actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.75rem;
}

/* Entrances land on the resting state, so the copy is complete at first paint. */
.hero__eyebrow,
.hero__title,
.hero__lead,
.hero__actions {
  animation: rise var(--duration-slow) var(--ease-out) both;
}

.hero__title {
  animation-delay: 80ms;
}

.hero__lead {
  animation-delay: 160ms;
}

.hero__actions {
  animation-delay: 240ms;
}

@media (min-width: 40rem) {
  .hero__actions {
    width: auto;
    flex-direction: row;
  }
}

@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

/* --- Hero visual: code-built architecture diagram (decorative, aria-hidden). ------------- */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.hero-visual__stage {
  position: relative;
}

/* Drifting blurred orbs behind the panel; the hero clips them. */
.hero-visual__orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-visual__orb--brand {
  top: -3rem;
  left: -3rem;
  width: 16rem;
  height: 16rem;
  background-color: color-mix(in oklab, var(--brand) 30%, transparent);
}

.hero-visual__orb--accent {
  right: -2.5rem;
  bottom: -3.5rem;
  width: 18rem;
  height: 18rem;
  background-color: color-mix(in oklab, var(--brand-2) 20%, transparent);
  animation-delay: -9s;
}

.hero-visual__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background-color: color-mix(in oklab, var(--surface-1) 70%, transparent);
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-glow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (min-width: 64rem) {
  .hero-visual {
    max-width: none;
  }
}

.hero-diagram {
  display: block;
  width: 100%;
  height: auto;
}

.hero-diagram__grid-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.hero-diagram__fade-stop {
  stop-color: var(--brand);
}

.hero-diagram__cloud {
  animation: fade-up var(--duration-slow) var(--ease-out) both;
}

.hero-diagram__cloud-box {
  fill: color-mix(in oklab, var(--brand) 5%, transparent);
  stroke: color-mix(in oklab, var(--brand) 40%, transparent);
  stroke-width: 1.25;
  stroke-dasharray: 6 6;
}

.hero-diagram__icon {
  stroke: var(--brand-2);
}

/* Connections: a hairline that draws in, then a dashed flow on top. */
.hero-diagram__links {
  fill: none;
  stroke-linecap: round;
}

.hero-diagram__link {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  animation: draw 1.2s var(--ease-out) both;
}

.hero-diagram__flow {
  stroke: color-mix(in oklab, var(--brand-2) 70%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 4 10;
  animation: flow 1.6s linear infinite;
}

.hero-diagram__caption {
  fill: var(--brand-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-diagram__label {
  fill: var(--foreground);
  font-size: 13px;
  font-weight: 600;
}

.hero-diagram__box {
  fill: var(--surface-2);
  stroke: var(--line);
  stroke-width: 1.25;
  paint-order: stroke;
}

.hero-diagram__gateway {
  fill: var(--brand-soft);
  stroke: color-mix(in oklab, var(--brand) 60%, transparent);
  stroke-width: 1.5;
}

.hero-diagram__dot {
  fill: var(--brand-2);
}

.hero-diagram__ping {
  fill: color-mix(in oklab, var(--brand-2) 50%, transparent);
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Nodes pop in one after another, 80ms apart (step 0 to step 8). */
.hero-diagram__node {
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.5s var(--ease-spring) both;
}

.hero-diagram__node--step-1 {
  animation-delay: 80ms;
}

.hero-diagram__node--step-2 {
  animation-delay: 160ms;
}

.hero-diagram__node--step-3 {
  animation-delay: 240ms;
}

.hero-diagram__node--step-4 {
  animation-delay: 320ms;
}

.hero-diagram__node--step-5 {
  animation-delay: 400ms;
}

.hero-diagram__node--step-6 {
  animation-delay: 480ms;
}

.hero-diagram__node--step-7 {
  animation-delay: 560ms;
}

.hero-diagram__node--step-8 {
  animation-delay: 640ms;
}

/* --- Services preview: three-column card grid. ------------------------------------------ */

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid__item {
  display: flex;
}

.service-card {
  width: 100%;
  gap: 1.25rem;
  transition: box-shadow var(--duration-fast) var(--ease-out);
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: var(--ring-card), var(--shadow-glow);
}

@media (min-width: 48rem) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --- Why JC Developer: heading beside a two-column feature list. ------------------------ */

.why__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 64rem) {
  .why__grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 5rem;
  }
}

/* --- Technologies: four ruled groups of pills. ------------------------------------------ */

.tech-groups {
  display: grid;
  gap: 2rem;
}

.tech-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

@media (min-width: 40rem) {
  .tech-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .tech-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --- Product cards: a scoped card per product; the glow follows `data-product`. --------- */

.product-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background-color: var(--card);
  padding: 1.75rem;
  box-shadow: var(--ring-card);
}

.product-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: -1;
  height: 12rem;
  /* `data-product` sits on the card itself, so `--glow` resolves against its scope. */
  background-image: var(--glow);
}

.product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card__title {
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
}

.product-card__text {
  color: var(--muted-foreground);
}

.product-card__action {
  display: flex;
  margin-top: auto;
  padding-top: 0.5rem;
}

@media (min-width: 40rem) {
  .product-card {
    padding: 2.25rem;
  }
}

@media (min-width: 64rem) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Call-to-action band: centered heading and actions on the glow. --------------------- */

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  .cta-band__actions {
    flex-direction: row;
  }
}

/* =============================================================================================
 * 9. Inner pages
 * Pieces shared by the services, solutions, products, about and privacy pages: hero entrance,
 * page hero, breadcrumb, detail grid, lists, panels and pill variants.
 * ============================================================================================= */

/* --- Hero entrance: the former `animate-rise` utility, staggered 80ms apart. ------------- */

.rise {
  animation: rise var(--duration-slow) var(--ease-out) both;
}

.rise--d1 {
  animation-delay: 80ms;
}

.rise--d2 {
  animation-delay: 160ms;
}

.rise--d3 {
  animation-delay: 240ms;
}

.rise--d4 {
  animation-delay: 320ms;
}

.rise--d5 {
  animation-delay: 400ms;
}

/* --- Page hero: lighter than the home hero (softer glow, smaller display size, no visual). */

.page-hero::before {
  opacity: 0.6;
}

.page-hero--product::before {
  opacity: 0.7;
}

/* Reduced bottom rhythm so the next block stays near the fold. */
.page-hero--compact {
  padding-bottom: 3rem;
}

.page-hero--legal,
.page-hero--contact {
  padding-bottom: 2.5rem;
}

@media (min-width: 64rem) {
  .page-hero--compact {
    padding-bottom: 4rem;
  }

  .page-hero--legal,
  .page-hero--contact {
    padding-bottom: 3.5rem;
  }
}

.page-hero__content {
  display: flex;
  max-width: var(--container-heading);
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Display styling with a smaller size range than the home hero. */
.page-hero__title {
  font-size: clamp(2.5rem, 1.3rem + 4vw, 4.25rem);
}

/* One-line note under the lead (the solutions disclaimer). */
.page-hero__note {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: color-mix(in oklab, var(--muted-foreground) 80%, transparent);
}

/* --- Breadcrumb: muted trail; the last item is the current page and never a link. -------- */

.breadcrumb {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--muted-foreground);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb__separator {
  width: 0.875rem;
  height: 0.875rem;
  color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
}

.breadcrumb__link {
  transition: color var(--duration-fast) var(--ease-standard);
}

.breadcrumb__link:hover {
  color: var(--foreground);
}

.breadcrumb__current {
  font-weight: 500;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

/* --- Text styles ------------------------------------------------------------------------ */

/* Section title at a smaller size range (products difference, product problem). */
.type-h2--compact {
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);
}

/* Large body copy next to a heading. */
.body-lg {
  font-size: 1.125rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

/* --- Buttons and links with a trailing arrow that nudges on hover. ----------------------- */

.has-arrow svg {
  transition: translate var(--duration-base) var(--ease-out);
}

.has-arrow:hover svg {
  translate: 0.125rem 0;
}

.has-arrow--down:hover svg {
  translate: 0 0.125rem;
}

/*
 * Long button labels ("Talk to us about Dedicated Development Teams") wrap below sm instead of
 * widening the page. The former site overflowed horizontally at 390px on /es/services and
 * /es/solutions because these labels never wrapped.
 */
@media (max-width: 39.9375rem) {
  .button--wrap {
    height: auto;
    min-height: 2.5rem;
    padding-block: 0.5rem;
    white-space: normal;
    text-align: center;
  }
}

/* Same-colored brand link with an arrow (about page). */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--brand-2);
  transition: color var(--duration-fast) var(--ease-standard);
}

.arrow-link:hover {
  color: var(--foreground);
}

.arrow-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: translate var(--duration-base) var(--ease-out);
}

.arrow-link:hover svg {
  translate: 0.125rem 0;
}

/* --- Pill variants ----------------------------------------------------------------------- */

/* Secondary chip without a surface (related technologies). */
.pill--quiet {
  background-color: transparent;
  color: var(--muted-foreground);
}

/* Chip that links to a service. */
.pill--link {
  transition:
    color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}

.pill--link:hover {
  border-color: color-mix(in oklab, var(--foreground) 25%, transparent);
  background-color: var(--accent);
  color: var(--foreground);
}

/* --- Section modifiers ------------------------------------------------------------------- */

/* A band that continues the previous one (the solutions overview under its hero). */
.section--flush-top {
  padding-top: 0;
}

/* Anchor target below the sticky header. */
.section--anchor {
  scroll-margin-top: 6rem;
}

/* --- Detail grid: identity column (5 of 12) beside the body column (7 of 12) from lg. -----
 * One `minmax(0, 1fr)` column on small screens, so long content wraps instead of widening it.
 * `--reverse` swaps the columns from lg so consecutive blocks stay distinguishable.
 */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.detail-grid__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.detail-grid__body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  .detail-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }

  .detail-grid__identity {
    grid-column: span 5 / span 5;
  }

  .detail-grid__body {
    grid-column: span 7 / span 7;
  }

  .detail-grid--reverse .detail-grid__identity {
    order: 2;
  }

  .detail-grid--reverse .detail-grid__body {
    order: 1;
  }
}

/* --- Lists and panels -------------------------------------------------------------------- */

/* Uppercase label and its content under a hairline. */
.ruled-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* Label and content without a rule. */
.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Sentences with a leading dot or check mark. */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bullet-list__item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

.bullet-list__item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand-2);
}

.bullet-list__dot {
  width: 0.375rem;
  height: 0.375rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
  border-radius: 9999px;
  background-color: color-mix(
    in oklab,
    var(--muted-foreground) 70%,
    transparent
  );
}

/* Rows separated by hairlines, with a hairline above and below the list. */
.ruled-list {
  border-block: 1px solid var(--line);
}

.ruled-list > li + li {
  border-top: 1px solid var(--line);
}

.ruled-list__item {
  padding-block: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

/* Rounded surface with a hairline ring. */
.surface-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: var(--radius-xl);
  background-color: var(--surface-1);
  padding: 1.5rem;
  box-shadow: 0 0 0 1px var(--line);
}

/* =============================================================================================
 * 10. Services
 * ============================================================================================= */

/* --- Jump navigation: anchor rail that scrolls sideways on small screens and sticks under
 * the header from lg. The rail bleeds into the gutters so the chips scroll to the edge.
 */

.jump-nav {
  z-index: 30;
  border-block: 1px solid var(--line);
  background-color: color-mix(in oklab, var(--background) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@supports (
  (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))
) {
  .jump-nav {
    background-color: color-mix(in oklab, var(--background) 70%, transparent);
  }
}

.jump-nav__list {
  display: flex;
  gap: 0.5rem;
  margin-inline: calc(var(--spacing-gutter) * -1);
  overflow-x: auto;
  padding: 0.75rem var(--spacing-gutter);
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--spacing-gutter);
  scrollbar-width: none;
}

.jump-nav__list::-webkit-scrollbar {
  display: none;
}

.jump-nav__item {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.jump-nav__link {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding-inline: 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  white-space: nowrap;
  color: var(--muted-foreground);
  transition:
    color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}

.jump-nav__link:hover {
  border-color: color-mix(in oklab, var(--foreground) 25%, transparent);
  background-color: var(--accent);
  color: var(--foreground);
}

.jump-nav__link svg {
  width: 1rem;
  height: 1rem;
  color: var(--brand-2);
}

@media (min-width: 64rem) {
  .jump-nav {
    position: sticky;
    top: 4.5rem;
  }
}

/* --- Service block: one band per service; anchors land below the header and the rail. ---- */

.service-detail {
  scroll-margin-top: 6rem;
}

.service-detail__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Visual position counter; the headings carry the order for assistive technology. */
.service-detail__counter {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: calc(1.25 / 0.875);
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}

.service-detail__lists {
  display: grid;
  gap: 2rem;
}

@media (min-width: 40rem) {
  .service-detail__lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .service-detail {
    scroll-margin-top: 9rem;
  }
}

/* =============================================================================================
 * 11. Solutions
 * ============================================================================================= */

/* --- Overview: six compact cards that double as in-page navigation. --------------------- */

.overview {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.overview-grid {
  display: grid;
  gap: 1.25rem;
}

.overview-grid__item {
  display: flex;
}

.overview-card {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
  border-radius: var(--radius-xl);
  background-color: var(--surface-1);
  padding: 1.5rem;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.overview-card:hover,
.overview-card:focus-within {
  box-shadow:
    0 0 0 1px var(--line),
    var(--shadow-glow);
}

.overview-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overview-card__arrow {
  width: 1rem;
  height: 1rem;
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
  transition:
    color var(--duration-base) var(--ease-out),
    translate var(--duration-base) var(--ease-out);
}

.overview-card:hover .overview-card__arrow {
  translate: 0 0.125rem;
  color: var(--brand-2);
}

/* Stretches the hit area over the card; the accessible name stays the title. */
.overview-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
}

@media (min-width: 48rem) {
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --- Solution block ---------------------------------------------------------------------- */

.solution-detail {
  scroll-margin-top: 6rem;
}

/* Tighter than `type-h2` so "Transformation" and "Automatización" fit the identity column. */
.solution-detail__title {
  font-size: clamp(2rem, 1.1rem + 2.6vw, 3.25rem);
}

.solution-detail__panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.solution-detail__footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.solution-detail__related {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  .solution-detail__footer {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 64rem) {
  .solution-detail__panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =============================================================================================
 * 12. Products
 * Hub cards reuse the home `.product-card`; landings wrap their sections in `.product-page`,
 * which carries `data-product` when the product has an accent scope.
 * ============================================================================================= */

/* --- Hub cards --------------------------------------------------------------------------- */

.product-card__tagline {
  font-size: 1rem;
  line-height: 1.5;
}

.product-card__actions {
  display: flex;
  margin-top: auto;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

@media (min-width: 40rem) {
  .product-card__title--hub {
    font-size: 1.875rem;
    line-height: calc(2.25 / 1.875);
  }

  .product-card__actions {
    flex-direction: row;
  }
}

/* --- Products or custom software: heading beside the note. ------------------------------ */

.difference {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.difference__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 64rem) {
  .difference {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }

  .difference__heading {
    grid-column: span 5 / span 5;
  }

  .difference__body {
    grid-column: span 7 / span 7;
  }
}

/* --- Landing ----------------------------------------------------------------------------- */

.product-page {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-hero__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-hero__tagline {
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

.product-hero__description {
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.product-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

@media (min-width: 40rem) {
  .product-hero__actions {
    flex-direction: row;
  }
}

/* What the product solves: heading (4 of 12) and statement (8 of 12) under a hairline. */
.product-problem {
  padding-top: 0;
}

.product-problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

@media (min-width: 64rem) {
  .product-problem {
    padding-top: 1rem;
  }

  .product-problem__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
    padding-top: 4rem;
  }

  .product-problem__heading {
    grid-column: span 4 / span 4;
  }

  .product-problem__body {
    grid-column: span 8 / span 8;
  }
}

/* Capabilities: compact tiles, up to four per row. */
.capability-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.capability {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-xl);
  background-color: var(--surface-1);
  padding: 0.875rem 1rem;
  box-shadow: 0 0 0 1px var(--line);
}

.capability__check {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--brand-soft);
  color: var(--brand-2);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 25%, transparent);
}

.capability__check svg {
  width: 0.875rem;
  height: 0.875rem;
}

.capability__name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: calc(1.25 / 0.875);
  color: var(--foreground);
}

@media (min-width: 40rem) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .capability-grid {
    margin-top: 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 80rem) {
  .capability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Screen recreation, sized to its container so it scales like a picture. */
.product-screen-frame {
  width: 100%;
  max-width: 56rem;
  margin: 2.5rem auto 0;
}

.product-screen__caption {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--muted-foreground);
}

@media (min-width: 64rem) {
  .product-screen-frame {
    margin-top: 3.5rem;
  }
}

/* Benefits: numbered panels, two per row from sm. The number reuses `.step__number`. */
.benefit-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  border-radius: var(--radius-xl);
  background-color: var(--surface-1);
  padding: 1.5rem;
  box-shadow: 0 0 0 1px var(--line);
}

.benefit .step__number {
  flex-shrink: 0;
}

.benefit__text {
  font-size: 1rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

@media (min-width: 40rem) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .benefit-grid {
    margin-top: 3rem;
  }
}

/* Fit band: sectors, availability and related services as three peer blocks. */
.fit-grid {
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.fit-grid__list {
  margin-top: 1rem;
}

.modality {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
}

.modality__text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 90%, transparent);
}

@media (min-width: 64rem) {
  .fit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    padding-top: 4rem;
  }
}

/* =============================================================================================
 * 13. Product screens (former src/styles/product-screens.css)
 * Each recreation is a `figure.product-screen` that establishes an inline-size container. The
 * window derives its font size from the container width and sizes everything in `em`, so the
 * screen scales like a picture between 5.4px and 12.5px per em (about 335px to 775px of
 * container width). Below a 520px container the sidebar is hidden to keep the main area legible.
 *
 * The product interfaces are light, so the `--ui-*` tokens describe a light application surface
 * and stay local to the recreation. The accent follows the page scope (`--primary`, `--brand`):
 * JC Inventory renders teal inside `[data-product="jc-inventory"]`, JC Farma the corporate blue.
 * ============================================================================================= */

.product-screen {
  container-type: inline-size;
  margin: 0;
}

/* The window. `role="img"` lives here; the inner content is decorative. */
.product-screen-window {
  --ui-bg: #eef2f7;
  --ui-surface: #ffffff;
  --ui-surface-2: #f6f8fb;
  --ui-border: #dde3ec;
  --ui-text: #0f172a;
  --ui-muted: #5b6b80;
  --ui-faint: #94a3b8;
  --ui-accent: var(--primary);
  --ui-on-accent: var(--primary-foreground);
  --ui-accent-soft: color-mix(in oklab, var(--primary) 12%, white);
  --ui-ok-bg: #e6f6ee;
  --ui-ok-text: #14734a;
  --ui-warn-bg: #fff3df;
  --ui-warn-text: #9a4b00;
  --ui-warn-row: #fff9ec;
  --ui-dot-1: #f87171;
  --ui-dot-2: #fbbf24;
  --ui-dot-3: #34d399;

  display: flex;
  flex-direction: column;
  height: 38em;
  overflow: hidden;
  border-radius: 1em;
  background: var(--ui-bg);
  color: var(--ui-text);
  font-family: var(--font-sans);
  font-size: clamp(5.4px, calc(100cqi / 62), 12.5px);
  line-height: 1.3;
  text-align: left;
  user-select: none;
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--brand-2) 35%, transparent),
    0 48px 120px -48px var(--brand),
    0 24px 64px -32px rgb(0 0 0 / 0.7);
}

.product-screen-window * {
  box-sizing: border-box;
}

/* Decorative wrapper (`aria-hidden`) that fills the window. */
.ps-window {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

/* Title bar with the three window dots and the product name. */
.ps-titlebar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.55em;
  height: 2.6em;
  padding: 0 1.1em;
  background: var(--ui-surface);
  border-bottom: 1px solid var(--ui-border);
}

.ps-dot {
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background: var(--ui-dot-1);
}

.ps-dot:nth-child(2) {
  background: var(--ui-dot-2);
}

.ps-dot:nth-child(3) {
  background: var(--ui-dot-3);
}

.ps-title {
  flex: 1;
  margin-left: 0.6em;
  overflow: hidden;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--ui-muted);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Sidebar with the product modules. */
.ps-sidebar {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 0.2em;
  width: 14em;
  padding: 1.1em 0.8em;
  overflow: hidden;
  background: var(--ui-surface);
  border-right: 1px solid var(--ui-border);
}

.ps-brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.1em 0.6em 1em;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ps-brand-mark {
  display: inline-grid;
  flex: none;
  width: 1.7em;
  height: 1.7em;
  place-items: center;
  border-radius: 0.45em;
  background: var(--ui-accent);
  color: var(--ui-on-accent);
  font-size: 0.8em;
  font-weight: 800;
}

.ps-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.5em 0.65em;
  border-radius: 0.5em;
  color: var(--ui-muted);
  font-size: 0.92em;
  font-weight: 500;
  white-space: nowrap;
}

/* A neutral glyph stands in for the module icons so the markup stays small. */
.ps-nav-item::before {
  content: "";
  flex: none;
  width: 0.85em;
  height: 0.85em;
  border: 0.13em solid currentColor;
  border-radius: 0.25em;
  opacity: 0.65;
}

.ps-nav-item.is-active {
  background: var(--ui-accent-soft);
  color: var(--ui-accent);
  font-weight: 600;
}

.ps-nav-item.is-active::before {
  opacity: 1;
}

/* Main column: top bar and page. */
.ps-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.ps-topbar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  height: 3.2em;
  padding: 0 1.3em;
  background: var(--ui-surface);
  border-bottom: 1px solid var(--ui-border);
}

.ps-select {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.4em 0.8em;
  border: 1px solid var(--ui-border);
  border-radius: 0.5em;
  background: var(--ui-surface-2);
  font-size: 0.88em;
  font-weight: 500;
  white-space: nowrap;
}

.ps-select-label {
  color: var(--ui-muted);
  font-weight: 400;
}

.ps-select::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  margin-top: -0.2em;
  border: solid var(--ui-muted);
  border-width: 0 0.14em 0.14em 0;
  transform: rotate(45deg);
}

.ps-user {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.88em;
  font-weight: 500;
  white-space: nowrap;
}

.ps-user-role {
  color: var(--ui-muted);
  font-weight: 400;
}

.ps-avatar {
  display: inline-grid;
  width: 2.1em;
  height: 2.1em;
  place-items: center;
  border-radius: 50%;
  background: var(--ui-accent);
  color: var(--ui-on-accent);
  font-size: 0.78em;
  font-weight: 700;
}

.ps-page {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1em;
  min-height: 0;
  padding: 1.3em;
  overflow: hidden;
}

.ps-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1em;
}

.ps-h1 {
  margin: 0;
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.ps-sub {
  margin: 0.25em 0 0;
  color: var(--ui-muted);
  font-size: 0.88em;
}

.ps-tag {
  flex: none;
  padding: 0.35em 0.75em;
  border: 1px solid var(--ui-border);
  border-radius: 999em;
  background: var(--ui-surface);
  color: var(--ui-muted);
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

/* Cards, tables, chips, badges and buttons. */
.ps-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--ui-border);
  border-radius: 0.75em;
  background: var(--ui-surface);
}

.ps-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.8em 1em;
  border-bottom: 1px solid var(--ui-border);
  font-size: 0.9em;
  font-weight: 600;
}

.ps-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.6em;
  max-width: 24em;
  padding: 0.45em 0.8em;
  border: 1px solid var(--ui-border);
  border-radius: 0.5em;
  background: var(--ui-surface-2);
  color: var(--ui-faint);
  font-size: 0.88em;
  font-weight: 400;
}

.ps-search::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  border: 0.14em solid currentColor;
  border-radius: 50%;
}

.ps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}

.ps-table th {
  padding: 0.6em 0.9em;
  border-bottom: 1px solid var(--ui-border);
  color: var(--ui-muted);
  font-size: 0.76em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.ps-table td {
  padding: 0.7em 0.9em;
  border-bottom: 1px solid var(--ui-border);
  white-space: nowrap;
}

.ps-table .is-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ps-table .is-muted {
  color: var(--ui-muted);
}

.ps-row.is-warn td {
  background: var(--ui-warn-row);
}

.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.22em 0.6em;
  border-radius: 999em;
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

.ps-badge::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
}

.ps-badge.is-ok {
  background: var(--ui-ok-bg);
  color: var(--ui-ok-text);
}

.ps-badge.is-warn {
  background: var(--ui-warn-bg);
  color: var(--ui-warn-text);
}

.ps-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.ps-chip {
  padding: 0.35em 0.8em;
  border: 1px solid var(--ui-border);
  border-radius: 999em;
  background: var(--ui-surface);
  color: var(--ui-muted);
  font-size: 0.84em;
  font-weight: 500;
  white-space: nowrap;
}

.ps-chip.is-active {
  border-color: transparent;
  background: var(--ui-accent-soft);
  color: var(--ui-accent);
  font-weight: 600;
}

.ps-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.8em;
  padding: 0 1.2em;
  border-radius: 0.6em;
  background: var(--ui-accent);
  color: var(--ui-on-accent);
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
}

.ps-button.is-secondary {
  border: 1px solid var(--ui-border);
  background: var(--ui-surface);
  color: var(--ui-text);
}

.ps-button.is-large {
  height: 3.3em;
  font-size: 1.05em;
}

/* Point of sale layout: cart on the left, payment summary on the right. */
.ps-pos {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) 16.5em;
  gap: 1em;
  min-height: 0;
}

.ps-summary {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
  padding: 1em;
}

.ps-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  color: var(--ui-muted);
  font-size: 0.9em;
}

.ps-summary-row .is-num {
  font-variant-numeric: tabular-nums;
}

.ps-summary-row.is-grand {
  margin-top: 0.3em;
  padding-top: 0.8em;
  border-top: 1px solid var(--ui-border);
  color: var(--ui-text);
  font-size: 1.1em;
  font-weight: 700;
}

.ps-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-top: auto;
}

/* Inventory layout: indicators above the table. */
.ps-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8em;
}

.ps-stat {
  padding: 0.8em 1em;
  border: 1px solid var(--ui-border);
  border-radius: 0.75em;
  background: var(--ui-surface);
}

.ps-stat-label {
  margin: 0;
  color: var(--ui-muted);
  font-size: 0.78em;
  font-weight: 500;
  white-space: nowrap;
}

.ps-stat-value {
  margin: 0.2em 0 0;
  font-size: 1.35em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.ps-stat-value.is-warn {
  color: var(--ui-warn-text);
}

/* Narrow containers: the sidebar goes, the page keeps its proportions. */
@container (max-width: 519.9px) {
  .ps-sidebar {
    display: none;
  }
}

/* =============================================================================================
 * 14. About
 * ============================================================================================= */

/* --- Hero with the decorative reach diagram beside the text from lg. --------------------- */

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.about-visual {
  position: relative;
  display: none;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}

.about-visual__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* The hairline token disappears against the glow, so the rings take faint brand strokes. */
.about-visual__ring--outer {
  stroke: color-mix(in oklab, var(--brand) 25%, transparent);
}

.about-visual__ring--dashed {
  stroke: color-mix(in oklab, var(--brand) 35%, transparent);
}

.about-visual__ring--inner {
  stroke: color-mix(in oklab, var(--brand) 45%, transparent);
}

.about-visual__ring--core {
  stroke: color-mix(in oklab, var(--brand-2) 55%, transparent);
}

.about-visual__spoke {
  stroke: color-mix(in oklab, var(--brand) 30%, transparent);
}

.about-visual__node {
  fill: var(--background);
  stroke: color-mix(in oklab, var(--brand) 60%, transparent);
}

.about-visual__node-core {
  fill: var(--brand);
}

/* Origin node in HTML so the ping scales from its own center. */
.about-visual__origin {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  translate: -50% -50%;
}

.about-visual__ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--brand-2) 70%, transparent);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.about-visual__dot {
  position: relative;
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background-color: var(--brand-2);
  box-shadow: 0 0 0 4px var(--background);
}

@media (prefers-reduced-motion: reduce) {
  .about-visual__ping {
    display: none;
  }
}

@media (min-width: 64rem) {
  .about-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }

  .about-visual {
    display: block;
  }
}

/* --- Who we are: the company in three paragraphs beside a facts column. ----------------- */

.who__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.who__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.who__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.who__facts {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Business unit row linking to its page. */
.unit-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
  transition: color var(--duration-fast) var(--ease-standard);
}

.unit-link:hover {
  color: var(--brand-2);
}

.unit-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--brand-2);
  transition: translate var(--duration-base) var(--ease-out);
}

.unit-link:hover svg {
  translate: 0.125rem 0;
}

@media (min-width: 64rem) {
  .who__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }

  .who__main {
    grid-column: span 7 / span 7;
  }

  .who__facts {
    grid-column: span 5 / span 5;
    border-left: 1px solid var(--line);
    padding-left: 3rem;
  }
}

/* --- Mission and vision: two statements behind a left accent rule. --------------------- */

.statements {
  display: grid;
  gap: 3rem;
}

.statement {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.statement__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.statement__text {
  border-left: 2px solid var(--brand);
  padding-left: 1.5rem;
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--foreground);
}

.statement__text--vision {
  border-left-color: var(--brand-2);
}

@media (min-width: 64rem) {
  .statements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}

/* --- Values: ruled entries with a bare icon, three per row from lg. -------------------- */

.value-grid {
  display: grid;
  gap: 2.5rem 2rem;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 2px solid color-mix(in oklab, var(--brand) 40%, transparent);
  padding-left: 1.5rem;
}

.value__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-2);
}

@media (min-width: 40rem) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --- Approach: heading and onward links beside the four pillars. ----------------------- */

.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

.approach__intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.approach__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .approach__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }

  .approach__intro {
    grid-column: span 5 / span 5;
  }

  .approach__pillars {
    grid-column: span 7 / span 7;
  }
}

/* =============================================================================================
 * 15. Privacy
 * Single reading column with a table of contents that becomes a sticky side column from lg.
 * ============================================================================================= */

/* Display styling at a smaller size range: legal pages lead with reading. */
.privacy-header__title {
  font-size: clamp(2.25rem, 1.3rem + 3.2vw, 3.75rem);
}

.privacy-header__updated {
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: var(--muted-foreground);
}

.privacy-header__updated time {
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

/* Draft notice, shown while an owner fact is pending (`null` in siteConfig). */
.draft-note {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px dashed color-mix(in oklab, var(--brand-2) 50%, transparent);
  border-radius: var(--radius-xl);
  background-color: var(--brand-soft);
  padding: 1rem;
}

.draft-note__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand-2);
}

.draft-note__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.draft-note__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: calc(1.25 / 0.875);
  color: var(--foreground);
}

.draft-note__text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  padding-bottom: var(--spacing-band);
}

.privacy-toc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.privacy-toc__list {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.privacy-toc__link {
  display: block;
  margin-left: -1px;
  border-left: 1px solid transparent;
  padding: 0.375rem 0 0.375rem 1rem;
  color: var(--muted-foreground);
  transition:
    color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}

.privacy-toc__link:hover {
  border-left-color: var(--brand-2);
  color: var(--foreground);
}

.privacy-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3rem;
}

/* One policy section; anchors land below the sticky header. */
.policy-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-margin-top: 6rem;
}

.policy-text {
  font-size: 1rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style-type: disc;
  font-size: 1rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.policy-list li::marker {
  color: var(--brand-2);
}

/* Owner facts as label/value rows. */
.fact-list {
  display: grid;
  gap: 0.75rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background-color: var(--surface-1);
  padding: 1.25rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

.fact-list__row {
  display: contents;
}

.fact-list dt {
  font-weight: 500;
  color: var(--muted-foreground);
}

.fact-list dd {
  overflow-wrap: break-word;
  color: var(--foreground);
}

/* Visible marker for an owner fact that is still pending; never mistaken for real content. */
.pending-value {
  display: inline-block;
  border: 1px dashed color-mix(in oklab, var(--destructive) 70%, transparent);
  border-radius: var(--radius-sm);
  background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
  padding: 0.125rem 0.375rem;
  font-weight: 500;
  color: var(--destructive);
}

/* Underlined brand link inside running text. */
.inline-link {
  font-weight: 500;
  color: var(--brand-2);
  text-decoration-line: underline;
  text-underline-offset: 4px;
  transition: color var(--duration-fast) var(--ease-standard);
}

.inline-link:hover {
  color: var(--foreground);
}

.provider-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.provider-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background-color: var(--surface-1);
  padding: 1.25rem;
}

.provider-card__name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--foreground);
}

.provider-card__text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.provider-card__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
}

/* Link to another site that opens in a new tab, marked with an arrow. */
.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  color: var(--brand-2);
  text-decoration-line: underline;
  text-underline-offset: 4px;
  transition: color var(--duration-fast) var(--ease-standard);
}

.external-link:hover {
  color: var(--foreground);
}

.external-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (min-width: 40rem) {
  .draft-note {
    padding: 1.25rem;
  }

  .fact-list {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (min-width: 64rem) {
  .privacy-layout {
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    gap: 4rem;
  }

  .privacy-toc {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}

/* =============================================================================================
 * 16. Not found
 * ============================================================================================= */

/* The band fills the space between header and footer and centers its content. */
.not-found {
  display: flex;
  flex: 1;
  align-items: center;
}

.not-found__actions {
  display: flex;
  margin-top: 2rem;
  justify-content: center;
}

/* =============================================================================================
 * 17. Contact
 * The contact page: the form card beside the "what happens next" aside, the form controls
 * (former shadcn/ui input, textarea, select and checkbox) and the states driven by
 * site/js/contact.js. The hero uses the page hero with `page-hero--contact`.
 * ============================================================================================= */

/* --- Layout: the form first in the DOM; from lg it sits on the right of the sticky aside. -- */

.contact {
  padding-top: 0;
}

.contact__grid {
  display: grid;
  gap: 3rem;
}

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  .contact {
    padding-top: 0.5rem;
  }

  .contact__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }

  .contact__main {
    grid-column: 6 / span 7;
  }

  .contact__aside {
    position: sticky;
    top: 7rem;
    grid-column: 1 / span 5;
    grid-row-start: 1;
    align-self: start;
  }
}

/* --- Form card: tighter spacing than the default card on small screens. ----------------- */

.contact-card {
  gap: 1.25rem;
  padding-block: 1.25rem;
}

.contact-card__header {
  gap: 0.5rem;
}

.contact-card__header,
.contact-card__content {
  padding-inline: 1.25rem;
}

.contact-card__description {
  color: var(--muted-foreground);
}

@media (min-width: 40rem) {
  .contact-card {
    gap: 2rem;
    padding-block: 2rem;
  }

  .contact-card__header,
  .contact-card__content {
    padding-inline: 2rem;
  }
}

/* --- Form structure ---------------------------------------------------------------------- */

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form[hidden] {
  display: none;
}

/* Name, email, company and country: two columns from sm. */
.contact-form__row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .contact-form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-form__noscript {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--surface-2);
  padding: 0.75rem 1rem;
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

/* Label, control, help row and error, stacked. */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  user-select: none;
}

/* Help text on the left, the character counter on the right. */
.form-field__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  color: var(--muted-foreground);
}

.form-field__counter {
  font-variant-numeric: tabular-nums;
}

.form-field__error {
  font-weight: 500;
  color: var(--destructive);
}

/* --- Controls: hairline border, soft shadow, a 3px ring on focus and on errors. ---------- */

.input,
.textarea,
.select__control,
.checkbox__input {
  border: 1px solid var(--input);
  background-color: transparent;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  outline: none;
  transition-property: color, box-shadow;
  transition-duration: var(--duration-fast);
  transition-timing-function: var(--ease-standard);
}

.input,
.textarea,
.select__control {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-md);
}

.input {
  height: 2.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 1rem;
  line-height: 1.5;
}

.textarea {
  display: flex;
  min-height: 9rem;
  padding: 0.5rem 0.625rem;
  font-size: 1rem;
  line-height: 1.5;
  field-sizing: content;
}

@media (min-width: 48rem) {
  .input,
  .textarea {
    font-size: 0.875rem;
    line-height: calc(1.25 / 0.875);
  }
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}

/* Native select drawn like the former select trigger, with the chevron laid over it. */
.select {
  position: relative;
  display: flex;
  width: 100%;
}

/* Chrome places the text of a native select at the top of its content box, so the top padding is
   1px shorter than the bottom one to match the vertically centered text of the former trigger. */
.select__control {
  height: 2.25rem;
  padding: 0.4375rem 1.875rem 0.5625rem 0.625rem;
  appearance: none;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}

/* The placeholder option is selected: muted, like the former `data-placeholder` trigger. */
.select__control:has(option[value=""]:checked) {
  color: var(--muted-foreground);
}

.select__control option,
.select__control optgroup {
  background-color: var(--surface-1);
  color: var(--foreground);
}

/* Inside the 1px border and the 0.5rem right padding, like the former trigger icon. */
.select__icon {
  position: absolute;
  top: 50%;
  right: calc(0.5rem + 1px);
  width: 1rem;
  height: 1rem;
  translate: 0 -50%;
  color: var(--muted-foreground);
  pointer-events: none;
}

@media (min-width: 40rem) {
  .select--narrow {
    max-width: 20rem;
  }
}

.input:focus-visible,
.textarea:focus-visible,
.select__control:focus-visible,
.checkbox__input:focus-visible {
  border-color: var(--ring);
  outline: none;
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent),
    0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select__control[aria-invalid="true"],
.checkbox__input[aria-invalid="true"] {
  border-color: var(--destructive);
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--destructive) 20%, transparent),
    0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.input:disabled,
.textarea:disabled,
.select__control:disabled,
.checkbox__input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* --- Consent: a 16px checkbox beside the statement and the privacy note. ----------------- */

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox {
  position: relative;
  display: flex;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.checkbox__input {
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
}

.checkbox__input:checked,
.checkbox__input:checked[aria-invalid="true"] {
  border-color: var(--primary);
  background-color: var(--primary);
}

.checkbox__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.875rem;
  height: 0.875rem;
  translate: -50% -50%;
  color: var(--primary-foreground);
  pointer-events: none;
  visibility: hidden;
}

.checkbox__input:checked + .checkbox__icon {
  visibility: visible;
}

.consent__text {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.consent__label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.375;
  user-select: none;
  cursor: pointer;
}

.consent__note {
  line-height: 1.625;
  color: var(--muted-foreground);
}

.consent__link {
  font-weight: 500;
  color: var(--foreground);
  text-decoration-line: underline;
  text-underline-offset: 4px;
  transition: color var(--duration-fast) var(--ease-standard);
}

.consent__link:hover {
  color: var(--brand-2);
}

/* --- Turnstile, honeypot and the submit row ---------------------------------------------- */

.contact-form__captcha {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Flexible widgets fill their container (minimum 300px); the cap keeps the bar short. */
.turnstile {
  width: 100%;
  max-width: 100%;
  min-height: 4rem;
  overflow: hidden;
}

@media (min-width: 40rem) {
  .turnstile {
    max-width: 28rem;
  }
}

/* Honeypot: off-screen, out of the tab order and hidden from assistive technology. */
.contact-form__honeypot {
  position: absolute;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.contact-form__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__alert {
  border: 1px solid color-mix(in oklab, var(--destructive) 40%, transparent);
  border-radius: var(--radius-md);
  background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
  padding: 0.75rem 1rem;
  line-height: 1.625;
  color: var(--foreground);
}

.contact-form__alert[hidden] {
  display: none;
}

.contact-form__submit {
  min-width: 11rem;
}

/* --- Success state: replaces the form once the inquiry is sent. -------------------------- */

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  outline: none;
}

.contact-success[hidden] {
  display: none;
}

.contact-success__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-success__body {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

/* --- Aside: numbered next steps and the company facts. ----------------------------------- */

.contact__next {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-steps__number {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--brand-soft);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: calc(1.25 / 0.875);
  font-variant-numeric: tabular-nums;
  color: var(--brand-2);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 25%, transparent);
}

.contact-steps__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-steps__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-steps__description {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.contact__company {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.contact__facts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: color-mix(in oklab, var(--foreground) 85%, transparent);
}

.contact__fact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact__fact-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand-2);
}

/* =============================================================================================
 * 18. Utilities
 * ============================================================================================= */

/* Visually hidden, still announced by assistive technology. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-width: 0;
}

/* =============================================================================================
 * 19. Motion
 * CSS only. Every keyframe lands on the resting state, so content is complete when an animation
 * is skipped, finished or neutralized. `ping` and `flow` decorate empty or aria-hidden shapes.
 * ============================================================================================= */

/* Enter from slightly below with a hint of rotation; used for hero lines. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.4em) rotate(0.4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

/* Plain fade and lift. */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Small scale-in for diagram nodes. */
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Expanding ring behind a status dot. */
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Slow movement for blurred background orbs. */
@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, -6%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-3%, 5%, 0) scale(1);
  }
}

/* Reveals a path drawn with pathLength="1" and stroke-dasharray: 1. */
@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Moves a dashed stroke along its path; -28 is a multiple of the `4 10` dash period. */
@keyframes flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -28;
  }
}

/* Mobile menu entrance from the right. */
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateX(2.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*
 * Motion is an enhancement: content must be complete and readable without it. Delays are
 * cleared too, so staggered entrances (the hero diagram nodes) do not stay hidden for their
 * delay before they appear.
 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  ::backdrop {
    animation-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
