/* privacy.crowon.app (server/privacy-site.mjs serves it as /privacy-center/static/site.css). Written 2026-11-10 from
   apple.com/privacy/control measured at 1440 and 375 (docs/privacy-center-study.md):
   - 980px content box (x 230 at 1440); intro and section headlines start at its edge, statement and pairs are indented 40px
   - intro headline 80/600, intro paragraph 28/400; section headline 72/600; statement 40/600 at 900px; pair subhead 32/600,
     body 17/400; pairs are two 369px columns 162px apart, each a picture above its text, rows about 1,100px apart
   - grey #f5f5f7 panels with 28px corners; text #1d1d1f, secondary #6e6e73
   - phone: 23px sides, 48/600, 24/400, 32/600, subhead 21/600, one column
   Japanese steps down a size where a line would hold too few characters. Real dark mode. No scroll bars. */
:root {
  --bg: #ffffff; --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b; --tile: #f5f5f7; --line: #d2d2d7; --link: #0066cc;
  --code: #1d1d1f; --shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 18px 40px rgba(0, 0, 0, .10);
  --box: 980px; --side: 23px; --bar: 44px; --ln: 52px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --tile: #161617; --line: #424245; --link: #2997ff; --code: #f5f5f7; --shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px rgba(0, 0, 0, .6); }
}
* { box-sizing: border-box; scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ln) + 24px); }
/* clicking a section link glides to it (a meaningful move, kept); off for people who ask for less motion */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.pv { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
.pv:lang(ja) { letter-spacing: 0; line-height: 1.7; }
.pv a { color: inherit; text-decoration: none; }
.pv :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; }
.pv :where(ul, ol) { padding: 0; list-style: none; }
.pv :where(h1, h2, h3) { font-weight: 600; text-wrap: balance; }
.pv:lang(ja) :where(h1, h2, h3, .stmt) { font-feature-settings: "palt"; line-break: strict; }
.pv :focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); }
.skip:focus { left: 12px; }
.box { max-width: var(--box); margin: 0 auto; }

/* ---------- global bar (logo, language) and the sticky local bar (page title + section links) ---------- */
.gn { background: var(--bg); }
.gn-in, .ln-in { display: flex; align-items: center; max-width: var(--box); margin: 0 auto; padding: 0 var(--side); }
@media (min-width: 1069px) { .gn-in, .ln-in { padding: 0; } }
.gn-in { height: var(--bar); padding-top: env(safe-area-inset-top, 0px); }
.logo img { display: block; width: 33px; height: auto; }
.lang { margin-left: auto; font-size: 12px; color: var(--ink-2); }
.lang:hover { color: var(--ink); }
.ln { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.ln-in { height: var(--ln); }
.ln-title { font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.ln-links { display: none; gap: 24px; margin-left: auto; font-size: 12px; }
.ln-links a { color: var(--ink); opacity: .88; }
.ln-links a:hover { color: var(--link); opacity: 1; }
@media (min-width: 834px) { .ln-links { display: flex; } .ln-menu { display: none; } }
.ln-menu { margin-left: auto; }
.ln-menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -12px; cursor: pointer; }
.ln-menu > summary::-webkit-details-marker { display: none; }
.ln-menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.ln-menu[open] svg { transform: rotate(180deg); }
.ln-menu ul { position: absolute; left: 0; right: 0; top: var(--ln); padding: 8px var(--side) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.ln-menu li a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
.ln-menu li:last-child a { border-bottom: 0; }

main { padding: 0 var(--side); }

/* ---------- intro: left-aligned statement, no buttons ---------- */
.intro { max-width: var(--box); margin: 0 auto; padding: 72px 0 80px; }
@media (min-width: 834px) { .intro { padding: 140px 0 120px; } }
.intro h1 { max-width: 784px; font-size: 48px; line-height: 1.08; letter-spacing: -0.003em; }
.intro p { max-width: 706px; margin-top: 20px; font-size: 24px; line-height: 1.34; letter-spacing: .009em; }
@media (min-width: 834px) { .intro h1 { font-size: 80px; line-height: 1.05; letter-spacing: -0.015em; } .intro p { font-size: 28px; line-height: 1.29; margin-top: 26px; } }
.pv:lang(ja) .intro h1 { font-size: 38px; line-height: 1.22; }
.pv:lang(ja) .intro p { font-size: 19px; line-height: 1.75; }
@media (min-width: 834px) { .pv:lang(ja) .intro h1 { font-size: 64px; line-height: 1.18; } .pv:lang(ja) .intro p { font-size: 24px; line-height: 1.7; } }

/* ---------- sections ---------- */
.sec { max-width: var(--box); margin: 0 auto; padding-bottom: 120px; }
@media (min-width: 834px) { .sec { padding-bottom: 200px; } }
.art { max-width: 520px; font-size: 32px; line-height: 1.125; letter-spacing: .004em; }
@media (min-width: 834px) { .art { font-size: 72px; line-height: 1.05; letter-spacing: -0.015em; } }
.pv:lang(ja) .art { font-size: 30px; line-height: 1.3; }
@media (min-width: 834px) { .pv:lang(ja) .art { max-width: 640px; font-size: 56px; line-height: 1.22; } }
.stmt { max-width: 900px; margin: 48px 0 72px; font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: .009em; }
@media (min-width: 834px) { .stmt { margin: 120px 0 140px 40px; font-size: 40px; line-height: 1.2; letter-spacing: 0; } }
.pv:lang(ja) .stmt { font-size: 22px; line-height: 1.6; }
@media (min-width: 834px) { .pv:lang(ja) .stmt { font-size: 34px; line-height: 1.55; } }
.sub { max-width: 640px; margin-top: 20px; font-size: 19px; color: var(--ink-2); }
@media (min-width: 834px) { .sub { margin: 28px 0 0; font-size: 24px; line-height: 1.4; } }

/* the grey panel with the big settings screen (Apple: 980 wide, 28px corners, the picture cut off by the panel's edge) */
.panel { position: relative; display: grid; overflow: hidden; border-radius: 28px; background: var(--tile); }
.panel h2 { padding: 40px 28px 0; font-size: 32px; line-height: 1.125; }
.pv:lang(ja) .panel h2 { font-size: 28px; line-height: 1.32; }
.panel-shot { display: flex; justify-content: center; align-items: flex-start; height: 380px; margin-top: 32px; overflow: hidden; }
@media (min-width: 834px) {
  .panel { grid-template-columns: 1fr 420px; align-items: center; min-height: 560px; }
  .panel h2 { padding: 0 0 0 80px; font-size: 72px; line-height: 1.05; letter-spacing: -0.015em; }
  .pv:lang(ja) .panel h2 { font-size: 56px; line-height: 1.22; }
  .panel-shot { align-self: end; height: 500px; margin: 60px 80px 0 0; }
}

/* a captured screen: the app's real page, rounded like a display, cut off at the bottom by its frame */
.shot { display: block; width: 260px; flex: none; }
.shot img { display: block; width: 100%; height: auto; border-radius: 32px 32px 0 0; box-shadow: var(--shadow); }
.shot.big { width: 300px; }
@media (min-width: 834px) { .shot.big { width: 340px; } }

/* ---------- pairs: picture above, subhead and paragraph below, two columns ---------- */
.pairs { display: grid; gap: 80px; }
@media (min-width: 834px) { .pairs { grid-template-columns: 1fr 1fr; column-gap: 100px; row-gap: 140px; margin-left: 40px; } }
.pair { display: grid; align-content: start; gap: 12px; }
.pair h3 { margin-top: 28px; font-size: 21px; line-height: 1.19; letter-spacing: .011em; }
@media (min-width: 834px) { .pair h3 { margin-top: 40px; font-size: 32px; line-height: 1.125; letter-spacing: .004em; } }
.pv:lang(ja) .pair h3 { font-size: 21px; line-height: 1.4; }
@media (min-width: 834px) { .pv:lang(ja) .pair h3 { font-size: 28px; line-height: 1.36; } }
.pair p { max-width: 440px; color: var(--ink); }
.pairs.text { row-gap: 56px; }
@media (min-width: 834px) { .pairs.text { row-gap: 80px; } }
.pairs.text .pair h3 { margin-top: 0; }
.media { display: flex; justify-content: center; align-items: flex-start; height: 420px; overflow: hidden; border-radius: 28px; background: var(--tile); padding-top: 44px; }
@media (min-width: 834px) { .media { height: 560px; padding-top: 64px; } .media .shot { width: 290px; } }
.more { justify-self: start; margin-top: 4px; color: var(--link) !important; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* real records: an encrypted value as the database holds it, and the fields the access log keeps */
.rec-media { align-items: stretch; height: auto; padding: 28px 24px; }
@media (min-width: 834px) { .rec-media { min-height: 560px; padding: 44px 36px; } }
.rec { display: flex; flex-direction: column; width: 100%; font-size: 13px; }
.rec figcaption { padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.rec dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rec dt { font-size: 12px; color: var(--ink-2); }
.seal dd { display: grid; gap: 6px; margin-top: 6px; }
.seal s { color: var(--ink-3); text-decoration-thickness: 1px; }
.seal code, .log dd { font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: var(--code); letter-spacing: 0; word-break: break-all; }
.log > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0 !important; }
.log dd { text-align: right; }
.rec-note { margin-top: auto; padding-top: 16px; font-size: 12px; color: var(--ink-2); letter-spacing: 0; }

/* how long things are kept: a plain table */
.keep { margin-top: 120px; }
@media (min-width: 834px) { .keep { margin: 180px 0 0 40px; } }
.keep h3 { font-size: 21px; }
@media (min-width: 834px) { .keep h3 { font-size: 32px; } }
.keep table { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 15px; }
.keep th, .keep td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.keep thead th { padding-top: 0; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.keep tbody th { font-weight: 600; width: 34%; }
.keep .num { width: 22%; font-weight: 600; white-space: nowrap; }
.keep td:last-child { color: var(--ink-2); padding-right: 0; }
@media (max-width: 699px) {
  .keep thead { display: none; }
  .keep tr { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .keep th, .keep td { padding: 0; border: 0; width: auto !important; }
  .keep .num { white-space: normal; }
  .keep td:last-child { grid-column: 1 / -1; font-size: 14px; }
}

/* what isn't done yet: a numbered list in two columns */
.notyet { display: grid; gap: 28px; margin-top: 48px; counter-reset: n; }
@media (min-width: 834px) { .notyet { grid-template-columns: 1fr 1fr; column-gap: 100px; row-gap: 40px; margin: 80px 0 0 40px; } }
.notyet li { position: relative; padding: 20px 0 0 40px; border-top: 1px solid var(--line); counter-increment: n; }
.notyet li::before { content: counter(n); position: absolute; left: 0; top: 19px; font-size: 21px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }

/* the policy: headline and plain text links */
.sec.end { padding-bottom: 96px; }
.links { display: grid; gap: 0; margin-top: 40px; max-width: 640px; }
@media (min-width: 834px) { .links { margin: 56px 0 0 40px; } }
.links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--link); font-size: 19px; }
.links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.ft { background: var(--bg); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12px; }
.ft-in { max-width: var(--box); margin: 0 auto; padding: 24px var(--side) calc(24px + env(safe-area-inset-bottom)); }
@media (min-width: 1069px) { .ft-in { padding-left: 0; padding-right: 0; } }
.ft-sites { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ft a:hover { color: var(--ink); text-decoration: underline; }
.ft-bar { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 16px; }
.ft-bar span { margin-right: auto; }
/* Japanese headings break between phrases, never inside a word (プライ|バシー) */
.pv:lang(ja) :where(h1, h2, h3) { word-break: auto-phrase; }
@media (min-width: 834px) { .stmt { text-wrap: balance; } .pv:lang(ja) .stmt { word-break: auto-phrase; } }

/* real photos, large: the full 980 box with the panel's 28px corners (phones: full width inside the sides, 20px corners) */
.photo { margin: 0; overflow: hidden; border-radius: 20px; background: var(--tile); }
.photo img { display: block; width: 100%; height: 260px; object-fit: cover; }
@media (min-width: 834px) { .photo { border-radius: 28px; } .photo img { height: 600px; } }
.photo-wrap { padding-bottom: 80px; }
@media (min-width: 834px) { .photo-wrap { padding-bottom: 120px; } }
.art + .photo { margin-top: 48px; }
@media (min-width: 834px) { .art + .photo { margin-top: 72px; } }
.photo + .stmt, .photo + .sub { margin-top: 48px; }
@media (min-width: 834px) { .photo + .stmt { margin-top: 120px; } .photo + .sub { margin-top: 48px; } }
@media (max-width: 833px) { .intro { padding: 56px 0 36px; } }

/* 2026-11-10: every section is the liked pattern (pairs of grey tiles). Section titles are plain, left, not huge */
.sec-h { margin-bottom: 40px; font-size: 28px; line-height: 1.25; }
@media (min-width: 834px) { .sec-h { margin: 0 0 64px 40px; font-size: 40px; } }
.sec { padding-bottom: 96px; }
@media (min-width: 834px) { .sec { padding-bottom: 160px; } }
.intro { padding-bottom: 56px; }
@media (min-width: 834px) { .intro { padding: 120px 0 96px; } .intro h1 { font-size: 64px; } .pv:lang(ja) .intro h1 { font-size: 52px; } }
.rec .notyet { display: grid; gap: 0; margin: 0; }
@media (min-width: 834px) { .rec .notyet { grid-template-columns: 1fr; margin: 0; } }
.rec .notyet li { padding: 14px 0 14px 28px; border-top: 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.rec .notyet li::before { top: 13px; font-size: 13px; }
.rec .plain dd { font-family: inherit; font-size: 13px; }
.sec.end .sub, .sec.end .links { margin-left: 0; }
@media (min-width: 834px) { .sec.end .sub, .sec.end .links { margin-left: 40px; } }
.rec .plain > div { display: block; }
.rec .plain dd { margin-top: 2px; text-align: left; color: var(--ink); }
/* a photo filling a grey pair tile (same size as the screen tiles) */
.photo-tile { width: 100%; height: 100%; }
.media:has(.photo-tile) { padding: 0; }
.photo-tile .photo { height: 100%; border-radius: 0; }
.photo-tile .photo img { height: 100%; }
@media (max-width: 833px) { .intro { padding: 40px 0 28px; } }
