:root {
  color-scheme: light;
  --paper: #fbfaf8;
  --white: #fff;
  --ink: #201e1b;
  --muted: #5e5953;
  --line: #e6e0d8;
  --orange: #aa3c0b;
  --infrastructure-orange: #df6017;
  --amber: #ff9b64;
  --display: Manrope, "Avenir Next", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
section[id] { scroll-margin-top: 2rem; }

.wrap {
  width: min(100% - 6rem, 76rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 5;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }

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

.brand {
  display: block;
  flex-shrink: 0;
  width: 11rem;
  mix-blend-mode: multiply;
}
.brand img { width: 100%; height: auto; }

nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.875rem);
  font-weight: 600;
  font-size: 0.9375rem;
}
.nav-section:hover, .back-top:hover { color: var(--orange); }

.button {
  display: inline-flex;
  min-height: 2.875rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 100vw;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button-outline { border-color: #d9d1c8; }
.button-outline:hover { border-color: var(--ink); background: var(--white); }
.button-primary {
  min-height: 3.25rem;
  padding-inline: 1.45rem;
  background: var(--ink);
  color: var(--white);
}
.button-primary:hover { background: var(--orange); }

.hero {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 4.5rem);
}
h1, h2, h3 { font-family: var(--display); }
h1 {
  font-size: clamp(2.85rem, 5.65vw, 5.45rem);
  font-weight: 800;
  letter-spacing: -0.078em;
  line-height: 0.99;
}
h1 span { display: block; color: var(--infrastructure-orange); }
h2 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.05;
}
.hero-lead { max-width: 31rem; font-size: clamp(1.18rem, 2vw, 1.42rem); font-weight: 600; line-height: 1.4; }
.hero-detail { max-width: 31rem; margin-block: 1.1rem 1.7rem; color: var(--muted); }
#document-intelligence:empty {
  min-height: clamp(16rem, 35vw, 27rem);
}
.di-figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 0.5rem;
  margin: 0;
  padding: 0.75rem clamp(0.5rem, 2vw, 1.5rem) 0.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
}
.di-figure figcaption {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.3;
  padding-inline-start: 0.35rem;
}
.di-playback {
  min-height: 2.75rem;
  padding: 0.5rem 0.35rem 0.5rem 0.5rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.8125rem/1.3 var(--body);
  cursor: pointer;
}
.di-playback:hover { color: var(--orange); }
.di-figure svg {
  display: block;
  grid-row: 2;
  grid-column: 1 / -1;
  width: 100%;
  margin-inline: auto;
}
.di-compact svg { max-width: 26rem; }
.di-figure svg text { fill: var(--ink); }
.di-label { font: 700 17px var(--body); }
.di-figure .di-value {
  font: 500 15px var(--body);
  fill: var(--muted);
}
.di-document-title { font: 800 22px var(--display); }
.di-figure .di-document-copy {
  font: 600 12px var(--body);
  fill: var(--muted);
}
.di-front-sheet, .di-back-sheet {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 1.4;
}
.di-back-sheet:nth-child(-n + 2) { stroke-opacity: 0.55; }
.di-rule, .di-signature, .di-scan, .di-connection, .di-connection-accent, .di-icon {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.di-rule { stroke: var(--line); stroke-width: 1.25; }
.di-signature { stroke: var(--muted); stroke-width: 1.15; }
.di-scan {
  stroke: var(--infrastructure-orange);
  stroke-width: 2;
}
.di-extraction-frame, .di-card, .di-node { fill: var(--white); }
.di-extraction-frame { stroke: var(--infrastructure-orange); stroke-width: 1.25; }
.di-card { stroke: var(--line); stroke-width: 1.25; }
.di-node { stroke: var(--infrastructure-orange); stroke-width: 2.2; }
.di-icon { stroke: var(--infrastructure-orange); stroke-width: 1.8; }
.di-connection { stroke: var(--muted); stroke-width: 1.45; }
.di-connection-accent { stroke: var(--infrastructure-orange); stroke-width: 1.85; }
@media (prefers-reduced-motion: reduce) {
  .di-playback { display: none; }
}

.technology {
  border-block: 1px solid var(--line);
  background: #f5f2ee;
  padding-block: clamp(3.75rem, 7vw, 6.25rem);
}
.section-intro, .vision-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 8vw, 7rem);
}
.body-copy { color: var(--muted); font-size: 1.0625rem; }
.body-copy p + p { margin-block-start: 0.95rem; }
.section-intro .body-copy { padding-block-start: 0.25rem; }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
}
.focus-grid li {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-height: 6rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
}
.focus-grid h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.025em; }
.focus-icon {
  position: relative;
  width: 2.65rem;
  height: 2.65rem;
  flex: none;
  border-radius: 0.7rem;
  color: var(--orange);
  background: #f8e7db;
}
.focus-icon::before, .focus-icon::after, .focus-icon i {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
}
.icon-document::before {
  width: 0.85rem;
  height: 1.05rem;
  border: 1.5px solid;
  border-radius: 0.15rem;
  transform: translate(-50%, -50%);
}
.icon-document i, .icon-document::after {
  width: 0.42rem;
  border-top: 1.5px solid;
  transform: translate(-50%, -0.15rem);
}
.icon-document::after { transform: translate(-50%, 0.17rem); }
.icon-layers::before, .icon-layers::after, .icon-layers i {
  width: 0.73rem;
  height: 0.73rem;
  background: #f8e7db;
  border: 1.5px solid;
  border-radius: 0.12rem;
  transform: translate(-50%, -30%) rotate(45deg) skew(-9deg, -9deg);
}
.icon-layers i { transform: translate(-50%, -54%) rotate(45deg) skew(-9deg, -9deg); }
.icon-layers::after { transform: translate(-50%, -78%) rotate(45deg) skew(-9deg, -9deg); }
.icon-chip::before {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid;
  border-radius: 0.18rem;
  transform: translate(-50%, -50%);
}
.icon-chip i, .icon-chip::after {
  width: 1.45rem;
  height: 0.42rem;
  border-inline: 2px dotted;
  transform: translate(-50%, -50%);
}
.icon-chip::after { transform: translate(-50%, -50%) rotate(90deg); }
.technology-outlook { font-size: 1.0625rem; color: var(--muted); max-width: 52rem; margin-block-start: 1.5rem; }

.vision { background: #211e1b; color: #fbf7f3; padding-block: clamp(4rem, 8vw, 7rem); }
.vision-inner { align-items: center; }
.vision .body-copy { color: #d1c7bd; margin-block-start: 1.4rem; }
.vision-quote {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 16.5rem;
  border: 1px solid #51433a;
  border-radius: 1.4rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: radial-gradient(ellipse at 100% 100%, #603825 0%, #382b24 48%, #2a2420 100%);
}
.vision-quote p {
  font: 700 clamp(1.6rem, 3vw, 2.55rem)/1.18 var(--display);
  letter-spacing: -0.045em;
}
.vision-quote strong { display: block; margin-block-start: 0.4em; color: var(--amber); font-weight: 800; }

.contact { padding-block: clamp(2.75rem, 6vw, 5rem); }
.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.75rem 3rem;
  border: 1px solid #f1d9c9;
  border-radius: 1.4rem;
  padding: clamp(1.5rem, 5vw, 3.75rem);
  background: #f9ebe1;
}
.contact h2 { margin-block-end: 0.75rem; }
.contact-panel p { max-width: 28rem; color: #645246; }
.contact-panel > .button { flex: none; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem 1rem;
  border-top: 1px solid var(--line);
  min-height: 5.75rem;
}
.footer-inner .brand { width: 9rem; }
.footer-copyright { color: var(--muted); font-size: 0.875rem; }
.back-top {
  justify-self: end;
  font-size: 0.9375rem;
  color: var(--muted);
  font-weight: 600;
  padding-block: 0.6rem;
}

@media (max-width: 63rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero { gap: 1.75rem; }
}
@media (max-width: 47rem) {
  .hero-intro, .section-intro, .vision-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 3rem; }
  h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); }
  .contact-panel { flex-direction: column; align-items: flex-start; }
  .vision-quote { min-height: 12rem; }
}
@media (max-width: 35rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.25rem; }
  .brand { width: 8.5rem; }
  .nav-section { display: none; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid li { min-height: 4.5rem; }
  .footer-inner { grid-template-columns: 1fr auto; padding-block: 0.75rem; }
  .footer-copyright { grid-column: 1 / -1; grid-row: 2; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
