/* lashhillapps.com — direction B, "hill and ground".
   Built on the factory rulebook (App-in-toss/docs/08-design-rulebook.md) with the web exceptions in docs/research.md §4:
   one display size per page, 64/96 px section gaps on desktop, one paper theme.
   Type sizes: 56 (numbers) / 22 / 17 / 15 / 13. Weights 400 / 600 / 700, 800 for numbers. Spacing in 4 px steps. */

@font-face { font-family: "Lashhill Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/lashhill-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Lashhill Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/lashhill-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Lashhill Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/lashhill-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Lashhill Sans"; font-weight: 800; font-display: swap; src: url("/assets/fonts/lashhill-sans-800.woff2") format("woff2"); }

:root {
  --cream: #FBF3E4; --paper: #FFFAF1; --ink: #231815; --ink-2: #4A3B31; --sub: #6F5E50;
  --line: #EAD9C1; --line-2: #DFCBB0; --red: #D63A25; --red-ink: #B42318;
  --sans: "Lashhill Sans", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--sans); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { max-width: 1152px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 20px; z-index: 10; background: var(--ink); color: var(--cream); padding: 12px 16px; border-radius: 12px; }

/* type scale */
.t-num { font-size: 56px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.t-display { font-size: clamp(40px, 7.2vw, 88px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; margin: 0; }
.t-title { font-size: 22px; line-height: 1.36; font-weight: 700; margin: 0; }
.t-body { font-size: 17px; line-height: 1.55; margin: 0; }
.t-sub { font-size: 15px; line-height: 1.5; margin: 0; }
.t-cap { font-size: 13px; line-height: 1.5; margin: 0; }
.t-label { font-size: 13px; line-height: 1.5; font-weight: 600; margin: 0; }
.c-sub { color: var(--sub); } .c-ink2 { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* parts */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 24px; border-radius: 12px; background: var(--ink); color: var(--cream); font: 600 17px/1 var(--sans); text-decoration: none; }
.btn-2 { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 12px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; }
.btn-t { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1.5 var(--sans); color: var(--sub); text-decoration: none; }
.btn-t:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.icon { border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line); }
.shot { width: 100%; aspect-ratio: 486 / 800; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); background: var(--paper); }
.place { display: inline-flex; align-items: center; gap: 8px; }
.place i { width: 10px; height: 10px; flex: none; background: var(--ink); }
.place.soon { color: var(--sub); }
.place.soon i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.new-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--red-ink); }
.new-tag i { width: 12px; height: 12px; background: var(--red); }
.email { font-size: 17px; font-weight: 600; user-select: all; }
.vert { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 13px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.mark { display: block; height: auto; }

/* header and footer */
.head .wrap { display: flex; align-items: center; gap: 8px 24px; padding-block: 12px; flex-wrap: wrap; }
.word { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; }
.head nav { display: flex; gap: 24px; }
.head nav a { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1 var(--sans); color: var(--ink-2); text-decoration: none; }
.head nav a:hover, .head nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.lang { display: flex; gap: 4px; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font: 600 13px/1 var(--sans); letter-spacing: .04em; color: var(--sub); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.foot { border-top: 1px solid var(--line-2); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 24px 48px; }
.seal { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; margin-right: auto; }
.seal .mark { width: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; }
.foot nav span { font-size: 15px; color: var(--sub); }
.foot .biz { flex-basis: 100%; font-size: 13px; line-height: 1.6; color: var(--sub); }
.foot .biz summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
.foot .biz summary::-webkit-details-marker { display: none; }
.foot .biz summary::after { content: "+"; margin-left: 6px; }
.foot .biz[open] summary::after { content: "–"; }
.foot .biz p { margin: 0; max-width: 60em; }

/* home: the hill. The text takes its own room first and the hill rises from the ground below it: the stage keeps
   its proportion when the text is short and grows when a language runs longer, so the two never meet. */
.poster .wrap { container-type: inline-size; }
.poster-in { position: relative; min-height: 56cqw; padding-top: 4cqw; overflow: hidden; --r: 28cqw; --cx: 40cqw; --gap: 40px; }
.hill { position: absolute; bottom: 0; left: calc(var(--cx) - var(--r)); width: calc(2 * var(--r)); height: var(--r); background: var(--ink); border-radius: var(--r) var(--r) 0 0; }
.sq { position: absolute; width: calc(.4286 * var(--r)); aspect-ratio: 1; background: var(--red); left: calc(var(--cx) + .5571 * var(--r)); bottom: calc(1.2371 * var(--r)); }
.poster .txt { position: relative; z-index: 1; max-width: 44cqw; padding-bottom: calc(var(--r) + var(--gap)); }
.poster .lead { margin-top: 24px; color: var(--ink-2); max-width: 26em; }
.poster .vert { position: absolute; right: 0; top: 4cqw; }
.ground { border-top: 8px solid var(--ink); }
.ground > .wrap { padding-block: 48px 64px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.sec + .sec { margin-top: 64px; }

/* main products: each names itself beside its proof, as on its own page (web-principles §1) */
.prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; padding-block: 48px; border-bottom: 1px solid var(--line-2); }
.prod .head-row { display: flex; align-items: center; gap: 16px; }
.prod .t-display { font-size: clamp(32px, 4.4vw, 56px); margin-top: 16px; }
.prod h3 a { color: inherit; text-decoration: none; }
.prod h3 a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 3px; }
.prod .t-display.serif-name { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.01em; }
.prod .tag { margin-top: 8px; text-wrap: balance; }
.prod .tag.serif-line { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.2; }
.prod .more { margin: 24px 0 0; }
.prod .pls { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; }

/* Toss shelf: compact rows */
.brow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 16px; gap: 16px 24px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.brow .t-title { display: block; }
.brow .t-sub { display: block; }
.brow:hover .t-title { text-decoration: underline; text-underline-offset: 4px; }
.brow .meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.brow .chev { width: 16px; height: 16px; color: var(--sub); }

/* how we work, about, contact */
.work .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding-block: 96px 64px; }
.work dl { margin: 0; display: grid; gap: 32px; }
.work dt { font-size: 22px; line-height: 1.36; font-weight: 700; }
.work dd { margin: 8px 0 0; font-size: 17px; color: var(--ink-2); max-width: 34em; }
.info { border-top: 1px solid var(--line-2); }
.info .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-block: 64px; }
.info .t-body { margin-top: 12px; color: var(--ink-2); max-width: 32em; }
.copyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.info .copyrow { margin-top: 24px; }

/* product page (docs/web-principles.md, draft C): the product names itself beside its proof; its own typeface only
   sets its name and line (§9), Latin only, so Korean stays in the studio face */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-400i.woff2") format("woff2"); }
.pp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding-block: 48px 96px; }
.pp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pp-eyebrow .icon { width: 40px; height: 40px; }
.pp-name { margin: 24px 0 0; }
.pp-name.t-display { font-size: clamp(40px, 5.6vw, 72px); }
.pp-name.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(64px, 8.4vw, 108px); line-height: .95; letter-spacing: -.01em; }
.pp-ko { margin-top: 8px; }
.pp-line { margin: 12px 0 0; text-wrap: balance; }
.pp-line.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.2; }
.pp-summary { margin-top: 24px; max-width: 28em; color: var(--ink-2); text-wrap: pretty; }
.pp-act { display: grid; justify-items: start; gap: 8px; margin-top: 32px; }
.pp-act .t-cap { max-width: 34em; text-wrap: pretty; }
.pp-act .t-cap a { color: var(--ink-2); text-underline-offset: 3px; }
.pp-proof.screen { margin: 0; justify-self: end; width: min(360px, 100%); }
.pp-proof.screen .icon { width: 100%; height: auto; }
.pp-proof.ab .t-label { margin-bottom: 12px; }
.rows { position: relative; }
.wrow { display: grid; grid-template-columns: 112px minmax(0, 1fr); cursor: pointer; border-bottom: 1px solid var(--line-2); }
.wrow:first-child { border-top: 2px solid var(--ink); }
.wrow .lab { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; padding: 12px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wrow .lab b { font: 600 17px/1.3 var(--sans); }
.wrow .lab small { font-size: 13px; color: var(--sub); }
.wrow .wv { height: 104px; padding-block: 12px; min-width: 0; }
.wrow svg { display: block; width: 100%; height: 100%; }
.wrow rect { fill: #928375; } /* the side not playing: 3.3:1 on cream */
[data-side="before"] .wrow.before rect, [data-side="after"] .wrow.after rect { fill: var(--ink); }
[data-side="before"] .wrow.before .lab b::before, [data-side="after"] .wrow.after .lab b::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--ink); margin-right: 8px; vertical-align: 1px; }
.wrow:hover .lab b { text-decoration: underline; text-underline-offset: 4px; }
.headwrap { position: absolute; left: 112px; right: 0; top: 0; bottom: 0; pointer-events: none; }
.head-line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--red); }
.ctrl { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.play { width: 56px; height: 56px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.play svg { width: 20px; height: 20px; fill: currentColor; }
.play .i-pause, .play[data-state="playing"] .i-play { display: none; }
.play[data-state="playing"] .i-pause { display: block; }
.ctrl input[type=range] { flex: 1; min-width: 0; accent-color: var(--ink); height: 44px; margin: 0; }
.ctrl .time { font: 600 15px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.pp-proof .label { margin-top: 12px; }

/* sections: the first after the hero and the ledger stand on the thick ground line; the others are parted by a hairline */
.pp-sec { border-top: 1px solid var(--line-2); }
.pp-hero + .pp-sec, .pp-get { border-top: 8px solid var(--ink); }
.pp-see > .wrap, .pp-figs > .wrap { padding-block: 96px; }
.see-head .t-sub { margin-top: 12px; max-width: 40em; color: var(--ink-2); text-wrap: pretty; }
.devices { display: flex; align-items: flex-end; gap: 32px; margin-top: 48px; border-bottom: 2px solid var(--ink); overflow-x: auto; }
.devices figure { margin: 0; flex: none; max-width: 100%; }
.devices figcaption { margin-bottom: 8px; font-size: 13px; color: var(--sub); }
.devices .shot { width: 100%; border-radius: 0; }
.pp-see.side > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: end; }
.pp-see.side .devices { margin-top: 0; justify-content: flex-end; }
.pp-see.pair .devices { margin-top: 0; gap: 48px; }
.pair-side { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: 48px; min-width: 0; }

.figs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
.figs li { padding: 0 32px; border-left: 1px solid var(--line-2); }
.figs li:first-child { padding-left: 0; border-left: 0; }
.figs .t-num { margin: 0 0 16px -.04em; letter-spacing: -.02em; }
.figs h3 { margin: 0; font: 600 17px/1.4 var(--sans); text-wrap: balance; }
.figs .t-sub { margin-top: 8px; color: var(--ink-2); text-wrap: pretty; }
.figs a { color: var(--ink-2); text-underline-offset: 3px; }
.pp-figs .note { margin-top: 32px; max-width: 44em; color: var(--sub); text-wrap: pretty; }

.pp-get { border-top: 8px solid var(--ink); }
.pp-get .wrap { padding-block: 64px 96px; }
.pp-get .t-sub { margin-top: 8px; max-width: 40em; color: var(--ink-2); }
.ledger { width: 100%; border-collapse: collapse; margin-top: 32px; }
.ledger th, .ledger td { text-align: left; vertical-align: middle; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-2); }
.ledger thead th { font: 600 13px/1.5 var(--sans); color: var(--sub); padding-block: 8px; border-bottom: 2px solid var(--ink); }
.ledger tbody th { font: 600 17px/1.4 var(--sans); width: 24%; }
.ledger tbody th small { display: block; font: 400 13px/1.5 var(--sans); color: var(--sub); }
.ledger td.for { color: var(--ink-2); }
.ledger td.size { font-variant-numeric: tabular-nums; width: 12%; color: var(--ink-2); }
.ledger td.act { text-align: right; padding-right: 0; width: 1%; white-space: nowrap; }
.ledger .soon { font: 600 15px/1 var(--sans); color: var(--sub); }
.pp-get .which { margin: 24px 0 0; font-size: 15px; color: var(--ink-2); max-width: 44em; }
.pp-get .t-cap { margin-top: 8px; max-width: 44em; }
.pp-get details { margin-top: 32px; border-top: 1px solid var(--line-2); }
.pp-get summary { min-height: 56px; display: flex; align-items: center; font: 600 15px/1 var(--sans); cursor: pointer; list-style: none; }
.pp-get summary::-webkit-details-marker { display: none; }
.pp-get summary::after { content: "+"; margin-left: 8px; color: var(--sub); }
.pp-get details[open] summary::after { content: "–"; }
.sums { margin: 0 0 8px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; font-size: 13px; color: var(--ink-2); }
.sums dt { font-weight: 600; }
.sums dd { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }
/* Unlimited stands under the downloads it unlocks; after payment the key panel takes its place */
.ledger td.for small { display: block; font: 400 13px/1.5 var(--sans); color: var(--sub); }
button.btn { border: 0; cursor: pointer; }
.btn:disabled, .btn-2:disabled { opacity: .55; cursor: default; }
.buy { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 32px; align-items: center; }
.buy-id h3 { display: flex; align-items: center; gap: 12px; margin: 0; }
.buy-id h3 i { flex: none; width: 14px; height: 14px; background: var(--red); }
.buy-id .t-sub { margin: 4px 0 0 26px; color: var(--ink-2); max-width: 36em; }
.buy-price { margin: 0; display: grid; justify-items: end; }
.buy-price b { font: 800 32px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.buy-price span { margin-top: 6px; font-size: 13px; color: var(--sub); white-space: nowrap; }
.buy-act { margin: 0; }
.buy .buy-seller { grid-column: 1 / -1; margin: 8px 0 0 26px; }
.buy-msg { grid-column: 1 / -1; margin: 0 0 0 26px; color: var(--red-ink); }
.buy-msg:empty { display: none; }
.buy.is-paid { display: block; }
.paid h3 { margin: 0 0 16px; }
.paid .keybox { margin: 0; max-width: 44em; padding: 16px 20px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font: 500 15px/1.6 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; word-break: break-all; user-select: all; }
.paid .paid-act { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 16px 0 0; }
.paid .steps { margin: 24px 0 0; padding-left: 24px; max-width: 40em; color: var(--ink-2); }
.paid .steps li + li { margin-top: 6px; }
.paid > .t-sub { margin-top: 16px; color: var(--ink-2); }
.paid-wait { margin: 0; color: var(--ink-2); }

.pp-facts > .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-block: 64px 96px; }
.pp-facts > .wrap.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-facts h2 { margin: 0 0 12px; font: 600 13px/1.5 var(--sans); color: var(--sub); }
.pp-facts p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.pp-facts .reqs { list-style: none; margin: 0; padding: 0; }
.pp-facts .reqs li { padding-block: 10px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.pp-facts .reqs b { display: block; font-weight: 600; color: var(--ink); }
.pp-facts .copyrow { margin: 0 0 4px; }
.links { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* documents: privacy, licences, support */
.doc .wrap { padding-block: 16px 96px; }
.doc .t-display { margin-top: 24px; font-size: clamp(32px, 5vw, 56px); }
.doc .lead { margin-top: 16px; color: var(--ink-2); max-width: 36em; }
.doc article { margin-top: 48px; padding-top: 16px; border-top: 2px solid var(--ink); }
.doc article > p, .doc article > ul, .doc article > h3, .doc article > pre { max-width: 40em; }
.doc article + article { margin-top: 64px; }
.doc h2 { margin: 0 0 8px; }
.doc h3 { font-size: 17px; line-height: 1.55; font-weight: 700; margin: 32px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.doc p { margin: 8px 0 0; }
/* Find my key */
.keyform, .keylink { margin-top: 48px; padding-top: 16px; border-top: 2px solid var(--ink); max-width: 44em; }
.keyform label { display: block; margin-bottom: 8px; font: 600 15px/1.5 var(--sans); }
.keyrow { display: flex; flex-wrap: wrap; gap: 12px; }
.keyrow input { flex: 1 1 16em; min-width: 0; height: 56px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font: 400 17px/1 var(--sans); }
.keyform [data-key-msg] { margin-top: 12px; }
.keyform [data-key-msg]:empty { display: none; }
.doc .keystill { margin-top: 32px; max-width: 40em; }
.doc ul { margin: 8px 0 0; padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); }
.doc .lic td:first-child { width: 44%; } .doc .lic td:nth-child(2) { width: 18%; }
.doc th { font-weight: 600; color: var(--sub); font-size: 13px; }
.doc .tbl { overflow-x: auto; }
.doc .note { margin-top: 24px; font-size: 15px; color: var(--sub); }
.doc .applist { list-style: none; padding: 0; margin: 16px 0 0; }
.doc .applist a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 16px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.doc .applist a:hover .t-body { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .head nav:not(.lang) { display: none; }
  .poster-in { min-height: 125cqw; --r: 38cqw; --cx: 42cqw; --gap: 32px; }
  .poster .txt { max-width: 58cqw; }
  .poster .lead { margin-top: 16px; font-size: 15px; }
  .prod { grid-template-columns: 1fr; }
  .brow { grid-template-columns: 48px minmax(0, 1fr) 16px; }
  .brow .fld { display: none; }
  .work .wrap, .info .wrap, .pp-hero { grid-template-columns: 1fr; gap: 32px; }
  .work .wrap { padding-block: 64px 48px; }
  .pp-hero { gap: 48px; }
  .pp-proof.screen { justify-self: start; width: min(360px, 100%); }
  .pp-see.side > .wrap { grid-template-columns: 1fr; gap: 32px; }
  .pp-see.side .devices { justify-content: flex-start; }
  .figs { grid-auto-flow: row; grid-template-columns: 1fr; gap: 32px; }
  .figs li, .figs li:first-child { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .figs li:first-child { padding-top: 0; border-top: 0; }
  .pp-facts > .wrap, .pp-facts > .wrap.n2 { grid-template-columns: 1fr; gap: 32px; }
}
/* product page on a phone: one column; the ledger becomes one block per row */
@media (max-width: 640px) {
  .pp-hero { padding-block: 32px 64px; }
  .pp-act { justify-items: stretch; } .pp-act .btn { width: 100%; }
  .wrow { grid-template-columns: 84px minmax(0, 1fr); } .headwrap { left: 84px; }
  .wrow .wv { height: 80px; }
  .pp-see > .wrap, .pp-figs > .wrap { padding-block: 64px; }
  .pp-proof.screen { width: 100%; }
  .devices { gap: 16px; }
  .pp-see.row .devices figure, .pp-see.side .devices figure { width: 62vw !important; }
  .pp-see.pair .devices { flex-direction: column; align-items: stretch; gap: 32px; border-bottom: 0; overflow: visible; }
  .pp-see.pair .devices figure { width: 100% !important; }
  .pair-side { gap: 32px; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; }
  .ledger tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
  .ledger th, .ledger td, .ledger tbody th, .ledger td.size { border: 0; padding: 0; width: auto; }
  .ledger td.for, .ledger td.size { grid-column: 1; font-size: 15px; }
  .ledger td.size.none { display: none; }
  .ledger td.act { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .sums { grid-template-columns: 1fr; }
  .buy { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .buy-price { display: flex; align-items: baseline; gap: 10px; margin-left: 26px; }
  .buy-price span { margin: 0; }
  .buy-act .btn { width: 100%; }
  .buy .buy-seller, .buy-msg { margin-left: 0; }
  .keyrow .btn { width: 100%; }
}
/* on a phone a table becomes one block per row, each cell labelled by its column */
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { padding-block: 12px; border-bottom: 1px solid var(--line-2); }
  .doc td { border: 0; padding: 4px 0; }
  .doc td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 600; color: var(--sub); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .head nav, .lang, .foot nav { display: none; } }/* lashhillapps.com — direction B, "hill and ground".
   Built on the factory rulebook (App-in-toss/docs/08-design-rulebook.md) with the web exceptions in docs/research.md §4:
   one display size per page, 64/96 px section gaps on desktop, one paper theme.
   Type sizes: 56 (numbers) / 22 / 17 / 15 / 13. Weights 400 / 600 / 700, 800 for numbers. Spacing in 4 px steps. */

@font-face { font-family: "Lashhill Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/lashhill-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Lashhill Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/lashhill-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Lashhill Sans"; font-weight: 700; font-display: swap; src: url("/assets/fonts/lashhill-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Lashhill Sans"; font-weight: 800; font-display: swap; src: url("/assets/fonts/lashhill-sans-800.woff2") format("woff2"); }

:root {
  --cream: #FBF3E4; --paper: #FFFAF1; --ink: #231815; --ink-2: #4A3B31; --sub: #6F5E50;
  --line: #EAD9C1; --line-2: #DFCBB0; --red: #D63A25; --red-ink: #B42318;
  --sans: "Lashhill Sans", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--sans); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { max-width: 1152px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 20px; z-index: 10; background: var(--ink); color: var(--cream); padding: 12px 16px; border-radius: 12px; }

/* type scale */
.t-num { font-size: 56px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.t-display { font-size: clamp(40px, 7.2vw, 88px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; margin: 0; }
.t-title { font-size: 22px; line-height: 1.36; font-weight: 700; margin: 0; }
.t-body { font-size: 17px; line-height: 1.55; margin: 0; }
.t-sub { font-size: 15px; line-height: 1.5; margin: 0; }
.t-cap { font-size: 13px; line-height: 1.5; margin: 0; }
.t-label { font-size: 13px; line-height: 1.5; font-weight: 600; margin: 0; }
.c-sub { color: var(--sub); } .c-ink2 { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }

/* parts */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 24px; border-radius: 12px; background: var(--ink); color: var(--cream); font: 600 17px/1 var(--sans); text-decoration: none; }
.btn-2 { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 12px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; }
.btn-t { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1.5 var(--sans); color: var(--sub); text-decoration: none; }
.btn-t:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.icon { border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line); }
.shot { width: 100%; aspect-ratio: 486 / 800; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); background: var(--paper); }
.place { display: inline-flex; align-items: center; gap: 8px; }
.place i { width: 10px; height: 10px; flex: none; background: var(--ink); }
.place.soon { color: var(--sub); }
.place.soon i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.new-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--red-ink); }
.new-tag i { width: 12px; height: 12px; background: var(--red); }
.email { font-size: 17px; font-weight: 600; user-select: all; }
.vert { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 13px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.mark { display: block; height: auto; }

/* header and footer */
.head .wrap { display: flex; align-items: center; gap: 8px 24px; padding-block: 12px; flex-wrap: wrap; }
.word { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; }
.head nav { display: flex; gap: 24px; }
.head nav a { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1 var(--sans); color: var(--ink-2); text-decoration: none; }
.head nav a:hover, .head nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.lang { display: flex; gap: 4px; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font: 600 13px/1 var(--sans); letter-spacing: .04em; color: var(--sub); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.foot { border-top: 1px solid var(--line-2); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 24px 48px; }
.seal { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; margin-right: auto; }
.seal .mark { width: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; }
.foot nav span { font-size: 15px; color: var(--sub); }
.foot .biz { flex-basis: 100%; font-size: 13px; line-height: 1.6; color: var(--sub); }
.foot .biz summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
.foot .biz summary::-webkit-details-marker { display: none; }
.foot .biz summary::after { content: "+"; margin-left: 6px; }
.foot .biz[open] summary::after { content: "–"; }
.foot .biz p { margin: 0; max-width: 60em; }

/* home: the hill. The text takes its own room first and the hill rises from the ground below it: the stage keeps
   its proportion when the text is short and grows when a language runs longer, so the two never meet. */
.poster .wrap { container-type: inline-size; }
.poster-in { position: relative; min-height: 56cqw; padding-top: 4cqw; overflow: hidden; --r: 28cqw; --cx: 40cqw; --gap: 40px; }
.hill { position: absolute; bottom: 0; left: calc(var(--cx) - var(--r)); width: calc(2 * var(--r)); height: var(--r); background: var(--ink); border-radius: var(--r) var(--r) 0 0; }
.sq { position: absolute; width: calc(.4286 * var(--r)); aspect-ratio: 1; background: var(--red); left: calc(var(--cx) + .5571 * var(--r)); bottom: calc(1.2371 * var(--r)); }
.poster .txt { position: relative; z-index: 1; max-width: 44cqw; padding-bottom: calc(var(--r) + var(--gap)); }
.poster .lead { margin-top: 24px; color: var(--ink-2); max-width: 26em; }
.poster .vert { position: absolute; right: 0; top: 4cqw; }
.ground { border-top: 8px solid var(--ink); }
.ground > .wrap { padding-block: 48px 64px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.sec + .sec { margin-top: 64px; }

/* main products: each names itself beside its proof, as on its own page (web-principles §1) */
.prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; padding-block: 48px; border-bottom: 1px solid var(--line-2); }
.prod .head-row { display: flex; align-items: center; gap: 16px; }
.prod .t-display { font-size: clamp(32px, 4.4vw, 56px); margin-top: 16px; }
.prod h3 a { color: inherit; text-decoration: none; }
.prod h3 a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 3px; }
.prod .t-display.serif-name { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.01em; }
.prod .tag { margin-top: 8px; text-wrap: balance; }
.prod .tag.serif-line { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.2; }
.prod .more { margin: 24px 0 0; }
.prod .pls { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; }

/* Toss shelf: compact rows */
.brow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 16px; gap: 16px 24px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.brow .t-title { display: block; }
.brow .t-sub { display: block; }
.brow:hover .t-title { text-decoration: underline; text-underline-offset: 4px; }
.brow .meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.brow .chev { width: 16px; height: 16px; color: var(--sub); }

/* how we work, about, contact */
.work .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding-block: 96px 64px; }
.work dl { margin: 0; display: grid; gap: 32px; }
.work dt { font-size: 22px; line-height: 1.36; font-weight: 700; }
.work dd { margin: 8px 0 0; font-size: 17px; color: var(--ink-2); max-width: 34em; }
.info { border-top: 1px solid var(--line-2); }
.info .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-block: 64px; }
.info .t-body { margin-top: 12px; color: var(--ink-2); max-width: 32em; }
.copyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.info .copyrow { margin-top: 24px; }

/* product page (docs/web-principles.md, draft C): the product names itself beside its proof; its own typeface only
   sets its name and line (§9), Latin only, so Korean stays in the studio face */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-400i.woff2") format("woff2"); }
.pp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding-block: 48px 96px; }
.pp-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pp-eyebrow .icon { width: 40px; height: 40px; }
.pp-name { margin: 24px 0 0; }
.pp-name.t-display { font-size: clamp(40px, 5.6vw, 72px); }
.pp-name.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(64px, 8.4vw, 108px); line-height: .95; letter-spacing: -.01em; }
.pp-ko { margin-top: 8px; }
.pp-line { margin: 12px 0 0; text-wrap: balance; }
.pp-line.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.2; }
.pp-summary { margin-top: 24px; max-width: 28em; color: var(--ink-2); text-wrap: pretty; }
.pp-act { display: grid; justify-items: start; gap: 8px; margin-top: 32px; }
.pp-act .t-cap { max-width: 34em; text-wrap: pretty; }
.pp-act .t-cap a { color: var(--ink-2); text-underline-offset: 3px; }
.pp-proof.screen { margin: 0; justify-self: end; width: min(360px, 100%); }
.pp-proof.screen .icon { width: 100%; height: auto; }
.pp-proof.ab .t-label { margin-bottom: 12px; }
.rows { position: relative; }
.wrow { display: grid; grid-template-columns: 112px minmax(0, 1fr); cursor: pointer; border-bottom: 1px solid var(--line-2); }
.wrow:first-child { border-top: 2px solid var(--ink); }
.wrow .lab { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; padding: 12px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wrow .lab b { font: 600 17px/1.3 var(--sans); }
.wrow .lab small { font-size: 13px; color: var(--sub); }
.wrow .wv { height: 104px; padding-block: 12px; min-width: 0; }
.wrow svg { display: block; width: 100%; height: 100%; }
.wrow rect { fill: #928375; } /* the side not playing: 3.3:1 on cream */
[data-side="before"] .wrow.before rect, [data-side="after"] .wrow.after rect { fill: var(--ink); }
[data-side="before"] .wrow.before .lab b::before, [data-side="after"] .wrow.after .lab b::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--ink); margin-right: 8px; vertical-align: 1px; }
.wrow:hover .lab b { text-decoration: underline; text-underline-offset: 4px; }
.headwrap { position: absolute; left: 112px; right: 0; top: 0; bottom: 0; pointer-events: none; }
.head-line { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--red); }
.ctrl { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.play { width: 56px; height: 56px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.play svg { width: 20px; height: 20px; fill: currentColor; }
.play .i-pause, .play[data-state="playing"] .i-play { display: none; }
.play[data-state="playing"] .i-pause { display: block; }
.ctrl input[type=range] { flex: 1; min-width: 0; accent-color: var(--ink); height: 44px; margin: 0; }
.ctrl .time { font: 600 15px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.pp-proof .label { margin-top: 12px; }

/* sections: the first after the hero and the ledger stand on the thick ground line; the others are parted by a hairline */
.pp-sec { border-top: 1px solid var(--line-2); }
.pp-hero + .pp-sec, .pp-get { border-top: 8px solid var(--ink); }
.pp-see > .wrap, .pp-figs > .wrap { padding-block: 96px; }
.see-head .t-sub { margin-top: 12px; max-width: 40em; color: var(--ink-2); text-wrap: pretty; }
.devices { display: flex; align-items: flex-end; gap: 32px; margin-top: 48px; border-bottom: 2px solid var(--ink); overflow-x: auto; }
.devices figure { margin: 0; flex: none; max-width: 100%; }
.devices figcaption { margin-bottom: 8px; font-size: 13px; color: var(--sub); }
.devices .shot { width: 100%; border-radius: 0; }
.pp-see.side > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: end; }
.pp-see.side .devices { margin-top: 0; justify-content: flex-end; }
.pp-see.pair .devices { margin-top: 0; gap: 48px; }
.pair-side { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: 48px; min-width: 0; }

.figs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
.figs li { padding: 0 32px; border-left: 1px solid var(--line-2); }
.figs li:first-child { padding-left: 0; border-left: 0; }
.figs .t-num { margin: 0 0 16px -.04em; letter-spacing: -.02em; }
.figs h3 { margin: 0; font: 600 17px/1.4 var(--sans); text-wrap: balance; }
.figs .t-sub { margin-top: 8px; color: var(--ink-2); text-wrap: pretty; }
.figs a { color: var(--ink-2); text-underline-offset: 3px; }
.pp-figs .note { margin-top: 32px; max-width: 44em; color: var(--sub); text-wrap: pretty; }

.pp-get { border-top: 8px solid var(--ink); }
.pp-get .wrap { padding-block: 64px 96px; }
.pp-get .t-sub { margin-top: 8px; max-width: 40em; color: var(--ink-2); }
.ledger { width: 100%; border-collapse: collapse; margin-top: 32px; }
.ledger th, .ledger td { text-align: left; vertical-align: middle; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-2); }
.ledger thead th { font: 600 13px/1.5 var(--sans); color: var(--sub); padding-block: 8px; border-bottom: 2px solid var(--ink); }
.ledger tbody th { font: 600 17px/1.4 var(--sans); width: 24%; }
.ledger tbody th small { display: block; font: 400 13px/1.5 var(--sans); color: var(--sub); }
.ledger td.for { color: var(--ink-2); }
.ledger td.size { font-variant-numeric: tabular-nums; width: 12%; color: var(--ink-2); }
.ledger td.act { text-align: right; padding-right: 0; width: 1%; white-space: nowrap; }
.ledger .soon { font: 600 15px/1 var(--sans); color: var(--sub); }
.pp-get .which { margin: 24px 0 0; font-size: 15px; color: var(--ink-2); max-width: 44em; }
.pp-get .t-cap { margin-top: 8px; max-width: 44em; }
.pp-get details { margin-top: 32px; border-top: 1px solid var(--line-2); }
.pp-get summary { min-height: 56px; display: flex; align-items: center; font: 600 15px/1 var(--sans); cursor: pointer; list-style: none; }
.pp-get summary::-webkit-details-marker { display: none; }
.pp-get summary::after { content: "+"; margin-left: 8px; color: var(--sub); }
.pp-get details[open] summary::after { content: "–"; }
.sums { margin: 0 0 8px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; font-size: 13px; color: var(--ink-2); }
.sums dt { font-weight: 600; }
.sums dd { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }
/* Unlimited stands under the downloads it unlocks; after payment the key panel takes its place */
.ledger td.for small { display: block; font: 400 13px/1.5 var(--sans); color: var(--sub); }
button.btn { border: 0; cursor: pointer; }
.btn:disabled, .btn-2:disabled { opacity: .55; cursor: default; }
.buy { margin-top: 48px; padding-top: 24px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 32px; align-items: center; }
.buy-id h3 { display: flex; align-items: center; gap: 12px; margin: 0; }
.buy-id h3 i { flex: none; width: 14px; height: 14px; background: var(--red); }
.buy-id .t-sub { margin: 4px 0 0 26px; color: var(--ink-2); max-width: 36em; }
.buy-price { margin: 0; display: grid; justify-items: end; }
.buy-price b { font: 800 32px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.buy-price span { margin-top: 6px; font-size: 13px; color: var(--sub); white-space: nowrap; }
.buy-act { margin: 0; }
.buy .buy-seller { grid-column: 1 / -1; margin: 8px 0 0 26px; }
.buy-msg { grid-column: 1 / -1; margin: 0 0 0 26px; color: var(--red-ink); }
.buy-msg:empty { display: none; }
.buy.is-paid { display: block; }
.paid h3 { margin: 0 0 16px; }
.paid .keybox { margin: 0; max-width: 44em; padding: 16px 20px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font: 500 15px/1.6 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; word-break: break-all; user-select: all; }
.paid .paid-act { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 16px 0 0; }
.paid .steps { margin: 24px 0 0; padding-left: 24px; max-width: 40em; color: var(--ink-2); }
.paid .steps li + li { margin-top: 6px; }
.paid > .t-sub { margin-top: 16px; color: var(--ink-2); }
.paid-wait { margin: 0; color: var(--ink-2); }

.pp-facts > .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-block: 64px 96px; }
.pp-facts > .wrap.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-facts h2 { margin: 0 0 12px; font: 600 13px/1.5 var(--sans); color: var(--sub); }
.pp-facts p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.pp-facts .reqs { list-style: none; margin: 0; padding: 0; }
.pp-facts .reqs li { padding-block: 10px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.pp-facts .reqs b { display: block; font-weight: 600; color: var(--ink); }
.pp-facts .copyrow { margin: 0 0 4px; }
.links { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* documents: privacy, licences, support */
.doc .wrap { padding-block: 16px 96px; }
.doc .t-display { margin-top: 24px; font-size: clamp(32px, 5vw, 56px); }
.doc .lead { margin-top: 16px; color: var(--ink-2); max-width: 36em; }
.doc article { margin-top: 48px; padding-top: 16px; border-top: 2px solid var(--ink); }
.doc article > p, .doc article > ul, .doc article > h3, .doc article > pre { max-width: 40em; }
.doc article + article { margin-top: 64px; }
.doc h2 { margin: 0 0 8px; }
.doc h3 { font-size: 17px; line-height: 1.55; font-weight: 700; margin: 32px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.doc p { margin: 8px 0 0; }
/* Find my key */
.keyform, .keylink { margin-top: 48px; padding-top: 16px; border-top: 2px solid var(--ink); max-width: 44em; }
.keyform label { display: block; margin-bottom: 8px; font: 600 15px/1.5 var(--sans); }
.keyrow { display: flex; flex-wrap: wrap; gap: 12px; }
.keyrow input { flex: 1 1 16em; min-width: 0; height: 56px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font: 400 17px/1 var(--sans); }
.keyform [data-key-msg] { margin-top: 12px; }
.keyform [data-key-msg]:empty { display: none; }
.doc .keystill { margin-top: 32px; max-width: 40em; }
.doc ul { margin: 8px 0 0; padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; line-height: 1.5; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); }
.doc .lic td:first-child { width: 44%; } .doc .lic td:nth-child(2) { width: 18%; }
.doc th { font-weight: 600; color: var(--sub); font-size: 13px; }
.doc .tbl { overflow-x: auto; }
.doc .note { margin-top: 24px; font-size: 15px; color: var(--sub); }
.doc .applist { list-style: none; padding: 0; margin: 16px 0 0; }
.doc .applist a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 16px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.doc .applist a:hover .t-body { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .head nav:not(.lang) { display: none; }
  .poster-in { min-height: 125cqw; --r: 38cqw; --cx: 42cqw; --gap: 32px; }
  .poster .txt { max-width: 58cqw; }
  .poster .lead { margin-top: 16px; font-size: 15px; }
  .prod { grid-template-columns: 1fr; }
  .brow { grid-template-columns: 48px minmax(0, 1fr) 16px; }
  .brow .fld { display: none; }
  .work .wrap, .info .wrap, .pp-hero { grid-template-columns: 1fr; gap: 32px; }
  .work .wrap { padding-block: 64px 48px; }
  .pp-hero { gap: 48px; }
  .pp-proof.screen { justify-self: start; width: min(360px, 100%); }
  .pp-see.side > .wrap { grid-template-columns: 1fr; gap: 32px; }
  .pp-see.side .devices { justify-content: flex-start; }
  .figs { grid-auto-flow: row; grid-template-columns: 1fr; gap: 32px; }
  .figs li, .figs li:first-child { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .figs li:first-child { padding-top: 0; border-top: 0; }
  .pp-facts > .wrap, .pp-facts > .wrap.n2 { grid-template-columns: 1fr; gap: 32px; }
}
/* product page on a phone: one column; the ledger becomes one block per row */
@media (max-width: 640px) {
  .pp-hero { padding-block: 32px 64px; }
  .pp-act { justify-items: stretch; } .pp-act .btn { width: 100%; }
  .wrow { grid-template-columns: 84px minmax(0, 1fr); } .headwrap { left: 84px; }
  .wrow .wv { height: 80px; }
  .pp-see > .wrap, .pp-figs > .wrap { padding-block: 64px; }
  .pp-proof.screen { width: 100%; }
  .devices { gap: 16px; }
  .pp-see.row .devices figure, .pp-see.side .devices figure { width: 62vw !important; }
  .pp-see.pair .devices { flex-direction: column; align-items: stretch; gap: 32px; border-bottom: 0; overflow: visible; }
  .pp-see.pair .devices figure { width: 100% !important; }
  .pair-side { gap: 32px; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; }
  .ledger tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
  .ledger th, .ledger td, .ledger tbody th, .ledger td.size { border: 0; padding: 0; width: auto; }
  .ledger td.for, .ledger td.size { grid-column: 1; font-size: 15px; }
  .ledger td.size.none { display: none; }
  .ledger td.act { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .sums { grid-template-columns: 1fr; }
  .buy { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .buy-price { display: flex; align-items: baseline; gap: 10px; margin-left: 26px; }
  .buy-price span { margin: 0; }
  .buy-act .btn { width: 100%; }
  .buy .buy-seller, .buy-msg { margin-left: 0; }
  .keyrow .btn { width: 100%; }
}
/* on a phone a table becomes one block per row, each cell labelled by its column */
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { padding-block: 12px; border-bottom: 1px solid var(--line-2); }
  .doc td { border: 0; padding: 4px 0; }
  .doc td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 600; color: var(--sub); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .head nav, .lang, .foot nav { display: none; } }

/* Variant b: the product in use first. Additional rules only; tokens and classes come from site/style.css. */
.pb-hero { grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 32px 80px; }
/* the stage is the wide proof; the waveform gets the room a half column never had */
.pb-stage .pp-proof.screen { justify-self: start; }
.pb-stage .wv { height: 120px; }
.pb-id { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "name act" "sum act"; gap: 0 64px; align-items: start; }
.pb-name { grid-area: name; }
.pb-sum { grid-area: sum; }
.pb-act { grid-area: act; align-self: end; display: grid; gap: 4px; max-width: 360px; }
.pb-places { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.pb-places li { display: grid; gap: 8px; }
.pb-places .btn, .pb-places .btn-2 { width: 100%; height: 56px; justify-content: center; font-size: 17px; }
.pb-act .btn-t { margin-top: 8px; }
@media (max-width: 860px) {
  .pb-id { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "act" "sum"; gap: 32px; }
  .pb-act { max-width: none; align-self: start; }
}
@media (max-width: 640px) {
  .pb-hero { gap: 32px; padding-block: 24px 64px; }
  .pb-stage .wv { height: 64px; }
  .pb-id { gap: 24px; }
}

/* Variant c: one action. Additional rules only; tokens and classes come from site/style.css. */
/* One primary per visitor device; the other platform is a quiet second line under a hairline. A Mac shows the
   Mac App Store as primary (the hero script sets data-device="mac" on <html>); every other device starts from iPhone. */
.pc-act { gap: 0; max-width: 26em; }
.pc-main .t-cap { margin-top: 8px; }
.pc-alt { margin-top: 24px; padding-top: 4px; border-top: 1px solid var(--line-2); }
.pc-main[data-main="mac"], .pc-alt[data-alt="ios"] { display: none; }
html[data-device="mac"] .pc-main[data-main="mac"], html[data-device="mac"] .pc-alt[data-alt="ios"] { display: block; }
html[data-device="mac"] .pc-main[data-main="ios"], html[data-device="mac"] .pc-alt[data-alt="mac"] { display: none; }
/* The ledger sits behind one fold, so the section is a heading, a sentence and a single row to open. */
.pc-get > .wrap { padding-block: 48px 64px; }
.pc-more { margin-top: 24px; border-bottom: 1px solid var(--line-2); }
.pc-more > summary { font-size: 17px; }
.pc-more[open] { padding-bottom: 32px; }
.pc-more .ledger { margin-top: 8px; }
.pc-alt .btn-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.pc-alt .btn-t:hover { text-decoration-color: currentColor; }
