/* ==========================================================================
   Ledgerline — single stylesheet
   Plain CSS. No framework, no build step, no preprocessor.
   Palette: warm ledger paper, near-black ink, one confident green accent.
   ========================================================================== */

/* ------------------------------- 1. Tokens ------------------------------- */
:root {
  color-scheme: light;
  --ink:         #12161b;
  --ink-2:       #2c333c;
  --muted:       #636c78;

  --paper:       #f6f3ec;
  --paper-2:     #efeade;
  --surface:     #ffffff;
  --surface-2:   #fbf9f5;

  --line:        rgba(18, 22, 27, 0.10);
  --line-soft:   rgba(18, 22, 27, 0.06);

  --accent:      #0e6b4f;
  --accent-deep: #0a5340;
  --accent-wash: #e2efe8;
  --amber:       #8a5a12;
  --amber-wash:  #f7ebd6;

  --dark:        #0c1a15;
  --dark-ink:    #e9f1ec;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia,
                  "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 9px;
  --radius:    14px;
  --radius-lg: 16px;

  --shadow-card:  0 1px 2px rgba(18, 22, 27, 0.04);
  --shadow-lift:  0 26px 50px -34px rgba(18, 22, 27, 0.42),
                  0 2px 6px rgba(18, 22, 27, 0.05);
  --shadow-accent: 0 30px 60px -40px rgba(14, 107, 79, 0.70);

  --gutter: clamp(1.25rem, 4vw, 1.75rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
}

/* -------------------------------- 2. Base -------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  text-wrap: balance;
  font-weight: 650;
  letter-spacing: -0.008em;
}

p { text-wrap: pretty; }

h1, h2 { font-family: var(--font-display); font-weight: 600; }

a { color: inherit; }

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

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

::selection { background: rgba(14, 107, 79, 0.18); }

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

.cta :focus-visible,
.site-footer :focus-visible { outline-color: #7fd0a8; }

section[id], :target { scroll-margin-top: 92px; }

/* ------------------------------ 3. Layout -------------------------------- */
.wrap {
  width: min(1160px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.wrap--narrow { width: min(800px, calc(100% - 2 * var(--gutter))); }

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--paper-2); }

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  letter-spacing: -0.018em;
  margin: 0.85rem 0 0;
}

.section__lede {
  margin: 1rem 0 0;
  font-size: 1.02rem;
  color: var(--ink-2);
  max-width: 46ch;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------------------------- 4. Type helpers ---------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--onDark { color: #7fd0a8; }

.lede {
  margin: 1.25rem 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.13rem);
  color: var(--ink-2);
  max-width: 36ch;
}

.micro {
  margin: 1.1rem 0 0;
  font-size: 0.83rem;
  color: var(--muted);
}
.micro--onDark { color: rgba(233, 241, 236, 0.6); }

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex: none;
}
.dot--live { background: #2fa36f; position: relative; }
.dot--live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2fa36f;
  animation: ledger-pulse 2.4s ease-out infinite;
}
@keyframes ledger-pulse {
  0%   { transform: scale(1);   opacity: 0.65; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ------------------------------ 5. Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.82rem 1.35rem;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--sm { padding: 0.6rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
              0 10px 22px -14px rgba(14, 107, 79, 0.9);
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-1px); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.btn--ghost:hover { border-color: rgba(18, 22, 27, 0.24); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.link-quiet {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}
.link-quiet:hover { color: var(--ink); }

/* ------------------------------- 6. Header ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.84);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--accent);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.012em;
}
.brand__mark { display: inline-flex; }
.brand__word { color: var(--ink); }

.site-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.9rem;
}
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 0.5rem;
}

/* -------------------------------- 7. Hero -------------------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.75rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 80% 4%, rgba(14, 107, 79, 0.10), transparent 70%),
    radial-gradient(680px 420px at 4% 96%, rgba(169, 112, 26, 0.09), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(18, 22, 27, 0.05) 0 1px,
    transparent 1px 30px
  );
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 76%);
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  margin: 1rem 0 0;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.026em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* --------------------------- 8. Hero demo cards --------------------------- */
.hero__visual {
  display: flex;
  flex-direction: column;
  position: relative;
}

.demo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.1rem;
  box-shadow: var(--shadow-lift);
}
.demo-card--raw { max-width: 30rem; }
.demo-card--clean {
  max-width: 27rem;
  margin: -1.9rem 0 0 auto;
  position: relative;
  z-index: 2;
  border-top: 3px solid var(--accent);
}

.demo-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.demo-card__label {
  margin: 0;
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.005em;
}
.demo-card__sub {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.demo-card__foot {
  margin: 0.9rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--line);
  font-size: 0.73rem;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  white-space: nowrap;
}
.chip--live, .chip--ok {
  background: var(--accent-wash);
  color: var(--accent-deep);
}

/* Bank feed rows */
.feed {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
.feed__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "date desc amt"
    ".    tag  tag";
  gap: 0.2rem 0.7rem;
  align-items: baseline;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.feed__row:last-child { border-bottom: 0; padding-bottom: 0.15rem; }

.feed__date {
  grid-area: date;
  font-size: 0.73rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.feed__desc {
  grid-area: desc;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.feed__amt {
  grid-area: amt;
  font-size: 0.85rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.feed__tag {
  grid-area: tag;
  justify-self: start;
  font-size: 0.69rem;
  font-weight: 600;
  padding: 0.12rem 0.42rem;
  border-radius: 5px;
  letter-spacing: 0.01em;
}
.feed__tag--ok { background: var(--accent-wash); color: var(--accent-deep); }
.feed__tag--ask { background: var(--amber-wash); color: var(--amber); }
.feed__row--open .feed__desc { color: var(--muted); }

/* Invoice card */
.invoice {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.invoice__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px dotted rgba(18, 22, 27, 0.18);
}
.invoice__line span:last-child {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.invoice__totals { margin: 0.8rem 0 0; }
.invoice__totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.invoice__totals dt, .invoice__totals dd { margin: 0; }
.invoice__totals dd { font-variant-numeric: tabular-nums; }
.invoice__total {
  margin-top: 0.45rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--ink);
}
.invoice__total dt { font-weight: 650; color: var(--ink); font-size: 0.88rem; }
.invoice__total dd {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

/* ----------------------------- 9. Trust strip ----------------------------- */
.trust {
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}
.trust__label {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust__list li {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
}

/* -------------------------------- 10. Cards ------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
}
.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.card--edge { border-top: 3px solid var(--accent); }

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent-deep);
}

/* ------------------------------- 11. Steps -------------------------------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(14, 107, 79, 0.32);
  margin-bottom: 0.75rem;
}
.step h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.93rem; color: var(--ink-2); }
.step__note {
  margin: 0.9rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  font-size: 0.79rem;
  color: var(--muted);
}

/* ------------------------------- 12. Stats -------------------------------- */
.stats {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.stat + .stat {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}
.stat__num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--accent-deep);
}
.stat__label {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 24em;
}

/* ---------------------------- 13. Deep dive ------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.split__copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.018em;
  margin: 0.85rem 0 0;
}

.checks {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.checks li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.95rem;
  height: 0.5rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checks strong { color: var(--ink); font-weight: 650; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow-lift);
}
.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.75rem;
}
.panel__title { margin: 0; font-size: 0.85rem; font-weight: 650; }
.panel__count { margin: 0; font-size: 0.75rem; color: var(--muted); }

.panel__item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.9rem 0.95rem;
  margin-bottom: 0.6rem;
}
.panel__item:last-child { margin-bottom: 0; }
.panel__item--quiet { background: transparent; }

.panel__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.panel__desc {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.panel__amt {
  flex: none;
  font-size: 0.85rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.panel__reason {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--muted);
}
.panel__reason strong { color: var(--ink-2); font-weight: 650; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.pill {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.32rem 0.62rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.pill--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pill--quiet { background: transparent; border-style: dashed; }

/* ----------------------------- 14. Comparison ----------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.compare {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare th, .compare td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--muted); }
.compare__hl {
  width: 50%;
  color: var(--ink);
  font-weight: 500;
  background: rgba(14, 107, 79, 0.055);
}
.compare thead .compare__hl {
  color: var(--accent-deep);
  background: rgba(14, 107, 79, 0.10);
}

/* ---------------------------- 15. Testimonials ---------------------------- */
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.quote figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.quote__name { font-size: 0.88rem; font-weight: 650; }
.quote__role { font-size: 0.78rem; color: var(--muted); }

/* ------------------------------- 16. Pricing ------------------------------ */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.45rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.plan--featured {
  border-color: rgba(14, 107, 79, 0.45);
  box-shadow: var(--shadow-accent);
}
.plan__flag {
  position: absolute;
  top: -0.72rem;
  left: 1.4rem;
  margin: 0;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan__name { margin: 0; font-size: 1.05rem; font-weight: 650; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.75rem 0 0.35rem;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.024em;
}
.plan__per { font-size: 0.85rem; color: var(--muted); }
.plan__blurb {
  margin: 0 0 1.3rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.plan__list {
  list-style: none;
  margin: 0 0 1.7rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.plan__list li { position: relative; padding-left: 1.5rem; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.85rem;
  height: 0.46rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.pricing__foot {
  margin: 2rem auto 0;
  max-width: 54ch;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* --------------------------------- 17. FAQ -------------------------------- */
.faq { display: flex; flex-direction: column; gap: 0.6rem; }

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.faq__item[open] { border-color: rgba(14, 107, 79, 0.35); }

.faq__item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3.2rem 1.05rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.35rem;
  top: 50%;
  width: 0.68rem;
  height: 0.68rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-72%) rotate(45deg);
  transition: transform 0.22s ease;
}
.faq__item[open] summary::after {
  transform: translateY(-28%) rotate(-135deg);
}
.faq__body {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.faq__body p { margin: 0; max-width: 62ch; }

/* ------------------------------- 18. Dark CTA ----------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) 0;
  background: var(--dark);
  color: var(--dark-ink);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(72% 78% at 50% 40%, #000, transparent 76%);
  mask-image: radial-gradient(72% 78% at 50% 40%, #000, transparent 76%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.cta__inner h2 {
  margin: 1rem 0 0;
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: #fff;
}
.cta__lede {
  margin: 1.15rem auto 0;
  max-width: 52ch;
  font-size: 1.02rem;
  color: rgba(233, 241, 236, 0.76);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.cta .btn--primary {
  background: #16a06a;
  color: #04140d;
  box-shadow: 0 12px 26px -16px rgba(22, 160, 106, 0.95);
}
.cta .btn--primary:hover { background: #1cb077; }

/* -------------------------------- 19. Footer ------------------------------ */
.site-footer {
  background: var(--dark);
  color: rgba(233, 241, 236, 0.72);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.brand--footer .brand__word { color: #fff; }
.brand--footer { color: #7fd0a8; }
.footer__line {
  margin: 1.1rem 0 0;
  font-size: 0.88rem;
  max-width: 32ch;
  color: rgba(233, 241, 236, 0.66);
}
.footer__col h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(233, 241, 236, 0.48);
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__col a {
  font-size: 0.88rem;
  color: rgba(233, 241, 236, 0.78);
  text-decoration: none;
}
.footer__col a:hover { color: #fff; text-decoration: underline; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.78rem;
}
.footer__legal p {
  margin: 0;
  max-width: 46ch;
  color: rgba(233, 241, 236, 0.55);
}

/* ------------------------------ 20. Responsive ---------------------------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 36rem; }
  .lede { max-width: 46ch; }

  .split { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: 1fr; gap: 0; }
  .stat + .stat {
    padding-left: 0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stat__label { max-width: 40ch; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

@media (max-width: 780px) {
  .site-nav { display: none; }
  .site-header__actions { margin-left: auto; }

  .grid--3 { grid-template-columns: 1fr; }
  .demo-card--clean { margin-top: -1.1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
  .plan__flag { left: 1.15rem; }
}

@media (max-width: 460px) {
  .link-quiet { display: none; }
  .hero__actions .btn { width: 100%; }
  .cta__actions .btn { width: 100%; }
  .feed__desc { font-size: 0.72rem; }
}

/* --------------------------- 21. Reduced motion --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
