:root {
  --black: #101111;
  --yellow: #ffd42f;
  --blue: #386cf5;
  --coral: #ff6b59;
  --white: #fffef8;
  --paper: #f3f1e9;
  --grey: #777a78;
  --line: rgba(16, 17, 17, .15);
  --sidebar: 240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--black); background: var(--paper); font-family: "Arial Narrow", Impact, "Segoe UI", sans-serif; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .75rem 1rem; background: var(--yellow); }
.skip-link:focus { top: 1rem; }

.app-sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--sidebar); padding: 1.3rem 1rem; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--white); transition: width .2s ease; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .55rem; width: max-content; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand > span { width: 2rem; height: 2rem; display: grid; place-items: center; clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0 50%); color: var(--black); background: var(--yellow); font-size: .8rem; }
.collapse-button { display: none; }
.app-sidebar nav { margin: 4rem 0 auto; display: grid; gap: .4rem; }
.app-sidebar nav a { padding: .8rem; display: grid; grid-template-columns: 2rem 1fr; align-items: center; border: 1px solid transparent; color: #5f6260; font-size: .78rem; font-weight: 800; text-decoration: none; }
.app-sidebar nav a:hover, .app-sidebar nav a.active { border-color: var(--black); color: var(--black); background: var(--yellow); }
.app-sidebar nav span { font-size: 1rem; }
.sidebar-card { padding: 1rem; border: 1px solid var(--line); background: var(--paper); }
.sidebar-card span { color: var(--grey); font-size: .6rem; text-transform: uppercase; }
.sidebar-card strong { display: block; }
.sidebar-card p { margin: .3rem 0 0; color: var(--grey); font-size: .68rem; }
.sidebar-contact { margin-top: .8rem; padding: .8rem; display: flex; justify-content: space-between; color: white; background: var(--black); font-size: .72rem; font-weight: 800; text-decoration: none; }
.app-shell { margin-left: var(--sidebar); }
.app-header { min-height: 76px; padding: 0 clamp(1rem, 3vw, 3rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--white); }
.app-header p { margin: 0; color: var(--grey); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.app-header strong { font-size: .82rem; }
.header-actions { display: flex; gap: .6rem; }
.header-actions button, .header-actions a { min-height: 40px; padding: .6rem .8rem; border: 1px solid var(--line); background: transparent; font-size: .7rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.header-actions a { color: var(--white); background: var(--black); }

.overview-section { min-height: 730px; padding: 5rem clamp(1rem, 5vw, 6rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: var(--paper); }
.eyebrow, .section-label { margin: 0 0 1.2rem; color: var(--blue); font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.overview-copy h1 { margin: 0; font-size: clamp(4.4rem, 7.6vw, 8.5rem); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.overview-copy h1 em { color: var(--blue); font-style: normal; }
.overview-copy > p:not(.eyebrow) { max-width: 620px; color: var(--grey); font-family: "Segoe UI", Arial, sans-serif; }
.black-button { display: inline-block; margin-top: 1rem; padding: .9rem 1.1rem; color: var(--white); background: var(--black); font-size: .75rem; font-weight: 900; text-decoration: none; }
.hive-cluster { position: relative; width: min(100%, 610px); aspect-ratio: 1; margin: auto; }
.hex-card, .hive-centre { position: absolute; width: 44%; aspect-ratio: 1; padding: 12% 7%; display: flex; flex-direction: column; justify-content: center; clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0 50%); }
.hex-card span { font-size: .62rem; text-transform: uppercase; }
.hex-card strong { font-size: clamp(1.6rem, 3vw, 2.7rem); line-height: 1; }
.hex-card small { margin-top: .4rem; font-family: "Segoe UI", sans-serif; font-size: .62rem; }
.hex-yellow { left: 4%; top: 5%; background: var(--yellow); }.hex-blue { right: 4%; top: 5%; color: white; background: var(--blue); }.hex-white { left: 4%; bottom: 3%; background: var(--white); box-shadow: inset 0 0 0 2px var(--black); }
.hive-centre { right: 4%; bottom: 3%; align-items: center; color: white; background: var(--black); text-align: center; }
.hive-centre span { color: var(--yellow); font-size: 2rem; }.hive-centre strong { text-transform: uppercase; }

.ticker { padding: 1rem; display: flex; justify-content: space-around; gap: 1rem; color: var(--white); background: var(--blue); white-space: nowrap; overflow: hidden; }
.ticker span { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.ticker i { width: .55rem; height: .55rem; align-self: center; clip-path: polygon(25% 7%,75% 7%,100% 50%,75% 93%,25% 93%,0 50%); background: var(--yellow); }

.cards-section { padding: 8rem max(1rem, calc((100vw - 1220px - var(--sidebar))/2)); background: var(--white); }
.cards-heading { display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; align-items: end; }
.cards-heading h2, .policy-heading h2, .approval-title h2, .contact-section h2 { margin: 0; font-size: clamp(3.4rem, 6.4vw, 7rem); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.card-showcase { position: relative; min-height: 600px; margin-top: 5rem; }
.virtual-card { position: absolute; width: min(520px, 60%); aspect-ratio: 1.7; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; border: 2px solid var(--black); box-shadow: 1rem 1rem 0 var(--black); }
.virtual-card > div { display: flex; justify-content: space-between; }
.virtual-card i { width: 1.8rem; height: 1.8rem; clip-path: polygon(25% 7%,75% 7%,100% 50%,75% 93%,25% 93%,0 50%); background: var(--black); }
.virtual-card > strong { font: 900 1.2rem Consolas, monospace; letter-spacing: .16em; }
.virtual-card p { margin: 0; display: flex; justify-content: space-between; }
.card-travel { left: 3%; top: 3%; transform: rotate(-4deg); background: var(--yellow); }
.card-media { left: 28%; top: 26%; transform: rotate(4deg); color: white; background: var(--blue); }
.card-media i { background: var(--yellow); }.card-media { box-shadow: 1rem 1rem 0 var(--yellow); }
.card-rules { position: absolute; right: 0; bottom: 0; width: 36%; padding: 1.5rem; border: 1px solid var(--line); background: var(--paper); }
.card-rules p { padding: 1rem 0; display: grid; border-bottom: 1px solid var(--line); }
.card-rules p:last-child { border: 0; }
.card-rules span { color: var(--blue); font: .6rem Consolas, monospace; }.card-rules strong { margin: .3rem 0; }.card-rules em { color: var(--grey); font-family: "Segoe UI", sans-serif; font-size: .72rem; font-style: normal; }

.policy-section { padding: 8rem max(1rem, calc((100vw - 1280px - var(--sidebar))/2)); color: white; background: var(--black); }
.policy-heading { max-width: 1000px; }
.policy-heading .section-label { color: var(--yellow); }
.policy-heading > p:last-child { max-width: 650px; color: #a9abaa; font-family: "Segoe UI", sans-serif; }
.receipt-workspace { margin-top: 4rem; display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid rgba(255,255,255,.17); background: #181a1a; }
.receipt-paper { padding: clamp(1.5rem, 4vw, 3rem); color: var(--black); background: var(--white); }
.receipt-top { display: flex; justify-content: space-between; font: .7rem Consolas, monospace; text-transform: uppercase; }
.upload-zone { min-height: 170px; margin: 2rem 0; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed #aaa; text-align: center; cursor: pointer; }
.upload-zone > span { font-size: 2rem; }.upload-zone small { color: var(--grey); }
.upload-zone input { width: 1px; height: 1px; opacity: 0; }
.receipt-paper > label:not(.upload-zone) { display: block; margin-top: 1rem; font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.receipt-paper input[type="number"], .receipt-paper select { width: 100%; min-height: 50px; margin-top: .35rem; padding: .7rem; border: 1px solid var(--black); background: var(--white); }
.policy-rules { padding: clamp(1.5rem, 4vw, 3rem); }
.policy-rules > p { margin: 0 0 1.5rem; color: var(--yellow); font-size: .66rem; font-weight: 900; text-transform: uppercase; }
.policy-rules label { padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.policy-rules label span { display: grid; }.policy-rules small { color: #999d9a; font-family: "Segoe UI", sans-serif; }
.policy-rules input { width: 1.2rem; height: 1.2rem; accent-color: var(--yellow); }
.policy-rules button { width: 100%; min-height: 52px; margin-top: 1.5rem; padding: .8rem 1rem; display: flex; justify-content: space-between; border: 0; background: var(--yellow); font-weight: 900; cursor: pointer; }
.decision-output { grid-column: 1 / -1; padding: 1.5rem; display: grid; grid-template-columns: .5fr 1fr 1.2fr; gap: 1rem; align-items: center; color: var(--black); background: var(--yellow); }
.decision-output > span { font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.decision-output > p { margin: 0; font-family: "Segoe UI", sans-serif; font-size: .78rem; }
.decision-path, .decision-output > small { grid-column: 2 / -1; }
.decision-path { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; }
.decision-path i { width: .8rem; height: .8rem; border: 2px solid var(--black); border-radius: 50%; }
.decision-path i.done, .decision-path i.active { background: var(--black); }
.decision-path b { height: 2px; background: var(--black); }
.decision-output > small { text-align: right; font: .58rem Consolas, monospace; text-transform: uppercase; word-spacing: 2rem; }
.decision-output.decision-hold { color: white; background: var(--coral); }
.decision-output.decision-clear { color: white; background: var(--blue); }

.approvals-section { padding: 8rem max(1rem, calc((100vw - 1220px - var(--sidebar))/2)); background: var(--yellow); }
.approval-title { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: end; }
.approval-title .section-label { color: var(--black); }
.approval-queue { margin-top: 4rem; background: var(--white); }
.approval-queue article { padding: 1.2rem; display: grid; grid-template-columns: auto 1fr auto 90px; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); }
.person { width: 3rem; height: 3rem; display: grid; place-items: center; clip-path: polygon(25% 7%,75% 7%,100% 50%,75% 93%,25% 93%,0 50%); background: var(--yellow); font-size: .7rem; font-weight: 900; }
.person.blue { color: white; background: var(--blue); }.person.coral { color: white; background: var(--coral); }
.approval-queue article > div { display: grid; }.approval-queue small { color: var(--grey); font-family: "Segoe UI", sans-serif; }
.approval-queue em { padding: .35rem; color: white; background: var(--black); font-size: .62rem; font-style: normal; text-align: center; text-transform: uppercase; }
.approval-queue em.clear { background: var(--blue); }.approval-queue em.hold { background: var(--coral); }

.contact-section { padding: 8rem max(1rem, calc((100vw - 1220px - var(--sidebar))/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; background: var(--blue); color: white; }
.contact-section .section-label { color: var(--yellow); }
.contact-section form { display: grid; gap: 1rem; align-content: center; }
.contact-section label { font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.contact-section input, .contact-section select { width: 100%; min-height: 52px; margin-top: .35rem; padding: .7rem; border: 2px solid var(--black); background: var(--white); }
.contact-section button { min-height: 52px; border: 0; background: var(--yellow); font-weight: 900; cursor: pointer; }
#contact-status { min-height: 1.4rem; margin: 0; color: var(--yellow); font-family: "Segoe UI", sans-serif; font-size: .8rem; }
.site-footer { padding: 4rem max(1rem, calc((100vw - 1220px - var(--sidebar))/2)); display: grid; grid-template-columns: 1fr .8fr 1.2fr auto; gap: 3rem; background: var(--white); font-family: "Segoe UI", sans-serif; font-size: .75rem; }
.site-footer p, .site-footer address { margin: 0; font-style: normal; }
.site-footer address strong { color: var(--blue); font-size: .6rem; text-transform: uppercase; }
.site-footer > a { color: var(--blue); font-weight: 800; text-decoration: none; }
body.compact .app-sidebar { width: 86px; }
body.compact .app-shell { margin-left: 86px; }
body.compact .app-sidebar .brand { font-size: 0; }
body.compact .app-sidebar nav a { grid-template-columns: 1fr; justify-items: center; font-size: 0; }
body.compact .sidebar-card, body.compact .sidebar-contact { display: none; }

@media (max-width: 950px) {
  :root { --sidebar: 0px; }
  .app-sidebar { position: sticky; top: 0; width: 100%; min-height: 68px; padding: .6rem 1rem; display: block; }
  .collapse-button { display: block; padding: .5rem; border: 1px solid var(--black); background: transparent; }
  .app-sidebar nav { position: absolute; left: 1rem; right: 1rem; top: 68px; margin: 0; padding: 1rem; display: none; grid-template-columns: 1fr 1fr; background: var(--white); box-shadow: 0 15px 40px rgba(0,0,0,.15); }
  .app-sidebar nav.open { display: grid; }
  .sidebar-card, .sidebar-contact { display: none; }
  .app-shell, body.compact .app-shell { margin-left: 0; }
  body.compact .app-sidebar { width: 100%; }
  body.compact .app-sidebar .brand { font-size: inherit; }
  .overview-section { grid-template-columns: 1fr; }
  .hive-cluster { width: min(90vw, 600px); }
  .cards-heading, .approval-title, .contact-section { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .app-header { padding: .8rem 1rem; }
  .app-header > div:first-child { display: none; }
  .header-actions { width: 100%; justify-content: space-between; }
  .overview-section { padding: 4rem 1rem; }
  .overview-copy h1 { font-size: 4.1rem; }
  .ticker { justify-content: flex-start; }
  .cards-section, .policy-section, .approvals-section, .contact-section, .site-footer { padding-left: 1rem; padding-right: 1rem; }
  .card-showcase { min-height: 750px; }
  .virtual-card { width: 88%; padding: 1.2rem; }
  .card-travel { left: 0; }.card-media { left: 10%; top: 23%; }
  .card-rules { right: 0; bottom: 0; width: 90%; }
  .receipt-workspace { grid-template-columns: 1fr; }
  .decision-output { grid-column: 1; grid-template-columns: 1fr; }
  .decision-path, .decision-output > small { grid-column: 1; }
  .decision-output > small { text-align: left; word-spacing: normal; }
  .approval-queue article { grid-template-columns: auto 1fr; }
  .approval-queue article > b, .approval-queue article > em { grid-column: 2; justify-self: start; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
