/* The site's quiet pages (install, privacy, terms, press, 404): the landing page's bar, type and footer, with a reading
   column. Loaded after base.css + style.css. Colours only from tokens.css. */

.page { max-inline-size: 760px; margin: 0 auto; padding: clamp(56px, 10vh, 104px) var(--gutter) clamp(72px, 12vh, 120px); }
.page.wide { max-inline-size: 1040px; }
.page-head { margin-block-end: clamp(32px, 6vh, 56px); }
.page-head .eyebrow { margin-block-end: 12px; }
.page-head h1 { margin: 0; font: 500 clamp(36px, 5vw, 60px)/1.05 var(--font-serif); letter-spacing: -.03em; text-wrap: balance; }
:lang(he) .page-head h1 { letter-spacing: -.005em; line-height: 1.12; }
.page-head .lede { margin: 18px 0 0; max-inline-size: 34em; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; text-wrap: pretty; }

/* long text (privacy, terms) */
.prose { font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.prose h1 { display: none; }                                   /* the markdown's own title: the page head shows it */
.prose h2 { margin: 2.4em 0 .6em; font: 600 22px/1.25 var(--font-display); letter-spacing: -.015em; }
.prose h3 { margin: 1.8em 0 .5em; font: 600 18px/1.3 var(--font-display); }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 1em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-block-end: .4em; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { padding: 16px 20px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.prose blockquote > :last-child { margin-block-end: 0; }
.prose table { inline-size: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px 10px 0; border-block-start: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { font-weight: 600; }
.prose code { font: 14px var(--font-mono); padding: 1px 5px; border-radius: 5px; background: var(--well); }
.prose hr { border: 0; border-block-start: 1px solid var(--line); margin: 2.4em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose em:first-child { color: var(--ink-2); }
.lang-switch { margin: 0 0 28px; font-size: 14px; }

/* install: big steps with a picture each */
.steps-big { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: clamp(48px, 8vh, 80px); }
.steps-big > li { counter-increment: s; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.steps-big .num { display: block; font: 500 44px/1 var(--font-serif); color: var(--ink-3); margin-block-end: 10px; }
.steps-big .num::before { content: counter(s); }
.steps-big h2 { margin: 0 0 10px; font: 500 clamp(24px, 2.6vw, 32px)/1.15 var(--font-serif); letter-spacing: -.02em; }
.steps-big p { margin: 0 0 10px; color: var(--ink-2); line-height: 1.55; }
.steps-big b { color: var(--ink); font-weight: 600; }
.shot-frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--well); box-shadow: inset 0 0 0 1px var(--hairline); }
.shot-frame img { inline-size: 100%; block-size: auto; display: block; }
.hero-art-wide { margin: 0 auto clamp(40px, 7vh, 64px); max-inline-size: 760px; border-radius: 24px; overflow: hidden; }
.hero-art-wide img { inline-size: 100%; block-size: auto; display: block; }

/* a drawn macOS dialog (until real screenshots replace them): a picture, so it stays left to right */
.mac-dialog { direction: ltr; margin: 20px auto; inline-size: min(100%, 300px); padding: 22px 18px 16px; border-radius: 16px; text-align: center;
  background: var(--surface); box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .1), 0 20px 50px -20px rgb(var(--shade-rgb) / .35); font: 13px/1.35 var(--font-text); color: var(--ink); }
.mac-dialog .app { inline-size: 56px; block-size: 56px; margin: 0 auto 12px; display: block; }
.mac-dialog b { display: block; font-weight: 700; margin-block-end: 6px; }
.mac-dialog small { display: block; color: var(--ink-2); font-size: 11.5px; margin-block-end: 14px; }
.mac-dialog .buttons { display: grid; gap: 6px; }
.mac-dialog .buttons span { padding: 6px 10px; border-radius: 7px; background: var(--well); font-weight: 500; }
.mac-dialog .buttons span.ring { box-shadow: 0 0 0 2.5px var(--sky); background: var(--primary); color: var(--on-primary); }
.mac-settings { direction: ltr; margin: 20px auto; inline-size: min(100%, 420px); border-radius: 14px; overflow: hidden; background: var(--surface);
  box-shadow: 0 0 0 1px rgb(var(--ink-rgb) / .1), 0 20px 50px -24px rgb(var(--shade-rgb) / .3); font: 13px/1.35 var(--font-text); color: var(--ink); text-align: start; }
.mac-settings .tb { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-block-end: 1px solid var(--line); font-weight: 600; }
.mac-settings .tb i { inline-size: 11px; block-size: 11px; border-radius: 50%; background: var(--line); }
.mac-settings .tb span { margin-inline-start: 8px; }
.mac-settings .body { padding: 14px 16px 16px; }
.mac-settings .label { color: var(--ink-2); font-size: 12px; margin: 0 0 8px; }
.mac-settings .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--well); }
.mac-settings .row span:last-child { flex: none; padding: 5px 10px; border-radius: 7px; background: var(--surface); font-weight: 500; box-shadow: 0 0 0 2.5px var(--sky); }
.note-box { margin: clamp(48px, 8vh, 72px) 0 0; padding: 22px 24px; border-radius: 18px; background: var(--sky-fill); color: var(--ink); line-height: 1.55; }
.note-box b { font-weight: 600; }

/* press */
.facts { display: grid; grid-template-columns: minmax(110px, 170px) 1fr; margin: 0; }
.facts dt, .facts dd { margin: 0; padding: 11px 0; border-block-start: 1px solid var(--line); }
.facts dt { color: var(--ink-2); font-size: 14px; padding-inline-end: 14px; }
.copyable { position: relative; margin: 0 0 18px; padding: 18px 20px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.copyable .small { display: block; margin-block-end: 6px; color: var(--ink-2); font-size: 13px; }
.copyable p { margin: 0; line-height: 1.55; }
.copybtn { float: inline-end; margin: -4px -4px 8px 12px; border: 0; border-radius: 8px; padding: 6px 12px; background: var(--well); color: var(--ink); font: 500 13px/1 var(--font-text); cursor: pointer; }
.copybtn:hover { background: var(--selected); }
.fill { background: var(--butter-fill); border-radius: 5px; padding: 0 5px; }
.logos, .shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.logos .tile { border-radius: 18px; padding: 28px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 13px; box-shadow: inset 0 0 0 1px var(--hairline); }
.logos svg { inline-size: 72px; block-size: auto; }
.logos .light { background: var(--white); color: var(--graphite-bottom); }
.logos .dark { background: var(--graphite-bottom); color: var(--white); }
.logos .tile a { color: inherit; }
.shots a { display: block; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hairline); background: var(--surface); }
.shots img { inline-size: 100%; block-size: auto; display: block; }
.page h2.sec { margin: clamp(48px, 8vh, 72px) 0 16px; font: 500 28px/1.2 var(--font-serif); letter-spacing: -.02em; }
.quote { margin: 0; padding: 22px 26px; background: var(--surface); border-radius: 18px; font: 500 20px/1.45 var(--font-serif); letter-spacing: -.01em; }

/* 404 */
.lost { min-block-size: calc(100svh - 52px - 160px); display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.lost h1 { margin: 0 0 14px; font: 500 clamp(40px, 6vw, 72px)/1.05 var(--font-serif); letter-spacing: -.03em; }
.lost p { margin: 0 0 28px; color: var(--ink-2); font-size: 18px; }

@media (max-width: 760px) {
  .steps-big > li { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; } .facts dt { padding-block-end: 0; } .facts dd { border: 0; padding-block-start: 2px; }
}

/* press: the three "what it does" lists */
.press-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.press-features > div { padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
.press-features h3 { margin: 0 0 10px; font: 600 17px/1.3 var(--font-display); }
.press-features ul { margin: 0; padding-inline-start: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.press-features li { margin-block-end: 6px; }
.press .small { color: var(--ink-2); font-size: 14px; }
/* the Accessibility switch, drawn */
.mac-settings .row.toggle span:last-child { inline-size: 34px; block-size: 20px; padding: 0; border-radius: 999px; background: var(--sky-text); box-shadow: none; position: relative; }
.mac-settings .row.toggle span:last-child::after { content: ""; position: absolute; inset-block-start: 2px; inset-inline-end: 2px; inline-size: 16px; block-size: 16px; border-radius: 50%; background: white; }
.mac-settings .row img { inline-size: 18px !important; block-size: 18px; }
.hero-art-wide { max-inline-size: 520px; }
.hero-art-wide { display: block; }
/* links inside sentences are underlined, not told apart by colour alone */
.page p a:not(.btn), .note-box a, .foot-made a, .lost p a, .page dd a, .copyable a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---- 25 Nov: round 5 pictures, one per page ---- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 20px); margin-block: 8px clamp(48px, 8vh, 80px); } .trio img { inline-size: 100%; block-size: auto; border-radius: clamp(10px, 1.6vw, 22px); }
.head-art { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 62%; border-radius: clamp(14px, 2vw, 24px); margin-block: 4px 40px; }
.lost { position: relative; overflow: clip; } .lost > div { position: relative; } .lost-art { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 80% 50%; }
.lost[data-art="tray"] { color: var(--white); } .lost[data-art="tray"] :is(h1, p, .eyebrow) { color: var(--white); } .lost[data-art="parcel"] :is(h1, p, .eyebrow) { color: var(--graphite-bottom); } .lost[data-art="parcel"] a:not(.btn) { color: inherit; }
.lost { place-items: center start; text-align: start; padding-inline: max(var(--gutter), calc((100vw - 1120px) / 2)); } .lost > div { max-inline-size: min(100%, 27em); } .lost[data-art="tray"] { background: var(--graphite-bottom); } .lost[data-art="tray"] .btn { color: var(--graphite-bottom); background: var(--white); } .lost[data-art="parcel"] { background: var(--white); }
@media (max-width: 760px) { .lost { place-items: start; padding-block-start: 56px; min-block-size: 640px; } .lost-art { inset: auto 0 0; block-size: 56%; object-position: 88% 50%; mask: linear-gradient(transparent, black 30%); -webkit-mask: linear-gradient(transparent, black 30%); } }
.trio { grid-template-columns: 1fr 1fr; }
.mac-dmg { margin: 34px auto; inline-size: min(84%, 460px); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 .5px rgb(var(--shade-rgb) / .2), 0 24px 40px -22px rgb(var(--shade-rgb) / .35); } .mac-dmg .tb { position: relative; display: flex; gap: 8px; padding: 12px 14px; } .mac-dmg .tb i { inline-size: 12px; block-size: 12px; border-radius: 50%; background: rgb(var(--ink-rgb) / .16); } .mac-dmg .tb span { position: absolute; inset: 11px 0 auto; text-align: center; font: 600 13px/1.2 var(--font-text); } .mac-dmg .body { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 26px 20px 34px; text-align: center; } .mac-dmg .body img { display: block; inline-size: 76px; block-size: auto; margin: 0 auto 8px; } .mac-dmg small { font-size: 13px; } .mac-dmg svg { inline-size: 84px; fill: none; stroke: var(--ink-3); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-block-end: 22px; }
