/* The help and legal pages (support, health-and-safety, privacy, terms): the homepage's night,
   type and header, set for long reading. Built to print cleanly too. */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 200; font-display: swap; src: url(/assets/fonts/inter-tight-200.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/inter-tight-300.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-tight-400.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-tight-500.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: italic; font-weight: 200; font-display: swap; src: url(/assets/fonts/inter-tight-200-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: italic; font-weight: 300; font-display: swap; src: url(/assets/fonts/inter-tight-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-600.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --night: #080B15;
  --ink: #0E1222;
  --lav: #B8AFF0;
  --lav-dim: #8F88C4;
  --text: #F3F1FA;
  --soft: rgba(243, 241, 250, .8);
  --muted: #A9ADC6;
  --fine: #8A8FAC;
  --cream: #F4EFE6;
  --lamp: #F2C27E;
  --rose: #F0A493;
  --hair: rgba(243, 241, 250, .12);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --slow: cubic-bezier(.45, 0, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 1.0625rem/1.75 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 6px; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: .6rem 1rem; border-radius: 10px; background: var(--cream); color: #16182A; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* header, as on the homepage */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .6s var(--ease), border-color .6s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(8, 11, 21, .78); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-color: var(--hair); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; max-width: 1440px; }
.top::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: calc(var(--sp, 0) * 100%); background: linear-gradient(90deg, var(--lav-dim), var(--cream)); opacity: .55; }
.brand { display: flex; border-radius: 6px; }
.brand img { height: 25px; width: auto; }
.nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: .9rem; transition: color .3s; }
.nav a:hover { color: var(--text); }
.pill { display: inline-flex; align-items: center; padding: .72rem 1.25rem; border-radius: 999px; background: var(--cream); color: #16182A !important; font: 600 .9rem/1 var(--body); text-decoration: none; box-shadow: 0 10px 40px -10px rgba(244, 239, 230, .45); transition: transform .4s var(--ease); }
.pill:hover { transform: translateY(-1px); }
@media (max-width: 760px) { .nav a:not(.pill) { display: none; } }

/* the painted head of each page: a slow push-in, the title rising out of the night */
.doc-hero { position: relative; min-height: clamp(380px, 58vh, 580px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.doc-art { position: absolute; inset: 0; z-index: -1; }
.doc-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); animation: wake 2.8s var(--slow) both, push 40s linear both; }
.doc-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 11, 21, .55) 0%, rgba(8, 11, 21, .15) 24%, rgba(8, 11, 21, .35) 55%, rgba(8, 11, 21, .92) 88%, var(--night) 100%), radial-gradient(70% 90% at 0% 100%, rgba(8, 11, 21, .7), transparent 70%); }
@keyframes wake { from { filter: brightness(0) blur(6px); } to { filter: none; } }
@keyframes push { from { transform: scale(1.06); } to { transform: scale(1); } }
.doc-hero-in { width: 100%; padding-top: 140px; padding-bottom: clamp(2.2rem, 5vh, 3.4rem); }
.eyebrow { font: 500 .72rem/1.2 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--lav); margin: 0 0 1.1rem; }
.doc-hero h1 { margin: 0; font: 300 clamp(2.4rem, 5.4vw, 4.5rem)/1.02 var(--display); letter-spacing: -.04em; max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(8, 11, 21, .45); }
.doc-hero h1 em { font-style: italic; font-weight: 200; color: var(--cream); }
.doc-lede { max-width: 40rem; margin: 1.2rem 0 0; color: var(--soft); font-size: clamp(1.02rem, 1.3vw, 1.16rem); text-wrap: pretty; }
.doc-meta { margin: 1.1rem 0 0; font-size: .8rem; color: var(--fine); letter-spacing: .02em; }
.doc-hero .rise { animation: rise 1.4s var(--ease) both; }
.doc-hero .rise:nth-child(2) { animation-delay: .12s; } .doc-hero .rise:nth-child(3) { animation-delay: .26s; } .doc-hero .rise:nth-child(4) { animation-delay: .38s; }
@keyframes rise { from { opacity: 0; filter: blur(8px); transform: translateY(.4em); } to { opacity: 1; filter: none; transform: none; } }

/* the four pages as tabs */
.doc-tabs { display: flex; gap: .5rem; flex-wrap: wrap; padding-top: .4rem; }
.doc-tabs a { padding: .52rem 1rem; border-radius: 999px; border: 1px solid var(--hair); color: var(--muted); text-decoration: none; font-size: .86rem; line-height: 1.2; transition: color .3s, border-color .3s, background .3s; }
.doc-tabs a:hover { color: var(--text); border-color: rgba(243, 241, 250, .3); }
.doc-tabs a[aria-current="page"] { background: var(--cream); border-color: transparent; color: #16182A; font-weight: 600; }
@media (max-width: 480px) { .doc-tabs { gap: .4rem; flex-wrap: nowrap; } .doc-tabs a { padding: .48rem .72rem; font-size: .8rem; white-space: nowrap; } }

/* reading layout: contents on the left, the text on the right */
.doc-body { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.4rem, 5vw, 4rem) clamp(5rem, 10vw, 8rem); }
.doc-toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; font-size: .86rem; line-height: 1.4; scrollbar-width: thin; }
.doc-toc summary { list-style: none; cursor: default; font: 500 .68rem/1.2 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--fine); margin-bottom: .9rem; }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hair); }
.doc-toc a { display: block; padding: .38rem 0 .38rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--fine); text-decoration: none; transition: color .3s, border-color .3s; }
.doc-toc a:hover { color: var(--text); }
.doc-toc a.on { color: var(--text); border-left-color: var(--lamp); }
@media (max-width: 960px) {
  .doc-body { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .doc-toc { position: static; max-height: none; border: 1px solid var(--hair); border-radius: 16px; padding: .9rem 1.1rem; }
  .doc-toc summary { cursor: pointer; margin: 0; display: flex; justify-content: space-between; align-items: center; }
  .doc-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--fine); border-bottom: 1.5px solid var(--fine); transform: rotate(45deg); transition: transform .3s; }
  .doc-toc[open] summary::after { transform: rotate(225deg); }
  .doc-toc[open] summary { margin-bottom: .8rem; }
}

/* the text */
.doc { max-width: 44rem; min-width: 0; }
.doc > section { margin-top: 3.2rem; }
.doc > section:first-child { margin-top: 0; }
.doc h2 { margin: 0 0 1rem; font: 300 clamp(1.6rem, 2.6vw, 2.15rem)/1.15 var(--display); letter-spacing: -.03em; color: var(--text); text-wrap: balance; }
.doc h2 .n { display: inline-block; min-width: 2.2em; font: 500 .72rem/1 var(--body); letter-spacing: .14em; color: var(--lav); vertical-align: .55em; }
.doc h3 { margin: 2rem 0 .6rem; font: 500 1.12rem/1.35 var(--display); letter-spacing: -.01em; color: var(--text); }
.doc p, .doc li, .doc td { color: var(--soft); }
.doc p { margin: 0 0 1rem; text-wrap: pretty; }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul, .doc ol { margin: 0 0 1.2rem; padding-left: 1.25rem; }
.doc li { margin: .5rem 0; padding-left: .2rem; }
.doc li::marker { color: var(--lav-dim); }
.doc a { color: var(--lav); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc a:hover { color: var(--text); }
.doc sup { font-size: .68em; line-height: 0; margin-left: .1em; }
.doc sup a { text-decoration: none; }
.doc .summary { margin: 0 0 1rem; padding: 1.5rem 1.7rem .6rem; border-radius: 22px; border: 1px solid rgba(184, 175, 240, .24); background: linear-gradient(180deg, rgba(184, 175, 240, .09), rgba(184, 175, 240, .02)); }
.doc .summary h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.doc .summary li { margin: .45rem 0; }
.doc .summary .note { font-size: .82rem; color: var(--fine); }
.doc .callout { margin: 1.4rem 0; padding: 1.05rem 1.25rem .2rem; border-left: 3px solid var(--lamp); border-radius: 0 16px 16px 0; background: rgba(242, 194, 126, .07); }
.doc .callout.alert { border-left-color: var(--rose); background: rgba(240, 164, 147, .08); }
.doc .callout.calm { border-left-color: var(--lav); background: rgba(184, 175, 240, .07); }
.doc .caps { font-size: .84rem; letter-spacing: .01em; line-height: 1.7; }
.doc .table { margin: 1.2rem 0 1.6rem; overflow-x: auto; border: 1px solid var(--hair); border-radius: 16px; }
.doc table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.55; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--hair); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { font: 500 .7rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--fine); background: rgba(243, 241, 250, .03); }
.doc td strong { display: block; }
/* On a phone, a wide table becomes one small card per row, each value with its label. */
@media (max-width: 640px) {
  .doc .table.stack { border: 0; border-radius: 0; overflow: visible; }
  .doc .table.stack thead { display: none; }
  .doc .table.stack tr { display: block; margin-bottom: .8rem; padding: .5rem 0; border: 1px solid var(--hair); border-radius: 16px; }
  .doc .table.stack td { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .7rem; padding: .4rem 1rem; border: 0; }
  .doc .table.stack td::before { content: attr(data-label); font: 500 .66rem/1.7 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--fine); }
  .doc .table.stack td:first-child { display: block; padding-bottom: .5rem; }
  .doc .table.stack td:first-child::before { display: none; }
}
.doc .steps { counter-reset: s; list-style: none; padding: 0; }
.doc .steps li { counter-increment: s; position: relative; padding-left: 2.4rem; }
.doc .steps li::before { content: counter(s); position: absolute; left: 0; top: .1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font: 600 .76rem/1 var(--body); color: #16182A; background: var(--cream); }
.doc .sources { font-size: .86rem; line-height: 1.6; }
.doc .sources li { margin: .55rem 0; color: var(--muted); }
.doc .sources a { word-break: break-word; }
.doc .contact { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; margin: 0 0 1rem; padding: 1.4rem 1.6rem; border-radius: 22px; border: 1px solid var(--hair); background: rgba(243, 241, 250, .03); }
.doc .contact p { margin: 0; flex: 1 1 18rem; }
.doc .contact .pill { flex: none; }

/* questions that open smoothly */
.doc details.qa { border-bottom: 1px solid var(--hair); }
.doc details.qa:first-of-type { border-top: 1px solid var(--hair); }
.doc details.qa summary { list-style: none; cursor: pointer; position: relative; padding: 1.1rem 2.4rem 1.1rem 0; font: 400 1.08rem/1.4 var(--display); letter-spacing: -.01em; color: var(--text); }
.doc details.qa summary::-webkit-details-marker { display: none; }
.doc details.qa summary::after { content: ""; position: absolute; right: .4rem; top: 1.45rem; width: 9px; height: 9px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .4s var(--ease); }
.doc details.qa[open] summary::after { transform: rotate(225deg); top: 1.7rem; }
.doc details.qa > div { padding: 0 0 .6rem; }

/* small moving pictures beside an answer (doc.js adds them): sized before they draw, their edge
   softened into the night, and faded in once the first frame is there */
.spot { flex: none; width: 150px; aspect-ratio: 1; opacity: 0; transition: opacity 1.4s var(--ease);
  -webkit-mask: radial-gradient(closest-side, #000 72%, transparent); mask: radial-gradient(closest-side, #000 72%, transparent); }
.spot.on { opacity: 1; }
.spot svg { display: block; }
.doc .contact .spot { margin: -.6rem -.2rem -.6rem -.6rem; }
.doc details.qa .spot-flight { float: right; width: 148px; margin: -.4rem 0 .4rem 1.4rem; }
@media (max-width: 640px) {
  .doc .contact .spot { width: 120px; }
  .doc details.qa .spot-flight { width: 112px; margin-left: 1rem; }
}

/* sections settle in as they arrive */
.js .doc > section { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .doc > section.in { opacity: 1; transform: none; }

/* footer, as on the homepage */
footer { border-top: 1px solid var(--hair); padding-block: 2.6rem calc(2.6rem + env(safe-area-inset-bottom, 0px)); color: var(--fine); font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; max-width: 1440px; }
footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--text); }
.foot-brand { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.foot-brand img { height: 20px; width: auto; opacity: .9; }
footer .foot-hs { text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .doc > section { opacity: 1; transform: none; }
}

@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
  .top, .doc-art, .doc-tabs, .doc-toc, footer, .skip, .doc .contact .pill, .spot { display: none !important; }
  .doc-hero { min-height: 0; display: block; }
  .doc-hero-in { padding: 0 0 12pt; }
  .doc-hero h1, .doc h2, .doc h3, .doc strong, .doc p, .doc li, .doc td, .doc-lede, .doc-meta, .eyebrow { color: #000 !important; text-shadow: none; }
  .doc-body { display: block; padding: 0; }
  .doc { max-width: none; }
  .doc a { color: #000; }
  .js .doc > section { opacity: 1; transform: none; }
  .doc .summary, .doc .callout, .doc .table, .doc .contact { background: none; border-color: #999; }
  .doc details.qa > div { display: block; }
}
