/* Balloon marketing — brand tokens */
:root {
  --bg: #0b0d12;
  --bg-elevated: #12151c;
  --bg-soft: #171b24;
  --border: #2a2f3a;
  --border-strong: #3d4452;
  --text: #e8e9ed;
  --text-strong: #f7f7f8;
  --muted: #9aa0ad;
  --muted-dim: #6b7280;
  --rose: #e11d48;
  --rose-hover: #be123c;
  --rose-soft: rgba(225, 29, 72, 0.14);
  --rose-glow: rgba(225, 29, 72, 0.28);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --max: 72rem;
  --narrow: 40rem;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: #fb7185;
  text-underline-offset: 3px;
}

a:hover {
  color: #fda4af;
}

button,
input {
  font: inherit;
}

/* —— Atmosphere —— */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--rose-glow), transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 20%, rgba(225, 29, 72, 0.08), transparent 50%),
    radial-gradient(ellipse 45% 40% at 10% 70%, rgba(56, 80, 140, 0.12), transparent 55%),
    linear-gradient(180deg, #0b0d12 0%, #0e1118 45%, #0b0d12 100%);
}

.site-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* —— Layout —— */
.shell {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.shell-narrow {
  width: min(var(--narrow), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 18, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-link:hover {
  color: inherit;
}

.brand-logo {
  width: auto;
  height: 2.35rem;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rose);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--text-strong);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--rose);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--rose-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav.is-menu-open .nav-toggle {
  border-color: var(--border-strong);
  background: var(--bg-soft);
}

.nav.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(0.405rem) rotate(45deg);
}

.nav.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-0.405rem) rotate(-45deg);
}

@media (max-width: 760px) {
  body.is-nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.5rem 1.25rem 1.5rem;
    background: #0b0d12;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.6rem);
    pointer-events: none;
    transition:
      opacity 0.28s var(--ease),
      transform 0.32s var(--ease),
      visibility 0.32s;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links.is-open li {
    animation: nav-item-in 0.36s var(--ease) both;
  }

  .nav-links.is-open li:nth-child(1) {
    animation-delay: 0.04s;
  }

  .nav-links.is-open li:nth-child(2) {
    animation-delay: 0.08s;
  }

  .nav-links.is-open li:nth-child(3) {
    animation-delay: 0.12s;
  }

  .nav-links.is-open li:nth-child(4) {
    animation-delay: 0.16s;
  }

  @keyframes nav-item-in {
    from {
      opacity: 0;
      transform: translateY(0.45rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links a:not(.nav-cta) {
    display: block;
    padding: 0.95rem 0.15rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-strong);
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:not(.nav-cta):hover,
  .nav-links a:not(.nav-cta)[aria-current='page'] {
    color: var(--rose);
  }

  .nav-links .nav-cta {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.1rem;
    font-size: 1rem;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--rose);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--rose-hover);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-strong) !important;
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text-strong) !important;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Hero (home) —— */
.home-hero {
  position: relative;
  min-height: calc(100svh - 4.25rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 2rem 0 3.5rem;
}

.home-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-hero-visual .balloon-drift {
  position: absolute;
  inset: 0;
  transform-origin: 78% 22%;
  will-change: transform, opacity;
}

.home-hero-visual .balloon-mark {
  position: absolute;
  right: max(-2rem, 4vw);
  top: 8%;
  width: min(42vw, 28rem);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 30px 60px rgba(225, 29, 72, 0.25));
  animation: float-y 7s var(--ease) infinite;
}

.home-hero-visual .balloon-trail {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, var(--rose-soft), transparent 28%),
    radial-gradient(circle at 72% 42%, rgba(225, 29, 72, 0.08), transparent 35%);
  animation: glow-pulse 5.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-visual .balloon-drift {
    will-change: auto;
  }

  .home-hero-visual .balloon-mark,
  .home-hero-visual .balloon-trail {
    animation: none;
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-18px) rotate(-2deg);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding-bottom: 1rem;
}

.home-hero-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
  animation: rise-in 0.8s var(--ease) both;
}

.home-hero-brand img {
  height: clamp(3.5rem, 8vw, 5rem);
  width: auto;
}

.home-hero-brand span {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--rose);
}

.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text-strong);
  margin-bottom: 1rem;
  animation: rise-in 0.8s var(--ease) 0.08s both;
}

.home-hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  animation: rise-in 0.8s var(--ease) 0.16s both;
}

.home-hero .btn-row {
  animation: rise-in 0.8s var(--ease) 0.24s both;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted-dim);
  animation: rise-in 0.8s var(--ease) 0.3s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    padding: 2.5rem 0 3rem;
    align-items: start;
  }

  .home-hero-visual .balloon-drift {
    transform-origin: 88% 8%;
  }

  .home-hero-visual .balloon-mark {
    width: min(55vw, 14rem);
    top: 0;
    right: -1rem;
    opacity: 0.55;
  }

  .home-hero-copy {
    max-width: 100%;
    padding-top: 5.5rem;
  }
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-strong);
}

.section-head p,
.page-hero .lede {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* —— Loop strip —— */
.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-soft));
}

.loop-step {
  position: relative;
  padding: 1.6rem 1.35rem;
  border-right: 1px solid var(--border);
}

.loop-step:last-child {
  border-right: 0;
}

.loop-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.4rem;
}

.loop-step p {
  font-size: 0.92rem;
  color: var(--muted);
}

.loop-step .n {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rose);
}

@media (max-width: 900px) {
  .loop {
    grid-template-columns: 1fr 1fr;
  }

  .loop-step:nth-child(2) {
    border-right: 0;
  }

  .loop-step:nth-child(1),
  .loop-step:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 520px) {
  .loop {
    grid-template-columns: 1fr;
  }

  .loop-step {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .loop-step:last-child {
    border-bottom: 0;
  }
}

/* —— Feature rows —— */
.feature-list {
  display: grid;
  gap: 2.75rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.feature-row h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.feature-row p {
  color: var(--muted);
  max-width: 40rem;
}

@media (max-width: 640px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* —— Why now —— */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-item {
  padding: 0.25rem 0;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.why-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 800px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* —— Closing CTA —— */
.cta-band {
  position: relative;
  margin: 2rem 0 5rem;
  padding: 3.25rem 2rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(225, 29, 72, 0.35);
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, var(--rose-soft), transparent 55%),
    var(--bg-elevated);
  text-align: center;
  overflow: hidden;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.cta-band .btn-row {
  justify-content: center;
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}

/* —— Pricing —— */
.pricing-toggle {
  display: inline-flex;
  gap: 0.3rem;
  margin-top: 1.5rem;
  padding: 0.28rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 21, 28, 0.85);
}

.pricing-toggle-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.pricing-toggle-btn.is-active {
  background: var(--bg-soft);
  color: var(--text-strong);
}

.pricing-save {
  margin-left: 0.3rem;
  font-size: 0.75rem;
  color: #fb7185;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 1rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 21, 28, 0.9);
}

.pricing-card-featured {
  border-color: var(--rose);
  background:
    linear-gradient(180deg, rgba(225, 29, 72, 0.1), transparent 40%),
    rgba(18, 21, 28, 0.95);
}

.pricing-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-strong);
}

.pricing-tagline {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.pricing-price {
  margin: 1.1rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.price-suffix {
  margin-left: 0.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-price-hint {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--muted-dim);
}

.pricing-card ul {
  margin: 0.5rem 0 1.35rem 1.1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #d0d3db;
  flex: 1;
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  color: var(--text-strong) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
}

.pricing-card-featured .pricing-cta {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff !important;
}

.pricing-cta:hover {
  filter: brightness(1.08);
}

.pricing-footnote {
  color: var(--muted-dim);
  font-size: 0.9rem;
  margin: 1.5rem 0 4rem;
}

@media (max-width: 1000px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* —— About —— */
.about-layout {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
  align-items: start;
}

.about-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-body h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin-bottom: 0.35rem;
}

.about-role {
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-body p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 38rem;
}

.about-body p strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 720px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    width: min(14rem, 55%);
  }
}

/* —— Blog —— */
.blog-list {
  display: grid;
  gap: 0;
  margin-bottom: 5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ease);
}

.blog-item:last-child {
  border-bottom: 1px solid var(--border);
}

.blog-item:hover {
  color: inherit;
}

.blog-item:hover .blog-item-title {
  color: #fb7185;
}

.blog-item time {
  font-size: 0.88rem;
  color: var(--muted-dim);
  padding-top: 0.2rem;
}

.blog-item-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin-bottom: 0.35rem;
  transition: color 0.2s var(--ease);
}

.blog-item p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 38rem;
}

@media (max-width: 560px) {
  .blog-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* —— Article —— */
.article {
  padding-bottom: 5rem;
}

.article header {
  margin-bottom: 2.25rem;
}

.article header time {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted-dim);
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-strong);
  margin-bottom: 0.85rem;
}

.article .lede {
  font-size: 1.15rem;
  color: var(--muted);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 2.25rem 0 0.75rem;
}

.article-body p,
.article-body li {
  color: var(--muted);
  margin-bottom: 0.95rem;
}

.article-body ul {
  margin: 0 0 1rem 1.25rem;
}

.article-body li {
  margin-bottom: 0.45rem;
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* —— Legal docs —— */
.doc {
  width: min(42rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.doc h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.doc-meta {
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--muted-dim);
}

.doc h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-strong);
}

.doc h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.doc p,
.doc li {
  font-size: 0.95rem;
  color: var(--muted);
}

.doc p + p {
  margin-top: 0.85rem;
}

.doc ul {
  margin: 0.75rem 0 0.85rem 1.25rem;
}

.doc li {
  margin-bottom: 0.4rem;
}

.doc li strong {
  color: #d4d4d8;
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.footer-brand:hover {
  color: inherit;
}

.footer-brand img {
  height: 1.75rem;
  width: auto;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rose);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted-dim);
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Legacy page-doc helpers used by privacy/terms until fully migrated */
.page-doc .glow {
  display: none;
}
