/* Shared look for the website pages (pricing, privacy, terms, contact): the app's own
   near-black, blue accent and system font, set for reading. */
:root {
	color-scheme: dark;
	--bg: #0d0d0d; --panel: #1c1c1e; --edge: rgba(255,255,255,.09);
	--fg: #f2f2f2; --muted: #a1a1a6; --accent: #0a84ff; --accent-hi: #4da3ff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 760px; margin: 0 auto; padding-block: calc(env(safe-area-inset-top, 0px) + 28px) 72px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
/* Viewfinder corners around the logo: four right-angle brackets, drawn as the background. */
.brackets { --bl: 12px; --bw: 2px; --bc: rgba(255,255,255,.85);
	background:
		linear-gradient(var(--bc), var(--bc)) left top / var(--bl) var(--bw), linear-gradient(var(--bc), var(--bc)) left top / var(--bw) var(--bl),
		linear-gradient(var(--bc), var(--bc)) right top / var(--bl) var(--bw), linear-gradient(var(--bc), var(--bc)) right top / var(--bw) var(--bl),
		linear-gradient(var(--bc), var(--bc)) left bottom / var(--bl) var(--bw), linear-gradient(var(--bc), var(--bc)) left bottom / var(--bw) var(--bl),
		linear-gradient(var(--bc), var(--bc)) right bottom / var(--bl) var(--bw), linear-gradient(var(--bc), var(--bc)) right bottom / var(--bw) var(--bl);
	background-repeat: no-repeat; }
h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 8px; text-wrap: balance; }
h2 { font-size: 22px; line-height: 1.25; margin: 40px 0 10px; letter-spacing: -.01em; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { color: #d8d8dc; max-width: 68ch; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--accent-hi); }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.lede { font-size: 19px; color: var(--muted); }
/* Pricing: Subscription or Flat rate, one plan row picked, one button with the total. */
.pay-mode { display: flex; gap: 22px; margin: 26px 0 14px; border: 0; padding: 0; }
.pay-mode label, .plan-pick { cursor: pointer; }
.pay-mode label { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.pay-year { display: flex; align-items: center; gap: 9px; font-weight: 600; cursor: pointer; padding: 4px 2px 0; }
.pricing input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; width: 21px; height: 21px; margin: 0; border-radius: 50%; border: 2px solid #6e6e73; }
.pricing input[type="radio"]:checked { border: 6px solid var(--accent); }
.pricing input[type="radio"]:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.plan-list { display: flex; flex-direction: column; gap: 10px; }
.plan-list[hidden], .pricing[hidden], .trial[hidden], .lede[hidden] { display: none; }
.plan-pick { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 10px; background: var(--panel); border: 1px solid var(--edge); }
.plan-pick:has(input:checked) { border-color: var(--accent); background: rgba(10,132,255,.12); }
.plan-pick span { flex: 1; }
.plan-pick b { display: block; font-size: 18px; }
.plan-pick small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.plan-pick em { font-style: normal; font-size: 22px; font-weight: 800; white-space: nowrap; }
.plan-pick em small { display: inline; font-size: 13px; font-weight: 600; }
.btn { display: block; width: 100%; border: 0; cursor: pointer; font: inherit; text-align: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 17px; padding: 14px; border-radius: 8px; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.fineprint { color: var(--muted); font-size: 14px; }
.pricing .btn { margin-top: 14px; }
.pricing .fineprint { text-align: center; margin: 10px 0 0; }
.trial { margin-top: 18px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(143,214,148,.28); background: rgba(143,214,148,.08); color: #cfe9d1; font-size: 15px; }
.btn.ghost { background: #2c2c2e; color: var(--fg); }
.pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #04121f; background: var(--accent-hi); border-radius: 4px; padding: 3px 8px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 28px 0; }
.plan { background: var(--panel); border: 1px solid var(--edge); border-radius: 8px; padding: 20px; }
.plan.top { border-color: rgba(10,132,255,.6); }
.plan h3 { margin: 0; }
.plan .price { font-size: 34px; font-weight: 800; margin: 6px 0 10px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan ul { margin: 0; padding-left: 20px; font-size: 15px; }
.box { background: var(--panel); border: 1px solid var(--edge); border-radius: 8px; padding: 18px 20px; margin: 20px 0; }
.mail { font-size: 22px; font-weight: 700; user-select: all; }

/* Header and footer, the same on every page and always in view: the logo and the app's close ✕ pinned at the
   top of a phone-width column (as in the app), the page links pinned at the bottom. */
:root { --col: max(20px, calc((100vw - 760px) / 2 + 20px)); --foot-h: 52px; }   /* the text column's edges (.wrap) */
body { padding-bottom: calc(var(--foot-h) + env(safe-area-inset-bottom, 0px)); }
.wrap { padding-top: 24px; }
.site-head { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: calc(env(safe-area-inset-top, 0px) + 10px) max(var(--col), env(safe-area-inset-right, 0px)) 10px max(var(--col), env(safe-area-inset-left, 0px));
	background: var(--bg); }
.site-head .logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.site-head .logo .slot { flex: none; width: 26px; height: 26px; margin-right: -2px; background: var(--accent);
	-webkit-mask: url(/crate.png) center / contain no-repeat; mask: url(/crate.png) center / contain no-repeat; }
.site-head .logo .word { padding: 5px 8px; margin-left: -8px; line-height: 27px; font-size: 20px; font-weight: 700; letter-spacing: -.7px; color: #fff; white-space: nowrap; }
@media (max-width: 389px) { .site-head .logo .word { font-size: 18px; } }
.pg-close { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.pg-close svg { width: 17px; height: 17px; }
.pg-close:hover { filter: brightness(1.15); }
/* the same as the app's footer (Settings, Profile): 12px links 14px apart, their text 12px above the bottom edge */
.site-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: center; align-items: flex-end; gap: 14px;
	min-height: calc(var(--foot-h) + env(safe-area-inset-bottom, 0px)); padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 12px); box-sizing: border-box; background: var(--bg); }
.site-foot a { color: rgba(255,255,255,.6); font-size: 12px; font-weight: 400; line-height: 16px; text-decoration: none; }
.site-foot a[aria-current="page"], .site-foot a:hover { color: rgba(255,255,255,.95); }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
