:root {
  --ink: #121918;
  --paper: #f1efe5;
  --paper-2: #e6e2d4;
  --orange: #ff4d1f;
  --blue: #165dff;
  --lime: #c8ff5a;
  --line: rgba(18, 25, 24, 0.22);
  --mono: "IBM Plex Mono", monospace;
  --display: "Archivo Black", sans-serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .16; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
.shell { width: min(1420px, calc(100% - 56px)); margin: 0 auto; }
.topbar { min-height: 78px; padding: 14px 28px; border-bottom: 2px solid var(--ink); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: relative; z-index: 10; }
.brand { display: flex; gap: 10px; align-items: center; font: 12px/1 var(--mono); letter-spacing: .08em; }
.brand b { font-weight: 600; }
.brand-mark { width: 34px; height: 34px; border: 2px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 4px; transform: rotate(-4deg); }
.brand-mark i { background: var(--orange); }
.brand-mark i:last-child { background: var(--blue); }
.system-state { font: 11px var(--mono); letter-spacing: .08em; border: 1px solid var(--ink); padding: 9px 12px; }
.system-state span { display: inline-block; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 4px rgba(200,255,90,.18); }
.download { justify-self: end; font: 11px var(--mono); letter-spacing: .08em; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.download b { color: var(--orange); font-size: 16px; }

.hero { min-height: 760px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; padding: 82px 0 70px; }
.eyebrow, .section-head > div > p, .closing > div > p { font: 600 11px var(--mono); letter-spacing: .13em; margin: 0 0 24px; }
.hero h1 { font: clamp(58px, 6.3vw, 112px)/.87 var(--display); letter-spacing: -.065em; text-transform: uppercase; margin: 0; max-width: 850px; }
.hero h1 em, .closing h2 em { color: var(--orange); font-style: normal; }
.lede { font-size: 18px; line-height: 1.65; max-width: 680px; margin: 32px 0; }
.hero-actions { display: flex; gap: 24px; align-items: center; }
.primary { appearance: none; border: 2px solid var(--ink); background: var(--ink); color: white; min-height: 58px; padding: 0 20px; display: flex; gap: 42px; align-items: center; cursor: pointer; font: 600 12px var(--mono); letter-spacing: .06em; box-shadow: 7px 7px 0 var(--orange); transition: transform .2s, box-shadow .2s; }
.primary:hover { transform: translate(3px, 3px); box-shadow: 4px 4px 0 var(--orange); }
.primary:disabled { cursor: default; }
.primary b { font-size: 20px; }
.text-link { font: 600 11px var(--mono); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.fineprint { font: 10px var(--mono); letter-spacing: .05em; margin-top: 25px; opacity: .66; }
.relay-board { background: var(--ink); color: white; min-height: 570px; padding: 26px; position: relative; box-shadow: 14px 14px 0 var(--blue); overflow: hidden; }
.relay-board:before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; opacity: .35; }
.board-title, .inspection-head, .ticket > div { position: relative; display: flex; justify-content: space-between; font: 10px var(--mono); letter-spacing: .1em; border-bottom: 1px solid rgba(255,255,255,.24); padding-bottom: 17px; }
.readiness { position: relative; display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 28px; margin: 70px 8px 64px; }
.dial { width: 164px; height: 164px; border-radius: 50%; border: 16px solid rgba(255,255,255,.12); border-top-color: var(--lime); border-right-color: var(--lime); display: grid; place-content: center; text-align: center; transform: rotate(10deg); }
.dial strong, .dial small { transform: rotate(-10deg); }
.dial strong { font: 58px/.85 var(--display); }
.dial small { font: 9px var(--mono); margin-top: 8px; letter-spacing: .08em; }
.readiness-copy span { color: var(--lime); font: 10px var(--mono); letter-spacing: .1em; }
.readiness-copy h2 { font: 34px/1 var(--display); text-transform: uppercase; letter-spacing: -.04em; margin: 10px 0 14px; }
.readiness-copy p { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.55; max-width: 330px; }
.board-metrics { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.board-metrics div { padding: 18px 12px; border-right: 1px solid rgba(255,255,255,.2); }
.board-metrics div:last-child { border-right: 0; }
.board-metrics small { display: block; font: 9px var(--mono); opacity: .55; }
.board-metrics strong { font: 28px var(--display); }
.lock-strip { position: relative; margin-top: 22px; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font: 10px var(--mono); }
.lock-strip b { color: var(--orange); }
.lock-strip small { grid-column: 1 / -1; opacity: .5; }

.section-head { display: grid; grid-template-columns: 1.1fr .7fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.section-head h2 { font: clamp(38px, 4vw, 70px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.045em; margin: 0; }
.section-head > p { line-height: 1.65; margin: 0; max-width: 560px; }
.boundary { border-top: 2px solid var(--ink); padding: 96px 0 116px; }
.relay-map { display: grid; grid-template-columns: 1fr 74px 1fr 74px 1fr 74px 1fr; align-items: stretch; }
.relay-map article { border: 2px solid var(--ink); padding: 22px; min-height: 190px; position: relative; background: var(--paper); transition: transform .25s, background .25s; }
.relay-map article:hover { transform: translateY(-6px); }
.relay-map article span { font: 10px var(--mono); }
.relay-map article small { display: block; font: 9px var(--mono); letter-spacing: .09em; margin: 36px 0 8px; opacity: .6; }
.relay-map article h3 { font: 25px var(--display); text-transform: uppercase; margin: 0 0 10px; }
.relay-map article p { font-size: 12px; margin: 0; }
.relay-map article.system { color: white; background: var(--ink); }
.relay-map article.ghl { box-shadow: 7px 7px 0 var(--orange); }
.relay-map article.jobber { box-shadow: 7px 7px 0 var(--blue); }
.relay-map > i { align-self: center; height: 2px; background: var(--ink); position: relative; }
.relay-map > i:after { content: ""; position: absolute; right: -1px; top: -5px; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.relay-map > i b { position: absolute; width: 100%; text-align: center; top: -22px; font: 8px var(--mono); font-style: normal; }
.relay-map.running article { animation: pulse 1.4s both; }
.relay-map.running article:nth-of-type(2) { animation-delay: .25s; }
.relay-map.running article:nth-of-type(3) { animation-delay: .5s; }
.relay-map.running article:nth-of-type(4) { animation-delay: .75s; }
@keyframes pulse { 50% { background: var(--lime); color: var(--ink); transform: translateY(-8px); } }

.audit-lab { padding: 100px 0; border-top: 2px solid var(--ink); }
.section-head.compact { margin-bottom: 40px; }
.lab-layout { display: grid; grid-template-columns: .76fr 1.24fr; border: 2px solid var(--ink); }
.area-list { border-right: 2px solid var(--ink); }
.area-button { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 20px; display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; text-align: left; cursor: pointer; }
.area-button:last-child { border-bottom: 0; }
.area-button:hover, .area-button.active { background: var(--ink); color: white; }
.area-button > span, .area-button small { font: 9px var(--mono); opacity: .55; }
.area-button b { display: block; font-size: 14px; }
.area-button small { display: block; margin-top: 4px; }
.area-button em { font: 24px var(--display); font-style: normal; }
.inspection { padding: 28px; }
.inspection-head { color: var(--ink); border-color: var(--line); }
.inspection-head b { padding: 5px 8px; background: var(--orange); color: white; }
.inspection-head b.ready { background: #1b8f5a; }
.inspection-head b.watch { background: #cf6a00; }
.inspection h3 { font: clamp(38px, 4vw, 64px)/1 var(--display); text-transform: uppercase; letter-spacing: -.04em; margin: 30px 0; }
.risk-card, .control-card { padding: 18px; border-left: 5px solid var(--orange); background: var(--paper-2); }
.control-card { border-color: var(--blue); margin-top: 18px; }
.risk-card small, .control-card small { font: 9px var(--mono); letter-spacing: .09em; }
.risk-card p, .control-card p { margin: 7px 0 0; line-height: 1.55; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 1px solid var(--line); }
.check-grid div { padding: 14px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.check-grid div:nth-child(even) { border-right: 0; }
.check-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.check-grid span, .check-grid b { font: 8px var(--mono); opacity: .55; }
.check-grid p { font-size: 11px; margin: 0; }
.ticket-button { width: 100%; margin-top: 18px; border: 2px solid var(--ink); background: transparent; min-height: 52px; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; font: 10px var(--mono); cursor: pointer; }
.ticket-button:hover { background: var(--lime); }
.ticket-button span { font-size: 20px; }
.ticket { display: none; margin-top: 20px; background: var(--ink); color: white; padding: 24px; box-shadow: 8px 8px 0 var(--lime); }
.ticket.visible { display: block; animation: slide .3s ease-out; }
@keyframes slide { from { opacity: 0; transform: translateY(12px); } }
.ticket > div strong { color: var(--lime); }
.ticket > p { max-width: 860px; line-height: 1.55; }
.ticket ul { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ticket li { font-size: 12px; border: 1px solid rgba(255,255,255,.2); padding: 12px; }
.ticket li span { margin-right: 10px; color: var(--lime); }
.ticket footer { display: flex; gap: 8px; margin-top: 20px; }
.ticket footer span { font: 8px var(--mono); background: rgba(255,255,255,.12); padding: 7px 9px; }

.workflows { padding: 100px 0 120px; border-top: 2px solid var(--ink); }
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.workflow-card { border: 2px solid var(--ink); padding: 28px; min-height: 560px; display: flex; flex-direction: column; }
.workflow-card.orange { box-shadow: 10px 10px 0 var(--orange); }
.workflow-card.blue { box-shadow: 10px 10px 0 var(--blue); }
.workflow-card header { display: flex; justify-content: space-between; font: 10px var(--mono); border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.workflow-card h3 { font: clamp(34px, 3vw, 52px)/1 var(--display); letter-spacing: -.045em; text-transform: uppercase; margin: 44px 0; }
.workflow-card ol { list-style: none; padding: 0; margin: 0; }
.workflow-card li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; border-top: 1px solid var(--line); padding: 17px 0; }
.workflow-card li > span { font: 10px var(--mono); }
.workflow-card li b { font-size: 13px; }
.workflow-card li p { margin: 5px 0 0; line-height: 1.55; font-size: 12px; }
.workflow-card footer { display: flex; gap: 8px; margin-top: auto; }
.workflow-card footer span { font: 8px var(--mono); border: 1px solid var(--ink); padding: 7px 9px; }

.change-plan { border-top: 2px solid var(--ink); padding: 100px 0 120px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); border: 2px solid var(--ink); }
.timeline article { padding: 22px; min-height: 240px; border-right: 1px solid var(--line); position: relative; }
.timeline article:last-child { border-right: 0; background: var(--lime); }
.timeline span { font: 9px var(--mono); }
.timeline h3 { font: 25px var(--display); text-transform: uppercase; margin: 52px 0 12px; }
.timeline p { font-size: 11px; line-height: 1.55; margin: 0; }
.handoff-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.handoff-grid article { background: var(--ink); color: white; padding: 22px; min-height: 200px; }
.handoff-grid span { color: var(--lime); font: 10px var(--mono); }
.handoff-grid h3 { font: 20px var(--display); text-transform: uppercase; margin-top: 45px; }
.handoff-grid p { font-size: 11px; line-height: 1.55; color: rgba(255,255,255,.65); }

.closing { padding: 110px 0 80px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
.closing h2 { font: clamp(45px, 5vw, 78px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.05em; margin: 0; }
.closing blockquote { grid-column: 2; grid-row: 1; margin: 60px 0 0; font: 16px/1.8 var(--mono); border-left: 5px solid var(--blue); padding-left: 22px; }
.closing aside { grid-column: 1 / -1; border: 1px solid var(--line); padding: 18px; margin-top: 10px; }
.closing aside strong { font: 9px var(--mono); letter-spacing: .09em; }
.closing aside p { font-size: 11px; line-height: 1.6; margin: 7px 0 0; }
.footer { min-height: 68px; background: var(--ink); color: white; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; font: 9px var(--mono); letter-spacing: .08em; }

@media (max-width: 1000px) {
  .hero, .section-head, .closing { grid-template-columns: 1fr; }
  .hero { gap: 46px; padding-top: 60px; }
  .closing blockquote { grid-column: 1; grid-row: auto; margin-top: 0; }
  .relay-map { grid-template-columns: 1fr 36px 1fr; gap: 20px 0; }
  .relay-map article:nth-of-type(3) { grid-column: 1; }
  .relay-map article:nth-of-type(4) { grid-column: 3; }
  .lab-layout, .workflow-grid { grid-template-columns: 1fr; }
  .area-list { border-right: 0; border-bottom: 2px solid var(--ink); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline article { border-bottom: 1px solid var(--line); }
  .timeline article:last-child { grid-column: 1 / -1; }
  .handoff-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1420px); }
  .topbar { grid-template-columns: 1fr auto; padding: 12px 14px; }
  .system-state { display: none; }
  .download { font-size: 0; }
  .download b { font-size: 18px; }
  .hero { min-height: auto; padding: 52px 0 70px; }
  .hero h1 { font-size: 50px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .relay-board { padding: 18px; min-height: 500px; box-shadow: 8px 8px 0 var(--blue); }
  .readiness { grid-template-columns: 118px 1fr; gap: 15px; margin: 54px 0; }
  .dial { width: 112px; height: 112px; border-width: 12px; }
  .dial strong { font-size: 39px; }
  .readiness-copy h2 { font-size: 25px; }
  .readiness-copy p { font-size: 11px; }
  .section-head { gap: 18px; margin-bottom: 32px; }
  .boundary, .audit-lab, .workflows, .change-plan { padding: 72px 0; }
  .relay-map { grid-template-columns: 1fr; gap: 12px; }
  .relay-map article:nth-of-type(n), .relay-map > i { grid-column: 1; }
  .relay-map > i { width: 2px; height: 28px; justify-self: center; }
  .relay-map > i:after { bottom: -1px; top: auto; left: -5px; border-top: 10px solid var(--ink); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 0; }
  .relay-map > i b { display: none; }
  .check-grid, .ticket ul { grid-template-columns: 1fr; }
  .check-grid div { border-right: 0; }
  .check-grid div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .check-grid div:last-child { border-bottom: 0; }
  .inspection { padding: 18px; }
  .workflow-card { min-height: 520px; padding: 20px; }
  .workflow-card h3 { font-size: 34px; }
  .timeline, .handoff-grid { grid-template-columns: 1fr; }
  .timeline article:last-child { grid-column: 1; }
  .closing { padding: 76px 0; gap: 28px; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
