@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("/fonts/archivo-variable.woff2") format("woff2");
}
/* Workflows: an overview page and one page per tool, on the home page's spec sheet.
   Diagrams are boxes and wires laid out with CSS grid, so they stack into one column on phones.
   A stepper under each diagram lights the parts one step uses and explains it. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
:root {
  color-scheme: dark;
  --ink: #0E0F11;        /* page ground */
  --rule: #26292E;       /* hairlines */
  --paper: #F3F2EE;      /* headings, mark, button */
  --white: #FFFFFF;
  --text: #BDBBB4;       /* body copy */
  --muted: #8E8C86;      /* labels, footer */
  --bronze: #B0713A;     /* mark core, link underline, active parts */
  --line: #3A3E45;       /* diagram wires */
  --box: #15171A;        /* diagram boxes */
  --well: #121417;       /* code, diagram and card wells */
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --code: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --tabs-h: 50px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--tabs-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  padding-inline: var(--gutter);
}
img, svg { max-width: 100%; }
a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; border-radius: 2px; }
code { color: var(--paper); font: 0.88em var(--code); }
.wrap { max-width: 1120px; margin-inline: auto; }

/* site header, as on the home page */
.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; view-transition-name: site; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--paper); text-decoration: none; }
.brand svg { width: 24px; height: 24px; flex: none; }
.brand span { font-size: 15px; font-weight: 600; font-stretch: 125%; letter-spacing: 0.1em; line-height: 1; }
.site nav { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 28px; font-size: 14px; }
.site nav a { color: var(--muted); text-decoration: none; padding-block: 10px; }
.site nav a:hover, .site nav a[aria-current] { color: var(--paper); }
.arc { fill: none; stroke: var(--paper); stroke-width: 6; stroke-linecap: round; }
.core { fill: var(--bronze); }

/* the Workflows tabs: one per page, pinned under the header while you scroll */
.tabs {
  position: sticky; top: 0; z-index: 10;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ink) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  view-transition-name: tabs;
}
.tabs .wrap { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tabs a { position: relative; flex: none; display: inline-flex; align-items: center; min-height: var(--tabs-h); color: var(--muted); font-size: 14px; text-decoration: none; }
.tabs a:hover, .tabs a[aria-current="page"] { color: var(--paper); }
.tabs .ind { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--bronze); view-transition-name: tab-ind; }

/* first screen */
.hero { padding-block: clamp(56px, 10vw, 128px) clamp(64px, 9vw, 112px); }
.hero.sub { padding-block: clamp(44px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.kicker { margin: 0 0 20px; color: var(--muted); font: 12.5px/1.6 var(--code); letter-spacing: 0.06em; text-transform: uppercase; }
.kicker a { color: var(--muted); text-decoration: none; }
.kicker a:hover { color: var(--paper); }
.kicker b { color: var(--bronze); font-weight: 400; }
h1 {
  margin: 0;
  max-width: 15em;
  color: var(--paper);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  font-stretch: 110%;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.hero .claim { margin-top: 18px; }
.lead { margin: 28px 0 0; max-width: 36em; font-size: clamp(17px, 1.4vw, 19px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.tag { display: inline-block; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--muted); font: 12px/1.5 var(--code); white-space: nowrap; }
.tag.next { border-color: color-mix(in srgb, var(--bronze) 60%, transparent); color: var(--paper); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin: 56px 0 0; }
.facts div { min-width: 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.facts dt { color: var(--paper); font-size: 18px; font-weight: 600; font-stretch: 105%; line-height: 1.3; }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* sections */
.sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 16px 48px;
  padding-block: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--rule);
}
.label { margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0.02em; }
.content { min-width: 0; }
.content > p { margin: 0; max-width: 40em; }
.content > p + p { margin-top: 16px; }
.claim { margin: 0; max-width: 18em; color: var(--paper); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; font-stretch: 108%; line-height: 1.2; }
.content > .claim + p { margin-top: 20px; }
.wide { grid-column: 1 / -1; min-width: 0; }

.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin: 0; }
.offer.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer div { min-width: 0; }
.offer dt { color: var(--paper); font-size: 18px; font-weight: 600; font-stretch: 105%; }
.offer dd { margin: 8px 0 0; font-size: 16px; }
.wide > .offer { margin-top: 8px; }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.points li { position: relative; min-width: 0; padding: 14px 0 14px 24px; border-top: 1px solid var(--rule); font-size: 16px; }
.points li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 1.5px; background: var(--bronze); }

.snippet { margin: 0; border: 1px solid var(--rule); border-radius: 8px; background: var(--well); overflow: hidden; }
.snippet figcaption { padding: 12px 20px; border-bottom: 1px solid var(--rule); color: var(--muted); font: 12.5px var(--code); letter-spacing: 0.02em; }
.snippet pre { margin: 0; padding: 18px 0; overflow-x: auto; }
.snippet code { display: block; min-width: max-content; color: var(--text); font: 14px/1.8 var(--code); }
.snippet .ln { display: block; padding: 0 20px; white-space: pre; }
.snippet .k { color: var(--bronze); }
.snippet .m, .snippet .d { color: var(--paper); }
.snippet .s { color: #D8C3A0; }
.snippet .c { color: var(--muted); }

/* tool cards on the overview */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 8px 0 0; padding: 0; list-style: none; }
.cards > li { display: flex; min-width: 0; }
.card {
  display: flex; flex-direction: column; width: 100%;
  padding: 22px 22px 24px; border: 1px solid var(--rule); border-radius: 8px; background: var(--well);
  color: var(--text); text-decoration: none; transition: border-color 0.3s;
}
.card:hover { border-color: color-mix(in srgb, var(--bronze) 75%, transparent); }
.card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.card-top .n { color: var(--bronze); font: 12px/1.5 var(--code); letter-spacing: 0.06em; text-transform: uppercase; }
.glyph { display: block; width: 100%; height: auto; margin: 28px 0 24px; }
.card-name { color: var(--paper); font-size: 26px; font-weight: 600; font-stretch: 108%; line-height: 1.15; }
.card-claim { display: block; margin-top: 8px; color: var(--paper); font-size: 16.5px; line-height: 1.45; }
.card-facts { margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.55; }
.card-facts li { padding: 9px 0; border-top: 1px solid var(--rule); }
.card-go { margin-top: auto; padding-top: 16px; color: var(--paper); font-size: 15px; font-weight: 600; }
.card-go i { display: inline-block; font-style: normal; transition: transform 0.3s; }
.card:hover .card-go i { transform: translateX(5px); }
.d-box { fill: var(--box); stroke: var(--rule); }
.d-box.on { stroke: var(--bronze); }
.d-line { fill: none; stroke: var(--line); stroke-width: 1.5; }
.d-dot { fill: var(--bronze); }
.g-hub { fill: var(--ink); stroke: var(--bronze); stroke-width: 1.5; }
.g-t { fill: var(--text); font: 11px var(--code); }
.g-s { fill: var(--muted); font: 10px var(--code); }

/* schematics: a well holding a grid of zones, boxes and wires.
   Grid items take their cell from --c / --r, so the markup stays in reading order for the one-column phone layout. */
.sch { margin: 0; padding: clamp(16px, 3vw, 32px); border: 1px solid var(--rule); border-radius: 8px; background: var(--well); }
.sch > figcaption { margin: 0 0 24px; color: var(--muted); font: 12.5px/1.6 var(--code); letter-spacing: 0.02em; }
.g { display: grid; row-gap: 10px; align-items: center; }
.g > * { grid-column: var(--c, auto); grid-row: var(--r, auto); position: relative; z-index: 1; min-width: 0; }
.g > .bd { z-index: 0; align-self: stretch; border: 1px dashed var(--line); border-radius: 8px; }
.zone { align-self: stretch; display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px dashed var(--line); border-radius: 8px; }
.zt { align-self: start; color: var(--muted); font: 11.5px/1.4 var(--code); letter-spacing: 0.12em; text-transform: uppercase; }
.g > .zt { padding: 14px 16px 0; }
.in { margin-inline: 16px; }
.in.end { margin-bottom: 16px; }
.box { min-width: 0; padding: 11px 14px 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--box); transition: opacity 0.4s, border-color 0.4s, background-color 0.4s; }
.box b { display: block; color: var(--paper); font-size: 15px; font-weight: 600; line-height: 1.3; }
.box span { display: block; margin-top: 4px; color: var(--muted); font: 12px/1.5 var(--code); }
.box .n { display: inline; margin: 0 8px 0 0; color: var(--bronze); font: 12px var(--code); }
.box.tall { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.box.soon { border-style: dashed; }
.box.on { border-color: var(--bronze); background: var(--ink); }

.wire { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 6px; color: var(--muted); font: 11.5px/1.35 var(--code); text-align: center; transition: opacity 0.4s; }
.wire > span { display: block; min-height: 1.35em; overflow-wrap: anywhere; transition: color 0.4s; }
.wire i { position: relative; display: block; height: 1.5px; color: var(--line); background: currentColor; transition: color 0.4s; }
.wire i::after, .wire.two i::before {
  content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; transform: translateY(-50%);
}
.wire i::after { right: -2px; border-left: 7px solid currentColor; }
.wire.two i::before { left: -2px; border-right: 7px solid currentColor; }
.wire em { display: none; position: absolute; top: 50%; left: 4px; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--bronze); animation: run-x 1.6s linear infinite; }
.wire.on i { color: color-mix(in srgb, var(--bronze) 80%, transparent); }
.wire.on > span { color: var(--paper); }
.wire.on em { display: block; }
.wire.rev em { animation-direction: reverse; }
@keyframes run-x { from { left: 4px; } to { left: calc(100% - 11px); } }
@keyframes run-y { from { top: 4px; } to { top: calc(100% - 11px); } }

.g.ov { grid-template-columns: minmax(0, 1.05fr) minmax(104px, 0.62fr) minmax(0, 1fr); }
.g.ov .wire { margin-left: -16px; padding-right: 0; }   /* reach from the tool box, across the laptop zone's edge */
.g.sky { grid-template-columns: minmax(0, 1fr) minmax(132px, 0.62fr) minmax(0, 1fr); }
.g.cx { grid-template-columns: minmax(0, 1.1fr) minmax(96px, 0.5fr) minmax(0, 0.85fr) minmax(120px, 0.66fr) minmax(0, 0.9fr); }
.g.eh { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); }
.g.eh .wire { padding: 0 4px; }

/* stepper: numbered steps under a diagram; the active one fills its bar, then hands over to the next */
.st-pane { margin-top: 28px; }
.st-steps { display: grid; grid-template-columns: repeat(var(--k, 4), minmax(0, 1fr)); gap: 0 14px; margin: 0; padding: 0; list-style: none; }
.st-steps li { min-width: 0; }
.st-steps button {
  position: relative; display: flex; flex-direction: column; gap: 7px; width: 100%; margin: 0; padding: 14px 0 4px;
  border: 0; border-top: 1px solid var(--rule); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.st-steps .n { color: var(--bronze); font: 12px/1 var(--code); letter-spacing: 0.04em; }
.st-steps .t { color: var(--muted); font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: color 0.3s; }
.st-steps li.on .t, .st-steps button:hover .t { color: var(--paper); }
.st-steps .bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--bronze); transform: scaleX(0); transform-origin: left; }
.st-steps li.on .bar { transform: scaleX(1); }
.st.playing .st-steps li.on .bar { animation: st-fill var(--st-ms, 6500ms) linear; }
.st.hold .st-steps li.on .bar { animation-play-state: paused; }
@keyframes st-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.st-d { margin: 6px 0 0; font-size: 15px; }
.st-d p { margin: 0; }
.st-row { display: none; gap: 24px; align-items: flex-start; justify-content: space-between; margin-top: 18px; }
.st-say { flex: 1; min-width: 0; max-width: 46em; font-size: 16px; }
.st-say p { margin: 0; }
.st-say .st-h { margin: 0 0 6px; color: var(--paper); font-size: 17px; font-weight: 600; }
.st-say .st-h span { margin-right: 10px; color: var(--bronze); font: 12.5px var(--code); }
.st-ctl { display: flex; flex: none; gap: 6px; }
.st-ctl button {
  display: grid; place-items: center; width: 36px; height: 36px; margin: 0; padding: 0;
  border: 1px solid var(--rule); border-radius: 6px; background: var(--box); color: var(--muted); cursor: pointer;
}
.st-ctl button:hover { border-color: var(--line); color: var(--paper); }
.st-ctl svg { width: 14px; height: 14px; fill: currentColor; }
.st-ctl svg .ch { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st.playing .i-play, .st:not(.playing) .i-pause { display: none; }
/* once the script runs: one explanation at a time, and the parts a step does not use step back */
.st.live .st-row { display: flex; }
.st.live .st-d { display: none; }
.st.live .box:not(.on) { opacity: 0.5; }
.st.live .wire:not(.on) { opacity: 0.6; }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule); }
.pager a { display: block; min-width: 0; padding: 18px 20px; border: 1px solid var(--rule); border-radius: 8px; color: var(--muted); font-size: 14px; text-decoration: none; transition: border-color 0.3s; }
.pager a:hover { border-color: color-mix(in srgb, var(--bronze) 75%, transparent); }
.pager b { display: block; margin-top: 4px; color: var(--paper); font-size: 20px; font-weight: 600; font-stretch: 105%; }
.pager .next { grid-column: 2; text-align: right; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 32px 48px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--paper); }

/* sections rise into place as they scroll in */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .js .rv.seen { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wire em { animation: none; }
}

/* Stacked schematics: every item takes one row, and a wire turns vertical with its labels either side of the line.
   The wide easy_harbor pipeline stacks first; the others stack with the page at phone width. */
@media (max-width: 1040px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g.eh { grid-template-columns: minmax(0, 1fr); }
  .g.eh > * { grid-column: 1; grid-row: auto; }
  .g.eh .wire { flex-direction: row; align-items: center; gap: 14px; padding: 4px 0; }
  .g.eh .wire > span { flex: 1 1 0; text-align: right; }
  .g.eh .wire > span:last-child { text-align: left; }
  .g.eh .wire i { flex: none; width: 1.5px; height: 40px; }
  .g.eh .wire i::after { left: 50%; right: auto; top: auto; bottom: -2px; transform: translateX(-50%); border: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 7px solid currentColor; }
  .g.eh .wire em { top: 4px; left: 50%; margin: 0 0 0 -3.5px; animation-name: run-y; }
}
@media (max-width: 900px) {
  .offer, .offer.three, .points { grid-template-columns: minmax(0, 1fr); max-width: 40em; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 40em; }
}
@media (max-width: 760px) {
  .sec { grid-template-columns: minmax(0, 1fr); }
  .snippet code { font-size: 12.5px; }
  .g, .g.ov, .g.sky, .g.cx { grid-template-columns: minmax(0, 1fr); }
  .g > * { grid-column: 1; grid-row: auto; }
  .g > .bd { display: none; }
  .g > .zt { padding: 0; }
  .in { margin-inline: 0; }
  .in.end { margin-bottom: 0; }
  .g .gap { margin-top: 22px; }
  .g.ov .wire { margin-left: 0; }
  .wire { flex-direction: row; align-items: center; gap: 14px; padding: 4px 0; }
  .wire > span { flex: 1 1 0; text-align: right; }
  .wire > span:last-child { text-align: left; }
  .wire i { flex: none; width: 1.5px; height: 40px; }
  .wire i::after, .wire.two i::before { left: 50%; right: auto; top: auto; bottom: auto; transform: translateX(-50%); border: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; }
  .wire i::after { bottom: -2px; border-top: 7px solid currentColor; }
  .wire.two i::before { top: -2px; border-bottom: 7px solid currentColor; }
  .wire em { top: 4px; left: 50%; margin: 0 0 0 -3.5px; animation-name: run-y; }
  /* on a phone the steps and their explanation sit above the tall diagram */
  .st { display: flex; flex-direction: column; }
  .st > figcaption { order: -2; }
  .st-pane { order: -1; margin: 0 0 24px; }
  .st-steps { gap: 0 8px; }
  .st-steps button { min-height: 44px; }
  .st.live .st-steps .t { display: none; }
  .st-row { flex-direction: column; gap: 14px; }
  .st-ctl button { width: 44px; height: 44px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager .next { grid-column: 1; }
}
@media (max-width: 520px) {
  .site { flex-wrap: wrap; row-gap: 6px; padding-bottom: 12px; }
  .site nav { width: 100%; justify-content: flex-start; column-gap: 22px; }
  .tabs .wrap { gap: 22px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}
