:root {
  color-scheme: light;
  --paper: #f3f1e9;
  --ink: #20211d;
  --muted: #565750;
  --line: #c9c7bd;
  --orange: #f75a30;
  --dark: #20231e;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #c53918; outline-offset: 5px; }
.skip { position: fixed; z-index: 3; top: 12px; left: 12px; padding: 12px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.top { min-height: 80px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .33rem; white-space: nowrap; font-size: 17px; font-weight: 800; letter-spacing: -.045em; }
.brand > span:last-child { font-weight: 450; }
.mark { display: inline-block; width: 22px; height: 22px; margin-right: 5px; background: var(--orange); clip-path: polygon(0 0, 28% 0, 72% 62%, 72% 0, 100% 0, 100% 100%, 72% 100%, 28% 38%, 28% 100%, 0 100%); }
nav { display: flex; gap: clamp(16px, 3vw, 42px); font-size: 14px; }
nav a, .back { padding-block: 10px; }
nav a:hover, .back:hover { text-decoration: underline; text-underline-offset: .3em; }
.domain, .eyebrow, .figure-top, figcaption { font: 500 12px/1.45 "IBM Plex Mono", Consolas, monospace; letter-spacing: .07em; }
.domain { color: var(--muted); }
.hero { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 78px); align-items: stretch; padding-block: 56px 70px; }
.intro { padding-block: 18px 10px; }
.eyebrow { text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--orange); margin-right: 6px; }
h1, h2 { font-weight: 650; letter-spacing: -.075em; }
h1 { margin-block: 25px 28px; font-size: clamp(49px, 6.9vw, 110px); line-height: .98; }
h1 em { color: #ae3318; font-style: normal; }
.summary { max-width: 43ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; }
.button { display: inline-flex; align-items: center; gap: 24px; margin-top: 30px; padding: 13px 16px; background: var(--orange); font-size: 14px; font-weight: 700; transition: background .2s; }
.button span { font-size: 19px; }
.button:hover { background: #ff7650; }
.diagram { min-height: 430px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; position: relative; overflow: hidden; background: var(--dark); color: #edebdf; }
.figure-top, figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 17px 20px; }
.figure-top { border-bottom: 1px solid #41453a; color: #e0decf; }
.figure-top span:last-child, figcaption span { color: #ff805a; }
canvas { width: 100%; height: 100%; min-height: 0; display: block; }
figcaption { justify-content: center; flex-wrap: wrap; text-align: center; border-top: 1px solid #41453a; }
.section { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 78px); padding-block: 54px 66px; }
#services { border-top: 1px solid var(--line); }
.section-head .eyebrow { margin-bottom: 13px; color: var(--muted); }
h2 { font-size: clamp(37px, 5vw, 70px); line-height: 1.02; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; min-height: 69px; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.045em; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 30px; height: 30px; border: 1px solid var(--line); background: linear-gradient(var(--ink), var(--ink)) center / 12px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 12px no-repeat; }
details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 12px 1px no-repeat var(--orange); border-color: var(--orange); }
details p { padding: 0 35px 22px 0; max-width: 63ch; }
details p, .steps p { color: var(--muted); line-height: 1.6; }
.approach { background: var(--dark); color: var(--paper); }
.approach .eyebrow, .steps p { color: #d0d0c3; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid #5d6054; padding: 16px 0; }
.steps h3 { margin-bottom: 5px; font-size: 21px; font-weight: 600; }
.footer { min-height: 100px; font-size: 14px; }
.footer p { color: var(--muted); }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 24px; padding-block: 36px 48px; }
  h1 { font-size: clamp(47px, 7vw, 72px); }
  .diagram { min-height: 370px; }
}

@media (max-width: 690px) {
  .wrap { width: calc(100% - 36px); }
  .top { min-height: 64px; }
  .brand { font-size: 15px; }
  .mark { width: 18px; height: 18px; margin-right: 2px; }
  .domain { display: none; }
  .hero, .section { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .intro { padding-top: 6px; }
  h1 { font-size: clamp(48px, 11.5vw, 76px); margin-block: 19px; }
  .diagram { min-height: 0; height: clamp(300px, 83vw, 470px); }
  .section { padding-block: 39px 48px; }
  .footer { flex-wrap: wrap; min-height: 88px; gap: 6px 14px; padding-block: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
