/* QR Code Ready: ultramarine + ink + coral, Archivo in its wide widths. */
:root {
  --ultra: #2B2EFF;
  --ultra-2: #1F22D6;
  --ink: #0D0D12;
  --paper: #FFFFFF;
  --mist: #F1F2F6;
  --line: #E3E5EC;
  --coral: #FF5A4E;
  --muted: #5A5D6E;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body, main { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 999px; padding: 15px 24px; font: 700 15.5px/1 var(--f); font-stretch: 110%; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, transform .2s; will-change: transform; }
.btn--sm { padding: 11px 17px; font-size: 14px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2a35; }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: #F0453A; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }

/* Header */
.top { position: fixed; z-index: 100; top: 12px; left: 50%; transform: translateX(-50%); width: min(1200px, calc(100% - 24px)); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); box-shadow: 0 1px 0 rgba(13, 13, 18, .06), 0 10px 30px -12px rgba(13, 13, 18, .25); transition: transform .35s var(--ease); }
.top.is-hidden { transform: translate(-50%, -140%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 16px/1 var(--f); font-stretch: 112%; white-space: nowrap; }
.brand b { font-weight: 850; }
.brand__mark { position: relative; width: 24px; height: 24px; flex: none; }
.brand__mark i { position: absolute; width: 10px; height: 10px; border: 2.5px solid var(--ultra); border-radius: 2px; }
.brand__mark i:nth-child(1) { left: 0; top: 0; }
.brand__mark i:nth-child(2) { right: 0; top: 0; }
.brand__mark i:nth-child(3) { left: 0; bottom: 0; border-color: var(--coral); }
.top__nav { margin-left: auto; display: flex; gap: 2px; }
.top__nav a { text-decoration: none; font-weight: 550; font-size: 15px; padding: 9px 13px; border-radius: 999px; color: #2c2e3a; }
.top__nav a:hover { background: var(--mist); }

/* Hero / generator */
.hero { position: relative; min-height: 100svh; background: var(--ultra); color: #fff; padding: 92px max(20px, calc(50vw - 610px)) 40px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: min(26px, 3svh); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg canvas { width: 100%; height: 100%; }
.hero__copy { display: flex; align-items: end; justify-content: space-between; gap: 12px 48px; flex-wrap: wrap; }
.h1 { font: 900 min(7.4vw, 10.5svh, 112px)/.9 var(--f); font-stretch: 125%; letter-spacing: -.035em; text-transform: none; }
.h1 .ln { display: block; overflow: hidden; padding: 0 .08em .24em; margin: 0 -.08em -.24em; }
.h1 .ln + .ln { margin-top: 0; }
.is-revealed { overflow: visible !important; }
.h1 .ln > span { display: inline-block; }
.hero__sub { max-width: 40ch; font-size: min(18px, 2.4svh); color: rgba(255, 255, 255, .85); margin-bottom: .4em; }
.gen { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; background: #fff; color: var(--ink); border-radius: 26px; padding: 18px; box-shadow: 0 40px 90px -30px rgba(5, 6, 60, .6); }
.gen__panel { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { border: 0; cursor: pointer; padding: 9px 14px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.tabs button:hover { background: #e4e6ee; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.fields { display: flex; flex-direction: column; gap: 12px; }
.fset { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.fset.is-on { display: grid; }
.f { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.f--wide { grid-column: 1 / -1; }
.f input, .f select, .f textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; font-weight: 500; color: var(--ink); background: #fff; transition: border-color .2s; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ultra); box-shadow: 0 0 0 3px rgba(43, 46, 255, .15); }
.fset[data-for="url"] .f input { font-size: 18px; padding: 15px 16px; }
.design { border-top: 1px solid var(--line); padding-top: 10px; }
.design summary { cursor: pointer; font-weight: 700; font-size: 14.5px; list-style: none; display: flex; align-items: center; gap: 8px; }
.design summary::-webkit-details-marker { display: none; }
.design summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.design[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.design__grid { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; padding-top: 12px; }
.sw { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.sw input { width: 38px; height: 38px; padding: 0; border: 1.5px solid var(--line); border-radius: 10px; background: none; cursor: pointer; }
.sw input::-webkit-color-swatch-wrapper { padding: 3px; }
.sw input::-webkit-color-swatch { border: 0; border-radius: 6px; }
.seg { border: 0; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; background: var(--mist); border-radius: 999px; padding: 4px; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg input:focus-visible + span { outline: 2px solid var(--ultra); }
.logo { position: relative; cursor: pointer; }
.logo input { position: absolute; opacity: 0; inset: 0; cursor: pointer; width: 100%; }
.logo span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px dashed #b9bccb; font-size: 13.5px; font-weight: 600; }
.logo:hover span { border-color: var(--ultra); color: var(--ultra); }
.logo-x { border: 0; background: none; cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; padding: 8px 0; }
.gen__stage { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.stage { position: relative; flex: 1; display: grid; place-items: center; background: var(--mist); border-radius: 18px; padding: 18px; min-height: 0; }
.stage canvas { width: min(100%, 330px, calc(100svh - 360px)); min-width: 160px; height: auto; aspect-ratio: 1; border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(13, 13, 18, .35); }
.stage__warn { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #FFF1D6; color: #7A4B00; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.dl { display: flex; gap: 8px; align-items: center; }
.dl__size { display: flex; flex-direction: column; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-right: auto; }
.dl__size select { border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 10px; font-weight: 600; background: #fff; }
.dl .btn { padding: 14px 18px; }

/* Marquee */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 20px 0; }
.marquee__row { display: flex; align-items: center; gap: 28px; width: max-content; animation: mq 32s linear infinite; font: 800 clamp(22px, 3vw, 38px)/1 var(--f); font-stretch: 120%; letter-spacing: -.02em; }
.marquee i { width: 14px; height: 14px; border: 3px solid var(--coral); border-radius: 3px; flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Section heads */
.h2 { font: 900 clamp(34px, 5.4vw, 72px)/.95 var(--f); font-stretch: 118%; letter-spacing: -.035em; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 48px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head p { max-width: 42ch; color: var(--muted); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .24em; margin: 0 -.06em -.24em; }
.split .w > span { display: inline-block; }

/* Anatomy */
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); padding: clamp(80px, 12svh, 140px) max(20px, calc(50vw - 610px)); background: var(--mist); }
.anatomy__sticky { position: relative; }
.anatomy__qr { position: sticky; top: calc(50svh - min(260px, 40svh)); width: min(100%, 520px, 80svh); aspect-ratio: 1; margin: 0 auto; background: #fff; border-radius: 28px; padding: 6%; box-shadow: 0 30px 70px -30px rgba(13, 13, 18, .35); }
.anatomy__qr canvas { width: 100%; height: 100%; }
.anatomy__steps { display: flex; flex-direction: column; gap: 0; }
.anatomy__steps .h2 { margin-bottom: 8svh; }
.astep { min-height: 46svh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 22px; border-left: 3px solid var(--line); transition: border-color .3s; }
.astep h3 { font: 800 clamp(24px, 2.6vw, 34px)/1.05 var(--f); font-stretch: 115%; letter-spacing: -.02em; margin-bottom: 10px; color: #9a9db0; transition: color .3s; }
.astep p { max-width: 44ch; color: var(--muted); }
.astep.is-on { border-left-color: var(--ultra); }
.astep.is-on h3 { color: var(--ink); }

/* Uses: stacking cards */
.uses { padding: clamp(80px, 12svh, 140px) max(20px, calc(50vw - 610px)) 40px; }
.cards { display: flex; flex-direction: column; gap: 22px; }
.card { position: sticky; top: 92px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; min-height: min(460px, calc(100svh - 130px)); max-height: calc(100svh - 116px); padding: clamp(24px, 4vw, 52px); border-radius: 28px; background: var(--c); transform-origin: 50% 0; }
.card h3 { font: 900 clamp(30px, 4vw, 54px)/.95 var(--f); font-stretch: 118%; letter-spacing: -.03em; margin-bottom: 16px; }
.card p { max-width: 40ch; color: #343746; margin-bottom: 24px; }
.card__vis { height: min(340px, calc(100svh - 230px)); display: grid; place-items: center; }
.mini { display: block; width: 74px; height: 74px; background:
  linear-gradient(var(--ink), var(--ink)) 0 0/22px 22px no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 0/22px 22px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 100%/22px 22px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px) 30px 30px/44px 44px no-repeat; border-radius: 4px; }
.tent { width: 210px; height: 250px; background: #fff; border-radius: 16px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .3); display: grid; place-items: center; align-content: center; gap: 18px; transform: perspective(700px) rotateX(10deg); }
.tent b { font-weight: 800; font-stretch: 112%; }
.tent .mini { width: 110px; height: 110px; background-size: 32px 32px, 32px 32px, 32px 32px, 66px 66px; background-position: 0 0, 100% 0, 0 100%, 44px 44px; }
.phone { position: relative; width: 190px; height: 300px; border-radius: 34px; background: var(--ink); color: #fff; display: grid; place-items: center; align-content: center; gap: 0; padding: 20px; text-align: center; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); }
.phone b { margin-top: 90px; font-size: 14px; background: #fff; color: var(--ink); padding: 10px 12px; border-radius: 12px; }
.wave { position: absolute; top: 70px; left: 50%; width: 30px; height: 30px; margin-left: -15px; border: 4px solid #8D90FF; border-color: #8D90FF transparent transparent; border-radius: 50%; }
.wave:nth-child(2) { width: 56px; height: 56px; margin-left: -28px; top: 57px; }
.wave:nth-child(3) { width: 82px; height: 82px; margin-left: -41px; top: 44px; }
.bcard { width: 280px; height: 165px; background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .3); padding: 22px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-content: center; transform: rotate(-6deg); }
.bcard .mini { grid-row: span 2; }
.bcard b { align-self: end; font-size: 18px; font-weight: 800; }
.bcard small { color: var(--muted); }
.vis-chat { display: flex; flex-direction: column; gap: 12px; align-items: stretch; justify-content: center; width: min(320px, 100%); margin: 0 auto; }
.bubble { align-self: flex-start; background: #fff; padding: 12px 16px; border-radius: 18px 18px 18px 4px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .25); font-weight: 500; }
.bubble--me { align-self: flex-end; background: #25D366; color: #fff; border-radius: 18px 18px 4px 18px; }
.box { width: 190px; height: 190px; background: #C59A6B; border-radius: 12px; display: grid; place-items: center; transform: perspective(800px) rotateY(-24deg) rotateX(10deg); box-shadow: 30px 30px 50px -20px rgba(0, 0, 0, .35); }
.box .mini { background-color: #fff; padding: 10px; box-sizing: content-box; }
.stars { display: flex; gap: 10px; }
.stars i { width: 44px; height: 44px; background: #FFB800; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* Print size */
.print { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: clamp(80px, 12svh, 140px) max(20px, calc(50vw - 610px)); }
.print__copy p { color: var(--muted); max-width: 44ch; margin: 18px 0 28px; }
.range { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-weight: 700; max-width: 460px; }
.range output { font-stretch: 115%; color: var(--ultra); }
.range input { width: 100%; accent-color: var(--ultra); height: 28px; }
.print__vis { background: var(--ink); color: #fff; border-radius: 28px; padding: 32px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.ruler { flex: 1; display: grid; place-items: center; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 20px); border-radius: 14px; min-height: 220px; }
.ruler__qr { --s: 60px; width: var(--s); height: var(--s); background: #fff; border-radius: 6px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); transition: width .25s var(--ease), height .25s var(--ease); background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)); background-size: 28% 28%; background-position: 10% 10%, 90% 10%, 10% 90%; background-repeat: no-repeat; }
.print__res { font-size: 20px; }
.print__res b { font: 900 clamp(34px, 4vw, 52px)/1 var(--f); font-stretch: 118%; color: var(--coral); }

/* FAQ */
.faq { padding: clamp(80px, 12svh, 140px) max(20px, calc(50vw - 610px)); background: var(--mist); }
.faq .h2 { margin-bottom: 36px; }
.faq__list { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: #fff; border-radius: 18px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font: 700 clamp(18px, 2vw, 22px)/1.25 var(--f); font-stretch: 108%; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: .8; color: var(--ultra); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq__more { margin-top: 22px; color: var(--muted); }

/* Blog */
.blog { padding: clamp(80px, 12svh, 140px) max(20px, calc(50vw - 610px)); }
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; border: 1.5px solid var(--line); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.post:hover { border-color: var(--ink); transform: translateY(-4px); }
.post__date { font-size: 13px; color: var(--muted); font-weight: 600; }
.post h3 { font: 800 21px/1.15 var(--f); font-stretch: 108%; }
.post p { color: var(--muted); font-size: 15.5px; }

/* Footer */
.foot { background: var(--ultra); color: #fff; padding: clamp(70px, 10svh, 110px) max(20px, calc(50vw - 610px)) 0; overflow: hidden; }
.foot__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.foot__big { font: 900 clamp(34px, 5.6vw, 76px)/.95 var(--f); font-stretch: 120%; letter-spacing: -.035em; max-width: 14ch; }
.foot__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14.5px; }
.foot__row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__row a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.foot__row a:hover { color: #fff; text-decoration: underline; }
.foot__word { font: 900 min(24vw, 360px)/1 var(--f); font-stretch: 125%; letter-spacing: -.05em; text-align: center; white-space: nowrap; color: rgba(255, 255, 255, .1); padding-bottom: .04em; margin-top: 10px; user-select: none; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; z-index: 300; }

/* Responsive */
@media (max-width: 1000px) {
  .top__nav { display: none; }
  .top { gap: 10px; }
  .hero { min-height: auto; padding-top: 88px; align-content: start; }
  .h1 { font-size: min(12.5vw, 84px); }
  .gen { grid-template-columns: 1fr; }
  .gen__stage { order: -1; }
  .stage canvas { width: min(64vw, 280px); }
  .anatomy { grid-template-columns: 1fr; }
  .anatomy__sticky { position: sticky; top: 76px; z-index: 2; }
  .anatomy__qr { position: relative; top: 0; width: min(46vw, 230px); padding: 5%; border-radius: 20px; }
  .anatomy__steps .h2 { order: -1; margin-bottom: 20px; }
  .astep { min-height: 52svh; }
  .print { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand { font-size: 15px; }
  .hero { padding: 84px 14px 28px; }
  .hero__sub { font-size: 16px; }
  .gen { padding: 10px; border-radius: 22px; gap: 12px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; padding: 0 6px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .fset { grid-template-columns: 1fr; }
  .dl .btn { padding: 13px 14px; font-size: 14.5px; }
  .card { grid-template-columns: 1fr; top: 80px; gap: 10px; padding: 24px 22px; max-height: calc(100svh - 96px); }
  .card p { margin-bottom: 16px; font-size: 15.5px; }
  .card__vis { height: clamp(130px, calc(100svh - 500px), 240px); order: -1; }
  .card__vis > * { transform: scale(.72); }
  .print__vis { min-height: 280px; padding: 22px; }
  .uses, .anatomy, .print, .faq, .blog { padding-left: 16px; padding-right: 16px; }
  .foot { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; }
  .btn, .post, .astep { transition: none; }
}

/* v2: hero fits the viewport on desktop, real mini QR codes, softer card dim */
@media (min-width: 1001px) {
  .hero { padding-top: 88px; padding-bottom: 28px; gap: min(20px, 2.4svh); }
  .h1 { font-size: min(5.4vw, 8.4svh, 92px); }
  .h1 .ln { display: inline-block; }
  .hero__copy { align-items: center; }
  .hero__sub { margin: 0; }
  .gen { padding: 16px; }
  .stage { padding: 14px; }
  .stage canvas { width: min(100%, 340px, calc(100svh - 400px)); }
}
.mini { background: none !important; display: grid; place-items: center; }
.mini canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.stage__ok { position: absolute; top: 10px; left: 10px; font-size: 12.5px; font-weight: 700; padding: 6px 10px 6px 26px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); max-width: calc(100% - 20px); }
.stage__ok::before { content: ""; position: absolute; left: 9px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; }
.stage__ok.is-pass { color: #0A7A47; }
.stage__ok.is-pass::before { background: #12B76A; }
.stage__ok.is-fail { color: #A23B00; background: #FFF1D6; }
.stage__ok.is-fail::before { background: #F08A00; }
.ruler__qr.mini { padding: 6%; }

/* Small phones: the CTA always stays inside the pill (16/11) */
@media (max-width: 400px) {
  .top { gap: 8px; padding-left: 12px; }
  .brand > span:not(.brand__mark) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .top .btn { margin-left: auto; }
}
