/* Aurora legal pages: same tokens, type, nav and footer as the home page (index.html). */
:root {
  --primary: #6A3B8F;
  --secondary: #E9D8FF;
  --accent: #F6E9FF;
  --highlight: #FFD6E8;
  --neutral: #2E1A4D;
  --light: #FAF7FF;
  --ink: #2E1A4D;
  --muted: #64587A;
  --line: #E6DAF5;
  --deep: linear-gradient(160deg, #6A3B8F 0%, #2E1A4D 100%);
  --head: "Outfit", "Avenir Next", system-ui, sans-serif;
  --label: "Jost", "Futura", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--light); scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--body); font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font-family: var(--body); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.ln { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg { overflow: visible; }
.ill { display: block; width: 100%; height: 100%; overflow: hidden; }
.wm { display: inline-flex; align-items: center; gap: .6em; font-family: var(--label); font-weight: 500; line-height: 1; }
.wm .lam { width: .8em; height: .86em; flex: none; }
.wm .lam path { fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linejoin: miter; }
.hand { font-family: var(--hand); font-weight: 600; color: var(--neutral); line-height: 1; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); position: relative; }

/* Header (same as home) */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 14px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
  background: rgba(250,247,255,.72); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border-bottom: 1px solid rgba(106,59,143,.1); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--neutral); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .wm { font-size: 18px; }
.nav nav { display: flex; align-items: center; gap: 2px; }
.nav nav a { text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 16px; padding: 10px 16px; border-radius: 999px; color: var(--neutral); transition: background .25s, color .25s; }
.nav nav a:hover, .nav nav a.cur { background: rgba(106,59,143,.1); color: var(--primary); }
.nav nav a.cta { white-space: nowrap; margin-left: 10px; background: var(--neutral); color: #fff; padding: 12px 22px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.nav nav a.cta svg { width: 18px; height: 18px; }
.nav nav a.cta:hover { background: var(--primary); color: #fff; }
@media (min-width: 761px) { .nav { padding-block: 16px; padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
@media (max-width: 420px) { .brand .wm { font-size: 14px; gap: .45em; } .brand .mark { width: 28px; height: 28px; } }
@media (max-width: 1100px) { .nav nav a:not(.cta) { display: none; } .nav nav a.cta { font-size: 15px; padding: 10px 18px; } }

/* Page hero */
.lhero { position: relative; overflow: hidden; padding: calc(150px + env(safe-area-inset-top, 0px)) 0 clamp(60px, 9vh, 110px); background:
  radial-gradient(120% 90% at 85% 0%, #FFD6E8 0%, rgba(255,214,232,0) 55%),
  radial-gradient(90% 80% at 10% 10%, #E9D8FF 0%, rgba(233,216,255,0) 60%),
  linear-gradient(180deg, #F6E9FF 0%, var(--light) 100%); }
.lhero .scene { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; opacity: .55; pointer-events: none; }
.lhero .sun { position: absolute; right: 12%; bottom: 18%; width: clamp(120px, 16vw, 230px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FFE9F2, #FFD6E8 45%, rgba(255,214,232,0) 72%); opacity: .9; pointer-events: none; }
.lhero .wrap { z-index: 2; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--primary); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.kicker { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--label); font-weight: 500; font-size: 14px; letter-spacing: .4em; text-transform: uppercase; color: var(--primary); }
.kicker::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; }
.lhero h1 { margin: 16px 0 0; font-family: var(--head); font-weight: 800; font-size: clamp(44px, 7vw, 104px); line-height: .98; letter-spacing: -.035em; color: var(--neutral); text-wrap: balance; }
.lhero h1 b { color: var(--primary); font-weight: 800; }
.lhero .lede { margin: 22px 0 0; max-width: 56ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: #463A5E; }
.lhero .hand { margin-top: 18px; display: inline-block; font-size: clamp(28px, 2.6vw, 38px); color: var(--primary); transform: rotate(-3deg); transform-origin: left; }
.meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.meta span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(106,59,143,.18); color: var(--neutral); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.meta svg { width: 17px; height: 17px; color: var(--primary); }

/* Body: contents rail + article */
.lbody { position: relative; z-index: 2; padding-block: clamp(40px, 7vh, 80px) clamp(70px, 10vh, 120px); }
.lgrid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); align-items: start; }
.toc { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow: auto; padding: 24px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(46,26,77,.5); }
.toc h2 { margin: 0 0 14px; font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: var(--primary); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 14px; text-decoration: none; font-size: 15px; line-height: 1.35; color: var(--muted); transition: background .25s, color .25s; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--head); font-weight: 600; font-size: 12px; color: rgba(106,59,143,.55); padding-top: 2px; }
.toc a:hover { background: var(--accent); color: var(--neutral); }
.toc a.on { background: var(--accent); color: var(--primary); font-weight: 600; }
.toc .print { margin-top: 16px; width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; border-radius: 999px; border: 1.5px solid rgba(46,26,77,.2); background: transparent; color: var(--neutral); font: 600 15px var(--head); cursor: pointer; }
.toc .print:hover { background: var(--accent); }
.toc .print svg { width: 18px; height: 18px; }

.doc { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.summary { border-radius: 32px; padding: clamp(24px, 3vw, 40px); background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.summary::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,232,.45), rgba(255,214,232,0) 70%); }
.summary h2 { margin: 0; font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--highlight); }
.summary ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; position: relative; z-index: 1; }
.summary li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: #F1E8FF; }
.summary li svg { width: 22px; height: 22px; flex: none; color: var(--highlight); margin-top: 1px; }
.summary li b { color: #fff; font-family: var(--head); font-weight: 600; }
@media (max-width: 700px) { .summary ul { grid-template-columns: 1fr; } }

.block { border-radius: 28px; background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 42px); scroll-margin-top: 110px; }
.block h2 { margin: 0; display: flex; align-items: center; gap: 14px; font-family: var(--head); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.02em; color: var(--neutral); }
.block h2 .no { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent); color: var(--primary); display: grid; place-items: center; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.block h3 { margin: 26px 0 0; font-family: var(--head); font-weight: 600; font-size: 19px; color: var(--neutral); }
.block p, .block li { color: #4B4063; line-height: 1.75; font-size: 17px; }
.block p { margin: 14px 0 0; }
.block ul, .block ol { margin: 12px 0 0; padding-left: 1.3em; }
.block li { margin: 6px 0; }
.block li::marker { color: var(--primary); }
.block strong { color: var(--neutral); }
.block a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.tbl { margin-top: 18px; width: 100%; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
.tbl table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15.5px; }
.tbl th { text-align: left; font-family: var(--head); font-weight: 600; color: var(--neutral); background: var(--accent); padding: 14px 16px; }
.tbl td { padding: 14px 16px; border-top: 1px solid var(--line); color: #4B4063; line-height: 1.6; vertical-align: top; }
.tbl td:first-child { font-weight: 600; color: var(--neutral); }
.callout { margin-top: 18px; display: flex; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--accent); border: 1px solid rgba(106,59,143,.18); }
.callout svg { width: 24px; height: 24px; flex: none; color: var(--primary); margin-top: 2px; }
.callout p { margin: 0; }
.callout.warn { background: #FFF0F6; border-color: #FFD6E8; }
.steps { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; margin: 0; padding: 18px; border-radius: 20px; background: var(--light); border: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--neutral); color: #fff; font: 700 15px var(--head); }
.help { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.help div { padding: 18px; border-radius: 20px; background: var(--light); border: 1px solid var(--line); }
.help b { display: block; font: 800 30px var(--head); color: var(--primary); letter-spacing: -.02em; }
.help span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.contactcard { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.contactcard div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 20px; background: var(--light); border: 1px solid var(--line); }
.contactcard small { display: block; font-family: var(--label); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--primary); }
.contactcard span:last-child { color: var(--neutral); font-family: var(--head); font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }

/* Deletion request form */
.dform { margin-top: 20px; display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 28px); border-radius: 24px; background: var(--light); border: 1px solid var(--line); }
.dform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .dform .row { grid-template-columns: 1fr; } }
.dform label { display: grid; gap: 6px; font: 600 15px var(--head); color: var(--neutral); }
.dform input, .dform select, .dform textarea { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 14px; font-size: 16px; color: var(--ink); outline: none; }
.dform input:focus, .dform select:focus, .dform textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(106,59,143,.15); }
.dform textarea { min-height: 92px; resize: vertical; }
.dform .chk { display: flex; gap: 10px; align-items: flex-start; font: 400 15px var(--body); color: var(--muted); line-height: 1.5; }
.dform .chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.dform .ok { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(106,59,143,.3); color: var(--neutral); font-size: 15px; line-height: 1.55; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none !important; font: 600 16px var(--head) !important; transition: transform .3s, box-shadow .3s, background .3s; }
.btn svg { width: 20px; height: 20px; }
.btn.p { background: var(--neutral); color: #fff !important; box-shadow: 0 16px 36px -14px rgba(46,26,77,.7); }
.btn.p:hover { background: var(--primary); transform: translateY(-2px); }
.btn.o { background: #fff; color: var(--neutral) !important; border: 1.5px solid rgba(46,26,77,.25); }
.btn.o:hover { background: var(--accent); transform: translateY(-2px); }

/* Related policies */
.related { margin-top: 10px; border-radius: 28px; padding: clamp(22px, 3vw, 36px); background: linear-gradient(135deg, #F6E9FF, #FFF0F6); border: 1px solid var(--line); }
.related h2 { margin: 0; font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--primary); }
.related .chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.related .chips a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font: 600 15px var(--head); color: var(--neutral); transition: background .25s, color .25s, transform .25s; }
.related .chips a:hover { background: var(--neutral); color: #fff; transform: translateY(-2px); }
.related .chips svg { width: 16px; height: 16px; }

@media (max-width: 1000px) {
  .lgrid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: relative; top: 0; max-height: none; }
  .toc ol { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* Footer (same as home) */
.foot { position: relative; z-index: 3; background: var(--light); padding-block: 80px 0; border-top: 1px solid var(--line); overflow: hidden; }
.fabout h4, .fcol h4 { margin: 0 0 14px; font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: .38em; text-transform: uppercase; color: var(--primary); }
.fabout p { margin: 0 0 14px; color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; max-width: 110ch; }
.fcols { margin-top: clamp(26px, 4vh, 50px); padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
@media (min-width: 1101px) { .fcol .one { white-space: nowrap; } }
.fcol p { margin: 0; display: flex; gap: 12px; color: var(--neutral); font-family: var(--head); font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; min-width: 0; align-items: center; }
.fcol p span:last-child { min-width: 0; overflow-wrap: anywhere; }
.ficon { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent); color: var(--primary); display: grid; place-items: center; }
.ficon svg { width: 21px; height: 21px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--primary); transition: background .3s, color .3s, transform .3s; }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.fbase { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; color: var(--muted); font-size: 15px; }
.fbase nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fbase nav a { text-decoration: none; color: var(--muted); }
.fbase nav a:hover, .fbase nav a.cur { color: var(--primary); }
.madeby { margin-top: 24px; display: flex; justify-content: center; }
.madeby span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--neutral); font-size: 16px; }
.madeby svg { width: 16px; height: 16px; fill: var(--primary); }
.giant { position: relative; margin-top: clamp(24px, 4vh, 44px); display: flex; justify-content: center; padding-left: var(--gl); padding-right: var(--gr); padding-bottom: clamp(10px, 2vh, 24px); }
.giant .wm { position: relative; z-index: 1; font-size: clamp(50px, 14vw, 240px); gap: .38em; font-weight: 300; color: rgba(106,59,143,.2); }
.giant .wm .lam path { stroke-width: 1.2; }
.giant .scene { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; opacity: .5; }
@media (max-width: 900px) { .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fcols { grid-template-columns: 1fr; } .fbase { justify-content: center; text-align: center; } .fbase nav { justify-content: center; } }

.fab { position: fixed; z-index: 45; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(106,59,143,.2); background: rgba(255,255,255,.92); color: var(--primary); cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -16px rgba(46,26,77,.5); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, transform .35s, visibility .35s, background .3s; }
.fab.show { opacity: 1; visibility: visible; transform: none; }
.fab:hover { background: var(--secondary); }
.fab svg { width: 22px; height: 22px; }

@media print {
  .nav, .toc, .fab, .foot, .lhero .scene, .lhero .sun, .related, .dform { display: none !important; }
  .lhero { padding: 0 0 20px; background: none; }
  .lgrid { display: block; }
  .block { border: 0; padding: 12px 0; }
  .summary { background: none; color: var(--ink); border: 1px solid var(--line); }
  .summary li, .summary li b { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
