/* Inner pages (About, Privacy, Terms) — extends styles.css */

.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px,9vh,112px) var(--gutter) clamp(40px,6vh,72px);
}
.page-hero .hero__glow { top: -40%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem,6.4vw,4.6rem);
  line-height: .98; letter-spacing: -.03em; margin: 16px 0 0; max-width: 18ch;
  animation: rise .9s var(--ease) .1s both;
}
.page-hero__title span { color: var(--accent); }
.page-hero__lede {
  font-size: clamp(1.05rem,1.6vw,1.22rem); line-height: 1.55; color: var(--sub);
  max-width: 60ch; margin: 22px 0 0; animation: rise .9s var(--ease) .22s both;
}
.page-hero .eyebrow { animation: rise .8s var(--ease) .04s both; }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px;
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; color: var(--muted);
  animation: rise .9s var(--ease) .3s both;
}

/* Legal documents */
.legal { padding: 0 var(--gutter) clamp(72px,11vh,128px); }
.legal__layout {
  display: grid; grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px,5vw,72px); align-items: start;
}
.toc {
  position: sticky; top: 96px;
  border-left: 2px solid var(--line); padding-left: 18px;
}
.toc__title {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.toc a { font-size: .9rem; color: var(--sub); transition: color .2s; }
.toc a:hover { color: var(--accent); }

.prose { max-width: 72ch; font-size: 1.02rem; line-height: 1.7; color: var(--sub); }
.prose h2 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem,2.4vw,1.75rem);
  letter-spacing: -.015em; line-height: 1.2; color: var(--ink);
  margin: 52px 0 14px; padding-top: 28px; border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); margin: 26px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose .note {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 16px 20px; margin: 0 0 20px;
}
.prose table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prose th {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.table-wrap { overflow-x: auto; }

@media (max-width: 860px) {
  .legal__layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* About page */
.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px,5vw,72px); align-items: start; }
.story p { font-size: 1.08rem; line-height: 1.65; color: var(--sub); margin: 0 0 18px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: clamp(40px,6vh,64px); }
.values .card h3 { margin-top: 18px; }

.product {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(26px,4vw,40px); margin-top: clamp(40px,6vh,56px);
  box-shadow: 0 30px 60px -44px rgba(var(--shadow-rgb),.5);
}
.product h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem,3vw,2.1rem); letter-spacing: -.02em; color: var(--ink); margin: 10px 0 8px; }
.product p { font-size: 1.02rem; line-height: 1.6; color: var(--sub); margin: 0; max-width: 58ch; }
.product__links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) { .product { grid-template-columns: 1fr; } }
