/* Shared legal / support page styles — Pixel Pitch by Rahtid Creations */
:root {
  --ink: #142027;
  --muted: #4a5a63;
  --paper: #f7f4ef;
  --card: #ffffff;
  --line: #d9e0e4;
  --accent: #0d7380;
  --accent-deep: #065a5e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(13, 115, 119, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(20, 32, 39, 0.06), transparent 50%),
    var(--paper);
  line-height: 1.65;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4.5rem;
}

header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.35rem;
  text-decoration: none;
  color: inherit;
  width: fit-content;
}
.brand-lockup img {
  width: 72px;
  height: 72px;
  padding: 7px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(20, 32, 39, 0.1);
  flex-shrink: 0;
  box-sizing: content-box;
}
.brand-lockup .brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.brand-lockup .brand-name {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 700;
}
.brand-lockup .brand-tag {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  margin: 0;
}

h2 {
  font-size: 1.25rem;
  margin: 2.25rem 0 0.75rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.45rem;
  line-height: 1.35;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 700;
}

p, li { font-size: 1.02rem; }
ul, ol { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

ol.steps {
  margin: 0.75rem 0 1rem;
  padding-left: 1.35rem;
}
ol.steps li { margin: 0.65rem 0; }

a {
  color: var(--accent-deep);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--accent); }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
}
.panel a { font-weight: 600; }

article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.25rem 1.25rem;
  margin: 1.25rem 0;
}
article h2 { margin-top: 0; }

.version-meta {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

nav.crumbs {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
nav.crumbs a { text-decoration: none; }
nav.crumbs a:hover { text-decoration: underline; }

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
  box-sizing: content-box;
}
.footer-brand p { margin: 0; }
