:root {
  --primary: #0B2A4A;
  --accent: #1E6BFF;
  --text: #0F172A;
  --background: #F8FAFC;
  --surface: #FFFFFF;
  --neutral: #E2E8F0;
  --muted: #526171;

  --container: 1180px;
  --reading: 760px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.content-width {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--surface);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--neutral);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo--desktop {
  width: 190px;
}

.brand-logo--mobile {
  display: none;
  width: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.82rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.language-switch {
  display: flex;
  gap: 7px;
  color: var(--muted);
}

.language-switch [aria-current="page"] {
  color: var(--text);
}


/* Typography */

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

h1,
h2 {
  color: var(--primary);
  letter-spacing: -0.025em;
}

h1 {
  max-width: 850px;
  margin-bottom: 30px;
  font-size: clamp(2.6rem, 3.8vw, 3.25rem);
  font-weight: 650;
  line-height: 1.12;
}

h2 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 650;
  line-height: 1.2;
}

p {
  max-width: 690px;
  margin-bottom: 22px;
}

.eyebrow,
.section-label {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  padding: 88px 0 96px;
}

.hero .content-width {
  position: relative;
  padding-left: 200px;
}

.hero .eyebrow {
  position: absolute;
  top: 8px;
  left: 0;
  width: 145px;
  line-height: 1.5;
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}


/* Main sections */

.section {
  padding: 76px 0;
}

.section .content-width {
  display: grid;
  grid-template-columns: 185px minmax(0, 720px);
  column-gap: 42px;
  justify-content: start;
}

.section .section-label {
  grid-column: 1;
  grid-row: 1 / span 5;
  padding-top: 7px;
}

.section h2,
.section p,
.section .button,
.section .text-link {
  grid-column: 2;
}

.section h2 {
  grid-row: 1;
}

.section--soft {
  position: relative;
  background: var(--background);
}

.section--soft::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 64px), var(--container));
  height: 1px;
  background: var(--neutral);
  transform: translateX(-50%);
}


/* Evidence */

.section:not(.section--soft):not(.section--facts):not(.contact) {
  border-top: 1px solid var(--neutral);
}

/* Experimentation → production transition */

.production-transition {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
}

.production-transition>span:first-child,
.production-transition>span:last-child {
  display: block;
}

.production-transition-mark {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 17px 0 18px 3px;
}

.production-transition-mark i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Engineering snapshot */

.section--engineering {
  border-top: 1px solid var(--neutral);
}

.engineering-layout {
  display: grid;
  grid-template-columns: 185px minmax(300px, 0.78fr) minmax(500px, 1.22fr);
  column-gap: 36px;
  align-items: start;
}

.engineering-layout>.section-label {
  padding-top: 7px;
}

.engineering-copy h2 {
  margin-bottom: 24px;
}

.engineering-copy p:last-child {
  margin-bottom: 0;
}


/* Product surface */

.readiness-snapshot {
  overflow: hidden;
  border: 1px solid #d8e1eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(11, 42, 74, 0.08);
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.snapshot-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid #d8e1eb;
  background: var(--primary);
  color: #fff;
}

.snapshot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}

.readiness-snapshot img {
  display: block;
}

.snapshot-brand img {
  width: 19px;
  height: 19px;
  min-width: 19px;
  max-width: 19px;
  min-height: 19px;
  max-height: 19px;
  flex: 0 0 19px;
  object-fit: contain;
}

.snapshot-status {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  color: #fff;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snapshot-heading {
  padding: 16px 18px 13px;
}

.snapshot-kicker,
.snapshot-title {
  margin: 0;
}

.snapshot-kicker {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snapshot-title {
  color: var(--primary);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
}


/* Decision + scope */

.snapshot-summary {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  margin: 0 18px 14px;
  border: 1px solid #d8e1eb;
  border-radius: 7px;
}

.snapshot-decision,
.snapshot-scope {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 14px 15px;
}

.snapshot-decision {
  border-right: 1px solid #d8e1eb;
}

.snapshot-key {
  display: block;
  margin-bottom: 7px;
  color: #53677d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.snapshot-decision strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #a86a00;
  font-size: 18px;
  font-weight: 650;
}

.snapshot-decision-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f4b51c;
}

.snapshot-supporting,
.snapshot-scope>span:last-child {
  color: var(--muted);
}

.snapshot-scope strong {
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 650;
}


/* Evidence / findings / affected areas */

.snapshot-panels {
  display: grid;
  grid-template-columns: 0.72fr 1.14fr 1.14fr;
  gap: 9px;
  padding: 0 18px 14px;
}

.snapshot-panel {
  min-width: 0;
  height: 190px;
  overflow: hidden;
  border: 1px solid #d8e1eb;
  border-radius: 7px;
  background: #fff;
  padding: 13px;
}

.snapshot-count {
  display: block;
  color: var(--primary);
  font-size: 27px;
  font-weight: 650;
  line-height: 1;
}

.snapshot-count-label {
  display: block;
  margin-top: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5ebf1;
  color: var(--muted);
}

.snapshot-evidence-list {
  margin-top: 5px;
}

.snapshot-evidence-list>div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #edf1f5;
}

.snapshot-evidence .snapshot-evidence-list>div {
  padding: 4px 0;
}

.snapshot-evidence-list>div:last-child {
  border-bottom: 0;
}

.snapshot-evidence-list strong {
  color: var(--primary);
  font-weight: 650;
}


/* Scrollable product lists */

.snapshot-scroll-panel {
  display: flex;
  flex-direction: column;
  padding-right: 7px;
}

.snapshot-scroll-content {
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #9bacc0 #edf2f7;
}

.snapshot-scroll-content::-webkit-scrollbar {
  width: 5px;
}

.snapshot-scroll-content::-webkit-scrollbar-track {
  background: #edf2f7;
  border-radius: 5px;
}

.snapshot-scroll-content::-webkit-scrollbar-thumb {
  background: #9bacc0;
  border-radius: 5px;
}

.snapshot-finding,
.snapshot-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 7px 4px;
  border-bottom: 1px solid #edf1f5;
}

.snapshot-finding>span:first-child {
  color: var(--primary);
  font-weight: 600;
}

.snapshot-finding--continuation {
  opacity: 0.48;
}

.snapshot-area>span:first-child {
  color: var(--primary);
}

.snapshot-badge {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 4px;
  background: #eef2f6;
  color: #53677d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.snapshot-badge--gap {
  background: #fde7e7;
  color: #b42318;
}

.snapshot-badge--partial {
  background: #fff2d5;
  color: #9a5b00;
}

.snapshot-badge--ok {
  background: #dff4e9;
  color: #147a50;
}


/* Next action */

.snapshot-next-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 18px 18px;
  padding: 12px 14px;
  border: 1px solid #cfe0f4;
  border-radius: 7px;
  background: #f1f7ff;
}

.snapshot-next-action .snapshot-key {
  margin-bottom: 3px;
}

.snapshot-next-action strong {
  display: block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 650;
}

.snapshot-action-link {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Facts */

.section--facts {
  padding: 68px 0;
  border-top: 1px solid var(--neutral);
  border-bottom: 1px solid var(--neutral);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.fact {
  padding-right: 64px;
}

.fact+.fact {
  border-left: 1px solid var(--neutral);
  padding-right: 0;
  padding-left: 64px;
}

.fact .section-label {
  margin-bottom: 16px;
}

.fact h2 {
  max-width: 430px;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.25;
}


/* Actions */

.button {
  width: fit-content;
  padding: 12px 18px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
}

.text-link {
  width: fit-content;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 150ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.text-link:hover span {
  transform: translateX(3px);
}


/* Contact */

.contact {
  padding-top: 84px;
  padding-bottom: 88px;
}


/* Footer */

.site-footer {
  padding: 28px 0;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 24px;
}

.footer-inner a {
  color: inherit;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

/* Production Readiness page */

.production-readiness-page .pr-hero {
  padding: 88px 0 96px;
}

.production-readiness-page .pr-hero .content-width {
  position: relative;
  padding-left: 227px;
}

.production-readiness-page .pr-hero .eyebrow {
  position: absolute;
  top: 8px;
  left: 0;
  width: 185px;
  line-height: 1.5;
}

.production-readiness-page .pr-hero .hero-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.production-readiness-page .section-body {
  grid-column: 2;
  min-width: 0;
}


/* Production questions */

.pr-question-list {
  margin: 36px 0 32px;
  border-top: 1px solid var(--neutral);
}

.pr-question {
  display: grid;
  grid-template-columns: 14px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--neutral);
}

.pr-question p {
  grid-column: 2;
  margin: 0;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.45;
}

.pr-question-marker {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.production-readiness-page .section-supporting {
  margin-bottom: 0;
  color: var(--muted);
}


/* Architecture → evidence */

.pr-intent-evidence {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  align-items: stretch;
  margin: 38px 0 34px;
  border-top: 1px solid var(--neutral);
  border-bottom: 1px solid var(--neutral);
}

.pr-intent-evidence-item {
  display: flex;
  min-height: 122px;
  flex-direction: column;
  justify-content: center;
  padding: 24px 26px;
}

.pr-intent-evidence-item span {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.pr-intent-evidence-item strong {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.35;
}

.pr-intent-evidence-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.15rem;
  transform: rotate(-90deg);
}

.pr-evidence-copy {
  margin-bottom: 32px;
}

.pr-evidence-copy p {
  margin-bottom: 12px;
}

.pr-core-statement {
  margin-bottom: 0;
  padding: 24px 26px;
  border-left: 3px solid var(--accent);
  background: var(--background);
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.6;
}


/* Evidence → gaps → decision */

.pr-decision-flow {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: stretch;
  margin: 38px 0 34px;
}

.pr-decision-step {
  min-width: 0;
  padding: 22px 20px;
  border-top: 2px solid var(--primary);
  background: var(--background);
}

.pr-step-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pr-decision-step strong {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
}

.pr-decision-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.pr-decision-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}


/* Production Readiness Overview */

.pr-overview {
  background: var(--background);
}

.pr-access-form {
  max-width: 560px;
  margin-top: 32px;
}

.pr-form-field {
  margin-bottom: 16px;
}

.pr-form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pr-form-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--neutral);
  border-radius: 4px;
  background: var(--surface);
  color: var(--primary);
  font: inherit;
  line-height: 1.4;
}

.pr-form-field input::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.pr-form-field input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(47, 111, 237, 0.14);
  outline-offset: 1px;
}

.pr-access-form .button {
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}

.pr-access-confirmation {
  max-width: 560px;
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.pr-access-confirmation strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
}

.pr-access-confirmation p {
  margin: 0;
  color: var(--muted);
}

/* German Production Readiness localization */

@media (min-width: 901px) {
  html[lang="de"] .production-readiness-page .section .content-width {
    grid-template-columns: 230px minmax(0, 720px);
  }

  html[lang="de"] .production-readiness-page .pr-decision-step strong {
    font-size: 0.92rem;
  }
}

/* Accessibility */

.contact-form[aria-busy="true"] {
  opacity: 0.72;
}

.contact-form button:disabled {
  cursor: wait;
}

.contact-form-status {
  margin-top: 1rem;
  max-width: 42rem;
}

.contact-form-status[role="alert"] {
  color: #8b1e1e;
}

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


/* Tablet */

@media (max-width: 900px) {
  .hero .content-width {
    padding-left: 0;
  }

  .hero .eyebrow {
    position: static;
    width: auto;
  }

  .section .content-width {
    grid-template-columns: 1fr;
  }

  .section .section-label,
  .section h2,
  .section p,
  .section .button,
  .section .text-link {
    grid-column: 1;
  }

  .production-readiness-page .pr-question p {
    grid-column: 2;
  }

  .section .section-label {
    grid-row: auto;
  }

  .engineering-layout {
    grid-template-columns: 1fr;
  }

  .engineering-layout>.section-label {
    padding-top: 0;
  }

  .readiness-snapshot {
    width: 100%;
    max-width: 760px;
    margin-top: 32px;
    margin-left: 0;
  }

  .production-readiness-page .pr-hero .content-width {
    padding-left: 0;
  }

  .production-readiness-page .pr-hero .eyebrow {
    position: static;
    width: auto;
  }

  .production-readiness-page .section-body {
    grid-column: 1;
  }
}


/* Mobile */

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .content-width {
    width: min(calc(100% - 36px), var(--container));
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

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

  .brand-logo--desktop {
    display: none;
  }

  .brand-logo--mobile {
    display: block;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 64px 0 72px;
  }

  h1 {
    margin-bottom: 26px;
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-intro {
    font-size: 1.04rem;
  }

  .section {
    padding: 60px 0;
  }

  .section--soft::before {
    width: calc(100% - 36px);
  }

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

  .fact {
    padding-right: 0;
  }

  .fact+.fact {
    margin-top: 44px;
    border-top: 1px solid var(--neutral);
    border-left: 0;
    padding-top: 44px;
    padding-left: 0;
  }

  .contact {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .snapshot-summary,
  .snapshot-panels {
    grid-template-columns: 1fr;
  }

  .snapshot-decision {
    border-right: 0;
    border-bottom: 1px solid #d8e1eb;
  }

  .snapshot-panel {
    height: auto;
  }

  .snapshot-scroll-panel {
    height: auto;
  }

  .snapshot-scroll-content {
    overflow-y: visible;
    padding-right: 0;
  }

  .snapshot-next-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .production-readiness-page .pr-hero {
    padding: 64px 0 72px;
  }

  .pr-question-list,
  .pr-intent-evidence,
  .pr-decision-flow {
    margin-top: 30px;
  }

  .pr-intent-evidence {
    grid-template-columns: 1fr;
  }

  .pr-intent-evidence-separator {
    min-height: 34px;
    transform: none;
  }

  .pr-intent-evidence-item {
    min-height: 0;
    padding: 20px;
  }

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

  .pr-decision-arrow {
    min-height: 34px;
    transform: rotate(90deg);
  }

  .snapshot-area:nth-child(n+5) {
    display: none;
  }

}


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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Contact form */

.contact-form {
  max-width: 620px;
  margin-top: 32px;
}

.contact-form-field {
  margin-bottom: 18px;
}

.contact-form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--neutral);
  border-radius: 4px;
  background: var(--surface);
  color: var(--primary);
  font: inherit;
  line-height: 1.4;
}

.contact-form-field input {
  min-height: 48px;
}

.contact-form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(47, 111, 237, 0.14);
  outline-offset: 1px;
}

.field-optional {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

.contact-form .button {
  margin-top: 4px;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}
