:root {
  color-scheme: dark;
  --background: #0d0b0c;
  --panel: rgba(16, 12, 12, 0.76);
  --text: #fbf9ff;
  --body-text: rgba(237, 229, 248, 0.74);
  --muted: rgba(237, 229, 248, 0.54);
  --line: rgba(242, 198, 152, 0.2);
  --accent: #f8ddbf;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #08080d;
  color: var(--text);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

html { background: #08080d; scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background-color: var(--background);
  background-image:
    linear-gradient(180deg, rgba(7, 6, 8, 0.08) 0%, rgba(7, 5, 7, 0.16) 42%, rgba(7, 5, 7, 0.86) 100%),
    linear-gradient(90deg, rgba(5, 5, 7, 0.28) 0%, rgba(5, 5, 7, 0.04) 50%, rgba(5, 5, 7, 0.34) 100%),
    url("/assets/dmg-background.png");
  background-position: center, center, center 18%;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background: radial-gradient(circle at 36% 34%, rgba(255, 255, 255, 0.08), transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

a { color: inherit; }

.policy-header,
.policy-footer,
.policy-shell { position: relative; z-index: 1; }

.policy-header,
.policy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 64px, 1440px);
  margin: 0 auto;
}

.policy-header {
  min-height: 108px;
  border-bottom: 1px solid var(--line);
}

.brand,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 680;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark-frame {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 199, 138, 0.28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(31, 27, 25, 0.94), rgba(7, 8, 9, 0.84));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 230, 202, 0.1);
}

.brand-mark-frame img { width: 34px; height: 34px; object-fit: contain; }

.back-link {
  gap: 7px;
  color: rgba(255, 246, 237, 0.82);
  font-size: 0.74rem;
  letter-spacing: 0.01em;
}

.back-link:hover,
.policy-prose a:hover { text-decoration-thickness: 2px; }

.policy-shell {
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
  padding: 74px 0 94px;
}

.policy-intro,
.policy-content {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(21, 15, 14, 0.78), rgba(10, 9, 10, 0.67));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 226, 192, 0.07);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.policy-intro {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 2fr) minmax(220px, 0.9fr);
  align-items: end;
  gap: 34px;
  padding: 54px 56px 50px;
}

.eyebrow,
.effective-date,
.aside-label {
  margin: 0;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow { align-self: start; padding-top: 12px; }

h1,
h2,
p { margin: 0; }

h1 {
  color: var(--text);
  font-size: clamp(4.5rem, 10vw, 8.8rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.8;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.24);
}

h1 em { color: var(--accent); font-weight: 400; letter-spacing: -0.09em; }

.intro-copy {
  max-width: 28ch;
  padding-bottom: 4px;
  color: rgba(255, 246, 237, 0.88);
  font-size: clamp(1.15rem, 1.8vw, 1.48rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.effective-date { grid-column: 3; justify-self: end; margin-top: -24px; }

.policy-divider {
  height: 1px;
  margin: 54px 0;
  background: var(--line);
}

.policy-content {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 2fr) minmax(200px, 0.9fr);
  gap: 34px;
  padding: 52px 56px 60px;
}

.policy-aside { grid-column: 1; }
.aside-label { margin-bottom: 20px; }

.aside-statement {
  max-width: 15ch;
  color: var(--accent);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.policy-prose {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px 56px;
  max-width: 820px;
}

.policy-prose section { max-width: 41ch; }

.policy-prose h2 {
  margin-bottom: 17px;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.policy-prose p {
  margin-top: 14px;
  color: var(--body-text);
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.policy-prose a { text-underline-offset: 3px; }

.policy-footer {
  min-height: 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand:focus-visible,
.back-link:focus-visible,
.policy-prose a:focus-visible {
  outline: 3px solid rgba(206, 183, 255, 0.82);
  outline-offset: 5px;
}

@media (max-width: 980px) {
  .policy-intro,
  .policy-content { grid-template-columns: minmax(120px, 0.65fr) minmax(0, 2fr); }
  .intro-copy { grid-column: 2; }
  .effective-date { grid-column: 2; justify-self: start; margin-top: 0; }
  .policy-prose { grid-column: 2; }
}

@media (max-width: 700px) {
  .policy-header,
  .policy-footer,
  .policy-shell { width: min(100% - 40px, 560px); }
  .policy-header { min-height: 86px; }
  .brand-mark-frame { width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark-frame img { width: 29px; height: 29px; }
  .back-link { font-size: 0.65rem; }
  .policy-shell { padding: 50px 0 68px; }
  .policy-intro,
  .policy-content,
  .policy-prose { display: block; }
  .policy-intro { padding: 34px 25px 36px; }
  .eyebrow { margin-bottom: 38px; padding-top: 0; }
  h1 { font-size: clamp(4.5rem, 19vw, 7rem); }
  .intro-copy { margin-top: 42px; }
  .effective-date { margin-top: 26px; }
  .policy-divider { margin: 38px 0; }
  .policy-content { padding: 34px 25px 40px; }
  .policy-aside { margin-bottom: 58px; }
  .policy-prose section + section { margin-top: 46px; }
  .policy-footer { min-height: 82px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
