/* INBOX-349030 (Megan's Legal Pages redesign, 2026-11-27): her legal.css, unchanged except the three banner paths (images/legal/) and the MIT License box rule added at the end (her CSS had none; the old page kept the license's line breaks), and two focus-ring fixes. Loaded only by privacy.html, terms.html and app-privacy.html. */
:root{--ink:#142235;--navy:#101f33;--night:#081523;--muted:#536173;--gold:#875c16;--glint:#e8c480;--paper:#fffefa;--ivory:#f5f1e8;--line:#e3d9c8;--ring:#29689e;--circuit-gold:#edca85;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--ivory);color:var(--ink);font:1rem/1.65 system-ui,sans-serif}
a{color:#25567e;text-underline-offset:.19em}a:hover{color:#764b0d}a:focus-visible,summary:focus-visible{outline:3px solid var(--ring);outline-offset:4px;border-radius:3px}
img{max-width:100%}.frame{width:min(94%,1440px);margin:auto}.skip{position:absolute;top:8px;left:12px;z-index:4;transform:translateY(-150%);background:#fff;color:#081523;padding:.6rem 1rem}.skip:focus{transform:none}
.top{color:#f6f3ed;background:var(--night);border-bottom:1px solid #fff2}.top .frame{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:69px}.brand{display:flex;align-items:center;gap:.8rem;color:inherit;text-decoration:none;flex:none;line-height:1.1;font-family:Georgia,serif;font-size:1.1rem}.brand:hover{color:#fff}.brand small{display:block;margin-top:.32rem;color:var(--glint);font:.72rem/1.1 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase}.navlinks{display:flex;gap:clamp(.65rem,1.3vw,1.3rem);white-space:nowrap;align-items:center}.navlinks a{color:inherit;text-decoration:none;font-size:.87rem;padding:.65rem 0}.navlinks a:hover{text-decoration:underline;color:var(--glint)}
.hero{position:relative;overflow:hidden;color:#fffaf1;background:radial-gradient(ellipse at 85% 25%,#31465e 0%,transparent 58%),linear-gradient(110deg,#0c1829,#182b44);border-bottom:3px solid var(--glint)}
.hero .frame{display:grid;align-items:center;min-height:clamp(180px,19vw,270px);position:relative}.hero-copy{padding:1.9rem 0;z-index:1}.eyebrow{color:var(--glint);margin:0;font-weight:750;font-size:.79rem;text-transform:uppercase;letter-spacing:.17em}.hero h1{font:normal clamp(2.35rem,5.2vw,4.75rem)/1.05 Georgia,serif;letter-spacing:-.035em;margin:.55rem 0 .5rem}.legal-meta{max-width:49rem;margin:0;color:#e2e8ee;font-size:clamp(.85rem,2vw,1rem)}.hero-art{position:absolute;right:4.5%;width:min(44%,480px);height:100%;top:0;pointer-events:none;opacity:.67;color:var(--glint)}
.tabs{background:#fffcf5;border-bottom:1px solid var(--line)}.tabs .frame{display:flex;gap:clamp(.55rem,2.5vw,2rem);flex-wrap:wrap}.tabs a{display:inline-block;padding:.78rem .22rem .72rem;font-size:.91rem;text-decoration:none;color:var(--ink);border-bottom:3px solid transparent}.tabs a[aria-current=page]{color:#63420a;border-color:#a47324;font-weight:750}.tabs a:hover{text-decoration:underline}
.legal-grid{display:grid;grid-template-columns:minmax(225px,295px) minmax(0,1fr);align-items:start;gap:clamp(1rem,2.5vw,2.75rem);padding:clamp(1.25rem,4vw,3.1rem) 0 4rem;max-width:1230px}.rail{background:var(--paper);border:1px solid var(--line);border-radius:12px;position:sticky;top:1rem;max-height:calc(100vh - 2rem);overflow:auto;padding:1.05rem 1.15rem;scrollbar-width:thin}.rail h2{font:normal 1.48rem Georgia,serif;margin:0 0 .4rem}.rail ol{padding-left:1.35rem;margin:.35rem 0}.rail li{color:var(--gold);font-size:.86rem;margin:.23rem 0}.rail li a{display:inline-block;padding:.12rem 0}.rail-meta{font-size:.82rem;color:var(--muted);margin:0}.mobile-toc{display:none}
.sheet{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:clamp(1.1rem,4.2vw,4rem);box-shadow:0 18px 48px #1e2b3510}.legal-content{max-width:74ch;margin:auto;overflow-wrap:anywhere}.legal-content p,.legal-content ul,.legal-content ol{margin:.82rem 0 1.06rem}.legal-content p:first-child{margin-top:0}.legal-content li+li{margin-top:.41rem}.legal-content h2{font:normal clamp(1.46rem,2.7vw,2rem)/1.17 Georgia,serif;margin:2.25rem 0 .9rem;padding-top:1.35rem;border-top:1px solid var(--line)}.legal-content h3{font-size:1.14rem;line-height:1.28;margin:1.55rem 0 .65rem}.legal-content :is([id],h2,h3){scroll-margin-top:1rem}.legal-content :target{background:#fff0c8;outline:3px solid #fff0c8}.legal-callout,.legal-contact{border:1px solid #e9ddc3;border-left:4px solid #a8782c;background:#faf4e7;border-radius:8px;padding:1rem 1.15rem;margin:0 0 1rem}.legal-contact h2{border:0;padding:0;margin:0 0 .5rem}.legal-callout p:last-child,.legal-contact p:last-child{margin-bottom:0}.callout-label{display:block;font-weight:750;color:#68440d;font-size:.92rem;margin-bottom:.5rem}.history{margin:0 0 2rem}.history summary{padding:.58rem .1rem;cursor:pointer;color:#704b14;font-weight:700}.history[open] summary{margin-bottom:.7rem}.section-marker{font-size:.82rem;text-transform:uppercase;letter-spacing:.13em;color:var(--gold);font-weight:750}.back{display:inline-block;margin-top:1.3rem}.foot{background:var(--night);color:#dce4ee;padding:2rem 0}.foot a{color:#f1cf8e}.foot .np-status{max-width:unset!important;margin:0 0 .8rem!important;padding:0 0 .8rem!important;font-size:.87rem!important;color:#dce4ee!important}.foot-row{display:flex;gap:.6rem 2rem;flex-wrap:wrap;justify-content:space-between;font-size:.88rem}.foot nav{display:flex;flex-wrap:wrap;gap:.9rem}.foot .extras{margin-top:1rem}
@media(max-width:950px){.top .frame{display:block;padding:.65rem 0 .2rem}.navlinks{overflow:auto;scrollbar-width:thin}.brand small{letter-spacing:.08em}.legal-grid{grid-template-columns:minmax(180px,230px) minmax(0,1fr)}}
@media(max-width:700px){.frame{width:calc(100% - 2rem)}.hero .frame{min-height:174px}.hero-art{right:-8%;width:60%;opacity:.28}.legal-grid{display:block;padding-top:1.05rem}.rail{display:none}.mobile-toc{display:block;background:var(--paper);border:1px solid var(--line);border-radius:9px;margin:0 0 .9rem;padding:.55rem .85rem}.mobile-toc summary{cursor:pointer;font-weight:700;padding:.3rem 0}.mobile-toc li{margin:.26rem 0}.mobile-toc a{display:inline-block;padding:.21rem 0}.tabs a{font-size:.83rem}.sheet{border-radius:10px}.legal-content{line-height:1.62}}
@media print{.top,.tabs,.rail,.mobile-toc,.back,.hero-art,.skip{display:none!important}.hero,.foot{background:white;color:black}.hero .frame{min-height:0}.hero h1,.legal-meta,.foot a{color:black}.legal-grid{display:block;padding:0}.sheet{border:0;box-shadow:none;padding:0}.legal-content{max-width:none}.foot{padding-top:1rem}}
.foot .qd-free-band,.foot .social-podcast-bar{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.65rem}.foot .qd-free-band{font-size:.88rem}.foot .qd-free-icon{margin-right:.35rem}.foot .social-podcast-bar img{display:block;width:26px;height:26px;object-fit:cover;border-radius:6px}

.hero-enhanced{background:#081523;isolation:isolate}
.hero-enhanced::before,.hero-enhanced::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1}
.hero-enhanced::before{background:var(--art) right center / min(100%,1120px) auto no-repeat}
.hero-enhanced::after{background:linear-gradient(90deg,#081523 0%,#081523 12%,rgba(8,21,35,.97) 23%,rgba(8,21,35,.78) 39%,rgba(8,21,35,.12) 64%,transparent 82%)}
.hero-enhanced .frame{min-height:clamp(220px,24vw,330px)}
@media(max-width:700px){.hero-enhanced::before{background-size:auto 175%;background-position:68% center}.hero-enhanced::after{background:linear-gradient(90deg,#081523 0%,#081523e8 28%,#08152391 73%,#08152355 100%)}.hero-enhanced .frame{min-height:215px}}
@media print{.hero-enhanced{background:#fff}.hero-enhanced::before,.hero-enhanced::after{display:none}.hero-enhanced .frame{min-height:0}}
.hero-enhanced[data-art="privacy"]::before{background-image:url("images/legal/privacy-art.webp");background-size: min(100%, 1120px) auto;}
.hero-enhanced[data-art="terms"]::before{background-image:url("images/legal/terms-art.webp");background-size: min(100%, 1120px) auto;}
.hero-enhanced[data-art="app-privacy"]::before{background-image:url("images/legal/app-privacy-art.webp");background-size: min(100%, 1120px) auto;}
@media(max-width:700px){.hero-enhanced[data-art]::before{background-size:auto 175%}}
.hero-enhanced[data-art]::before{background-position:right 59%;background-repeat:no-repeat;background-size:min(100%,1020px) auto}
.hero-enhanced::after{background:linear-gradient(90deg,#081523 0%,#081523 23%,#081523df 42%,#08152336 65%,transparent 84%)}
@media(max-width:700px){.hero-enhanced[data-art]::before{background-size:auto 150%;background-position:65% center}.hero-enhanced::after{background:linear-gradient(90deg,#081523 0%,#081523e8 28%,#08152391 73%,#08152355 100%)}}

/* INBOX-349030 review must-fix: the Terms page's MIT License text keeps its own line breaks (as on the old page), in her callout colours */
.license-block{white-space:pre-wrap;overflow-x:auto;font:.84rem/1.65 ui-monospace,Menlo,Consolas,"Courier New",monospace;color:var(--ink);background:#faf4e7;border:1px solid #e9ddc3;border-radius:8px;padding:1rem 1.15rem;margin:0 0 1rem}
@media(max-width:700px){.license-block{font-size:.78rem;padding:.85rem}}
@media print{.license-block{background:none;border-color:#999}}
/* INBOX-349030 browser suite: keyboard focus rings show in full. The policy tabs sit on top of the banner (it painted over the ring's top edge), and on narrow screens the scrolling menu row clipped its links' rings, so they draw inside the link. */
.tabs{position:relative}
@media(max-width:950px){.navlinks a:focus-visible{outline-offset:-3px}}
