/* Public site of NAFA: wide bold type, pills, flat panels, one bright colour. */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url("inter.woff2") format("woff2"); }
@font-face { font-family: "Archivo Black"; font-style: normal; font-weight: 400; font-display: swap; src: url("archivo-black.woff2") format("woff2"); }

:root {
  --ink: #0B1F22;
  --deep: #04383E;
  --deep-2: #0D4A51;
  --bright: #6FE7E2;
  --bright-2: #55DCD6;
  --brand: #00A9B4;
  --mist: #E8F0EF;
  --line: #CFDDDC;
  --muted: #45595B;
  --on-deep: #D6E8E7;
  --white: #FFFFFF;
  --radius-lg: 32px;
  --radius-md: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 4px; }
.panel-deep :focus-visible, .stage-deep :focus-visible { outline-color: var(--bright); }

.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 40; background: var(--deep); color: var(--white); padding: 10px 18px; border-radius: 999px; }
.skip:focus { left: 16px; }

h1 { font-size: clamp(46px, 7.4vw, 110px); font-weight: 800; line-height: 1.03; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.7vw, 66px); font-weight: 700; line-height: 1.07; letter-spacing: -.015em; text-wrap: balance; }
h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.shout { font-family: "Archivo Black", Inter, Arial, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(min(11.6vw, 42px), 7.6vw, 108px); line-height: .98; letter-spacing: -.015em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--muted); max-width: 40em; text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center;
  background: var(--bright); color: var(--deep); transition: background-color .15s;
}
.btn:hover { background: var(--bright-2); }
.btn-dark { background: var(--deep); color: var(--bright); }
.btn-dark:hover { background: #022A2F; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--deep); color: var(--deep); min-height: 44px; padding: 9px 20px; font-size: 15px; }
.btn-line:hover { background: var(--mist); }
.btn-block { width: 100%; }
.link { font-weight: 600; color: var(--deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 3px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); box-shadow: 0 1.5px 0 var(--mist); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.logo img { width: 92px; height: 46px; object-fit: contain; object-position: left; }
.menu { display: flex; gap: 2px; margin-inline-start: 24px; }
.menu a, .top-end a:not(.btn) { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--deep); text-decoration: none; }
.menu a:hover, .top-end a:not(.btn):hover { background: var(--mist); }
.top-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.top-end .btn { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.sm { display: none; }
.burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 999px; background: var(--mist); color: var(--deep); cursor: pointer; }
.burger svg { margin: auto; }
.sheet { display: none; }

/* Hero */
.hero { padding-block: clamp(28px, 5.4vw, 72px) 0; text-align: center; overflow: hidden; }
.hero .lead { margin: clamp(18px, 2vw, 28px) auto 0; }
.hero .actions { justify-content: center; margin-top: clamp(24px, 3vw, 36px); }
.map { width: min(100%, 680px); margin: clamp(24px, 4vw, 44px) auto 0; }
.map-in { position: relative; aspect-ratio: 760 / 800; }
.map-in > img { width: 100%; height: auto; }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 600; color: var(--deep); white-space: nowrap; }
.pin img { width: 26px; height: 26px; }
.pin-from { left: 14.18%; top: 27.52%; transform: translate(-50%, calc(-100% - 16px)); }
.pin-to { left: 48.21%; top: 49.48%; transform: translate(18px, -50%); }

/* Three reasons */
.reasons, .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.reasons { padding-block: clamp(32px, 4vw, 48px) clamp(48px, 7vw, 88px); border-top: 1.5px solid var(--line); }
.trio { margin-top: clamp(32px, 4vw, 56px); }
.reasons h3, .trio h3 { font-size: 18px; margin-top: 16px; }
.reasons p, .trio p { margin-top: 6px; font-size: 16px; color: var(--muted); }
.disc { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--deep); }
.disc svg { width: 24px; height: 24px; }

/* Bright band with the simulator */
.band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(24px, 6vw, 72px) clamp(20px, 6vw, 80px); border-radius: var(--radius-lg); background: var(--bright); color: var(--deep); }
.band-in .lead { color: var(--deep); margin-top: 20px; }
.band-in .actions { margin-top: 28px; }
.calc { background: var(--white); border-radius: var(--radius-md); padding: clamp(20px, 3vw, 32px); color: var(--ink); }
.calc-rate { display: flex; justify-content: flex-end; min-height: 33px; }
.calc-rate span { padding: 6px 14px; border-radius: 999px; background: var(--mist); font-size: 14px; font-weight: 600; color: var(--deep); }
.calc-field { margin-top: 18px; }
.calc-field > label { display: block; font-size: 15px; color: var(--muted); }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.calc-cur { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px 6px 8px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: 16px; color: var(--deep); flex: none; }
.calc-cur:hover { background: var(--line); }
.calc-cur:focus-within { outline: 3px solid var(--deep); outline-offset: 2px; }
.calc-cur img { width: 26px; height: 26px; }
.calc-cur svg { width: 16px; height: 16px; }
.calc-cur select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.calc-val { display: block; flex: 1; min-width: 0; width: 100%; border: 0; padding: 4px 0; background: transparent; font: inherit; font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.02em; text-align: right; color: var(--deep); font-variant-numeric: tabular-nums; }
.calc-val:focus { outline: none; box-shadow: 0 2px 0 var(--deep); }
.calc-field > .calc-check { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 10px; font-size: 15px; cursor: pointer; }
.calc-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--deep); }
.calc-lines { margin-top: 18px; padding-top: 14px; border-top: 1.5px solid var(--mist); font-size: 15px; }
.calc-lines div { display: flex; justify-content: space-between; gap: 12px; padding-block: 4px; }
.calc-lines dt { color: var(--muted); }
.calc-lines dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc .btn { margin-top: 18px; }
.calc-busy .calc-rate, .calc-busy #calc-get, .calc-busy .calc-lines dd, .calc-busy .calc-note { opacity: .4; }
.calc-note { min-height: 60px; margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.calc-off p { margin-bottom: 18px; color: var(--muted); }

/* Three products */
.products { padding-block: clamp(56px, 8vw, 104px); }
.feature + .products { padding-top: 0; }
.head { text-align: center; max-width: 820px; margin-inline: auto; }
.head .lead { margin: 16px auto 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.card { display: flex; flex-direction: column; align-items: center; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; }
.card > p { margin-top: 10px; margin-bottom: 24px; font-size: 16px; color: var(--muted); }
.card .btn { margin-top: auto; }
.card-art { display: grid; place-items: center; width: 100%; min-height: 196px; margin-bottom: 24px; }

.mini { width: 100%; max-width: 280px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line); padding: 12px 14px; text-align: left; font-size: 14px; line-height: 1.35; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.mini-row + .mini-row { border-top: 1.5px solid var(--mist); }
.mini-row img { width: 28px; height: 28px; flex: none; }
.mini-row b { display: block; font-weight: 600; color: var(--deep); }
.mini-row span { display: block; color: var(--muted); font-size: 13px; }
.mini-row .mini-amt { margin-inline-start: auto; font-size: 14px; font-weight: 600; color: var(--deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { height: 10px; margin-block: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.bar i { display: block; height: 100%; width: 62%; border-radius: 999px; background: var(--brand); }

.visa { position: relative; width: min(100%, 280px); aspect-ratio: 1.586; border-radius: 18px; background: var(--bright); color: var(--deep); padding: 16px 18px; text-align: left; }
.visa b { font-family: "Archivo Black", Inter, sans-serif; font-weight: 400; font-size: 19px; letter-spacing: -.01em; }
.visa .num { position: absolute; left: 18px; bottom: 42px; font-size: 14px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.visa .who { position: absolute; left: 18px; bottom: 16px; font-size: 13px; font-weight: 600; }
.visa em { position: absolute; right: 18px; bottom: 12px; font-size: 24px; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.visa-lg { width: min(100%, 520px); border-radius: 28px; padding: clamp(20px, 3vw, 32px); }
.visa-lg b { font-size: clamp(22px, 3vw, 32px); }
.visa-lg .num { left: clamp(20px, 3vw, 32px); bottom: clamp(52px, 7vw, 76px); font-size: clamp(15px, 2vw, 24px); }
.visa-lg .who { left: clamp(20px, 3vw, 32px); bottom: clamp(20px, 3vw, 32px); font-size: clamp(13px, 1.4vw, 16px); }
.visa-lg em { right: clamp(20px, 3vw, 32px); bottom: clamp(16px, 2.4vw, 26px); font-size: clamp(26px, 4vw, 44px); }

/* Panels */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.products + .sec { padding-top: 0; }
.panel { border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 88px) clamp(20px, 6vw, 80px); text-align: center; }
.panel-deep { background: var(--deep); color: var(--white); }
.panel-deep h2 { color: var(--bright); }
.panel-deep .lead { color: var(--on-deep); margin: 18px auto 0; }
.panel-deep .disc { margin: 0 auto 20px; background: var(--deep-2); color: var(--bright); }
.panel-bright { background: var(--bright); color: var(--deep); }
.panel-bright .lead { color: var(--deep); margin: 18px auto 0; }
.panel .actions { justify-content: center; margin-top: 30px; }
.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(24px, 3vw, 32px); border-top: 1.5px solid var(--deep-2); text-align: left; }
.biz a { display: block; text-decoration: none; border-radius: 8px; }
.biz a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.biz h3 { font-size: 19px; color: var(--white); }
.biz p { margin-top: 6px; font-size: 16px; color: var(--on-deep); }

/* Side by side. The text comes first in the page, whichever side it shows on. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > * { min-width: 0; }
.split .lead { margin-top: 18px; }
.split .actions { margin-top: 28px; }
.split-flip > :first-child { order: 2; }
.stage { display: grid; place-items: center; }
.stage-deep { place-items: center stretch; min-height: clamp(280px, 34vw, 460px); padding: clamp(20px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--deep); }
.paused { width: fit-content; margin-top: 24px; padding: 10px 16px; border-radius: 16px; background: var(--mist); color: var(--deep); font-size: 16px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--mist); font-size: 15px; font-weight: 600; color: var(--deep); }

.pinpad { width: min(100%, 300px); padding: 24px; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; color: var(--deep); }
.pinpad b { font-size: 17px; font-weight: 600; }
.dots { display: flex; justify-content: center; gap: 14px; margin-top: 16px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--deep); }
.dots i.on { background: var(--deep); }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; justify-items: center; margin-top: 20px; }
.keys span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mist); font-size: 22px; font-weight: 600; }
.keys span:empty { background: transparent; }

/* Payment links, shops, merchant API */
.feature { padding-block: clamp(32px, 4.5vw, 64px); }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FE7E2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.5 3.5L17 9'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.shot { display: grid; gap: 12px; width: min(100%, 360px); color: var(--deep); }
.shot-url { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 46px; padding: 8px 8px 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 600; }
.shot-url span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot-url b { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 600; }
.shot-card { padding: 22px; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1.5px var(--line); }
.shot-card small { display: block; font-size: 14px; color: var(--muted); }
.shot-title { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.shot-object { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.shot-amount { display: block; margin-top: 14px; font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.shot-amount small { display: inline; margin-inline-start: 4px; font-size: 18px; font-weight: 600; }
.shot-pay { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 16px; border-radius: 999px; background: var(--bright); font-size: 16px; font-weight: 600; }
.shop-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1.5px solid var(--mist); font-size: 15px; font-weight: 600; line-height: 1.3; }
.shop-row i { display: grid; place-items: center; flex: none; width: 42px; height: 52px; border-radius: 8px; background: var(--mist); font-style: normal; font-size: 11px; font-weight: 700; }
.shop-row span { flex: 1; min-width: 0; }
.shop-row em { flex: none; font-style: normal; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.code { margin: 0; overflow-x: auto; color: var(--on-deep); font: 500 14px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code b { font-weight: 500; color: var(--bright); }
.api-ok { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: var(--deep-2); color: var(--bright); font-size: 14px; font-weight: 600; }

/* Vault */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 48px); }
.facts h3 { font-size: 18px; }
.facts p { margin-top: 6px; font-size: 16px; color: var(--muted); }

/* Countries */
.flags { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
.flags li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 16px; color: var(--deep); }
.flags img { width: 34px; height: 34px; flex: none; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.price { display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 28px); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1.5px var(--line); }
.price > p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.price dl { padding-top: 20px; }
.price dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 12px; border-top: 1.5px solid var(--mist); font-size: 16px; line-height: 1.35; }
.price dl div:last-child { padding-bottom: 0; }
.price dt { color: var(--muted); }
.price dd { font-weight: 700; color: var(--deep); font-variant-numeric: tabular-nums; text-align: right; }
.price .price-fine { margin-top: 12px; font-size: 14px; line-height: 1.4; }
.price-note { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }

/* Download */
.get { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: center; text-align: left; }
.get .actions { justify-content: flex-start; margin-top: 26px; }
.get .lead { margin-inline: 0; }
.qr { width: 196px; padding: 16px; border-radius: 20px; background: var(--white); text-align: center; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--deep); }
.qr img { width: 100%; height: auto; margin-bottom: 10px; }
.play { display: block; border-radius: 10px; }
.play img { width: 188px; height: 56px; }

/* Footer */
.foot { margin-top: clamp(48px, 7vw, 88px); padding-block: clamp(40px, 5vw, 64px) 32px; border-top: 1.5px solid var(--line); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h3 { font-size: 15px; color: var(--deep); margin-bottom: 12px; font-weight: 700; letter-spacing: 0; }
.foot li { padding-block: 4px; }
.foot a { color: var(--deep); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-logo { display: block; width: 92px; }
.foot-logo img { width: 92px; height: 46px; object-fit: contain; object-position: left; }
.foot-note { margin-top: 12px; color: var(--muted); max-width: 30em; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1.5px solid var(--line); color: var(--muted); }

/* Text pages: terms, privacy, developer documentation */
.doc { max-width: 900px; padding-block: clamp(28px, 5vw, 64px) 0; }
.doc h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; line-height: 1.06; }
.doc h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 40px 0 12px; }
.doc h3 { font-size: 19px; font-weight: 600; margin: 24px 0 8px; }
.doc p { margin-bottom: 12px; max-width: 72ch; }
.doc ul, .doc ol { list-style: disc; margin: 8px 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 6px; max-width: 72ch; }
.doc a { color: var(--deep); font-weight: 600; text-underline-offset: 3px; }
.effective-date { color: var(--muted); font-size: 15px; margin-top: 12px; }
.doc .lede { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; margin: 16px 0 0; max-width: 62ch; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.doc .toc a { padding: 7px 14px; border-radius: 999px; background: var(--mist); font-size: 15px; color: var(--deep); text-decoration: none; }
.doc .toc a:hover { background: var(--line); }
.doc section { margin-top: 40px; border-top: 1.5px solid var(--mist); }
.doc code { font: 500 .88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 1px 6px; border-radius: 6px; background: var(--mist); overflow-wrap: anywhere; }
.doc pre { margin: 0 0 14px; padding: 16px 18px; overflow-x: auto; border-radius: 16px; background: var(--deep); color: var(--on-deep); font-size: 14px; line-height: 1.6; }
.doc pre code { padding: 0; background: none; color: inherit; font-size: inherit; overflow-wrap: normal; }
.doc .table { overflow-x: auto; margin: 0 0 14px; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 10px; border-bottom: 1.5px solid var(--mist); text-align: left; vertical-align: top; }
.doc th { font-size: 14px; font-weight: 600; color: var(--muted); }
.doc td code { white-space: nowrap; overflow-wrap: normal; }
.doc .note { padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--deep); max-width: none; }
.doc .steps { counter-reset: s; list-style: none; padding: 0; }
.doc .steps li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 12px; }
.doc .steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bright); color: var(--deep); font-size: 14px; font-weight: 700; }
.doc-end { margin-top: 32px; color: var(--muted); font-size: 15px; }

@media (min-width: 1161px) {
  .price > p:first-of-type { min-height: 4.7em; }
}
@media (max-width: 1160px) {
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .menu, .top-end a:not(.btn) { display: none; }
  .burger { display: grid; }
  .sheet { display: block; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; padding: 8px 0 20px; border-top: 1.5px solid var(--mist); }
  .sheet a { display: block; padding: 12px 4px; font-size: 18px; font-weight: 600; color: var(--deep); text-decoration: none; }
  .band-in, .split, .get { grid-template-columns: minmax(0, 1fr); }
  .split-flip > :first-child { order: 0; }
  .reasons, .trio, .cards, .biz { grid-template-columns: minmax(0, 1fr); }
  .facts, .flags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .qr { display: none; }
  .reasons > div, .trio > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .reasons h3, .trio h3 { margin-top: 0; align-self: center; }
  .reasons p, .trio p { grid-column: 2; margin-top: 2px; }
}
@media (max-width: 640px) {
  .prices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .lg { display: none; }
  .sm { display: inline; }
  .top-end .btn { min-height: 42px; padding: 8px 14px; font-size: 14px; }
  .pin { gap: 6px; padding: 5px 10px 5px 5px; font-size: 13px; }
  .pin img { width: 20px; height: 20px; }
  .pin-from { transform: translate(-40%, calc(-100% - 10px)); }
  .pin-to { transform: translate(12px, -50%); }
  .flags li { padding: 10px 12px; font-size: 15px; gap: 10px; }
  .flags img { width: 28px; height: 28px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .calc-val { font-size: 28px; }
  .keys span { width: 52px; height: 52px; }
  .code { font-size: 13px; }
}
@media (max-width: 400px) {
  .band-in { padding-inline: 12px; }
}
@media (max-width: 340px) {
  .calc { padding-inline: 14px; }
  .calc-val { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
