/* Hallmark · shape: Workbench (draw f0ea96 dealt Stat-Led; swapped, the page has no figures) · genre: modern-minimal · theme: brand · redesign: full
 * paper: oklch(91.3% 0.007 277) Tokyo Night Day, oklch(28.2% 0.036 275) Storm · accent: oklch(51.2% 0.156 264) Day blue, from apic-gui · display: IBM Plex Sans · body: IBM Plex Sans · outlier: IBM Plex Mono for commands and code · hero: Stage, the app on the container's right seven columns · nav: slab · footer: colophon, one line · signature: the real apic-gui, large, carrying every section; the CLI as a switcher of real commands
 * job: try · imagery: product, screenshots 16 (the owner's apic- captures, cropped to images/web) · copy: verbatim (the hero line is the owner's wording)
 * axes: light/grotesk-sans/cool · posture: full palette (Tokyo Night syntax roles: command blue, flag orange, string green) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, a product tour argues little; it leads with the files-in-git claim and shows git doing the reviewing */
/* Hallmark · reworded "$ apic create -f orders/create", "$ git diff", "$ apic send -f products/get --env demo" from headings to the CLI switcher's tab labels, "$ apic-gui" to "The same files, in a desktop app" · 8, the page was one head-then-block run */
/* Hallmark · reworded "491ms" and "9.99" into the third switcher panel (apic send), shown when its tab is picked and in order without script · the CLI became one switcher */
/* Hallmark · dropped contract-light.png, contract-dark.png, live.png, edit.png, changes.png · the owner replaced them with the apic- captures and asked for the old ones removed */
/* Hallmark · waive 39b · a.dl__btn 72px · each platform button holds two lines, the OS and its store; 56px as one row on a phone */
/* Hallmark · waive 77 · Install shows one platform tab · the panel holds one platform's routes at a time, so its height follows that platform */
@import url("./tokens.css?v=31022e1");
@import url("./base.css?v=31022e1");

body { font-size: var(--text-md); line-height: 1.6; }
code, pre { font-family: var(--font-outlier); }
a { color: var(--color-accent); text-decoration-color: color-mix(in oklab, var(--color-accent) 40%, transparent); }
a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }
h2 { font-size: var(--text-section); line-height: 1.08; color: var(--color-ink); }
.lead { color: var(--color-ink-2); }

/* syntax roles */
.p { color: var(--color-muted); }
.c, .k { color: var(--color-syn-cmd); }
.f { color: var(--color-syn-flag); }
.s { color: var(--color-syn-string); }
.n { color: var(--color-syn-number); }
.m { color: var(--color-muted); }
.ok { color: var(--color-success); }
.add { display: inline-block; min-width: 100%; background: var(--color-syn-add-bg); }

/* controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--space-md);
  border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-input);
  background: transparent; color: var(--color-ink);
  font: 600 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; flex-shrink: 0;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 86%, var(--color-ink)); }

.theme {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: var(--radius-input); background: transparent; color: var(--color-ink-2); cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out);
}
.theme:hover { background: var(--color-paper-3); }
.theme:active { background: var(--color-rule); }
.theme:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.i-sun, .for-dark { display: none; }
:root[data-theme="dark"] .i-sun, :root[data-theme="dark"] .for-dark { display: block; }
:root[data-theme="dark"] .i-moon, :root[data-theme="dark"] .for-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun, :root:not([data-theme="light"]) .for-dark { display: block; }
  :root:not([data-theme="light"]) .i-moon, :root:not([data-theme="light"]) .for-light { display: none; }
}

/* nav: a slab */
.top { background: var(--color-paper-2); border-bottom: var(--rule-hair) solid var(--color-rule); }
.top__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.mark { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); text-decoration: none; font: 600 var(--text-lg)/1 var(--font-display); letter-spacing: -0.02em; }
.top__links { display: flex; align-items: center; gap: var(--space-lg); }
.top__links > a { color: var(--color-ink-2); text-decoration: none; }
.top__links > a:hover { color: var(--color-accent); }

/* hero: text on the container's left, the app on its right */
.hero {
  --hero-text: 34rem;
  display: grid; align-items: center;
  grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, var(--hero-text)) var(--space-2xl) minmax(0, calc(var(--container) - 2 * var(--gutter) - var(--hero-text) - var(--space-2xl))) minmax(var(--gutter), 1fr);
  min-height: calc(100svh - 65px); max-height: 60rem; padding-block: var(--space-2xl);
}
.hero__text { grid-column: 2; display: grid; gap: var(--space-xl); justify-items: start; }
.hero h1 { font-size: clamp(2.25rem, 2.4vw + 1.25rem, 3.75rem); color: var(--color-ink); max-width: 20ch; line-height: 1.05; }
.nowrap { white-space: nowrap; }
.hero .lead { max-width: 34ch; }
.hero__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.hero__links a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; text-decoration: none; }
.hero__links a span { text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--color-accent) 40%, transparent); text-underline-offset: 0.16em; }
.hero__links a:hover span { text-decoration-color: var(--color-accent); }
.hero__links svg { flex-shrink: 0; }
.hero__shot { grid-column: 4; margin: 0; min-width: 0; }
.hero__shot > img { width: 100%; border-radius: var(--radius-card); outline: 1px solid var(--color-rule); outline-offset: -1px; box-shadow: var(--shadow-card); }

/* download: one button per platform, the visitor's own filled */
.dl { display: grid; gap: var(--space-sm); width: 100%; margin-top: var(--space-xs); }
.dl__label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.dl__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.dl__btn {
  display: grid; align-content: center; gap: var(--space-3xs); min-height: 72px; padding: var(--space-sm) var(--space-md);
  border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card);
  background: var(--color-paper-2); color: var(--color-ink); text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.dl__btn:hover { background: var(--color-paper-3); border-color: color-mix(in oklab, var(--color-accent) 45%, var(--color-rule)); }
.dl__btn:active { transform: translateY(1px); }
.dl__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.dl__os { font-size: var(--text-lg); font-weight: 600; line-height: 1.2; }
.dl__via { font-size: var(--text-sm); line-height: 1.3; color: var(--color-muted); }
.dl__btn.is-you { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.dl__btn.is-you .dl__via { color: var(--color-accent-ink); }
.dl__btn.is-you:hover { background: color-mix(in oklab, var(--color-accent) 86%, var(--color-ink)); }

/* screenshots */
.shot { margin: 0; min-width: 0; }
.shot > img { width: 100%; height: auto; border-radius: var(--radius-card); outline: 1px solid var(--color-rule); outline-offset: -1px; }
.shot figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.shot--crop > img { height: 22rem; object-fit: cover; object-position: left top; }

/* section heads */
.head { display: grid; gap: var(--space-md); max-width: 46rem; margin-bottom: var(--space-2xl); }

/* the CLI switcher */
.cli { padding-block: var(--section-gap-s) 0; }
.cli__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.cli__head { grid-column: 1 / span 5; display: grid; gap: var(--space-2xl); }
.tabs { display: grid; border-left: var(--rule-hair) solid var(--color-rule); overflow-x: auto; overscroll-behavior-x: contain; }
.tab {
  display: block; width: 100%; min-height: 56px; margin-left: -1px; padding: var(--space-sm) var(--space-lg);
  border: 0; border-left: 2px solid transparent; background: transparent; text-align: left; cursor: pointer;
  font: 400 var(--text-md)/1.4 var(--font-outlier); color: var(--color-ink-2); white-space: nowrap; min-width: max-content;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.tab .f, .tab .p { color: inherit; opacity: 0.75; }
.tab:hover { background: var(--color-paper-2); color: var(--color-ink); }
.tab[aria-selected="true"] { border-left-color: var(--color-accent); background: var(--color-paper-2); color: var(--color-ink); font-weight: 600; }
.tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.cli__panels { grid-column: 6 / -1; display: grid; gap: var(--space-2xl); min-width: 0; }
.cli__panels.is-tabs > .panel { grid-area: 1 / 1; }
.cli__panels.is-tabs > .panel:not(.is-on) { visibility: hidden; }
.panel { display: grid; gap: var(--space-lg); align-content: start; min-width: 0; }
.panel:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-card); }
.panel > p { max-width: 58ch; color: var(--color-ink-2); }
.panel > p code { font-size: 0.94em; color: var(--color-ink); }
.code { margin: 0; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); min-width: 0; min-height: 22rem; }
.code figcaption { padding: var(--space-sm) var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.code pre { margin: 0; padding: var(--space-lg); font-size: 0.9375rem; line-height: 1.7; overflow-x: auto; color: var(--color-ink); }

/* review */
.review { padding-block: var(--section-gap) 0; }
.review__pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); margin-top: var(--space-2xl); }

/* history: the text beside the graph */
.history { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: center; padding-block: var(--section-gap) 0; }
.history__text { grid-column: 1 / span 4; display: grid; gap: var(--space-md); }
.history__shot { grid-column: 5 / -1; }

/* the desktop app, a bento */
.app { padding-block: var(--section-gap) 0; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.tile {
  grid-column: span 6; margin: 0; display: grid; grid-template-rows: auto 1fr; gap: var(--space-lg);
  padding: var(--space-xl) 0 0 var(--space-xl); overflow: clip;
  background: var(--color-paper-2); border-radius: var(--radius-card);
}
.tile--lead { grid-column: span 8; }
.tile--lead + .tile { grid-column: span 4; }
.tile figcaption { padding-right: var(--space-xl); max-width: 40ch; color: var(--color-ink-2); }
.tile figcaption strong { display: block; margin-bottom: var(--space-2xs); font: 600 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--color-ink); }
.tile__img { min-width: 0; align-self: end; }
.tile__img > img { width: 100%; height: 20rem; object-fit: cover; object-position: left top; border-radius: calc(var(--radius-card) - 4px) 0 0 0; outline: 1px solid var(--color-rule); outline-offset: -1px; }

/* install: a tab per platform, the best route first */
.install { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); padding-block: var(--section-gap) 0; }
.install__head { grid-column: 1 / span 4; display: grid; gap: var(--space-md); align-content: start; }
.install__body { grid-column: 5 / -1; display: grid; gap: var(--space-lg); min-width: 0; }
.install__body:not(.is-ostabs) .seg { display: none; }
.seg { display: inline-flex; justify-self: start; gap: var(--space-2xs); padding: var(--space-2xs); max-width: 100%; overflow-x: auto; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.seg__tab {
  min-height: 40px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-input);
  background: transparent; color: var(--color-ink-2); font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.seg__tab:hover { background: var(--color-paper-3); color: var(--color-ink); }
.seg__tab[aria-selected="true"] { background: var(--color-paper); color: var(--color-ink); box-shadow: var(--shadow-card); }
.seg__tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.os { display: grid; gap: var(--space-lg); min-width: 0; }
.os__name { font-size: var(--text-title); color: var(--color-ink); }
.is-ostabs .os__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.os__lead { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.os__lead p, .os__more { color: var(--color-ink-2); }
.btn--lg { min-height: 52px; padding: 0 var(--space-lg); font-size: var(--text-md); text-decoration: none; }
.install table { width: 100%; border-collapse: collapse; }
.install th, .install td { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: middle; }
.install tr:first-child > * { border-top: var(--rule-hair) solid var(--color-rule); }
.install th { font-weight: 600; width: 16%; white-space: nowrap; color: var(--color-ink); }
.install td code { font-size: 0.9375rem; color: var(--color-ink); }
.install td:last-child { width: 1%; padding-right: 0; text-align: right; }
.note { color: var(--color-ink-2); max-width: 34ch; }

/* docs: one card per page, the whole card is the link */
.docs { display: grid; gap: var(--space-2xl); padding-block: var(--section-gap) var(--space-3xl); }
.docs__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg) var(--gap-columns); }
.docs__intro { display: grid; gap: var(--space-md); max-width: 46rem; }
.docs__all { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.docs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-columns); }
/* five pages: three across, then two wider */
.docs__grid > li { grid-column: span 2; }
.docs__grid > li:nth-child(n + 4) { grid-column: span 3; }
.doc {
  position: relative; display: grid; align-content: end; gap: var(--space-xs); height: 100%; min-height: 14rem;
  padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2);
  color: var(--color-ink-2); text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out);
}
.doc:hover { background: var(--color-paper-3); }
.doc:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.doc__title { font: 600 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.015em; color: var(--color-ink); }
.doc:hover .doc__title { color: var(--color-accent); }
.doc__arrow { position: absolute; top: var(--space-xl); right: var(--space-xl); color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }
.doc:hover .doc__arrow { transform: translateX(3px); }

/* footer: one quiet line */
.foot { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-lg); padding-block: var(--space-sm); font-size: var(--text-sm); }
.foot__close { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-muted); }
.foot__close img { flex-shrink: 0; }
.foot__close a { color: inherit; }
.foot__close a:hover { color: var(--color-accent); }
.foot__links { display: flex; gap: var(--space-lg); }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-2); }

@media (max-width: 75rem) {
  .bento .tile, .tile--lead, .tile--lead + .tile { grid-column: span 6; }
  .tile--lead { grid-column: 1 / -1; }
  .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs__grid > li, .docs__grid > li:nth-child(n + 4) { grid-column: auto; }
  .docs__grid > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 60rem) {
  .hero { grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter); min-height: 0; max-height: none; row-gap: var(--space-xl); padding-block: var(--space-2xl) 0; }
  .hero__text { grid-column: 2; }
  .hero__shot > img { width: 100%; border-radius: var(--radius-card); }
  .hero__shot { grid-column: 2; }
  .cli__head, .cli__panels, .install__head, .install__body, .history__text, .history__shot { grid-column: 1 / -1; }
  .cli__head { gap: var(--space-xl); }
  .review__pair { grid-template-columns: minmax(0, 1fr); }
  .bento .tile, .tile--lead, .tile--lead + .tile { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .dl__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .dl__btn { grid-auto-flow: column; justify-content: space-between; align-items: center; min-height: 56px; }
  .top__links { gap: var(--space-sm); }
  .top__links > a[href="#install"] { display: none; }
  .tab { font-size: var(--text-sm); padding-inline: var(--space-md); }
  .shot--crop > img, .tile__img > img { height: 16rem; }
  .tile { padding: var(--space-lg) 0 0 var(--space-lg); }
  .tile figcaption { padding-right: var(--space-lg); }
  .docs__grid { grid-template-columns: minmax(0, 1fr); }
  .doc { min-height: 10rem; padding: var(--space-lg); }
  .doc__arrow { top: var(--space-lg); right: var(--space-lg); }
  .install tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-sm); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .install tr:first-child { border-top: var(--rule-hair) solid var(--color-rule); }
  .install th { grid-column: 1 / -1; width: auto; padding: 0 0 var(--space-2xs); }
  .install th, .install td, .install tr:first-child > * { border: 0; }
  .install td { padding: 0; }
  .install td code { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .theme, .tab, .doc, .doc__arrow, .dl__btn, .seg__tab { transition: none; }
  .dl__btn:active { transform: none; }
  .doc:hover .doc__arrow { transform: none; }
  .btn:active { transform: none; }
}
