/*
  TENDRIFY — "CIVIC LEDGER" static stylesheet
  Standalone CSS (no framework). Warm paper + warm ink + Tender Green.
  Fonts: Fraunces (serif display), Geist (grotesque body), JetBrains Mono (labels).
*/

/* ---------- Tokens ---------- */
:root {
  --paper: #f7f5ef;
  --ink: #1a1d1a;
  --tender: #0e5c4a;
  --tender-bright: #16876b;
  --clay: #c2703d;
  --card: #fffdf8;
  --muted: #5a5d56;
  --border: rgba(26, 29, 26, 0.14);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Courier New", monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --maxw: 1240px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
::selection {
  background: var(--tender);
  color: var(--paper);
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}
@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--maxw));
  }
}
@media (min-width: 640px) {
  .container {
    width: min(100% - 4rem, var(--maxw));
  }
}
@media (min-width: 1024px) {
  .container {
    width: min(100% - 5rem, var(--maxw));
  }
}

/* ---------- Type helpers ---------- */
.serif {
  font-family: var(--font-serif);
}
.mono {
  font-family: var(--font-mono);
}
.ref-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tender);
  font-weight: 600;
}
.section-label .bar {
  height: 1px;
  width: 2rem;
  background: rgba(14, 92, 74, 0.4);
}
.section-label .txt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.hairline {
  height: 1px;
  background: var(--border);
  border: 0;
}

/* Ledger grid background */
.bg-ledger {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(26, 29, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 29, 26, 0.035) 1px, transparent 1px);
  background-size:
    100% 2.5rem,
    4rem 100%;
  overflow: hidden;
}

/* ---------- Buttons / CTAs ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}
.btn svg {
  width: 1rem;
  height: 1rem;
}
.btn:active {
  transform: scale(0.97);
}
.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 0.95rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}
.btn-primary {
  background: var(--tender);
  color: var(--paper);
  box-shadow:
    0 1px 0 rgba(26, 29, 26, 0.2),
    0 8px 24px -12px rgba(14, 92, 74, 0.6);
}
.btn-primary:hover {
  background: var(--tender-bright);
}
.btn-outline {
  border-color: rgba(26, 29, 26, 0.25);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--tender);
  color: var(--tender);
}
.btn .arrow {
  transition: transform 0.2s var(--ease-out);
}
.btn:hover .arrow {
  transform: translate(2px, -2px);
}
.link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tender);
  text-decoration: underline;
  text-decoration-color: rgba(14, 92, 74, 0.3);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s var(--ease-out);
}
.link-secondary:hover {
  text-decoration-color: var(--tender);
}
.link-secondary svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all 0.3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(247, 245, 239, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(26, 29, 26, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.wordmark img {
  height: 2rem;
  width: 2rem;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out);
}
.wordmark:hover img {
  transform: rotate(-6deg);
}
.wordmark .name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.wordmark .stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wordmark .verified {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.wordmark .verified .vbar {
  height: 1px;
  flex: 1;
  background: rgba(26, 29, 26, 0.25);
  transition: background 0.3s var(--ease-out);
}
.wordmark:hover .verified .vbar {
  background: var(--tender);
}
.wordmark .verified .vtxt {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--tender-bright);
}
.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease-out);
}
.nav a:hover {
  color: var(--ink);
}
.nav a .nnum {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(14, 92, 74, 0.5);
  transition: color 0.2s;
}
.nav a:hover .nnum {
  color: var(--tender);
}
.header-cta {
  display: none;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}
@media (min-width: 1024px) {
  .nav,
  .header-cta {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile menu */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  background: var(--paper);
  border-top: 1px solid transparent;
  transition: max-height 0.3s var(--ease-out);
}
.mobile-menu.open {
  max-height: 460px;
  border-top-color: rgba(26, 29, 26, 0.1);
}
.mobile-menu .container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.mobile-menu a.mlink {
  border-bottom: 1px solid rgba(26, 29, 26, 0.08);
  padding: 0.75rem 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--ink);
}
.mobile-menu .mcta {
  padding-top: 1rem;
}
.mobile-menu .btn {
  width: 100%;
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 7rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.03em;
  margin-top: 1.75rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero .mark-without {
  position: relative;
  display: inline-block;
}
.hero .mark-without span {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--tender);
}
.hero .mark-without::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.375rem;
  height: 0.75rem;
  background: rgba(194, 112, 61, 0.25);
  z-index: 0;
}
.hero .sub {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}
.hero-note {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-note svg {
  width: 1rem;
  height: 1rem;
  color: var(--tender);
}
.hero-stats {
  margin-top: 3rem;
  max-width: 32rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-stats .cell {
  padding: 1rem;
  border-left: 1px solid rgba(26, 29, 26, 0.1);
}
.hero-stats .cell:first-child {
  padding-left: 0;
  border-left: 0;
}
.hero-stats .k {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}
.hero-stats .v {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.hero-visual {
  position: relative;
}
.hero-visual .frame {
  position: relative;
  border: 1px solid rgba(26, 29, 26, 0.15);
  background: var(--card);
  box-shadow: 0 30px 60px -30px rgba(26, 29, 26, 0.35);
  overflow: hidden;
}
.hero-visual .ghost {
  display: none;
  pointer-events: none;
}
.hero-visual .stamp {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  height: 4rem;
  width: 4rem;
  opacity: 0.9;
  mix-blend-mode: multiply;
}
.hero-visual .caption {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(26, 29, 26, 0.15);
  padding-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.hero-visual .caption .ref {
  color: var(--tender);
}
@media (min-width: 1024px) {
  .hero {
    padding-top: 9rem;
  }
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
    padding: 4rem 0 7rem;
    align-items: start;
  }
  .hero-text {
    padding-right: 1.5rem;
  }
  .hero-cta {
    flex-direction: row;
    align-items: center;
  }
  .hero-visual .ghost {
    display: block;
    position: absolute;
    left: -0.75rem;
    top: -0.75rem;
    height: 100%;
    width: 100%;
    border: 1px solid rgba(26, 29, 26, 0.15);
  }
}

/* ---------- Generic section ---------- */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
}
.section.alt {
  background: rgba(236, 232, 222, 0.4);
}
.section h2.head {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* Problem */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.text-tender {
  color: var(--tender);
}
.italic {
  font-style: italic;
}

/* Services */
.section-head-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.cards {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid rgba(26, 29, 26, 0.15);
  background: rgba(26, 29, 26, 0.15);
}
@media (min-width: 768px) {
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  transition: background 0.3s var(--ease-out);
}
.card:hover {
  background: rgba(230, 239, 233, 0.5);
}
.card .tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(236, 232, 222, 0.5);
  padding: 0.875rem 2rem;
}
.card .tab .schedule {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tender);
}
.card .tab svg {
  width: 1rem;
  height: 1rem;
  color: rgba(26, 29, 26, 0.4);
}
.card:hover .tab svg {
  color: var(--tender);
}
.card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem;
}
.card .body h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.card .rule {
  margin-top: 1rem;
  height: 1px;
  width: 2.5rem;
  background: rgba(14, 92, 74, 0.5);
  transition: width 0.5s var(--ease-out);
}
.card:hover .rule {
  width: 5rem;
}
.card .body p {
  margin-top: 1.25rem;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
.card .scope {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(26, 29, 26, 0.4);
}
.card .scope .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--tender);
}
@media (min-width: 1024px) {
  .card .tab {
    padding: 0.875rem 2.5rem;
  }
  .card .body {
    padding: 2.5rem;
  }
}

/* Why (dark panel) */
.why-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.why-panel .gridover {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 245, 239, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 245, 239, 1) 1px, transparent 1px);
  background-size:
    100% 2.5rem,
    4rem 100%;
}
.why-panel .stamp {
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  height: 14rem;
  width: 14rem;
  opacity: 0.1;
  pointer-events: none;
}
.why-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem;
}
.why-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-top: 1.5rem;
  text-wrap: balance;
}
.why-inner .label .num {
  color: var(--tender-bright);
}
.why-inner .label .txt {
  color: rgba(247, 245, 239, 0.55);
}
.why-inner .desc {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(247, 245, 239, 0.7);
  text-wrap: pretty;
}
.why-inner .pull {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--tender-bright);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(247, 245, 239, 0.15);
  border-bottom: 1px solid rgba(247, 245, 239, 0.15);
}
.stats .stat {
  padding: 1.75rem 1.25rem;
  border-left: 1px solid rgba(247, 245, 239, 0.12);
}
.stats .stat:nth-child(odd) {
  border-left: 0;
}
.stats .stat .big {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.stats .stat .phrase {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.stats .stat .slabel {
  margin-top: 0.75rem;
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: rgba(247, 245, 239, 0.55);
}
.proof-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.proof-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.8);
}
.proof-list .tick {
  margin-top: 0.125rem;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  background: rgba(22, 135, 107, 0.2);
}
.proof-list .tick svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--tender-bright);
}
@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats .stat:nth-child(odd) {
    border-left: 1px solid rgba(247, 245, 239, 0.12);
  }
  .stats .stat:first-child {
    border-left: 0;
  }
}
@media (min-width: 1024px) {
  .why-inner {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    padding: 3.5rem;
  }
}

/* Audience */
.aud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.aud-list {
  border-top: 1px solid var(--border);
}
.aud-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  transition: background 0.2s var(--ease-out);
}
.aud-list li:hover {
  background: var(--card);
}
.aud-list .anum {
  margin-top: 0.25rem;
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--tender);
}
.aud-list .acheck {
  margin-top: 0.125rem;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(14, 92, 74, 0.7);
}
.aud-list .atext {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(26, 29, 26, 0.9);
  text-wrap: pretty;
}
@media (min-width: 1024px) {
  .aud-grid {
    grid-template-columns: 4fr 8fr;
  }
}

/* Pricing */
.price-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1280px) {
  .price-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 29, 26, 0.15);
  background: var(--card);
  padding: 1.75rem;
  transition: border-color 0.3s var(--ease-out);
}
.plan:hover {
  border-color: rgba(26, 29, 26, 0.3);
}
.plan.featured {
  border-color: var(--tender);
  box-shadow: 0 30px 70px -35px rgba(14, 92, 74, 0.55);
}
.plan .badge {
  position: absolute;
  top: -0.75rem;
  left: 1.75rem;
  border-radius: 9999px;
  background: var(--tender);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper);
}
.plan .ptab {
  margin: -1.75rem -1.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 1.75rem;
}
.plan .ptab .tier {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tender);
}
.plan .ptab .kind {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(26, 29, 26, 0.35);
}
.plan h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}
.plan .price {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.plan .price .amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.plan .price .note {
  font-size: 0.875rem;
  color: var(--muted);
}
.plan .best {
  margin-top: 1rem;
  border-left: 2px solid rgba(14, 92, 74, 0.4);
  padding-left: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}
.plan .best b {
  color: rgba(26, 29, 26, 0.7);
  font-weight: 600;
}
.plan .pdiv {
  margin: 1.25rem 0;
}
.plan ul.feat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.plan ul.feat li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(26, 29, 26, 0.85);
}
.plan ul.feat svg {
  margin-top: 0.125rem;
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--tender);
}
.plan .foot {
  margin-top: 1rem;
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--muted);
}
.plan .plan-cta {
  margin-top: 1.5rem;
}
.plan .plan-cta .btn {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.8rem;
}
.disclaimer {
  margin: 2.5rem auto 0;
  max-width: 48rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Process (dark) */
.process {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}
.process .section-label .txt,
.process .section-label .num {
  color: rgba(247, 245, 239, 0.55);
}
.process .section-label .num {
  color: var(--tender-bright);
}
.process h2.head {
  color: var(--paper);
}
.process .sub {
  color: rgba(247, 245, 239, 0.6);
  max-width: 18rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid rgba(247, 245, 239, 0.15);
  background: rgba(247, 245, 239, 0.15);
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  padding: 2rem;
}
.step .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.step .snum {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(22, 135, 107, 0.3);
}
.step .stag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(247, 245, 239, 0.35);
}
.step .sdiv {
  margin-top: 1.25rem;
  height: 1px;
  width: 100%;
  background: rgba(247, 245, 239, 0.12);
}
.step h3 {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--paper);
}
.step p {
  margin-top: 1rem;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(247, 245, 239, 0.65);
  text-wrap: pretty;
}
.process-cta {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .process-cta {
    flex-direction: row;
    justify-content: flex-start;
  }
}
.process-cta .link-secondary {
  color: var(--tender-bright);
  text-decoration-color: rgba(22, 135, 107, 0.4);
}
@media (min-width: 1024px) {
  .step {
    padding: 2.5rem;
  }
}

/* No promise */
.nopromise {
  border-top: 1px solid var(--border);
  background: rgba(236, 232, 222, 0.4);
  padding: 3.5rem 0;
}
.nopromise .wrap {
  margin: 0 auto;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 2px solid rgba(14, 92, 74, 0.4);
  padding-left: 1.5rem;
}
.nopromise h2 {
  flex: none;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.nopromise p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .nopromise .wrap {
    flex-direction: row;
    gap: 2.5rem;
    padding-left: 2rem;
  }
  .nopromise h2 {
    width: 12rem;
  }
}
@media (min-width: 1024px) {
  .nopromise {
    padding: 4rem 0;
  }
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-q .qwrap {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.faq-q .qnum {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--tender);
}
.faq-q .chev {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--muted);
  transition:
    transform 0.3s var(--ease-out),
    color 0.2s;
}
.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
  color: var(--tender);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s var(--ease-out);
}
.faq-a .inner {
  padding: 0 0 1.5rem 2.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 4fr 8fr;
  }
}

/* Final CTA */
.final {
  background: var(--paper);
  padding: 0 0 5rem;
}
@media (min-width: 1024px) {
  .final {
    padding-bottom: 7rem;
  }
}
.final-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tender);
  background: var(--tender);
  color: var(--paper);
  padding: 4rem 1.75rem;
}
.final-panel .gridover {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 245, 239, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 245, 239, 1) 1px, transparent 1px);
  background-size:
    100% 2.5rem,
    4rem 100%;
}
.final-panel .stamp {
  position: absolute;
  bottom: -2.5rem;
  right: -2rem;
  height: 13rem;
  width: 13rem;
  opacity: 0.15;
  pointer-events: none;
  filter: brightness(0) invert(1);
}
.final-panel .inner {
  position: relative;
  max-width: 48rem;
}
.final-panel .ref-label {
  color: rgba(247, 245, 239, 0.6);
}
.final-panel h2 {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}
.final-panel p.body {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(247, 245, 239, 0.85);
  text-wrap: pretty;
}
.final-cta-row {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.final-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.final-panel .btn-paper {
  background: var(--paper);
  color: var(--tender);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.4);
}
.final-panel .btn-paper:hover {
  background: var(--card);
}
.final-panel .btn-ghost {
  border-color: rgba(247, 245, 239, 0.4);
  color: var(--paper);
  background: transparent;
}
.final-panel .btn-ghost:hover {
  border-color: var(--paper);
}
.final-panel .smallnote {
  font-size: 0.875rem;
  color: rgba(247, 245, 239, 0.7);
}
@media (min-width: 640px) {
  .final-cta-btns {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .final-panel {
    padding: 6rem 4rem;
  }
}

/* Footer */
.footer {
  border-top: 1px solid rgba(247, 245, 239, 0.1);
  background: var(--ink);
  color: var(--paper);
  padding: 3.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer .wordmark .name {
  color: var(--paper);
}
.footer .blurb {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(247, 245, 239, 0.6);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.45);
}
.footer ul.links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer ul.links a {
  font-size: 0.875rem;
  color: rgba(247, 245, 239, 0.7);
  transition: color 0.2s;
}
.footer ul.links a:hover {
  color: var(--paper);
}
.footer .contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(247, 245, 239, 0.7);
  transition: color 0.2s;
}
.footer .contact a:hover {
  color: var(--paper);
}
.footer .contact svg {
  width: 1rem;
  height: 1rem;
  color: var(--tender-bright);
}
.footer .contact li {
  margin-bottom: 0.75rem;
}
.footer .botline {
  margin-top: 3rem;
  height: 1px;
  background: rgba(247, 245, 239, 0.1);
}
.footer .meta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer .meta .m {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(247, 245, 239, 0.4);
}
.footer .entity {
  margin-top: 1rem;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.45);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 5fr 3fr 4fr;
  }
  .footer .meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Mobile sticky CTA bar */
.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  border-top: 1px solid var(--border);
  background: rgba(247, 245, 239, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s var(--ease-out);
}
.mobile-cta.show {
  transform: translateY(0);
  opacity: 1;
}
.mobile-cta a {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.4rem;
  background: var(--tender);
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--paper);
}
.mobile-cta a svg {
  width: 1rem;
  height: 1rem;
}
@media (min-width: 1024px) {
  .mobile-cta {
    display: none;
  }
}

/* Cookie banner placeholder (hidden until a script enables it) */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 60;
  max-width: 28rem;
  margin-left: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  box-shadow: 0 20px 50px -20px rgba(26, 29, 26, 0.4);
  display: none;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================ */
/* MOBILE RESPONSIVE OVERRIDES                                   */
/* ============================================================ */

/* Ensure all sections clip decorative overflow */
.hero,
.section,
.why-panel,
.final-panel,
.process,
.nopromise,
.footer {
  overflow: hidden;
}

/* Buttons: full-width on very small screens */
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .final-cta-btns .btn {
    width: 100%;
  }
  .process-cta {
    align-items: stretch;
  }
  .process-cta .btn {
    width: 100%;
    text-align: center;
  }
  .process-cta .link-secondary {
    justify-content: center;
  }
}

/* Hero stats: prevent overflow on narrow screens */
@media (max-width: 480px) {
  .hero-stats {
    max-width: 100%;
  }
  .hero-stats .cell {
    padding: 0.75rem 0.5rem;
  }
  .hero-stats .k {
    font-size: 1rem;
  }
  .hero-stats .v {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }
}

/* Pricing grid: stack on mobile */
@media (max-width: 639px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards: stack on mobile */
@media (max-width: 767px) {
  .cards.three {
    grid-template-columns: 1fr;
  }
}

/* Stats grid: 2 cols on mobile is fine, but reduce font if needed */
@media (max-width: 380px) {
  .stats .stat .big {
    font-size: 1.75rem;
  }
  .stats .stat .phrase {
    font-size: 1.1rem;
  }
  .stats .stat {
    padding: 1.25rem 0.75rem;
  }
}

/* Audience grid: single col on mobile (already 1fr default) */

/* Footer: ensure it doesn't overflow */
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ: ensure question text wraps */
.faq-q {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Section headings: ensure they wrap */
.section h2.head,
.why-inner h2,
.final-panel h2 {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Hero visual: contain on mobile */
@media (max-width: 480px) {
  .hero-visual .frame {
    max-height: 60vh;
  }
  .hero-visual .frame img {
    object-fit: cover;
    max-height: 60vh;
  }
}

/* Ref labels: prevent overflow from letter-spacing */
.ref-label,
.section-label .num,
.section-label .txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.section-label {
  overflow: hidden;
  max-width: 100%;
}

/* Mobile menu: ensure it doesn't overflow */
.mobile-menu .container {
  overflow: hidden;
}

/* Plan cards: prevent the negative margin tab from causing issues */
@media (max-width: 480px) {
  .plan {
    padding: 1.25rem;
  }
  .plan .ptab {
    margin: -1.25rem -1.25rem 1.25rem;
    padding: 0.75rem 1.25rem;
  }
  .plan .price .amount {
    font-size: 1.6rem;
  }
}

/* Final CTA section: use container for padding */
.final > .container {
  padding: 0;
}
@media (max-width: 480px) {
  .final-panel {
    padding: 2.5rem 1.25rem;
  }
}
