/* Batch ID Photos: the product site. The app's own palette and type (IBM Plex), so the page
   and the screenshots in its videos look like one thing. Crop marks are the recurring motif. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --paper: #eef0eb;
  --paper-2: #e5e8e1;
  --panel: #ffffff;
  --ink: #14171c;
  --muted: #545d69;
  --line: rgba(20, 23, 28, 0.12);
  --line-strong: rgba(20, 23, 28, 0.24);
  --navy: #1e2b44;
  --navy-2: #16213a;
  --redline: #a13f3b;
  --gold: #e3b341;
  --good: #3f7a5d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 23, 28, 0.06), 0 12px 32px rgba(20, 23, 28, 0.08);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "IBM Plex Sans", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 19px; letter-spacing: -0.005em; }
p { margin: 0; }
.mono { font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: 0.92em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { font: 700 13px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--redline); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; border: 1.5px solid var(--line-strong);
  background: var(--panel); color: var(--ink); font: 600 16px/1.2 "IBM Plex Sans", sans-serif;
  text-decoration: none; cursor: pointer; transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy-2); }
.btn.gold:hover { background: #f0c459; border-color: #f0c459; }
.btn svg { width: 18px; height: 18px; flex: none; }
/* Not a link until the beta is out: no hover or press feedback that promises a click. */
.btn.soon { cursor: default; pointer-events: none; }

/* ------------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 240, 235, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 160ms ease;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--redline); }
.top .btn { padding: 9px 15px; font-size: 14.5px; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* ------------------------------------------------------------------ crop marks */
.marks { position: relative; }
.marks::before, .marks::after {
  content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none;
  border: 3px solid var(--redline);
}
.marks::before { left: -14px; top: -14px; border-right: 0; border-bottom: 0; }
.marks::after { right: -14px; bottom: -14px; border-left: 0; border-top: 0; }
@media (max-width: 600px) { .marks::before, .marks::after { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 56px; }
.hero .wrap { display: grid; gap: 44px; }
.hero-copy { display: grid; gap: 22px; justify-items: start; max-width: 820px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--redline); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 14px; color: var(--muted); }
.video-frame {
  background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; background: var(--paper); }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust div { background: var(--panel); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.trust b { display: block; font-size: 16px; }
.trust svg { width: 24px; height: 24px; flex: none; color: var(--redline); margin-top: 1px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
section.alt { background: var(--panel); border-block: 1px solid var(--line); }
section.dark { background: var(--navy); color: #fff; }
section.dark .lede, section.dark .muted { color: rgba(255, 255, 255, 0.72); }
section.dark .eyebrow { color: var(--gold); }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* The pipeline: one photo, five moments. */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.pipeline li { list-style: none; display: grid; gap: 12px; align-content: start; }
.pipeline .pic { aspect-ratio: 35 / 45; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: var(--shadow); position: relative; }
/* Fill the card: the first moment is the whole 4:3 snapshot, which the SVG's "slice" crops. */
.pipeline .pic svg { width: 100%; height: 100%; }
.pipeline h3 { font-size: 17px; display: flex; gap: 8px; align-items: baseline; }
.pipeline h3::before { counter-increment: step; content: counter(step); font: 600 13px/1 "IBM Plex Mono", monospace; color: var(--redline); }
.pipeline p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.pipeline { padding: 0; margin: 0; }
@media (max-width: 900px) { .pipeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr 1fr; } }

/* A video beside its explanation. */
.feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.feature.flip .video-frame { order: 2; }
.feature .copy { display: grid; gap: 18px; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .video-frame { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 9px; border-left: 3px solid var(--good); border-bottom: 3px solid var(--good); transform: rotate(-45deg); }
section.dark .ticks li::before { border-color: var(--gold); }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps-list li::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy-2); font-weight: 700; font-size: 14px; }
.steps-list b { display: block; }

/* ------------------------------------------------------------------ try it */
.try { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); }
@media (max-width: 860px) { .try { grid-template-columns: 1fr; } }
.controls { display: grid; gap: 22px; align-content: start; }
.controls fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 9px; }
.controls legend { font: 700 12.5px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 14.5px; font-weight: 500; background: #fff; transition: all 120ms ease; }
.chip input:checked + span { border-color: var(--navy); background: rgba(30, 43, 68, 0.08); color: var(--navy); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw { position: relative; width: 34px; height: 34px; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw span { position: absolute; inset: 0; border-radius: 7px; border: 1.5px solid var(--line-strong); }
.sw input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--navy); }
.sw input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 4px; }
.swatches input[type="color"] { width: 40px; height: 36px; border: 1.5px solid var(--line-strong); border-radius: 7px; padding: 2px; background: #fff; cursor: pointer; }
.stage { display: grid; align-content: center; gap: 16px; min-height: 360px; border-radius: 10px; background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 10px, var(--paper-2) 10px, var(--paper-2) 20px); padding: 24px 16px; }
.people { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 2vw, 22px); flex-wrap: wrap; }
.people .p { width: clamp(96px, 14vw, 170px); transition: aspect-ratio 200ms ease; filter: drop-shadow(0 1px 2px rgba(20, 23, 28, 0.2)) drop-shadow(0 8px 16px rgba(20, 23, 28, 0.1)); }
.stage-note { text-align: center; font-size: 15px; color: var(--muted); }
.stage-note b { color: var(--ink); }

/* ------------------------------------------------------------------ grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3 { grid-template-columns: 1fr; } }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.tile p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.tile .ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(161, 63, 59, 0.09); color: var(--redline); }
.tile .ico svg { width: 22px; height: 22px; }
section.dark .tile { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
section.dark .tile p { color: rgba(255, 255, 255, 0.72); }
section.dark .tile .ico { background: rgba(227, 179, 65, 0.14); color: var(--gold); }

.who { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.who div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; align-content: start; }
.who b { font-size: 17px; }
.who span { font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1000px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } }

.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.14); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.numbers div { background: var(--navy); padding: 24px; }
.numbers b { display: block; font: 600 clamp(30px, 4vw, 44px)/1.1 "IBM Plex Sans", sans-serif; letter-spacing: -0.02em; color: var(--gold); }
.numbers span { color: rgba(255, 255, 255, 0.75); font-size: 15px; }
@media (max-width: 700px) { .numbers { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ requirements, FAQ */
.req { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.req div { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.req dt { font: 700 12.5px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.req dd { margin: 0; font-weight: 600; line-height: 1.4; }
.req dd small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 900px) { .req { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .req { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 24px/1 "IBM Plex Mono", monospace; color: var(--redline); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ------------------------------------------------------------------ closing */
.closing { text-align: center; }
.closing .wrap { display: grid; gap: 20px; justify-items: center; }
.closing h2 { font-size: clamp(30px, 4.4vw, 50px); }
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); }
