/* ===========================================================
   Glassmail — legal / document pages
   Reuses tokens from ../glassmail.css (same fonts + palette)
   =========================================================== */

.doc-nav{position:sticky; top:0; z-index:20; backdrop-filter:blur(16px);
  background:color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom:1px solid var(--line-soft);}
.doc-nav .wrap{display:flex; align-items:center; gap:20px; height:68px;}
.doc-brand{display:flex; align-items:center; gap:11px; font-weight:700; font-size:18px; letter-spacing:-0.01em;}
.doc-back{margin-left:auto; font-size:14.5px; color:var(--muted); display:inline-flex; align-items:center; gap:7px;
  transition:color .15s;}
.doc-back:hover{color:var(--ink);}
.doc-back .arr{font-size:17px; line-height:1;}

/* header */
.doc-head{padding:72px 0 36px; border-bottom:1px solid var(--line-soft); position:relative; overflow:hidden;}
.doc-head .glow{position:absolute; left:50%; top:-60%; transform:translateX(-50%); width:760px; height:520px;
  border-radius:50%; background:radial-gradient(50% 50% at 50% 50%, var(--acc-18), transparent 70%);
  filter:blur(20px); pointer-events:none;}
.doc-head .wrap{position:relative; max-width:844px;}
.doc-head h1{margin:14px 0 0; font-size:46px; line-height:1.05; letter-spacing:-0.02em; font-weight:700; max-width:18ch;}
.doc-head .updated{margin-top:18px; font-size:14px; color:var(--faint);}
.doc-head .updated b{color:var(--muted); font-weight:500;}

/* body */
.doc-body{padding:48px 0 80px;}
.doc-body .wrap{max-width:780px;}
.doc-lead{font-size:20px; line-height:1.55; color:var(--muted); margin:0 0 8px; max-width:62ch;}
.doc-lead.serif{font-family:var(--serif); font-style:italic; color:var(--ink);}

.doc-section{padding:34px 0; border-top:1px solid var(--line-soft);}
.doc-section:first-of-type{border-top:0;}
.doc-section > h2{margin:0 0 16px; font-size:24px; letter-spacing:-0.01em; font-weight:600;}
.doc-section > h3{margin:26px 0 10px; font-size:17px; font-weight:600; color:var(--ink);}
.doc-section p{margin:0 0 15px; font-size:16.5px; line-height:1.65; color:var(--muted);}
.doc-section p:last-child{margin-bottom:0;}
.doc-section a.lnk{color:var(--accent); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px;
  text-decoration-color:var(--acc-30);}
.doc-section a.lnk:hover{text-decoration-color:var(--accent);}
.doc-section strong{color:var(--ink); font-weight:600;}

.doc-section ul{margin:0 0 16px; padding:0; list-style:none; display:grid; gap:12px;}
.doc-section ul li{position:relative; padding-left:26px; font-size:16.5px; line-height:1.6; color:var(--muted);}
.doc-section ul li::before{content:""; position:absolute; left:4px; top:11px; width:7px; height:7px; border-radius:2px;
  background:var(--accent); opacity:.85; transform:rotate(45deg);}
.doc-section ul li strong{display:block; color:var(--ink); font-weight:600; margin-bottom:1px;}

/* callout / contact card */
.doc-card{margin:22px 0 4px; border-radius:16px; border:1px solid var(--line); padding:24px 26px;
  background:linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.018));}
.doc-card h3{margin:0 0 6px; font-size:15px; letter-spacing:.04em; text-transform:uppercase; color:var(--accent); font-weight:600;}
.doc-card p{margin:0 0 6px;}
.doc-card .addr{font-size:15px; line-height:1.6; color:var(--muted);}
.doc-card a.lnk{font-size:16.5px;}

/* simple definition rows (cookies / residency) */
.doc-table{margin:8px 0 18px; border:1px solid var(--line); border-radius:14px; overflow:hidden;}
.doc-table .r{display:grid; grid-template-columns:200px 1fr; gap:0; border-top:1px solid var(--line-soft);}
.doc-table .r:first-child{border-top:0;}
.doc-table .r .k{padding:16px 20px; font-weight:600; color:var(--ink); font-size:15.5px;
  border-right:1px solid var(--line-soft); background:rgba(255,255,255,.02);}
.doc-table .r .v{padding:16px 20px; color:var(--muted); font-size:15.5px; line-height:1.55;}

/* footer */
.doc-foot{border-top:1px solid var(--line-soft); padding:34px 0 46px;}
.doc-foot .wrap{display:flex; flex-wrap:wrap; align-items:center; gap:8px 22px;}
.doc-foot a{font-size:14px; color:var(--faint); transition:color .15s;}
.doc-foot a:hover{color:var(--ink);}
.doc-foot .sep{flex:1 1 auto;}
.doc-foot .cpy{font-size:13.5px; color:var(--faint);}

@media (max-width:680px){
  .doc-head h1{font-size:34px;}
  .doc-table .r{grid-template-columns:1fr;}
  .doc-table .r .k{border-right:0; border-bottom:1px solid var(--line-soft);}
}
