/* The four reading pages: guide, privacy, terms and support.
 *
 * index.html keeps its styles inline because it is the Persuade surface and is
 * edited as one file. These four share one layout, so they share one sheet. The
 * tokens below are copied from index.html and must stay identical to it; the
 * reasoning behind every value is in DESIGN.md. */

@font-face{font-family:'Bricolage Grotesque';src:url(fonts/bricolage-grotesque-var.woff2) format('woff2-variations');
  font-weight:200 800;font-display:swap}
@font-face{font-family:'Schibsted Grotesk';src:url(fonts/schibsted-grotesk-var.woff2) format('woff2-variations');
  font-weight:400 900;font-display:swap}
@font-face{font-family:'Spline Sans Mono';src:url(fonts/spline-sans-mono-var.woff2) format('woff2-variations');
  font-weight:300 700;font-display:swap}

:root{
  color-scheme: light dark;
  --bg:        light-dark(#FFF3E0, #16110D);
  --surface:   light-dark(#FFFDF8, #211A14);
  --text:      light-dark(#17120E, #F5EDE2);
  --muted:     light-dark(#6B5F52, #A99A88);
  --line:      light-dark(#E6D9C4, #342A20);
  --brand:      #FF5A1F;
  --brand-hover:light-dark(#E84E15, #FF6E38);
  --brand-text: light-dark(#C93B06, #FF7A47);
  --sun:        #FFC300;
  --grass:      #00A86B;
  --berry:      #F2507F;
  --deep:       #0F2540;
  --on-fill:    #17120E;
  --on-deep:    #FFFFFF;
  --deep-muted: #9FB4C8;
  --deep-line:  #26405C;
}
:root[data-theme="light"]{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;background:var(--bg);color:var(--text);
  font:400 17px/1.6 'Schibsted Grotesk',ui-sans-serif,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.wrap{width:min(1240px,100% - 56px);margin-inline:auto}
@media(max-width:620px){.wrap{width:min(1240px,100% - 36px)}}
h1,h2,h3{font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-weight:800;letter-spacing:-.022em;margin:0}
a{color:var(--brand-text);text-underline-offset:2px}
:focus-visible{outline:2px solid var(--brand-text);outline-offset:3px;border-radius:4px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
code,kbd{font-family:'Spline Sans Mono',ui-monospace,monospace}
code{font-size:.86em;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:.04em .36em;overflow-wrap:anywhere}
kbd{font-size:.8em;font-weight:500;padding:.1em .46em;background:var(--surface);border:1px solid var(--line);
  border-bottom-width:2px;border-radius:6px;white-space:nowrap}

/* masthead, identical to index.html */
header .wrap{display:flex;align-items:center;gap:22px;height:74px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Bricolage Grotesque';font-weight:800;
  font-size:21px;text-decoration:none;color:var(--text)}
.brand img{width:28px;height:28px;border-radius:7px}
header nav{margin-left:auto;display:flex;gap:22px;align-items:center}
header nav a{color:var(--text);text-decoration:none;font-size:15px;font-weight:500}
header nav a:hover,header nav a[aria-current="page"]{color:var(--brand-text)}
.pill{background:var(--text);color:var(--bg)!important;padding:10px 19px;border-radius:999px;font-weight:700}
.pill:hover{opacity:.86}
.theme{display:grid;place-items:center;width:34px;height:34px;padding:0;flex:none;cursor:pointer;
  border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--muted)}
.theme:hover{color:var(--text);border-color:var(--muted)}
.theme .ico{width:16px;height:16px;display:none}
:root:not([data-theme]) .theme .ico-system{display:block}
:root[data-theme="light"] .theme .ico-light{display:block}
:root[data-theme="dark"]  .theme .ico-dark{display:block}
@media(max-width:980px){header nav a.hide-md{display:none}}
@media(max-width:820px){header nav a.hide-sm{display:none}}
/* Phones. Brand, theme and the install pill all had to fit in 390px, and the pill
   was running off the right edge. The GitHub link goes, the gaps tighten. */
@media(max-width:520px){header .wrap{gap:12px}header nav{gap:12px}.brand{font-size:18px}
  .brand img{width:24px;height:24px}.pill{padding:8px 14px;font-size:14px}header nav a.hide-xs{display:none}}

/* page head */
.pagehead{padding:34px 0 46px}
.crumbs{font-family:'Spline Sans Mono',monospace;font-size:12.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.crumbs a{color:var(--muted)}
.pagehead h1{font-size:clamp(38px,4.9vw,60px);line-height:1.0;max-width:17ch;margin-top:14px}
.pagehead h1 .hl{color:var(--brand-text)}
.stand{margin:22px 0 0;font-size:19.5px;max-width:58ch;color:var(--muted)}
.meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.meta span{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 14px;
  font-size:14.5px;color:var(--muted)}

/* table of contents beside the reading column */
.doc{display:grid;grid-template-columns:260px minmax(0,1fr);gap:56px;align-items:start;padding-bottom:40px}
.toc{position:sticky;top:22px;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:20px 22px}
.toc p{margin:0;font-family:'Spline Sans Mono',monospace;font-size:12.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.toc ol{margin:12px 0 0;padding-left:22px;display:grid;gap:7px;color:var(--muted);font-size:15.5px}
.toc a{color:var(--text);text-decoration:none;line-height:1.35}
.toc a:hover{color:var(--brand-text);text-decoration:underline}

.prose{max-width:780px;min-width:0}
.prose section{padding:0 0 44px;scroll-margin-top:24px}
.prose section + section{border-top:1px solid var(--line);padding-top:38px}
.prose h2{font-size:clamp(26px,2.8vw,32px);line-height:1.12}
.prose h3{font-size:20px;line-height:1.25;margin-top:28px}
.prose p,.prose li{font-size:17px;line-height:1.65}
.prose p{margin:14px 0 0;max-width:68ch}
.prose ul{margin:14px 0 0;padding-left:22px;display:grid;gap:8px;max-width:68ch}
.prose strong{font-weight:700}
.lede{font-size:18px;color:var(--muted)}

/* the quick list at the top of a legal page */
.short{list-style:none;padding:0!important;margin-top:18px!important;display:grid;gap:10px}
.short li{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:13px 16px 13px 50px;position:relative}
.short li::before{content:"\2713";position:absolute;left:14px;top:13px;width:24px;height:24px;border-radius:50%;
  background:var(--grass);color:var(--on-fill);display:grid;place-items:center;font-size:13px;font-weight:700;line-height:24px;text-align:center}

/* navy block: the claims that are enforced rather than promised */
.deep{background:var(--deep);color:var(--on-deep);border-radius:22px;padding:28px 30px;margin-top:24px}
.deep .claims{display:grid;gap:18px;margin:0;padding:0;list-style:none}
.claim{display:flex;gap:14px;align-items:flex-start}
.claim .tick{flex:none;width:26px;height:26px;border-radius:50%;background:var(--grass);color:var(--on-fill);
  display:grid;place-items:center;font-size:14px;font-weight:700;margin-top:2px}
.claim b{display:block;font-size:17px;color:#fff}
.claim span{display:block;font-size:15.5px;color:#D3E0EC;line-height:1.5}
.claim .how{margin-top:6px;font-family:'Spline Sans Mono',monospace;font-size:12.5px;letter-spacing:.02em;color:var(--deep-muted)}
.deep code{background:#0A1B2E;border-color:var(--deep-line);color:#fff}

/* tables */
.table{margin-top:22px;border:1px solid var(--line);border-radius:22px;background:var(--surface);overflow-x:auto;padding:6px 0}
.table table{width:100%;border-collapse:collapse;min-width:560px}
.table th,.table td{text-align:left;padding:14px 22px;border-bottom:1px solid var(--line);font-size:16px;vertical-align:top;line-height:1.5}
.table tbody tr:last-child td{border-bottom:0}
.table thead th{font-family:'Spline Sans Mono',monospace;font-size:12.5px;font-weight:500;letter-spacing:.07em;
  text-transform:uppercase;color:var(--muted)}
.table td:first-child{white-space:nowrap}
.tag{display:inline-block;padding:3px 11px;border-radius:999px;font-size:13.5px;font-weight:700;color:var(--on-fill);white-space:nowrap}
.tag.now{background:var(--grass)}
.tag.later{background:var(--sun)}

/* screenshots */
.shot{margin:26px 0 0}
.shot img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.shot figcaption{margin-top:10px;font-size:15.5px;color:var(--muted);max-width:68ch}

/* numbered steps in the guide */
.gstep{display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;margin-top:26px}
.gstep .n{width:40px;height:40px;border-radius:50%;background:var(--brand);color:var(--on-fill);display:grid;place-items:center;
  font-family:'Bricolage Grotesque';font-weight:800;font-size:19px}
.gstep h3{margin-top:6px}
.gstep p:first-of-type{margin-top:8px}

/* the support form */
.form-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;align-items:start;padding-bottom:40px}
.formcard{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:30px 30px 26px}
.field{display:grid;gap:6px;margin-bottom:20px}
.field .label{font-weight:700;font-size:16.5px}
.field .label i{font-style:normal;font-weight:400;color:var(--muted)}
.field .help{color:var(--muted);font-size:15.5px;line-height:1.45}
.field input,.field select,.field textarea{font:inherit;font-size:16.5px;color:var(--text);background:var(--bg);
  border:1px solid var(--line);border-radius:12px;padding:12px 14px;width:100%}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--brand-text);outline-offset:1px}
.field textarea{min-height:190px;resize:vertical;line-height:1.5}
.counter{justify-self:end;font-family:'Spline Sans Mono',monospace;font-size:12.5px;color:var(--muted)}
.counter.over{color:var(--brand-text)}
.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.acts{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:6px}
.cta{background:var(--brand);color:var(--on-fill);padding:15px 28px;border-radius:999px;font-weight:700;
  text-decoration:none;font-size:17px;display:inline-block;border:0;cursor:pointer;font-family:inherit}
.cta:hover{background:var(--brand-hover)}
.cta:disabled{opacity:.6;cursor:default}
.note{font-size:15.5px;color:var(--muted)}
.status{margin-top:18px;padding:14px 16px;border-radius:12px;border:1px solid var(--line);background:var(--bg);font-size:16px}
.status.good{border-left:5px solid var(--grass)}
.status.bad{border-left:5px solid var(--berry)}
.formnote{margin:18px 0 0;font-size:15.5px;color:var(--muted);max-width:60ch}
.cards{display:grid;gap:14px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px 24px}
.card h2{font-size:21px;line-height:1.2}
.card p,.card li{font-size:16px;line-height:1.55;color:var(--muted)}
.card p{margin:10px 0 0}
.card ul{margin:10px 0 0;padding-left:20px;display:grid;gap:6px}
.card.deep{margin-top:0;background:var(--deep);border-color:var(--deep)}
.card.deep h2{color:#fff}
.card.deep p{color:#D3E0EC}
.card.deep a{color:var(--sun)}

/* footer, shared with index.html */
footer.site{border-top:1px solid var(--line);padding:36px 0 60px;color:var(--muted);font-size:15.5px}
.sitemap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;margin-bottom:30px}
.sitemap p{margin:0 0 10px;font-family:'Spline Sans Mono',monospace;font-size:12.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.sitemap a{display:block;color:var(--text);text-decoration:none;line-height:2}
.sitemap a:hover{color:var(--brand-text);text-decoration:underline}
footer.site .base{display:flex;gap:20px;flex-wrap:wrap}
footer.site .base a{color:var(--muted)}
footer.site .sp{margin-left:auto}

@media(max-width:980px){
  .doc,.form-grid{grid-template-columns:1fr;gap:30px}
  .toc{position:static}
  .sitemap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .formcard{padding:24px 20px}
}
