:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #16272b;
  color: #f4f1e8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: radial-gradient(ellipse at 50% -18rem, #33494a 0, #16272b 42rem); }
a { color: #f0b58e; text-underline-offset: .2em; }
a:hover { color: #ffd4b6; }
a:focus-visible { outline: 2px solid #ffd4b6; outline-offset: 4px; border-radius: 2px; }
.policy-skip { position: absolute; z-index: 3; top: 8px; left: 8px; padding: 10px 14px; border-radius: 7px; background: #f4f1e8; color: #16272b; transform: translateY(-150%); }
.policy-skip:focus { transform: translateY(0); }
.policy-header { border-bottom: 1px solid #d5ded926; background: #10181bcf; }
.policy-header-inner, .policy-main { width: min(100% - 36px, 900px); margin-inline: auto; }
.policy-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.policy-brand { display: inline-flex; flex: none; align-items: center; gap: 8px; color: #f4f1e8; font-family: Iowan Old Style, Baskerville, "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -.045em; text-decoration: none; }
.policy-brand-mark { display: block; width: auto; height: .86em; margin-left: 1px; }
.policy-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; }
.policy-nav a { color: #d5ded9; font-size: .78rem; font-weight: 650; text-decoration: none; }
.policy-nav a:hover { color: #fff8ef; text-decoration: underline; }
.policy-nav a[aria-current="page"] { color: #fff8ef; }
.policy-from-profile .policy-header-inner { justify-content: flex-start; }
.policy-from-profile .policy-nav { display: none; }
.policy-back-link { font-family: inherit; font-size: .86rem; font-weight: 750; letter-spacing: 0; }
.policy-main { padding-block: clamp(34px, 7vw, 72px) 60px; }
.policy-eyebrow { margin: 0 0 9px; color: #e5a67c; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: Iowan Old Style, Baskerville, "Times New Roman", serif; font-weight: 650; }
h1 { max-width: 18ch; margin: 0; color: #fff8ef; font-size: clamp(2.2rem, 8vw, 4rem); letter-spacing: -.045em; line-height: 1.04; }
.policy-lede { max-width: 67ch; margin: 18px 0 38px; color: #d5ded9; font-size: 1.06rem; line-height: 1.75; }
.policy-content { display: grid; gap: 26px; }
.policy-content section { padding-top: 22px; border-top: 1px solid #d5ded926; }
.policy-content h2 { margin: 0 0 10px; color: #ffd5c2; font-size: 1.36rem; letter-spacing: -.02em; }
.policy-content p, .policy-content li { max-width: 72ch; color: #d5ded9; font-size: .96rem; line-height: 1.75; }
.policy-content p { margin: 0 0 12px; }
.policy-content ul, .policy-content ol { display: grid; gap: 9px; margin: 10px 0 0; padding-left: 1.25rem; }
.policy-callout { padding: 18px 20px; border: 1px solid #e5a67c55; border-radius: 12px; background: #302722; }
.policy-callout h2 { margin-top: 0; }
@media (max-width: 650px) {
  .policy-header-inner { min-height: 66px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding-block: 13px; }
  .policy-nav { gap: 7px 15px; }
  .policy-nav a { font-size: .75rem; }
  .policy-main { padding-top: 34px; }
  .policy-content p, .policy-content li { font-size: .92rem; }
  .policy-from-profile .policy-header-inner { min-height: 66px; align-items: center; flex-direction: row; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Support reuses the landing artwork, palette and pill treatment, with a
   static document so getting help never depends on account initialization. */
body.policy-support { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh; background: #1d2a2f; font-family: "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif; }
.support-scene, .support-scene::before, .support-scene::after { position: fixed; inset: 0; pointer-events: none; }
.support-scene { z-index: -1; }
.support-scene::before { content: ""; background: url("/landing/midway-dauntless-hero.webp") center / cover no-repeat; transform: scaleX(-1); }
.support-scene::after { content: ""; background: linear-gradient(90deg, #1d2a2fbb, #1d2a2f44 65%), linear-gradient(0deg, #1d2a2fbb, transparent 60%); }
.policy-support .policy-header { flex: none; border: 0; background: transparent; }
.policy-support .policy-header-inner, .support-main { width: min(100% - 64px, 1180px); }
.policy-support .policy-header-inner { min-height: 100px; }
.policy-support .policy-brand { font-size: 1.5rem; text-shadow: 0 2px 12px #10181b88; }
.policy-support .policy-nav a { display: inline-flex; align-items: center; min-height: 44px; text-shadow: 0 1px 8px #10181b; }
.support-main { display: flex; flex: 1; align-items: center; padding-block: 32px 48px; }
.support-panel { width: min(100%, 560px); padding: clamp(24px, 4vw, 42px); border: 1px solid #d5ded94d; border-radius: 26px; background: #1d2a2feb; box-shadow: 0 24px 80px #10181b55; backdrop-filter: blur(12px); }
.support-panel .policy-eyebrow { color: #d5ded9; font-size: .66rem; letter-spacing: .17em; }
.support-panel h1 { max-width: 15ch; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1; }
.support-panel .policy-lede { margin: 18px 0 24px; font-size: .96rem; line-height: 1.6; }
.support-email { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 20px; border: 1px solid #e8e1d2aa; border-radius: 999px; background: #f4f1e8; color: #2b3a3f; font-size: clamp(.83rem, 3.6vw, 1rem); font-weight: 800; text-decoration: none; }
.support-email:hover { background: #fff; color: #1d2a2f; }
.support-email span { font-size: 1.15rem; }
.support-details { display: grid; gap: 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid #d5ded933; }
.support-details h2 { margin: 0 0 5px; color: #f4f1e8; font: 750 .9rem/1.4 "Avenir Next", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
.support-details p { margin: 0; color: #d5ded9; font-size: .87rem; line-height: 1.65; }
.support-details a { color: #f4f1e8; }
.support-note { margin: 26px 0 0; color: #aebdb9; font-size: .73rem; line-height: 1.5; }
@media (max-width: 650px) {
  .policy-support .policy-header-inner, .support-main { width: calc(100% - 32px); }
  .policy-support .policy-header-inner { min-height: 104px; padding-block: 14px 0; gap: 0; }
  .policy-support .policy-nav { justify-content: space-between; width: 100%; gap: 4px 10px; }
  .policy-support .policy-nav a { font-size: .7rem; }
  .support-main { padding-block: 24px 28px; }
  .support-panel { border-radius: 22px; }
  .support-scene::before { background-position: 61% center; }
  .support-scene::after { background: linear-gradient(0deg, #1d2a2fcc, #1d2a2f44 80%); }
  .policy-support.policy-from-profile .policy-header-inner { min-height: 76px; align-items: center; flex-direction: row; justify-content: flex-start; padding-block: 12px; }
  .policy-support.policy-from-profile .policy-back-link { font-size: .86rem; }
}

/* One plain page title: the same bold sans as the app's page titles. */
h1.policy-title { max-width: none; font-family: "Avenir Next", "Helvetica Neue", Inter, ui-sans-serif, system-ui, sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: 0; line-height: 1.2; }
@media (max-width: 640px) { h1.policy-title { font-size: 1.625rem; } }
.policy-content ol + p, .policy-content ul + p { margin-top: 18px; }
.policy-credits { margin: 28px 0 0; color: #a7b5b6; font-size: .86rem; }
@media (max-width: 640px) { .support-wide-only { display: none; } }
