/* QR & Barcode Scanner — barcode.krayir.xyz
   One accent of light (the red scan line), one accent of UI (the app's blue). */

:root {
  --ink: #0A1026;
  --ink-2: #10183A;
  --ink-3: #1B2550;
  --line: rgba(214, 222, 245, .12);
  --fg: #EEF1F8;
  --muted: #8E98B6;
  --blue: #5B8CFF;
  --blue-hi: #7BA3FF;
  --laser: #FF2A2A;
  --paper: #F2F4F9;
  --paper-ink: #0A1026;
  --paper-muted: #525C78;
  --paper-line: #D6DBE7;

  --sans: 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tall: 'Sofia Sans Extra Condensed', 'Sofia Sans', 'Arial Narrow', sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --section: clamp(96px, 12vw, 168px);
  --radius-btn: 12px;
  --radius-phone: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 18px/1.55 var(--sans);
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--fg); color: var(--ink); border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* Type ------------------------------------------------------------------ */
h1, h2 { font-family: var(--tall); font-weight: 800; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(42px, 5.6vw, 76px); line-height: .94; font-weight: 700; max-width: 16ch; }
h3 { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
h2 + .lead { margin-top: 24px; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-btn);
  background: var(--blue); color: #061033; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--blue-hi); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }

.badge { display: inline-block; border-radius: 10px; }
.badge img { height: 56px; width: auto; }
.badge:hover img { filter: brightness(1.12); }

/* Header ---------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.mark { width: 30px; height: 30px; color: var(--fg); flex: none; }
.brand__name { font-family: var(--tall); font-weight: 700; font-size: 24px; letter-spacing: .005em; white-space: nowrap; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--fg); }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.lang[open] summary, .lang summary:hover { color: var(--fg); border-color: rgba(214, 222, 245, .28); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .6);
}
.lang__menu a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; color: var(--muted); }
.lang__menu a:hover { background: var(--ink-3); color: var(--fg); }
.lang__menu a[aria-current] { color: var(--fg); font-weight: 600; }

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(72px, 9vw, 128px); overflow: clip; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto 35%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(70, 110, 255, .20), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

.decode { position: relative; font-size: clamp(60px, 9.6vw, 140px); line-height: .88; font-weight: 800; max-width: 11ch; }
.decode__text { display: block; }
.decode__bars, .decode__laser { display: none; }
.decode__bars svg { width: 100%; height: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .js .decode__bars { display: block; position: absolute; inset: .06em 0 .02em; color: var(--fg); clip-path: inset(0 0 0 0); }
  .js .decode__text { clip-path: inset(0 0 100% 0); }
  .js .decode__laser {
    display: block; position: absolute; left: -3%; right: -3%; top: 0; height: 3px; border-radius: 2px;
    background: var(--laser); opacity: 0;
    box-shadow: 0 0 10px 2px rgba(255, 42, 42, .7), 0 0 48px 10px rgba(255, 42, 42, .22);
  }
  .js .decode.is-run .decode__text { animation: decode-text 1.5s cubic-bezier(.55, 0, .35, 1) .25s forwards; }
  .js .decode.is-run .decode__bars { animation: decode-bars 1.5s cubic-bezier(.55, 0, .35, 1) .25s forwards; }
  .js .decode.is-run .decode__laser { animation: decode-laser 1.5s cubic-bezier(.55, 0, .35, 1) .25s forwards; }
}
@keyframes decode-text { to { clip-path: inset(0 0 0 0); } }
@keyframes decode-bars { to { clip-path: inset(100% 0 0 0); } }
@keyframes decode-laser {
  0% { top: 0; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero__sub { margin-top: 32px; font-size: clamp(18px, 1.7vw, 22px); color: #B4BCD6; max-width: 46ch; text-wrap: pretty; }

.get { margin-top: 40px; display: flex; align-items: center; gap: 28px; }
.badge--hero img { height: 64px; }
.get__qr { display: flex; align-items: center; gap: 14px; padding-left: 28px; border-left: 1px solid var(--line); }
.get__qr p { font-size: 14px; line-height: 1.4; color: var(--muted); max-width: 22ch; }
.qr-tile { background: #fff; color: var(--ink); padding: 8px; border-radius: 10px; width: 92px; flex: none; position: relative; }
.qr-tile svg { width: 100%; height: auto; }

.proof { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--muted); }
.proof li { display: flex; align-items: center; gap: 6px; }
.proof__star { color: #FFC24B; }

.hero__device { position: relative; display: flex; justify-content: center; }
/* The phone's scan line glows just past the frame. */
.beam {
  position: absolute; top: 47.6%; left: 50%; width: min(520px, 100%); height: 1px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 42, 42, .6) 22%, rgba(255, 42, 42, .6) 78%, transparent);
  box-shadow: 0 0 14px 1px rgba(255, 42, 42, .3);
}

/* Phone ----------------------------------------------------------------- */
.phone {
  position: relative; width: min(340px, 80vw); padding: 9px; border-radius: var(--radius-phone);
  background: linear-gradient(160deg, #2B355C 0%, #151C3B 45%, #0E1430 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4);
}
.phone img { width: 100%; height: auto; border-radius: calc(var(--radius-phone) - 9px); background: #12172b; }
.phone--hero { width: min(360px, 78vw); }

/* Sections -------------------------------------------------------------- */
main > section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.section-head .lead { margin: 0; }

/* Scan */
.scan { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.scan__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.scan__device { display: flex; justify-content: center; }
.specs { margin-top: 48px; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--tall); font-weight: 700; font-size: 28px; line-height: 1.05; }
.specs dd { color: var(--muted); }

/* Actions demo */
.actions { background: var(--ink-2); }
.demo { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.demo__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.demo__tab {
  position: relative; text-align: left; cursor: pointer; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 22px 0 22px 22px; font-family: var(--tall); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1;
  color: #59627F; transition: color .25s var(--ease);
}
.demo__tab::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: currentColor; opacity: .5; transition: background-color .25s, opacity .25s, transform .25s var(--ease);
}
.demo__tab:hover { color: var(--muted); }
.demo__tab[aria-selected='true'] { color: var(--fg); }
.demo__tab[aria-selected='true']::before { background: var(--blue); opacity: 1; transform: scale(1.4); }
.demo__panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.demo__panel[hidden] { display: none; }
.phone--demo { width: min(300px, 70vw); }
.demo__panel:not([hidden]) .phone--demo { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.demo__text p { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; max-width: 30ch; }
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: #CFD6EC;
  border: 1px solid rgba(214, 222, 245, .22); background: rgba(91, 140, 255, .06);
}
.chips li:first-child { background: var(--blue); border-color: var(--blue); color: #061033; font-weight: 600; }
.demo__more { margin-top: 56px; color: var(--muted); max-width: 60ch; }

/* Create */
.create__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.create__copy h3 { margin-top: 44px; }
.types { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.types li { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.ticks { margin-top: 14px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #C5CCE2; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.create__devices { position: relative; display: flex; justify-content: center; min-height: 640px; }
.create__devices .phone { position: absolute; width: min(300px, 62vw); }
.phone--back { right: 2%; top: 0; transform: rotate(4deg); opacity: .55; }
.phone--front { left: 6%; top: 60px; }

/* Formats: a light specimen sheet */
.formats { background: var(--paper); color: var(--paper-ink); }
.formats .lead { color: var(--paper-muted); }
.specimens { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.specimen { padding: 28px 24px 26px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); display: flex; flex-direction: column; }
.specimen__code { height: 84px; display: flex; align-items: flex-end; color: var(--paper-ink); margin-bottom: 26px; }
.specimen__code svg { height: 100%; width: auto; max-width: 100%; }
.specimen h3 { font-family: var(--tall); font-weight: 700; font-size: 28px; line-height: 1; color: var(--paper-ink); letter-spacing: 0; }
.specimen p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--paper-muted); }
.specimen:first-child { background: #fff; }
.specimen--own { padding: 0; background: var(--ink); }
.specimen--own a { flex: 1; display: flex; flex-direction: column; padding: 28px 24px 26px; text-decoration: none; }
.specimen--own .specimen__code { color: var(--fg); }
.specimen--own .mark { width: 84px; height: 84px; transition: transform .3s var(--ease); }
.specimen--own h3 { color: var(--fg); }
.specimen--own p { color: var(--muted); }
.specimen--own a:hover .mark { transform: scale(1.06); }

/* History + permissions */
.history { padding-bottom: 0 !important; background: var(--ink); }
.history__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.history__device { display: flex; justify-content: center; height: 560px; overflow: hidden; align-items: flex-start;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.perm { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px clamp(40px, 6vw, 96px); padding-block: var(--section); border-top: 1px solid var(--line); }
.perm h2 { font-size: clamp(36px, 4.4vw, 58px); }
.perm__theme { margin-top: 24px; color: var(--muted); }
.perm__theme strong { color: var(--fg); font-weight: 600; }

/* FAQ */
.faq { background: var(--ink-2); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq h2 { position: sticky; top: 108px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 24px 48px 24px 0;
  font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; background: var(--muted);
  transition: transform .3s var(--ease), background-color .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--fg); }
.faq details p { padding: 0 48px 28px 0; color: var(--muted); max-width: 62ch; }

/* CTA */
.cta { position: relative; overflow: clip; }
.cta::before { content: ''; position: absolute; inset: 0 0 0 40%; background: radial-gradient(closest-side, rgba(70, 110, 255, .16), transparent 70%); pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(56px, 8vw, 120px); line-height: .88; font-weight: 800; max-width: 12ch; }
.badge--cta { margin-top: 40px; }
.badge--cta img { height: 64px; }
.cta__qr { display: flex; justify-content: center; }
.qr-tile--big { width: min(300px, 100%); padding: 22px; border-radius: 28px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.qr-tile__laser {
  position: absolute; left: -6%; right: -6%; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--laser);
  box-shadow: 0 0 0 8px rgba(255, 42, 42, .18), 0 0 30px 6px rgba(255, 42, 42, .45);
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 56px 40px; font-size: 15px; color: var(--muted); }
.foot__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.foot__brand { display: flex; gap: 14px; align-items: flex-start; }
.foot__brand p { color: var(--fg); font-weight: 600; line-height: 1.4; }
.foot__brand span { color: var(--muted); font-weight: 400; }
.mark--foot { width: 40px; height: 40px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--fg); }
.foot__links { display: grid; gap: 8px; }
.foot__langs { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot__langs a[aria-current] { color: var(--fg); }
.foot__legal { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: #626B88; }

/* Language suggestion */
.banner {
  position: fixed; z-index: 40; right: 20px; bottom: 20px; max-width: 360px;
  display: grid; grid-template-columns: 1fr auto; gap: 14px 12px; align-items: center;
  padding: 18px 18px 18px 20px; border-radius: 16px; background: var(--ink-3); border: 1px solid rgba(214, 222, 245, .18);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); animation: panel-in .4s var(--ease);
}
.banner[hidden] { display: none; }
.banner__text { grid-column: 1; font-size: 15px; font-weight: 500; }
.banner__go { grid-column: 1; justify-self: start; }
.banner__close { grid-column: 2; grid-row: 1; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; cursor: pointer; position: relative; }
.banner__close:hover { background: rgba(255, 255, 255, .08); }
.banner__x::before, .banner__x::after { content: ''; position: absolute; left: 9px; top: 15px; width: 14px; height: 2px; background: var(--muted); transform: rotate(45deg); }
.banner__x::after { transform: rotate(-45deg); }

/* Privacy */
.doc { max-width: calc(760px + var(--gutter) * 2); padding-block: 56px 120px; }
.doc__back { font-size: 15px; color: var(--muted); text-decoration: none; }
.doc__back:hover { color: var(--fg); }
.doc h1 { margin-top: 28px; font-size: clamp(52px, 8vw, 96px); line-height: .9; }
.doc__app { margin-top: 18px; color: var(--muted); }
.doc__note { margin-top: 12px; color: var(--muted); font-style: italic; }
.doc__body { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--line); color: #C5CCE2; line-height: 1.7; }
.doc__body h2 { margin-top: 48px; font-size: 34px; line-height: 1; color: var(--fg); max-width: none; }
.doc__body p, .doc__body ul { margin-top: 18px; }
.doc__body ul { padding-left: 22px; list-style: disc; }
.doc__body a { color: var(--blue-hi); }

/* 404 */
.nf { padding-block: clamp(80px, 14vw, 180px); display: grid; justify-items: start; gap: 20px; }
.nf__code { position: relative; width: min(520px, 100%); height: 120px; color: var(--fg); opacity: .9; margin-bottom: 24px; }
.nf__code svg { width: 100%; height: 100%; }
.nf__laser { position: absolute; left: -4%; right: -4%; top: 50%; height: 3px; background: var(--laser); box-shadow: 0 0 12px 2px rgba(255, 42, 42, .6); }
.nf h1 { font-size: clamp(48px, 7vw, 88px); line-height: .92; }
.nf .btn { margin-top: 16px; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .specimens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .get__qr { display: none; }
}
@media (max-width: 900px) {
  .hero__grid, .scan__grid, .create__grid, .history__grid, .perm, .faq__grid, .cta__grid, .section-head, .demo { grid-template-columns: minmax(0, 1fr); }
  .hero__device { order: 2; margin-top: 16px; }
  .decode { max-width: 12ch; }
  .scan__device { order: 2; }
  .demo__tabs { flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .demo__tab { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-family: var(--sans); font-size: 16px; font-weight: 600; }
  .demo__tab::before { display: none; }
  .demo__tab[aria-selected='true'] { background: var(--fg); color: var(--ink); border-color: var(--fg); }
  .demo__panel { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .demo__text { justify-self: stretch; }
  .create__devices { min-height: 0; height: 600px; }
  .faq h2 { position: static; }
  .cta__qr { display: none; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .top__in { gap: 10px; height: 60px; }
  .brand__name { font-size: 21px; }
  .top .btn--small { padding: 0 12px; }
  .specs > div { grid-template-columns: minmax(0, 1fr); }
  .specimens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specimen, .specimen--own a { padding: 22px 16px; }
  .specimen--own .mark { width: 64px; height: 64px; }
  .specimen__code { height: 64px; }
  .specimen h3 { font-size: 24px; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .create__devices { height: 520px; }
  .create__devices .phone { width: 240px; }
  .phone--front { left: 0; }
  .phone--back { right: 0; }
  .history__device { height: 460px; }
  .banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (max-width: 420px) {
  .brand__name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
