/* DILA screen design
   Yellow matches the unlabeled 100% Yellow field in the October 2026 brandbook.
   HEX, RGB, CMYK, RAL and Pantone are blank there, so this is a working screen color,
   not a released corporate code. Innpuls presentation colors are not used.
   Black, white and this yellow are the only colors. */

@font-face {
  font-family: "Azeret Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/azeret-mono-400.ttf") format("truetype");
}

@font-face {
  font-family: "Azeret Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/azeret-mono-500.ttf") format("truetype");
}

@font-face {
  font-family: "Azeret Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/azeret-mono-700.ttf") format("truetype");
}

:root {
  --ink: #000;
  --paper: #fff;
  --yellow: #ffed00;
  --header: 4.75rem;
  --measure: 40rem;
  --wide: 76rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Azeret Mono", ui-monospace, monospace;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 80;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 5.15rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.125rem;
  max-width: 38rem;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
}

.btn:hover,
.btn:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover,
.btn-yellow:focus-visible {
  background: var(--ink);
  color: var(--yellow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.7rem 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.logo {
  display: flex;
  flex: 0 0 auto;
  padding: 0.35rem;
}

.logo img {
  height: 1.85rem;
  width: auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 2.75rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.5rem;
}

.menu {
  position: relative;
}

.menu > button,
.nav-direct {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
  cursor: pointer;
}

.menu > button[aria-expanded="true"],
.menu:hover > button,
.menu:focus-within > button,
.nav-direct[aria-current="page"],
.menu.is-current > button {
  background: var(--yellow);
}

.menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 17.5rem;
  padding: 0.35rem;
  background: var(--paper);
  border: 1px solid var(--ink);
  z-index: 50;
}

.menu:hover .menu-panel,
.menu:focus-within .menu-panel,
.menu.is-open .menu-panel {
  display: grid;
}

.menu-panel a {
  padding: 0.72rem 0.75rem;
  text-decoration: none;
  font-weight: 500;
}

.menu-panel a:hover,
.menu-panel a:focus-visible,
.menu-panel a[aria-current="page"] {
  background: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.header-phone {
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone .short {
  display: none;
}

.mobile-cta {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(18rem, 1.15fr);
  border-bottom: 1px solid var(--ink);
}

.hero-copy,
.situations {
  padding: clamp(1.5rem, 4vw, 3.25rem);
}

.hero-copy {
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.hero-note {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 0.95rem;
}

.situations {
  padding: 0;
}

.situations h2 {
  padding: 1.25rem 1.25rem 0;
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 500;
  max-width: none;
}

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

.situation-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--ink);
  text-decoration: none;
}

.situations h2 + .situation-list a:first-child,
.situation-list li:first-child a {
  border-top: 0;
}

.situation-list a:hover,
.situation-list a:focus-visible {
  background: var(--yellow);
}

.situation-list .idx {
  font-weight: 500;
}

.situation-list .go {
  font-weight: 700;
  text-align: right;
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--ink);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

.section-head p {
  max-width: 28rem;
  margin: 0;
}

.scroller {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--ink);
}

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 16rem;
  padding: 1rem;
  border-right: 1px solid var(--ink);
  text-decoration: none;
}

.solution-card:last-child {
  border-right: 0;
}

.solution-card:hover,
.solution-card:focus-visible {
  background: var(--yellow);
}

.solution-card p {
  margin: 0;
}

.solution-card .more {
  margin-top: auto;
  font-weight: 700;
}

.dots {
  display: none;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1rem;
}

.dots button {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.dots button[aria-current="true"] {
  background: var(--ink);
}

.band-yellow {
  background: var(--yellow);
}

.band-black {
  background: var(--ink);
  color: var(--paper);
}

.band-black .btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.band-black .btn-ghost:hover,
.band-black .btn-ghost:focus-visible {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.proposition {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
}

.proposition p {
  font-size: 1.2rem;
  max-width: 28rem;
  margin-bottom: 0;
}

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

.insight {
  padding: 1.4rem 1.2rem 1.6rem;
  border-right: 1px solid var(--ink);
  background: var(--paper);
}

.insight:last-child {
  border-right: 0;
}

.insight h3 {
  margin-bottom: 0.7rem;
}

.insight p {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.step {
  padding: 1.3rem 1.1rem 1.5rem;
  border-right: 1px solid var(--ink);
}

.step:last-child {
  border-right: 0;
}

.step span {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.check {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.check-title,
.check-body {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.check-title {
  background: var(--ink);
  color: var(--paper);
}

.check-title h2 {
  max-width: 10ch;
  color: var(--paper);
}

.status {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.45rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

.check-body {
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
}

.proof article {
  min-height: 16rem;
  padding: 1rem;
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}

.proof article:last-child {
  border-right: 0;
}

.frame {
  flex: 1;
  margin-top: 1rem;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  min-height: 8rem;
}

.frame p {
  margin: 0;
  max-width: 18rem;
}

.split-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

.split-frame div {
  display: grid;
  place-items: center;
  padding: 0.8rem;
}

.split-frame div + div {
  border-left: 1px solid var(--ink);
}

.contact-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.phone-xl {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.contact-meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.contact-meta a {
  font-weight: 500;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.5rem 2rem;
}

.site-footer a {
  color: var(--paper);
}

.site-footer .logo img {
  height: 1.7rem;
}

.footer-title {
  margin: 0 0 0.7rem;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.legal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--paper);
  font-size: 0.92rem;
}

.page-head {
  padding: clamp(2rem, 5vw, 4rem) 0 1.5rem;
  border-bottom: 1px solid var(--ink);
}

.page-head h1 {
  margin-bottom: 0.8rem;
}

.crumbs {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.crumbs a {
  font-weight: 500;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18.5rem;
  gap: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3rem) 0 4rem;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.prose ul,
.stack-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prose li,
.stack-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--ink);
}

.prose a,
.stack-list a {
  font-weight: 700;
}

.aside {
  align-self: start;
  position: sticky;
  top: calc(var(--header) + 1rem);
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--ink);
}

.aside p {
  margin: 0 0 0.4rem;
}

.aside .btn {
  width: 100%;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.anchor-nav a {
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--ink);
  padding: 0.45rem 0.65rem;
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  background: var(--yellow);
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.8rem 0.75rem;
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  font-weight: 400;
}

.check-row input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-weight: 500;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
}

.fact-table th,
.fact-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.8rem 0.75rem 0;
  border-top: 1px solid var(--ink);
  font-weight: 400;
}

.fact-table th {
  width: 14rem;
  font-weight: 700;
}

.empty {
  padding: 1.2rem;
  border: 1px solid var(--ink);
}

@media (max-width: 1100px) {
  .scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-right: 1px solid var(--ink);
  }

  .solution-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    border-right: 1px solid var(--ink);
  }

  .dots {
    display: flex;
  }

  .footer-grid,
  .insights,
  .proof,
  .steps,
  .hero,
  .check,
  .proposition,
  .contact-strip,
  .layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .insight,
  .step,
  .proof article,
  .solution-card:last-child {
    border-right: 0;
  }

  .hero-copy,
  .insight + .insight,
  .step + .step,
  .proof article + article {
    border-top: 1px solid var(--ink);
  }

  .check-body {
    border-left: 1px solid var(--ink);
  }

  .aside {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100dvh - var(--header) - 3.4rem);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.4rem 0.8rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-panel {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    padding: 0 0 0.4rem 0.7rem;
  }

  .menu.is-open .menu-panel,
  .menu:hover .menu-panel,
  .menu:focus-within .menu-panel {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .header-phone .full {
    display: none;
  }

  .header-phone .short {
    display: inline;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--paper);
    border-top: 1px solid var(--ink);
  }

  .mobile-cta .btn {
    border: 0;
    min-height: 3.4rem;
  }

  .mobile-cta .btn + .btn {
    border-left: 1px solid var(--ink);
  }

  body {
    padding-bottom: 3.4rem;
  }

  .situation-list a {
    grid-template-columns: auto 1fr;
  }

  .situation-list .go {
    grid-column: 2;
    text-align: left;
  }

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

  .wrap {
    width: min(var(--wide), calc(100% - 1.5rem));
  }

  .fact-table th {
    width: 8.5rem;
  }
}

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