:root {
  --ink: #152331;
  --ink-deep: #0d1823;
  --ink-soft: #33485a;
  --steel: #53677d;
  --steel-deep: #3d5065;
  --steel-pale: #dce4e9;
  --surface: #f4f6f7;
  --surface-alt: #e8edf0;
  --white: #ffffff;
  --accent: #d88a2f;
  --accent-dark: #a86119;
  --success: #4d8065;
  --warning: #bc7a2a;
  --line: #cbd4da;
  --line-dark: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 64px rgba(13, 24, 35, 0.14);
  --max-width: 1240px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: 4.65rem;
  font-weight: 650;
}

h2 {
  margin-bottom: 1.35rem;
  font-size: 3rem;
  font-weight: 620;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  font-weight: 650;
}

address {
  font-style: normal;
}

.page-shell {
  width: min(calc(100% - 56px), var(--max-width));
  margin-inline: auto;
}

.section-space {
  padding-block: 7rem;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
}

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

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

.draft-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 160;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  max-width: 430px;
  padding: 0.55rem 0.75rem;
  color: #4a2d0c;
  background: rgba(255, 239, 214, 0.94);
  border: 1px solid rgba(151, 92, 24, 0.35);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(13, 24, 35, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.76rem;
  line-height: 1.35;
}

.draft-banner strong {
  flex: 0 0 auto;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--steel-deep);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.76);
}

.large-copy {
  font-size: 1.23rem;
  line-height: 1.65;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.75fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 0.3rem;
  color: var(--ink-soft);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  padding-top: 0.85rem;
  pointer-events: none;
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 1rem 0.7rem 1.25rem;
  color: var(--white);
  background: rgba(13, 24, 35, 0.43);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  box-shadow: 0 10px 34px rgba(5, 13, 20, 0.11);
  backdrop-filter: blur(18px) saturate(125%);
  transition: background-color 180ms ease, box-shadow 180ms ease;
  pointer-events: auto;
}

.site-header.is-scrolled .header-inner {
  background: rgba(13, 24, 35, 0.88);
  box-shadow: 0 12px 32px rgba(5, 13, 20, 0.18);
}

.site-header-light .header-inner {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(83, 103, 125, 0.25);
}

.site-header-light.is-scrolled .header-inner {
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand img {
  width: 190px;
  height: auto;
  object-fit: contain;
}

.brand-on-dark img {
  filter: drop-shadow(0 1px 8px rgba(9, 19, 29, 0.16));
}

.brand-on-light img {
  width: 178px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.3rem;
  left: 0.75rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.main-nav .nav-applications {
  color: #ffd6a5;
}

.site-header-light .main-nav .nav-applications {
  color: var(--accent-dark);
}

.main-nav .nav-contact {
  margin-left: 0.35rem;
  padding-inline: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.site-header-light .main-nav .nav-contact {
  border-color: rgba(21, 35, 49, 0.25);
}

.main-nav .nav-contact::after {
  display: none;
}

.language-control {
  flex: 0 0 auto;
  margin-left: auto;
}

.language-select {
  width: 116px;
  min-height: 40px;
  padding: 0.45rem 0.55rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.language-select option {
  color: var(--ink);
  background: var(--white);
}

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

.site-header-light .language-select {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(21, 35, 49, 0.28);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
  cursor: pointer;
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.menu-toggle {
  display: none;
}

.menu-toggle .close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button-accent {
  color: #241608;
  background: var(--accent);
  border-color: var(--accent);
}

.button-accent:hover {
  background: #e19a46;
  border-color: #e19a46;
}

.button-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  background: var(--steel-deep);
  border-color: var(--steel-deep);
}

.button-compact {
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  color: var(--white);
  background: var(--steel-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  color: var(--accent-dark);
  font-size: 1.15rem;
}

.hero {
  position: relative;
  height: 88svh;
  min-height: 700px;
  max-height: 900px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  height: 74px;
  background: linear-gradient(to bottom, rgba(244, 246, 247, 0), var(--surface));
  content: "";
  pointer-events: none;
}

.hero-media-frame,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media-frame {
  display: block;
  margin: 0;
}

.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 15, 23, 0.84) 0%, rgba(12, 24, 34, 0.6) 36%, rgba(12, 24, 34, 0.12) 68%, rgba(12, 24, 34, 0.02) 100%),
    linear-gradient(0deg, rgba(9, 18, 27, 0.6), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 8rem;
}

.hero-content h1 {
  max-width: 700px;
  font-size: 3.75rem;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(4, 10, 15, 0.45);
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.24rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-facts {
  position: absolute;
  right: 0;
  bottom: 2.2rem;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0.75rem 0;
  background: rgba(18, 32, 45, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  backdrop-filter: blur(14px);
}

.hero-facts div {
  min-width: 0;
  padding: 0.35rem 1.5rem;
}

.hero-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts span,
.hero-facts strong {
  display: block;
}

.hero-facts span {
  margin-bottom: 0.15rem;
  color: #ffd09a;
  font-size: 1.05rem;
  font-weight: 760;
}

.hero-facts strong {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.77rem;
  font-weight: 600;
}

.capabilities {
  background: var(--surface);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-item {
  position: relative;
  min-width: 0;
  padding: 2.4rem 2.2rem 2.6rem;
}

.capability-item + .capability-item {
  border-left: 1px solid var(--line);
}

.capability-item-accent::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  content: "";
}

.capability-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 2rem;
  place-items: center;
  color: var(--steel-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.capability-icon svg {
  width: 25px;
  height: 25px;
}

.capability-item > p {
  color: var(--ink-soft);
}

.featured-application {
  background: var(--surface-alt);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 6rem;
  align-items: center;
}

.feature-copy h2 {
  max-width: 630px;
}

.status-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
}

.status-label span {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(77, 128, 101, 0.12);
}

.compact-specs {
  margin: 2rem 0 2.3rem;
  border-top: 1px solid var(--line);
}

.compact-specs div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.compact-specs dt {
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 700;
}

.compact-specs dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.control-preview {
  min-width: 0;
  color: #e9f0f4;
  background: #142433;
  border: 1px solid #607083;
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-toolbar {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background: #0d1924;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
}

.preview-toolbar div {
  display: flex;
  gap: 0.35rem;
}

.preview-toolbar i {
  width: 8px;
  height: 8px;
  background: var(--steel);
  border-radius: 50%;
}

.preview-toolbar i:nth-child(2) {
  background: var(--accent);
}

.preview-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem 0.65rem;
}

.preview-status span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #aebdca;
  font-size: 0.72rem;
  font-weight: 700;
}

.signal-live {
  width: 7px;
  height: 7px;
  background: #69ad82;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(105, 173, 130, 0.12);
}

.preview-status strong {
  color: #d6e1e8;
  font-size: 0.8rem;
}

.preview-queue {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.6rem 1.25rem 1rem;
}

.preview-queue span {
  position: relative;
  display: grid;
  min-height: 62px;
  place-items: center;
  color: #f2dfc5;
  background: rgba(216, 138, 47, 0.13);
  border: 1px solid rgba(216, 138, 47, 0.55);
  border-radius: 4px;
  font-weight: 760;
}

.preview-queue .queue-first {
  color: #ddf3e5;
  background: rgba(77, 128, 101, 0.2);
  border-color: #69ad82;
}

.preview-queue .queue-empty {
  color: #748594;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.preview-queue small {
  position: absolute;
  top: 0.2rem;
  right: 0.35rem;
  color: #7f909e;
  font-size: 0.55rem;
}

.preview-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0 1.25rem 1rem;
}

.preview-filters span {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  gap: 0 0.35rem;
  align-items: center;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.035);
  border-top: 2px solid #536678;
}

.preview-filters i {
  width: 7px;
  height: 7px;
  background: #607182;
  border-radius: 50%;
}

.preview-filters i.filter-active {
  background: #69ad82;
}

.preview-filters i.filter-running,
.preview-filters i.filter-queued {
  background: var(--accent);
}

.preview-filters b {
  font-size: 0.78rem;
}

.preview-filters small {
  grid-column: 2;
  color: #7f909e;
  font-size: 0.6rem;
}

.preview-trace {
  height: 90px;
  padding: 0 1.25rem 1.2rem;
}

.preview-trace svg {
  width: 100%;
  height: 100%;
  stroke: #6ca9a0;
  stroke-width: 2;
}

.preview-trace .trace-secondary {
  stroke: var(--accent);
  opacity: 0.8;
}

.project-teaser {
  background: var(--white);
}

.project-teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 7rem;
  align-items: start;
}

.project-teaser-case {
  padding: 2rem 0 0 2.5rem;
  border-top: 3px solid var(--accent);
  border-left: 1px solid var(--line);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  color: var(--steel-deep);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: 7rem;
  background: #dce5ea;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(220, 229, 234, 0.96), rgba(220, 229, 234, 0.72)), url("assets/hero-automation-programming-v3.jpg");
  background-image: linear-gradient(90deg, rgba(220, 229, 234, 0.96), rgba(220, 229, 234, 0.72)), image-set(url("assets/hero-automation-programming-v3.webp") type("image/webp"), url("assets/hero-automation-programming-v3.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  opacity: 0.3;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  gap: 6rem;
  align-items: start;
}

.contact-intro h2 {
  max-width: 590px;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.contact-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-links svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
}

.contact-form {
  padding: 2.1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(83, 103, 125, 0.28);
  border-radius: 6px;
  box-shadow: 0 18px 54px rgba(22, 40, 56, 0.1);
  backdrop-filter: blur(18px);
}

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

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  color: var(--steel-deep);
  font-size: 0.78rem;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #9eacb6;
  border-radius: 4px;
}

.field input {
  height: 48px;
  padding: 0 0.8rem;
}

.field textarea {
  min-height: 132px;
  padding: 0.7rem 0.8rem;
  resize: vertical;
}

.form-privacy {
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.85rem 0 0;
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 650;
}

.page-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-deep);
}

.page-hero-compact {
  min-height: 500px;
}

.page-hero-media,
.page-hero-pattern,
.page-hero-shade,
.page-hero-compact::after {
  position: absolute;
  inset: 0;
}

.page-hero-media,
.page-hero-pattern {
  background-image: url("assets/hero-automation-programming-v3.jpg");
  background-image: image-set(url("assets/hero-automation-programming-v3.webp") type("image/webp"), url("assets/hero-automation-programming-v3.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
}

.page-hero-shade,
.page-hero-compact::after {
  background: linear-gradient(90deg, rgba(8, 17, 25, 0.89), rgba(12, 26, 38, 0.62) 53%, rgba(12, 26, 38, 0.18));
  content: "";
}

.page-hero-compact .page-hero-pattern {
  background-position: center 48%;
  opacity: 0.55;
}

.page-hero-profile .page-hero-pattern {
  background-position: center 42%;
}

.page-hero-projects .page-hero-pattern {
  background-position: center 54%;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  padding-top: 8.5rem;
  padding-bottom: 4rem;
}

.page-hero-content h1 {
  max-width: 820px;
  font-size: 3.45rem;
  text-shadow: 0 2px 12px rgba(4, 10, 15, 0.45);
}

.page-hero-content > p:not(.eyebrow) {
  max-width: 730px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

.page-hero-compact .page-hero-content h1 {
  font-size: 3.2rem;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 7rem;
  align-items: start;
}

.editorial-copy {
  max-width: 700px;
}

.application-portfolio {
  padding-top: 7rem;
  background: var(--white);
}

.application-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  gap: 5rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-copy h3,
.fifo-copy h3 {
  font-size: 2.35rem;
}

.application-lead {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 620;
}

.application-copy > p:not(.application-lead) {
  color: var(--ink-soft);
}

.application-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.maturity {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.15rem 0.5rem;
  color: var(--ink);
  background: var(--steel-pale);
  border-radius: 3px;
}

.maturity-lab,
.maturity-research {
  color: #3d2a10;
  background: #f5dfbd;
}

.maturity-engineering,
.maturity-internal {
  color: #234634;
  background: #d7e7de;
}

.maturity-development {
  color: #273b4e;
  background: #d8e2ea;
}

.maturity-beta {
  color: #23452f;
  background: #dcebd7;
}

.check-list,
.plain-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  color: var(--ink-soft);
}

.check-list li::before,
.plain-list li::before {
  position: absolute;
  top: 0.93rem;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 1px;
  content: "";
}

.simulation-console {
  color: #dce7ed;
  background: #111f2c;
  border: 1px solid #53687a;
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background: #0b151e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 750;
}

.console-head strong {
  color: #f1bd7f;
}

.console-score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  align-items: end;
  padding: 1.3rem 1.3rem 0.9rem;
}

.console-score span {
  color: #91a5b5;
  font-size: 0.75rem;
}

.console-score strong {
  color: #a8d6bb;
  font-size: 1.15rem;
}

.console-score i {
  grid-column: 1 / -1;
  height: 5px;
  background: #65a27d;
  border-radius: 2px;
}

.console-layers {
  display: grid;
  gap: 0.45rem;
  padding: 0.5rem 1.3rem 1rem;
}

.console-layers div {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid #60778a;
}

.console-layers span {
  font-size: 0.8rem;
  font-weight: 700;
}

.console-layers small {
  color: #8699a8;
  font-size: 0.68rem;
}

.console-layers b {
  color: #8bc29f;
  font-size: 0.65rem;
}

.console-functions {
  display: flex;
  gap: 0.45rem;
  padding: 0 1.3rem 0.9rem;
}

.console-functions span {
  padding: 0.25rem 0.55rem;
  color: #f1bd7f;
  background: rgba(216, 138, 47, 0.1);
  border: 1px solid rgba(216, 138, 47, 0.38);
  border-radius: 3px;
  font-size: 0.67rem;
  font-weight: 700;
}

.console-wave {
  height: 84px;
  padding: 0 1.3rem 1rem;
}

.console-wave svg {
  width: 100%;
  height: 100%;
  stroke: #68a9a1;
  stroke-width: 2;
}

.fifo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(540px, 1.2fr);
  gap: 5rem;
  align-items: center;
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 7rem;
}

.fifo-copy p {
  color: var(--ink-soft);
}

.fifo-copy > p,
.application-copy > p,
.application-card-content > p,
.editorial-copy > p,
.feature-copy > p,
.profile-copy > p,
.legal-content > p,
.case-main > p,
.portfolio-entry-details > div > p,
.large-copy {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.signal-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
  margin: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}

.signal-matrix div {
  padding: 0.8rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
}

.signal-matrix dt {
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 780;
  text-transform: uppercase;
}

.signal-matrix dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.simulation-evidence {
  min-width: 0;
  margin: 0;
}

.simulation-evidence-frame {
  position: relative;
  overflow: hidden;
  background: #dfe5e9;
  border: 1px solid #8998a3;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.simulation-evidence-frame picture {
  display: block;
}

.simulation-evidence-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.media-zoom-button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(12, 25, 37, 0.82);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.media-zoom-button:hover,
.media-zoom-button:focus-visible {
  background: rgba(12, 25, 37, 0.96);
}

.simulation-evidence figcaption {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 0 0;
  color: var(--steel);
  font-size: 0.72rem;
}

.simulation-evidence figcaption strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.fifo-demo {
  min-width: 0;
  color: #e5edf2;
  background: #172736;
  border: 1px solid #66788a;
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fifo-demo-head {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem 0.65rem 1.2rem;
  background: #0e1a25;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fifo-demo-head div {
  display: grid;
}

.fifo-demo-head span {
  color: #8fa0ae;
  font-size: 0.58rem;
  font-weight: 750;
}

.fifo-demo-head strong {
  font-size: 0.85rem;
}

.reset-button {
  width: 36px;
  height: 36px;
  color: #b9c7d0;
  border-color: rgba(255, 255, 255, 0.2);
}

.fifo-slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 1.35rem 1.2rem 1rem;
}

.fifo-slot {
  position: relative;
  display: grid;
  min-height: 72px;
  place-items: center;
  color: #8394a1;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  font-weight: 760;
}

.fifo-slot small {
  position: absolute;
  top: 0.25rem;
  right: 0.4rem;
  color: #71828f;
  font-size: 0.55rem;
}

.fifo-slot.is-next {
  color: #dff0e5;
  background: rgba(77, 128, 101, 0.22);
  border-color: #6aaa83;
}

.fifo-slot.is-queued {
  color: #f2d7b4;
  background: rgba(216, 138, 47, 0.12);
  border-color: rgba(216, 138, 47, 0.5);
}

.filter-bank {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0 1.2rem 1.25rem;
}

.filter-unit {
  display: grid;
  min-width: 0;
  min-height: 66px;
  place-items: center;
  padding: 0.5rem;
  color: #9cacb8;
  background: rgba(255, 255, 255, 0.03);
  border-top: 3px solid #546879;
}

.filter-unit strong,
.filter-unit small {
  display: block;
}

.filter-unit strong {
  color: #dbe4e9;
  font-size: 0.78rem;
}

.filter-unit small {
  overflow: hidden;
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-unit.is-next {
  border-top-color: #6aaa83;
}

.filter-unit.is-queued {
  border-top-color: var(--accent);
}

.fifo-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fifo-controls > span {
  color: #92a4b2;
  font-size: 0.68rem;
  font-weight: 700;
}

.fifo-controls > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-request {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #dae4ea;
  background: transparent;
  border: 1px solid #647889;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 750;
  cursor: pointer;
}

.filter-request[aria-pressed="true"] {
  color: #f3d8b5;
  background: rgba(216, 138, 47, 0.15);
  border-color: var(--accent);
}

.fifo-message {
  min-height: 2.4rem;
  margin: 0;
  padding: 0.65rem 1.2rem;
  color: #a9bac5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
}

.portfolio-directory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 5rem;
  align-items: end;
  margin-top: 7rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.portfolio-directory-heading h3 {
  max-width: 720px;
  margin: 0;
  font-size: 2.15rem;
}

.portfolio-directory-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-strong);
}

.portfolio-filters {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}

.portfolio-filter {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  color: var(--steel-deep);
  background: var(--white);
  border: 0;
  border-right: 1px solid var(--line);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 720;
  cursor: pointer;
}

.portfolio-filter:last-child {
  border-right: 0;
}

.portfolio-filter:hover {
  color: var(--ink);
  background: var(--steel-pale);
}

.portfolio-filter.is-active,
.portfolio-filter[aria-pressed="true"] {
  color: var(--white);
  background: var(--steel-deep);
}

.portfolio-filter:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: -3px;
}

.portfolio-result {
  flex: 0 0 auto;
  margin: 0;
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 700;
}

.application-grid.application-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 1rem;
}

.portfolio-entry {
  display: grid;
  min-width: 0;
  min-height: 218px;
  grid-template-columns: 180px minmax(0, 1fr) minmax(245px, 0.32fr);
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  overflow: visible;
}

.portfolio-entry[hidden] {
  display: none;
}

.application-card-visual {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  background: #dce4e9;
  border-right: 1px solid var(--line);
}

.application-card-content {
  min-width: 0;
  padding: 1.65rem 2rem;
}

.application-card-content h4 {
  margin: 0.45rem 0 0.7rem;
  color: var(--ink);
  font-size: 1.55rem;
}

.application-card-content p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.portfolio-entry-summary {
  max-width: 760px;
  margin: 0;
}

.portfolio-entry-details {
  margin-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.portfolio-entry-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.portfolio-entry-details summary::-webkit-details-marker {
  display: none;
}

.portfolio-entry-details summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.portfolio-entry-details[open] summary svg {
  transform: rotate(180deg);
}

.portfolio-entry-details > div {
  padding: 0.4rem 0 0.5rem;
}

.portfolio-entry-details > div > p {
  max-width: 850px;
  margin: 0;
}

.portfolio-entry-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.65rem;
  background: var(--surface);
  border-left: 1px solid var(--line);
}

.portfolio-entry-meta-title {
  display: none;
  margin: 0;
}

.portfolio-entry-meta {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.portfolio-entry-meta div {
  display: grid;
  gap: 0.15rem;
}

.portfolio-entry-meta dt {
  color: var(--steel);
  font-size: 0.61rem;
  font-weight: 760;
  text-transform: uppercase;
}

.portfolio-entry-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 680;
  line-height: 1.4;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.25rem 0.45rem;
  color: var(--steel-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
}

.application-preview-button {
  width: fit-content;
  margin-top: 0;
  font-size: 0.78rem;
}

.application-preview-button svg {
  width: 17px;
  height: 17px;
}

.application-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.portfolio-entry-side .application-preview-button {
  width: 100%;
}

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

.button-outline:hover {
  color: var(--white);
  background: var(--steel-deep);
  border-color: var(--steel-deep);
}

body.media-dialog-open {
  overflow: hidden;
}

.media-dialog {
  width: min(94vw, 1420px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  box-shadow: 0 26px 80px rgba(4, 12, 20, 0.42);
  overflow: hidden;
}

.media-dialog::backdrop {
  background: rgba(8, 17, 25, 0.78);
  backdrop-filter: blur(8px);
}

.media-dialog-shell {
  display: grid;
  max-height: 92vh;
  grid-template-rows: auto minmax(0, 1fr);
}

.media-dialog-head {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem 0.8rem 1.3rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.media-dialog-head > div {
  min-width: 0;
}

.media-dialog-head span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--steel);
  font-size: 0.64rem;
  font-weight: 760;
  text-transform: uppercase;
}

.media-dialog-head h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.media-dialog-close {
  flex: 0 0 auto;
  color: var(--ink);
  border-color: var(--line-strong);
}

.media-dialog figure {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  background: #101a23;
  overflow: auto;
}

.media-dialog figure > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: calc(92vh - 148px);
  object-fit: contain;
}

.media-dialog.media-dialog-image {
  max-width: calc(100vw - 2rem);
}

.media-dialog-image figure > img {
  width: 100%;
  height: auto;
  max-height: none;
}

.media-dialog figcaption {
  padding: 0.8rem 1.2rem;
  color: #c8d2d9;
  background: #172530;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.media-template-host {
  width: 100%;
  min-width: 0;
  min-height: 0;
  background: #0c141c;
  overflow: auto;
}

.media-template-host[hidden],
.media-dialog figure > img[hidden] {
  display: none;
}

.product-demo,
.function-map {
  --demo-accent: #759fc1;
  --demo-highlight: #dda15c;
  min-height: 620px;
  color: #eaf0f4;
  background: #0d1620;
}

.product-demo {
  padding: 1.25rem;
}

.demo-workpackage {
  --demo-accent: #898ff0;
  --demo-highlight: #e09cbd;
}

.demo-workbook {
  --demo-accent: #5ed7bd;
  --demo-highlight: #efba6f;
  padding: 0;
}

.workbook-platform-layout {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) 82px 238px;
  gap: 0.8rem;
  align-items: stretch;
  padding: 1rem;
  background: #0d1620;
}

.workbook-platform-panel {
  min-width: 0;
  background: #09131b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
}

.workbook-platform-head {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  background: #13212b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.workbook-platform-head > div {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.workbook-platform-head span,
.workbook-platform-head small {
  color: #83989f;
  font-size: 0.55rem;
}

.workbook-platform-head span {
  color: var(--demo-accent);
  font-weight: 760;
  text-transform: uppercase;
}

.workbook-platform-head strong {
  color: #eef7f5;
  font-size: 0.82rem;
}

.workbook-platform-head > b {
  flex: 0 0 auto;
  padding: 0.24rem 0.4rem;
  color: #a9e8d7;
  background: rgba(94, 215, 189, 0.1);
  border: 1px solid rgba(94, 215, 189, 0.26);
  border-radius: 3px;
  font-size: 0.52rem;
  text-transform: uppercase;
}

.workbook-desktop-panel .demo-app-layout {
  min-height: 550px;
  grid-template-columns: 178px minmax(0, 1fr);
}

.workbook-desktop-panel .demo-sidebar {
  padding: 0.85rem;
}

.workbook-desktop-panel .demo-app-main {
  padding: 0.9rem;
}

.workbook-desktop-body {
  grid-template-columns: minmax(0, 1fr);
}

.workbook-platform-link {
  display: grid;
  align-self: center;
  justify-items: center;
  gap: 0.32rem;
  color: #869aa2;
  text-align: center;
}

.workbook-platform-link::before,
.workbook-platform-link::after {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 215, 189, 0.6), transparent);
  content: "";
}

.workbook-platform-link span,
.workbook-platform-link small {
  font-size: 0.5rem;
}

.workbook-platform-link strong {
  color: #d9e9e5;
  font-size: 0.6rem;
}

.workbook-platform-link svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--demo-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.workbook-mobile-panel {
  display: flex;
  flex-direction: column;
}

.workbook-phone-frame {
  display: grid;
  flex: 1 1 auto;
  place-items: center;
  padding: 0.85rem 0.7rem;
  background: #071017;
}

.workbook-phone-frame img {
  display: block;
  width: min(100%, 184px);
  height: auto;
  max-height: 428px;
  background: #091117;
  border: 5px solid #33444b;
  border-radius: 17px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.workbook-mobile-capabilities {
  display: grid;
  gap: 0.28rem;
  padding: 0.75rem 0.8rem 0;
}

.workbook-mobile-capabilities span {
  padding: 0.32rem 0.45rem;
  color: #c3d5d1;
  background: rgba(94, 215, 189, 0.06);
  border-left: 2px solid rgba(94, 215, 189, 0.65);
  font-size: 0.54rem;
}

.workbook-mobile-panel > p {
  margin: 0;
  padding: 0.75rem 0.8rem 0.9rem;
  color: #8fa2a7;
  font-size: 0.56rem;
  line-height: 1.55;
}

.demo-systemsuite {
  --demo-accent: #5d9fdf;
  --demo-highlight: #ecb467;
  padding: 0;
}

.demo-workspace {
  --demo-accent: #6fc9c2;
  --demo-highlight: #d3a05d;
}

.demo-window-head,
.demo-main-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, auto) auto;
  gap: 1rem;
  align-items: center;
}

.demo-window-head {
  padding: 0.2rem 0.2rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.demo-window-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.demo-window-brand > div,
.demo-project-state,
.demo-project-select {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.demo-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--demo-accent);
  border: 1px solid color-mix(in srgb, var(--demo-accent) 62%, transparent);
  border-radius: 5px;
  font-size: 1.05rem;
  font-weight: 780;
}

.demo-brand-logo {
  width: 72px;
  max-height: 28px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.demo-window-brand-compact {
  gap: 0.55rem;
}

.demo-compact-logo-slot {
  display: grid;
  width: 56px;
  height: 19px;
  flex: 0 0 56px;
  place-items: center;
  overflow: hidden;
}

.demo-window-brand-compact .demo-brand-logo {
  width: 56px;
  height: 19px;
  max-width: 56px;
  max-height: 19px;
}

.demo-window-brand-stacked {
  display: grid;
  width: 100%;
  align-items: flex-start;
  align-content: start;
  gap: 0.45rem;
}

.demo-window-brand-stacked .demo-brand-logo {
  width: 118px;
  max-height: 40px;
}

.demo-window-brand-stacked > div {
  width: 100%;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-window-brand strong,
.demo-project-state strong,
.demo-project-select strong {
  overflow: hidden;
  color: #f6f9fb;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-window-brand small,
.demo-project-state span,
.demo-project-select span,
.demo-main-head > div > span {
  color: #8ea1af;
  font-size: 0.65rem;
}

.demo-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  color: #d9e4ea;
  background: #172633;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 720;
  white-space: nowrap;
}

.demo-status-good {
  color: #bce8d0;
  background: rgba(55, 139, 94, 0.18);
  border-color: rgba(99, 185, 134, 0.38);
}

.demo-module-nav {
  display: flex;
  gap: 0.4rem;
  margin: 1rem 0;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.demo-module-nav span,
.demo-tool-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0.32rem 0.65rem;
  color: #aebbc4;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 680;
  white-space: nowrap;
}

.demo-module-nav span.is-active {
  color: #ffffff;
  background: color-mix(in srgb, var(--demo-accent) 24%, #17212b);
  border-color: color-mix(in srgb, var(--demo-accent) 60%, transparent);
}

.demo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.9rem 0;
}

.demo-kpi-grid > div {
  display: grid;
  min-width: 0;
  min-height: 96px;
  align-content: center;
  gap: 0.2rem;
  padding: 0.8rem;
  background: #131f2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: color-mix(in srgb, var(--demo-accent) 72%, transparent);
  border-radius: 5px;
}

.demo-kpi-grid span,
.demo-project-banner span {
  color: #8799a6;
  font-size: 0.62rem;
  font-weight: 680;
  text-transform: uppercase;
}

.demo-kpi-grid strong {
  color: #f5f8fa;
  font-size: 1.2rem;
}

.demo-kpi-grid small,
.demo-project-banner small {
  color: #8294a1;
  font-size: 0.61rem;
}

.demo-data-panel {
  min-width: 0;
  margin-top: 0.8rem;
  background: #111c26;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  overflow: hidden;
}

.demo-workbook-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 198px;
  gap: 0.8rem;
  align-items: stretch;
  margin-top: 0.8rem;
}

.demo-workbook-body .demo-data-panel {
  margin-top: 0;
}

.demo-mobile-capture {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 0.65rem;
  padding: 0.7rem;
  background: #0d1821;
  border: 1px solid rgba(94, 215, 189, 0.24);
  border-radius: 5px;
}

.demo-mobile-caption {
  display: grid;
  gap: 0.12rem;
}

.demo-mobile-caption span,
.demo-mobile-caption small {
  color: #7f9796;
  font-size: 0.56rem;
}

.demo-mobile-caption span {
  text-transform: uppercase;
}

.demo-mobile-caption strong {
  color: #eef8f5;
  font-size: 0.78rem;
}

.demo-phone-shell {
  display: grid;
  width: 146px;
  min-height: 286px;
  justify-self: center;
  align-content: start;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem 0.6rem;
  color: #e9f3f1;
  background: #101f27;
  border: 2px solid #566a73;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.demo-phone-status,
.demo-phone-brand,
.demo-phone-values,
.demo-phone-receipt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.demo-phone-status {
  color: #83999e;
  font-size: 0.48rem;
}

.demo-phone-status i {
  width: 28px;
  height: 4px;
  background: #0a1218;
  border-radius: 4px;
}

.demo-phone-brand {
  justify-content: flex-start;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-phone-brand strong {
  color: var(--demo-accent);
  font-size: 0.72rem;
}

.demo-phone-brand span {
  color: #dce8e6;
  font-size: 0.56rem;
  font-weight: 700;
}

.demo-phone-project,
.demo-phone-values > div,
.demo-phone-receipt {
  display: grid;
  gap: 0.1rem;
  padding: 0.42rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.demo-phone-project span,
.demo-phone-values span,
.demo-phone-receipt span {
  color: #81969b;
  font-size: 0.46rem;
  text-transform: uppercase;
}

.demo-phone-project strong,
.demo-phone-values strong,
.demo-phone-receipt strong {
  color: #edf5f3;
  font-size: 0.55rem;
  line-height: 1.25;
}

.demo-phone-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.demo-phone-sync {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #9fd8ca;
  font-size: 0.5rem;
}

.demo-phone-sync i {
  width: 6px;
  height: 6px;
  background: #61c9ac;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(97, 201, 172, 0.12);
}

.demo-phone-action {
  margin-top: auto;
  padding: 0.48rem;
  color: #10231f;
  background: var(--demo-accent);
  border-radius: 4px;
  font-size: 0.52rem;
  text-align: center;
}

.demo-mobile-capture > p {
  margin: 0;
  color: #82989a;
  font-size: 0.48rem;
  line-height: 1.4;
  text-align: center;
}

.demo-mobile-capture > p i {
  color: var(--demo-accent);
  font-style: normal;
}

.demo-panel-head {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-panel-head > div:first-child {
  display: grid;
  gap: 0.15rem;
}

.demo-panel-head span {
  color: var(--demo-accent);
  font-size: 0.62rem;
  font-weight: 720;
  text-transform: uppercase;
}

.demo-panel-head strong {
  color: #f0f4f7;
  font-size: 0.83rem;
}

.demo-tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.demo-tool-row span {
  color: #d8e1e6;
  text-transform: none;
}

.demo-table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.demo-data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.67rem;
}

.demo-data-table th {
  padding: 0.65rem 0.75rem;
  color: #8295a3;
  background: #0d1720;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.58rem;
  text-align: left;
  text-transform: uppercase;
}

.demo-data-table td {
  padding: 0.7rem 0.75rem;
  color: #c7d2d9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  vertical-align: top;
}

.demo-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.demo-data-table td strong,
.demo-data-table td small {
  display: block;
}

.demo-data-table td strong {
  margin-bottom: 0.15rem;
  color: #edf2f5;
  font-size: 0.69rem;
}

.demo-data-table td small {
  color: #80929f;
  font-size: 0.6rem;
  line-height: 1.4;
}

.demo-pill {
  display: inline-flex;
  padding: 0.22rem 0.42rem;
  color: #aab8c1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  font-size: 0.58rem;
  white-space: nowrap;
}

.demo-pill.is-ready {
  color: #bce8d0;
  background: rgba(53, 141, 93, 0.16);
  border-color: rgba(99, 185, 134, 0.32);
}

.demo-pill.is-progress {
  color: #f0c998;
  background: rgba(190, 119, 42, 0.15);
  border-color: rgba(223, 160, 87, 0.32);
}

.demo-pill.is-review {
  color: #c8d8f0;
  background: rgba(70, 113, 164, 0.18);
  border-color: rgba(98, 145, 198, 0.34);
}

.demo-app-layout {
  display: grid;
  min-height: 620px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.demo-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1rem;
  background: #09121a;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-sidebar nav {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.9rem;
}

.demo-sidebar nav span {
  padding: 0.55rem 0.65rem;
  color: #a7b5be;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.7rem;
}

.demo-sidebar nav span.is-active {
  color: #f4f8fa;
  background: color-mix(in srgb, var(--demo-accent) 16%, #111c25);
  border-color: color-mix(in srgb, var(--demo-accent) 38%, transparent);
}

.demo-sidebar-foot {
  margin-top: auto;
  padding: 0.65rem;
  color: #82a99d;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  font-size: 0.6rem;
}

.demo-app-main {
  min-width: 0;
  padding: 1.1rem;
}

.demo-main-head {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-main-head h3 {
  margin: 0.15rem 0 0;
  color: #f5f8fa;
  font-size: 1.2rem;
}

.demo-project-banner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: color-mix(in srgb, var(--demo-accent) 13%, #13202a);
  border: 1px solid color-mix(in srgb, var(--demo-accent) 28%, transparent);
  border-radius: 5px;
}

.demo-project-banner > div {
  display: grid;
  gap: 0.15rem;
}

.demo-project-banner strong {
  color: #f1f6f7;
  font-size: 0.83rem;
}

.function-map {
  padding: 3rem 2.5rem 2.5rem;
}

.function-map header {
  max-width: 930px;
  margin-bottom: 2.5rem;
}

.function-map header > span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--demo-highlight);
  font-size: 0.68rem;
  font-weight: 760;
  text-transform: uppercase;
}

.function-map header h3 {
  max-width: 900px;
  margin-bottom: 0.85rem;
  color: #f3f6f8;
  font-size: 2rem;
}

.function-map header p {
  max-width: 760px;
  margin-bottom: 0;
  color: #94a6b2;
  line-height: 1.65;
}

.function-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr);
  align-items: center;
}

.function-stage {
  display: grid;
  min-height: 150px;
  align-content: start;
  gap: 0.55rem;
  padding: 1.15rem 1rem;
  background: #131f29;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top: 3px solid var(--demo-accent);
  border-radius: 5px;
}

.function-stage strong {
  color: #f1f5f7;
  font-size: 0.86rem;
}

.function-stage small {
  color: #91a2ad;
  font-size: 0.67rem;
  line-height: 1.55;
}

.function-track > i {
  color: var(--demo-highlight);
  font-size: 1.2rem;
  font-style: normal;
  text-align: center;
}

.function-foundation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.function-foundation span {
  padding: 0.7rem;
  color: #b9c6ce;
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid var(--demo-highlight);
  font-size: 0.67rem;
}

.suite-flow-lanes {
  display: grid;
  gap: 0.75rem;
}

.suite-flow-lane {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  overflow: hidden;
  background: #111d27;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 5px;
}

.suite-flow-label {
  display: grid;
  align-content: center;
  gap: 0.3rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--demo-accent) 11%, #0c1720);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.suite-flow-label span {
  color: var(--demo-accent);
  font-size: 0.6rem;
  font-weight: 760;
  text-transform: uppercase;
}

.suite-flow-label strong {
  color: #f1f5f7;
  font-size: 0.8rem;
}

.suite-flow-steps {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 0.55rem;
  padding: 0.75rem;
}

.suite-flow-steps > span {
  display: grid;
  min-width: 0;
  flex: 1 1 0;
  align-content: center;
  gap: 0.3rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  border-top: 2px solid var(--demo-accent);
}

.suite-flow-steps strong {
  color: #eef4f7;
  font-size: 0.72rem;
}

.suite-flow-steps small {
  color: #91a2ad;
  font-size: 0.62rem;
  line-height: 1.45;
}

.suite-flow-steps > i {
  align-self: center;
  color: var(--demo-highlight);
  font-size: 1rem;
  font-style: normal;
}

.suite-flow-lane-roadmap {
  border-style: dashed;
}

.suite-flow-lane-roadmap .suite-flow-label {
  background: color-mix(in srgb, var(--demo-highlight) 10%, #0c1720);
}

.suite-flow-lane-roadmap .suite-flow-label span,
.suite-flow-lane-roadmap .suite-flow-steps > i {
  color: var(--demo-highlight);
}

.suite-flow-lane-roadmap .suite-flow-steps > span {
  border-top-color: var(--demo-highlight);
}

.workspace-room {
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 2.5rem 1rem;
  background-color: #0b141b;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}

.workspace-demo-surface {
  min-width: 0;
  background: #14212a;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.workspace-demo-surface.is-owner {
  border-top: 3px solid var(--demo-accent);
}

.workspace-demo-surface.is-guest {
  border-top: 3px solid var(--demo-highlight);
}

.workspace-demo-surface header {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.workspace-demo-surface header span {
  color: #8699a5;
  font-size: 0.6rem;
}

.workspace-demo-surface header strong {
  color: #edf3f5;
  font-size: 0.82rem;
}

.workspace-demo-content {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.workspace-document {
  display: grid;
  width: min(100%, 210px);
  min-height: 140px;
  align-content: center;
  gap: 0.35rem;
  padding: 1.1rem;
  color: #dfeaec;
  background: rgba(111, 201, 194, 0.09);
  border: 1px solid rgba(111, 201, 194, 0.36);
  border-radius: 5px;
}

.workspace-document.is-frame {
  background: rgba(211, 160, 93, 0.08);
  border-color: rgba(211, 160, 93, 0.38);
}

.workspace-document span,
.workspace-document small,
.workspace-lock {
  color: #8ba0ab;
  font-size: 0.6rem;
}

.workspace-document strong {
  font-size: 0.79rem;
}

.workspace-transfer {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
}

.workspace-direction,
.workspace-transfer-state small {
  color: #8da1ac;
  font-size: 0.6rem;
}

.workspace-glass-edge {
  position: relative;
  width: 118px;
  height: 12px;
  background: rgba(111, 201, 194, 0.16);
  border: 1px solid rgba(111, 201, 194, 0.65);
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(111, 201, 194, 0.28);
}

.workspace-glass-edge::after {
  position: absolute;
  top: 50%;
  right: -13px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--demo-highlight);
  border-right: 2px solid var(--demo-highlight);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.workspace-transfer-state {
  display: grid;
  gap: 0.1rem;
  text-align: center;
}

.workspace-transfer-state strong {
  color: #dce8eb;
  font-size: 0.72rem;
}

.workspace-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.workspace-principles span {
  padding: 0.6rem;
  color: #aab9c1;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 0.62rem;
  text-align: center;
}

.planning-visual {
  padding: 1.5rem;
  background: #dbe3e8;
}

.app-mini-nav {
  display: flex;
  gap: 0.3rem;
  height: 38px;
  align-items: center;
  padding: 0 0.6rem;
  background: #213546;
  border-radius: 4px 4px 0 0;
}

.app-mini-nav i {
  width: 25px;
  height: 5px;
  background: #8ea0ae;
  border-radius: 1px;
}

.app-mini-nav i:nth-child(2) {
  background: var(--accent);
}

.app-mini-content {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  grid-template-rows: repeat(4, 1fr);
  height: 220px;
  background: #f8fafb;
  border: 1px solid #adbac3;
}

.app-mini-content span,
.app-mini-content b {
  margin: 0.55rem;
  background: #d0d9df;
  border-radius: 2px;
}

.app-mini-content span {
  grid-column: 1;
}

.app-mini-content b {
  grid-column: 2;
  background: #b9c9d3;
}

.workbook-visual {
  padding: 1.5rem;
  background: #e2e7e3;
}

.workbook-total {
  padding: 1rem;
  color: var(--white);
  background: #294154;
  border-radius: 4px;
}

.workbook-total span,
.workbook-total strong {
  display: block;
}

.workbook-total span {
  color: #b8c5cd;
  font-size: 0.65rem;
}

.workbook-total strong {
  font-size: 1.35rem;
}

.workbook-bars {
  display: flex;
  height: 115px;
  align-items: end;
  gap: 0.4rem;
  padding: 1rem 0.6rem 0.5rem;
  background: rgba(255, 255, 255, 0.7);
}

.workbook-bars i {
  width: 100%;
  height: 46%;
  background: #607b91;
}

.workbook-bars i:nth-child(2) { height: 72%; }
.workbook-bars i:nth-child(3) { height: 58%; background: var(--accent); }
.workbook-bars i:nth-child(4) { height: 84%; }
.workbook-bars i:nth-child(5) { height: 65%; }
.workbook-bars i:nth-child(6) { height: 78%; background: #689176; }
.workbook-bars i:nth-child(7) { height: 54%; }

.workbook-lines {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.8rem;
}

.workbook-lines span {
  height: 9px;
  background: #a9b7bf;
}

.workbook-lines span:nth-child(2) { width: 78%; }
.workbook-lines span:nth-child(3) { width: 55%; }

.suite-visual {
  display: grid;
  place-items: center;
  padding: 1.4rem;
  color: #e3ebef;
  background: #1c3041;
}

.suite-ring {
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border: 9px solid #608098;
  border-top-color: #7eb08f;
  border-radius: 50%;
}

.suite-ring span {
  font-size: 1.35rem;
  font-weight: 750;
}

.suite-systems {
  display: grid;
  width: 100%;
  gap: 0.4rem;
}

.suite-systems span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
}

.suite-systems i {
  width: 7px;
  height: 7px;
  background: #7eb08f;
  border-radius: 50%;
}

.suite-log {
  display: grid;
  width: 100%;
  gap: 0.35rem;
}

.suite-log b {
  height: 5px;
  background: #526c80;
}

.workspace-visual {
  background: #dce4e9;
}

.workspace-surface {
  position: absolute;
  top: 54px;
  width: 82px;
  height: 150px;
  padding: 0.5rem;
  background: #f9fbfc;
  border: 2px solid #51697c;
  border-radius: 5px;
  box-shadow: 0 12px 24px rgba(21, 35, 49, 0.14);
}

.workspace-surface span {
  color: #526679;
  font-size: 0.58rem;
  font-weight: 750;
}

.workspace-surface i {
  display: block;
  height: 85px;
  margin-top: 0.45rem;
  background: #d6dfe5;
}

.surface-left { left: 24px; }
.surface-right { right: 24px; }

.workspace-edge {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 62px;
  height: 205px;
  border-right: 10px solid rgba(72, 105, 129, 0.48);
  border-left: 10px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translateX(-50%);
}

.workspace-edge i,
.workspace-edge b {
  position: absolute;
  inset: 20px 9px;
  border: 2px solid rgba(83, 103, 125, 0.35);
  border-radius: 50%;
}

.workspace-edge b {
  inset: 52px 17px;
  background: rgba(21, 35, 49, 0.76);
}

.workspace-object {
  position: absolute;
  top: 125px;
  left: calc(50% - 20px);
  width: 40px;
  height: 54px;
  background: var(--white);
  border: 1px solid #64798a;
  box-shadow: 0 10px 20px rgba(13, 24, 35, 0.22);
  transform: rotate(5deg);
}

.application-directory .planning-visual,
.application-directory .workbook-visual {
  padding: 0.85rem;
}

.application-directory .app-mini-nav {
  height: 28px;
}

.application-directory .app-mini-nav i {
  width: 18px;
  height: 4px;
}

.application-directory .app-mini-content {
  height: 142px;
}

.application-directory .app-mini-content span,
.application-directory .app-mini-content b {
  margin: 0.3rem;
}

.application-directory .workbook-total {
  padding: 0.7rem;
}

.application-directory .workbook-bars {
  height: 78px;
  gap: 0.24rem;
  padding: 0.75rem 0.35rem 0.35rem;
}

.application-directory .workbook-lines {
  gap: 0.3rem;
  padding-top: 0.55rem;
}

.application-directory .workbook-lines span {
  height: 6px;
}

.application-directory .suite-visual {
  gap: 0.55rem;
  padding: 0.9rem;
}

.application-directory .suite-ring {
  width: 70px;
  height: 70px;
  border-width: 6px;
}

.application-directory .suite-ring span {
  font-size: 1rem;
}

.application-directory .workspace-surface {
  top: 45px;
  width: 58px;
  height: 112px;
  padding: 0.35rem;
}

.application-directory .workspace-surface span {
  font-size: 0.48rem;
}

.application-directory .workspace-surface i {
  height: 64px;
}

.application-directory .surface-left {
  left: 12px;
}

.application-directory .surface-right {
  right: 12px;
}

.application-directory .workspace-edge {
  top: 28px;
  width: 45px;
  height: 152px;
  border-right-width: 7px;
  border-left-width: 7px;
}

.application-directory .workspace-object {
  top: 98px;
  left: calc(50% - 15px);
  width: 30px;
  height: 40px;
}

.garden-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.7rem;
  padding: 1rem;
  background: #10252e;
}

.garden-visual img {
  width: 116px;
  height: 116px;
  object-fit: contain;
}

.garden-visual span {
  color: #b9d8c6;
  font-size: 0.62rem;
  font-weight: 760;
  text-transform: uppercase;
}

.demo-gartenstrom {
  --demo-accent: #72cb96;
  --demo-highlight: #f1c550;
  padding: 1.3rem;
  background: #0b161e;
}

.garden-demo-head {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.garden-demo-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
}

.garden-demo-brand img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: contain;
}

.garden-demo-brand span {
  color: var(--demo-highlight);
  font-size: 0.62rem;
  font-weight: 760;
  text-transform: uppercase;
}

.garden-demo-brand h3 {
  margin: 0.18rem 0 0.3rem;
  color: #f3f7f4;
  font-size: 1.55rem;
}

.garden-demo-brand p {
  margin: 0;
  color: #93a8b0;
  font-size: 0.72rem;
}

.garden-demo-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.garden-demo-status div {
  min-width: 0;
  padding: 0.55rem 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.garden-demo-status dt {
  color: var(--demo-accent);
  font-size: 0.58rem;
  font-weight: 760;
  text-transform: uppercase;
}

.garden-demo-status dd {
  margin: 0.2rem 0 0;
  color: #d9e5e1;
  font-size: 0.67rem;
  line-height: 1.45;
}

.garden-demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 1rem;
  margin-top: 1rem;
}

.demo-gartenstrom .garden-demo-stage figure {
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(0, 1fr);
  margin: 0;
  background: #12212c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  overflow: hidden;
}

.demo-gartenstrom .garden-demo-stage figcaption {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.8rem;
  background: #172833;
}

.demo-gartenstrom .garden-demo-stage figcaption span {
  color: var(--demo-accent);
  font-size: 0.56rem;
  font-weight: 760;
  text-transform: uppercase;
}

.demo-gartenstrom .garden-demo-stage figcaption strong {
  color: #eef5f2;
  font-size: 0.72rem;
}

.demo-gartenstrom .garden-demo-desktop > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  align-self: center;
  object-fit: contain;
}

.garden-phone-frame {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0.7rem;
  background: #09131b;
}

.garden-reading-phone {
  display: grid;
  width: min(100%, 286px);
  gap: 0.52rem;
  padding: 0.58rem;
  color: #eaf3ef;
  background: #101f26;
  border: 5px solid #34464c;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.garden-reading-top {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.garden-reading-top > img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.garden-reading-top > div,
.garden-reading-meter,
.garden-ocr-results > div {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.garden-reading-top span,
.garden-reading-meter span,
.garden-ocr-results span {
  color: #8fa49e;
  font-size: 0.46rem;
  text-transform: uppercase;
}

.garden-reading-top strong {
  overflow: hidden;
  color: #f2f7f4;
  font-size: 0.59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.garden-reading-top > b {
  padding: 0.22rem 0.34rem;
  color: #bfe8cd;
  background: rgba(114, 203, 150, 0.1);
  border: 1px solid rgba(114, 203, 150, 0.28);
  border-radius: 3px;
  font-size: 0.45rem;
}

.garden-reading-meter {
  padding: 0.45rem 0.5rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
}

.garden-reading-meter strong {
  color: #f0f5f2;
  font-size: 0.67rem;
}

.garden-reading-meter small {
  color: #93a79f;
  font-size: 0.48rem;
}

.garden-meter-photo {
  position: relative;
  min-height: 0;
  background: #cfd3d1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  overflow: hidden;
}

.garden-meter-photo > img {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
  object-position: center 51%;
}

.garden-meter-photo > span {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  left: 0.35rem;
  padding: 0.28rem 0.4rem;
  color: #f3f7f5;
  background: rgba(9, 20, 25, 0.82);
  border-radius: 3px;
  font-size: 0.46rem;
  text-align: center;
  backdrop-filter: blur(6px);
}

.garden-ocr-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem;
}

.garden-ocr-results > div {
  padding: 0.42rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top-color: rgba(114, 203, 150, 0.55);
  border-radius: 4px;
}

.garden-ocr-results strong {
  overflow-wrap: anywhere;
  color: #f2f7f4;
  font-size: 0.62rem;
}

.garden-ocr-results b {
  color: #91d6aa;
  font-size: 0.45rem;
  font-weight: 700;
}

.garden-reading-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.28rem;
}

.garden-reading-checks span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.22rem;
  color: #a9beb5;
  font-size: 0.43rem;
  line-height: 1.25;
}

.garden-reading-checks i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--demo-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(114, 203, 150, 0.13);
}

.garden-reading-action {
  padding: 0.48rem;
  color: #0b2114;
  background: var(--demo-accent);
  border-radius: 4px;
  font-size: 0.56rem;
  text-align: center;
}

.garden-demo-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.garden-demo-proof span {
  padding: 0.6rem 0.75rem;
  color: #c7d9d0;
  background: rgba(114, 203, 150, 0.08);
  border-left: 2px solid var(--demo-accent);
  font-size: 0.64rem;
}

.garden-function-map {
  --demo-accent: #72cb96;
  --demo-highlight: #f1c550;
}

.development-process {
  background: var(--surface-alt);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--steel);
  list-style: none;
}

.process-line li {
  position: relative;
  padding: 2rem 2rem 0 0;
}

.process-line li + li {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.process-line li::before {
  position: absolute;
  top: -5px;
  left: -1px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

.process-line li:first-child::before {
  left: 0;
}

.process-line p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.profile-intro {
  background: var(--white);
}

.profile-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 3.75rem;
  align-items: start;
}

.profile-portrait {
  margin: 0;
  width: 230px;
}

.profile-portrait img {
  width: 230px;
  height: 270px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 5px;
}

.profile-portrait figcaption {
  display: grid;
  gap: 0.15rem;
  padding: 0.6rem 0 0.65rem;
  border-bottom: 1px solid var(--line);
}

.profile-portrait figcaption strong {
  font-size: 0.86rem;
}

.profile-portrait figcaption span {
  color: var(--steel);
  font-size: 0.7rem;
}

.profile-copy {
  max-width: 780px;
}

.credential-list {
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--line);
}

.credential-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.credential-list dt {
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 750;
}

.credential-list dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 620;
}

.responsibility-section {
  background: var(--surface-alt);
}

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

.principle-list article {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.principle-list h3,
.principle-list p {
  margin-bottom: 0.35rem;
}

.principle-list p {
  color: var(--ink-soft);
}

.experience-section {
  background: var(--white);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.experience-grid div {
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-grid strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.experience-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-jump {
  position: sticky;
  top: 96px;
  z-index: 30;
  background: rgba(244, 246, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.section-jump .page-shell {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 2rem;
  overflow-x: auto;
}

.section-jump a {
  flex: 0 0 auto;
  color: var(--steel-deep);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.service-domain {
  scroll-margin-top: 10rem;
  background: var(--white);
}

.service-domain-tinted {
  background: var(--surface-alt);
}

.domain-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 7rem;
  align-items: start;
}

.domain-heading {
  position: sticky;
  top: 180px;
}

.domain-heading > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.domain-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.domain-services article {
  min-width: 0;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.domain-services article > p {
  color: var(--ink-soft);
}

.domain-services .plain-list {
  font-size: 0.85rem;
}

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

.service-continuum div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: baseline;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.service-continuum h3,
.service-continuum p {
  margin-bottom: 0;
}

.service-continuum p {
  color: var(--ink-soft);
}

.case-studies {
  background: var(--white);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 3rem;
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
}

.case-study:last-child {
  border-bottom: 1px solid var(--line);
}

.case-main h3 {
  max-width: 720px;
  font-size: 2rem;
}

.case-main > p:not(.project-meta, .case-lead) {
  max-width: 760px;
  color: var(--ink-soft);
}

.case-lead {
  max-width: 750px;
  font-size: 1.08rem;
  font-weight: 620;
}

.case-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.case-facts div {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.case-facts dt {
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 620;
}

.technology-section {
  background: var(--surface-alt);
}

.technology-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 7rem;
}

.technology-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.technology-matrix li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.technology-matrix strong {
  font-size: 0.92rem;
}

.technology-matrix span {
  color: var(--steel);
  font-size: 0.7rem;
}

.applications-bridge {
  background: var(--white);
}

.applications-bridge-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.7fr);
  gap: 6rem;
  align-items: center;
}

.applications-bridge-inner > div:first-child {
  max-width: 720px;
}

.topic-breadcrumb {
  color: var(--steel-deep);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.topic-breadcrumb ol {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  white-space: nowrap;
}

.topic-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 650;
}

.topic-breadcrumb li + li::before {
  color: var(--steel);
  content: "/";
}

.topic-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.topic-intro,
.topic-case,
.topic-faq,
.related-topics {
  background: var(--white);
}

.topic-intro-layout,
.topic-case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.68fr);
  gap: 6rem;
  align-items: start;
}

.topic-copy {
  max-width: 780px;
}

.topic-copy h2,
.topic-case-copy h2 {
  max-width: 760px;
}

.topic-copy > p,
.topic-case-copy > p {
  color: var(--ink-soft);
}

.topic-copy .topic-lead,
.topic-case-copy .topic-lead {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 620;
}

.topic-copy .topic-author {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.topic-author a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.topic-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.topic-facts div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.topic-facts dt {
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 760;
  text-transform: uppercase;
}

.topic-facts dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 620;
}

.topic-evidence {
  background: var(--surface-alt);
}

.topic-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.topic-proof-grid article {
  min-width: 0;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-proof-grid article p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.topic-media {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

.topic-media img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.topic-media figcaption {
  padding: 0.8rem 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
}

.topic-case .case-facts {
  margin-top: 2rem;
}

.topic-process {
  background: var(--surface-alt);
}

.topic-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.topic-steps li {
  min-width: 0;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-steps span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.topic-steps h3 {
  font-size: 1.08rem;
}

.topic-steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.topic-faq .section-heading {
  margin-bottom: 2.5rem;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 720;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 1.25rem;
  right: 0.2rem;
  color: var(--accent-dark);
  content: "+";
  font-size: 1.4rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details > p {
  max-width: 860px;
  padding: 0 3rem 1.35rem 0;
  color: var(--ink-soft);
}

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

.related-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.related-topic-grid a {
  display: grid;
  min-height: 190px;
  align-content: space-between;
  gap: 1.2rem;
  padding: 1.7rem;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.related-topic-grid a:hover {
  background: var(--surface-alt);
}

.related-topic-grid span {
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 760;
  text-transform: uppercase;
}

.related-topic-grid strong {
  font-size: 1.18rem;
}

.related-topic-grid small {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 720;
}

.bridge-code {
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 0.6rem;
  align-items: center;
  padding: 2rem;
  color: #dce7ed;
  background: var(--ink);
  border-radius: 6px;
}

.bridge-code span {
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
}

.bridge-code i {
  width: 30px;
  height: 1px;
  background: #8092a0;
}

.inline-cta {
  color: var(--white);
  background: #304657;
}

.inline-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr) auto;
  gap: 3rem;
  align-items: center;
  min-height: 330px;
  padding-block: 4.5rem;
}

.inline-cta h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.inline-cta-inner > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.legal-page {
  background: var(--surface);
}

.legal-page .site-header {
  position: sticky;
  top: 0;
  padding-bottom: 0.85rem;
  background: rgba(244, 246, 247, 0.7);
  backdrop-filter: blur(14px);
}

.legal-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 820px);
  gap: 5rem;
  align-items: start;
  padding-block: 6rem 8rem;
}

.legal-aside {
  position: sticky;
  top: 120px;
}

.legal-aside nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.legal-aside a {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
}

.legal-aside a[aria-current="page"] {
  color: var(--accent-dark);
}

.legal-content {
  min-width: 0;
}

.legal-content h1 {
  font-size: 3.7rem;
}

.official-legal-text {
  margin-top: 2.6rem;
}

.official-legal-text > h2 {
  margin: 2.35rem 0 1rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
  font-size: 1.45rem;
}

.official-legal-text > p {
  text-align: justify;
  text-justify: inter-word;
}

.official-legal-text > ul {
  margin: 0.8rem 0 1.4rem;
  padding-left: 1.35rem;
}

.official-legal-text > ul li + li {
  margin-top: 0.35rem;
}

.official-imprint-text {
  margin-top: 2.4rem;
}

.official-imprint-text > p {
  margin: 0;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.official-legal-text a,
.legal-source-meta a {
  overflow-wrap: anywhere;
}

.legal-source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  margin-top: 4.5rem;
  padding-top: 1rem;
  color: var(--steel);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.legal-lead {
  margin-bottom: 3rem;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.legal-content section {
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.legal-translation-notice {
  margin: 1rem 0 1.7rem;
  padding: 0.8rem 1rem;
  color: var(--ink-soft);
  background: rgba(89, 119, 143, 0.08);
  border-left: 3px solid var(--steel);
  font-size: 0.83rem;
  line-height: 1.55;
}

.legal-content section h2 {
  font-size: 1.45rem;
}

.legal-content a {
  color: #2d5d7e;
}

.legal-content mark {
  display: inline;
  padding: 0.1rem 0.2rem;
  color: #573512;
  background: #ffe8c8;
}

.legal-warning {
  margin-bottom: 2.5rem;
  padding: 1rem 1.2rem;
  color: #573512;
  background: #fff0da;
  border-left: 3px solid var(--accent);
}

.legal-warning strong {
  display: block;
}

.legal-version {
  margin-top: 3rem;
  color: var(--steel);
  font-size: 0.8rem;
}

.site-footer {
  color: var(--ink);
  background: rgba(239, 243, 245, 0.9);
  border-top: 1px solid rgba(83, 103, 125, 0.24);
  backdrop-filter: blur(18px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(360px, 1fr) auto;
  gap: 3rem;
  align-items: end;
  min-height: 220px;
  padding-block: 2.8rem;
}

.footer-brand p {
  max-width: 460px;
  margin: 0.9rem 0 0;
  color: var(--steel);
  font-size: 0.78rem;
}

.footer-brand p span {
  display: block;
}

.footer-brand .footer-owner {
  margin-top: 0.25rem;
  color: var(--steel-deep);
  font-weight: 620;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1.3rem;
}

.footer-nav a {
  color: var(--steel-deep);
  font-size: 0.78rem;
  font-weight: 620;
  text-decoration: none;
}

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

.copyright {
  margin: 0;
  color: var(--steel);
  font-size: 0.72rem;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 3.9rem;
  }

  .hero-content h1 {
    max-width: 650px;
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .main-nav a {
    padding-inline: 0.55rem;
    font-size: 0.82rem;
  }

  .feature-split,
  .application-feature,
  .fifo-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .portfolio-entry {
    grid-template-columns: 155px minmax(0, 1fr);
  }

  .portfolio-entry .application-card-visual {
    min-height: 100%;
    grid-row: 1 / span 2;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .portfolio-entry-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    grid-column: 2;
    gap: 1.25rem;
    align-items: end;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .portfolio-entry-side .application-actions {
    grid-template-columns: 1fr;
    min-width: 220px;
    padding-top: 0;
  }

  .workbook-platform-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .workbook-platform-link {
    grid-template-columns: 48px auto auto auto 48px;
    align-self: auto;
    justify-content: center;
  }

  .workbook-platform-link::before,
  .workbook-platform-link::after {
    width: 48px;
  }

  .workbook-platform-link svg {
    width: 26px;
    height: 26px;
    transform: rotate(90deg);
  }

  .workbook-mobile-panel {
    width: min(100%, 390px);
    justify-self: center;
  }

  .domain-layout {
    gap: 4rem;
  }

  .inline-cta-inner {
    grid-template-columns: 1fr auto;
  }

  .inline-cta-inner > p {
    grid-column: 1;
  }

  .inline-cta-inner > .button {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 920px) {
  .page-shell {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .section-space {
    padding-block: 5.5rem;
  }

  .site-header {
    padding-top: 0.6rem;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 170px;
  }

  .hero-content h1 {
    max-width: 610px;
    font-size: 3.2rem;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    right: 18px;
    left: 18px;
    display: none;
    max-height: calc(100svh - 104px);
    align-items: stretch;
    padding: 0.7rem;
    overflow-y: auto;
    color: var(--white);
    background: rgba(13, 24, 35, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 6px;
    box-shadow: 0 18px 50px rgba(6, 14, 21, 0.3);
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    min-height: 48px;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 0.95rem;
  }

  .site-header-light .main-nav .nav-applications,
  .main-nav .nav-applications {
    color: #ffd6a5;
  }

  .main-nav .nav-contact {
    margin: 0.5rem 0 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
  }

  .section-heading,
  .editorial-split,
  .project-teaser-grid,
  .profile-layout,
  .domain-layout,
  .topic-intro-layout,
  .topic-case-layout,
  .technology-layout,
  .applications-bridge-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .section-heading {
    align-items: start;
  }

  .feature-split,
  .application-feature,
  .fifo-showcase {
    grid-template-columns: 1fr;
  }

  .control-preview,
  .simulation-console,
  .fifo-demo,
  .simulation-evidence {
    max-width: 700px;
  }

  .portfolio-directory-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-toolbar {
    align-items: flex-start;
  }

  .portfolio-entry {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .domain-heading {
    position: static;
  }

  .case-study {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-facts {
    grid-column: 1;
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .topic-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-topic-grid {
    grid-template-columns: 1fr;
  }

  .process-line li:nth-child(3),
  .process-line li:nth-child(4) {
    margin-top: 2.5rem;
    border-top: 1px solid var(--line);
  }

  .profile-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 2.5rem;
  }

  .profile-portrait {
    width: 210px;
  }

  .profile-portrait img {
    width: 210px;
    height: 246px;
  }

  .legal-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-aside {
    position: static;
  }

  .legal-aside nav {
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .legal-aside a {
    border-bottom: 0;
  }

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

  .demo-window-head,
  .demo-main-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .demo-project-state,
  .demo-project-select {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .demo-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .function-track {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .function-stage {
    min-height: 0;
  }

  .function-track > i {
    transform: rotate(90deg);
  }

  .suite-flow-lane {
    grid-template-columns: 1fr;
  }

  .suite-flow-label {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .workspace-room {
    grid-template-columns: 1fr;
    padding-block: 1.5rem;
  }

  .workspace-glass-edge {
    transform: rotate(90deg);
  }

  .workspace-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 0.96rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  h3 {
    font-size: 1.22rem;
  }

  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section-space {
    padding-block: 4.3rem;
  }

  .draft-banner {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
    max-width: none;
  }

  .header-inner {
    gap: 0.65rem;
    padding-left: 0.85rem;
  }

  .language-select {
    width: 88px;
    min-height: 38px;
    padding-inline: 0.45rem;
    font-size: 0.67rem;
  }

  .brand img,
  .brand-on-light img {
    width: 145px;
  }

  .hero {
    height: auto;
    min-height: 760px;
    max-height: none;
  }

  .hero-media {
    object-position: center 45%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 15, 23, 0.82), rgba(12, 24, 34, 0.46)),
      linear-gradient(0deg, rgba(9, 18, 27, 0.62), transparent 55%);
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 9.7rem;
    padding-bottom: 14rem;
  }

  .hero-content h1 {
    max-width: 520px;
    font-size: 2.2rem;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .page-hero-content > p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
    max-width: 360px;
  }

  .hero-facts {
    bottom: 2.2rem;
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .hero-facts div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 0.55rem;
    align-items: center;
    padding: 0.35rem 0.8rem;
  }

  .hero-facts div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .hero-facts span {
    margin-bottom: 0;
  }

  .section-heading {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .capability-grid,
  .experience-grid,
  .domain-services,
  .topic-proof-grid,
  .technology-matrix {
    grid-template-columns: 1fr;
  }

  .capability-item + .capability-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .project-teaser-case {
    padding-left: 1.2rem;
  }

  .preview-queue,
  .preview-filters,
  .fifo-slots,
  .filter-bank {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-filters span {
    min-height: 58px;
  }

  .contact-grid {
    gap: 2.5rem;
  }

  .contact-section {
    padding-block: 4.5rem;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .page-hero,
  .page-hero-compact {
    min-height: 520px;
  }

  .page-hero-media,
  .page-hero-pattern {
    background-image: url("assets/hero-automation-programming-mobile-v1.jpg");
    background-image: image-set(url("assets/hero-automation-programming-mobile-v1.webp") type("image/webp"), url("assets/hero-automation-programming-mobile-v1.jpg") type("image/jpeg"));
    background-position: center 45%;
  }

  .page-hero-shade,
  .page-hero-compact::after {
    background: linear-gradient(90deg, rgba(8, 17, 25, 0.83), rgba(12, 26, 38, 0.5) 58%, rgba(12, 26, 38, 0.2));
  }

  .page-hero-compact .page-hero-pattern {
    opacity: 0.64;
  }

  .page-hero-content {
    padding-top: 8.7rem;
  }

  .page-hero-content h1,
  .page-hero-compact .page-hero-content h1 {
    font-size: 2.15rem;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .application-copy h3,
  .fifo-copy h3 {
    font-size: 1.9rem;
  }

  .fifo-copy > p,
  .application-copy > p,
  .application-card-content > p,
  .editorial-copy > p,
  .feature-copy > p,
  .profile-copy > p,
  .legal-content > p,
  .case-main > p,
  .topic-copy > p,
  .topic-case-copy > p,
  .faq-list details > p,
  .portfolio-entry-details > div > p,
  .large-copy {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .signal-matrix {
    grid-template-columns: 1fr;
  }

  .portfolio-directory-heading {
    margin-top: 5rem;
    padding-top: 2.5rem;
  }

  .portfolio-directory-heading h3 {
    font-size: 1.75rem;
  }

  .portfolio-toolbar {
    display: grid;
    gap: 0.8rem;
  }

  .portfolio-filters {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-filter {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .portfolio-filter:nth-child(2n) {
    border-right: 0;
  }

  .portfolio-filter:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }

  .portfolio-result {
    justify-self: end;
  }

  .portfolio-entry {
    min-height: 0;
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .portfolio-entry .application-card-visual {
    min-height: 132px;
    grid-row: 1;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .portfolio-entry .application-card-content {
    padding: 1.2rem;
  }

  .application-card-content h4 {
    font-size: 1.28rem;
  }

  .portfolio-entry-side {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
    gap: 0.9rem;
    align-items: start;
    padding: 1.15rem 1.2rem;
  }

  .portfolio-entry-meta-title {
    display: block;
    color: var(--steel-deep);
    font-size: 0.67rem;
    font-weight: 780;
    text-transform: uppercase;
  }

  .portfolio-entry-meta {
    width: 100%;
    gap: 0;
  }

  .portfolio-entry-meta div {
    grid-template-columns: minmax(82px, 0.34fr) minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 0.52rem 0;
    border-top: 1px solid var(--line);
  }

  .portfolio-entry-meta dt,
  .portfolio-entry-meta dd {
    overflow-wrap: anywhere;
  }

  .portfolio-entry-side .application-actions {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding-top: 0.15rem;
  }

  .application-directory .planning-visual,
  .application-directory .workbook-visual {
    padding: 0.45rem;
  }

  .application-directory .app-mini-nav {
    height: 22px;
    padding: 0 0.3rem;
  }

  .application-directory .app-mini-nav i {
    width: 10px;
    height: 3px;
  }

  .application-directory .app-mini-content {
    height: 82px;
  }

  .application-directory .workbook-total {
    padding: 0.45rem;
  }

  .application-directory .workbook-total span {
    font-size: 0.5rem;
  }

  .application-directory .workbook-total strong {
    font-size: 0.82rem;
  }

  .application-directory .workbook-bars {
    height: 49px;
    padding-top: 0.4rem;
  }

  .application-directory .workbook-lines {
    display: none;
  }

  .application-directory .suite-visual {
    gap: 0.35rem;
    padding: 0.4rem;
  }

  .application-directory .suite-ring {
    width: 45px;
    height: 45px;
    border-width: 4px;
  }

  .application-directory .suite-systems span {
    font-size: 0.46rem;
  }

  .application-directory .suite-log {
    display: none;
  }

  .application-directory .workspace-surface {
    top: 31px;
    width: 31px;
    height: 70px;
    padding: 0.2rem;
  }

  .application-directory .workspace-surface span {
    display: none;
  }

  .application-directory .workspace-surface i {
    height: 51px;
    margin-top: 0.2rem;
  }

  .application-directory .surface-left {
    left: 6px;
  }

  .application-directory .surface-right {
    right: 6px;
  }

  .application-directory .workspace-edge {
    top: 22px;
    width: 28px;
    height: 91px;
    border-right-width: 4px;
    border-left-width: 4px;
  }

  .application-directory .workspace-object {
    top: 62px;
    left: calc(50% - 9px);
    width: 18px;
    height: 25px;
  }

  .garden-visual {
    gap: 0.35rem;
    padding: 0.4rem;
  }

  .garden-visual img {
    width: 66px;
    height: 66px;
  }

  .garden-visual span {
    font-size: 0.46rem;
    text-align: center;
  }

  .application-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .application-preview-button {
    width: 100%;
  }

  .media-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
  }

  .media-dialog-shell {
    max-height: calc(100vh - 1rem);
  }

  .media-dialog-head {
    min-height: 68px;
    padding-left: 0.9rem;
  }

  .media-dialog-head h2 {
    font-size: 0.96rem;
  }

  .media-dialog figure > img {
    max-height: calc(100vh - 132px);
  }

  .product-demo,
  .function-map {
    min-height: 0;
  }

  .product-demo {
    padding: 0.8rem;
  }

  .demo-workbook,
  .demo-systemsuite {
    padding: 0;
  }

  .garden-demo-head,
  .garden-demo-stage {
    grid-template-columns: 1fr;
  }

  .garden-demo-status {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .garden-demo-stage .garden-demo-mobile {
    width: min(100%, 300px);
    justify-self: center;
    order: -1;
  }

  .garden-demo-proof {
    grid-template-columns: 1fr;
  }

  .demo-window-head,
  .demo-main-head {
    grid-template-columns: 1fr;
  }

  .demo-project-state,
  .demo-project-select {
    grid-column: auto;
    grid-row: auto;
  }

  .demo-status {
    justify-self: start;
  }

  .demo-app-layout {
    grid-template-columns: 1fr;
  }

  .workbook-platform-layout {
    padding: 0.6rem;
  }

  .workbook-desktop-panel .demo-app-layout {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .workbook-platform-head {
    align-items: flex-start;
  }

  .workbook-platform-link {
    grid-template-columns: 34px auto 26px auto 34px;
  }

  .workbook-platform-link::before,
  .workbook-platform-link::after {
    width: 34px;
  }

  .workbook-mobile-panel {
    width: 100%;
  }

  .demo-workbook-body {
    grid-template-columns: 1fr;
  }

  .demo-mobile-capture {
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: center;
  }

  .demo-mobile-caption,
  .demo-mobile-capture > p {
    grid-column: 1;
  }

  .demo-phone-shell {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .demo-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .demo-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-sidebar-foot {
    margin-top: 1rem;
  }

  .demo-main-head {
    gap: 0.7rem;
  }

  .demo-panel-head {
    display: grid;
  }

  .demo-tool-row {
    justify-content: flex-start;
  }

  .function-map {
    padding: 1.5rem 1rem;
  }

  .function-map header {
    margin-bottom: 1.5rem;
  }

  .function-map header h3 {
    font-size: 1.45rem;
  }

  .function-foundation {
    grid-template-columns: 1fr;
  }

  .suite-flow-steps {
    display: grid;
    grid-template-columns: 1fr;
  }

  .suite-flow-steps > i {
    transform: rotate(90deg);
    text-align: center;
  }

  .workspace-principles {
    grid-template-columns: 1fr 1fr;
  }

  .console-layers div {
    grid-template-columns: 1fr auto;
  }

  .console-layers small {
    display: none;
  }

  .fifo-controls {
    grid-template-columns: 1fr;
  }

  .fifo-controls .button {
    width: 100%;
  }

  .process-line {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .process-line li,
  .process-line li + li,
  .process-line li:nth-child(3),
  .process-line li:nth-child(4) {
    margin-top: 0;
    padding: 1.4rem 0 1.4rem 2.2rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-line li::before,
  .process-line li:first-child::before {
    top: 1.8rem;
    left: 0;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-portrait {
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 1rem;
    align-items: end;
    width: auto;
  }

  .profile-portrait img {
    width: 124px;
    height: 150px;
  }

  .credential-list div,
  .service-continuum div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .section-jump {
    top: 82px;
  }

  .section-jump .page-shell {
    gap: 1.2rem;
  }

  .case-study {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .case-facts {
    grid-column: 1;
  }

  .case-main h3 {
    font-size: 1.65rem;
  }

  .topic-facts div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .topic-steps {
    grid-template-columns: 1fr;
  }

  .topic-breadcrumb ol {
    min-height: 48px;
  }

  .topic-proof-grid article,
  .topic-steps li,
  .related-topic-grid a {
    padding: 1.35rem;
  }

  .bridge-code {
    grid-template-columns: 1fr;
  }

  .bridge-code i {
    width: 1px;
    height: 20px;
    margin-left: 1rem;
  }

  .inline-cta-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .inline-cta-inner > p,
  .inline-cta-inner > .button {
    grid-column: 1;
    grid-row: auto;
  }

  .inline-cta-inner > .button {
    justify-self: start;
  }

  .legal-main {
    padding-block: 4rem 6rem;
  }

  .legal-content h1 {
    font-size: 2.65rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .copyright {
    grid-column: 1;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 2.05rem;
  }

  .legal-content h1 {
    font-size: 1.85rem;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .official-legal-text > h2 {
    font-size: 1.2rem;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 1.78rem;
  }

  .hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.12;
  }

  .hero-copy,
  .page-hero-content > p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .page-hero-content h1,
  .page-hero-compact .page-hero-content h1 {
    font-size: 1.9rem;
    line-height: 1.12;
  }

  .application-card-content h4 {
    font-size: 1.18rem;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 1.95rem;
  }

  .legal-content h1 {
    font-size: 1.85rem;
    overflow-wrap: anywhere;
  }

  .official-legal-text > h2 {
    font-size: 1.2rem;
    overflow-wrap: anywhere;
  }

  .official-legal-text > p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .legal-source-meta {
    display: grid;
    justify-content: start;
  }

  .page-hero-content h1,
  .page-hero-compact .page-hero-content h1 {
    font-size: 1.82rem;
  }

  .hero-content h1 {
    font-size: 1.78rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .brand img,
  .brand-on-light img {
    width: 126px;
  }

  .hero-content {
    padding-top: 9rem;
  }

  .button {
    width: 100%;
  }

  .portfolio-entry {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .portfolio-entry .application-card-visual {
    min-height: 118px;
  }

  .portfolio-entry-side {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .portfolio-entry-side .application-actions {
    min-width: 0;
    padding-top: 1rem;
  }

  .portfolio-result {
    justify-self: start;
  }

  .garden-demo-brand {
    align-items: flex-start;
  }

  .garden-demo-brand img {
    width: 54px;
    height: 54px;
  }

  .garden-demo-status {
    grid-template-columns: 1fr;
  }

  .garden-demo-status div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .application-card-content {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
