/* dentdial.ai — design system v1 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300..900,0..100,0..1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300..900&family=Geist+Mono:wght@400..600&display=swap');

:root {
  --paper: #f5f2ea;
  --paper-2: #ece7da;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --mute: #6b6b66;
  --line: #d9d3c3;
  --accent: #ff4d2e;
  --accent-2: #d8331a;
  --accent-tint: rgba(255, 77, 46, 0.08);
  --green: #1e6e4a;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}

a:hover { opacity: .7; }

/* ---------- grain overlay ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typography ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h1, .h1 { font-size: clamp(2.75rem, 7.5vw, 6.5rem); }
h2, .h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
h3, .h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h4 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  color: var(--accent);
}

p { font-size: inherit; }

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 38ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}

.eyebrow.dot::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: .55em;
  vertical-align: middle;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

/* ---------- layout ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

section { position: relative; z-index: 2; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

/* backdrop-filter on ::before so it doesn't trap fixed children */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: -1;
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  gap: 2rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.logo .dot { color: var(--accent); }
.logo .tld { font-size: 0.8em; color: var(--mute); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  font-size: 0.94rem;
}

.nav-links a { color: var(--ink-2); }
.nav-links a.current { color: var(--ink); }
.nav-links a.current::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  margin-top: 4px;
}

.nav-cta {
  display: flex;
  gap: .6rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none; border: none;
  width: 30px; height: 30px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 49;
    background: var(--paper);
    flex-direction: column;
    padding: 2.5rem var(--pad) 4rem;
    gap: 1.6rem;
    font-size: 1.5rem;
    font-family: var(--serif);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav-links.open a { color: var(--ink); }
  .nav-links.open a.current::after { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
}

.btn-link {
  padding: 0;
  background: none;
  border: none;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-size: 1rem;
}

.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(3rem, 9vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

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

.hero h1 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: .5rem;
}

.hero-meta .lede { max-width: 32ch; }

.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ---------- live transcript demo ---------- */
.demo {
  margin-top: clamp(3rem, 7vw, 5rem);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

.demo::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,77,46,.18), transparent 60%);
  pointer-events: none;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(245, 242, 234, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-header .live {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.demo-header .live::before {
  content: '';
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74,222,128,.6);
  animation: live 1.6s ease-in-out infinite;
}
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  50% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
}

.transcript {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  z-index: 2;
}

.line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
  animation: lineIn .5s ease forwards;
}
.line:nth-child(1) { animation-delay: .3s; }
.line:nth-child(2) { animation-delay: 1.4s; }
.line:nth-child(3) { animation-delay: 2.6s; }
.line:nth-child(4) { animation-delay: 3.9s; }
.line:nth-child(5) { animation-delay: 5.2s; }

@keyframes lineIn {
  to { opacity: 1; transform: translateY(0); }
}

.line .who {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 78px;
  padding-top: 4px;
  color: rgba(245, 242, 234, 0.5);
}
.line.ai .who { color: var(--accent); }
.line .what {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.35;
  font-variation-settings: "opsz" 60;
  color: var(--paper);
}
.line.caller .what { color: rgba(245, 242, 234, 0.78); }

.action-bar {
  margin-top: 2.2rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,242,234,.12);
}

.chip {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: .4rem .8rem;
  border: 1px solid rgba(245,242,234,.18);
  border-radius: 999px;
  color: rgba(245,242,234,.85);
  background: rgba(245,242,234,.04);
}
.chip.ok { color: #4ade80; border-color: rgba(74,222,128,.35); }

/* ---------- sections ---------- */
.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
}

.section-head h2 { max-width: 18ch; }
.section-head h2 + p {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}

/* ---------- feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

.feature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.feature .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--mute);
  letter-spacing: 0.08em;
}

.feature h3 {
  font-size: 1.5rem;
  font-variation-settings: "opsz" 60, "SOFT" 50;
}

.feature p {
  color: var(--ink-2);
  font-size: 0.97rem;
  line-height: 1.5;
}

/* ---------- two col split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
}

.split .copy h2 { margin-bottom: 1.2rem; }
.split .copy p { color: var(--ink-2); margin-bottom: 1rem; max-width: 50ch; }
.split .copy p:last-of-type { margin-bottom: 0; }

/* ---------- audit log preview ---------- */
.audit-log {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-family: var(--mono);
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.04);
}

.audit-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
}

.audit-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green);
}

.audit-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}

.audit-entries {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.audit-entry {
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-left: 3px solid var(--line);
}

.audit-entry.held { border-left-color: var(--accent); }
.audit-entry.sent { border-left-color: var(--green); }

.audit-meta {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.4rem;
}

.audit-meta .time {
  color: var(--mute);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.audit-meta .badge {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  font-weight: 600;
  font-family: var(--sans);
}

.audit-meta .badge.held {
  background: rgba(255, 77, 46, 0.12);
  color: var(--accent-2);
}

.audit-meta .badge.sent {
  background: rgba(30, 110, 74, 0.12);
  color: var(--green);
}

.audit-target {
  font-size: 0.82rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-family: var(--sans);
}

.audit-reason {
  font-size: 0.78rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.audit-foot {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  text-align: center;
}

/* ---------- founder band ---------- */
.founder-band {
  text-align: center;
  max-width: 64ch;
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 1.5rem) 0;
}

.founder-band h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.founder-band .rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem auto 1.75rem;
  border: 0;
}

.founder-band p {
  color: var(--ink-2);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto 1rem;
}

.founder-band p:last-child {
  margin-bottom: 0;
}

/* ---------- step list ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step .n {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-variation-settings: "opsz" 144, "WONK" 1;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: .6rem;
}

.step p { color: var(--ink-2); max-width: 58ch; }

/* ---------- integrations strip ---------- */
.integrations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 720px) { .integrations { grid-template-columns: repeat(2, 1fr); } }

.integration {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  background: rgba(255,255,255,0.35);
  transition: border-color .2s, transform .2s;
}
.integration:hover { border-color: var(--ink); transform: translateY(-2px); }
.integration h4 { font-family: var(--sans); font-size: 1rem; margin-bottom: .25rem; letter-spacing: -0.01em; }
.integration p { font-size: 0.84rem; color: var(--mute); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- price ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }

.price {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  background: rgba(255,255,255,0.35);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.price.feature-plan {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  position: relative;
}
.price.feature-plan .ribbon {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.price h3 {
  font-size: 1.5rem;
  font-variation-settings: "opsz" 60;
}
.price .amount {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-variation-settings: "opsz" 144;
  line-height: 1;
}
.price .amount sup {
  font-size: .45em;
  vertical-align: super;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--mute);
}
.price.feature-plan .amount sup { color: rgba(245,242,234,.6); }
.price .per {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-top: .35rem;
}
.price.feature-plan .per { color: rgba(245,242,234,.6); }

.price ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: .6rem;
  font-size: 0.94rem;
}
.price ul li { padding-left: 1.5rem; position: relative; }
.price ul li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}

/* ---------- callout / cta band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: end;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

.cta-band::before {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 70%; height: 180%;
  background: radial-gradient(circle, rgba(255,77,46,.18), transparent 60%);
  pointer-events: none;
}

.cta-band h2 { max-width: 18ch; position: relative; z-index: 2; }
.cta-band .btn { position: relative; z-index: 2; }
.cta-band .btn-primary { background: var(--accent); color: #fff; }
.cta-band .btn-primary:hover { background: var(--paper); color: var(--ink); }
.cta-band .btn-ghost { color: var(--paper); border-color: var(--paper); }
.cta-band .btn-ghost:hover { background: var(--paper); color: var(--ink); }

.cta-band .actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 720px) { .cta-band .actions { justify-content: flex-start; } }

/* ---------- testimonials ---------- */
.quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  font-variation-settings: "opsz" 100, "SOFT" 60;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.quote em { color: var(--accent); font-style: italic; }

.cite {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
}

/* ---------- faq ---------- */
.faq details {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-variation-settings: "opsz" 80;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div {
  padding-top: 1rem;
  max-width: 64ch;
  color: var(--ink-2);
}
.faq details > div p + p { margin-top: .8rem; }

/* ---------- footer ---------- */
footer {
  background: var(--paper-2);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.1rem;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: 0.94rem;
}

.footer-grid .blurb {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-variation-settings: "opsz" 80;
  max-width: 22ch;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--mute);
  text-transform: uppercase;
}

/* ---------- page header (interior pages) ---------- */
.page-head {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
}
.page-head .eyebrow { margin-bottom: 1.5rem; }
.page-head h1 { max-width: 14ch; margin-bottom: 1.5rem; }
.page-head .lede { max-width: 50ch; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }

/* ---------- prose (legal pages) ---------- */
.prose {
  max-width: 70ch;
  padding: 0 0 clamp(3rem, 6vw, 6rem);
}
.prose h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin: 3rem 0 1rem;
  font-variation-settings: "opsz" 80;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.2rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 1.8rem 0 .6rem;
}
.prose p, .prose li {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.prose p + p, .prose ul + p, .prose p + ul, .prose p + ol { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: .5rem 0 1rem; }
.prose ul li, .prose ol li { margin-bottom: .35rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }

.prose .meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.toc {
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.toc h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: .8rem;
}
.toc ol {
  list-style: none;
  padding: 0;
  font-size: 0.94rem;
  columns: 2;
  column-gap: 2rem;
}
@media (max-width: 600px) { .toc ol { columns: 1; } }
.toc li { counter-increment: toc; margin-bottom: .35rem; }
.toc li::before { content: counter(toc) " · "; color: var(--mute); font-family: var(--mono); font-size: .85em; }
.toc a { color: var(--ink); border: none; }
.toc a:hover { color: var(--accent); }

/* ---------- contact form ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 560px;
}
.form label {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  margin-bottom: .35rem;
  display: block;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  padding: .5rem 0 .6rem;
  color: var(--ink);
  border-radius: 0;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form textarea { resize: vertical; min-height: 120px; }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-2); }
.form .consent input { width: 18px; flex-shrink: 0; margin-top: 2px; border-bottom: none; }

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- misc ---------- */
.kbd {
  font-family: var(--mono);
  font-size: 0.78em;
  padding: 1px 6px;
  background: rgba(0,0,0,.06);
  border: 1px solid var(--line);
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }
