/* Privacy, terms and brand: a quiet reading layout on top of base.css. */

body.page {
  position: relative;
  min-height: 100vh;
  background: transparent;
  display: flex;
  flex-direction: column;
}
body.page::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: min(72vh, 620px);
  background:
    linear-gradient(rgba(4, 5, 10, 0.35), var(--void)),
    url('/assets/media/scene-night.webp') center 30% / cover;
  opacity: 0.85;
}
.page .nav {
  position: absolute;
}
.page .nav::before {
  display: none;
}
.page main {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: clamp(130px, 22vh, 210px) var(--gutter) clamp(70px, 10vh, 120px);
}

/* Reading column */
.legal-main {
  max-width: calc(760px + 2 * var(--gutter));
}
.legal-card h1,
.brand-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}
.mono-eyebrow,
.mono-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mint);
}
.mono-tag {
  letter-spacing: 0.2em;
  color: var(--ink-2);
}
.legal-meta {
  margin-bottom: clamp(40px, 7vh, 72px);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}
.legal-card h2 {
  margin: 54px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--hair);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.legal-card p:not([class]),
.legal-card li {
  color: #c6cbe0;
  font-size: 17.5px;
  line-height: 1.6;
  letter-spacing: -0.012em;
}
.legal-card > p:not([class]):first-of-type {
  color: var(--ink);
}
.legal-card ul {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
.legal-card li {
  position: relative;
  padding-left: 22px;
}
.legal-card li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.legal-card strong {
  color: var(--ink);
  font-weight: 600;
}

/* Brand */
.brand-main {
  max-width: calc(1240px + 2 * var(--gutter));
}
.brand-hero {
  max-width: 760px;
  margin: 0 auto clamp(44px, 7vh, 80px);
  text-align: center;
}
.brand-hero p:last-child {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
}
.brand-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 3vw, 42px);
  border-radius: 40px;
  background: rgba(14, 16, 24, 0.72);
  border: 1px solid var(--hair);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
}
.brand-panel h2 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.brand-panel p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.blueprint-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(circle at 58% 35%, rgba(56, 214, 255, 0.14), transparent 62%), #060916;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.blueprint-stage svg {
  width: 240px;
  height: 240px;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 175, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 175, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.download-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: background-color 0.25s ease, transform 0.3s var(--ease);
}
.btn:hover {
  background: var(--glass-strong);
  transform: translateY(-1px);
}
.btn-beam {
  color: var(--day-ink);
  background: var(--day);
}
.btn-beam:hover {
  background: #e6e9f7;
}
.swatch-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.swatch {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.swatch-chip {
  height: 46px;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.swatch strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.swatch code,
.scale-item span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}
.scale-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 22px;
  padding-top: 18px;
}
.scale-item {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.lockup-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.lockup-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 16px;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.lockup-tile.dark {
  color: #f4f6ff;
  background: #070b19;
}
.lockup-tile.light {
  color: #0a0e22;
  background: #f4f6ff;
}
.lockup-tile strong {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 650;
  letter-spacing: -0.035em;
}

/* Footer */
.page-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  margin: 0 var(--gutter);
  padding: 26px 0 34px;
  border-top: 1px solid var(--hair);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.page-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.page-foot a:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .brand-grid,
  .swatch-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand-panel {
    border-radius: 32px;
  }
  .page .nav-link {
    display: block;
    padding: 10px 8px;
  }
}

/* Release notes share the home page's night sky and display type. */
.changelog-main {
  max-width: calc(1000px + 2 * var(--gutter));
}
.changelog-intro {
  max-width: 42rem;
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
}
.changelog-intro h1 {
  margin: .16em 0 .22em;
  font-size: clamp(3.4rem, 8vw, 7rem);
  letter-spacing: -.065em;
}
.changelog-intro .legal-meta {
  margin-bottom: 1.6rem;
  letter-spacing: .09em;
}
.changelog-intro p:last-child {
  max-width: 35em;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
}
.changelog .release {
  padding: clamp(1.8rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--hair);
}
.changelog .release-date {
  font: 500 .85rem/1.5 var(--mono);
  color: var(--mint);
}
.changelog .release h2 {
  margin: .55rem 0 1.25rem;
  padding: 0;
  border: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-wrap: balance;
}
.changelog .release ul {
  max-width: 65ch;
  gap: .85rem;
}
.changelog .release li {
  padding-left: 1rem;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}
.changelog .release li::before {
  left: 0;
  width: 3px;
  height: 3px;
  background: var(--ink-2);
}
@media (min-width: 800px) {
  .changelog .release {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    column-gap: clamp(2rem, 6vw, 6rem);
  }
  .changelog .release-date {
    grid-row: 1 / 3;
    padding-top: .4rem;
  }
  .changelog .release h2 { margin-top: 0; }
}
