/* Intulix design system
   Palette taken from the Intulix mark: navy wordmark, blue to cyan to violet
   gradient. Utilitarian layout, trust-first, no build step, no webfont request. */

:root {
  --ink: #0b112a;
  --ink-2: #2b3350;
  --muted: #636e84;
  --line: #dfe3ec;
  --line-2: #eef0f5;
  --paper: #fcfcfd;
  --card: #ffffff;

  /* brand */
  --brand: #006afd;
  --brand-dark: #0055d6;
  --brand-soft: #e9f1ff;
  --cyan: #00defe;
  --violet: #7c00f0;
  --grad: linear-gradient(100deg, #006afd 0%, #00defe 52%, #7c00f0 100%);
  /* cyan fails white-text contrast at 1.63:1, so buttons use blue to violet only */
  --grad-btn: linear-gradient(100deg, #006afd 0%, #5b1ae8 60%, #7c00f0 100%);
  --alert: #c92a2a;
  --alert-soft: #fdecec;

  --steel: #12306b;
  --steel-soft: #eaf0fb;
  --ok: #0e7c57;
  --ok-soft: #e6f5ef;
  --warn: #8a5a00;
  --warn-soft: #fdf3e2;

  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --wrap: 1080px;
  --r: 10px;
  --shadow: 0 1px 2px rgb(11 17 42 / .05), 0 8px 24px -12px rgb(11 17 42 / .16);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.021em; margin: 0 0 .5em; font-weight: 660; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.05rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1.05em; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
strong { font-weight: 640; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
img { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 14px; z-index: 99; border-radius: 8px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgb(252 252 253 / .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--grad);
}
.top-in { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 26px; width: auto; max-width: 160px; display: block; }
@media (max-width: 560px) { .brand img { height: 21px; } }
footer .brand img { height: 30px; max-width: 190px; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; font-size: .95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--brand); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .97rem; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); background-image: var(--grad-btn); background-size: 180% 100%;
  background-position: 0% 0; color: #fff; transition: background-position .35s ease, transform .12s ease; }
.btn-primary:hover { background-position: 60% 0; color: #fff; }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-sm { padding: 8px 13px; font-size: .88rem; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 54px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } .hero { padding: 46px 0 40px; } }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 680; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  padding: 6px 11px; border-radius: 5px; margin-bottom: 18px;
}
.lede { font-size: 1.14rem; color: var(--ink-2); max-width: 46ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.under-cta { font-size: .87rem; color: var(--muted); margin-top: 14px; }

/* phone mock */
.phone {
  background: var(--ink); border-radius: 26px; padding: 11px; box-shadow: var(--shadow);
  max-width: 316px; margin: 0 auto;
}
.phone-screen { background: #fff; border-radius: 17px; overflow: hidden; }
.phone-bar { background: var(--ink); background-image: var(--grad-btn); color: #fff; padding: 11px 14px; font-size: .8rem; font-weight: 600; }
.phone-body { padding: 15px; }
.step-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: .89rem; }
.step-row:last-child { border-bottom: 0; }
.tick { width: 19px; height: 19px; flex: 0 0 19px; border-radius: 5px; border: 1.5px solid var(--line); margin-top: 2px; }
.tick.on { background: var(--ok); border-color: var(--ok); position: relative; }
.tick.on::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sig-strip { background: var(--ok-soft); border-top: 1px solid var(--line-2); padding: 11px 15px; font-size: .78rem; color: var(--ok); font-weight: 600; }

/* ---------- sections ---------- */
section { padding: 62px 0; }
.section-line { border-top: 1px solid var(--line); }
.kicker { font-size: .78rem; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.quote {
  border-left: 3px solid var(--brand); padding: 4px 0 4px 20px; margin: 0 0 26px;
  font-size: 1.24rem; line-height: 1.42; color: var(--ink);
}

/* two column feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 26px; } }

/* dashboard mock */
.matrix { width: 100%; border-collapse: collapse; font-size: .87rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.matrix th, .matrix td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line-2); }
.matrix th { background: #f6f5f3; font-weight: 620; font-size: .8rem; letter-spacing: .02em; color: var(--ink-2); }
.matrix tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: .74rem; font-weight: 640; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.no { background: var(--alert-soft); color: var(--alert); }
.pill.wait { background: var(--warn-soft); color: var(--warn); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
  display: flex; flex-direction: column;
}
.price.feature { border: 2px solid var(--brand); }
.price .amt { font-size: 2.3rem; font-weight: 700; letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: .9rem; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; font-size: .93rem; }
.price li { padding: 6px 0 6px 24px; position: relative; color: var(--ink-2); }
.price li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price .btn { margin-top: auto; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 620; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2013"; }
details p { margin: 12px 0 0; color: var(--ink-2); font-size: .96rem; }

/* trade index */
.trade-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.trade-list a {
  display: block; padding: 13px 15px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .94rem; font-weight: 550;
}
.trade-list a:hover { border-color: var(--brand); color: var(--brand); }

/* article */
article { max-width: 720px; }
article h2 { margin-top: 2em; }
article h3 { margin-top: 1.6em; }
article ul, article ol { padding-left: 1.25em; }
article li { margin-bottom: .45em; }
.meta { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; }
.callout { background: var(--steel-soft); border-left: 3px solid var(--steel); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; margin-bottom: 2rem; }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .94rem; }

/* checklist block used in trade pages */
.proc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; margin-bottom: 16px;
}
.proc h3 { margin: 0 0 4px; }
.proc .why { color: var(--muted); font-size: .89rem; margin: 0 0 14px; }
.proc ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.proc li { margin-bottom: .4em; }

/* glossary */
.gloss-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.gloss-index a { padding: 5px 11px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: .87rem; text-decoration: none; }
.term { border-top: 1px solid var(--line); padding: 22px 0; }
.term h2 { font-size: 1.24rem; margin-bottom: .3em; }
.term p { margin-bottom: .6em; }
.term .also { font-size: .87rem; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; margin-top: 40px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 7px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--brand); }
.legal { color: var(--muted); font-size: .85rem; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-2); }

/* app-only */
.app-shell { display: grid; grid-template-columns: 250px 1fr; gap: 0; min-height: calc(100vh - 62px); }
@media (max-width: 860px) { .app-shell { grid-template-columns: 1fr; } .app-side { border-right: 0 !important; border-bottom: 1px solid var(--line); } }
.app-side { border-right: 1px solid var(--line); padding: 22px 18px; background: #f7f6f4; }
.app-main { padding: 26px 28px 70px; }
.side-btn {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 7px;
  border: 0; background: transparent; font: inherit; font-size: .94rem; cursor: pointer; color: var(--ink-2);
}
.side-btn:hover { background: #eceae7; }
.side-btn.on { background: var(--ink); color: #fff; font-weight: 600; }
.demo-banner {
  background: var(--warn-soft); border-bottom: 1px solid #f0dfc0; color: var(--warn);
  padding: 9px 0; font-size: .87rem; text-align: center;
}
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px;
  font: inherit; font-size: .95rem; background: #fff;
}
.sigpad { border: 1px dashed var(--line); border-radius: 8px; background: #fff; touch-action: none; width: 100%; height: 140px; display: block; }
.emptystate { color: var(--muted); font-size: .95rem; padding: 30px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); }
.badge-count { background: var(--brand); color: #fff; border-radius: 20px; padding: 1px 7px; font-size: .74rem; font-weight: 700; margin-left: 6px; }

/* beta */
.beta-strip {
  background: var(--grad-btn); color: #fff; text-align: center;
  padding: 7px 14px; font-size: .85rem; font-weight: 600;
}
.beta-strip a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.beta-note {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  padding: 3px 8px; border-radius: 4px; vertical-align: middle; margin-left: 8px;
}

/* breadcrumbs */
.crumbs {
  font-size: .84rem; color: var(--muted);
  padding: 10px 0 0;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs .sep { margin: 0 8px; opacity: .5; }
.crumbs [aria-current] { color: var(--ink-2); }
.foot-h {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin: 0 0 12px; font-weight: 660;
}

/* Defer rendering of long article bodies and card grids that sit below the
   fold. contain-intrinsic-size is mandatory here: without it the browser
   collapses the block to zero height off-screen and the scrollbar jumps. */
@supports (content-visibility: auto) {
  .defer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}

/* the FAQ list is an exclusive accordion via <details name>, so animate the
   disclosure rather than snapping it open */
@supports (interpolate-size: allow-keywords) {
  details[name] { interpolate-size: allow-keywords; }
  details[name]::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .28s ease, content-visibility .28s allow-discrete;
  }
  details[name][open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  details[name]::details-content { transition: none; }
}

.card-h { font-size: 1.16rem; line-height: 1.2; margin: 0 0 .35em; font-weight: 660; letter-spacing: -.021em; }

/* Explainer diagrams. Inline SVG rather than video: crawlable, a couple of
   kilobytes, no player, and it respects prefers-reduced-motion properly. */
.diagram {
  margin: 2em 0; padding: 20px 18px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption {
  margin-top: 12px; font-size: .88rem; color: var(--muted);
  border-top: 1px solid var(--line-2); padding-top: 10px;
}

/* animation runs once when the diagram scrolls into view, using a scroll
   driven animation where supported and a plain entrance elsewhere */
@media (prefers-reduced-motion: no-preference) {
  .anim-diagram .vd-step,
  .anim-diagram .vd-arrow,
  .anim-diagram .vd-note { opacity: 0; animation: fade-up .5s ease forwards; }
  .anim-diagram .vd-1 { animation-delay: .05s; }
  .anim-diagram .vd-arrow { animation-delay: .35s; }
  .anim-diagram .vd-2 { animation-delay: .6s; }
  .anim-diagram .vd-note { animation-delay: .95s; }
  .anim-diagram .vd-rule { stroke-dasharray: 700; stroke-dashoffset: 700;
    animation: draw 1.1s ease .3s forwards; }

  .anim-diagram .fd-step { opacity: 0; animation: fade-up .45s ease forwards;
    animation-delay: calc(var(--i) * .18s); }
  .anim-diagram .fd-line { stroke-dashoffset: 120;
    animation: dash 1.4s linear infinite; }

  @keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes dash { to { stroke-dashoffset: 0; } }

  /* where scroll driven animations exist, run the entrance on scroll instead
     of on load, so a diagram far down the page animates when it is reached */
  @supports (animation-timeline: view()) {
    .anim-diagram .vd-step, .anim-diagram .vd-arrow,
    .anim-diagram .vd-note, .anim-diagram .fd-step {
      animation-timeline: view();
      animation-range: entry 10% cover 26%;
      animation-fill-mode: both;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .anim-diagram .vd-step, .anim-diagram .vd-arrow,
  .anim-diagram .vd-note, .anim-diagram .fd-step { opacity: 1; }
  .anim-diagram .vd-rule { stroke-dashoffset: 0; }
}

/* The direct answer, placed above the fold so a featured snippet or an AI
   overview has a clean block to lift rather than guessing from the body. */
.answer-box {
  background: var(--brand-soft); border-left: 3px solid var(--brand);
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 0 0 1.8em;
}
.answer-box p { margin: 0; font-size: 1.02rem; color: var(--ink); }

/* ---------------------------------------------------------------------------
   Modern component layer.
   Applied per the modern-web-guidance guides: container queries for size aware
   cards, :has() for parent state, fluid type via clamp, and view transitions
   for cross document navigation. Every block is feature queried, so an older
   browser gets the previous rendering rather than a broken one.
   --------------------------------------------------------------------------- */

/* Cards respond to the width of their own grid cell, not the viewport. A card
   in a two column grid on a wide screen is still narrow, and media queries
   cannot see that. */
@supports (container-type: inline-size) {
  .cards { container-type: inline-size; container-name: cardgrid; }
  @container cardgrid (min-width: 760px) {
    .card { padding: 26px 28px; }
    .card-h { font-size: 1.22rem; }
  }
  .price-grid { container-type: inline-size; container-name: pricing; }
  @container pricing (max-width: 560px) {
    .price { padding: 20px; }
    .price .amt { font-size: 1.9rem; }
  }
}

/* Fluid type: one declaration instead of three breakpoints, and it scales
   smoothly between them rather than jumping. */
h1 { font-size: clamp(2.05rem, 1.5rem + 2.4vw, 3.25rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.05rem); }
.lede { font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); }

/* :has() replaces the class toggling this used to need.
   A card containing a link becomes interactive as a whole. */
@supports selector(:has(a)) {
  .card:has(a) { transition: border-color .16s ease, transform .16s ease; }
  .card:has(a:hover) { border-color: var(--brand); transform: translateY(-2px); }
  .card:has(a:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
  /* an open disclosure tints its own row without a JS class */
  details[open]:has(summary) { background: color-mix(in oklab, var(--brand-soft) 45%, transparent); }
  /* a form that has an invalid field the user has actually interacted with */
  form:has(input:user-invalid) .btn-primary { opacity: .65; }
}

/* Focus visible everywhere, once, rather than per component. */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth cross document navigation where the browser supports it. Purely
   additive: without it, navigation is the ordinary instant page load. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Scrollbars that match the palette instead of the operating system default. */
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--line) transparent; scrollbar-width: thin; }
}

/* Tables on a phone: let them scroll rather than forcing a squeeze. */
.matrix { display: block; overflow-x: auto; white-space: nowrap; }
@media (min-width: 720px) { .matrix { display: table; white-space: normal; } }

/* Text selection in brand color. */
::selection { background: color-mix(in oklab, var(--brand) 22%, transparent); }

/* Respect a stated preference for less transparency, which the sticky header
   backdrop filter would otherwise ignore. */
@media (prefers-reduced-transparency: reduce) {
  .top { background: var(--paper); backdrop-filter: none; }
}

.mono { font-family: var(--mono); font-size: .78rem; }


/* Product tour. The panels below are the application's own HTML, captured from
   a running account and made inert. Not screenshots: sharper, a fraction of the
   weight, and readable by a search engine. */
.tour-shot { margin: 1.6em 0 2.2em; }
.tour-cap {
  font-size: .92rem; color: var(--muted); margin: 0 0 10px;
  padding-left: 12px; border-left: 3px solid var(--brand);
}
.tour-cap strong { color: var(--ink); display: block; margin-bottom: 2px; }

.tour-frame {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
}
.tour-chrome {
  display: flex; gap: 6px; align-items: center;
  padding: 10px 14px; background: #f4f5f8; border-bottom: 1px solid var(--line);
}
.tour-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #d3d8e2; }
.tour-body {
  padding: 20px 22px; max-height: 460px; overflow: hidden;
  position: relative; font-size: .92rem;
}
/* fade the bottom edge so a clipped panel reads as a view into a longer screen
   rather than as content that has been cut off by mistake */
.tour-body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}
.shot-h { font-weight: 660; letter-spacing: -.02em; color: var(--ink); }
.shot-h1 { font-size: 1.4rem; margin: 0 0 .3em; }
.shot-h2 { font-size: 1.15rem; margin: 1em 0 .4em; }
.shot-h3 { font-size: 1.5rem; margin: 0; }
.shot-h4 { font-size: .95rem; margin: 0 0 .3em; }
.tour-body .lede { font-size: .95rem; }
.tour-body .cards { gap: 12px; }
.tour-body .card { padding: 14px 16px; }
.tour-body .proc { padding: 14px 16px; margin-bottom: 12px; }

.tour-phone {
  background: var(--ink); border-radius: 26px; padding: 10px;
  max-width: 330px; margin: 0 auto; box-shadow: var(--shadow);
}
.tour-phone-screen {
  background: #fff; border-radius: 18px; padding: 16px 15px;
  max-height: 520px; overflow: hidden; position: relative; font-size: .9rem;
}
.tour-phone-screen::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  background: linear-gradient(to bottom, transparent, #fff); pointer-events: none;
}
.tour-phone-screen .shot-h1 { font-size: 1.2rem; }

/* everything inside a tour panel is a picture, so nothing in it is reachable */
.tour-frame a, .tour-phone a,
.tour-frame button, .tour-phone button,
.tour-frame input, .tour-phone input,
.tour-frame select, .tour-phone select { pointer-events: none; cursor: default; }
.tour-form { margin: 0; }

/* Inert checkboxes in the how-it-works tour. Disabled and not interactive,
   sized here so they match the live application rather than falling back to
   the browser default. */
.tstep {
  width: 1.05em;
  height: 1.05em;
  accent-color: var(--brand);
  pointer-events: none;
  flex: 0 0 auto;
}

/* ---------------------------------------------------------------- printables
   Shared by every fill in sheet on the site: the training acknowledgement form
   and the toolbox talk record. One system, so a change to the print layout does
   not have to be made twice and cannot drift between pages. */
.sheet-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 18px; }
.sheet-actions .hint { font-size: .86rem; color: var(--muted); }
.sheet {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 30px; margin: 0 0 26px; max-width: 720px; color: #12182b;
}
.sheet header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 18px;
}
.sheet h3 { font-size: 1.3rem; margin: 2px 0 0; }
.sheet-brandline { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.sheet-mark { width: 42px; height: 42px; }
.sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-bottom: 20px; }
.sheet-field { min-width: 0; }
.sheet-field.wide { grid-column: 1 / -1; }
.sheet-label { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sheet-rule { border-bottom: 1px solid #98a2b8; height: 1.5em; }
.sheet-statement { border-left: 3px solid var(--brand); padding: 10px 0 10px 14px; margin: 0 0 20px; font-size: .97rem; line-height: 1.5; }
.sheet-check { margin: 0 0 20px; }
.sheet-check p { font-size: .9rem; margin: 0 0 10px; }
.sheet-qline { display: flex; gap: 10px; align-items: baseline; margin-bottom: 12px; }
.sheet-qnum { font-size: .8rem; color: var(--muted); flex: 0 0 auto; }
.sheet-qrule { border-bottom: 1px solid #98a2b8; height: 1.4em; flex: 1 1 auto; }
.sheet-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.sheet-table th {
  text-align: left; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: 0 6px 6px; border-bottom: 1.5px solid var(--ink);
}
.sheet-table td { border-bottom: 1px solid #98a2b8; height: 2.5em; padding: 0 6px; }
.sheet-table .col-n { width: 5%; }
.sheet-table .col-date { width: 13%; }
.sheet-table .col-time { width: 10%; }
.sheet-table .col-q { width: 9%; }
.sheet-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); line-height: 1.5; }

@media print {
  .skip, .beta-strip, .top, .crumbs, footer, .noprint { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  main { padding: 0 !important; }
  main > section { padding-top: 0 !important; }
  .sheet { border: none; border-radius: 0; padding: 0; max-width: none; }
  .sheet + * { page-break-before: always; }
}
