/* MiseGuard landing page 1.0.0, part 1 of 2: fonts, colours, header, hero and its drawing, the counters.
   Art direction D "Blueprint Pop" (approved 27 October 2026; docs/DESIGN-LOG.md). Not the app's tokens and not the
   SEOmise site's look. Colours checked for contrast: ink and graphite on paper and sheet pass AA for body text; magenta
   carries white text at 4.6:1 and is only used for large type or with ink outlines. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/unbounded-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format("woff2"); }
/* Fallbacks sized to the web fonts' widths, so the text keeps its place when the fonts arrive (no layout shift). */
@font-face { font-family: "Unbounded Fallback"; src: local("Arial Black"), local("Arial Bold"), local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 22%; }
@font-face { font-family: "Plex Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 101%; ascent-override: 98%; descent-override: 26%; }
@font-face { font-family: "Plex Mono Fallback"; src: local("Courier New"), local("Menlo"); size-adjust: 100%; ascent-override: 102%; descent-override: 27%; }

:root {
  --paper: #e8ecef; --sheet: #f6f8f9; --ink: #0c1622; --graphite: #4c5a68; --rule: #b4bfc9; --blue: #1d3fd8; --blue-wash: #dce3fb;
  --magenta: #e0245e; --magenta-ink: #b5144a; --butter: #ffd84d; --blue-lt: #9fb0ff;
  --disp: "Unbounded", "Unbounded Fallback", "Arial Black", sans-serif;
  --sans: "IBM Plex Sans", "Plex Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Plex Mono Fallback", ui-monospace, Menlo, monospace;
  --pad: 48px; --hd: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hd) + 12px); -webkit-text-size-adjust: 100%; }
body.mg { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); overflow-x: clip; }
:where(.mg) a { color: inherit; }
:where(.mg) button { font: inherit; color: inherit; }
.mg :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.mg h1, .mg h2, .mg h3 { text-wrap: balance; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mg-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff !important; padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.mg-skip:focus { top: 12px; }
.mg-mono { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.mg-wrap { padding-left: var(--pad); padding-right: var(--pad); max-width: 1440px; margin-left: auto; margin-right: auto; position: relative; }
.mg-g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.mg-coming { display: inline-block; vertical-align: middle; font: 600 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--butter); color: var(--ink); border: 1.5px solid var(--ink); padding: 3px 6px; border-radius: 4px; }
.mg-chip-beta { display: inline-block; vertical-align: middle; font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--butter); color: var(--ink); border: 1.5px solid var(--ink); padding: 4px 7px; border-radius: 4px; }

/* Header */
.mg-hd { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); }
.mg-hd-in { display: flex; align-items: center; height: var(--hd); gap: 18px; }
.mg-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--disp); letter-spacing: -.02em; }
.mg-logo svg { width: 32px; height: 32px; flex: none; }
.mg-draw { stroke-dasharray: 90; stroke-dashoffset: 90; animation: mg-draw 1.4s .3s ease-out forwards; }
@keyframes mg-draw { to { stroke-dashoffset: 0; } }
.mg-by { color: var(--graphite); text-decoration: none; font-size: 11px; }
.mg-by:hover { color: var(--blue); text-decoration: underline; }
.mg-beta { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--butter); border: 1.5px solid var(--ink); padding: 5px 8px; border-radius: 4px; }
.mg-nav { display: flex; gap: 2px; margin-left: auto; }
.mg-nav a { padding: 9px 12px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 6px; }
.mg-nav a:hover { background: var(--blue-wash); color: var(--blue); }
.mg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 10px; background: var(--magenta); color: #fff !important; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; font: 600 16px/1.2 var(--sans); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.mg-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.mg-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.mg-btn svg { width: 16px; height: 16px; flex: none; }
.mg-btn-alt { background: var(--sheet); color: var(--ink) !important; }
.mg-btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.mg-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 8px; border: 2px solid var(--ink); background: var(--sheet); cursor: pointer; position: relative; flex: none; }
.mg-burger i, .mg-burger i::before, .mg-burger i::after { position: absolute; left: 10px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .25s; }
.mg-burger i { top: 19px; }
.mg-burger i::before { left: 0; top: -6px; }
.mg-burger i::after { left: 0; top: 6px; }
.mg-burger[aria-expanded="true"] i { background: transparent; }
.mg-burger[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.mg-burger[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.mg-oc { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); color: var(--sheet); padding: 8px 20px 20px; border-bottom: 2px solid var(--ink); }
.mg-oc[hidden] { display: none; }
.mg-oc a { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgba(246, 248, 249, .18); text-decoration: none; font: 700 21px/1.1 var(--disp); letter-spacing: -.02em; }
.mg-oc a .mg-mono { color: var(--blue-lt); }

/* Hero */
.mg-hero { padding-top: 26px; padding-bottom: 40px; }
.mg-meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); color: var(--graphite); }
.mg-pause { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--blue); font: inherit; text-transform: inherit; letter-spacing: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mg-paused *, .mg-paused *::before, .mg-paused *::after { animation-play-state: paused !important; }
.mg-hero-body { padding-top: 40px; align-items: center; }
.mg-hero-copy { grid-column: 1 / span 6; }
.mg h1 { margin: 0 0 24px; font: 800 60px/1.04 var(--disp); letter-spacing: -.035em; }
.mg-rl { display: block; }
.mg-rw { display: inline-block; position: relative; color: var(--magenta-ink); white-space: nowrap; }
.mg-rw span { display: inline-block; transition: transform .45s cubic-bezier(.5, -0.4, .3, 1.4), opacity .3s; }
.mg-rw span.is-out { transform: translateY(-50%); opacity: 0; }
.mg-rw span.is-in { transform: translateY(50%); opacity: 0; transition: none; }
.mg-rw::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--blue); transform-origin: 0 50%; animation: mg-mark 2.2s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes mg-mark { 0% { transform: scaleX(0); } 25%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
.mg-lede { margin: 0 0 26px; font-size: 18px; color: #24313f; max-width: 600px; }
.mg-lede strong { font-weight: 600; color: var(--ink); }
.mg-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.mg-fine { margin: 18px 0 0; font: 13px/1.5 var(--mono); color: var(--graphite); }

/* The drawn product with its callouts */
.mg-fig { grid-column: 7 / span 6; margin: 0; border: 1px solid var(--ink); background: var(--sheet); }
.mg-fig-hd { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--rule); color: var(--graphite); }
.mg-stage-w { position: relative; height: 620px; overflow: hidden; }
.mg-stage { position: absolute; left: 0; top: 0; width: 660px; height: 620px;
  background-image: linear-gradient(rgba(29, 63, 216, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 63, 216, .08) 1px, transparent 1px); background-size: 22px 22px; }
.mg-dev { position: absolute; transition: transform .3s ease-out; }
.mg-win { left: 300px; top: 46px; width: 345px; height: 290px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.mg-win-bar { height: 30px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; gap: 6px; padding: 0 10px; background: var(--paper); }
.mg-win-bar i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); display: block; }
.mg-win-bar span { margin-left: 8px; font: 500 10.5px/1 var(--mono); color: var(--graphite); text-transform: uppercase; letter-spacing: .04em; }
.mg-win-body { padding: 12px 14px; }
.mg-win-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.mg-win-h b { font: 700 14px/1 var(--disp); }
.mg-win-h small { font-size: 10px; color: var(--graphite); }
.mg-srow { display: grid; grid-template-columns: 2.3fr .55fr .65fr .9fr .55fr; gap: 5px; align-items: center; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.mg-srow > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.mg-srow-h { font-size: 9.5px; color: var(--graphite); border-top: 0; }
.mg-ok, .mg-warn { display: inline-flex; align-items: center; gap: 5px; }
.mg-ok::before, .mg-warn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.mg-warn::before { background: var(--magenta); }
.mg-sample { position: absolute; right: 8px; bottom: 8px; font-size: 9.5px; background: var(--ink); color: #fff; padding: 4px 6px; border-radius: 4px; }
.mg-phone { left: 52px; top: 130px; width: 226px; height: 452px; border-radius: 36px; background: var(--ink); padding: 9px; box-shadow: 10px 10px 0 rgba(12, 22, 34, .18); }
.mg-scr { width: 100%; height: 100%; border-radius: 28px; background: var(--sheet); overflow: hidden; position: relative; padding: 32px 12px 12px; }
.mg-scr::before { content: ""; position: absolute; top: 8px; left: 50%; width: 60px; height: 15px; margin-left: -30px; border-radius: 10px; background: var(--ink); }
.mg-app-h { font: 700 13px/1 var(--disp); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.mg-ring { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; padding: 9px; margin-bottom: 8px; }
.mg-ring svg { width: 50px; height: 50px; flex: none; transform: rotate(-90deg); }
.mg-ring .tr { fill: none; stroke: var(--blue-wash); stroke-width: 7; }
.mg-ring .pr { fill: none; stroke: var(--blue); stroke-width: 7; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; animation: mg-ring 5s linear infinite; }
@keyframes mg-ring { to { stroke-dashoffset: 0; } }
.mg-ring b { display: block; font-weight: 600; font-size: 12px; line-height: 1.2; }
.mg-ring small { font-size: 10px; color: var(--graphite); }
.mg-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mg-tile { background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; padding: 8px; font-weight: 600; font-size: 10px; line-height: 1.25; min-height: 64px; }
.mg-tile i { display: block; height: 22px; margin-bottom: 6px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--blue) 0 5px, transparent 5px 9px); opacity: .85; }
.mg-tile:nth-child(2) i { background: linear-gradient(90deg, var(--magenta) 0 40%, var(--blue-wash) 40%); }
.mg-tile:nth-child(3) i { background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 7px); }
.mg-tile:nth-child(4) i { background: var(--blue-wash); border: 1.5px dashed var(--blue); }
.mg-alert { margin-top: 8px; background: var(--ink); color: #fff; border-radius: 12px; padding: 9px 10px; font-weight: 600; font-size: 10.5px; line-height: 1.3; display: flex; gap: 8px; align-items: center; }
.mg-alert i { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); flex: none; }
.mg-ext { left: 400px; top: 380px; width: 230px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--ink); padding: 12px 14px; }
.mg-ext-h { display: flex; align-items: center; gap: 8px; font: 700 12px/1 var(--disp); margin-top: 4px; }
.mg-ext-h span { width: 20px; height: 20px; border-radius: 5px; background: var(--magenta); border: 1.5px solid var(--ink); }
.mg-ext p { margin: 8px 0 0; font-size: 12px; color: #24313f; line-height: 1.4; }
.mg-ext .mg-coming { position: absolute; top: -11px; right: 10px; }
.mg-plug { left: 330px; top: 548px; display: flex; gap: 6px; }
.mg-plug span { font-size: 11px; background: #fff; border: 1.5px solid var(--ink); padding: 8px 10px; border-radius: 30px; }
.mg-ann { position: absolute; inset: 0; width: 660px; height: 620px; pointer-events: none; }
.mg-ann .dim { stroke: var(--blue); stroke-width: 1; fill: none; }
.mg-ann .dimt { fill: var(--blue); font: 500 10.5px var(--mono); letter-spacing: .05em; }
.mg-ann .ld { stroke: var(--graphite); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
.mg-ann .ld.is-on { stroke: var(--magenta); stroke-dasharray: none; stroke-width: 1.6; }
.mg-hot { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sheet); font: 600 12px/1 var(--mono); cursor: pointer; padding: 0; z-index: 3; transition: background .2s, color .2s; }
.mg-hot:hover, .mg-hot.is-on { background: var(--magenta-ink); color: #fff; }
.mg-hot.is-on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--magenta); animation: mg-pulse 1.6s ease-out infinite; }
@keyframes mg-pulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.mg-cap { display: grid; grid-template-columns: 64px 1fr; border-top: 1px solid var(--ink); min-height: 92px; }
.mg-cap-k { display: flex; align-items: center; justify-content: center; font: 800 30px/1 var(--disp); color: #fff; background: var(--magenta-ink); }
.mg-cap-t { padding: 12px 16px; }
.mg-cap-t b { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.mg-cap-t span { font-size: 15px; color: #24313f; }
.mg-cap.is-swap .mg-cap-t { animation: mg-fade .35s ease-out; }
@keyframes mg-fade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

/* Counters: product facts from the settings */
.mg-strip { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--sheet); }
.mg-cell { grid-column: span 2; padding: 22px 0 22px 16px; border-left: 1px solid var(--rule); }
.mg-cell p { margin: 8px 0 0; color: var(--graphite); font-size: 14px; line-height: 1.35; max-width: 24ch; }
.mg-cell .mg-num { margin: 0; color: var(--ink); font: 800 50px/1 var(--disp); letter-spacing: -.04em; max-width: none; }
.mg-num small { font: 600 14px/1 var(--mono); margin-left: 6px; letter-spacing: .04em; text-transform: uppercase; }
.mg-cyc { grid-column: span 4; display: flex; gap: 16px; align-items: center; border-left: 0; padding-left: 0; }
.mg-cyc svg { width: 84px; height: 84px; flex: none; transform: rotate(-90deg); }
.mg-cyc .tr { fill: none; stroke: var(--rule); stroke-width: 6; }
.mg-cyc .sw { fill: none; stroke: var(--magenta); stroke-width: 6; stroke-dasharray: 238.8; stroke-dashoffset: 238.8; animation: mg-sweep 10s linear infinite; }
@keyframes mg-sweep { to { stroke-dashoffset: 0; } }
.mg-cyc b { display: block; font-size: 12.5px; font-weight: 600; }
.mg-cyc ol { margin: 6px 0 0; padding: 0; list-style: none; color: var(--graphite); font-size: 14px; }
.mg-cyc li.is-on { color: var(--ink); font-weight: 600; }
.mg-cyc li::before { content: "\2014  "; color: var(--rule); }
.mg-cyc li.is-on::before { color: var(--magenta); }

@media (max-width: 1180px) {
  :root { --pad: 28px; }
  .mg h1 { font-size: 48px; }
  .mg-hero-copy { grid-column: 1 / -1; }
  .mg-fig { grid-column: 1 / -1; margin-top: 32px; max-width: 662px; }
  .mg-nav { display: none; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; --hd: 62px; }
  .mg-g12 { display: block; }
  .mg-hd-in { gap: 10px; }
  .mg-by, .mg-hd .mg-btn { display: none; }
  .mg-burger { display: block; }
  .mg-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mg-meta > span:first-child { min-height: 2.9em; } /* two lines kept while the fonts arrive */
  .mg-hide-s { display: none; }
  .mg-hero-body { padding-top: 22px; }
  .mg h1 { font-size: 36px; }
  .mg-lede { font-size: 16px; }
  .mg-ctas .mg-btn { flex: 1 1 100%; }
  .mg-fig { margin-top: 28px; }
  .mg-stage-w { height: 335px; }
  .mg-stage { zoom: .54; }
  .mg-hot { width: 52px; height: 52px; margin: -26px 0 0 -26px; font-size: 22px; } /* 28 px on screen at the drawing's .54 scale */
  .mg-cap { grid-template-columns: 48px 1fr; }
  .mg-cap-k { font-size: 22px; }
  .mg-strip .mg-g12 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; }
  .mg-cell { grid-column: auto; padding: 16px 0; border-top: 1px solid var(--rule); border-left: 0; }
  .mg-cyc { grid-column: 1 / -1; border-top: 0; }
  .mg-cell:nth-child(3), .mg-cell:nth-child(5) { border-left: 1px solid var(--rule); padding-left: 14px; }
  .mg-cell .mg-num { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .mg *, .mg *::before, .mg *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .mg-draw { stroke-dashoffset: 0; }
  .mg-ring .pr { stroke-dashoffset: 40; }
  .mg-cyc .sw { stroke-dashoffset: 0; }
  .mg-dev { transform: none !important; }
  .mg-pause { display: none; }
}
