/* Privacy page (privacy.html). Loaded after style.css. */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.p-hero { background: var(--dark); color: var(--white); padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 10vw, 136px); }
.p-kicker { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.p-hero h1 { margin-top: 16px; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; max-width: 900px; }
.p-lead { margin-top: 20px; font-size: clamp(18px, 1.5vw, 20px); color: var(--on-dark-muted); max-width: 720px; }
.p-updated { margin-top: 24px; font-size: 14px; color: var(--on-dark-muted); }
.p-updated time { color: var(--white); font-weight: 600; }

/* Summary cards overlap the hero */
.p-summary { margin-top: -64px; position: relative; }
.p-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.p-card { background: var(--white); border-radius: 24px; padding: 24px; border: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(16,35,28,.45); border-top: 5px solid var(--c); }
.p-card svg { color: var(--c); }
.p-card h3 { margin-top: 14px; font-size: 19px; }
.p-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.p-green { --c: #0F7B53; } .p-purple { --c: #6D28D9; } .p-orange { --c: #C2410C; } .p-blue { --c: #1D4ED8; }

/* Layout */
.p-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 64px; padding-bottom: var(--section-pad); }
.p-toc { position: sticky; top: 96px; }
.p-toc-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.p-toc ol { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.p-toc li { counter-increment: toc; }
.p-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.p-toc a::before { content: counter(toc); min-width: 18px; color: var(--accent); font-weight: 800; }
.p-toc a:hover { background: var(--soft); color: var(--ink); }

/* Document */
.p-doc { max-width: 760px; }
.p-doc section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.p-doc section:last-child { border-bottom: 0; }
.p-doc h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(24px, 2.6vw, 30px); margin: 0; max-width: none; }
.p-num { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.p-doc p { margin-top: 14px; font-size: 17px; color: var(--muted); line-height: 1.65; }
.p-doc ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.p-doc ul li { position: relative; padding-left: 30px; font-size: 17px; color: var(--muted); line-height: 1.55; }
.p-doc ul li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.p-doc ul.p-cross li::before { content: "×"; width: 20px; height: 20px; left: 0; top: 2px; border-radius: 50%; background: #FDE8EF; color: #BE185D; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.p-link-line a { font-weight: 700; color: var(--accent); }
.p-mail { margin-top: 18px; }
.p-small { font-size: 14px !important; }
.footer-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .p-layout { grid-template-columns: 1fr; gap: 32px; }
  .p-toc { position: static; background: var(--soft); border-radius: 20px; padding: 18px; }
  .p-toc ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 640px) {
  .p-summary { margin-top: -48px; }
  .p-mail { white-space: normal; font-size: 15px; }
}
