/* RedactLocal landing system. Shared by index.html, for-lawyers.html,
   for-therapists.html, and the privacy/terms/changelog subpages. */

:root {
  --bg:        #F7F5F2;
  --surface:   #FFFFFF;
  --surface2:  #EFECE7;
  --surface3:  #E6E1D8;
  --border:    #E6E1D8;
  --borderStrong: #C9C2B6;
  --fg:        #2C2C2C;
  --fgMuted:   #6B6560;
  --fgSubtle:  #9A948D;
  --primary:   #1B2D45;
  --primaryDeep: #14223A;
  --primaryText: #F5F0E8;
  --accent:    #C8553D;
  --accentSoft: rgba(200,85,61,0.10);
  --ok:        #2D6A4F;
  --warn:      #E9C46A;
  --ink:       #1A1A1E;
  --fontUi:    'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --fontDisplay: 'Instrument Serif', Georgia, serif;
  --fontMono:  'Geist Mono', 'SF Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--fontUi);
  color: var(--fg);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(0,0,0,0.018) 1px, transparent 1px);
  background-size: 3px 3px;
}
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ───────── shared type ───────── */
.eyebrow {
  font-family: var(--fontMono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fgMuted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow.accent { color: var(--accent); }
.eyebrow .glyph { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--fontDisplay); font-weight: 400; letter-spacing: -0.02em; color: var(--primary); margin: 0; }
h1 { font-size: clamp(48px, 6.4vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.0vw, 54px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.25; }
em { font-style: italic; color: var(--accent); }
.em-ink { font-style: italic; color: var(--primary); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-tight { max-width: 920px; margin: 0 auto; padding: 0 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 4px;
  font-family: var(--fontUi); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; border: none; text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--primaryText); }
.btn-primary:hover { background: var(--primaryDeep); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--borderStrong); }
.btn-ghost:hover { background: var(--surface); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15px; }

/* ───────── nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,245,242,0.88);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; height: 56px; gap: 28px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fontDisplay); font-size: 20px; color: var(--primary);
  letter-spacing: -0.01em;
}
.brand-icon { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.nav-links { margin-left: auto; display: flex; gap: 28px; font-size: 14px; color: var(--fgMuted); }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  height: 34px; padding: 0 14px; border-radius: 4px;
  background: var(--primary); color: var(--primaryText);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; border: none; cursor: pointer;
  font-family: var(--fontUi);
}
.nav-cta:hover { background: var(--primaryDeep); }

/* ───────── hero ───────── */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: 56px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 .em { font-style: italic; color: var(--accent); }
.hero p.lede {
  font-family: var(--fontDisplay); font-size: 22px; line-height: 1.45;
  color: var(--fgMuted); margin: 24px 0 0; max-width: 540px;
}
.hero-ctas { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--fontMono); font-size: 11px; color: var(--fgMuted); letter-spacing: 0.04em;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dot-ok  { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.dot-ink { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

.hero-vis {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 56px -28px rgba(27,45,69,0.18);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.hero-vis img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.hero-vis-cap {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--fontMono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--primaryText); background: rgba(27,45,69,0.78);
  padding: 4px 8px; border-radius: 3px;
}

/* ───────── recognition (is this you) ───────── */
.recog { padding: 96px 0 80px; border-top: 1px solid var(--border); }
.recog-head { max-width: 740px; margin: 0 0 48px; }
.recog-head h2 em { font-style: italic; color: var(--accent); }
.recog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; overflow: hidden; }
.recog-col { padding: 32px 36px; }
.recog-col + .recog-col { border-left: 1px solid var(--border); }
.recog-col .who {
  font-family: var(--fontMono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px;
}
.recog-col h3 {
  font-size: 26px; margin: 0 0 22px; line-height: 1.2;
}
.recog-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.recog-list li {
  position: relative; padding-left: 22px;
  font-size: 15px; line-height: 1.5; color: var(--fg);
}
.recog-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border: 1.5px solid var(--accent);
  border-radius: 50%;
}
.recog-foot {
  margin-top: 32px; font-family: var(--fontDisplay); font-style: italic;
  font-size: 19px; color: var(--fgMuted);
}

/* ───────── heppner / hipaa trigger band (full-bleed navy) ───────── */
.heppner-band {
  background: var(--primary); color: var(--primaryText);
  padding: 120px 0; position: relative; overflow: hidden;
}
.heppner-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}
.heppner-grid {
  position: relative; display: grid;
  grid-template-columns: 1fr; gap: 32px;
  max-width: 980px; margin: 0 auto;
}
.heppner-band .eyebrow { color: rgba(245,240,232,0.72); }
.heppner-band .eyebrow .glyph { color: var(--accent); }
.heppner-quote {
  font-family: var(--fontDisplay); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--primaryText); margin: 0; max-width: 980px;
}
.heppner-quote .accent-mark { color: var(--accent); font-style: italic; }
.heppner-cite-row {
  display: flex; align-items: flex-start; gap: 28px; flex-wrap: wrap;
  border-top: 1px solid rgba(245,240,232,0.18);
  padding-top: 24px; margin-top: 8px;
}
.heppner-cite {
  font-family: var(--fontMono); font-size: 12px; letter-spacing: 0.04em;
  color: rgba(245,240,232,0.72); line-height: 1.6;
}
.heppner-cite b { color: var(--primaryText); font-weight: 500; }
.heppner-aside {
  margin-left: auto; max-width: 380px;
  font-family: var(--fontDisplay); font-style: italic;
  font-size: 18px; line-height: 1.5;
  color: rgba(245,240,232,0.86);
}

/* ───────── monday math ───────── */
.math { padding: 110px 0 90px; }
.math-head { max-width: 760px; margin: 0 0 48px; }
.math-head h2 em { font-style: italic; color: var(--accent); }
.math-head p {
  font-family: var(--fontDisplay); font-size: 19px; line-height: 1.5;
  color: var(--fgMuted); margin: 18px 0 0; max-width: 640px;
}
.math-table {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden;
}
.math-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.math-row:last-child { border-bottom: none; }
.math-row.head {
  background: var(--surface2);
  font-family: var(--fontMono); font-size: 16px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fgSubtle);
  padding: 16px 28px;
}
.math-row.head span:not(:first-child) { text-align: center; }
.math-task { font-family: var(--fontDisplay); font-size: 21px; color: var(--primary); letter-spacing: -0.01em; }
.math-task .sub { display: block; font-family: var(--fontUi); font-size: 12px; color: var(--fgSubtle); letter-spacing: 0.04em; margin-top: 2px; }
.math-old, .math-new, .math-save {
  font-family: var(--fontMono); font-size: 15px;
  letter-spacing: 0.02em; text-align: center;
}
.math-old { color: var(--fgMuted); text-decoration: line-through; text-decoration-color: rgba(107,101,96,0.45); }
.math-new { color: var(--ok); font-weight: 600; }
.math-save { color: var(--accent); }
.math-foot {
  margin-top: 18px; font-family: var(--fontMono); font-size: 11px;
  color: var(--fgSubtle); letter-spacing: 0.02em;
}

/* ───────── what you tell ───────── */
.tell { padding: 110px 0 80px; }
.tell-head { max-width: 760px; margin: 0 0 48px; }
.tell-head h2 em { font-style: italic; color: var(--accent); }
.tell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tell-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 28px; display: flex; flex-direction: column;
}
.tell-card .audience {
  font-family: var(--fontMono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.tell-card h3 {
  font-size: 22px; margin: 0 0 14px; line-height: 1.25;
}
.tell-card p {
  margin: 0; font-size: 14px; line-height: 1.6; color: var(--fgMuted);
}
.tell-card .quote {
  margin-top: 20px; padding: 14px 16px;
  background: var(--bg); border-radius: 6px;
  font-family: var(--fontDisplay); font-style: italic; font-size: 16px;
  color: var(--primary); line-height: 1.45;
  border-left: 2px solid var(--accent);
}

/* ───────── 18 hipaa safe harbor identifiers (healthcare only) ───────── */
.hipaa18 { padding: 90px 0; border-top: 1px solid var(--border); }
.hipaa18-head { text-align: center; margin-bottom: 36px; }
.hipaa18-head p {
  font-family: var(--fontDisplay); font-size: 18px; color: var(--fgMuted);
  margin: 14px auto 0; max-width: 680px; line-height: 1.5;
}
.hipaa18-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); overflow: hidden;
}
.hipaa18-cell {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--fontDisplay); font-size: 17px; color: var(--primary);
}
.hipaa18-cell:nth-child(3n) { border-right: none; }
.hipaa18-grid > .hipaa18-cell:nth-last-child(-n+3) { border-bottom: none; }
.hipaa18-cell .n {
  font-family: var(--fontMono); font-size: 10px; color: var(--accent);
  letter-spacing: 0.1em; display: block; margin-bottom: 2px;
}
.hipaa18-foot {
  font-family: var(--fontMono); font-size: 11px; color: var(--fgSubtle);
  text-align: center; margin: 20px 0 0; letter-spacing: 0.04em;
}

/* ───────── pricing reframed ───────── */
.pricing { padding: 110px 0; border-top: 1px solid var(--border); background: var(--surface); }
.pricing-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.pricing-head h2 em { font-style: italic; color: var(--accent); }
.pricing-head p { font-family: var(--fontDisplay); font-size: 19px; color: var(--fgMuted); margin: 16px 0 0; line-height: 1.5; max-width: 620px; margin-left: auto; margin-right: auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.pricing-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 32px; display: flex; flex-direction: column;
}
.pricing-card.featured { border-color: var(--accent); border-width: 1.5px; position: relative; }
.pricing-card.featured::before {
  content: 'Recommended for active practice'; position: absolute; top: -10px; left: 22px;
  font-family: var(--fontMono); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--primaryText); background: var(--accent);
  padding: 3px 10px; border-radius: 3px;
}
.pricing-tier { font-family: var(--fontMono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fgSubtle); margin-bottom: 12px; }
.pricing-amount { font-family: var(--fontDisplay); font-size: 56px; color: var(--primary); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.pricing-period { font-family: var(--fontMono); font-size: 11px; color: var(--fgMuted); margin-bottom: 22px; }
.pricing-frame {
  font-family: var(--fontDisplay); font-style: italic; font-size: 16px;
  color: var(--accent); margin: -10px 0 22px; line-height: 1.4;
}
.pricing-features { list-style: none; padding: 0; margin: 0 0 28px; }
.pricing-features li {
  font-size: 14px; color: var(--fg); padding: 6px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.pricing-features li::before { content: '\2713'; color: var(--ok); font-weight: 600; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.pricing-note {
  font-family: var(--fontMono); font-size: 10px; color: var(--fgSubtle);
  letter-spacing: 0.04em; margin: 12px 0 0; line-height: 1.5;
}

/* ───────── founder ───────── */
.founder { padding: 100px 0; }
.founder-card {
  background: var(--primary); color: var(--primaryText);
  border-radius: 12px; padding: 56px 64px;
  position: relative; overflow: hidden;
}
.founder-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,240,232,0.03) 1px, transparent 1px);
  background-size: 4px 4px; pointer-events: none;
}
.founder-card .eyebrow { color: rgba(245,240,232,0.72); margin-bottom: 16px; }
.founder-card .eyebrow .glyph { color: var(--accent); }
.founder-card blockquote {
  margin: 0; font-family: var(--fontDisplay); font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4;
  color: var(--primaryText); letter-spacing: -0.005em;
}
.founder-sig {
  margin-top: 22px; font-family: var(--fontMono); font-size: 11px;
  letter-spacing: 0.06em; color: rgba(245,240,232,0.7);
  display: flex; flex-direction: column; gap: 4px;
}
.founder-sig .name { color: var(--primaryText); font-weight: 500; font-size: 13px; }
.founder-sig a { color: var(--accent); text-decoration: none; }
.founder-sig a:hover { text-decoration: underline; }

/* ───────── faq ───────── */
.faq { padding: 110px 0; border-top: 1px solid var(--border); }
.faq-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.faq-head h2 em { font-style: italic; color: var(--accent); }
.faq-group { max-width: 820px; margin: 0 auto 40px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title {
  font-family: var(--fontMono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.faq-list { display: grid; gap: 4px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
}
.faq-list summary {
  cursor: pointer; padding: 18px 22px; list-style: none;
  font-family: var(--fontDisplay); font-size: 19px; color: var(--primary);
  letter-spacing: -0.01em; line-height: 1.35;
  display: flex; align-items: flex-start; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; margin-left: auto; font-size: 22px; line-height: 1;
  color: var(--fgSubtle); flex-shrink: 0;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { border-bottom: 1px solid var(--border); }
.faq-list details > p {
  margin: 0; padding: 18px 22px 22px;
  font-size: 15px; line-height: 1.65; color: var(--fgMuted);
}
.faq-list details > p code {
  font-family: var(--fontMono); font-size: 13px; background: var(--bg);
  padding: 1px 5px; border-radius: 3px; color: var(--fg);
}
.faq-list details > p a { color: var(--accent); }
.faq-list details > p a:hover { text-decoration: underline; }

/* ───────── download ───────── */
.download { padding: 110px 0 130px; text-align: center; background: var(--primary); color: var(--primaryText); position: relative; overflow: hidden; }
.download::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,240,232,0.025) 1px, transparent 1px);
  background-size: 4px 4px; pointer-events: none;
}
.download .eyebrow { color: rgba(245,240,232,0.72); }
.download .eyebrow .glyph { color: var(--accent); }
.download h2 { color: var(--primaryText); margin: 14px 0 40px; }
.download h2 em { font-style: italic; color: var(--accent); }
.download p.lede { color: rgba(245,240,232,0.78); font-size: 18px; max-width: 580px; margin: 20px auto 36px; font-family: var(--fontDisplay); }
.download .btn-primary { background: var(--accent); color: var(--primaryText); }
.download .btn-primary:hover { background: #b54734; }
.download-meta { font-family: var(--fontMono); font-size: 11px; color: rgba(245,240,232,0.6); letter-spacing: 0.04em; margin: 14px 0 0; }
.download-meta code { font-family: inherit; font-size: inherit; color: rgba(245,240,232,0.85); padding: 0; }

/* ───────── footer ───────── */
footer {
  padding: 40px 0; border-top: 1px solid var(--border);
  font-family: var(--fontMono); font-size: 11px; color: var(--fgMuted); letter-spacing: 0.06em;
}
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-left { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-by { color: var(--fgSubtle); }
.footer-by a, .footer-links a { color: inherit; }
footer a:hover { color: var(--fg); }

/* ───────── demo video ───────── */
.demo { padding: 96px 0 56px; border-top: 1px solid var(--border); }
.demo-head { max-width: 780px; margin: 0 auto 36px; text-align: center; }
.demo-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.demo-head p { font-family: var(--fontDisplay); font-size: 18px; line-height: 1.5; color: var(--fgMuted); margin: 14px auto 0; max-width: 600px; }
.demo-frame {
  margin: 0 auto; max-width: 980px; aspect-ratio: 16/9;
  background: var(--ink); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 64px -32px rgba(27,45,69,0.22);
}
.demo-frame video, .demo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  color: rgba(245,240,232,0.72); font-family: var(--fontMono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: repeating-linear-gradient(135deg, rgba(245,240,232,0.04) 0 14px, transparent 14px 28px), var(--ink);
}
.demo-placeholder .play {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(245,240,232,0.55);
  display: flex; align-items: center; justify-content: center;
}
.demo-placeholder .play::after {
  content: ''; width: 0; height: 0;
  border-left: 13px solid rgba(245,240,232,0.85);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.demo-cap { text-align: center; margin: 18px 0 0; font-family: var(--fontMono); font-size: 11px; color: var(--fgSubtle); letter-spacing: 0.06em; }

/* ───────── social proof quote ───────── */
.quote-block { padding: 72px 0; }
.is-hidden { display: none !important; }
.quote-card {
  max-width: 780px; margin: 0 auto;
  padding: 40px 44px 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  position: relative;
}
.quote-card::before {
  content: '\201C'; position: absolute; top: 6px; left: 26px;
  font-family: var(--fontDisplay); font-size: 96px; line-height: 1;
  color: var(--accent); opacity: 0.3;
}
.quote-text {
  font-family: var(--fontDisplay); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4;
  color: var(--primary); margin: 0; letter-spacing: -0.005em; text-wrap: pretty;
  position: relative;
}
.quote-meta {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.quote-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fontDisplay); font-size: 17px; color: var(--fgMuted);
}
.quote-attr { display: flex; flex-direction: column; }
.quote-name { font-family: var(--fontUi); font-size: 14px; color: var(--fg); font-weight: 500; }
.quote-role { font-family: var(--fontMono); font-size: 11px; color: var(--fgSubtle); letter-spacing: 0.04em; }
.quote-tag {
  margin-left: auto;
  font-family: var(--fontMono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--fgSubtle); background: var(--bg);
  padding: 4px 10px; border-radius: 3px; border: 1px solid var(--border);
}

/* ───────── inline mid-page CTA ───────── */
.midcta { padding: 56px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.midcta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.midcta-text {
  font-family: var(--fontDisplay); font-size: clamp(22px, 2.4vw, 30px);
  color: var(--primary); margin: 0; letter-spacing: -0.01em; line-height: 1.25; max-width: 640px;
}
.midcta-text em { color: var(--accent); font-style: italic; }

/* ───────── what happens next ───────── */
.next { padding: 60px 0 72px; border-top: 1px solid var(--border); background: var(--bg); }
.next-head {
  font-family: var(--fontDisplay); font-size: 22px; letter-spacing: -0.01em;
  color: var(--primary); text-align: center; margin: 0 0 28px;
}
.next-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; max-width: 1000px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); overflow: hidden;
}
.next-step {
  padding: 22px 22px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.next-step:last-child { border-right: none; }
.next-step .n {
  font-family: var(--fontMono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase;
}
.next-step .t {
  font-family: var(--fontDisplay); font-size: 19px; color: var(--primary);
  letter-spacing: -0.005em; line-height: 1.25;
}
.next-step .d {
  font-size: 13px; color: var(--fgMuted); line-height: 1.5;
}

/* ───────── responsive ───────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .recog-grid { grid-template-columns: 1fr; }
  .recog-col + .recog-col { border-left: none; border-top: 1px solid var(--border); }
  .math-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 22px; }
  .math-row.head { display: none; }
  .math-row .math-old::before { content: 'Old way · '; color: var(--fgSubtle); text-decoration: none; font-family: var(--fontMono); font-size: 11px; letter-spacing: 0.06em; }
  .math-row .math-new::before { content: 'RedactLocal · '; color: var(--fgSubtle); font-weight: 400; font-family: var(--fontMono); font-size: 11px; letter-spacing: 0.06em; }
  .math-row .math-old, .math-row .math-new, .math-row .math-save { text-align: left; }
  .next-row { grid-template-columns: 1fr 1fr; }
  .next-step:nth-child(2) { border-right: none; }
  .next-step:nth-child(1), .next-step:nth-child(2) { border-bottom: 1px solid var(--border); }
  .midcta-row { justify-content: center; text-align: center; }
  .quote-card { padding: 32px 28px 26px; }
  .tell-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .founder-card { padding: 40px 36px; }
  .nav-links { display: none; }
  .heppner-aside { margin-left: 0; }
  .hipaa18-grid { grid-template-columns: repeat(2, 1fr); }
  .hipaa18-cell:nth-child(3n) { border-right: 1px solid var(--border); }
  .hipaa18-cell:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .next-row { grid-template-columns: 1fr; }
  .next-step { border-right: none; border-bottom: 1px solid var(--border); }
  .next-step:last-child { border-bottom: none; }
  .demo { padding: 64px 0 40px; }
  .hipaa18-grid { grid-template-columns: 1fr; }
  .hipaa18-cell { border-right: none; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .heppner-band { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0ms !important; transition-duration: 0ms !important; }
}

/* ───────── prose subpages (privacy / terms / changelog) ───────── */
.prose { padding: 60px 0 80px; }
.prose .wrap { max-width: 760px; }
.prose h1 {
  font-size: clamp(36px, 4vw, 52px); line-height: 1.08;
  margin: 0 0 8px;
}
.prose h2 {
  font-size: 24px; margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-family: var(--fontUi); font-weight: 600;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fgMuted); margin: 24px 0 8px;
}
.prose p { margin: 0 0 14px; line-height: 1.65; color: var(--fg); }
.prose .updated {
  font-family: var(--fontMono); font-size: 11px; color: var(--fgSubtle);
  letter-spacing: 0.04em; margin-bottom: 28px;
}
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 4px 0; line-height: 1.55; }
.prose strong { font-weight: 600; color: var(--fg); }
.prose em { font-style: italic; color: inherit; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.nav-back {
  margin-left: auto; font-family: var(--fontUi); font-size: 13px;
  color: var(--fgMuted); text-decoration: none;
}
.nav-back:hover { color: var(--fg); }

.changelog .release {
  border-top: 1px solid var(--border); padding: 28px 0 8px;
}
.changelog .release:first-of-type { border-top: none; padding-top: 8px; }
.changelog .release header {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px;
}
.changelog .release h2 { margin: 0; font-size: 28px; }
.changelog .release .date {
  font-family: var(--fontMono); font-size: 11px;
  color: var(--fgSubtle); letter-spacing: 0.04em;
}
.changelog-foot {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--fontMono); font-size: 12px; color: var(--fgSubtle);
}
@media (max-width: 640px) {
  .changelog .release header { flex-direction: column; gap: 4px; }
}
