/* ═══════════════════════════════════════════════════════════════
   Votrix — inner pages
   These pages keep their Tailwind layout; this sheet carries them into
   the parchment + forest system. Every rule is prefixed with `body` so it
   outranks the utilities the Tailwind CDN injects at runtime.
   ═══════════════════════════════════════════════════════════════ */

body { color: var(--ink); font-family: var(--sans); }

/* ─── Type ─── */
body .serif {
  font-family: var(--serif); font-style: normal; font-weight: 400 !important;
  letter-spacing: -.022em; color: var(--ink);
}
body h1.serif { letter-spacing: -.03em; line-height: 1.04 !important; }
body .serif em, body .serif i { font-style: italic; color: var(--green); }
body .font-bold:not(.serif), body .font-semibold { font-weight: 500; }

body .text-gray-900, body .text-\[\#1a1a1a\], body .text-\[\#111827\] { color: var(--ink); }
body .text-gray-800, body .text-gray-700 { color: var(--ink-2); }
body .text-gray-600, body .text-gray-500 { color: var(--muted); }
body .text-gray-400, body .text-gray-300 { color: var(--faint); }
body .text-\[\#2d5c44\] { color: var(--green); }

/* eyebrows: "text-xs font-semibold uppercase tracking-widest" → mono label */
body .uppercase.tracking-widest, body .uppercase.tracking-wider {
  font-family: var(--mono); font-weight: 400; letter-spacing: .08em; font-size: 12px;
}
body p.uppercase.tracking-widest { display: inline-flex; align-items: center; gap: 8px; }
body p.uppercase.tracking-widest::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--green); }

/* ─── Surfaces ─── */
body section.bg-white, body div.bg-white.min-h-screen { background: transparent; }
body .bg-white { background-color: var(--card); }
body .bg-\[\#f0ece6\], body .bg-\[\#e9e4dd\], body .bg-\[\#faf8f4\], body .bg-\[\#f5f1eb\] { background-color: var(--card); }
body .bg-\[\#eef6f1\] { background-color: var(--green-soft); }
body .bg-\[\#d2eadb\] { background-color: var(--green-soft); }
body .border-\[\#e4dfd8\], body .border-gray-100, body .border-gray-200 { border-color: var(--line); }
body .rounded-2xl { border-radius: var(--radius); }
body .rounded-3xl { border-radius: 26px; }
body .shadow-sm, body .shadow-md, body .shadow-lg, body .shadow-xl { box-shadow: 0 1px 0 rgba(27,38,32,.02); }
body img.shadow-lg, body img.shadow-xl { box-shadow: 0 30px 60px -30px rgba(27,38,32,.4); }

/* sections separated by hairlines instead of colour bands */
body section.border-t { border-color: var(--line); }

/* cards lift gently */
body .card { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
body .card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(27,38,32,.28); border-color: var(--line-2); }

/* avatars */
body .avatar-ring { border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(27,38,32,.45); }

/* ─── Buttons (Tailwind pills) ─── */
body a.rounded-full.bg-\[\#2d5c44\], body button.rounded-full.bg-\[\#2d5c44\] {
  background: var(--green); font-weight: 500; letter-spacing: -.005em;
  transition: background .2s, box-shadow .2s, transform .2s var(--ease);
}
body a.rounded-full.bg-\[\#2d5c44\]:hover { background: #234a36; box-shadow: 0 10px 24px -10px rgba(45,92,68,.6); }
body a.rounded-full.bg-white, body a.rounded-full.border { font-weight: 500; background: transparent; border-color: var(--line-2); color: var(--ink); }
body a.rounded-full.bg-white:hover, body a.rounded-full.border:hover { background: var(--card); border-color: var(--ink); }

/* ─── Badges ─── */
body .badge-green, body span.bg-\[\#eef6f1\] {
  font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--green-soft); border-color: transparent; color: var(--green);
}

/* ─── Reveal (legacy class) ─── */
body .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
body .reveal.visible { opacity: 1; transform: none; }

/* ─── First section on every page: forest light ─── */
body .page-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: 150px !important; }
body .page-hero::before {
  content: ''; position: absolute; inset: -30% -10% 0 30%; z-index: -1;
  background: repeating-conic-gradient(from 200deg at 92% 0%, rgba(255,255,255,0) 0deg, rgba(255,255,255,.6) 2.2deg, rgba(255,255,255,0) 5deg, rgba(255,255,255,0) 9deg);
  -webkit-mask: radial-gradient(ellipse 70% 80% at 88% 0%, #000 10%, transparent 70%);
          mask: radial-gradient(ellipse 70% 80% at 88% 0%, #000 10%, transparent 70%);
}
body .page-hero::after {   /* forest glow, faded inside the hero so it never shows an edge */
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 45% 80% at 88% 0%, rgba(45,92,68,.2), rgba(45,92,68,.05) 55%, transparent 75%);
}
@keyframes pg-rays { from { opacity: .55; transform: rotate(-1.5deg); } to { opacity: 1; transform: rotate(1.5deg); } }

/* ─── CTA sections become a forest panel ─── */
body section.page-cta { background: transparent; border: 0; padding-left: 20px; padding-right: 20px; }
body section.page-cta > div {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1200px; border-radius: 28px; padding: 96px 32px;
  background: radial-gradient(ellipse 70% 90% at 50% 0%, #2f5e46, #0f2119 70%);
  color: var(--paper);
}
body section.page-cta > div::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: repeating-conic-gradient(from 180deg at 50% -10%, rgba(255,255,255,0) 0deg, rgba(242,237,228,.07) 2.5deg, rgba(255,255,255,0) 6deg);
}
body section.page-cta .serif { color: var(--paper); }
body section.page-cta p, body section.page-cta .text-gray-500, body section.page-cta .text-gray-400 { color: rgba(242,237,228,.7); }
body section.page-cta a.rounded-full.bg-\[\#2d5c44\] { background: var(--paper); color: var(--ink); }
body section.page-cta a.rounded-full.bg-\[\#2d5c44\]:hover { background: #fff; box-shadow: none; }
body section.page-cta a.rounded-full.bg-white, body section.page-cta a.rounded-full.border { color: var(--paper); border-color: rgba(242,237,228,.25); background: transparent; }
body section.page-cta a.rounded-full.bg-white:hover { border-color: var(--paper); background: rgba(255,255,255,.06); }
body section.page-cta a.underline, body section.page-cta a:not(.rounded-full) { color: var(--mint); }
body section.page-cta svg { color: currentColor; }

/* ─── FAQ (legacy markup) ─── */
body .faq-item { border-color: var(--line); }
body .faq-btn span:first-child { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
body .faq-icon { border-color: var(--line-2); color: var(--ink); }

/* ─── Blog prose ─── */
body .prose-v { font-size: 17px; }
body .prose-v h2 { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 34px; letter-spacing: -.02em; color: var(--ink); margin: 3.2rem 0 1rem; line-height: 1.15; }
body .prose-v h3 { font-family: var(--sans); font-weight: 500; font-size: 19px; letter-spacing: -.01em; color: var(--ink); margin: 2.2rem 0 .6rem; }
body .prose-v p, body .prose-v ul, body .prose-v ol { color: var(--ink-2); font-size: 17px; line-height: 1.78; }
body .prose-v strong { color: var(--ink); font-weight: 600; }
body .prose-v a { color: var(--green); text-decoration-color: rgba(45,92,68,.35); }
body .prose-v ul li::marker { color: var(--green); }
body .prose-v ol li::marker { color: var(--green); font-family: var(--mono); font-size: .85em; }
body .callout { background: var(--green-soft); border-left: 0; border-radius: 16px; padding: 20px 24px; position: relative; }
body .callout::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--green); }
body .callout p { color: #1f4331; font-size: 16px; }
body .tpl { background: var(--card); border-color: var(--line); border-radius: 14px; font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
body table.data { background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: 14px; }
body table.data th { background: var(--night); color: var(--paper); font-weight: 500; }
body table.data td { border-color: var(--line); color: var(--ink-2); }
body table.data tr:nth-child(even) td { background: rgba(242,237,228,.5); }

/* blog covers */
body article img, body .rounded-2xl > img, body a img.object-cover { border-radius: 16px; }

/* ─── Legal pages ─── */
body .legal-page { padding-top: 150px !important; }
body .legal h2, body main h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }

/* Tailwind's green bullets → diamond ticks */
body span.w-1\.5.h-1\.5.rounded-full.bg-\[\#2d5c44\] { border-radius: 1px; transform: rotate(45deg); }

/* round icon bubbles in step rows */
body .w-14.h-14.rounded-full.bg-\[\#2d5c44\], body .w-16.h-16.rounded-full.bg-\[\#2d5c44\] {
  border-radius: 16px; background: var(--night); box-shadow: 0 16px 30px -16px rgba(15,33,25,.6);
}
body section.page-cta > div > * { max-width: 680px; margin-left: auto; margin-right: auto; }

/* blog cards: serif titles */
body a.card h2, body a.card h3, body .card h2.font-semibold, body .card h3.font-semibold {
  font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; letter-spacing: -.015em;
}

/* ─── Buttons inside the dark CTA panel ───
   Legacy dark-green Tailwind buttons would vanish on the forest panel;
   mirror the homepage's light primary + light-outline secondary. */
body section.page-cta a.rounded-full.bg-\[\#2d5c44\] {
  background: var(--paper); color: var(--ink);
  transition: background .2s, box-shadow .2s;
}
body section.page-cta a.rounded-full.bg-\[\#2d5c44\]:hover { background: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
body section.page-cta a.rounded-full.bg-white, body section.page-cta a.rounded-full.border {
  background: transparent; border-color: rgba(242,237,228,.3); color: var(--paper);
}
body section.page-cta a.rounded-full.bg-white:hover, body section.page-cta a.rounded-full.border:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ─── Wide comparison tables ───
   4-column tables overflow narrow phones; let them scroll inside
   their own box instead of pushing the page wider than the screen. */
body table.data { display: block; overflow-x: auto; }

/* ─── Buttons inside article prose ───
   .prose-v colors every link green — including the green CTA button,
   which made its own label invisible. Buttons keep white text. */
body .prose-v a.rounded-full.bg-\[\#2d5c44\] {
  color: var(--paper); text-decoration: none;
  transition: background .2s;
}
body .prose-v a.rounded-full.bg-\[\#2d5c44\]:hover { background: #234a36; color: var(--paper); }
