:root {
  --ink-950: #0b1f1f;
  --ink-900: #132b2b;
  --ink-800: #1a3a39;
  --petrol-700: #125b58;
  --petrol-600: #176e69;
  --petrol-100: #dbe9e6;
  --brass-600: #9b621f;
  --brass-100: #f2e4cb;
  --paper: #f4f1ea;
  --paper-dark: #e8e3d8;
  --white: #fffefa;
  --text: #1f2d2c;
  --muted: #5a6865;
  --line: #d6d5cc;
  --line-dark: rgba(255, 255, 255, 0.16);
  --success: #356f52;
  --focus: #e6a33f;
  --shadow-sm: 0 12px 32px rgba(19, 43, 43, 0.08);
  --shadow-lg: 0 30px 80px rgba(19, 43, 43, 0.16);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --container: 76rem;
  --section-space: clamp(4.25rem, 7vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--ink-900);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.75rem;
  font-size: clamp(3.35rem, 5.4vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.062em;
}

h1 span {
  display: block;
  color: var(--petrol-600);
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.27rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

::selection {
  color: var(--white);
  background: var(--petrol-700);
}

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

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink-950);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.kicker {
  margin-bottom: 1.15rem;
  color: var(--petrol-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.kicker-light {
  color: #9fd4ce;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(255, 254, 250, 0.94);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

@supports (backdrop-filter: blur(1rem)) {
  .site-header {
    background: rgba(255, 254, 250, 0.86);
    backdrop-filter: blur(1rem);
  }
}

.site-header.is-scrolled {
  border-color: rgba(19, 43, 43, 0.11);
  box-shadow: 0 5px 18px rgba(19, 43, 43, 0.05);
}

.nav-shell {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.75rem;
  color: var(--ink-900);
  font-size: 1.23rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  width: 2.55rem;
  height: 2.55rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.2vw, 2rem);
}

.nav-panel a {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: #3d4d4a;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-panel > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--petrol-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-panel > a:not(.nav-contact):hover::after,
.nav-panel > a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-panel .nav-contact {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  color: var(--white);
  background: var(--ink-900);
  border-radius: 999px;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-panel .nav-contact:hover {
  background: var(--petrol-700);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  min-width: 4.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  color: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-label {
  font-size: 0.82rem;
  font-weight: 750;
}

.nav-toggle-lines {
  width: 1rem;
  display: grid;
  gap: 0.28rem;
}

.nav-toggle-lines i {
  width: 1rem;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 7vw, 7rem) clamp(4.5rem, 6vw, 6rem);
  background:
    linear-gradient(90deg, rgba(19, 43, 43, 0.035) 1px, transparent 1px) 0 0 / 5rem 5rem,
    linear-gradient(rgba(19, 43, 43, 0.035) 1px, transparent 1px) 0 0 / 5rem 5rem,
    var(--paper);
}

.hero::after {
  position: absolute;
  top: -13rem;
  right: -15rem;
  width: 39rem;
  height: 39rem;
  content: "";
  border: 1px solid rgba(23, 110, 105, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(23, 110, 105, 0.035), 0 0 0 12rem rgba(23, 110, 105, 0.025);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(25rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
}

.hero-copy {
  max-width: 47rem;
  animation: hero-rise 600ms ease-out both;
}

.hero-lead {
  max-width: 43rem;
  margin-bottom: 2.2rem;
  color: #455451;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--petrol-700);
  box-shadow: 0 12px 26px rgba(18, 91, 88, 0.2);
}

.button-primary:hover {
  background: var(--ink-900);
  box-shadow: 0 16px 30px rgba(19, 43, 43, 0.2);
}

.button-light {
  color: var(--ink-900);
  background: var(--white);
}

.button-light:hover {
  background: var(--brass-100);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.6rem;
  color: var(--ink-900);
  font-weight: 750;
  text-decoration-color: rgba(19, 43, 43, 0.35);
  text-underline-offset: 0.3rem;
}

.text-link:hover {
  color: var(--petrol-700);
  text-decoration-color: currentColor;
}

.text-link-light {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.38);
}

.text-link-light:hover {
  color: #b9e0db;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-note > span {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  margin-top: 0.37rem;
  border: 2px solid var(--success);
  border-radius: 50%;
}

.hero-process {
  position: relative;
  animation: hero-rise 600ms 100ms ease-out both;
}

.process-window {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(19, 43, 43, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 250, 0.94);
  box-shadow: var(--shadow-lg);
}

.process-window::before {
  position: absolute;
  top: -0.6rem;
  right: 2.25rem;
  width: 5.5rem;
  height: 1.2rem;
  content: "";
  border: 1px solid rgba(19, 43, 43, 0.13);
  border-bottom: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  background: var(--brass-100);
}

.process-window-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.process-window-head strong,
.process-window-head span {
  display: block;
}

.process-window-head strong {
  color: var(--ink-900);
  font-size: 1rem;
}

.window-label {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.demo-badge,
.status-soft {
  flex: 0 0 auto;
  padding: 0.3rem 0.55rem;
  color: #765019;
  background: var(--brass-100);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.3rem 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.process-item::before {
  position: absolute;
  top: calc(50% + 1rem);
  bottom: calc(-50% + 1rem);
  left: 1.1rem;
  width: 1px;
  content: "";
  background: var(--line);
}

.process-item:last-child::before {
  display: none;
}

.process-index {
  position: relative;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
}

.process-item.is-complete .process-index {
  color: var(--white);
  border-color: var(--success);
  background: var(--success);
}

.process-item.is-active .process-index {
  color: var(--petrol-700);
  border-color: var(--petrol-600);
  background: var(--petrol-100);
}

.process-item strong,
.process-item small {
  display: block;
}

.process-item strong {
  color: var(--ink-900);
  font-size: 0.92rem;
}

.process-item small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.process-state {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.approval-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid #bdd2c4;
  border-radius: 0.7rem;
  background: #edf4ef;
}

.approval-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  font-weight: 900;
}

.approval-bar strong,
.approval-bar small {
  display: block;
}

.approval-bar strong {
  color: #214b35;
  font-size: 0.82rem;
}

.approval-bar small {
  color: #4f6959;
  font-size: 0.73rem;
}

.visual-caption {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.principles {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles-grid p {
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0;
  padding: 1.55rem clamp(1.5rem, 3vw, 2.75rem);
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.45;
}

.principles-grid p:first-child {
  padding-left: 0;
}

.principles-grid p:last-child {
  border-right: 0;
}

.principles-grid span {
  grid-row: span 2;
  margin-right: 0.8rem;
  color: var(--brass-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.principles-grid strong {
  color: var(--ink-900);
  font-size: 0.9rem;
}

.section-intro {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
}

.split-intro h2 {
  margin-bottom: 0;
}

.split-intro > p {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.problems {
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.problem-card {
  min-height: 20rem;
  padding: clamp(1.75rem, 4vw, 3.1rem);
  background: var(--white);
}

.problem-card:nth-child(2) {
  background: #faf8f3;
}

.card-number {
  display: block;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  color: var(--brass-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.problem-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.support-section {
  color: #dce9e6;
  background: var(--ink-900);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(19rem, 0.8fr) minmax(24rem, 1fr);
  align-items: start;
  gap: clamp(4rem, 10vw, 9rem);
}

.support-sticky {
  position: sticky;
  top: 8rem;
}

.support-sticky h2,
.support-list h3 {
  color: var(--white);
}

.support-sticky > p:not(.kicker) {
  color: #bfd0cd;
  font-size: 1.06rem;
}

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

.support-list article {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.5rem;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--line-dark);
}

.support-list article > span {
  color: #9fd4ce;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.support-list h3 {
  font-size: 1.6rem;
}

.support-list p {
  max-width: 36rem;
  margin-bottom: 0;
  color: #bfd0cd;
}

.example-section {
  background: var(--paper);
}

.example-intro > p {
  padding-left: 1.25rem;
  border-left: 2px solid var(--brass-600);
}

.example-workbench {
  display: grid;
  grid-template-columns: 0.85fr 5.5rem 1fr;
  align-items: center;
  gap: 1.25rem;
}

.inbox-card,
.result-card {
  min-height: 29rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.inbox-card {
  transform: rotate(-0.6deg);
}

.result-card {
  border-top: 4px solid var(--petrol-600);
  transform: rotate(0.45deg);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mail-meta {
  margin: 1.7rem 0;
  color: var(--ink-900);
  font-size: 0.84rem;
}

.mail-meta span {
  min-width: 4.5rem;
  display: inline-block;
  color: var(--muted);
}

.inbox-card blockquote {
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  color: var(--ink-900);
  border-left: 3px solid var(--brass-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.anonymized-note {
  display: inline-flex;
  margin-bottom: 0;
  padding: 0.45rem 0.65rem;
  color: #755019;
  background: var(--brass-100);
  border-radius: 0.25rem;
  font-size: 0.72rem;
}

.workbench-arrow {
  display: grid;
  justify-items: center;
  color: var(--petrol-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.workbench-arrow span {
  color: var(--muted);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-90deg);
}

.result-data {
  margin: 1.4rem 0;
}

.result-data > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.result-data dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.result-data dd {
  color: var(--ink-900);
  font-size: 0.82rem;
  font-weight: 750;
}

.draft-box {
  padding: 1rem;
  background: var(--paper);
  border-radius: 0.35rem;
}

.draft-box > span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--petrol-700);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.draft-box p {
  margin-bottom: 0;
  color: #43514f;
  font-size: 0.82rem;
  line-height: 1.6;
}

.manual-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  color: #624817;
  font-size: 0.73rem;
}

.manual-check span {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--brass-600);
  border-radius: 50%;
  font-weight: 900;
}

.introduction {
  background: var(--white);
}

.intro-centered {
  max-width: 55rem;
  margin-inline: auto;
  text-align: center;
}

.intro-centered > p:last-child {
  max-width: 47rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.phase-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase-list::before {
  position: absolute;
  top: 1.35rem;
  right: 12%;
  left: 12%;
  height: 1px;
  content: "";
  background: var(--line);
}

.phase-list li {
  position: relative;
}

.phase-marker {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.phase-marker span {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: var(--white);
  background: var(--ink-900);
  border: 0.45rem solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 0.8rem;
  font-weight: 800;
}

.phase-list li > div:last-child {
  text-align: center;
}

.phase-label {
  margin-bottom: 0.55rem;
  color: var(--brass-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phase-list h3 {
  font-size: 1.12rem;
}

.phase-list li > div:last-child > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.security {
  position: relative;
  color: #d8e4e2;
  background: var(--ink-950);
}

.security::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 15% 25%, rgba(23, 110, 105, 0.28), transparent 34%);
  pointer-events: none;
}

.security > .container {
  position: relative;
}

.security h2,
.security h3 {
  color: var(--white);
}

.security-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.58fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-dark);
}

.security-head h2 {
  margin-bottom: 0;
}

.security-head > p {
  margin-bottom: 0.35rem;
  color: #b7c8c5;
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.78fr) minmax(25rem, 1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.permission-model {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.model-title {
  margin-bottom: 1.5rem;
  color: #9eb5b1;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.model-company,
.model-worker {
  padding: 1.1rem;
  border: 1px solid var(--line-dark);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
}

.model-company strong,
.model-company span,
.model-worker strong,
.model-worker span {
  display: block;
}

.model-company strong,
.model-worker strong {
  color: var(--white);
  font-size: 0.85rem;
}

.model-label {
  margin-bottom: 0.2rem;
  color: #9fd4ce;
  font-size: 0.68rem;
  font-weight: 750;
}

.model-connector {
  position: relative;
  min-height: 4rem;
  display: grid;
  place-items: center;
  color: #9fd4ce;
  font-size: 0.67rem;
  font-weight: 700;
}

.model-connector::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: var(--petrol-600);
}

.model-connector span {
  position: relative;
  padding: 0.25rem 0.55rem;
  background: var(--ink-950);
}

.model-worker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.model-worker img {
  flex: 0 0 auto;
}

.model-boundary {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.model-boundary p {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: #adbfbc;
  font-size: 0.76rem;
}

.model-boundary span {
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  color: #e5c999;
  border: 1px solid rgba(229, 201, 153, 0.45);
  border-radius: 50%;
  line-height: 1;
}

.security-points {
  border-top: 1px solid var(--line-dark);
}

.security-points article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 1.65rem;
  border-bottom: 1px solid var(--line-dark);
}

.security-points article > span {
  color: #9fd4ce;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.security-points h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.security-points p {
  margin-bottom: 0;
  color: #b7c8c5;
  font-size: 0.9rem;
}

.security-caveat {
  margin: 3rem 0 0;
  padding: 1.1rem 1.25rem;
  color: #c1cecb;
  border-left: 3px solid #c28a3a;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.83rem;
}

.security-caveat strong {
  color: var(--white);
}

.pilot {
  background: var(--paper);
}

.pilot-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pilot-copy h2 {
  font-size: clamp(2.3rem, 4vw, 3.75rem);
}

.pilot-copy > p:last-child {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: #40504d;
  font-size: 0.92rem;
}

.check-list li::before {
  position: absolute;
  top: 0.12rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  content: "✓";
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.pilot-details .button {
  width: 100%;
}

.email-warning {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.faq {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.6fr) minmax(27rem, 1fr);
  align-items: start;
  gap: clamp(3rem, 9vw, 9rem);
}

.faq-heading {
  position: sticky;
  top: 8rem;
}

.faq-heading > p:not(.kicker) {
  color: var(--muted);
}

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

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

.faq-list summary {
  position: relative;
  padding: 1.5rem 3.25rem 1.5rem 0;
  color: var(--ink-900);
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 720;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  content: "+";
  color: var(--petrol-700);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 450;
  line-height: 1;
  transform: translateY(-50%);
}

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

.faq-list summary:hover {
  color: var(--petrol-700);
}

.faq-list details p {
  max-width: 47rem;
  margin-bottom: 1.6rem;
  padding-right: 2.5rem;
  color: var(--muted);
}

.contact {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  color: #dce8e6;
  background: var(--petrol-700);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.contact h2 {
  max-width: 52rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.contact-inner > div:first-child > p:last-child {
  max-width: 46rem;
  margin-bottom: 0;
  color: #d3e4e1;
}

.contact-action {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.contact-action span {
  max-width: 20rem;
  color: #c5d9d6;
  font-size: 0.72rem;
  text-align: center;
}

.contact-email {
  min-height: 1.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

.contact-email:hover {
  color: var(--brass-100);
}

.site-footer {
  padding-top: 4.5rem;
  color: #aebfbc;
  background: var(--ink-950);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) auto auto;
  gap: clamp(3rem, 8vw, 8rem);
  padding-bottom: 3.5rem;
}

.brand-footer {
  color: var(--white);
}

.footer-branding p {
  margin: 1rem 0 0;
  color: #aebfbc;
  font-size: 0.9rem;
}

.footer-column {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.55rem;
  min-width: 11rem;
}

.footer-column strong {
  margin-bottom: 0.4rem;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer-column a {
  min-height: 1.75rem;
  display: inline-flex;
  align-items: center;
  color: #aebfbc;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-column a span {
  margin-left: 0.25rem;
  padding: 0.12rem 0.35rem;
  color: #e2cda8;
  border: 1px solid rgba(226, 205, 168, 0.35);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  color: #849996;
  border-top: 1px solid var(--line-dark);
  font-size: 0.73rem;
}

/* Rechtliche Entwurfsseiten */
.legal-page {
  background: var(--paper);
}

.legal-page .site-header {
  position: relative;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.draft-badge {
  padding: 0.3rem 0.55rem;
  color: #744e18;
  border: 1px solid #d5b578;
  border-radius: 999px;
  background: var(--brass-100);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-main {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.legal-shell {
  max-width: 58rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--petrol-700);
  font-weight: 750;
  text-decoration-color: rgba(18, 91, 88, 0.35);
  text-underline-offset: 0.25rem;
}

.legal-card {
  padding: clamp(1.6rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-card h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.legal-card h2 {
  margin-top: 3rem;
  margin-bottom: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.legal-card h2:first-of-type {
  margin-top: 2rem;
}

.legal-card p,
.legal-card li {
  color: #465552;
}

.legal-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1rem;
  color: #624817;
  border: 1px solid #d8bd88;
  background: #fbf2df;
}

.legal-status > span {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--brass-600);
  border-radius: 50%;
  font-weight: 900;
}

.legal-status p {
  margin: 0;
  color: inherit;
  font-size: 0.86rem;
}

.legal-placeholder {
  padding: 1rem;
  color: #624817 !important;
  border-left: 3px solid var(--brass-600);
  background: #fbf5e9;
}

.legal-footer {
  padding-block: 1.5rem;
  color: #849996;
  background: var(--ink-950);
  font-size: 0.75rem;
}

.legal-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Erweiterte Einsatzbereiche */
.capabilities {
  background: #faf8f3;
}

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

.capability-card {
  min-height: 17rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 43, 43, 0.045);
}

.capability-number {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 2.25rem;
  color: var(--petrol-700);
  border: 1px solid #b8ceca;
  border-radius: 50%;
  background: var(--petrol-100);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.capability-card h3 {
  font-size: 1.45rem;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.system-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.flow-stage {
  min-height: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.flow-stage-main {
  color: var(--white);
  border-color: var(--ink-900);
  background: var(--ink-900);
}

.flow-stage span {
  margin-bottom: 0.55rem;
  color: var(--brass-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-stage-main span {
  color: #9fd4ce;
}

.flow-stage strong {
  color: var(--ink-900);
  font-size: 1rem;
  line-height: 1.55;
}

.flow-stage-main strong {
  color: var(--white);
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--petrol-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.automation-note {
  display: grid;
  grid-template-columns: minmax(14rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-left: 4px solid var(--brass-600);
  background: var(--brass-100);
}

.automation-note strong {
  color: var(--ink-900);
  font-size: 1.08rem;
}

.automation-note p {
  margin-bottom: 0;
  color: #5b4b34;
}

@media (max-width: 68rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.8fr);
    gap: 3rem;
  }

  h1 {
    font-size: clamp(3.25rem, 7vw, 5.4rem);
  }

  .example-workbench {
    grid-template-columns: 1fr 3rem 1fr;
  }

  .support-grid,
  .security-layout {
    gap: 4rem;
  }
}

@media (max-width: 60rem) {
  .hero-grid,
  .support-grid,
  .security-layout,
  .pilot-card,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 50rem;
  }

  .hero-process {
    width: min(100%, 38rem);
  }

  .support-sticky,
  .faq-heading {
    position: static;
  }

  .support-sticky {
    max-width: 48rem;
  }

  .support-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }

  .security-head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .permission-model {
    max-width: 40rem;
  }

  .pilot-details {
    max-width: 35rem;
  }

  .phase-list {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }

  .phase-list::before {
    display: none;
  }

  .phase-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .phase-marker {
    margin-bottom: 0;
  }

  .phase-list li > div:last-child {
    text-align: left;
  }

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

  .footer-branding {
    grid-column: 1 / -1;
  }
}

@media (max-width: 50rem) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .nav-shell {
    position: relative;
    min-height: 4.75rem;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .nav-panel {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem 1.1rem;
    padding-bottom: 1rem;
  }

  .js .nav-shell {
    flex-wrap: nowrap;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    left: 0;
    width: auto;
    display: grid;
    align-items: stretch;
    gap: 0;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: none;
    pointer-events: none;
  }

  .js .nav-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .js .nav-panel a {
    min-height: 2.9rem;
    display: flex;
    align-items: center;
    padding: 0.65rem 0.8rem;
    border-radius: 0.45rem;
  }

  .js .nav-panel > a:not(.nav-contact)::after {
    display: none;
  }

  .js .nav-panel .nav-contact {
    justify-content: center;
    margin-top: 0.35rem;
  }

  .split-intro,
  .example-workbench,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .problem-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 2.5rem;
  }

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

  .principles-grid p,
  .principles-grid p:first-child {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles-grid p:last-child {
    border-bottom: 0;
  }

  .support-list {
    grid-template-columns: 1fr;
  }

  .workbench-arrow {
    min-height: 3.5rem;
    align-content: center;
    transform: rotate(90deg);
  }

  .workbench-arrow span {
    display: none;
  }

  .inbox-card,
  .result-card {
    min-height: 0;
    transform: none;
  }

  .phase-list {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .contact-action {
    justify-items: start;
  }

  .contact-action span {
    text-align: left;
  }
}

@media (max-width: 38rem) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
    letter-spacing: -0.058em;
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .hero {
    padding-top: 4rem;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .button-row .text-link {
    align-self: flex-start;
  }

  .process-window {
    padding: 1rem;
    border-radius: 1rem;
  }

  .process-window-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-item {
    grid-template-columns: 2.2rem 1fr;
  }

  .process-state {
    grid-column: 2;
  }

  .support-list article,
  .security-points article {
    grid-template-columns: 2.3rem 1fr;
    gap: 0.75rem;
  }

  .result-data > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .phase-list li {
    grid-template-columns: 2.75rem 1fr;
  }

  .pilot-card {
    padding: 1.4rem;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .contact-action .button {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-branding {
    grid-column: auto;
  }

  .footer-bottom,
  .legal-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-card {
    padding: 1.3rem;
  }
}


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

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

  .flow-arrow {
    min-height: 1.5rem;
    transform: rotate(90deg);
  }
}

@media (max-width: 38rem) {
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
  }

  .automation-note {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .contact,
  .site-footer,
  .legal-footer,
  .back-link {
    display: none;
  }

  body,
  .legal-page {
    color: #000;
    background: #fff;
  }

  .legal-main {
    padding: 0;
  }

  .legal-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
