/* ==========================================================================
   FormFlow — formflow.solutions
   Design motif: a forensic examination file. The page's only colour accents
   are the product's own three verdict colours; sky is reserved for things you
   can click. Structural chrome (region outlines, stage strips, fact tables)
   is copied from what the product actually renders, not invented decoration.
   ========================================================================== */

:root {
  /* Surfaces */
  --ink: #0F172A;
  --ink-soft: #1B2739;
  --ink-line: rgba(255, 255, 255, 0.13);
  --paper: #F5F7F9;
  --card: #FFFFFF;
  --rule: #E3E8EE;

  /* Text */
  --text: #101828;
  --slate: #3D4C63;
  --muted: #5E6D84;
  --on-ink: #F2F5F9;
  --on-ink-muted: #9AAABF;

  /* Interaction */
  --sky: #0369A1;
  --sky-deep: #075985;
  --sky-lit: #0EA5E9;
  --sky-pale: #E7F3FB;

  /* Verdicts — must match the app and the PDF report */
  --authentic: #16A34A;
  --authentic-bg: #F0FDF4;
  --authentic-line: #BBF7D0;
  --suspect: #B45309;
  --suspect-bg: #FFFBEB;
  --suspect-line: #FDE68A;
  --doctored: #DC2626;
  --doctored-bg: #FEF2F2;
  --doctored-line: #FECACA;
  /* Text-only shades: the 600 hues above fall below 4.5:1 as small text on
     white. Dots, borders and backgrounds keep the app/PDF colours. */
  --authentic-ink: #15803D;
  --doctored-ink: #B91C1C;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --radius: 10px;
  --radius-lg: 14px;
  --shell: 1200px;
  --section: clamp(72px, 9vw, 116px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------- reset -- */

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--sky-deep); }

:focus-visible {
  outline: 2px solid var(--sky-lit);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 99;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}
.skip:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------- typography -- */

.t-display {
  font-size: clamp(34px, 4.1vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 800;
  color: var(--ink);
  max-width: 19ch;
  text-wrap: balance;
}

.t-head {
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
  max-width: 21ch;
}

.t-sub {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--slate);
  max-width: 60ch;
}

.t-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 62ch;
}

.t-body { color: var(--slate); max-width: 66ch; }
.t-small { font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.t-micro { font-size: 13px; line-height: 1.55; color: var(--muted); }

.t-data {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1;
}

.on-ink .t-display,
.on-ink .t-head { color: #fff; }
.on-ink .t-sub,
.on-ink .t-lead,
.on-ink .t-body,
.on-ink .t-small { color: var(--on-ink-muted); }
.on-ink .t-micro { color: #7E90A8; }

/* ------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.band { padding-block: var(--section); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-card { background: var(--card); border-block: 1px solid var(--rule); }

.band-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 56px); }
.band-head .t-sub,
.band-head .t-lead { margin-top: 16px; }

/* Argument on the left, evidence on the right. Used twice, not on every
   section — an alternating zigzag would read as a template. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split-tight { align-items: start; }

@media (max-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* --------------------------------------------------------------- nav --- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 247, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand b i { font-style: normal; color: var(--sky); }

.nav { display: flex; align-items: center; gap: 26px; }
/* :not(.btn) matters — a bare `.nav a` rule outranks `.btn-solid` on
   specificity and silently repaints the call-to-action's label slate. */
.nav a:not(.btn) {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--ink); }

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  background: var(--card);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang a,
.lang span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  line-height: 1.5;
}
.lang [aria-current="true"] { background: var(--ink); color: #fff; }

/* Direct children only. A bare `.nav a:not(.btn)` also matches the EN/PL link
   nested inside .lang, which silently removes the language switcher on phones. */
@media (max-width: 900px) {
  .nav > a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .topbar-inner { gap: 10px; }
  .nav { gap: 10px; }
  .nav .btn { font-size: 13px; padding: 8px 12px; white-space: nowrap; }
  .brand b { font-size: 17px; }
  .brand svg { width: 26px; height: 26px; }
}
/* Below this the header cannot hold the mark, the language switcher and a
   call to action without one of them overflowing. The hero's own button sits
   immediately below, so the header one is the part that goes. */
@media (max-width: 460px) {
  .nav .btn { display: none; }
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 20px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn-solid { background: var(--sky); color: #fff; }
.btn-solid:hover { background: var(--sky-deep); color: #fff; }
.btn-line {
  border-color: var(--rule);
  background: var(--card);
  color: var(--ink);
}
.btn-line:hover { border-color: #B9C6D6; color: var(--ink); }
.on-ink .btn-line {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.on-ink .btn-line:hover { border-color: #fff; color: #fff; }
.nav .btn { padding: 9px 16px; font-size: 14px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------ verdict -- */
/* The product's three-valued output. The page's only colour accents. */

.verdict {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.verdict::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.v-authentic { color: var(--authentic-ink); background: var(--authentic-bg); border-color: var(--authentic-line); }
.v-authentic::before { background: var(--authentic); }
.v-suspect   { color: var(--suspect);   background: var(--suspect-bg);   border-color: var(--suspect-line); }
.v-doctored  { color: var(--doctored-ink);  background: var(--doctored-bg);  border-color: var(--doctored-line); }
.v-doctored::before { background: var(--doctored); }

/* ------------------------------------------------------------ exhibit -- */
/* A faithful rebuild of the product's verification report, in markup rather
   than a screenshot, so it stays crisp and reflows on a phone. */

.exhibit {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 46px -24px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.exhibit-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule);
}
.exhibit-ref {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.exhibit-where {
  font-size: 12.5px;
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.exhibit-bar .verdict { margin-left: auto; }
/* On a narrow card the case reference and the verdict are what matter; the
   form name is the first thing to go rather than wrapping the whole bar. */
@media (max-width: 420px) {
  .exhibit-where { display: none; }
}

.exhibit-plate {
  position: relative;
  background: #EDF1F5;
  border-bottom: 1px solid var(--rule);
}
.exhibit-plate svg { display: block; width: 100%; height: auto; }

.exhibit-stages { border-bottom: 1px solid var(--rule); }
.stage {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid #F1F4F8;
}
.stage:first-child { border-top: 0; }
.stage dt { font-size: 13.5px; font-weight: 600; color: var(--slate); }
.stage dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}
.stage-ok { color: var(--authentic-ink); }
.stage-warn { color: var(--suspect); }
.stage-bad { color: var(--doctored-ink); }

.exhibit-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  padding: 12px 16px;
  background: #FAFBFC;
}
.fact { display: flex; gap: 7px; align-items: baseline; }
.fact-k { font-size: 12px; color: var(--muted); }
.fact-v {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
}

/* Region annotation drawn over the plate */
.region-shape {
  fill: rgba(220, 38, 38, 0.10);
  stroke: var(--doctored);
  stroke-width: 2;
  stroke-linejoin: round;
}
.region-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  fill: #fff;
}
.region-tag-plate { fill: var(--doctored); }

/* Captions sitting directly on the plate rather than on a coloured tag. A
   separate class, because a CSS `fill` beats an inline fill attribute and the
   labels would silently inherit the tag's white. */
.plate-ref {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  fill: #5B6E85;
}
.plate-when {
  font-family: var(--mono);
  font-size: 11px;
  fill: #8195AC;
}
.region-lead { stroke: var(--doctored); stroke-width: 1.5; stroke-dasharray: 3 3; }

/* ---------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(56px, 7vw, 92px) var(--section); }
.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 22px;
}
.hero .t-sub { margin-top: 22px; }
.hero .btn-row { margin-top: 32px; }
.hero-mail { margin-top: 14px; }
.hero-mail a { font-weight: 700; color: var(--sky); }
.hero-foot { margin-top: 26px; }

.tag-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-deep);
  background: var(--sky-pale);
  border: 1px solid #C5E3F5;
  border-radius: 999px;
  padding: 4px 13px 4px 10px;
}
.tag-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-lit);
  flex: none;
}

/* ---------------------------------------------------------- the scale -- */
/* One dominant figure carried as type; the rest as a sourced findings list,
   because a corporate reader checks the citation before the number. */

.scale-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}
@media (max-width: 940px) {
  .scale-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

.figure-hero { display: block; }
.figure-hero b {
  display: block;
  font-size: clamp(84px, 13vw, 156px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: #fff;
}
.figure-hero span {
  display: block;
  margin-top: 20px;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.45;
  color: var(--on-ink);
  max-width: 24ch;
}
.figure-hero em {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 13px;
  color: #7E90A8;
  max-width: 34ch;
}

/* Subgrid so every row shares one measure column — sized per-row, the figures
   would each set their own width and the statements would not line up. */
.findings {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  border-top: 1px solid var(--ink-line);
}
.finding {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  gap: 4px 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--ink-line);
}
.finding-n {
  grid-row: span 2;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--sky-lit);
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}
.finding-n small {
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-left: 3px;
}
.finding-t {
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-ink);
  align-self: center;
}
.finding-s { font-size: 12.5px; color: #7E90A8; }

.caveat {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
}

/* --------------------------------------------------------------- cases -- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.case-grid .exhibit { display: flex; flex-direction: column; }
.case-grid .case-body { flex: 1; }
@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px)  { .case-grid { grid-template-columns: minmax(0, 1fr); } }

.case-body { padding: 18px 18px 20px; }
.case-body h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 7px;
}
.case-body p { font-size: 14.5px; line-height: 1.58; color: var(--slate); }

.case-catch {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}
.case-catch svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--sky); }

.sources {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

/* ------------------------------------------------------------ screens -- */
/* Real product screenshots, fictional brands, framed the way a browser would. */

.screen {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 22px 46px -26px rgba(15, 23, 42, 0.3);
}
.screen-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #F7F9FB;
  border-bottom: 1px solid var(--rule);
}
.screen-dot { width: 9px; height: 9px; border-radius: 50%; background: #D7DEE7; flex: none; }
.screen-url {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.screen img { width: 100%; }

.on-ink .screen { border-color: rgba(255, 255, 255, 0.14); }
.on-ink .screen-chrome { background: #22314A; border-bottom-color: rgba(255, 255, 255, 0.1); }
.on-ink .screen-dot { background: #3C4E6B; }

/* ------------------------------------------------------------- traits -- */
/* Capability lists. Deliberately not cards — a rule-separated list reads as a
   specification, which is what this audience is scanning for. */

.traits { border-top: 1px solid var(--rule); }
.trait {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
/* Two measures side by side once there is room; the rule under each item keeps
   the list scannable without turning the content into a grid of cards. */
.traits-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 64px);
}
@media (max-width: 820px) {
  .traits-split { grid-template-columns: minmax(0, 1fr); }
}

/* A screenshot given the full measure, so the interface in it is legible.
   Beside a column of text these read as decoration; at this width they read as
   evidence that the product exists. */
.showcase { margin-top: clamp(38px, 5vw, 58px); }
.showcase-note { margin-top: 14px; }
.trait h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 5px;
}
.trait p { font-size: 14.5px; line-height: 1.58; color: var(--slate); max-width: 58ch; }

.on-ink .traits, .on-ink .trait { border-color: var(--ink-line); }
.on-ink .trait h3 { color: #fff; }
.on-ink .trait p { color: var(--on-ink-muted); }

/* ------------------------------------------------------------- editor -- */
/* The form editor is rebuilt in markup rather than shown as a capture. Its
   content is customer data, not interface strings, so a capture of a Polish
   brand's form reads as half-translated on the English page. Rebuilt, each
   language carries its own field labels, and it stays crisp and reflows. */

.editor { background: var(--card); }

/* Full panel chrome — sidebar and top bar — so the view reads as the product
   and not as an isolated list of fields. */
.panel { display: grid; grid-template-columns: 228px minmax(0, 1fr); }
.panel-side { border-right: 1px solid var(--rule); background: #FBFCFD; display: flex; flex-direction: column; }
.panel-brandline { display: flex; align-items: center; gap: 10px; padding: 15px 17px; border-bottom: 1px solid var(--rule); }
.panel-brandline svg { width: 30px; height: 30px; flex: none; }
.panel-brandline b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.3; }
.panel-brandline em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.panel-nav { flex: 1; padding: 12px 10px; }
.panel-group { font-size: 11px; font-weight: 600; color: var(--muted); padding: 11px 8px 5px; }
.panel-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--slate);
}
.panel-link svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.panel-link-on { background: #EDF1F6; color: var(--ink); font-weight: 600; }
.panel-link-on svg { color: var(--slate); }
.brand-tile {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.panel-count { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.panel-user { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--rule); }
.panel-avatar {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #E2E8F0;
  color: var(--slate);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.panel-user b { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.panel-user em { font-style: normal; font-size: 11px; color: var(--muted); }

.panel-top { display: flex; align-items: center; gap: 13px; padding: 11px 20px; border-bottom: 1px solid var(--rule); }
.panel-top > svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.panel-crumbs { font-size: 13px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-crumbs b { color: var(--ink); font-weight: 600; }
.panel-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 6px 9px;
  min-width: 200px;
  font-size: 12.5px;
  color: var(--muted);
}
.panel-search svg { width: 13px; height: 13px; flex: none; }
.panel-kbd { margin-left: auto; font-family: var(--mono); font-size: 10px; background: #EEF2F6; border-radius: 4px; padding: 1px 5px; }

@media (max-width: 880px) {
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel-side { display: none; }
  .panel-search { display: none; }
}

.editor-head { padding: 22px 24px 18px; }
.editor-crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 11px; }
.editor-titleline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.editor-titleline h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.pill-live {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--authentic-ink);
  background: var(--authentic-bg);
  border: 1px solid var(--authentic-line);
  border-radius: 999px;
  padding: 3px 10px;
}
.editor-note { margin-top: 9px; font-size: 13.5px; line-height: 1.55; color: var(--slate); max-width: 62ch; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.mini {
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 7px;
  padding: 6px 11px;
  border: 1px solid var(--rule);
  color: var(--slate);
  background: var(--card);
  white-space: nowrap;
}
.mini-dark { background: var(--ink); border-color: var(--ink); color: #fff; }

.editor-tabs {
  display: flex;
  gap: 6px;
  padding: 0 24px 14px;
  border-bottom: 1px solid var(--rule);
}
.tab { font-size: 13px; font-weight: 600; color: var(--muted); padding: 5px 11px; border-radius: 7px; }
.tab-on { background: #EEF2F6; color: var(--ink); }
.tab span { font-weight: 700; opacity: 0.7; }

.fields { padding: 16px 24px 24px; display: grid; gap: 8px; }
.field {
  display: grid;
  grid-template-columns: 12px 32px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  padding: 10px 14px;
}
.field svg { display: block; }
.grip { width: 12px; height: 16px; color: #C3CDD9; }
.ficon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EFF3F7;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ficon svg { width: 15px; height: 15px; }
.fname {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.fmeta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 6px;
  background: #EEF2F6;
  color: var(--muted);
}
/* The attachment field is the one the pipeline hangs off — worth marking. */
.badge-verify { background: var(--sky-pale); color: var(--sky-deep); }
.field-more {
  display: block;
  text-align: center;
  border-style: dashed;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .editor-head, .editor-tabs, .fields { padding-inline: 16px; }
  .editor-titleline h3 { font-size: 19px; }
  .field { grid-template-columns: 32px minmax(0, 1fr); gap: 11px; }
  .field .grip { display: none; }
}

/* A printed A4 document, shown as one. The report is the artefact a customer
   attaches to a case file, so it is presented as paper rather than as a tile. */
.paper img {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 26px 54px -30px rgba(15, 23, 42, 0.45);
}
.paper figcaption { margin-top: 14px; }

/* ----------------------------------------------------------- pipeline -- */
/* Numbered, because the stages really are a sequence: each one runs in order
   and the aggregate takes the strongest severity. */

.stages-list { counter-reset: stage; }
.stage-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 26px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.stage-row:last-child { border-bottom: 1px solid var(--rule); }
.stage-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  padding-top: 3px;
}
.stage-row h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.stage-row p { font-size: 15px; line-height: 1.6; color: var(--slate); max-width: 78ch; }

/* --------------------------------------------------------------- spec -- */
/* An actual specification table. IT and security read this, not prose. */

.spec { width: 100%; border-collapse: collapse; text-align: left; }
.spec caption { text-align: left; padding-bottom: 14px; }
.spec th, .spec td {
  padding: 15px 20px 15px 0;
  border-bottom: 1px solid var(--ink-line);
  vertical-align: top;
}
.spec th {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  width: 32%;
}
.spec td { font-size: 14.5px; line-height: 1.55; color: var(--on-ink-muted); }
.spec td .t-data { color: #B9C7D8; }
@media (max-width: 720px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: auto; }
  .spec th { border-bottom: 0; padding-bottom: 3px; }
  .spec td { padding-top: 0; padding-bottom: 16px; }
}

/* ------------------------------------------------------------- deploy -- */

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 800px) { .deploy-grid { grid-template-columns: minmax(0, 1fr); } }

.option {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}
.option-lead { border-color: #B9DCF2; box-shadow: 0 18px 40px -26px rgba(3, 105, 161, 0.4); }
.option h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 9px;
}
.option > p { font-size: 15px; line-height: 1.6; color: var(--slate); margin-bottom: 18px; }

.ticks { display: grid; gap: 11px; }
.ticks li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate);
}
.ticks svg { width: 16px; height: 16px; margin-top: 3px; color: var(--authentic); }

/* -------------------------------------------------------------- proof -- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px;
  padding-top: 8px;
}
.proof-item { border-top: 2px solid var(--sky-lit); padding-top: 16px; }
.proof-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.proof-item p { font-size: 14px; line-height: 1.55; color: var(--on-ink-muted); }

/* ---------------------------------------------------------------- cta -- */

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-inner > div:first-child { max-width: 34ch; }
.cta-mail { font-weight: 700; color: var(--sky-lit); }
.cta-mail:hover { color: #7DD3FC; }

/* ------------------------------------------------------------- footer -- */

.foot {
  background: var(--card);
  border-top: 1px solid var(--rule);
  padding-block: 46px 34px;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
}
.foot-links a:hover { color: var(--ink); }

.foot-legal { border-top: 1px solid var(--rule); padding-top: 22px; }
.belka {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 18px;
}
.belka img { width: auto; }
.belka .feng { height: 42px; }
.belka .parp { height: 19px; }

.foot-fund {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 105ch;
}
.foot-co {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ------------------------------------------------------------- motion -- */
/* One orchestrated moment: the hero's regions draw themselves once on load.
   Nothing else on the page animates by itself. */

/* Scoped to the hero: the regions further down the page are already drawn when
   you reach them. The hidden start state is gated behind .js so that without
   JavaScript — and in a full-page screenshot — nothing is ever invisible. */
.js .exhibit-lead .region-group { opacity: 0; animation: region-in 0.5s var(--ease) forwards; }
.js .exhibit-lead .region-group-2 { animation-delay: 0.42s; }
/* Each region path carries pathLength="100", so one dash length traces shapes
   of any real perimeter correctly. */
.js .exhibit-lead .region-shape {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: region-trace 0.85s var(--ease) forwards;
}
.js .exhibit-lead .region-group-2 .region-shape { animation-delay: 0.42s; }

@keyframes region-in { to { opacity: 1; } }
@keyframes region-trace { to { stroke-dashoffset: 0; } }

.js .exhibit-lead .verdict-reveal { opacity: 0; animation: region-in 0.4s var(--ease) 1.15s forwards; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .exhibit-lead .region-group,
  .js .exhibit-lead .verdict-reveal { opacity: 1; animation: none; }
  .js .exhibit-lead .region-shape { stroke-dashoffset: 0; animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
