/* zafina.si. One stylesheet, no framework, no third-party fonts, no script. A showcase: the captures of the real app carry the page, in the app's own dark look
   (dark ground, thin cyan lines, one accent). The computer's own light setting turns the page and the pictures light. Pictures are a swap of files:
   tools/site-shots/place.cjs fills every <picture data-shot>; the crops below only choose which part of a capture shows on a narrow screen. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #030a14; --bg-soft: #071526; --bg-raise: #0a1b2f; --text: #e8f2fa; --dim: #b3c6d6; --faint: #8aa2b5;
  --line: rgb(110 200 255 / 0.16); --line-strong: rgb(110 200 255 / 0.38);
  --ion: #4fd8ff; --on-ion: #021019; --glow: rgb(79 216 255 / 0.22); --glow-strong: rgb(79 216 255 / 0.4);
  --shade: rgb(0 0 0 / 0.65);
  --sans: "IBM Plex Sans", system-ui, "Segoe UI", -apple-system, sans-serif;
  --display: "Chakra Petch", "IBM Plex Sans", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --wide: 1280px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f7fb; --bg-soft: #ffffff; --bg-raise: #e8f0f7; --text: #0b1f30; --dim: #3a5164; --faint: #55697b;
    --line: rgb(10 50 90 / 0.14); --line-strong: rgb(10 50 90 / 0.32);
    --ion: #076887; --on-ion: #ffffff; --glow: rgb(7 104 135 / 0.14); --glow-strong: rgb(7 104 135 / 0.28);
    --shade: rgb(10 40 70 / 0.22);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture { display: block; max-width: 100%; }
a { color: var(--ion); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(40px, 4.2vw, 60px); }
h2 { font-size: clamp(32px, 3.5vw, 50px); }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0 0 16px; text-wrap: pretty; }
ul, ol { margin: 0 0 16px; padding-left: 1.2em; }
li { margin-bottom: 8px; }
b, strong { font-weight: 600; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ion); color: var(--on-ion); padding: 8px 14px; z-index: 20; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wide), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }

/* the bar: the ask stays in reach at every width */
.bar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 15px/1 var(--display); letter-spacing: 0.26em; margin-right: auto; }
.mark svg { width: 28px; height: 28px; color: var(--ion); flex-shrink: 0; }
.links { display: flex; gap: 2px; align-items: center; }
.links a { color: var(--dim); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; transition: color .15s, background-color .15s; }
.links a:hover, .links a[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--ion) 12%, transparent); }
.go { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 8px; background: var(--ion); color: var(--on-ion); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; box-shadow: 0 0 0 0 var(--glow-strong); transition: box-shadow .2s, filter .2s; }
.go:hover { filter: brightness(1.08); box-shadow: 0 0 24px 2px var(--glow-strong); text-decoration: none; }
.go[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--on-ion); }
.go .short { display: none; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 15px; color: var(--text); }
.menu summary:hover { background: color-mix(in srgb, var(--ion) 10%, transparent); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--ion); color: var(--ion); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line-strong); padding: 8px 16px 20px; display: grid; box-shadow: 0 24px 48px -12px var(--shade); }
.menu nav a { padding: 14px 4px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 17px; }
.menu nav a[aria-current="page"] { color: var(--ion); }
@media (max-width: 860px) { .links { display: none; } .menu { display: block; } }
@media (max-width: 420px) { .go .long { display: none; } .go .short { display: inline; } .go { padding: 0 14px; } .mark { letter-spacing: 0.2em; } }

/* words */
.label { font: 600 12px/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ion); margin: 0 0 16px; }
.say { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--dim); margin: 20px 0 0; max-width: 34rem; }
.fine { color: var(--faint); font-size: 15px; margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 10px; background: var(--ion); color: var(--on-ion); font-weight: 600; text-decoration: none; font-size: 17px; box-shadow: 0 10px 30px -10px var(--glow-strong); transition: box-shadow .2s, filter .2s, transform .2s; }
.btn:hover { filter: brightness(1.08); box-shadow: 0 0 0 1px var(--ion), 0 12px 40px -6px var(--glow-strong); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 4px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }

/* the frame of a capture: the app's own window, a soft cyan glow, real depth */
.frame { position: relative; margin: 0; }
.frame .open { display: block; position: relative; border-radius: 14px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4), 0 40px 80px -30px var(--shade), 0 0 90px -20px var(--glow); transition: box-shadow .25s, border-color .25s; }
.frame .open:hover { border-color: var(--ion); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4), 0 40px 80px -30px var(--shade), 0 0 110px -14px var(--glow-strong); }
.frame .open:focus-visible { outline-offset: 5px; border-radius: 14px; }
.frame img { width: 100%; height: auto; }
.frame .open > picture { height: 100%; }
.frame::before { content: ""; position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(40px); z-index: -1; pointer-events: none; }
.frame.phone .open { border-radius: 26px; border-width: 1px; box-shadow: 0 0 0 6px var(--bg-raise), 0 0 0 7px var(--line-strong), 0 40px 70px -20px var(--shade), 0 0 70px -10px var(--glow-strong); }
.made { margin: 18px 0 0; font-size: 14px; color: var(--faint); }
.made a { color: inherit; }

/* first screen */
.hero { position: relative; padding: 64px 0 72px; overflow-x: clip; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 70% 40%, var(--glow), transparent 70%),
              linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
              linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%); opacity: .55; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.hero .say { max-width: 30rem; }
.devices { position: relative; padding: 0 0 40px 56px; }
.devices .desk { width: 116%; }
.devices .desk .open { aspect-ratio: 1440 / 1040; }
.devices .desk img { height: 100%; object-fit: cover; object-position: left top; }
.devices .phone { position: absolute; left: 0; bottom: 0; width: 27%; z-index: 2; }
.devices .phone .open { aspect-ratio: 390 / 700; }
.devices .phone img { height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 1100px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .devices { padding: 0 0 48px 15%; }
  .devices .desk { width: 100%; }
  .devices .phone { width: 26%; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { gap: 40px; }
  .devices { padding: 0 0 40px 0; margin-right: -16px; }
  .devices .desk { width: 108%; margin-left: 12%; }
  .devices .desk .open { aspect-ratio: 1 / 1; }
  .devices .phone { width: 44%; }
  .devices .phone .open { aspect-ratio: 390 / 640; border-radius: 22px; }
}

/* what it replaces */
.swap { padding: 96px 0 104px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.swap h2 { text-align: center; }
.swaplist { list-style: none; padding: 0; margin: 56px auto 0; max-width: 940px; display: grid; gap: 12px; }
.swaplist li { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; margin: 0; }
.was, .now { padding: 18px 22px; border-radius: 12px; min-height: 76px; display: flex; flex-direction: column; justify-content: center; }
.was { border: 1px dashed var(--line-strong); color: var(--dim); }
.was b { color: var(--text); font-weight: 600; font-size: 18px; }
.was span, .now span { font-size: 14px; color: var(--faint); }
.now { background: color-mix(in srgb, var(--ion) 9%, var(--bg-soft)); border: 1px solid var(--line-strong); box-shadow: 0 0 40px -16px var(--glow-strong); }
.now b { color: var(--ion); font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: 0.01em; }
.arrow { justify-self: center; width: 28px; height: 2px; background: var(--ion); position: relative; opacity: .8; }
.arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--ion); border-right: 2px solid var(--ion); transform: rotate(45deg); }
@media (max-width: 640px) {
  .swap { padding: 72px 0; }
  .swaplist { margin-top: 36px; gap: 14px; }
  .swaplist li { grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); }
  .was, .now { padding: 12px 12px; min-height: 84px; border-radius: 10px; }
  .was b { font-size: 16px; } .now b { font-size: 17px; } .was span, .now span { font-size: 13px; line-height: 1.35; }
  .arrow { width: 16px; } .arrow::after { width: 7px; height: 7px; top: -3px; }
}

/* a section: one promise, one sentence, one picture */
.row { padding: 120px 0; border-top: 1px solid var(--line); overflow-x: clip; }
.row-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.row.flip .row-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
/* the picture of a split row runs past its column towards the edge of the screen */
.row-grid > .frame { width: calc(100% + min(9vw, 140px)); }
.row.flip .row-grid > .frame { margin-left: calc(-1 * min(9vw, 140px)); }
.row.flip .copy { order: 2; }
.row.wide .copy { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.row.wide h2 { max-width: none; }
.row.wide .say { margin-inline: auto; }
@media (max-width: 960px) {
  .row { padding: 80px 0; }
  .row-grid, .row.flip .row-grid { grid-template-columns: 1fr; gap: 40px; }
  .row.flip .copy { order: 0; }
  .row-grid > .frame, .row.flip .row-grid > .frame { width: 100%; margin-left: 0; }
  .row.wide .copy { text-align: left; margin-bottom: 40px; }
  .row.wide .say { margin-inline: 0; }
}
@media (max-width: 640px) {
  .row { padding: 64px 0; }
}
/* the card: the room without the sidebar, larger, at every width */
.fp-card .open { aspect-ratio: 16 / 10; }
.fp-card img { height: 100%; object-fit: cover; object-position: 78% 50%; }
@media (max-width: 640px) {
  /* on a phone a wide capture shows its busiest part larger; the whole of it opens full size */
  .crop .open { aspect-ratio: 4 / 3; }
  .crop img { height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.4)); transform-origin: var(--focus, 50% 50%); }
  .fp-member { --zoom: 1.6; --focus: 100% 14%; }
  .crop.fp-member .open { aspect-ratio: 16 / 10; }
  .crop.fp-member img { object-position: top; }
  .fp-task { --zoom: 1.5; --focus: 28% 30%; }
  .fp-card { --zoom: 1.12; --focus: 55% 75%; }
  .fp-card img { object-position: 52% 50%; }
}
/* a capture shown only on a wide or only on a narrow screen (a hidden lazy picture is never fetched) */
.only-narrow { display: none; }
@media (max-width: 640px) { .only-wide { display: none; } .only-narrow { display: block; } }
.narrow-phone { width: min(300px, 82%); margin-inline: auto; }
.narrow-phone .open { aspect-ratio: 390 / 640; }
.narrow-phone img { height: 100%; object-fit: cover; object-position: top; }

/* everywhere: the desktop and the phone together */
.duo { position: relative; padding: 0 12% 48px 0; }
.duo .phone { position: absolute; right: 0; bottom: 0; width: 25%; z-index: 2; }
.duo .phone .open { aspect-ratio: 390 / 661; }
@media (max-width: 640px) {
  .duo { padding: 0 0 40px 0; margin-right: -16px; }
  .duo .desk { width: 112%; }
  .duo .desk .open { aspect-ratio: 4 / 3; }
  .duo .desk img { height: 100%; object-fit: cover; object-position: left 70%; }
  .duo .phone { width: 52%; right: 16px; }
  .duo .phone .open { aspect-ratio: 390 / 560; }
  .duo .phone img { height: 100%; object-fit: cover; object-position: top; }
}

/* yours: three short lines, no picture */
.yours { padding: 128px 0; border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.yours::before { content: ""; position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; translate: -50% -50%; z-index: -1; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 90px rgb(79 216 255 / 0.025), 0 0 0 180px rgb(79 216 255 / 0.02), inset 0 0 120px var(--glow); pointer-events: none; }
.yours h2 { font-size: clamp(36px, 5.4vw, 68px); }
.yours h2 span { display: block; }
.yours h2 span:nth-child(2) { color: var(--ion); }
.yours .say { margin-inline: auto; max-width: 36rem; }
@media (max-width: 640px) { .yours { padding: 88px 0; } .yours::before { width: 360px; height: 360px; border: 0; box-shadow: none; background: radial-gradient(closest-side, var(--glow), transparent); } }

/* the price and the ask */
.price { padding: 120px 0 128px; border-top: 1px solid var(--line); }
.price-card { position: relative; text-align: center; padding: 72px 32px; border-radius: 20px; border: 1px solid var(--line-strong); background: radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--ion) 12%, var(--bg-soft)), var(--bg-soft) 70%); box-shadow: 0 0 120px -30px var(--glow-strong), 0 40px 80px -40px var(--shade); }
.price-card h2 span { display: block; }
.price-card .say { margin-inline: auto; }
.price-card .fine { text-wrap: balance; }
.price-card .cta { justify-content: center; flex-direction: column; gap: 14px; margin-top: 36px; }
@media (max-width: 640px) { .price { padding: 72px 0 88px; } .price-card { padding: 52px 20px; border-radius: 16px; } }

/* the other pages: a head, then rows */
.head { padding: 80px 0 24px; }
.head h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 18ch; }
.head .say { max-width: 38rem; }
.head + .row, .head + .block { border-top: 0; }
@media (max-width: 640px) { .head { padding: 48px 0 8px; } }
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 24px; max-width: 24ch; }
section.block p { max-width: 42rem; color: var(--dim); }
section.block p strong, section.block li strong { color: var(--text); }
@media (max-width: 640px) { section.block { padding: 52px 0; } }

/* gallery rows on Features */
.gallery .row { padding: 96px 0; }
@media (max-width: 640px) { .gallery .row { padding: 56px 0; } }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--dim); }
.minor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.minor div { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.minor h3 { font-size: 19px; margin-bottom: 8px; }
.minor p { margin: 0; color: var(--dim); font-size: 16px; }
@media (max-width: 960px) { .minor { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .minor { grid-template-columns: 1fr; } }

/* four steps on How it works */
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ion); border-radius: 50%; font: 600 15px/1 var(--mono); color: var(--ion); margin-bottom: 20px; box-shadow: 0 0 24px -6px var(--glow-strong); }

/* plain facts: tables and lists */
.facts { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--line); max-width: 56rem; }
.facts li { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 4px 28px; color: var(--dim); }
.facts li b { color: var(--text); }
@media (max-width: 640px) { .facts li { grid-template-columns: 1fr; } }
.table { width: 100%; max-width: 56rem; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 20px 14px 0; border-bottom: 1px solid var(--line); color: var(--dim); }
.table th { color: var(--text); font-weight: 600; width: 13rem; }
.table thead th { font: 600 12px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ion); border-bottom-color: var(--line-strong); }
@media (max-width: 640px) { .table thead { display: none; } .table th, .table td { display: block; width: auto; padding: 2px 0; border: 0; } .table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); } }
.note { border-left: 2px solid var(--ion); padding: 4px 0 4px 16px; max-width: 42rem; color: var(--dim); }

/* questions */
.qa { max-width: 46rem; }
.qa h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 56px 0 8px; }
.qa h2:first-child { margin-top: 0; }
.qa h3 { margin: 28px 0 6px; font: 600 19px/1.35 var(--sans); letter-spacing: 0; }
.qa p { color: var(--dim); margin-bottom: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 72px; color: var(--faint); font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h2 { font: 600 12px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot p { max-width: 34rem; margin-bottom: 12px; }
.foot .mark { margin-bottom: 16px; }
.foot a { color: var(--dim); }
.foot a:hover { color: var(--text); }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* motion only where it shows the product: a capture rises in as it comes into view; nothing moves under "reduce motion" */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @supports (animation-timeline: view()) {
    .row .frame, .row .duo, .swaplist li { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media print { .bar, .skip { display: none; } body { background: #fff; color: #000; } }

/* spacing helpers (no inline styles: the page's content security policy forbids them) */
.gap-s { margin-top: 24px; } .gap-m { margin-top: 48px; } .gap-l { margin-top: 64px; } .flush { margin-top: 0; }

/* a picture opens full size on a page of its own (no script): read by scrolling across it */
.open { display: block; color: inherit; text-decoration: none; }
.fullpic { width: min(100% - 32px, 1120px); margin: 0 auto; padding: 24px 0 48px; }
.fullpic .back { display: inline-block; padding: 8px 0; }
.fullpic .scrollbox { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg-soft); }
.fullpic .scrollbox picture { width: max-content; max-width: none; border: 0; border-radius: 0; }
.fullpic .scrollbox img { max-width: none; width: auto; height: auto; }

/* the other pages */
.btn.quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.quiet:hover { box-shadow: inset 0 0 0 1px var(--ion); color: var(--ion); filter: none; }
.head .cta { margin-top: 28px; }
/* the Board in a split row: its first columns, larger, at every width */
.fp-board { --zoom: 1.7; --focus: 36% 8%; }
.fp-board .open { aspect-ratio: 4 / 3; }
.fp-board img { height: 100%; object-fit: cover; object-position: left top; transform: scale(var(--zoom)); transform-origin: var(--focus); }
@media (max-width: 640px) {
  .fp-chat { --zoom: 1.5; --focus: 52% 30%; }
  .fp-lead { --zoom: 1.3; --focus: 6% 55%; }
  .fp-board { --zoom: 1.9; --focus: 31% 6%; }
}
/* three phones side by side; on a phone they scroll sideways inside their own strip */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 48px; padding: 8px 8px 24px; }
.trio .frame { margin: 0; }
.trio .open { aspect-ratio: 390 / 661; }
.trio img { height: 100%; object-fit: cover; object-position: top; }
.row.wide .made { text-align: center; }
@media (max-width: 960px) { .trio { gap: 24px; } }
@media (max-width: 640px) {
  .trio { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 10px 16px 28px; gap: 22px; scrollbar-width: none; }
  .trio .frame { scroll-snap-align: center; }
  .row.wide .made { text-align: left; }
}
/* facts pages: the heading on the left stays in view while its rows scroll on the right */
.split .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; align-items: start; }
section.block.split h2 { position: sticky; top: 96px; margin: 0; max-width: 14ch; }
.split .table, .split .facts { max-width: none; }
.split .facts { margin-top: 0; }
.split .qa { max-width: 44rem; }
.split .qa h3:first-child { margin-top: 0; }
.split .qa .facts { margin-top: 16px; }
@media (max-width: 960px) { .split .wrap { grid-template-columns: 1fr; } section.block.split h2 { position: static; max-width: 20ch; } }
/* a picture in the Features gallery shows the top of a tall capture */
.gallery .fp-chat .open { aspect-ratio: 16 / 11; }
.gallery .fp-chat img { height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 640px) {
  .minor { gap: 0; border-top: 1px solid var(--line); }
  .minor div { padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .minor h3 { font-size: 17px; margin-bottom: 4px; }
  .gallery .fp-chat .open { aspect-ratio: 4 / 3; }
}
