/* Domovoi · the web, redesigned (the canvas's About, Privacy, Terms and Not found boards): the nav, a page's column,
   the footer, and the legal pages' type. The redesign's semantic tokens only (colors_and_type.css), so it follows
   Appearance: the inline <head> script on each page sets data-theme before first paint. */
@import url('colors_and_type.css');

*, ::before, ::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; background: var(--bg); color: var(--label); font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.dv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dv-display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }

/* Buttons the pages use (the design system's, unscoped here: these pages don't carry the app's switch) */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--pop); color: var(--on-pop); font: inherit; font-size: 17px; line-height: 22px; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-pop); white-space: nowrap; }
.pg-btn.plain { background: var(--cell); color: var(--label); box-shadow: 0 0 0 1px var(--sep); }
.pg-btn.glass { background: var(--glass-hero); color: var(--on-hero); box-shadow: inset 0 0 0 1px var(--glass-hero-edge); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.pg-pill { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--pop); color: var(--on-pop); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pg-quiet { display: inline-flex; align-items: center; height: 40px; padding: 0 10px; font-size: 15px; font-weight: 700; color: var(--tint); text-decoration: none; white-space: nowrap; }
:where(.pg-btn, .pg-pill, .pg-quiet, .pg-nav a, .pg a, .pg-foot a):focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; }

/* The nav */
.pg-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; height: 76px; padding: 0 48px; background: var(--nav-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--sep); }
.pg-nav .wm { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--label); text-decoration: none; }
.pg-nav nav { display: flex; gap: 6px; }
.pg-nav nav a { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 20px; font-size: 15px; font-weight: 600; color: var(--label2); text-decoration: none; }
.pg-nav nav a:hover { color: var(--label); background: var(--tint-soft); }
.pg-nav nav a[aria-current="page"] { background: var(--tint-soft); color: var(--tint); }
.pg-nav nav svg { width: 18px; height: 18px; flex: none; }
.pg-nav .r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pg-nav [hidden] { display: none !important; }
/* the account menu, where it replaces Sign in (account-menu.css draws it) */
.pg-nav .dv-acct { color: var(--label); }

/* A page's column */
.pg { max-width: 760px; margin: 0 auto; padding: 64px 0 40px; font-size: 18px; line-height: 29px; color: var(--label); }
.pg.legal { max-width: 700px; }
.pg .eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pop-ink); }
.pg .eyebrow .bullet { width: 8px; height: 8px; border-radius: 4px; background: var(--pop); }
.pg .page-title { margin: 16px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 68px; line-height: 68px; letter-spacing: -0.035em; text-wrap: balance; }
.pg .pop { color: var(--pop-ink); }
.pg .meta { margin-top: 14px; font-size: 15px; line-height: 20px; color: var(--label2); }
.pg .lede { margin: 22px 0 0; font-size: 22px; line-height: 33px; color: var(--label2); }
.pg p { margin: 16px 0 0; }
.pg a { color: var(--tint); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pg strong { font-weight: 700; }
.pg em { font-style: italic; }
.pg h2.section { margin: 80px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 44px; letter-spacing: -0.03em; }
.pg h2.section .small { display: block; margin-bottom: 10px; font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label2); }
.pg .prose { margin-top: 8px; }
.pg .tile { margin-top: 20px; padding: 26px 28px 28px; border-radius: 28px; }
.pg .tile.butter { background: var(--butter-soft); }
.pg .tile.plum { background: var(--plum-soft); }
.pg .tile.coral { background: var(--pop-soft); }
.pg .tile-eyebrow { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pop-ink); }
.pg .tile.butter .tile-eyebrow { color: var(--butter-ink); }
.pg .tile.plum .tile-eyebrow { color: var(--tint); }
.pg .tile-h { margin: 8px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 32px; letter-spacing: -0.025em; }
.pg .tile p { margin-top: 10px; font-size: 17px; line-height: 27px; color: var(--label); }
.pg .tile a { color: var(--tint); }
.pg .mascot-block { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; align-items: center; margin-top: 80px; }
.pg .mascot-block h2.section { margin-top: 0; }
.pg .mascot-wrap { display: flex; justify-content: center; }
.pg .mascot-wrap img { width: 230px; height: auto; display: block; }
.pg .pull { margin: 72px 0 0; padding: 36px 40px; border-radius: 32px; background: var(--cell); box-shadow: var(--shadow-lg); }
.pg .pull-eyebrow { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pop-ink); }
.pg .pull-text { margin: 12px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 40px; letter-spacing: -0.03em; }
.pg .pull-text em { font-style: normal; color: var(--pop-ink); }
.pg .cta-strip { display: flex; align-items: center; gap: 24px; margin-top: 72px; padding: 34px 36px; border-radius: 32px; background: var(--hero); color: var(--on-hero); position: relative; overflow: hidden; }
.pg .cta-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 16%, rgba(242,85,119,0.40), transparent 42%), radial-gradient(circle at 96% 70%, rgba(255,201,61,0.22), transparent 40%); pointer-events: none; }
.pg .cta-text { position: relative; flex: 1; }
.pg .cta-eyebrow { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--butter); }
.pg .cta-strip h3 { margin: 8px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 36px; letter-spacing: -0.03em; }
.pg .cta-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 27px; background: var(--pop); color: var(--on-pop); font-size: 17px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow-pop); white-space: nowrap; }

/* The legal pages */
.pg.legal h2 { margin: 52px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 32px; letter-spacing: -0.025em; }
.pg.legal h3 { margin: 30px 0 0; font-size: 19px; line-height: 25px; font-weight: 700; }
.pg.legal p, .pg.legal li { font-size: 17px; line-height: 28px; }
.pg.legal ul, .pg.legal ol { margin: 14px 0 0; padding: 0; list-style: none; }
.pg.legal li { position: relative; padding-left: 22px; margin-top: 8px; }
.pg.legal ul > li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 4px; background: var(--pop); }
.pg.legal ol { counter-reset: n; }
.pg.legal ol > li { counter-increment: n; }
.pg.legal ol > li::before { content: counter(n) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--pop-ink); }
.pg.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.pg.legal th, .pg.legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--sep); }
.pg.legal th { font-weight: 700; }
.pg.legal code { font-size: 0.9em; padding: 1px 5px; border-radius: 6px; background: var(--cell-2); }

/* The footer */
.pg-foot { display: flex; align-items: center; gap: 18px; max-width: 1184px; margin: 56px auto 0; padding: 26px 48px 44px; border-top: 1px solid var(--sep); font-size: 14px; color: var(--label2); }
.pg-foot .links { display: flex; gap: 16px; }
.pg-foot a { color: var(--label); text-decoration: none; font-weight: 600; }
.pg-foot a[aria-current="page"] { color: var(--pop-ink); }
.pg-foot .right { margin-left: auto; }

/* On a phone */
@media (max-width: 860px) {
  .pg-nav { gap: 14px; padding: 0 20px; height: 64px; }
  .pg-nav nav { display: none; }
  .pg { padding: 28px 20px 30px; font-size: 17px; line-height: 27px; }
  .pg .page-title { font-size: 40px; line-height: 42px; }
  .pg .lede { font-size: 19px; line-height: 28px; }
  .pg h2.section { margin-top: 56px; font-size: 30px; line-height: 34px; }
  .pg .tile { padding: 22px 20px 24px; border-radius: 24px; }
  .pg .tile-h { font-size: 23px; line-height: 27px; }
  .pg .mascot-block { grid-template-columns: 1fr; gap: 12px; margin-top: 56px; }
  .pg .mascot-wrap img { width: 180px; }
  .pg .pull { margin-top: 48px; padding: 26px 24px; border-radius: 26px; }
  .pg .pull-text { font-size: 26px; line-height: 31px; }
  .pg .cta-strip { flex-direction: column; align-items: flex-start; margin-top: 48px; padding: 26px 24px; border-radius: 26px; }
  .pg .cta-strip h3 { font-size: 26px; line-height: 30px; }
  .pg.legal h2 { font-size: 24px; line-height: 28px; margin-top: 40px; }
  .pg.legal p, .pg.legal li { font-size: 16px; line-height: 25px; }
  .pg-foot { flex-wrap: wrap; margin-top: 20px; padding: 22px 20px 40px; }
  .pg-foot .right { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .pg-nav .pg-pill { display: none; }
}
