/* Prepressor print share and landing page. Neutral, technical, with the four process inks as the only colour. */
:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #17171a;
  --muted: #66666e;
  --line: #e3e3df;
  --soft: #efefec;
  --accent: #17171a;
  --accent-ink: #ffffff;
  --ok: #157a4a;
  --ok-bg: #e6f4ec;
  --warn: #a4400f;
  --warn-bg: #fbece3;
  --c: #00a0e3;
  --m: #e5007d;
  --y: #ffe500;
  --radius: 14px;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111113;
    --surface: #19191c;
    --ink: #f1f1ef;
    --muted: #a0a0a8;
    --line: #2c2c31;
    --soft: #222226;
    --accent: #f1f1ef;
    --accent-ink: #111113;
    --ok: #5fd39a;
    --ok-bg: #15281e;
    --warn: #f59a6a;
    --warn-bg: #2d1b12;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #111113;
  --surface: #19191c;
  --ink: #f1f1ef;
  --muted: #a0a0a8;
  --line: #2c2c31;
  --soft: #222226;
  --accent: #f1f1ef;
  --accent-ink: #111113;
  --ok: #5fd39a;
  --ok-bg: #15281e;
  --warn: #f59a6a;
  --warn-bg: #2d1b12;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Top bar ---- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top::after {
  /* registration strip: the four process inks */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, var(--ink) 75%);
}
.top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
}
.brandmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brandmark svg {
  width: 28px;
  height: 28px;
}
.top-sep {
  width: 1px;
  height: 22px;
  background: var(--line);
}
.top-what {
  color: var(--muted);
  font-size: 14px;
}
.top-chips {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.chip svg {
  width: 15px;
  height: 15px;
}

/* ---- Language switch ---- */
.langs {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.langs a {
  min-width: 34px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
}
.langs a:hover {
  color: var(--ink);
}
.langs a[aria-current] {
  background: var(--ink);
  color: var(--bg);
}
.langs a:focus-visible {
  outline: 2px solid var(--m);
  outline-offset: 1px;
}
.top-chips {
  align-items: center;
}
.expired > div + div {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.15s;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--muted);
}
.btn:focus-visible {
  outline: 2px solid var(--m);
  outline-offset: 2px;
}

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 24px;
}
.eyebrow {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
h1 {
  margin-top: 10px;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
h1 span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.62em;
  letter-spacing: -0.015em;
  margin-top: 6px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}
.status svg {
  width: 17px;
  height: 17px;
}
.status.ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.status.warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.lede {
  margin-top: 16px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 16px;
}
.lede strong {
  color: var(--ink);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-facts {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-size: 12px;
  color: var(--muted);
}
.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 500;
}
.hero-proof {
  margin: 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -30px rgb(0 0 0 / 0.35);
}
.hero-proof img {
  border-radius: 4px;
}
.hero-proof figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---- Blocks ---- */
.block {
  padding-top: 40px;
}
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 650;
}
.card h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 20px 0 10px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* ---- Files ---- */
.files {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
}
.file + .file {
  border-top: 1px solid var(--line);
}
.file.is-primary {
  background: linear-gradient(90deg, color-mix(in srgb, var(--m) 6%, transparent), transparent 60%);
}
.file-icon {
  width: 44px;
  height: 52px;
  display: grid;
  place-items: end center;
  padding-bottom: 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%);
}
.file-title {
  font-weight: 600;
}
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  vertical-align: 2px;
}
.file-desc {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}
.file-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---- 3D ---- */
.viewer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  height: min(720px, 80vh);
  margin-bottom: 10px;
}
.viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Facts ---- */
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px 16px;
  font-size: 14px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.facts dd.mono {
  font-size: 13px;
}

/* ---- Inks ---- */
.inks {
  display: grid;
  gap: 8px;
}
.ink {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.ink-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ink-name i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}
.ink-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--soft);
  overflow: hidden;
}
.ink-bar b {
  display: block;
  height: 100%;
  border-radius: 3px;
}
.ink-val {
  text-align: right;
  font-family: var(--mono);
  color: var(--muted);
}
.tac {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ---- Checks and steps ---- */
.checks,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 14px;
}
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.check-icon svg {
  width: 15px;
  height: 15px;
}
.check.ok .check-icon {
  background: var(--ok-bg);
  color: var(--ok);
}
.check.fail .check-icon {
  background: var(--warn-bg);
  color: var(--warn);
}
.check p:first-child {
  font-weight: 500;
}
.check .muted {
  font-size: 13px;
}
.steps li {
  position: relative;
  padding-left: 20px;
}
.steps li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: -10px;
  width: 1px;
  background: var(--line);
}
.steps time {
  font-size: 12px;
  color: var(--muted);
}
.steps p {
  font-weight: 500;
}
.steps .muted {
  font-weight: 400;
  font-size: 13px;
}

.notes ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

/* ---- Expired ---- */
.expired {
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
}
.expired p {
  margin-top: 12px;
  color: var(--muted);
}

/* ---- Landing ---- */
.landing-hero {
  padding-top: 88px;
  padding-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.landing-logo svg {
  width: 84px;
  height: 84px;
  margin-bottom: 22px;
}
.landing-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}
.landing-hero .lede {
  max-width: 60ch;
}
.landing-hero .actions {
  justify-content: center;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
}
.features .card h2 {
  font-size: 16px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 8px;
}
.features .card p {
  font-size: 14px;
}
.dist {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.dist h2 {
  margin-bottom: 0;
}

/* ---- Footer ---- */
.foot {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--muted);
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot-brand svg {
  width: 30px;
  height: 30px;
  color: var(--ink);
}
.foot-brand strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid,
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .top-row {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px;
  }
  .top-sep,
  .top-what {
    display: none;
  }
  .top-chips {
    margin-left: 0;
    justify-content: flex-start;
  }
  .hero {
    padding-top: 28px;
  }
  .grid,
  .features {
    grid-template-columns: 1fr;
  }
  .file {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }
  .file .btn {
    grid-column: 1 / -1;
  }
  .viewer {
    height: 92vh;
  }
}
