/* The editorial version: a warm off-white page, small quiet type, and hairline grids with the real app in each cell. */
@font-face {
  font-family: 'Allo';
  src: url('/assets/fonts/AlloVariableFriendly.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:root {
  color-scheme: light dark;
  --paper: #faf9f7; --ink: #111; --gray: #66666b; --line: #e6e4df; --soft: #f1efea;
  /* Raised surfaces, the hover of an ink button, quieter ink, and the faintest marks. */
  --surface: #fff; --ink-hover: #2a2a2e; --ink-soft: #3a3a3e; --faint: #c9c7c1; --dot-ink: #cdc9bf; --no: #a8443e;
  --sans: 'Allo', system-ui, sans-serif;
  --wrap: min(1180px, calc(100% - 48px));
  /* The dotted ground every device stands on. */
  --dots: radial-gradient(circle, var(--dot-ink) 1.1px, transparent 1.6px);
  --dots-size: 16px 16px;
}
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
html:has(.v5-viewer[open]) { overflow: hidden; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
button, input, select { font-family: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 10; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: 30px; line-height: 1.25; }
.v5-cell h2, .v5-title { font-size: 20px; line-height: 1.4; }
.v5-title { font-size: 30px; line-height: 1.25; }
p { color: var(--gray); }
.v5-label { margin-bottom: 10px; font-size: 13px; color: var(--gray); }
.v5-note { margin-top: 14px; font-size: 13px; color: var(--gray); }
/* Links inside running text: ink, with a quiet underline that darkens on hover. */
:is(.v5-intro, .v5-article, .v5-faq-list, .v5-steps) a:not([class]) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--faint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:is(.v5-intro, .v5-article, .v5-faq-list, .v5-steps) a:not([class]):hover { text-decoration-color: currentColor; }

.v5-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: 'brand nav actions'; align-items: center; gap: 6px 24px; width: var(--wrap); margin: 0 auto; padding: 16px 0; }
.v5-mark { grid-area: brand; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; text-decoration: none; }
.v5-mark img { width: 30px; height: auto; }
.v5-header nav { grid-area: nav; display: flex; align-items: center; gap: clamp(20px, 2.5vw, 32px); font-size: 14px; color: var(--gray); }
.v5-header nav a { text-decoration: none; white-space: nowrap; }
.v5-header nav a:hover, .v5-header nav a[aria-current=page] { color: var(--ink); }
.v5-header-actions { grid-area: actions; justify-self: end; display: flex; align-items: center; gap: 20px; }
.v5-header-tools { display: flex; flex: none; align-items: center; gap: 16px; }
.v5-header-download { display: inline-flex; align-items: center; min-height: 44px; border-radius: 999px; text-decoration: none; }

.v5-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 1px solid var(--ink); border-radius: 100px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; text-decoration: none; }
.v5-button:hover { background: var(--ink-hover); }
.v5-download-pill { min-width: 114px; padding: 0 15px; border: 0; background: #eaeae6; color: #292929; font-size: 15px; line-height: 1; white-space: nowrap; }
.v5-download-pill svg { flex: none; }
.v5-header-download:hover .v5-download-pill { background: #deded9; }
.v5-button-soon, .v5-button-soon:hover { background: var(--ink); cursor: default; }
.v5-button-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.v5-button-quiet:hover { background: var(--soft); }
.v5-button-wide { width: 100%; margin-top: 24px; }
.v5-app-store { display: inline-flex; flex: none; align-items: center; width: 216px; max-width: 100%; min-height: 44px; text-decoration: none; }
.v5-app-store img { display: block; width: 100%; height: auto; }
.v5-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.v5-actions:has(.v5-app-store) { gap: 18px; }

.v5-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; width: var(--wrap); margin: 0 auto; padding: 40px 0 56px; }
.v5-hero-copy { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; align-self: stretch; padding-bottom: 24px; }
/* The app icon sits just above the headline; the words stay at the bottom, level with the foot of the phone. */
.v5-hero-icon { flex: none; width: 128px; height: 128px; border-radius: 22.5%; box-shadow: 0 1px 2px #0000000f, 0 14px 32px #00000024; }
.v5-hero-icon + * { margin-top: 28px; }
.v5-hero-copy h1 + p { max-width: 52ch; margin-top: 14px; font-size: 18px; }
.v5-hero-art { position: relative; display: flex; justify-content: center; isolation: isolate; }
/* The hero phone stands whole on a field of dots that fades out around it. */
.v5-hero-art::before { content: ''; position: absolute; inset: -24px 0; z-index: -1; background: var(--dots) center / var(--dots-size); -webkit-mask: radial-gradient(closest-side, #000 45%, transparent); mask: radial-gradient(closest-side, #000 45%, transparent); }
.v5-hero-art img { width: 330px; height: auto; filter: drop-shadow(0 20px 36px #0000001c); }

.v5-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: var(--wrap); margin: 0 auto; border-top: 1px solid var(--line); }
.v5-cell { display: grid; grid-template-rows: auto auto 1fr; padding: 28px 28px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.v5-cell:nth-child(3n) { padding-right: 0; border-right: 0; }
.v5-cell:nth-child(3n + 1) { padding-left: 0; }
.v5-cell p { margin-top: 8px; max-width: 42ch; }

/* A picture that opens the screenshot viewer: the device stands on dotted ground with its top edge in view, cut off below. */
.v5-shot { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--soft) var(--dots) center top / var(--dots-size); color: inherit; text-decoration: none; cursor: zoom-in; }
.v5-shot > img { position: absolute; top: 32px; left: 50%; width: min(260px, 100% - 48px); max-width: none; height: auto; translate: -50% 0; filter: drop-shadow(0 12px 20px #0000001a); }
.v5-cell .v5-shot { min-height: 380px; margin-top: 24px; border-radius: 16px 16px 0 0; }
.v5-expand { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); box-shadow: 0 2px 10px #00000012; opacity: 0; transition: opacity .15s ease; }
.v5-expand::before { content: ''; position: absolute; inset: 9px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M12 3h5v5M8 17H3v-5M17 3l-6 6M3 17l6-6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M12 3h5v5M8 17H3v-5M17 3l-6 6M3 17l6-6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.v5-shot:hover .v5-expand, .v5-shot:focus-visible .v5-expand { opacity: 1; }
.v5-shot:focus-visible { outline-offset: -2px; }

/* The Duo gallery pairs portrait and landscape captures on dotted panels. */
.v5-duo { width: var(--wrap); margin: 0 auto; padding: 48px 0; border-bottom: 1px solid var(--line); }
.v5-duo-copy { max-width: 760px; padding-bottom: 32px; }
.v5-duo-copy p:not(.v5-label) { max-width: 52ch; margin-top: 12px; font-size: 17px; }
.v5-duo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.v5-duo-gallery figure { min-width: 0; margin: 0; }
.v5-duo-gallery figcaption { padding-top: 12px; font-size: 14px; font-weight: 500; color: var(--gray); }
.v5-duo .v5-shot { display: flex; align-items: center; justify-content: center; height: 420px; padding: 24px; }
.v5-duo .v5-shot > img { position: static; display: block; width: auto; max-width: 100%; max-height: 100%; margin: 0 auto; translate: none; }
.v5-section { width: var(--wrap); margin: 0 auto; padding: 64px 0 0; }
.v5-small { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.v5-small li { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v5-small h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.v5-small p { margin-top: 6px; font-size: 14px; max-width: 34ch; }
.v5-dot { width: 7px; height: 7px; border-radius: 50%; }
.v5-dot-a { background: #e3a59c; } .v5-dot-b { background: #b9d3c3; } .v5-dot-c { background: #b8b4de; } .v5-dot-d { background: #e9d17f; } .v5-dot-e { background: #a9c7e2; } .v5-dot-f { background: #e8b58a; }

.v5-pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; width: var(--wrap); margin: 72px auto 0; padding-top: 48px; border-top: 1px solid var(--line); }
.v5-pricing-copy p:not(.v5-label) { max-width: 46ch; margin-top: 12px; font-size: 17px; }
.v5-pricing-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.v5-price { display: flex; align-items: baseline; gap: 4px; font-size: 64px; font-weight: 500; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.v5-price span { font-size: 24px; color: var(--gray); }
.v5-pricing-card ul { margin-top: 22px; display: grid; gap: 10px; font-size: 15px; }
.v5-pricing-card li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.v5-pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--gray); font-size: 13px; }

/* A section's name on the left, its content on the right, under one hairline. */
.v5-faq, .v5-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; width: var(--wrap); margin: 72px auto 0; padding-top: 48px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.v5-split:last-child { margin-bottom: 96px; }
.v5-grid + .v5-split { margin-top: 0; border-top: 0; }
.v5-faq-list details { border-bottom: 1px solid var(--line); }
.v5-faq-list summary { position: relative; padding: 16px 36px 16px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; }
.v5-faq-list summary::-webkit-details-marker { display: none; }
.v5-faq-list summary::after { content: ''; position: absolute; top: 50%; right: 4px; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--gray), var(--gray)) center / 12px 1.5px no-repeat, linear-gradient(var(--gray), var(--gray)) center / 1.5px 12px no-repeat; transition: rotate .2s ease; }
.v5-faq-list details[open] summary::after { rotate: 45deg; }
.v5-faq-list p { padding: 0 0 18px; font-size: 15px; max-width: 60ch; }
.v5-faq-list p + p { margin-top: -6px; }

.v5-closing { display: grid; justify-items: center; text-align: center; width: var(--wrap); margin: 88px auto 0; padding: 72px 0 40px; border-top: 1px solid var(--line); }
.v5-closing > img { width: 64px; height: auto; }
.v5-closing h2 { max-width: 22ch; margin-top: 28px; font-size: 26px; line-height: 1.3; }
.v5-closing .v5-actions { justify-content: center; }

.v5-footer { width: var(--wrap); margin: 0 auto; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); color: var(--gray); }
.v5-footer-inner { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; gap: 24px clamp(32px, 7vw, 88px); max-width: 48rem; margin-inline: auto; }
.v5-footer-identity { display: flex; align-items: center; gap: 12px; }
.v5-footer-identity img { flex: none; border-radius: 22%; }
.v5-footer-identity strong { display: block; color: var(--ink); font-size: 1.25rem; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.v5-footer-identity p { margin-top: 3px; font-size: .75rem; }
.v5-footer nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr)); align-items: start; gap: 16px clamp(10px, 2vw, 24px); }
.v5-footer-group h2 { margin-bottom: 6px; color: var(--ink); font-size: .875rem; font-weight: 600; letter-spacing: normal; }
.v5-footer a { display: inline-flex; align-items: center; min-height: 30px; font-size: .875rem; text-decoration: none; }
.v5-footer a:hover, .v5-footer a[aria-current=page] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 44rem) {
  .v5-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Subpages: a heading, then one reading column in the middle of the page. Long pages list their sections beside it. */
.v5-doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr); column-gap: 56px; align-items: start; width: var(--wrap); margin: 0 auto; padding: 40px 0 96px; }
.v5-doc > * { grid-column: 2; }
.v5-intro { max-width: 60ch; margin-top: 12px; font-size: 18px; line-height: 1.55; }
.v5-contents { grid-column: 3; grid-row: 1 / span 3; position: sticky; top: 32px; width: min(100%, 200px); font-size: 14px; }
.v5-contents > p { font-weight: 500; color: var(--ink); }
.v5-contents ol { margin-top: 8px; }
.v5-contents a, .v5-contents-menu a { display: block; padding: 4px 0; color: var(--gray); text-decoration: none; }
.v5-contents a:hover, .v5-contents-menu a:hover, .v5-contents a[aria-current=true], .v5-contents-menu a[aria-current=true] { color: var(--ink); }
.v5-contents-menu { display: none; }

.v5-article { padding-top: 36px; font-size: 16px; line-height: 1.7; }
.v5-article > * + * { margin-top: 16px; }
.v5-article > section + section, .v5-article > p + section { margin-top: 56px; }
.v5-article section { scroll-margin-top: 24px; }
.v5-article section > * + * { margin-top: 14px; }
.v5-article section > h2 + * { margin-top: 10px; }
.v5-article h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 22px; line-height: 1.3; }
.v5-article section > h3 { margin-top: 32px; font-size: 17px; line-height: 1.4; }
.v5-article section > h3 + * { margin-top: 8px; }
.v5-article section > :is(figure, .v5-demo) { margin-top: 24px; }
.v5-article ul { padding-left: 1.2em; list-style: disc; color: var(--gray); }
.v5-article li + li { margin-top: 6px; }
.v5-article li::marker { color: var(--faint); }
.v5-article strong { font-weight: 500; color: var(--ink); }
.v5-step { min-width: 1.2em; font-size: 15px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--gray); }
.v5-tag { padding: 1px 8px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; font-weight: 400; line-height: 1.6; letter-spacing: 0; color: var(--gray); }
.v5-example { padding: 16px 20px; border-radius: 14px; background: var(--soft); }
.v5-page-end { padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.v5-article > .v5-page-end { margin-top: 56px; }
.v5-legal > p:first-child { font-size: 14px; }
.v5-legal > p:nth-child(2) { font-size: 17px; }
.v5-legal h2 { font-size: 20px; }

.v5-table-scroll { overflow-x: auto; }
.v5-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.v5-table th, .v5-table td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.v5-table thead th { padding-top: 0; font-size: 13px; font-weight: 400; color: var(--gray); }
.v5-table tbody th { padding-right: 24px; font-weight: 500; }
.v5-table td { color: var(--gray); }
.v5-table :is(th, td):last-child { text-align: right; white-space: nowrap; }
.v5-table-detail { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--gray); }

.v5-figure figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--gray); text-align: center; }
.v5-figure .v5-shot { height: 380px; }
.v5-cards { --card-width: 64px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 16px 32px; padding: 30px 20px 26px; border-radius: 16px; background: var(--soft); }
.v5-cards > .v5-op { align-self: center; margin-inline: -16px; font-size: 20px; color: var(--gray); }
.v5-card-group { display: grid; justify-items: center; gap: 12px; }
.v5-pile { display: flex; }
.v5-pile .playing-card + .playing-card { margin-left: -26px; rotate: 7deg; translate: 0 3px; }
.v5-card-label { font-size: 13px; line-height: 1.3; color: var(--gray); }

/* Cards come from components/card.mjs and look like the app's (styles/card-face.css); a focused card keeps its corners. */
.playing-card:focus-visible { border-radius: calc(var(--card-width) * .11); outline-offset: 4px; }

/* The playable capture: tap the 9 to take the 4 and 5. scripts/alternate-demo.js adds is-playing, then reveals the result. */
.v5-demo { --card-width: 72px; display: grid; justify-items: center; align-content: start; gap: 16px; min-height: 318px; padding: 24px 20px 22px; border-radius: 16px; background: var(--soft); text-align: center; }
.v5-demo-sum { font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .06em; color: var(--gray); }
.v5-demo-sum span { margin-inline: 3px; }
.v5-demo-table { display: flex; gap: 18px; }
.v5-demo-table .playing-card { transition: opacity .3s ease .2s, scale .3s ease .2s; }
.v5-demo-table .playing-card:first-child { rotate: -6deg; }
.v5-demo-table .playing-card:last-child { rotate: 6deg; }
.v5-demo-hand { margin-top: 20px; }
.v5-demo-play { cursor: pointer; transition: translate .2s ease; -webkit-tap-highlight-color: transparent; }
.v5-demo.is-playing .v5-demo-play { translate: 0 -136px; transition-duration: .45s; }
.v5-demo.is-playing .v5-demo-table .playing-card { opacity: 0; scale: .9; }
.v5-demo-result { display: grid; justify-items: center; gap: 16px; padding-top: 40px; }
.v5-demo-result strong { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.v5-demo-status { align-self: end; font-size: 14px; }

/* Deluxe: the offer, what it adds, and the two tiers side by side. */
.v5-deluxe-hero h1 span { white-space: nowrap; }
.v5-deluxe-price { margin-top: 20px; font-size: 15px; }
.v5-deluxe-price strong { margin-right: 6px; font-size: 30px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.v5-compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.v5-compare th, .v5-compare td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.v5-compare thead th { padding-top: 14px; font-size: 14px; font-weight: 500; }
.v5-compare thead th:nth-child(2) { font-weight: 400; color: var(--gray); }
.v5-compare tbody th[scope=row] { padding-left: 0; text-align: left; font-weight: 400; }
.v5-compare .v5-group th { padding: 28px 0 8px; font-size: 13px; font-weight: 400; color: var(--gray); text-align: left; }
.v5-compare tbody:first-of-type .v5-group th { padding-top: 12px; }
.v5-compare-free, .v5-compare-deluxe { width: 108px; }
.v5-compare-deluxe { background: var(--surface); }
.v5-yes, .v5-no { display: inline-block; width: 18px; height: 18px; vertical-align: middle; background: var(--ink); }
.v5-yes { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.v5-no { background: var(--no); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 6 8 8M14 6l-8 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 6 8 8M14 6l-8 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.v5-value { font-size: 14px; white-space: nowrap; color: var(--gray); }
.v5-compare td:last-child .v5-value { font-weight: 500; color: var(--ink); }
/* Each feature carries the main Deluxe page's tinted icon. */
.v5-feature { display: flex; align-items: center; gap: 12px; }
.v5-feature-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: #475350; background: #e2e8e4; }
.v5-feature-icon svg { width: 19px; height: 19px; }
.v5-icon-games { color: #8a4656; background: #f0dfe4; } .v5-icon-online { color: #526277; background: #e2e7ee; } .v5-icon-adFree { color: #667432; background: #e8ebd7; } .v5-icon-results { color: #7c5c3f; background: #ede3d9; }
.v5-icon-faces { color: #8c501d; background: #f7e4d2; } .v5-icon-backs { color: #565183; background: #e8e4f2; } .v5-icon-tables { color: #326f69; background: #dcece8; } .v5-icon-hints { color: #826117; background: #f6ecc9; } .v5-icon-undos { color: #396690; background: #e0ebf6; } .v5-icon-replay { color: #397455; background: #deede3; }
@media (max-width: 640px) { .v5-feature { gap: 8px; } .v5-feature-icon { width: 26px; height: 26px; } .v5-feature-icon svg { width: 17px; height: 17px; } }
@media (max-width: 360px) { .v5-feature-icon { display: none; } }
.v5-compare-notes { display: grid; gap: 8px; margin-top: 20px; }
.v5-compare-notes p { max-width: 62ch; font-size: 14px; }
.v5-steps p { max-width: 56ch; font-size: 16px; }
.v5-steps p + p { margin-top: 12px; }

/* Press: the facts as a ruled list, then the artwork to download. */
.v5-facts { border-top: 1px solid var(--line); font-size: 15px; }
.v5-facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.v5-facts dt { color: var(--gray); }
.v5-press-poster {
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 36px);
  align-items: center;
  padding: clamp(14px, 3vw, 24px);
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.v5-poster-preview { display: grid; gap: 8px; justify-items: center; color: var(--ink); font-size: 14px; }
.v5-poster-preview img { display: block; width: 100%; height: auto; border-radius: 6px; }
.v5-press-poster figcaption { display: grid; justify-items: start; gap: 6px; }
.v5-press-poster h3 { font-size: 20px; line-height: 1.25; }
.v5-press-poster figcaption :is(p, a) { font-size: 14px; }
@media (max-width: 480px) {
  .v5-press-poster { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
}
.v5-assets.v5-assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.v5-assets li + li { margin-top: 0; }
.v5-asset { display: grid; align-content: start; gap: 6px; }
.v5-asset-preview { position: relative; aspect-ratio: 4 / 5; margin-bottom: 6px; overflow: hidden; border-radius: 16px; background: var(--soft) var(--dots) center / var(--dots-size); }
.v5-asset-preview img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; filter: drop-shadow(0 10px 14px #00000017); }
.v5-asset-icon img { inset: 0; width: 56%; height: auto; margin: auto; border-radius: 22%; }
.v5-asset h3 { font-size: 15px; color: var(--ink); }
.v5-asset a { font-size: 14px; }

.v5-missing { display: grid; justify-items: center; width: var(--wrap); margin: 0 auto; padding: 88px 0 120px; text-align: center; }
.v5-missing img { width: 64px; height: auto; }
.v5-missing h1 { margin-top: 28px; }
.v5-missing p { margin-top: 10px; font-size: 18px; }
.v5-missing .v5-actions { justify-content: center; }

/* The screenshot viewer: the page's paper, frosted, with one slide per screen width. */
.v5-viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; overflow: hidden; overscroll-behavior: contain; border: 0; color: var(--ink); background: var(--paper); }
.v5-viewer[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; animation: v5-viewer-in .18s ease-out; }
.v5-viewer::backdrop { background: transparent; }
.v5-viewer:focus-visible { outline-offset: -4px; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .v5-viewer { background: color-mix(in srgb, var(--paper) 91%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); }
}
@keyframes v5-viewer-in { from { opacity: 0; } }
.v5-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px 0; }
.v5-viewer-count { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--gray); }
.v5-viewer button { display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.v5-viewer-close { width: 40px; height: 40px; }
.v5-viewer-stage { position: relative; min-width: 0; min-height: 0; }
.v5-viewer-track { position: relative; display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.v5-viewer-track::-webkit-scrollbar { display: none; }
.v5-slide { flex: 0 0 100%; display: grid; grid-template-rows: minmax(min(240px, 100%), 1fr) auto; justify-items: center; gap: 18px; min-width: 0; padding: 18px 76px 12px; overflow-y: auto; overscroll-behavior-y: contain; scroll-snap-align: center; scroll-snap-stop: always; }
.v5-slide img { width: auto; height: 100%; max-width: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 16px 16px #0000001f); }
.v5-slide figcaption { max-width: 46ch; text-align: center; font-size: 15px; line-height: 1.5; color: var(--gray); }
.v5-slide figcaption strong { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.v5-viewer-step { position: absolute; top: 50%; width: 44px; height: 44px; translate: 0 -50%; box-shadow: 0 2px 10px #0000000f; }
.v5-viewer-step::after { content: ''; position: absolute; inset: -14px -6px; border-radius: 50%; }
.v5-viewer-prev { left: 20px; }
.v5-viewer-next { right: 20px; }
.v5-viewer-step[aria-disabled=true] { opacity: .35; cursor: default; }
.v5-viewer-dots { display: flex; justify-content: center; gap: 2px; padding: 8px 20px 18px; }
.v5-viewer .v5-viewer-dots button { width: 24px; height: 24px; border: 0; border-radius: 12px; background: transparent; }
.v5-viewer-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 4px; background: var(--faint); transition: width .2s ease, background .2s ease; }
.v5-viewer-dots button[aria-current=true]::before { width: 18px; background: var(--ink); }
/* One screenshot: no dots under it, so the picture takes their room. */
.v5-viewer:not(:has(.v5-viewer-dots)) .v5-slide { padding-bottom: 24px; }

/*
 * Dark mode follows the app's own dark palette: near-black paper, raised gray surfaces, and warm
 * white ink. It follows the system unless the footer switch sets data-theme on the root element;
 * the two blocks below hold the same colors, one for each way in.
 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --paper: #0f0f11; --ink: #f3f2ee; --gray: #a2a2a8; --line: #2e2e33; --soft: #18181b;
  --surface: #1b1b1e; --ink-hover: #dcdbd6; --ink-soft: #d0d0d4; --faint: #4a4a50; --dot-ink: #34343a; --no: #e06b5f;
  }
  :root:not([data-theme=light]) .v5-hero-art img, :root:not([data-theme=light]) .v5-shot > img, :root:not([data-theme=light]) .v5-slide img, :root:not([data-theme=light]) .v5-asset-preview img { filter: drop-shadow(0 16px 28px #00000080); }
  :root:not([data-theme=light]) .v5-feature-icon { background: color-mix(in srgb, currentColor 22%, transparent); }
  :root:not([data-theme=light]) .v5-feature-icon svg { color: color-mix(in srgb, currentColor 45%, white); }
  :root:not([data-theme=light]) .v5-dot { filter: saturate(.8) brightness(.9); }
}
:root[data-theme=dark] {
  color-scheme: dark;
  --paper: #0f0f11; --ink: #f3f2ee; --gray: #a2a2a8; --line: #2e2e33; --soft: #18181b;
    --surface: #1b1b1e; --ink-hover: #dcdbd6; --ink-soft: #d0d0d4; --faint: #4a4a50; --dot-ink: #34343a; --no: #e06b5f;
}
:root[data-theme=light] { color-scheme: light; }
:root[data-theme=dark] .v5-hero-art img, :root[data-theme=dark] .v5-shot > img, :root[data-theme=dark] .v5-slide img, :root[data-theme=dark] .v5-asset-preview img { filter: drop-shadow(0 16px 28px #00000080); }
:root[data-theme=dark] .v5-feature-icon { background: color-mix(in srgb, currentColor 22%, transparent); }
:root[data-theme=dark] .v5-feature-icon svg { color: color-mix(in srgb, currentColor 45%, white); }
:root[data-theme=dark] .v5-dot { filter: saturate(.8) brightness(.9); }

/* The appearance control shows the current choice and opens a small menu below it. */
.v5-theme { position: relative; flex: none; }
.v5-theme-button { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.v5-theme-button::after { content: ''; position: absolute; inset: -4px; }
.v5-theme-button svg { display: none; width: 18px; height: 18px; }
.v5-theme[data-choice=system] [data-icon=system], .v5-theme[data-choice=light] [data-icon=light], .v5-theme[data-choice=dark] [data-icon=dark] { display: block; }
.v5-theme-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 168px; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 14px 32px #0000002e; }
.v5-theme-menu label { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 0 12px; border-radius: 9px; font-size: 14px; color: var(--ink); cursor: pointer; }
.v5-theme-menu input { position: absolute; opacity: 0; pointer-events: none; }
.v5-theme-menu label::after { content: ''; width: 15px; height: 15px; background: currentColor; visibility: hidden; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.v5-theme-menu label:has(input:checked)::after { visibility: visible; }
.v5-theme-menu label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
@media (hover: hover) { .v5-theme-button:hover, .v5-theme-menu label:hover { background: var(--soft); } }

/* Below the width that fits the list beside the article, the list folds under the page heading. */
@media (max-width: 1199px) {
  .v5-doc { grid-template-columns: minmax(0, 680px); justify-content: center; }
  .v5-doc > * { grid-column: 1; }
  .v5-contents { display: none; }
  .v5-contents-menu { display: block; margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14px; }
  .v5-contents-menu summary { position: relative; padding: 11px 44px 11px 16px; cursor: pointer; list-style: none; font-weight: 500; }
  .v5-contents-menu summary::-webkit-details-marker { display: none; }
  .v5-contents-menu summary::after { content: ''; position: absolute; top: 50%; right: 18px; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid var(--gray); border-bottom: 1.5px solid var(--gray); rotate: 45deg; transition: rotate .2s ease, margin .2s ease; }
  .v5-contents-menu[open] summary::after { margin-top: -2px; rotate: 225deg; }
  .v5-contents-menu nav { padding: 2px 16px 10px; border-top: 1px solid var(--line); }
  .v5-contents-menu ol { padding-top: 6px; }
}
@media (max-width: 960px) {
  .v5-header { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: 'brand download download' 'nav nav tools'; column-gap: 14px; padding: 12px 0; }
  .v5-header-actions { display: contents; }
  .v5-header-tools { grid-area: tools; justify-self: end; gap: 10px; }
  .v5-header-download { grid-area: download; justify-self: end; }
  .v5-header nav { flex-wrap: wrap; gap: 0 14px; }
  .v5-header nav a { padding-block: 8px; }
  .v5-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; }
  .v5-hero-art img { width: 280px; }
  .v5-hero-icon { width: 104px; height: 104px; }
  .v5-hero-icon + * { margin-top: 24px; }
  .v5-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-cell:nth-child(3n) { padding-right: 28px; border-right: 1px solid var(--line); }
  .v5-cell:nth-child(3n + 1) { padding-left: 28px; }
  .v5-cell:nth-child(2n) { padding-right: 0; border-right: 0; }
  .v5-cell:nth-child(2n + 1) { padding-left: 0; }
  .v5-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-pricing, .v5-faq, .v5-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* A row of three stays a row of three while each cell keeps room for its picture. */
  .v5-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v5-grid-three .v5-cell, .v5-grid-three .v5-cell:nth-child(n) { padding: 24px 20px 0; border-right: 1px solid var(--line); }
  .v5-grid-three .v5-cell:first-child { padding-left: 0; }
  .v5-grid-three .v5-cell:last-child { padding-right: 0; border-right: 0; }
}
@media (max-width: 760px) {
  .v5-grid-three { grid-template-columns: minmax(0, 1fr); }
  .v5-grid-three .v5-cell, .v5-grid-three .v5-cell:nth-child(n) { padding: 28px 0 0; border-right: 0; }
}
@media (max-width: 640px) {
  :root { --wrap: calc(100% - 40px); }
  .v5-header { column-gap: 10px; }
  .v5-header nav { column-gap: 8px; font-size: 13px; }
  .v5-header-tools { gap: 8px; }
  .v5-grid, .v5-small { grid-template-columns: minmax(0, 1fr); }
  .v5-cell, .v5-cell:nth-child(3n), .v5-cell:nth-child(2n) { padding-left: 0; padding-right: 0; border-right: 0; }
  .v5-cell .v5-shot { min-height: 400px; }
  .v5-duo-gallery { grid-template-columns: minmax(0, 1fr); }
  .v5-duo .v5-shot { height: auto; }
  .v5-duo .v5-shot > img { width: 100%; max-height: none; }
  .v5-doc { padding: 20px 0 72px; }
  .v5-article { padding-top: 28px; }
  .v5-article > section + section, .v5-article > p + section { margin-top: 48px; }
  .v5-cards { gap: 16px 24px; padding-inline: 12px; }
  .v5-compare { font-size: 14px; }
  .v5-compare th, .v5-compare td { padding-inline: 4px; }
  .v5-compare-free, .v5-compare-deluxe { width: 80px; }
  .v5-value { font-size: 13px; }
  .v5-facts div { grid-template-columns: 96px minmax(0, 1fr); }
  .v5-assets.v5-assets { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .v5-asset { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-content: center; }
  .v5-asset-preview { grid-row: span 2; margin: 0; }
  .v5-asset-preview img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .v5-asset-icon img { inset: 0; width: 56%; height: auto; }
  .v5-asset h3 { align-self: end; }
  .v5-asset a { align-self: start; }
  .v5-missing { padding: 56px 0 96px; }
  .v5-viewer-bar { padding: 10px 14px 0; }
  .v5-slide { padding: 12px 52px 10px; gap: 14px; }
  .v5-slide figcaption { font-size: 14px; }
  .v5-slide figcaption strong { font-size: 16px; }
  .v5-viewer-step { width: 40px; height: 40px; }
  .v5-viewer-prev { left: 6px; }
  .v5-viewer-next { right: 6px; }
  .v5-viewer-dots { padding: 6px 14px 14px; }
  .v5-small { border-left: 0; }
  .v5-small li { padding: 18px 0; border-right: 0; }
  .v5-price { font-size: 52px; }
}
@media (hover: hover) {
  .v5-viewer button:hover { background: var(--soft); }
  .v5-viewer-step[aria-disabled=true]:hover { background: var(--surface); }
  .v5-viewer .v5-viewer-dots button:hover { background: transparent; }
  .v5-viewer-dots button:hover::before { background: var(--gray); }
  .v5-demo-play:hover { translate: 0 -6px; }
}
/* Touch screens: swipe and the dots move between slides, so the arrows give their room to the picture. */
@media (hover: none) and (pointer: coarse) {
  .v5-footer a { min-height: 44px; }
  .v5-viewer .v5-viewer-step { display: none; }
  .v5-slide { padding-inline: 16px; }
}
/* Short landscape screens: the picture beside its caption, so it can use the full height. */
@media (max-height: 540px) and (orientation: landscape) {
  .v5-viewer-bar { padding: 6px 14px 0; }
  .v5-viewer-dots { padding-block: 0 6px; }
  .v5-slide { grid-template: minmax(0, 1fr) / auto minmax(0, 30ch); align-items: center; justify-content: center; column-gap: 32px; padding-block: 10px 6px; }
  .v5-slide img { justify-self: end; }
  .v5-slide figcaption { text-align: start; }
}
/* Windows High Contrast and other forced colors: draw the marks in system colors. */
@media (forced-colors: active) {
  .v5-viewer-dots button::before, .v5-expand::before, .v5-yes, .v5-no { background: CanvasText; }
  .v5-viewer-dots button[aria-current=true]::before { background: Highlight; }
  .v5-faq-list summary::after { content: '+'; width: auto; height: auto; margin-top: -.75em; background: none; line-height: 1.5; }
}
@media (hover: none) { .v5-expand { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v5-viewer[open] { animation: none; }
  .v5-expand, .v5-viewer-dots button::before, .v5-faq-list summary::after, .v5-contents-menu summary::after, .v5-demo-table .playing-card, .v5-demo-play { transition: none; }
}

.v5-language { position: relative; flex: none; font-size: 14px; color: var(--gray); }
.v5-language summary { display: flex; align-items: center; gap: 9px; min-height: 44px; list-style: none; cursor: pointer; }
.v5-language summary::-webkit-details-marker { display: none; }
.v5-language summary::after { content: ''; width: 6px; height: 6px; margin: -3px 2px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.v5-language[open] summary, .v5-language summary:hover { color: var(--ink); }
.v5-language[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.v5-language-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 20; min-width: 156px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 14px 32px #0000002e; }
.v5-language-menu a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 0 12px; border-radius: 9px; color: var(--ink); text-decoration: none; }
.v5-language-menu a:hover { background: var(--soft); }
.v5-language-check { font-size: 16px; }
