/* Studio legal-page baseline. Loaded before studio.css; scoped by its page entry. */


:root {
  color-scheme: light;
  --bg: #ffffff;
  --page-bg: color-mix(in srgb, var(--fg) 8%, var(--bg));
  --fg: #111111;
  --border-subtle: color-mix(in srgb, var(--fg) 12%, transparent);
  --panel-bg: #ffffff;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --reading-hover: #111111;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scrollbar-gutter: stable;
  overflow-anchor: none;
}

body {
  min-height: 100svh;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  background: var(--page-bg);
  color: color-mix(in srgb, var(--fg) 85%, transparent);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  display: block;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1rem;
  font-weight: 600;
}





h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--fg);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  line-height: 1.6;
}

.page-shell
  :is(p, li, label):not(.section-kicker):not(.contact-form-title):not(.legal-footer *) {
  transition: color 160ms ease;
}

@media (hover: hover) {
  .page-shell
    :is(p, li, label):not(.section-kicker):not(.contact-form-title):not(.legal-footer *):hover {
    color: var(--reading-hover);
  }
}

a {
  color: var(--accent);
  text-decoration: underline;
}

a:hover {
  opacity: 0.9;
}

.page-shell {
  max-width: 876px;
  padding: 110px 1.5rem 2.5rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}




.legal-doc {
  max-width: 876px;
}

.legal-copy h1 {
  margin-top: 0.5rem;
  margin-bottom: 1.1rem;
}

.page-section + .page-section {
  margin-top: 1.1rem;
}

.page-section h3 {
  margin-bottom: 0.45rem;
}

.page-section ul {
  margin: 0.2rem 0 0.2rem 1.2rem;
  padding: 0;
}

.page-section li + li {
  margin-top: 0.3rem;
}

.card {
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  background: var(--panel-bg);
  text-align: left;
}

html:has(body.studio-privacy-page),
body.studio-privacy-page {
  scrollbar-gutter: auto;
}

body.studio-privacy-page .page-shell.legal-doc {
  min-height: calc(100vh - 75px);
  display: flex;
  flex-direction: column;
}

body.studio-privacy-page .page-shell.legal-doc > .legal-copy:not([hidden]) {
  flex: 1 0 auto;
}


@media (max-width: 600px) {
  .page-shell { padding: 92px 1.25rem 2.5rem; }
}
