/* =========================================================================
   TestIt3D: light studio design.
   Bright cool-grey studio paper, white cards with soft shadows, a dark navy
   for type and primary buttons, a warm orange accent (the glow on the parts),
   photoreal product renders and the live 3D model shown on a dark "screen".
   ========================================================================= */
:root {
  --bg: #f4f7fb;
  --bg-2: #eaf0f7;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --line: #dfe6ef;
  --line-2: #c8d3e2;
  --ink: #0f1b2d;
  --ink-2: #3d4b61;
  --ink-3: #5f6e85;
  --navy: #0f1b2d;
  --navy-2: #172a45;
  --accent: #f08a1c;
  --accent-ink: #b45a06;
  --blue: #2563eb;
  --in: #0ea5e9; --co: #d97706; --pw: #e2482d; --ex: #64748b;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Serif Fallback", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px -14px rgba(15, 27, 45, .18);
  --shadow-lg: 0 2px 6px rgba(15, 27, 45, .06), 0 30px 60px -24px rgba(15, 27, 45, .28);
  --max: 1200px;
  --gut: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 620px at 88% -6%, rgba(37, 99, 235, .10), transparent 60%),
    radial-gradient(900px 520px at -8% 18%, rgba(240, 138, 28, .07), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, var(--bg) 40%, var(--bg-2) 100%);
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: #fde2c0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
[id] { scroll-margin-top: 130px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(247, 249, 252, .82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); }
.site-head > .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; }
.logo b { color: var(--accent-ink); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font: 500 15px/1 var(--sans); padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: rgba(15, 27, 45, .05); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.head-cta { margin-left: 6px; min-height: 44px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 500 15px/1 var(--sans); cursor: pointer; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: var(--ink-3); }
.menu-btn .bars { width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.menu-btn[aria-expanded="true"] .bars { box-shadow: none; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { content: ""; display: block; width: 16px; height: 2px; background: currentColor; transform: rotate(90deg); }
@media (max-width: 900px) { .nav, .head-cta { display: none !important; } .menu-btn { margin-left: auto; } }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 68px); overflow: auto; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr 1fr .7fr; gap: 10px 40px; padding: 26px 0 30px; }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; padding: 16px 0 24px; } }
.menu nav { display: grid; gap: 2px; align-content: start; }
.menu .foot-h { color: var(--ink-3); }
.menu a { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 6px 10px; margin: 0 -10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 500; }
.menu a:hover, .menu a:focus-visible { background: var(--surface-2); }
.menu a img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); flex: none; }

/* ---------- type ---------- */
.display { margin: 0; font: 700 clamp(42px, 5.4vw, 74px)/1.05 var(--serif); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.display em { font-style: normal; color: var(--ink); }
.h2 { margin: 0; font: 700 clamp(30px, 3.4vw, 44px)/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.h2 em { font-style: normal; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 46ch; margin: 20px 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.eyebrow::after { content: ""; width: 44px; height: 1.5px; background: var(--ink); opacity: .7; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--r-sm); text-decoration: none; font: 600 15.5px/1 var(--sans);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 27, 45, .06); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(15, 27, 45, .6); }
.btn-primary:hover { background: var(--navy-2); }
.btn-play { border: 0; background: none; box-shadow: none; padding: 0; gap: 12px; }
.btn-play:hover { transform: none; box-shadow: none; }
.btn-play .circle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); }
.btn-play .circle svg { width: 16px; height: 16px; color: var(--ink); margin-left: 2px; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .08); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: 500 13.5px/1 var(--sans); color: var(--ink-2); text-decoration: none; }
a.chip:hover { border-color: var(--ink-3); color: var(--ink); }

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font: 500 13.5px/1.4 var(--sans); color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px); position: relative; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero .eyebrow { margin-bottom: 18px; }
.stats-row { display: flex; flex-wrap: wrap; margin-top: 34px; }
.stats-row div { padding: 0 26px; border-left: 1px solid var(--line-2); }
.stats-row div:first-child { padding-left: 0; border-left: 0; }
.stats-row b { display: block; font: 700 30px/1.1 var(--serif); color: var(--ink); }
.stats-row span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 520px) { .stats-row div { padding: 0 14px; } .stats-row b { font-size: 25px; } }

/* hero art: a photoreal exploded render with floating glass labels */
.hero-art { position: relative; }
.hero-art > img { width: 100%; height: auto; max-height: 600px; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(15, 27, 45, .18)); }
.float-tag { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px; font: 600 14px/1 var(--sans); color: var(--ink);
  background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 10px 30px -12px rgba(15, 27, 45, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; }
.float-tag svg { width: 22px; height: 22px; color: var(--ink-2); }
a.float-tag:hover { background: #fff; }
@media (max-width: 900px) { .hero-art > img { width: 100%; margin: 0; } .float-tag { font-size: 12.5px; padding: 8px 11px; } .float-tag svg { width: 18px; height: 18px; } }

/* the live model: a dark screen on the light page */
.viewer { position: relative; border-radius: 20px; padding: 10px; background: linear-gradient(180deg, #1b2a40, #0c1626); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .06); aspect-ratio: 16 / 10.5; }
.viewer iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #0b1626; }
.viewer .live { position: absolute; z-index: 3; right: 24px; top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #e3ecf8; font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.viewer .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a3c; }
.viewer .live b { font-weight: 600; }
.viewer .hint { display: none; }
@media (min-width: 901px) { .hero .viewer { aspect-ratio: auto; height: clamp(500px, 70vh, 700px); } }
@media (max-width: 900px) { .viewer { aspect-ratio: 4 / 5; } .hero .viewer { aspect-ratio: auto; height: min(140vw, 640px); } }

.howto { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.howto li { display: flex; align-items: center; gap: 8px; }
.howto li a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue); min-height: 44px; font-weight: 500; }
.howto svg { width: 20px; height: 20px; flex: none; color: var(--accent-ink); }
.howto b { color: var(--ink); font-weight: 600; }
@media (min-width: 901px) { .hero .howto { grid-column: 2; margin-top: 0; } }

/* phones: the model straight after the headline, then help, then buttons */
@media (max-width: 900px) {
  .hero .wrap { gap: 0; }
  .hero-text { display: contents; }
  .hero-text > * { order: 1; }
  .hero .viewer, .hero .hero-art { order: 2; margin-top: 28px; }
  .hero .howto { order: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .hero .howto li:last-child { grid-column: 1 / -1; }
  .hero-text > .btns, .hero-text > .tblock, .hero-text > .stats-row { order: 4; }
  .hero .lead { max-width: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(52px, 6vw, 92px) 0; position: relative; }
.section.band { background: rgba(255, 255, 255, .72); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; margin-bottom: 34px; max-width: 760px; }
.section-head > div { display: grid; gap: 14px; justify-items: start; }
.section-head > p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.section-head > p a { color: var(--blue); }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; }
.view-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; min-height: 44px; }
.view-all:hover { color: var(--blue); }

/* ---------- honest strip: who it is for ---------- */
.strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; padding: 26px 0; }
.strip-h { font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); max-width: 240px; }
.strip ul { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0; padding: 0; list-style: none; flex: 1; justify-content: space-between; }
.strip li { display: flex; align-items: center; gap: 10px; font: 600 17px/1.2 var(--sans); color: var(--ink-2); }
.strip li svg { width: 26px; height: 26px; color: var(--ink); }
.strip li + li { padding-left: 34px; border-left: 1px solid var(--line-2); }
@media (max-width: 760px) { .strip li + li { padding-left: 0; border-left: 0; } .strip ul { justify-content: flex-start; } }

/* ---------- feature cards, topics, process ---------- */
.split2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 27, 45, .04); }
.feat:first-child { background: #eef4ff; border-color: #d6e3fb; }
.feat svg { width: 30px; height: 30px; flex: none; color: var(--blue); }
.feat b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.feat span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.topics-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 30px 48px; align-items: center; }
@media (max-width: 900px) { .topics-row { grid-template-columns: 1fr; } }
.topics-row .section-head { margin-bottom: 0; }
.topics { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .topics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.topic { display: grid; justify-items: center; gap: 10px; padding: 18px 10px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 27, 45, .04); text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-align: center; transition: transform .15s, box-shadow .15s; }
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.topic svg { width: 30px; height: 30px; color: var(--blue); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 26px 0 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr 1fr; gap: 14px; } }
.steps li { position: relative; display: grid; justify-items: center; gap: 6px; padding: 18px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 27, 45, .04); text-align: center; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.steps li b { font-size: 15px; color: var(--ink); }
.steps li svg { width: 28px; height: 28px; color: var(--navy); }
.steps li + li::before { content: "→"; position: absolute; left: -23px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 18px; }
@media (max-width: 640px) { .steps li + li::before { display: none; } }
.process-art { position: relative; }
.process-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(15, 27, 45, .16)); }
.process-art .tag { position: absolute; padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .88); border: 1px solid var(--line-2); font: 600 12.5px/1.25 var(--sans); color: var(--ink); text-align: center; box-shadow: 0 6px 16px -8px rgba(15, 27, 45, .3); }
.process-art .tag small { display: block; font-weight: 500; color: var(--ink-3); }

/* ---------- machine cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .pic { position: relative; aspect-ratio: 16 / 10.5; background: linear-gradient(160deg, #f7f9fc, #e4ebf4); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .pic img { transform: scale(1.04); }
.card .pic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%230f1b2d'/%3E%3C/svg%3E") 55% 50% / 22px no-repeat;
  box-shadow: 0 10px 24px -8px rgba(15, 27, 45, .45); transition: transform .2s; }
.card:hover .pic::after { transform: translate(-50%, -50%) scale(1.08); }
.card .body { padding: 14px 18px 18px; display: grid; gap: 3px; }
.card .num { font: 600 11.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); order: 2; }
.card h3 { margin: 0; font: 700 18px/1.25 var(--sans); color: var(--ink); }
.card p { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; order: 3; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; order: 4; }
.card .tags span { font: 500 12px/1 var(--sans); color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 5px 8px; border-radius: 6px; }
.card .go { display: none; }

/* ---------- stats (machine pages) ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat { padding: 20px 20px 18px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 27, 45, .04); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, var(--blue)); }
.stat b { display: block; font: 700 clamp(28px, 3vw, 38px)/1.05 var(--serif); color: var(--ink); }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* short answer */
.answer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 44px; align-items: start; margin-top: 26px; padding: 30px 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-left: 5px solid var(--accent); }
@media (max-width: 860px) { .answer { grid-template-columns: 1fr; padding: 24px 22px; } }
.answer .eyebrow { color: var(--accent-ink); }
.answer .eyebrow::after { background: var(--accent-ink); }
.answer h2 { margin: 12px 0 0; font: 700 clamp(24px, 2.4vw, 32px)/1.15 var(--serif); }
.answer p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink); }

/* page facts (title block) */
.tblock { margin-top: 26px; border-collapse: separate; border-spacing: 0; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; width: 100%; max-width: 480px; }
.tblock td { padding: 9px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.tblock tr:last-child td { border-bottom: 0; }
.tblock td:last-child { border-right: 0; }
.tblock td small { display: block; margin-bottom: 2px; font: 600 10.5px/1.2 var(--sans); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.tblock .t { font: 700 17px/1.25 var(--serif); }

/* ---------- the cycle ---------- */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .phases { grid-template-columns: 1fr; } }
.phase { position: relative; padding: 14px 14px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.phase .fig { aspect-ratio: 1; border-radius: 12px; background: #0b1626; margin-bottom: 14px; display: grid; place-items: center; overflow: hidden; }
.phase .fig svg { width: 82%; height: 82%; }
.phase .fig img { width: 100%; height: 100%; object-fit: cover; }
.phase .n { display: inline-block; font: 700 11.5px/1 var(--sans); letter-spacing: .1em; color: #fff; background: color-mix(in srgb, var(--c) 70%, #000); padding: 5px 8px; border-radius: 6px; }
.phase .n::before { content: "STEP "; }
.phase h3 { margin: 10px 0 2px; font: 700 21px/1.2 var(--serif); }
.phase .nick { font: italic 600 15px/1 var(--serif); color: var(--ink-3); }
.phase p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; }

/* parts */
.bom { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: bom; }
.bom li { counter-increment: bom; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.bom li::before { content: counter(bom); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); font: 600 12px/1 var(--sans); color: var(--ink-2); flex: none; }

/* compare */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } .versus .vs { display: none; } }
.vs { align-self: center; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 15px/1 var(--sans); }
.vcol { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vcol h3 { margin: 0 0 12px; font: 700 26px/1.1 var(--serif); }
.vrow { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.vrow b { color: var(--ink); font-weight: 600; text-align: right; }

/* notes */
.notes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; max-width: 860px; }
.notes li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.notes li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--accent); }

/* ---------- long read ---------- */
.deep { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .deep { grid-template-columns: 1fr; gap: 20px; } .toc { position: static !important; } }
.toc { position: sticky; top: 138px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.toc .foot-h { color: var(--ink-3); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 6px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.toc a::before { content: counter(toc) "."; font-weight: 600; color: var(--accent-ink); }
.toc a:hover { background: var(--surface-2); color: var(--ink); }
.prose { max-width: 70ch; font-size: 17.5px; line-height: 1.8; color: #26344a; }
.prose h2 { margin: 44px 0 12px; font: 700 clamp(24px, 2.3vw, 30px)/1.2 var(--serif); color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 8px; font: 700 18px/1.3 var(--sans); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { color: var(--ink); }

/* mix-ups, glossary, faq */
.myths { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.myth { margin: 0; padding: 18px 18px 18px 52px; position: relative; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.myth::before { content: "!"; position: absolute; left: 16px; top: 17px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fde8e3; color: #c2361d; font: 700 14px/1 var(--sans); }
.gloss { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin: 0; }
.gloss div { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.gloss dt { font-weight: 700; color: var(--ink); }
.gloss dd { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 27, 45, .04); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; min-height: 56px; font: 600 16.5px/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); font: 500 18px/1 var(--sans); color: var(--ink-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { margin: 0 0 16px; font: 700 28px/1.15 var(--serif); }
.faq-group h2 a { text-decoration: none; }
.faq-group h2 a:hover { color: var(--blue); }

/* per-machine extras */
.x-table { overflow-x: auto; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.x-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.x-table th, .x-table td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--line); }
.x-table thead th { border-top: 0; background: var(--surface-2); font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.x-table tbody th { font-weight: 600; }
.x-table td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.x-table tbody tr:hover { background: #f8fafd; }
.x-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.x-steps li { counter-increment: st; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.x-steps li::before { content: counter(st); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 14px/1 var(--sans); }
.x-calc { max-width: 720px; padding: 10px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.x-calc div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.x-calc div:last-child { border-bottom: 0; }
.x-calc div:last-child b { color: var(--accent-ink); font-size: 17px; }
.x-calc b { font-weight: 600; color: var(--ink); text-align: right; }
.x-note { margin: 14px 0 0; max-width: 80ch; color: var(--ink-3); font-size: 14.5px; font-style: italic; }

/* ---------- jump bar ---------- */
.jump { position: sticky; top: 68px; z-index: 30; background: rgba(247, 249, 252, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump-h { flex: none; margin-right: 8px; font: 600 12px/1 var(--sans); letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.jump a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.jump a:hover { color: var(--ink); }
.jump a.on { color: var(--ink); border-bottom-color: var(--accent); }
@media (max-width: 760px) { .jump-h { display: none; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 22px; background: radial-gradient(800px 400px at 85% 50%, #1d3b6b, transparent 70%), linear-gradient(120deg, #0b1626, #12243d); color: #fff; padding: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px 40px; align-items: center; box-shadow: var(--shadow-lg); }
.cta > h2, .cta > div { grid-column: 1; }
.cta h2 { margin: 0; font: 700 clamp(28px, 3vw, 40px)/1.15 var(--serif); }
.cta p { margin: 0 0 18px; color: #c8d4e6; max-width: 44ch; }
.cta .btns { margin-top: 0; }
.cta-art { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; object-position: 70% 50%; -webkit-mask: linear-gradient(90deg, transparent, #000 35%); mask: linear-gradient(90deg, transparent, #000 35%); }
.cta > :not(.cta-art) { position: relative; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta-art { width: 100%; opacity: .3; } }

/* ---------- plain pages ---------- */
.page-hero { padding: clamp(36px, 5vw, 72px) 0 4px; }
.page-hero .lead { max-width: 60ch; }
.updated { font-size: 13.5px; color: var(--ink-3); }

/* ---------- footer ---------- */
.site-foot { margin-top: 40px; background: var(--navy); color: #a9b7cb; font-size: 14.5px; padding: 0 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; padding: 54px 0 34px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.site-foot .logo { color: #fff; }
.site-foot .logo b { color: var(--accent); }
.foot-brand p { margin: 14px 0 0; max-width: 36ch; }
.foot-h { margin: 0 0 12px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.site-foot nav { display: grid; gap: 2px; align-content: start; }
.site-foot nav a { padding: 5px 0; }
.site-foot a { text-decoration: none; color: #c8d4e6; }
.site-foot a:hover { color: #fff; }
.foot-brand a[href^="mailto:"] { display: inline-block; padding: 12px 0; color: var(--accent); overflow-wrap: anywhere; }
.revs { display: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

.totop { position: fixed; right: 18px; bottom: 18px; z-index: 35; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.totop:hover { background: var(--navy-2); }
.totop svg { width: 20px; height: 20px; }
.totop[hidden] { display: none; }

/* reveal: a gentle rise */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .card .pic img, .topic { transition: none; }
}

/* exploded parts render on explainer pages */
.parts-fig { max-width: 840px; margin: 0 0 22px; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, #f7f9fc, #e1e9f3); border: 1px solid var(--line); box-shadow: var(--shadow); }
.parts-fig img { width: 100%; height: auto; }
.parts-fig figcaption { padding: 10px 16px; font-size: 13.5px; color: var(--ink-3); background: var(--surface); border-top: 1px solid var(--line); }

/* ---------- suggestion form ---------- */
.suggest-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 48px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 860px) { .suggest-band { grid-template-columns: 1fr; } }
.suggest-band > div { display: grid; gap: 12px; justify-items: start; }
.suggest-band p { margin: 0; color: var(--ink-2); }
.suggest { display: grid; gap: 14px; }
.suggest label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.suggest label span { font-weight: 400; color: var(--ink-3); }
.suggest input:not([type="radio"]), .suggest textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: 400 16px/1.4 var(--sans); color: var(--ink); }
.suggest textarea { resize: vertical; min-height: 96px; }
.suggest input:focus, .suggest textarea:focus { outline: 3px solid rgba(37, 99, 235, .25); border-color: var(--blue); }
.sg-kind { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; border: 0; }
.sg-kind legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.sg-kind label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 40px; }
.sg-kind input { width: 18px; height: 18px; accent-color: var(--navy); }
.sg-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sg-status { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.sg-note { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.sg-note a { color: var(--blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card-form { padding: clamp(20px, 3vw, 30px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* hero model: still picture until the live 3D has loaded */
.viewer .poster { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; border-radius: 12px; background: #0b1626; transition: opacity .4s; z-index: 1; }
.viewer.ready .poster { opacity: 0; pointer-events: none; }
/* FAQ page: machine questions listed as links to their own page */
.faq-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 24px; margin: 0; padding: 0; list-style: none; max-width: 1000px; }
.faq-index a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 500; }
.faq-index a:hover { color: var(--blue); }

.start-3d { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font: 600 15px/1 var(--sans); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .55); cursor: pointer; }
.start-3d svg { width: 18px; height: 18px; }
.start-3d:hover { background: #f1f5fb; }
.viewer.starting .start-3d, .viewer.ready .start-3d { display: none; }

.phases.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .phases.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .phases.six { grid-template-columns: 1fr; } }

/* long pages: let the browser skip style and layout for sections far below the screen until they come near (faster first load on phones) */
main > section.section { content-visibility: auto; contain-intrinsic-size: auto 720px; }
