:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --ink: #191b1d;
  --muted: #535b60;
  --line: #d8d9d4;
  --paper: #fff;
  --accent: #a22a1e;
  --dark: #182321;
  --lime: #d9f682;
  font-family: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #ad392a; outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sitebar { border-bottom: 1px solid var(--line); background: var(--bg); }
.sitebar .wrap, .footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px 30px; flex-wrap: wrap; padding-block: 18px; }
.brand { font-size: 1.3rem; font-weight: 900; letter-spacing: -.07em; text-decoration: none; }
.brand span { color: var(--accent); }
.sitebar nav, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: .9rem; }
.sitebar nav a { text-decoration: none; }
.sitebar [aria-current="page"] { font-weight: 750; text-decoration: underline; }
.skip { position: absolute; transform: translateY(-200%); padding: 8px; background: white; }
.skip:focus { transform: none; }
.hero { padding: clamp(42px, 8vw, 100px) 0 42px; }
.eyebrow, .label { color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { max-width: 15ch; font-size: clamp(2.8rem, 7vw, 6.3rem); line-height: .99; letter-spacing: -.058em; margin-block: 16px 24px; overflow-wrap: break-word; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -.05em; }
h3 { font-size: 1.18rem; line-height: 1.25; }
.lead { max-width: 64ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.23rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--ink); border-radius: 7px; padding: 8px 16px; background: var(--ink); color: white; text-decoration: none; font-weight: 700; }
.button:hover { background: var(--accent); color: white; }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button.secondary:hover { border-color: var(--ink); }
.section { padding-block: 36px; }
.section > h2 { margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 24px; }
.card > * + *, .prose > * + * { margin-top: 12px; }
.card p, .prose p, .note, .card li { color: var(--muted); }
.note { font-size: .9rem; }
.callout { background: var(--dark); color: #f7fcf7; border-radius: 14px; padding: clamp(22px, 5vw, 44px); }
.callout .eyebrow, .callout a { color: var(--lime); }
.callout p { max-width: 70ch; }
.footer { border-top: 1px solid var(--line); margin-top: 36px; color: var(--muted); }
.board-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.board-links a, .tag { border: 1px solid var(--line); padding: 8px 13px; border-radius: 7px; background: white; font-size: .88rem; text-decoration: none; }
.board-links a[aria-current="true"] { background: var(--dark); color: white; border-color: var(--dark); }
.showcase-page .hero { padding-block: clamp(34px, 5vw, 72px) 26px; }
.showcase-page .board-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.board-links .board-choice { display: grid; gap: 3px; min-width: 0; padding: 8px 10px 10px; border-radius: 9px; }
.board-links .board-choice:hover { border-color: currentColor; }
.board-choice strong { font-size: 1rem; }
.board-choice .choice-detail { font-size: .76rem; color: var(--muted); }
.board-choice[aria-current="true"] .choice-detail { color: #d5ded9; }
.board-thumb { --thumb-bg: #182321; --thumb-ink: #ccef7b; display: grid; align-items: end; height: 44px; padding: 5px 9px; border-radius: 5px; color: var(--thumb-ink); background: var(--thumb-bg); }
.board-thumb svg { display: block; width: 100%; height: 32px; overflow: visible; }
[data-board-link="procurement"] .board-thumb { --thumb-bg: #2b231a; --thumb-ink: #ffce83; }
[data-board-link="operations"] .board-thumb { --thumb-bg: #132928; --thumb-ink: #8ce8dc; }
[data-board-link="portfolio"] .board-thumb { --thumb-bg: #17263a; --thumb-ink: #a9d3ff; }
[data-board-link="research"] .board-thumb { --thumb-bg: #27223b; --thumb-ink: #d6beff; }
[data-board-link="inventory"] .board-thumb { --thumb-bg: #233021; --thumb-ink: #a8ef9a; }
[data-board-link="finance"] .board-thumb { --thumb-bg: #302a1f; --thumb-ink: #f5d995; }
[data-board-link="people"] .board-thumb { --thumb-bg: #30232d; --thumb-ink: #f3bfdc; }
.board-choice[aria-current="true"] .board-thumb { box-shadow: inset 0 0 0 1px #ffffff60; }
.board { --board-accent: #ccef7b; padding: clamp(16px, 4vw, 34px); background: var(--dark); color: #fbfdf9; border-radius: 16px; }
.board[data-board="procurement"] { --board-accent: #ffce83; background: #2b231a; }
.board[data-board="operations"] { --board-accent: #8ce8dc; background: #132928; }
.board[data-board="research"] { --board-accent: #d6beff; background: #27223b; }
.board[data-board="portfolio"] { --board-accent: #a9d3ff; background: #17263a; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.board-head h2 { margin-block: 8px; }
.board .label { color: var(--board-accent); }
.board .note, .board .prose p:not(.label) { color: #d5ded9; }
.board a { color: var(--board-accent); }
.controls { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 22px 14px; }
.controls label, .field { display: grid; gap: 5px; font-weight: 650; font-size: .9rem; }
.controls select { min-height: 42px; border: 1px solid #8d9c95; padding: 6px 10px; border-radius: 6px; color: var(--ink); background: #fff; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-block: 14px; }
.metric { border: 1px solid #ffffff40; border-radius: 9px; padding: 14px; }
.metric span { display: block; color: #d5ded9; font-size: .85rem; }
.metric strong { display: block; margin-top: 4px; color: var(--board-accent); font-size: clamp(1.2rem, 3.5vw, 2.3rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.board-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 10px; }
.panel { background: #ffffff0a; border: 1px solid #ffffff40; padding: 16px; border-radius: 9px; }
.chart { list-style: none; display: grid; gap: 8px; padding: 0; margin: 14px 0 0; }
.chart li { display: grid; grid-template-columns: 4em 1fr 5.5em; gap: 8px; align-items: center; font-size: .83rem; }
.chart .track { position: relative; height: 12px; background: #ffffff24; border-radius: 4px; }
.chart .target { position: absolute; top: -3px; bottom: -3px; border-left: 2px solid white; }
.chart-legend { margin-top: 10px; }
.chart .bar { display: block; height: 100%; background: var(--board-accent); border-radius: 4px; }
.chart .value { text-align: right; font-variant-numeric: tabular-nums; }
.board details { margin-top: 16px; }
summary { cursor: pointer; font-weight: 700; }
.table-wrap { overflow-x: auto; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; text-align: left; }
th, td { padding: 8px; border-bottom: 1px solid #ffffff40; }
.board .button { background: var(--board-accent); color: var(--dark); border: 0; }
.board .button.secondary { background: transparent; color: white; border: 1px solid #ffffff60; }
.board :focus-visible { outline-color: var(--board-accent); }
.timeline { display: grid; gap: 12px; }
.story { scroll-margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 12px 26px; }
.story:target { border-color: var(--accent); }
.story .label { display: block; }
.steps { padding-left: 1.35rem; }
.steps li { padding: 5px 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #a4aaa5; border-radius: 6px; padding: 9px 11px; background: white; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.faq { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq p { margin-top: 8px; max-width: 72ch; color: var(--muted); }
.print-contact { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .cards, .board-grid { grid-template-columns: minmax(0, 1fr); }
  .wrap { width: calc(100% - 32px); }
  .showcase-page .board-links { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 10px; }
  .board-links .board-choice { flex: 0 0 124px; scroll-snap-align: start; }
}
@media (max-width: 470px) {
  .story, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .metric { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .chart li { grid-template-columns: 3.2em 1fr 5em; }
}
[hidden] { display: none !important; }

@media print {
  @page { size: A4; margin: 13mm 15mm; }
  .offer-page { background: white; color: #17211e; font-size: 9.5pt; line-height: 1.36; }
  .offer-page .wrap { width: 100%; max-width: none; }
  .offer-page .sitebar { border: 0; background: white; }
  .offer-page .sitebar .wrap { padding: 0 0 6mm; }
  .offer-page .sitebar nav, .offer-page .skip, .offer-page .footer,
  .offer-page .hero .actions, .offer-page #request { display: none !important; }
  .offer-page .hero { padding: 0 0 5mm; }
  .offer-page .hero h1 { max-width: none; font-size: 28pt; margin: 2mm 0 3mm; }
  .offer-page .lead { max-width: 100%; font-size: 10pt; }
  .offer-page .print-contact { display: block; margin-top: 3mm; font-weight: 700; }
  .offer-page .section { padding: 3mm 0; }
  .offer-page .section[aria-labelledby="sample-title"] { break-before: page; }
  .offer-page .section > h2 { margin-bottom: 2mm; }
  .offer-page h2 { font-size: 15pt; }
  .offer-page h3 { font-size: 10pt; }
  .offer-page .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5mm; }
  .offer-page .card, .offer-page .callout { padding: 3mm; border-radius: 0; border: 1px solid #c8d0cb; box-shadow: none; break-inside: avoid; }
  .offer-page .callout, .offer-page .callout .eyebrow { background: white; color: #17211e; }
  .offer-page .callout p, .offer-page .card p, .offer-page .card li { color: #374640; }
  .offer-page .card > * + *, .offer-page .prose > * + * { margin-top: 1.5mm; }
  .offer-page .steps li { padding: .5mm 0; }
  .offer-page .faq { break-inside: avoid; padding: 1mm 0; }
  .offer-page .faq p { margin-top: 1mm; }
  .offer-page a { color: inherit; }
}

