/* The legal, support and form pages in the app's own look (owner, 2026-10-27): the same near-black ground, dot grid and drifting stars as the landing page.
   Loaded after legal.css (and any inline style), it turns that stylesheet's colour variables dark and restyles the few parts that had hard-coded light colours. */
:root{--navy:#F4F7FB;--teal:#6CC3FF;--bg:rgba(255,255,255,.055);--white:#090A0E;--ink:#E9EEF4;--muted:#A3B0C0;--line:rgba(255,255,255,.13)}
html{background:#090A0E}
body{background-color:#090A0E;color:var(--ink);background-image:radial-gradient(circle at 8px 8px,rgba(255,255,255,.17) .8px,transparent 1.15px);background-size:16px 16px;background-attachment:fixed}
#space{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;display:block}
main,footer{position:relative;z-index:1}
.top{position:sticky;top:0;z-index:30;background:rgba(9,10,14,.72);border-bottom:1px solid rgba(255,255,255,.08);-webkit-backdrop-filter:saturate(160%) blur(14px);backdrop-filter:saturate(160%) blur(14px)}
.nav a{color:#9CA9BA}.nav a:hover,.nav a[aria-current]{color:#fff}
a{color:var(--teal)}
h1,h2,h3{color:#F4F7FB}
p,li{color:#C5D0DD}
.eyebrow{color:#6CC3FF}
.meta{color:#8E9CAF}
.summary,.form,.say{background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.025) 55%,rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.16);box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 18px 44px rgba(0,0,0,.4);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.summary h2{color:#F4F7FB}
th{background:rgba(255,255,255,.07);color:#F4F7FB}
td,th{border-color:rgba(255,255,255,.14)}
td{color:#C5D0DD}
.caps{color:#B7C3D1}
strong,b{color:#EAF0F6}
code{background:rgba(255,255,255,.08);color:#DCE8F5;padding:1px 6px;border-radius:6px}
/* the form controls on the survey and delete-account pages */
.choice{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.22)!important;color:#E9EEF4!important}
.choice[aria-pressed=true]{background:#0383E4!important;border-color:#0383E4!important;color:#fff!important}
textarea,input[type=text],input[type=email]{background:rgba(0,0,0,.32)!important;border:1px solid rgba(255,255,255,.2)!important;color:#EEF3F8!important}
.btn{background:#0383E4!important;border-color:#0383E4!important;color:#fff!important}
.say.ok{border-color:#2FBF95}.say.bad{border-color:#E0584F}
footer{background:rgba(9,10,14,.82);border-top:1px solid rgba(255,255,255,.08);color:#8A98AA}
footer a{color:#9CA9BA}
:focus-visible{outline-color:#6CC3FF}
::selection{background:rgba(3,131,228,.45);color:#fff}
/* the trademark mark at the first mention of the name in the page's text */
.tmk{font-size:.62em;font-weight:600;letter-spacing:0;color:#6CC3FF;vertical-align:super;line-height:0;margin-left:.08em}
/* a run-in label at the start of a paragraph (the Terms service section) */
p .lead-in{color:#F4F7FB;font-weight:600}

/* ---- responsive pass (BUILD-220, owner 2026-10-28; rules in docs/web-responsive-rules.md) ----
   Shared by every legal, support and form page, English and French. */
html{-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto}                                  /* height:auto, so an image with a height attribute that is shrunk by max-width keeps its proportions */
main,.doc{overflow-wrap:break-word}
h2,h3{scroll-margin-top:96px}                                    /* an anchor never lands under the sticky header */
.top{padding-top:env(safe-area-inset-top,0px)}
.top .wrap,footer .wrap,.doc{padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
footer{padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
.nav a.lang,.top nav a.lang{position:relative}
.nav a.lang::before,.top nav a.lang::before{content:"";position:absolute;inset:-11px -4px}   /* the small language pill keeps its look; its touchable area is 44 px */
footer nav{display:flex;flex-wrap:wrap;gap:0 18px;max-width:100%}   /* the footer links have no space between them in the markup, so they could not wrap and a long French line ran off the screen */
footer nav a{margin-right:0}
.brand{flex:0 0 auto}
.brand img{max-width:none}                                       /* the logo is never squeezed: a long French nav used to shrink its link and stretch the picture out of proportion */
@media(max-width:900px){
  .top .wrap{height:auto;min-height:72px;flex-wrap:wrap;gap:0 16px;padding-top:6px;padding-bottom:6px}
  .top nav a:not(.lang){display:inline-flex;align-items:center;min-height:44px;padding:0 6px}
  footer nav a{display:inline-flex;align-items:center;min-height:44px}
  textarea,input,select{font-size:16px!important}                /* under 16 px iOS Safari zooms into the field */
  .choice,.btn{min-height:44px}
}
@media(max-width:760px){
  table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}   /* a wide table scrolls inside the page instead of widening it */
}
@media(max-width:620px){
  .top{position:static}                                          /* the header wraps to two rows on a phone; a two-row sticky bar would cover a fifth of the screen */
  .top .wrap{height:auto;min-height:72px;flex-wrap:wrap;gap:0 12px;padding-top:6px;padding-bottom:6px}
  .nav,.top nav{flex-wrap:wrap;gap:0 8px}
  body{font-size:16px}
  main{padding:36px 0 72px}
  .top .wrap,footer .wrap,.doc{padding-left:max(18px,env(safe-area-inset-left,0px));padding-right:max(18px,env(safe-area-inset-right,0px))}
  .summary{padding:16px 18px}
  .form{padding:18px}
  h2{font-size:22px;margin-top:36px}
}
