/* Inazda Studio: services pages. Layered on ../market/market.css (the Market v2 look: --iz-* tokens, Geist,
   header, buttons, ink band, FAQ, footer), so the Studio and the Market read as one site.
   Only what the Studio adds lives here. Light by default, follows the system, data-theme="light|dark" on <html>. */

/* ---------- Market v3 alignment: Instrument Serif headings, Pivot mark ---------- */
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; } /* SIL OFL 1.1, fonts/OFL-InstrumentSerif.txt */
:root { --iz-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif; --iz-mark-accent: #1F6F4A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --iz-mark-accent: #4FBF8B; } }
:root[data-theme="dark"] { --iz-mark-accent: #4FBF8B; }
.brand { gap: 9px; }
.brand .brand-mark, .foot-name .brand-mark, .sdoc-brand .brand-mark { width: 24px; height: 24px; flex: none; color: var(--iz-fg); fill: currentColor; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.012em; }
.brand-name span { font-weight: 500; color: var(--iz-muted-fg); }
.foot-name { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; letter-spacing: -0.012em; }
.foot-name span { font-weight: 500; color: var(--iz-muted-fg); }
/* headings: serif display and h2 at the Market's scale; h3 and UI stay Geist */
.display, .h2, .research h2, .sdoc-title { font-family: var(--iz-display); font-weight: 400; font-synthesis: none; }
.display { font-size: clamp(42px, 6vw, 84px); letter-spacing: -0.014em; line-height: 1.0; }
.h2 { font-size: 38px; letter-spacing: -0.012em; line-height: 1.04; }
@media (min-width: 1024px) { .h2 { font-size: 54px; letter-spacing: -0.014em; } }

/* ---------- Tokens added by the Studio ---------- */
:root {
  /* detection box colours on the demo canvas: bright, read on photos in either theme, dark text on top */
  --cv-1: #FACC15; --cv-2: #22D3EE; --cv-3: #F472B6; --cv-4: #4ADE80;
  --cv-5: #FB923C; --cv-6: #A78BFA; --cv-7: #60A5FA; --cv-8: #F87171;
  --cv-on: #0A0A0B;
  --st-tint: #F3F1EE;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --st-tint: #151514; } }
:root[data-theme="dark"] { --st-tint: #151514; }

.top .btn-sm { min-height: 36px; }

/* ---------- Hero (ink band, as on the Market home) ---------- */
.st-hero { padding-bottom: 150px; }
.st-hero .display { max-width: 15ch; }
.st-hero .wall-row { animation: none; }               /* the Studio wall is still */
.st-hero .wall-in { opacity: .62; }
.st-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); background: rgb(10 10 11 / .7); font-size: 13px; color: var(--iz-on-band-muted); }
.st-kicker b { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: #FFFFFF; color: #0A0A0B; font-size: 12px; font-weight: 600; }
@media (min-width: 700px) { .st-hero { padding-bottom: 190px; } }
@media (min-width: 1024px) { .st-hero { padding-bottom: 230px; } }
.cv-hero { padding: 56px 0 120px; }
.cv-hero .display { max-width: 18ch; }
@media (min-width: 700px) { .cv-hero { padding: 80px 0 150px; } }
@media (min-width: 1024px) { .cv-hero { padding: 96px 0 170px; } }

/* overlapping service cards: the Market's three-preview layout, with a price on each label */
.st-feat .hf-label .mono { font-size: 12px; }
.hf-label .st-from { color: #57534E; font-size: 12px; }

/* ---------- Section heads ---------- */
.st-eyebrow { font-size: 14px; font-weight: 500; color: var(--iz-link); }
.shead .h2 { max-width: 20ch; }

/* ---------- Service blocks ---------- */
.svc { display: grid; gap: 28px; }
.svc + .svc { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--iz-border); }
.svc-text { display: grid; gap: 16px; align-content: start; max-width: 60ch; }
.svc-text .h3 { font-size: 26px; }
.svc-text > p { color: var(--iz-muted-fg); text-wrap: pretty; }
.svc-num { font: 500 13px/1 var(--iz-mono); color: var(--iz-muted-fg); }
.svc .checks { margin-top: 4px; }
@media (min-width: 1024px) {
  .svc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .svc + .svc { margin-top: 96px; padding-top: 72px; }
  .svc-text .h3 { font-size: 30px; }
}

/* price box: the starting price, always labelled as a starting price */
.price-box { display: grid; gap: 12px; padding: 18px 20px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-xl); background: var(--iz-bg-subtle); }
.price-box + .price-box { margin-top: -4px; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.price-name { font-weight: 600; letter-spacing: -0.01em; }
.price-amt { display: flex; align-items: baseline; gap: 8px; }
.price-amt small { font-size: 13px; color: var(--iz-muted-fg); }
.price-amt b { font: 600 22px/1.1 var(--iz-font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-note { font-size: 13px; color: var(--iz-muted-fg); }
.price-box ul { display: grid; gap: 6px; font-size: 14px; color: var(--iz-muted-fg); }
.price-box li { position: relative; padding-left: 16px; }
.price-box li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 1px; background: var(--iz-faint-fg); }
.price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

/* proof: covers in a soft panel (templates and app kits) */
.proof { padding: 16px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--st-tint); }
.proof-grid { display: grid; gap: 16px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-item { position: relative; display: grid; gap: 8px; min-width: 0; }
.proof-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--iz-r-lg); overflow: hidden; background: var(--iz-sunken); transition: translate var(--iz-dur-slow) var(--iz-ease-out), box-shadow var(--iz-dur-slow) var(--iz-ease-out); }
.proof-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--iz-ring-img); pointer-events: none; }
.proof-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-item:hover .proof-img { translate: 0 -2px; box-shadow: var(--iz-lift); }
.proof-item h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.proof-item h4 a { text-decoration: none; }
.proof-item h4 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--iz-r-lg); }
.proof-item h4 a:hover { text-decoration: underline; }
.proof-item h4 a:focus-visible { outline: none; }
.proof-item h4 a:focus-visible::after { outline: 2px solid var(--iz-focus); outline-offset: 4px; }
.proof-item p { font-size: 13px; line-height: 1.45; color: var(--iz-muted-fg); }
.proof-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--iz-border); font-size: 14px; color: var(--iz-muted-fg); }
@media (max-width: 479px) { .proof-item p { display: none; } }
@media (min-width: 1024px) { .proof { padding: 20px; } .proof-grid { gap: 20px 16px; } }

/* the hospital note under the apps */
.note-row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--iz-r-lg); background: var(--iz-bg-subtle); border: 1px solid var(--iz-border); font-size: 14px; color: var(--iz-muted-fg); }
.note-row svg { width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--iz-link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.note-row b { color: var(--iz-fg); font-weight: 500; }

/* CV preview on the landing page: the real demo output in a frame */
.cv-peek { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--st-tint); }
.cv-peek-img { position: relative; border-radius: var(--iz-r-lg); overflow: hidden; background: var(--iz-sunken); }
.cv-peek-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--iz-ring-img); pointer-events: none; }
.cv-peek-img img { width: 100%; height: auto; }
.cv-peek figcaption { font-size: 13px; color: var(--iz-muted-fg); }
.uses-mini { display: grid; gap: 0; border-top: 1px solid var(--iz-border); }
.uses-mini li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--iz-border); font-size: 15px; }
.uses-mini .mono { font-size: 12px; color: var(--iz-muted-fg); padding-top: 3px; }

/* ---------- Process (six steps, three per row) ---------- */
.steps.st-steps li { min-width: 0; }
@media (min-width: 640px) and (max-width: 899px) { .steps.st-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
@media (min-width: 640px) and (max-width: 1023px) { .steps.cv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
@media (min-width: 1024px) { .steps.cv-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }

/* ---------- Hand-over ---------- */
.handover { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .handover { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.handover .info-card ul { display: grid; gap: 10px; font-size: 15px; color: var(--iz-muted-fg); }
.handover .info-card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.handover .info-card li svg { width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--iz-link); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.handover .info-card p { font-size: 14px; color: var(--iz-muted-fg); }

/* ---------- Who builds it ---------- */
.who { display: grid; gap: 28px; }
.who-facts { display: grid; border-top: 1px solid var(--iz-border); }
.who-facts div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--iz-border); }
.who-facts dt { font-size: 13px; color: var(--iz-muted-fg); }
.who-facts dd { font-size: 15px; }
@media (min-width: 640px) { .who-facts div { grid-template-columns: 180px 1fr; gap: 24px; } }
@media (min-width: 1024px) { .who { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }

/* ---------- FAQ in two columns (as on the Market home) ---------- */
.st-faq .faq { margin-top: 0; }
@media (min-width: 900px) { .st-faq .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 0; } .st-faq .faq details:nth-child(-n+2) { border-top: 1px solid var(--iz-border); } }
.faq details > div { padding-bottom: 16px; color: var(--iz-muted-fg); display: grid; gap: 10px; }
.faq details > div p { padding: 0; }

/* ---------- Contact band ---------- */
.cta-band { background: var(--iz-ink-band); color: var(--iz-on-band); padding-block: 64px; }
.cta-band :focus-visible { outline-color: #FFFFFF; }
.cta-in { display: grid; gap: 32px; }
.cta-band .h2 { color: #FFFFFF; max-width: 16ch; }
.cta-band .slede { color: var(--iz-on-band-muted); max-width: 52ch; }
.cta-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.cta-list { display: grid; border-top: 1px solid rgb(255 255 255 / .14); }
.cta-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 16px 4px; border-bottom: 1px solid rgb(255 255 255 / .14); color: #FFFFFF; text-decoration: none; transition: background-color var(--iz-dur) var(--iz-ease); }
.cta-list a:hover { background: rgb(255 255 255 / .05); }
.cta-list b { font-weight: 500; }
.cta-list span { grid-column: 1; font-size: 13px; color: var(--iz-on-band-muted); }
.cta-list .amt { grid-column: 2; grid-row: 1 / span 2; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: #FFFFFF; white-space: nowrap; }
.cta-list svg { width: 14px; height: 14px; display: inline-block; vertical-align: -1px; margin-left: 6px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cta-fine { font-size: 13px; color: var(--iz-on-band-muted); }
@media (min-width: 1024px) { .cta-band { padding-block: 96px; } .cta-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }

/* ---------- Computer vision page ---------- */
.cv-wrap { position: relative; z-index: 3; margin-top: -88px; }
@media (min-width: 700px) { .cv-wrap { margin-top: -112px; } }
@media (min-width: 1024px) { .cv-wrap { margin-top: -132px; } }

.cv-demo { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--iz-surface); overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .02), 0 30px 60px -32px rgb(0 0 0 / .45); }
@media (min-width: 1024px) { .cv-demo { grid-template-columns: minmax(0, 1fr) 360px; } }
.cv-stage-wrap { display: grid; gap: 12px; align-content: start; padding: 12px; background: var(--iz-bg-subtle); border-bottom: 1px solid var(--iz-border); min-width: 0; }
@media (min-width: 1024px) { .cv-stage-wrap { padding: 16px; border-bottom: 0; border-right: 1px solid var(--iz-border); } }
.cv-stage { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: var(--iz-r-lg); overflow: hidden; background: #111110; }
.cv-stage canvas { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.cv-stage.is-drop { outline: 2px dashed var(--iz-focus); outline-offset: -6px; }
.cv-overlay { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--iz-r-md); background: rgb(10 10 11 / .86); color: #F5F5F4; font-size: 13px; line-height: 1.4; }
.cv-overlay[hidden] { display: none; }
.cv-spin { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .25); border-top-color: #FFFFFF; animation: cvspin 800ms linear infinite; }
@keyframes cvspin { to { rotate: 1turn; } }
@media (prefers-reduced-motion: reduce) { .cv-spin { animation: none; border-top-color: rgb(255 255 255 / .25); border-right-color: #FFFFFF; } }
.cv-credit { font-size: 12px; color: var(--iz-muted-fg); min-height: 1.5em; }
.cv-credit a { color: inherit; }

.cv-panel { display: grid; gap: 18px; align-content: start; padding: 18px; min-width: 0; }
@media (min-width: 1024px) { .cv-panel { padding: 20px 20px 22px; } }
.cv-h { display: grid; gap: 4px; }
.cv-h h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.cv-h p { font-size: 13px; color: var(--iz-muted-fg); }
.cv-label { font-size: 13px; font-weight: 500; color: var(--iz-fg); margin-bottom: 8px; display: block; }
.cv-samples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cv-samples button { position: relative; display: grid; gap: 6px; padding: 0; border: 0; background: transparent; text-align: left; font-size: 12px; color: var(--iz-muted-fg); min-width: 0; }
.cv-samples img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--iz-r-md); box-shadow: inset 0 0 0 1px var(--iz-ring-img); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color var(--iz-dur) var(--iz-ease); }
.cv-samples button:hover img { outline-color: var(--iz-border-strong); }
.cv-samples button[aria-checked="true"] { color: var(--iz-fg); font-weight: 500; }
.cv-samples button[aria-checked="true"] img { outline-color: var(--iz-fg); }
.cv-samples button:focus-visible { outline: none; }
.cv-samples button:focus-visible img { outline-color: var(--iz-focus); }
.cv-samples span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-own { display: grid; gap: 8px; }
.cv-file { position: relative; display: flex; align-items: center; gap: 10px; }
.cv-file input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cv-file label { cursor: pointer; }
.cv-file input:focus-visible + label { outline: 2px solid var(--iz-focus); outline-offset: 2px; }
.cv-file .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cv-file-name { font-size: 13px; color: var(--iz-muted-fg); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-private { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--iz-muted-fg); }
.cv-private svg { width: 15px; height: 15px; margin-top: 2px; fill: none; stroke: var(--iz-link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cv-run { display: grid; gap: 8px; }
.cv-run .btn { width: 100%; min-height: 44px; font-size: 15px; }
.cv-run .btn[aria-busy="true"] { cursor: progress; }
.cv-run p { font-size: 12px; color: var(--iz-muted-fg); }
.cv-range { display: grid; gap: 6px; }
.cv-range-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cv-range-row label { font-size: 13px; font-weight: 500; }
.cv-range output { font: 500 13px var(--iz-mono); }
.cv-range input { width: 100%; accent-color: var(--iz-fg); }
.cv-range input:disabled { opacity: .5; }

.cv-results { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--iz-border); }
.cv-results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cv-results-head h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.cv-total { font: 500 13px var(--iz-mono); color: var(--iz-muted-fg); }
.cv-counts { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-counts li { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px 0 8px; border-radius: 999px; border: 1px solid var(--iz-border); background: var(--iz-bg-subtle); font-size: 13px; }
.cv-counts i { width: 10px; height: 10px; border-radius: 3px; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
.cv-counts b { font: 600 13px var(--iz-mono); }
.cv-empty { font-size: 13px; color: var(--iz-muted-fg); }
.cv-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cv-stats div { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--iz-r-md); background: var(--iz-bg-subtle); border: 1px solid var(--iz-border); }
.cv-stats dt { font-size: 12px; color: var(--iz-muted-fg); }
.cv-stats dd { font: 500 15px var(--iz-mono); font-variant-numeric: tabular-nums; }
.cv-list summary { cursor: pointer; font-size: 13px; font-weight: 500; width: fit-content; padding: 4px 0; }
.cv-list summary:hover { text-decoration: underline; }
.cv-table-wrap { margin-top: 8px; max-height: 240px; overflow: auto; border: 1px solid var(--iz-border); border-radius: var(--iz-r-md); }
.cv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cv-table caption { text-align: left; padding: 8px 10px; font-size: 12px; color: var(--iz-muted-fg); border-bottom: 1px solid var(--iz-border); }
.cv-table th, .cv-table td { padding: 6px 10px; text-align: left; border-bottom: 1px solid var(--iz-border); white-space: nowrap; }
.cv-table thead th { position: sticky; top: 0; background: var(--iz-surface); font-weight: 500; color: var(--iz-muted-fg); font-size: 12px; }
.cv-table td.mono { font-size: 12px; }
.cv-table tr:last-child td { border-bottom: 0; }
.cv-note { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--iz-muted-fg); }
.cv-note p { max-width: 70ch; }

/* use cases: numbered rows, not icon cards */
.uses { display: grid; border-top: 1px solid var(--iz-border); }
.uses li { display: grid; gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--iz-border); }
.uses .mono { font-size: 13px; color: var(--iz-muted-fg); }
.uses h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.uses p { color: var(--iz-muted-fg); font-size: 15px; max-width: 58ch; text-wrap: pretty; }
.uses dl { display: grid; gap: 6px; font-size: 14px; }
.uses dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.uses dt { color: var(--iz-muted-fg); }
@media (min-width: 900px) { .uses li { grid-template-columns: 48px minmax(0, 5fr) minmax(0, 5fr); align-items: start; } .uses .mono { padding-top: 5px; } }

/* two packages side by side */
.pkgs { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
@media (min-width: 760px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.pkgs .price-box { padding: 22px 24px; background: var(--iz-surface); border-radius: var(--iz-r-2xl); align-content: start; }
.pkgs .price-box + .price-box { margin-top: 0; }

/* honest limits */
.limits { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .limits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.limits .info-card p { font-size: 15px; color: var(--iz-muted-fg); text-wrap: pretty; }

/* research */
.research { display: grid; gap: 24px; padding: 24px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--iz-bg-subtle); }
.research h2 { font-size: 34px; font-weight: 400; letter-spacing: -0.012em; line-height: 1.05; }
.research p { color: var(--iz-muted-fg); text-wrap: pretty; }
.research ul { display: grid; border-top: 1px solid var(--iz-border); }
.research li { padding: 12px 0; border-bottom: 1px solid var(--iz-border); font-size: 15px; }
.research li span { display: block; font-size: 13px; color: var(--iz-muted-fg); }
@media (min-width: 1024px) { .research { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; padding: 40px; align-items: center; } .research h2 { font-size: 44px; } }

/* breadcrumb on the CV page */
.st-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13px; color: var(--iz-on-band-muted); }
.st-crumbs a { color: #FFFFFF; text-decoration: none; }
.st-crumbs a:hover { text-decoration: underline; }
.st-subtle { background: var(--iz-bg-subtle); border-block: 1px solid var(--iz-border); }
/* keep the results table inside the 360 px panel: it scrolls on its own */
.cv-panel > *, .cv-results > *, .cv-list { min-width: 0; }
.cv-table-wrap { max-width: 100%; }

/* ---------- Phone: shorter, left-aligned heroes; compact nav without the theme switch (it is in the footer) ---------- */
@media (max-width: 699px) {
  .hero2-in { justify-items: start; text-align: left; gap: 16px; }
  .hero2-cta { justify-content: flex-start; }
  .hero2 .display { max-width: 12ch; }
  .st-hero { padding-top: 40px; }
  .st-kicker { display: none; }
  .hero2-facts { justify-content: flex-start; padding: 0; background: none; gap: 2px 14px; font-size: 13px; }
  .hero2-facts span + span::before { content: none; }
  .st-crumbs { justify-content: flex-start; }
  .cv-hero { padding-top: 40px; }
}
@media (max-width: 479px) { .mobile-nav .theme { display: none; } }
.mobile-nav.has-more { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }

/* ---------- Case ---------- */
.case { display: grid; gap: 32px; }
.case-text { display: grid; gap: 14px; align-content: start; }
.case-steps { display: grid; margin-top: 10px; border-top: 1px solid var(--iz-border); }
.case-steps li { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--iz-border); }
.case-steps .mono { font-size: 12px; color: var(--iz-muted-fg); text-transform: none; }
.case-steps p { color: var(--iz-muted-fg); font-size: 15px; text-wrap: pretty; }
@media (min-width: 640px) { .case-steps li { grid-template-columns: 110px 1fr; gap: 16px; } .case-steps .mono { padding-top: 3px; } }
.case-fig { display: grid; gap: 12px; align-content: start; padding: 16px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-2xl); background: var(--st-tint); }
.case-img { aspect-ratio: 16 / 10; }
.case-fig figcaption { font-size: 13px; color: var(--iz-muted-fg); }
@media (min-width: 1024px) { .case { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: start; } .case-fig { position: sticky; top: calc(var(--iz-head-h) + 24px); } }

/* ---------- Scope builder ---------- */
.scope { display: grid; gap: 24px; }
@media (min-width: 1024px) { .scope { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; } .sdoc-col { position: sticky; top: calc(var(--iz-head-h) + 20px); } }
.scope-form { display: grid; gap: 14px; }
.sf { margin: 0; padding: 18px 18px 20px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-xl); background: var(--iz-surface); display: grid; gap: 14px; min-width: 0; }
.sf legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-weight: 600; letter-spacing: -0.01em; }
.sf legend + * { clear: both; }
.sf legend .mono { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--iz-border-strong); font-size: 12px; font-weight: 500; }
.sf legend small { font-weight: 400; color: var(--iz-muted-fg); font-size: 13px; }
.sf-pkgs { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-pkg { position: relative; display: block; cursor: pointer; }
.sf-pkg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sf-pkg > span { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--iz-border-strong); border-radius: var(--iz-r-lg); background: var(--iz-bg); transition: border-color var(--iz-dur) var(--iz-ease), background-color var(--iz-dur) var(--iz-ease); }
.sf-pkg b { font-size: 14px; font-weight: 600; }
.sf-pkg small { font-size: 12px; color: var(--iz-muted-fg); font-variant-numeric: tabular-nums; }
.sf-pkg:hover > span { background: var(--iz-sunken); }
.sf-pkg input:checked + span { border-color: var(--iz-fg); box-shadow: inset 0 0 0 1px var(--iz-fg); background: var(--iz-bg-subtle); }
.sf-pkg input:focus-visible + span { outline: 2px solid var(--iz-focus); outline-offset: 2px; }
.sf-group { display: grid; gap: 12px; }
.sf-checks { display: grid; gap: 2px; }
.sf-checks label { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 14px; cursor: pointer; }
.sf-checks input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--iz-fg); }
.sf-field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.sf-field .sel { width: 100%; font-weight: 400; }
.sf-row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 419px) { .sf-row, .sf-pkgs { grid-template-columns: minmax(0, 1fr); } }
.sf-in { width: 100%; min-height: 40px; padding: 8px 12px; border-radius: var(--iz-r-md); border: 1px solid var(--iz-border-strong); background: var(--iz-surface); font-size: 14px; font-weight: 400; color: var(--iz-fg); }
textarea.sf-in { resize: vertical; line-height: 1.5; }
.sf-in:focus-visible, .sf-field .sel:focus-visible { outline: 2px solid var(--iz-focus); outline-offset: 1px; }

.sdoc { display: grid; gap: 16px; padding: 28px 26px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-surface); box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 24px 48px -30px rgb(0 0 0 / .35); }
@media (min-width: 640px) { .sdoc { padding: 36px 40px; } }
.sdoc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--iz-border); }
.sdoc-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.012em; }
.sdoc-brand .brand-mark { width: 20px; height: 20px; }
.sdoc-brand span { font-weight: 500; color: var(--iz-muted-fg); }
.sdoc-meta { display: flex; gap: 12px; font-size: 12px; color: var(--iz-muted-fg); }
.sdoc-meta span:first-child { font-weight: 500; color: var(--iz-fg); }
.sdoc-title { font-size: 40px; line-height: 1; letter-spacing: -0.012em; }
.sdoc-for { font-size: 14px; color: var(--iz-muted-fg); margin-top: -6px; }
.sdoc-problem { font-family: var(--iz-display); font-size: 21px; line-height: 1.3; color: var(--iz-fg); }
.sdoc-cols { display: grid; gap: 16px; }
@media (min-width: 560px) { .sdoc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.sdoc h4 { font-size: 12px; font-weight: 500; color: var(--iz-muted-fg); margin-bottom: 8px; }
.sdoc ul { display: grid; gap: 6px; font-size: 14px; }
.sdoc li { position: relative; padding-left: 16px; text-wrap: pretty; }
.sdoc li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 7px; height: 1px; background: var(--iz-fg); }
.sdoc li.none { color: var(--iz-muted-fg); }
.sdoc-facts { display: grid; border-top: 1px solid var(--iz-border); }
.sdoc-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--iz-border); font-size: 14px; }
.sdoc-facts dt { color: var(--iz-muted-fg); }
.sdoc-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 14px 16px; border-radius: var(--iz-r-md); background: var(--iz-bg-subtle); border: 1px solid var(--iz-border); }
.sdoc-price p:first-child { display: flex; align-items: baseline; gap: 8px; }
.sdoc-price small { font-size: 13px; color: var(--iz-muted-fg); }
.sdoc-price b { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sdoc-note { font-size: 13px; color: var(--iz-muted-fg); max-width: 40ch; }
.sdoc-next { font-size: 13px; color: var(--iz-muted-fg); }
.sdoc-next b { color: var(--iz-fg); font-weight: 500; }
.sdoc-foot { font-size: 12px; color: var(--iz-muted-fg); padding-top: 12px; border-top: 1px solid var(--iz-border); }
.sdoc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sdoc-private { margin-top: 10px; font-size: 13px; color: var(--iz-muted-fg); }

/* print: only the summary sheet, in light colours */
@media print {
  :root { --iz-bg: #FFFFFF; --iz-surface: #FFFFFF; --iz-bg-subtle: #FAFAF9; --iz-fg: #1C1917; --iz-muted-fg: #57534E; --iz-border: #E7E5E4; --iz-mark-accent: #1F6F4A; color-scheme: light; }
  body { background: #FFFFFF; }
  .skip, .top, .mobile-nav, .foot, main > *:not(#scope), #scope .shead, .scope-form, .sdoc-actions, .sdoc-private { display: none !important; }
  #scope { padding: 0; background: none; border: 0; }
  .scope { display: block; }
  .sdoc-col { position: static; }
  .sdoc { box-shadow: none; border: 0; padding: 0; }
}

/* ---------- Research figure (CV page) ---------- */
.research-fig { display: grid; gap: 10px; }
.rf-stage { position: relative; border-radius: var(--iz-r-lg); overflow: hidden; background: #111110; }
.rf-stage img { width: 100%; height: auto; }
.rf-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rf-stage rect:not(.rf-tag) { fill: none; stroke-width: 4; }
.rf-stage .rf-tag { stroke: none; }
.rf-stage text { font: 600 22px var(--iz-font); fill: #0A0A0B; }
.rf-badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgb(10 10 11 / .86); color: #F5F5F4; font-size: 12px; font-weight: 500; }
.research-fig figcaption { font-size: 13px; color: var(--iz-muted-fg); text-wrap: pretty; }
.scope, .scope-form { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .scope { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
