@font-face { font-family: "Libertinus Serif"; src: url("fonts/LibertinusSerif-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --lp-paper: #FFFFFF;
  --lp-well: #F4F4F3;
  --lp-press: #EAEAE8;
  --lp-line: rgb(17 17 17 / 9%);
  --lp-line-strong: rgb(17 17 17 / 18%);
  --lp-ink: #111111;
  --lp-ink-hover: #2A2A2A;
  --lp-ink-2: #4A4A4A;
  --lp-muted: #6B6B6B;
  --lp-pass: #16A34A;
  --lp-meta: 13px;
  --lp-small: 15px;
  --lp-body: 18px;
  --lp-h3: 26px;
  --lp-h2: 44px;
  --lp-h1: 68px;
  --lp-frame: 1120px;
  --lp-inset: 56px;
  --lp-section: 120px;
  --lp-serif: "Libertinus Serif", Georgia, serif;
  --lp-sans: "Inter", system-ui, sans-serif;
  --lp-shadow: 0 1px 2px #0000000F;
  --lp-ease: 120ms ease-out;
  --lp-out: cubic-bezier(.22, 1, .36, 1);
  --lp-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
html:has(.lb[open]) { overflow: hidden; }
::selection { background: rgb(17 17 17 / 12%); }
body { margin: 0; -webkit-tap-highlight-color: transparent; background: var(--lp-paper); color: var(--lp-ink); font: 400 var(--lp-small)/20px var(--lp-sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
b { font-weight: inherit; color: var(--lp-ink); }
.defs { position: absolute; }

/* icons: Lucide, stroke 1.75 */
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.logo { width: 24px; height: 24px; flex: none; }

/* frame: hairlines left and right, line under every band */
.frame { width: min(var(--lp-frame), 100% - 48px); margin-inline: auto; border-inline: 1px solid var(--lp-line); }
.nav, .sec, .hero { border-bottom: 1px solid var(--lp-line); }
.sec > .frame { padding: var(--lp-section) var(--lp-inset); }

h1 { font: 400 var(--lp-h1)/72px var(--lp-serif); letter-spacing: -0.02em; }
h2 { font: 400 var(--lp-h2)/48px var(--lp-serif); letter-spacing: -0.02em; }
h1, #kdp h2, #cover h2, #themes h2, #price h2 { text-wrap: balance; }
.lead { font-size: var(--lp-body); line-height: 28px; color: var(--lp-ink-2); }
.copy { display: flex; flex-direction: column; gap: 20px; }
.w340 { width: 340px; } .w400 { width: 400px; } .w480 { width: 480px; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
figcaption { display: flex; align-items: center; gap: 8px; font-size: var(--lp-meta); line-height: 16px; color: var(--lp-muted); }
figcaption .ic { color: var(--lp-ink-2); }
.shadow { box-shadow: var(--lp-shadow); }
.marked { position: relative; }
.trim { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); fill: none; stroke: var(--lp-ink); pointer-events: none; }
.m { display: none; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 8px; background: var(--lp-ink); color: #fff; font-weight: 500; white-space: nowrap; }
.btn-lg { height: 48px; padding: 0 20px; font-size: 16px; }
.btn.soon { background: var(--lp-well); color: var(--lp-muted); box-shadow: inset 0 0 0 1px var(--lp-line); pointer-events: none; }
[hidden] { display: none !important; }
.btn-lg .ic { width: 18px; height: 18px; }
.link { color: var(--lp-ink-2); border-radius: 4px; text-decoration: underline 1px transparent; text-underline-offset: 3px; transition: text-decoration-color var(--lp-ease); }
.link:active { text-decoration-color: currentColor; }
.btn, .tile { transition: transform var(--lp-ease); }
.btn:active, .tile:active { transform: scale(.97); }
.ib { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--lp-muted); cursor: pointer; transition: transform var(--lp-ease); }
.ib .ic { width: 18px; height: 18px; }
.ib:active { transform: scale(.97); }
:focus-visible { outline: 2px solid var(--lp-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .btn { transition: background-color var(--lp-ease), transform var(--lp-ease); }
  .btn:hover { background: var(--lp-ink-hover); }
  .link:hover { text-decoration-color: currentColor; }
  .faq summary::before, .menu-panel a { transition: background-color var(--lp-ease); }
  .faq summary:hover::before, .menu-panel a:hover { background: var(--lp-well); }
  .tile img { transition: outline-color var(--lp-ease); }
  .tile { transition: transform var(--lp-ease); }
  .tile:hover img { outline-color: var(--lp-line-strong); }
  .ib { transition: background-color var(--lp-ease), color var(--lp-ease), transform var(--lp-ease); }
  .ib:hover { background: var(--lp-well); color: var(--lp-ink); }
  .pages input:hover::-webkit-slider-runnable-track { background: rgb(17 17 17 / 32%); }
  .pages input:hover::-moz-range-track { background: rgb(17 17 17 / 32%); }
  .g-out, .g-in { transition: opacity 200ms ease-out; }
  .card li:first-child:hover { background: var(--lp-well); }
  .kdp-in:has(.card li:first-child:hover) .g-out { opacity: .25; }
}

/* nav */
.nav-in { height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-left, .nav-right { display: flex; align-items: center; }
.nav-left { gap: 48px; }
.nav-right { gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; line-height: 24px; font-weight: 500; border-radius: 4px; }
.brand span { font-family: "IBM Plex Sans", var(--lp-sans); }
.nav .brand span { letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; }
.mac { display: inline-flex; align-items: center; gap: 8px; }
.menu { display: none; position: relative; }
.menu summary { width: 44px; height: 44px; margin-right: -4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; list-style: none; border-radius: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 18px; height: 1.5px; background: var(--lp-ink); transition: transform 200ms var(--lp-in-out); }
.menu[open] summary span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu::details-content { transition: content-visibility 120ms allow-discrete; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; width: 220px; padding: 6px; background: var(--lp-paper); border-radius: 12px; box-shadow: 0 8px 24px #0000000F, 0 0 0 1px var(--lp-line-strong); display: flex; flex-direction: column; transform-origin: top right; }
.menu:not([open]) .menu-panel { opacity: 0; transform: scale(.96); transition: opacity 120ms ease-out, transform 120ms ease-out; }
.menu[open] .menu-panel { animation: pop 180ms var(--lp-out); }
.menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; font-size: var(--lp-small); color: var(--lp-ink-2); }
.menu-panel a:active { background: var(--lp-press); }

/* hero */
.hero-top { padding: 96px var(--lp-inset) 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.hero-text { width: 640px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.hero-text .lead { width: 520px; max-width: 100%; }
.hero-cta { display: flex; flex-direction: column; gap: 16px; }
.cta-row { display: flex; align-items: center; gap: 24px; }
.mac-lg { font-size: 16px; line-height: 24px; color: var(--lp-ink); }
.note { font-size: 14px; line-height: 20px; color: var(--lp-muted); }
.hero-fig { background: var(--lp-well); border-top: 1px solid var(--lp-line); padding: 72px 64px 64px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.docx { flex: 0 1 288px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.docx-page { height: 372px; padding: 36px 32px; background: #fff; box-shadow: var(--lp-shadow); overflow: hidden; display: flex; flex-direction: column; gap: 10px; font: 400 9px/18px "Times New Roman", Times, serif; color: #222; }
.docx-h { font-weight: 700; font-size: 11px; line-height: 14px; }
.arrow-r { flex: none; }
.arrow-d { display: none; }
.spread { flex: 0 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.spread img { width: 100%; aspect-ratio: 600 / 464; object-fit: cover; }

/* any device */
.device { width: 592px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.browser { background: #fff; border: 1px solid var(--lp-line-strong); border-radius: 12px; box-shadow: 0 8px 24px #0000000F; overflow: hidden; }
.browser-bar { height: 36px; padding: 0 12px; display: flex; align-items: center; background: #F7F7F7; border-bottom: 1px solid var(--lp-line); }
.browser-bar span { height: 24px; padding: 0 10px; display: flex; align-items: center; background: #fff; border: 1px solid var(--lp-line); border-radius: 6px; font-size: 12px; line-height: 16px; color: var(--lp-ink-2); }
.browser img { width: 100%; aspect-ratio: 590 / 369; object-fit: cover; object-position: top left; }
#device .lead { white-space: nowrap; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 14px; line-height: 20px; color: var(--lp-muted); }
.platforms li { display: flex; align-items: center; gap: 8px; }

/* kdp */
.kdp > .frame { background: var(--lp-well); padding: 112px var(--lp-inset) 104px 96px; }
.kdp-in { display: flex; align-items: center; gap: 80px; }
.kdp-fig { order: -1; flex: none; width: 340px; display: flex; flex-direction: column; gap: 40px; }
.kdp-fig img { width: 340px; aspect-ratio: 340 / 526; object-fit: cover; }
.margins { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.dims { position: absolute; left: 0; right: 0; top: -76px; font-size: var(--lp-meta); line-height: 16px; color: var(--lp-ink); display: flex; justify-content: space-between; }
.dims svg { position: absolute; left: 0; top: 28px; width: 100%; height: 12px; }
.cap-split { justify-content: space-between; }
.kdp-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.card { width: 480px; max-width: 100%; background: var(--lp-paper); border-radius: 12px; box-shadow: 0 1px 2px #0000000D, 0 0 0 1px #11111114; }
.card-head { height: 52px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--lp-line); font-size: 14px; color: var(--lp-muted); }
.card-head b { font-size: var(--lp-small); font-weight: 500; }
.card li { min-height: 56px; padding: 0 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--lp-line); }
.card li:last-child { border-bottom: 0; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 4px; background: var(--lp-pass); }
.row-t { flex: 1; display: flex; flex-direction: column; }
.row-t span { font-size: var(--lp-meta); line-height: 18px; color: var(--lp-muted); }
.row-v { font-size: var(--lp-meta); line-height: 16px; color: var(--lp-ink-2); }

/* cover */
.specs { padding-top: 12px; }
.specs div { height: 44px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--lp-line); }
.specs div:last-child { border-bottom: 1px solid var(--lp-line); }
.specs dt { display: flex; align-items: center; gap: 10px; color: var(--lp-ink-2); }
.specs dt .ic { color: var(--lp-muted); }
.specs dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.specs .pages[hidden] { display: none; }
.pages dd { display: flex; align-items: center; gap: 14px; }
.pages output { min-width: 3ch; text-align: right; }
.pages input { appearance: none; -webkit-appearance: none; width: 148px; height: 44px; margin: 0; background: none; cursor: pointer; touch-action: pan-y; }
.pages input::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: var(--lp-line-strong); }
.pages input::-moz-range-track { height: 2px; border-radius: 1px; background: var(--lp-line-strong); }
.pages input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6px; border: 0; border-radius: 50%; background: var(--lp-ink); transition: transform var(--lp-ease); }
.pages input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--lp-ink); transition: transform var(--lp-ease); }
.pages input:active::-webkit-slider-thumb { transform: scale(1.15); }
.pages input:active::-moz-range-thumb { transform: scale(1.15); }
.pages input:focus-visible { outline: none; }
.pages input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--lp-paper), 0 0 0 4px var(--lp-ink); }
.pages input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--lp-paper), 0 0 0 4px var(--lp-ink); }
.live > img { visibility: hidden; }
.live > .trim, .live > .bracket { display: none !important; }
.wrap-live { position: absolute; max-width: none; overflow: visible; }
.wrap-live path { fill: none; stroke: var(--lp-ink); shape-rendering: crispEdges; }
.ok { display: flex; align-items: center; gap: 8px; color: var(--lp-ink-2); }
.ok .ic { color: var(--lp-pass); }
.wrap { width: 600px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.wrap img { width: 100%; aspect-ratio: 600 / 451; }
.wrap .trim.d { inset: -20px; }
.bracket { position: absolute; fill: none; stroke: var(--lp-ink); }
.bracket.d { left: 48.17%; top: -20px; width: 22px; height: 12px; }

/* themes */
.themes-in { display: flex; flex-direction: column; gap: 64px; }
.themes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.themes-head h2 { width: 520px; }
.themes-head .lead { width: 380px; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 184px)); justify-content: space-between; gap: 21px; }
.tile { display: flex; flex-direction: column; gap: 16px; border-radius: 4px; color: var(--lp-ink); }
.tile img { width: 100%; aspect-ratio: 184 / 284; object-fit: cover; outline: 1px solid #11111114; outline-offset: -1px; }
.tile:active img { outline-color: var(--lp-line-strong); }

/* theme preview */
.lb { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: none; color: inherit; place-items: center; opacity: 0; transform: scale(.97); transition: opacity 150ms ease-out, transform 150ms ease-out, overlay 150ms allow-discrete, display 150ms allow-discrete; }
.lb[open] { display: grid; opacity: 1; transform: none; transition-duration: 240ms; transition-timing-function: var(--lp-out); }
.lb::backdrop { background: rgb(17 17 17 / 0%); transition: background-color 150ms ease-out, overlay 150ms allow-discrete, display 150ms allow-discrete; }
.lb[open]::backdrop { background: rgb(17 17 17 / 32%); transition-duration: 200ms; }
@starting-style {
  .lb[open] { opacity: 0; transform: scale(.97); }
  .lb[open]::backdrop { background: rgb(17 17 17 / 0%); }
}
.lb-panel { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 12px; background: var(--lp-paper); box-shadow: 0 0 0 1px var(--lp-line), 0 16px 40px rgb(17 17 17 / 12%); }
.lb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--lp-meta); line-height: 16px; color: var(--lp-muted); }
.lb-title { display: flex; align-items: baseline; gap: 10px; padding-left: 8px; font-variant-numeric: tabular-nums; }
.lb-title b { font: 400 22px/28px var(--lp-serif); }
#lb-fonts { text-align: center; }
.lb-page { position: relative; width: min(388px, 100vw - 72px, (100dvh - 176px) * .6467); aspect-ratio: 388 / 600; margin: 0 8px; background: #fff; }
.lb-page::after { content: ""; position: absolute; inset: 0; outline: 1px solid #11111114; outline-offset: -1px; }
.lb-page img { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; opacity: 0; transition: opacity 200ms ease-out; }
.lb-page img.on { opacity: 1; }
.lb-page.now img { transition: none; }

/* speed */
.speed > .frame { padding: var(--lp-inset); }
.speed-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.speed h2 { font-size: var(--lp-h3); line-height: 32px; letter-spacing: 0; }
.stats { width: 380px; display: grid; grid-template-columns: 127px 127px 126px; column-gap: 0; }
.stats li { display: flex; flex-direction: column; gap: 6px; }
.stat-v { height: 32px; display: flex; align-items: center; gap: 8px; font: 400 var(--lp-h3)/32px var(--lp-serif); }
.stat-v .ic { width: 18px; height: 18px; color: var(--lp-ink-2); }
.stat-l { font-size: 14px; line-height: 20px; color: var(--lp-muted); }

/* more */
#more .themes-head .lead { width: calc((100% - 96px) / 3); }
.more { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; margin-bottom: -32px; }
.more div { display: flex; flex-direction: column; gap: 6px; min-height: 165px; padding: 20px 0 32px; border-top: 1px solid var(--lp-line-strong); }
.more dt { display: flex; flex-direction: column; gap: 14px; font: 400 22px/28px var(--lp-serif); }
.more dt .ic { width: 20px; height: 20px; color: var(--lp-ink-2); }
.more dd { font-size: var(--lp-small); line-height: 22px; color: var(--lp-muted); }

/* local */
.status { width: 560px; min-height: 44px; display: flex; align-items: center; gap: 20px; border-block: 1px solid var(--lp-line-strong); font-size: var(--lp-meta); line-height: 16px; color: var(--lp-ink-2); }
.status-ok { display: flex; align-items: center; gap: 8px; color: var(--lp-ink); }
.status-ok .ic { color: var(--lp-ink-2); }
.status .sep { display: none; }

/* price */
.price-in { display: flex; flex-direction: column; gap: 64px; }
.price-in h2 { width: 560px; max-width: 100%; }
.plans { display: flex; }
.plan-free { flex: 0 1 800px; min-width: 0; }
.plan-paid { flex: 0 0 208px; }
.plan-head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 16px; color: var(--lp-muted); }
.plan-head b { font-weight: 500; }
.plan ul { display: grid; padding-top: 24px; border-top: 1px solid var(--lp-line-strong); }
.plan-free ul { grid-template-columns: repeat(4, minmax(0, 200px)); }
.plan-paid ul { border-top-color: var(--lp-ink); }
.plan li { display: flex; align-items: center; gap: 10px; font-size: var(--lp-body); line-height: 28px; }
.plan li .ic { width: 20px; height: 20px; color: var(--lp-ink-2); }
.terms { display: flex; flex-wrap: wrap; gap: 12px 40px; color: var(--lp-ink-2); }
.terms li { display: flex; align-items: center; gap: 8px; }
.terms .ic { color: var(--lp-muted); }

/* compare */
.compare-in { display: flex; flex-direction: column; gap: 48px; }
.cmp { width: 100%; border-collapse: collapse; font-size: var(--lp-small); line-height: 22px; text-align: left; }
.cmp thead td, .cmp thead th { padding: 0 0 14px; border-bottom: 1px solid var(--lp-line-strong); font-weight: 400; color: var(--lp-ink-2); }
.cmp thead td { width: 216px; }
.cmp thead th { width: 264px; }
.cmp thead th.glava { font-weight: 500; color: var(--lp-ink); }
.prod { display: flex; align-items: center; gap: 8px; height: 22px; }
.prod .logo, .app-ic { width: 20px; height: 20px; border-radius: 5px; }
.cmp tbody th, .cmp tbody td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--lp-line); vertical-align: top; }
.cmp tbody th { font-weight: 400; color: var(--lp-muted); }
.cmp tbody td { color: var(--lp-ink-2); }
.cmp tbody td.glava { color: var(--lp-ink); }
.mp { display: none; }
.cmp-note { padding-top: 16px; font-size: var(--lp-meta); line-height: 20px; color: var(--lp-muted); }

/* questions */
.faq-in { align-items: flex-start; }
.faq-in h2 { width: 360px; }
.faq { width: 600px; min-width: 0; border-top: 1px solid var(--lp-line-strong); }
.faq details { padding-bottom: 12px; border-bottom: 1px solid var(--lp-line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; position: relative; isolation: isolate; padding: 20px 12px 8px; margin-inline: -12px; font-size: var(--lp-body); line-height: 28px; cursor: pointer; list-style: none; }
/* the band sits centred on the question, clear of both hairlines */
.faq summary::before { content: ""; position: absolute; z-index: -1; inset: 8px 0 -4px; border-radius: 4px; }
.faq details[open] summary::before { inset: 12px 0 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:active::before { background: var(--lp-press); }
.faq summary:focus-visible { outline: none; }
.faq summary:focus-visible::before { box-shadow: inset 0 0 0 2px var(--lp-ink); }
.mk { flex: none; position: relative; width: 16px; height: 28px; color: var(--lp-muted); }
.mk::before, .mk::after { content: ""; position: absolute; left: 3px; top: calc(50% - .75px); width: 10px; height: 1.5px; background: currentColor; transition: transform 240ms var(--lp-out), opacity 240ms var(--lp-out); }
.mk::after { transform: rotate(-90deg); }
details[open] .mk::after { transform: none; opacity: 0; }
.faq details::details-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 160ms var(--lp-out), content-visibility 160ms allow-discrete; }
.faq details[open]::details-content { grid-template-rows: 1fr; transition-duration: 240ms; }
.ans { min-height: 0; overflow: hidden; opacity: 0; transition: opacity 120ms ease-out; }
details[open] .ans { opacity: 1; transition: opacity 240ms ease-out 40ms; }
.ans p { padding-bottom: 12px; width: 520px; max-width: 100%; color: var(--lp-ink-2); line-height: 24px; }

/* final band */
.final { position: relative; height: 890px; overflow: hidden; background: var(--lp-ink); }
.final-pages { position: absolute; top: 120px; left: 0; right: 0; height: 650px; opacity: .22; }
.fp { position: absolute; top: 0; width: 420px; height: 650px; max-width: none; left: calc(50% - 210px); }
.fp-l2 { translate: -920px; } .fp-l1 { translate: -460px; } .fp-r1 { translate: 460px; } .fp-r2 { translate: 920px; }
.final-frame { position: absolute; inset: 0; width: min(var(--lp-frame), 100% - 48px); margin-inline: auto; border-inline: 1px solid #FFFFFF24; }
.final::before, .final::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: #FFFFFF24; z-index: 1; }
.final::before { top: 0; } .final::after { bottom: 0; }
.final-page { position: absolute; top: 120px; left: calc(50% - 210px); width: 420px; height: 650px; padding: 132px 60px 40px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.final-page .trim { stroke: #fff; }
.final-body { width: 300px; display: flex; flex-direction: column; align-items: center; color: #222; }
.kicker { font: 400 11px/14px var(--lp-serif); letter-spacing: .18em; text-transform: uppercase; }
.final h2 { padding-top: 16px; font-size: 34px; line-height: 40px; letter-spacing: 0; color: var(--lp-ink); }
.final hr { width: 36px; height: 1px; margin: 20px 0 0; border: 0; background: var(--lp-ink); }
.dropcap { width: 256px; margin-top: 32px; font: 400 16px/23px var(--lp-serif); }
.dc { float: left; margin: 2px 6px 0 0; font-size: 50px; line-height: 44px; color: var(--lp-ink); }
.caps { text-transform: uppercase; letter-spacing: .08em; }
.final .btn { margin-top: 36px; }
.folio { font: 400 12px/16px var(--lp-serif); color: #222; }

/* footer */
.foot-in { padding: 40px var(--lp-inset) 56px; display: flex; flex-direction: column; gap: 32px; }
.foot-row, .foot-meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot-links { display: flex; gap: 28px; }
.foot-meta { font-size: var(--lp-meta); line-height: 20px; color: var(--lp-muted); }

/* tablet */
@media (max-width: 1023px) {
  :root { --lp-h1: 56px; --lp-section: 96px; --lp-inset: 40px; }
  h1 { line-height: 60px; }
  .nav-links, .nav-right > .mac { display: none; }
  .menu { display: block; }
  .nav-right { gap: 12px; }
  .hero-fig { flex-direction: column; padding: 56px 40px; gap: 24px; }
  .docx { flex: none; width: 288px; }
  .arrow-r { display: none; }
  .arrow-d { display: block; width: 20px; height: 20px; color: var(--lp-ink-2); }
  .spread { flex: none; width: 100%; max-width: 600px; }
  .split, .kdp-in { flex-direction: column; align-items: stretch; gap: 48px; }
  .copy { width: auto; max-width: 560px; }
  .device, .wrap, .status, .faq, .faq-in h2 { width: 100%; }
  .wrap { padding: 0 20px 0; }
  .kdp > .frame { padding: 96px var(--lp-inset); }
  .kdp-fig { order: 0; align-self: center; margin-top: 76px; }
  .themes-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .themes-head h2, .themes-head .lead { width: auto; max-width: 520px; }
  .tiles { gap: 14px; }
  .speed-in { flex-direction: column; }
  #more .themes-head .lead { width: auto; }
  .more { grid-template-columns: repeat(2, 1fr); }
  .cmp thead td, .cmp thead th { width: auto; }
}

/* phone */
@media (max-width: 640px) {
  :root { --lp-h1: 42px; --lp-h2: 32px; --lp-body: 17px; --lp-section: 72px; --lp-inset: 24px; }
  h1 { line-height: 44px; }
  h2 { line-height: 36px; }
  h1, #kdp h2, #cover h2, #themes h2, #price h2 { text-wrap: wrap; }
  .lead { line-height: 26px; }
  .frame { width: 100%; border-inline: 0; }
  .copy { gap: 16px; }
  .split, .kdp-in { gap: 16px; }

  .nav-in { height: 59px; padding: 0 20px; }
  .brand { gap: 8px; font-size: 19px; }
  .nav .brand span { letter-spacing: 0; }
  .brand .logo { width: 22px; height: 22px; }
  .nav-right { gap: 16px; }
  .nav .btn { padding: 0 14px; font-size: 14px; }

  .hero-top { padding: 48px 24px 40px; gap: 20px; }
  .hero-text { gap: 20px; }
  .hero-cta { width: 100%; padding-top: 8px; gap: 14px; }
  .cta-row .btn { width: 100%; font-size: 15px; }
  .mac-lg { display: none; }
  .note { text-align: center; }
  .hero { border-bottom: 0; }
  .hero-fig { flex-direction: column; padding: 40px 24px 28px; gap: 16px; border-top: 0; }
  .docx { flex: none; width: 240px; gap: 16px; }
  .docx-page { height: 200px; padding: 24px 22px; gap: 8px; font-size: 8px; line-height: 16px; }
  .docx-h { font-size: 10px; line-height: 13px; }
  .docx-more, .spread .trim { display: none; }
  .spread { flex: none; width: 100%; max-width: 342px; gap: 16px; }
  .spread img { box-shadow: none; outline: 1px solid #11111114; outline-offset: -1px; }
  figcaption { font-size: 12px; justify-content: center; }

  .device { margin-top: 16px; gap: 16px; }
  .browser { box-shadow: none; }
  .browser-bar { height: 32px; background: var(--lp-well); }
  .browser-bar span { height: auto; padding: 0; background: none; border: 0; }
  .browser img { aspect-ratio: auto; height: 212px; }
  #device .lead { white-space: normal; }
  .platforms { flex-direction: column; gap: 8px; margin-top: 4px; }

  .kdp { border-bottom: 0; }
  .kdp > .frame { padding: 72px 24px; }
  .kdp-text { gap: 16px; }
  .kdp-fig { display: none; }
  .card { width: 100%; margin-top: 16px; border: 1px solid var(--lp-line); box-shadow: none; }
  .card-head { height: auto; padding: 14px 16px; font-size: var(--lp-meta); line-height: 16px; }
  .card-head b { font-size: var(--lp-meta); }
  .card li { display: grid; grid-template-columns: 6px 1fr auto; align-items: start; gap: 2px 12px; min-height: 0; padding: 14px 16px; }
  .dot { width: 6px; height: 6px; border-radius: 3px; margin-top: 7px; }
  .row-t { display: contents; }
  .row-t b { grid-column: 2; }
  .row-t span { grid-column: 2 / 4; grid-row: 2; }
  .row-v { grid-column: 3; grid-row: 1; line-height: 20px; color: var(--lp-ink); }

  .specs { padding-top: 8px; }
  .ok { margin-top: 0; }
  .wrap { padding: 0; margin-top: 24px; gap: 12px; }
  .wrap figcaption { justify-content: flex-start; }
  .wrap figcaption .ic { display: none; }
  .wrap .marked { width: 342px; max-width: calc(100% + 12px); margin-left: -12px; padding: 24px 12px 12px; }
  .wrap img { width: 100%; aspect-ratio: 318 / 239; object-fit: cover; }
  .d { display: none; }
  .wrap .trim.m { display: block; inset: 12px 0 auto 0; width: 100%; height: calc(100% - 12px); }
  .bracket.m { display: block; left: 0; top: 0; width: 100%; height: 12px; }

  #themes > .frame { padding: 72px 0 64px 24px; }
  .themes-in { gap: 16px; }
  .themes-head { padding-right: 24px; gap: 16px; }
  .tiles { display: flex; gap: 14px; overflow-x: auto; padding: 2px 24px 4px 2px; margin: 14px 0 -4px -2px; scrollbar-width: none; }
  .tiles li { flex: none; width: 148px; }
  .tile { gap: 10px; font-size: 14px; }
  .tile img { aspect-ratio: 148 / 229; }
  .ib { width: 44px; height: 44px; }
  .lb-page { width: min(388px, 100vw - 72px, (100dvh - 184px) * .6467); }

  .speed > .frame { padding: 40px 24px; }
  .speed-in { gap: 12px; }
  .speed h2 { font-size: 24px; line-height: 30px; }
  .stats { width: 100%; grid-template-columns: 1fr; row-gap: 10px; }
  .stats li { flex-direction: row; align-items: center; gap: 12px; height: 32px; }
  .stat-v { gap: 12px; width: 92px; font-size: 24px; }
  .stat-v .ic { width: 16px; height: 16px; }
  .stat-l { font-size: var(--lp-small); }

  #more .themes-head { padding-right: 0; }
  .more { grid-template-columns: 1fr; padding-top: 16px; margin-bottom: -16px; }
  .more div { position: relative; gap: 2px; min-height: 0; padding: 14px 0 16px 32px; }
  .more dt { display: block; font-size: 20px; line-height: 26px; }
  .more dt .ic { position: absolute; left: 0; top: 18px; width: 18px; height: 18px; }

  .status { display: block; margin-top: 16px; padding: 14px 0 14px 24px; position: relative; font-size: 14px; line-height: 20px; }
  .status > span { display: inline; }
  .status .sep { display: inline; }
  .status-ok { color: var(--lp-ink-2); }
  .status-ok .ic { position: absolute; left: 0; top: 16px; color: var(--lp-pass); }

  .price-in { gap: 16px; }
  .plans { flex-direction: column; gap: 0; margin-top: 16px; }
  .plan { flex: none; border-left: 1px solid var(--lp-line-strong); padding: 2px 0 18px 16px; }
  .plan-paid { border-left-color: var(--lp-ink); padding-bottom: 2px; }
  .plan-head { padding-bottom: 14px; }
  .plan ul, .plan-free ul { display: flex; flex-direction: column; gap: 14px; padding-top: 0; border-top: 0; }
  .plan li { gap: 8px; font-size: 16px; line-height: 24px; }
  .plan li .ic { width: 16px; height: 16px; }
  .terms { flex-direction: column; gap: 12px; padding-top: 28px; }

  .compare-in { gap: 24px; }
  .cmp-note { padding-top: 24px; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp tbody { border-top: 1px solid var(--lp-line-strong); }
  .cmp tbody tr { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--lp-line); }
  .cmp tbody th, .cmp tbody td { padding: 0; border: 0; }
  .cmp tbody th { font-size: var(--lp-meta); line-height: 16px; }
  .cmp tbody td { display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .mp { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--lp-ink-2); }
  .glava .mp { font-weight: 500; color: var(--lp-ink); }
  .mp .logo, .mp .app-ic { width: 16px; height: 16px; border-radius: 4px; }

  .faq-in { gap: 24px; }
  .faq details { padding-bottom: 7px; }
  .faq summary { padding: 16px 12px 8px; font-size: 16px; line-height: 24px; }
  .faq summary::before { inset: 6px 0 -2px; }
  .faq details[open] summary::before { inset: 8px 0 0; }
  .mk { height: 24px; }
  .ans p { padding: 0 24px 13px 0; line-height: 23px; }

  .final { height: 608px; }
  .final-pages { top: 72px; height: 464px; }
  .fp { width: 300px; height: 464px; left: calc(50% - 150px); }
  .fp-r1, .fp-r2 { display: none; }
  .fp-l2 { translate: -324px; } .fp-l1 { translate: 324px; }
  .final-frame { width: calc(100% - 48px); }
  .final-page { top: 72px; left: calc(50% - 150px); width: 300px; height: 464px; padding: 88px 30px 28px; }
  .final-page .trim.m { display: block; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); }
  .final-body { width: 240px; }
  .kicker { font-size: 10px; line-height: 13px; }
  .final h2 { padding-top: 12px; font-size: 28px; line-height: 32px; }
  .final hr { width: 30px; margin-top: 16px; }
  .dropcap { width: 200px; margin-top: 24px; font-size: 14px; line-height: 20px; }
  .dc { margin-right: 5px; font-size: 43px; line-height: 38px; }
  .final .btn { margin-top: 28px; height: 44px; padding: 0 18px; font-size: 15px; }
  .folio { font-size: 11px; line-height: 14px; }

  .foot-in { padding: 32px 24px 40px; gap: 24px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
  .foot-links { gap: 24px; }
  .foot-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* motion: load sequence, one-time scroll reveals, product details */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
@keyframes wipe-r { from { clip-path: inset(0 100% 0 0); } }
@keyframes wipe-d { from { clip-path: inset(0 0 100% 0); } }
.hero-text > *, .cta-row, .note, .docx, .spread { animation: rise 600ms var(--lp-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.hero-text .lead { --i: 1; } .cta-row { --i: 2; } .note { --i: 3; } .docx { --i: 4; } .spread { --i: 6; }
.arrow-r { animation: wipe-r 400ms var(--lp-in-out) 420ms both; }
.arrow-d { animation: wipe-d 400ms var(--lp-in-out) 420ms both; }
.spread .trim { animation: fade 400ms ease-out 900ms both; }

.js .rv { opacity: 0; transform: translateY(12px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 600ms var(--lp-out), transform 600ms var(--lp-out); transition-delay: calc(var(--i, 0) * 60ms); }
/* marks and guides arrive after the page they measure */
.js .rv .trim, .js .rv .bracket, .js .rv .wrap-live path, .js .rv .dims { opacity: 0; }
.js .rv.in .trim, .js .rv.in .bracket, .js .rv.in .wrap-live path { opacity: 1; transition: opacity 400ms ease-out 500ms; }
.js .rv.in .dims { opacity: 1; transition: opacity 400ms ease-out 1000ms; }
.js .rv .margins { clip-path: inset(0 0 100% 0); }
.js .rv.in .margins { clip-path: inset(0); transition: clip-path 700ms var(--lp-in-out) 450ms; }
.js .rv .dot { opacity: 0; transform: scale(.4); }
.js .rv.in .dot { opacity: 1; transform: none; transition: opacity 240ms ease-out, transform 240ms var(--lp-out); transition-delay: calc(450ms + var(--n, 0) * 140ms); }
.card li:nth-child(2) { --n: 1; } .card li:nth-child(3) { --n: 2; }
.js .rv .ok .ic, .js .rv .status-ok .ic { clip-path: inset(0 100% 0 0); }
.js .rv.in .ok .ic, .js .rv.in .status-ok .ic { clip-path: inset(0); transition: clip-path 320ms var(--lp-out) 500ms; }
.js .rv-host .fp { opacity: 0; }
.js .rv-host.in .fp { opacity: 1; transition: opacity 900ms ease-out 150ms; }
.js .rv-host.in .fp-l2, .js .rv-host.in .fp-r2 { transition-delay: 320ms; }

@media (max-width: 640px) {
  .tiles .rv { --i: 0 !important; }
  .js .tiles .rv { transform: none; }
}
@media print { .js .rv, .js .rv * , .js .rv-host .fp { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* reduced motion keeps the fades and drops the travel */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after, ::details-content { transition-property: opacity, color, background-color, outline-color, text-decoration-color !important; }
  .hero-text > *, .cta-row, .note, .docx, .spread, .menu[open] .menu-panel { animation-name: fade; }
  .arrow-r, .arrow-d { animation: none; }
  .js .rv, .js .rv .dot, .menu:not([open]) .menu-panel, .lb { transform: none; }
  .js .rv .margins, .js .rv .ok .ic, .js .rv .status-ok .ic { clip-path: none; }
}
