/* Theme control is available outside the collapsed navigation on every page. */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  padding: 10px 12px;
  font:
    10px 'Liberation Mono',
    'Courier New',
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-left: 18px;
  order: 2;
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle:hover {
  color: var(--acid);
  border-color: var(--acid);
}
.theme-icon-sun {
  display: none;
}
html[data-theme='dark'] .theme-icon-sun {
  display: block;
}
html[data-theme='dark'] .theme-icon-moon {
  display: none;
}
.site-header .navbar-toggler {
  order: 2;
}
.site-header .navbar-collapse {
  order: 3;
}
.site-header .theme-toggle {
  order: 1;
  margin-left: auto;
  margin-right: 12px;
}
@media (min-width: 1400px) {
  .site-header .navbar-collapse {
    order: 1;
  }
  .site-header .theme-toggle {
    order: 2;
    margin-left: 18px;
    margin-right: 0;
  }
}
@media (max-width: 1599px) {
  .theme-toggle [data-theme-label] {
    display: none;
  }
}
@media (min-width: 1400px) and (max-width: 1599px) {
  .site-header .brand img {
    width: 210px;
  }
  .site-header .navbar-nav .nav-link {
    padding-left: 8px !important;
    padding-right: 8px !important;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
}
@media (max-width: 575px) {
  .site-header .brand img {
    width: 170px;
  }
  .site-header .brand {
    margin-right: 8px;
  }
  .theme-toggle {
    padding: 10px;
  }
  .site-header .theme-toggle {
    margin-right: 8px;
  }
  .navbar-toggler {
    padding: 10px;
    font-size: 12px;
    min-height: 44px;
  }
}
@media (max-width: 359px) {
  .site-header .brand img {
    width: 145px;
  }
  .navbar-toggler {
    padding: 10px 8px;
  }
}

/* White paper, graphite type and olive signals. These art-directed overrides
   cover images, overlays and inverse controls rather than merely inverting. */
html[data-theme='light'] .site-header {
  background: #ffffffed;
  border-color: var(--line);
}
html[data-theme='light'] .hero-bg {
  background-image: url('./sketch-home.webp');
}
html[data-theme='light'] .hero:before {
  background:
    linear-gradient(90deg, #fff 0%, #ffffffed 28%, #ffffff80 52%, #ffffff00 80%),
    linear-gradient(0deg, #fff, transparent 20%);
}
html[data-theme='light'] .hero-signal {
  mix-blend-mode: multiply;
  opacity: 0.32;
  color: var(--acid);
}
html[data-theme='light'] .hero-signal svg {
  filter: grayscale(0.75) brightness(0.5);
}
html[data-theme='light'] .hero-signal [fill^='url'] {
  fill: none;
}
html[data-theme='light'] .hero-signal [stroke^='#'] {
  stroke: #647c71;
}
html[data-theme='light'] .hero-signal [fill^='#'] {
  fill: #49651c;
}
html[data-theme='light'] .subhero:after {
  background:
    linear-gradient(90deg, #fff 0%, #fffffff5 32%, #ffffff91 60%, #ffffff10 100%),
    url('./sketch-technologies.webp') center/cover no-repeat;
}
html[data-theme='light'] .themed-hero:after {
  background:
    linear-gradient(90deg, #fff 0%, #fffffff2 30%, #ffffff88 57%, #ffffff05 100%),
    linear-gradient(0deg, #fff, transparent 22%),
    var(--scene-light, var(--scene)) center/cover no-repeat;
}
html[data-theme='light'] .reference-hero:after {
  background:
    linear-gradient(90deg, #fff 0%, #fffffff2 35%, #ffffff33 100%),
    linear-gradient(0deg, #fff, transparent 35%),
    var(--scene-light, var(--scene)) center/cover no-repeat;
}
html[data-theme='light'] .image-feature:after,
html[data-theme='light'] .scene-card:after,
html[data-theme='light'] .story-image-statement:after {
  background: linear-gradient(0deg, #fffffff7, #ffffffa6 40%, #ffffff00 100%);
}
html[data-theme='light'] .story-image-statement:after {
  background:
    linear-gradient(90deg, #fffffff5, #ffffff55 65%, transparent),
    linear-gradient(0deg, #ffffffc9, transparent);
}
html[data-theme='light'] .system-picture:after {
  background: linear-gradient(90deg, transparent 55%, var(--panel));
}
html[data-theme='light'] .story-focus-picture:after {
  background: linear-gradient(90deg, var(--panel), transparent 55%);
}
html[data-theme='light'] .hero-copy,
html[data-theme='light'] .subhero p,
html[data-theme='light'] .typewriter,
html[data-theme='light'] .content-block p,
html[data-theme='light'] .content-block li,
html[data-theme='light'] .story-body {
  color: var(--muted);
}
html[data-theme='light'] .nav-link {
  color: var(--paper) !important;
}
html[data-theme='light'] .nav-link:hover,
html[data-theme='light'] .nav-link.active {
  color: var(--acid) !important;
}
html[data-theme='light'] .navbar-toggler {
  color: var(--paper);
  border-color: var(--line);
}
html[data-theme='light'] .dropdown-menu {
  background: #fff;
  box-shadow: 0 20px 45px #18272c12;
}
html[data-theme='light'] .dropdown-item[aria-current='page'],
html[data-theme='light'] .dropdown-item.active {
  background: #edf2e6;
  color: var(--paper);
}
html[data-theme='light'] .dropdown-item:hover,
html[data-theme='light'] .dropdown-item:focus {
  background: #edf2e6;
  color: var(--paper);
}
html[data-theme='light'] .practice-menu .dropdown-item:hover > small,
html[data-theme='light'] .practice-menu .dropdown-item:focus > small {
  color: var(--muted);
}
html[data-theme='light'] .btn-acid,
html[data-theme='light'] .btn-acid:hover,
html[data-theme='light'] .filter-btn.active,
html[data-theme='light'] .filter-btn:hover,
html[data-theme='light'] .study-switch button.active {
  color: #fff;
  background: var(--acid);
  border-color: var(--acid);
}
html[data-theme='light'] .btn-acid:hover {
  background: #344c13;
}
html[data-theme='light'] .btn-line,
html[data-theme='light'] .btn-line:hover {
  color: var(--paper);
  border-color: var(--muted);
}
html[data-theme='light'] .contact-band {
  background: #e9efdf;
  color: var(--paper);
}
html[data-theme='light'] .contact-band .eyebrow,
html[data-theme='light'] .contact-band .btn {
  color: var(--acid);
  border-color: var(--acid);
}
html[data-theme='light'] .contact-band .btn:hover {
  color: #fff;
  background: var(--acid);
}
html[data-theme='light'] .form-control,
html[data-theme='light'] .form-select,
html[data-theme='light'] .form-control:focus,
html[data-theme='light'] .form-select:focus,
html[data-theme='light'] .form-select option {
  background: #fff;
  color: var(--paper);
}
html[data-theme='light'] .form-control::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
html[data-theme='light'] .stack-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--muted);
  --bs-table-border-color: var(--line);
  --bs-table-striped-bg: var(--panel);
}
html[data-theme='light'] .timeline-node {
  background: var(--panel);
}
html[data-theme='light'] .timeline-turning-point .timeline-node {
  background: var(--acid);
  box-shadow: none;
}
html[data-theme='light'] .concept-label,
html[data-theme='light'] .feature-caption,
html[data-theme='light'] .story-image-credit {
  color: var(--muted);
  background: #ffffffcf;
  padding: 5px 8px;
}
html[data-theme='light'] .study-caption,
html[data-theme='light'] .story-reference-image .micro,
html[data-theme='light'] .reference-preview-image > .micro {
  color: var(--paper);
  background: #ffffffed;
}
html[data-theme='light'] .practice-topic-card:hover {
  background: #edf2e6;
}
html[data-theme='light'] .signal-toggle {
  background: #ffffffc9;
  color: var(--muted);
}
html[data-theme='light'] .capability:hover {
  background: #e7eddf;
}
html[data-theme='light'] ::selection {
  background: #d4dfc2;
  color: #18272c;
}
html[data-theme='light'] .skip {
  background: var(--acid);
  color: #fff;
}
@media (max-width: 991px) {
  html[data-theme='light'] .hero:before {
    background:
      linear-gradient(90deg, #fffffff7, #ffffffc9 50%, #ffffff55),
      linear-gradient(0deg, #fff, transparent 30%);
  }
  html[data-theme='light'] .hero-signal {
    opacity: 0.2;
  }
  html[data-theme='light'] .themed-hero:after {
    background:
      linear-gradient(90deg, #fffffff7, #ffffffd1 50%, #ffffff75),
      var(--scene-light, var(--scene)) 65% center/cover no-repeat;
  }
  html[data-theme='light'] .system-picture:after,
  html[data-theme='light'] .story-focus-picture:after {
    background: linear-gradient(0deg, var(--panel), transparent 55%);
  }
}
/* Keep the brand readable while a saved dark preference loads its SVG. */
html[data-theme='dark'] .brand img {
  filter: brightness(0) invert(1);
}
html[data-theme='light'] .hero-signal .signal-art {
  color: var(--acid);
}

/* Fixed navigation with a smaller scroll state in both color schemes. */
html {
  scroll-padding-top: 112px;
}
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: #090c0ce6;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.site-header .navbar {
  transition:
    min-height 0.25s ease,
    padding 0.25s ease;
}
.site-header .brand img {
  transition: width 0.25s ease;
}
.site-header.is-compact {
  background: #090c0cf5;
  box-shadow: 0 8px 28px #0000001f;
}
.site-header.is-compact .navbar {
  min-height: 68px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.site-header.is-compact .brand img {
  width: 200px;
}
html[data-theme='light'] .site-header.is-compact {
  background: #fffffff5;
  box-shadow: 0 8px 28px #18272c12;
}
.site-header .navbar-nav .dropdown-menu {
  max-height: calc(100dvh - 125px);
}
.site-header.is-compact .navbar-nav .dropdown-menu {
  max-height: calc(100dvh - 90px);
}
.detail-index {
  top: 96px;
}
@media (max-width: 1399px) {
  .site-header .navbar-collapse {
    max-height: calc(100dvh - 100px);
  }
  .site-header.is-compact .navbar {
    min-height: 64px;
  }
  .site-header.is-compact .brand img {
    width: 180px;
  }
  .site-header.is-compact .navbar-collapse {
    max-height: calc(100dvh - 80px);
  }
  .site-header .navbar-nav .dropdown-menu,
  .site-header.is-compact .navbar-nav .dropdown-menu {
    max-height: none;
  }
}
@media (max-width: 575px) {
  .site-header.is-compact .brand img {
    width: 150px;
  }
}
@media (max-width: 359px) {
  .site-header.is-compact .brand img {
    width: 135px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .navbar,
  .site-header .brand img {
    transition: none;
  }
}

/* The former divider is the homepage's category selector. */
.hero-slider {
  padding-top: 145px;
  padding-bottom: 240px;
  min-height: 850px;
}
.hero-slider .hero-panels {
  width: 100%;
}
.hero-slider .hero-title {
  font-size: clamp(60px, 7.5vw, 116px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.065em;
  margin: 0 0 28px;
  max-width: 1000px;
}
.hero-slider .hero-title .outline {
  color: var(--acid);
}
.hero-slider .hero-copy {
  max-width: 520px;
  min-height: 82px;
}
.hero-panel[hidden] {
  display: none;
}
.hero-panel.is-active {
  animation: hero-panel-in 0.4s ease both;
}
.hero-slider .hero-slide-bg {
  background-image: var(--hero-dark);
  opacity: 0;
  transition: opacity 0.55s ease;
}
.hero-slider .hero-slide-bg.is-active {
  opacity: 1;
}
html[data-theme='light'] .hero-slider .hero-slide-bg {
  background-image: var(--hero-light);
}
.hero-slider .hero-bottom {
  bottom: 112px;
}
.hero-slider .signal-toggle {
  bottom: 225px;
}
.hero-slide-count {
  color: var(--muted);
  white-space: nowrap;
}
.hero-switcher {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  background: #101512ed;
  z-index: 3;
}
html[data-theme='light'] .hero-switcher {
  background: #ffffffed;
}
.hero-switcher .container-fluid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: stretch;
}
.hero-tabs {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
  min-width: 0;
}
.hero-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  min-height: 86px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  font:
    11px 'Liberation Mono',
    'Courier New',
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.hero-tab:first-child {
  border-left: 1px solid var(--line);
}
.hero-tab:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 3px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.hero-tab:hover,
.hero-tab.is-active {
  color: var(--paper);
  background: #ffffff06;
}
html[data-theme='light'] .hero-tab:hover,
html[data-theme='light'] .hero-tab.is-active {
  background: #edf2e6;
  color: var(--paper);
}
.hero-tab.is-active:before {
  transform: scaleX(1);
}
.hero-tab-index {
  color: var(--acid);
  font-size: 9px;
}
.hero-step-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-step-controls[hidden] {
  display: none;
}
.hero-step-controls button {
  height: 44px;
  width: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-size: 20px;
}
.hero-step-controls button:hover {
  border-color: var(--acid);
  color: var(--acid);
}
html[data-theme='light'] .hero-signal,
html[data-theme='light'] .signal-toggle {
  display: none;
}
@keyframes hero-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1399px) {
  .hero-tab {
    font-size: 10px;
    gap: 9px;
    padding-inline: 10px;
  }
  .hero-slider .hero-title {
    font-size: clamp(64px, 8.5vw, 105px);
  }
}
@media (max-width: 991px) {
  .hero-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-padding-inline: 6px;
  }
  .hero-tab {
    flex: 0 0 auto;
    min-width: 150px;
    min-height: 76px;
    padding: 18px;
  }
  .hero-tab[data-hero-tab='arztpraxen'],
  .hero-tab[data-hero-tab='consulting'] {
    min-width: 210px;
  }
  .hero-switcher .container-fluid {
    gap: 12px;
  }
  .hero-slider .hero-bottom {
    bottom: 110px;
  }
  .hero-slider .signal-toggle {
    bottom: 210px;
  }
  .hero-slider {
    padding-bottom: 240px;
  }
  .hero-step-controls {
    gap: 4px;
  }
}
@media (max-width: 575px) {
  .hero-slider {
    min-height: 900px;
    padding-top: 120px;
    padding-bottom: 220px;
    height: 100svh;
  }
  .hero-slider .hero-title {
    font-size: clamp(44px, 11.8vw, 60px);
  }
  .hero-slider .hero-copy {
    font-size: 14px;
    min-height: 108px;
    max-width: 330px;
  }
  .hero-slider .hero-actions {
    gap: 18px;
  }
  .hero-slider .hero-actions .text-link {
    display: none;
  }
  .hero-slider .hero-bottom {
    bottom: 105px;
  }
  .hero-slider .typewriter {
    max-width: 245px;
  }
  .hero-slider .hero-bottom > .micro {
    font-size: 9px;
  }
  .hero-tabs {
    margin-left: -5px;
  }
  .hero-tab {
    font-size: 9px;
    min-width: 135px;
    min-height: 76px;
    padding: 16px 12px;
  }
  .hero-tab[data-hero-tab='arztpraxen'],
  .hero-tab[data-hero-tab='consulting'] {
    min-width: 185px;
  }
  .hero-tab-index {
    font-size: 8px;
  }
  .hero-step-controls {
    flex-direction: row;
    justify-content: center;
    gap: 4px;
  }
  .hero-step-controls button {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .hero-slider .signal-toggle {
    bottom: 208px;
  }
  .hero-slide-count {
    align-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-panel.is-active {
    animation: none;
  }
  .hero-slider .hero-slide-bg,
  .hero-tab:before {
    transition: none;
  }
}
.hero-switcher .hero-tab > span {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.hero-switcher .hero-tab .hero-tab-index {
  font-size: 9px;
  color: var(--acid);
}

/* Legal copy stays complete and readable; original wording is not condensed. */
.original-legal-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.original-legal-text h2 {
  color: var(--paper);
  font-size: clamp(28px, 3vw, 42px);
  margin: 52px 0 24px;
}
.original-legal-text h3 {
  color: var(--paper);
  font-size: 24px;
  margin: 30px 0 18px;
}
.original-legal-text p {
  margin-bottom: 20px;
}
.original-legal-text ul {
  padding-left: 23px;
  margin-bottom: 28px;
}
.original-legal-text li {
  margin-bottom: 12px;
}
.original-legal-text strong {
  color: var(--paper);
}
.original-legal-text blockquote {
  border-left: 2px solid var(--line);
  padding-left: 22px;
  margin: 22px 0;
}
.original-legal-text a,
.legal-page .content-block a {
  border-bottom: 1px solid var(--line);
}
.original-legal-text code,
.legal-page code {
  font:
    13px 'Liberation Mono',
    'Courier New',
    monospace;
  color: var(--paper);
}
.legal-source-heading {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.legal-additions {
  border-top: 2px solid var(--acid);
  padding-top: 60px;
  margin-top: 65px;
}
.legal-index {
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 15px;
}
.legal-index a {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 16px;
}
.ai-art-label {
  position: absolute;
  right: 4.5vw;
  bottom: 20px;
  color: var(--muted);
  font-size: 9px;
  background: var(--ink);
  padding: 7px 10px;
  z-index: 4;
}
.hero-slider .ai-art-label {
  top: 125px;
  bottom: auto;
}
.site-footer .footer-ai-note {
  font-size: 10px;
  margin-top: 16px;
}
@media (max-width: 991px) {
  .legal-index {
    max-height: 330px;
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
  }
  .legal-index a {
    flex-basis: 45%;
  }
}
@media (max-width: 575px) {
  .original-legal-text {
    font-size: 15px;
  }
  .hero-slider .ai-art-label {
    top: 100px;
    right: 22px;
    font-size: 8px;
  }
  .ai-art-label {
    right: 22px;
    font-size: 8px;
  }
  .legal-index a {
    flex-basis: 100%;
  }
}

/* Company mission: two editorial image chapters, followed by practical aims. */
.mission-section {
  border-block: 1px solid var(--line);
  background: var(--panel);
}
.mission-opening {
  align-items: end;
}
.mission-opening h2 {
  font-size: clamp(38px, 4.8vw, 74px);
  margin: 0;
}
.mission-lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--paper);
  margin: 0;
}
.mission-intention {
  max-width: 900px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  margin: 42px 0 0;
}
.mission-chapter {
  margin-top: 85px;
}
.mission-chapter h3 {
  font-size: clamp(29px, 3.1vw, 45px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.mission-chapter p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 21px;
}
.mission-chapter .eyebrow {
  font-size: 10px;
  line-height: 1.8;
}
.mission-figure {
  margin: 0;
}
.mission-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--line);
}
.mission-figure figcaption {
  font:
    9px 'Liberation Mono',
    'Courier New',
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 14px;
}
.mission-background-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 17px;
  margin-top: 28px;
  font:
    10px 'Liberation Mono',
    'Courier New',
    monospace;
  line-height: 1.8;
  color: var(--muted);
}
.mission-background-links > span {
  flex-basis: 100%;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mission-background-links a {
  border-bottom: 1px solid var(--line);
}
.mission-background-links a:hover {
  color: var(--acid);
}
.mission-impact {
  border-top: 1px solid var(--line);
  margin-top: 85px;
  padding-top: 48px;
}
.mission-impact h3 {
  font-size: 34px;
  line-height: 1.15;
}
.mission-impact h4 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  font-weight: 400;
}
.mission-impact .col-md-4 p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.mission-closing {
  font-size: clamp(21px, 2.3vw, 31px);
  line-height: 1.6;
  letter-spacing: -0.03em;
  max-width: 900px;
  color: var(--paper);
  border-left: 2px solid var(--acid);
  padding-left: 25px;
  margin: 48px 0 0;
}
@media (max-width: 991px) {
  .mission-chapter {
    margin-top: 60px;
  }
  .mission-chapter-reverse > .col-lg-6 {
    order: -1;
  }
  .mission-lead {
    font-size: 18px;
  }
  .mission-intention {
    font-size: 16px;
  }
  .mission-impact {
    margin-top: 60px;
  }
  .mission-figure {
    max-width: 800px;
  }
}
@media (max-width: 575px) {
  .mission-opening h2 {
    font-size: 40px;
  }
  .mission-lead {
    font-size: 17px;
  }
  .mission-intention {
    font-size: 15px;
    margin-top: 28px;
  }
  .mission-chapter h3 {
    font-size: 31px;
  }
  .mission-chapter p {
    font-size: 14px;
  }
  .mission-chapter {
    margin-top: 48px;
  }
  .mission-chapter .eyebrow {
    font-size: 9px;
  }
  .mission-impact {
    margin-top: 48px;
    padding-top: 35px;
  }
  .mission-impact h3 {
    font-size: 31px;
  }
  .mission-closing {
    font-size: 22px;
    padding-left: 20px;
    margin-top: 35px;
  }
}

/* anamnesio: patient devices, form workflow and practice integration. */
.anamnesio-hero {
  min-height: 720px;
  padding-bottom: 105px;
}
.anamnesio-hero h1 {
  max-width: 950px;
}
.anamnesio-hero p {
  max-width: 610px;
}
.anamnesio-copy {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 23px;
}
.anamnesio-preview,
.anamnesio-forms,
.anamnesio-integration {
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.anamnesio-figure {
  margin: 0;
}
.anamnesio-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--line);
}
.anamnesio-figure figcaption {
  font:
    9px 'Liberation Mono',
    'Courier New',
    monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 14px;
}
.anamnesio-workflow {
  list-style: none;
  padding: 0;
  margin: 60px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  counter-reset: none;
}
.anamnesio-workflow li {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.anamnesio-workflow .index {
  display: block;
  margin-bottom: 32px;
}
.anamnesio-workflow h3 {
  font-size: 29px;
  margin-bottom: 20px;
}
.anamnesio-workflow p,
.anamnesio-form-topic p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 420px;
}
.anamnesio-form-topic {
  border-top: 1px solid var(--line);
  padding: 25px 0 5px;
}
.anamnesio-form-topic h3 {
  font-size: 26px;
  margin-bottom: 18px;
}
@media (max-width: 991px) {
  .anamnesio-hero {
    min-height: 690px;
  }
  .anamnesio-workflow {
    gap: 24px;
  }
  .anamnesio-workflow h3 {
    font-size: 24px;
  }
}
@media (max-width: 575px) {
  .anamnesio-hero {
    min-height: 790px;
  }
  .anamnesio-hero h1 {
    font-size: 52px;
  }
  .anamnesio-copy {
    font-size: 15px;
  }
  .anamnesio-workflow {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }
  .anamnesio-workflow .index {
    margin-bottom: 20px;
  }
  .anamnesio-workflow h3 {
    font-size: 27px;
  }
  .anamnesio-workflow p {
    font-size: 14px;
  }
}

/* Quiet drafting geometry gives the footer depth while retaining its layout. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding-top: 65px;
}
.site-footer:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('./footer-network.svg') right center/cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
}
html[data-theme='light'] .site-footer {
  background: #f1f3f2;
}
html[data-theme='light'] .site-footer:before {
  opacity: 0.32;
}
.footer-manifesto {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  padding-bottom: 42px;
  margin-bottom: 45px;
  border-bottom: 1px solid var(--line);
}
.footer-slogan {
  font-size: clamp(29px, 3.6vw, 55px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  max-width: 950px;
  margin: 0;
  color: var(--paper);
}
.footer-slogan span {
  display: block;
  color: var(--muted);
}
.footer-origin {
  color: var(--muted);
  font-size: 9px;
  line-height: 2;
  white-space: nowrap;
  padding-bottom: 4px;
}
.site-footer .footer-top {
  padding-bottom: 40px;
}
.site-footer .footer-top > div:first-child {
  max-width: 400px;
}
@media (max-width: 991px) {
  .footer-origin {
    display: none;
  }
  .site-footer:before {
    background-position: 65% center;
  }
  .footer-manifesto {
    padding-bottom: 32px;
    margin-bottom: 35px;
  }
}
@media (max-width: 575px) {
  .site-footer {
    padding-top: 45px;
  }
  .footer-slogan {
    font-size: 32px;
    line-height: 1.2;
  }
  .footer-manifesto {
    padding-bottom: 28px;
    margin-bottom: 32px;
  }
  .site-footer:before {
    opacity: 0.13;
  }
  html[data-theme='light'] .site-footer:before {
    opacity: 0.22;
  }
}
