/* ===== Theme: Ink & Lime ===== */
:root {
  --ink: #0F1115;
  --ink-2: #1A1D23;
  --ink-3: #252932;
  --paper: #F5F3EE;
  --paper-2: #EAE7DF;
  --lime: #C6F432;
  --lime-dim: #A9D41F;
  --slate: #6B7280;
  --muted-dark: #9CA3AF;
  --line-dark: rgba(245, 243, 238, 0.10);
  --line-light: rgba(15, 17, 21, 0.12);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--card { background: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section--light .eyebrow { color: var(--ink); }
.section--light .eyebrow::before { background: var(--lime-dim); height: 4px; }

.h2 { font-size: clamp(34px, 5vw, 56px); margin: 16px 0 18px; max-width: 18ch; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted-dark); max-width: 62ch; }
.section--light .lead { color: #4B5058; }
.hl { background: var(--lime); color: var(--ink); padding: 0 .18em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lime { color: var(--lime); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 15px 24px; border-radius: 10px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #D4FA5A; }
.btn--ghost { border-color: var(--line-dark); color: var(--paper); }
.btn--ghost:hover { border-color: var(--lime); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn svg { width: 18px; height: 18px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo__mark { width: 32px; height: 32px; border-radius: 8px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 17px; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted-dark); letter-spacing: 0.04em; line-height: 1; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--muted-dark); transition: color .15s; }
.nav__links a:hover { color: var(--paper); }
.nav__cta { padding: 10px 18px; font-size: 15px; }
.nav__links a.btn--lime, .nav__links a.btn--lime:hover { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; color: var(--paper); padding: 8px; cursor: pointer; }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav__links li:last-child a { border: 0; margin-top: 14px; justify-content: center; display: flex; padding: 15px 18px; }
}

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(64px, 10vw, 120px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); margin: 22px 0 22px; }
.hero h1 .quiet { color: var(--lime); display: block; }
.hero__sub { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted-dark); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 18px; }
.hero__note { font-size: 14px; color: var(--slate); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,0.02); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* hero dashboard card */
.dash { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.dash__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted-dark); margin-bottom: 16px; }
.dash__live { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-weight: 500; }
.dash__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.dash__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.stat { background: var(--ink-3); border-radius: 12px; padding: 14px; }
.stat b { display: block; font-family: var(--font-head); font-size: 28px; line-height: 1.1; }
.stat span { font-size: 12px; color: var(--muted-dark); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed li { display: flex; gap: 12px; align-items: center; font-size: 14px; padding: 11px 12px; border-radius: 10px; background: var(--ink-3); }
.feed .dot { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(198,244,50,.12); color: var(--lime); font-size: 14px; }
.feed .dot.warn { background: rgba(255,178,62,.14); color: #FFB23E; }
.feed small { display: block; color: var(--muted-dark); font-size: 12px; }

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

/* ===== Problems ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 26px; }
.card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--lime); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: #4B5058; font-size: 15.5px; }
.callout { margin-top: 40px; padding: 26px 28px; border-radius: var(--radius); background: var(--ink); color: var(--paper); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.callout p { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; max-width: 34ch; line-height: 1.25; }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ===== Systems ===== */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.stage { border: 1px solid var(--line-dark); border-radius: 18px; padding: 28px; background: var(--ink); position: relative; }
.stage__tag { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 4px 10px; border-radius: 6px; display: inline-block; }
.stage h3 { font-size: 26px; margin: 18px 0 6px; }
.stage > p { color: var(--muted-dark); font-size: 15px; margin-bottom: 20px; }
.syslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sys { border-top: 1px solid var(--line-dark); }
.sys button {
  width: 100%; background: none; border: 0; color: var(--paper); text-align: left;
  font: inherit; font-weight: 500; font-size: 16px; padding: 14px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sys button .n { font-family: var(--font-head); color: var(--lime); font-size: 13px; margin-right: 10px; }
.sys button .chev { transition: transform .2s; color: var(--slate); flex: none; }
.sys.open button .chev { transform: rotate(45deg); color: var(--lime); }
.sys__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.sys__body > div { overflow: hidden; }
.sys.open .sys__body { grid-template-rows: 1fr; }
.sys__body p { color: var(--muted-dark); font-size: 15px; padding: 0 0 16px; }
.flow-note { margin-top: 28px; color: var(--muted-dark); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.flow-note svg { flex: none; width: 20px; height: 20px; color: var(--lime); margin-top: 3px; }

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

/* ===== Order of operations ===== */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; border: 1px solid var(--line-light); border-radius: 18px; overflow: hidden; background: #fff; }
.rung { padding: 32px 28px; border-right: 1px solid var(--line-light); }
.rung:last-child { border-right: 0; }
.rung__step { font-family: var(--font-head); font-size: 56px; font-weight: 700; line-height: 1; color: var(--paper-2); }
.rung h3 { font-size: 24px; margin: 14px 0 8px; }
.rung p { color: #4B5058; font-size: 15.5px; }
.rung ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.rung li { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-light); }
.rung--hot { background: var(--ink); color: var(--paper); }
.rung--hot p { color: var(--muted-dark); }
.rung--hot .rung__step { color: var(--lime); }
.rung--hot li { background: var(--ink-3); border-color: var(--line-dark); }

@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr; }
  .rung { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .rung:last-child { border-bottom: 0; }
}

/* ===== Before / after ===== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.week { border-radius: 18px; padding: 30px; border: 1px solid var(--line-dark); }
.week--before { background: var(--ink); }
.week--after { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.week__label { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.week h3 { font-size: 28px; margin: 6px 0 20px; }
.week ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.week li { display: flex; gap: 12px; font-size: 16px; }
.week li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.week--before li { color: var(--muted-dark); }
.week--before li svg { color: #F87171; }
@media (max-width: 800px) { .compare { grid-template-columns: 1fr; } }

/* ===== Process ===== */
.steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line-light); border-radius: 18px; padding: 30px; }
.step__num { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.step__time { position: absolute; top: 30px; right: 30px; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-light); }
.step h3 { font-size: 23px; margin: 20px 0 10px; }
.step p { color: #4B5058; font-size: 15.5px; }
.support { margin-top: 18px; padding: 22px 26px; border-radius: 18px; background: var(--paper-2); display: flex; gap: 14px; align-items: center; font-size: 16px; }
.support svg { flex: none; width: 24px; height: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ===== Comparison table ===== */
.table-wrap { margin-top: 48px; border: 1px solid var(--line-dark); border-radius: 18px; overflow-x: auto; }
table.vs { width: 100%; border-collapse: collapse; min-width: 640px; }
.vs th, .vs td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line-dark); font-size: 15px; vertical-align: top; }
.vs thead th { font-family: var(--font-head); font-size: 16px; color: var(--muted-dark); font-weight: 600; }
.vs thead th.me { color: var(--ink); background: var(--lime); }
.vs td.me { background: rgba(198,244,50,.07); color: var(--paper); font-weight: 500; }
.vs td { color: var(--muted-dark); }
.vs tbody th { color: var(--paper); font-weight: 500; width: 22%; }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: 0; }
.yes { color: var(--lime); font-weight: 700; margin-right: 6px; }
.no { color: #F87171; font-weight: 700; margin-right: 6px; }

/* ===== Promise ===== */
.promise { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: var(--ink); color: var(--paper); border-radius: 22px; padding: clamp(28px, 5vw, 56px); }
.promise__badge { width: 130px; height: 130px; border-radius: 50%; border: 2px dashed var(--lime); display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 700; line-height: 1; color: var(--lime); }
.promise__badge b { display: block; font-size: 44px; }
.promise__badge span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.promise h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.promise p { color: var(--muted-dark); max-width: 60ch; }
.promise small { display: block; margin-top: 14px; color: var(--slate); font-size: 13px; }
@media (max-width: 700px) { .promise { grid-template-columns: 1fr; } }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about__photo { position: relative; }
.about__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 1px solid var(--line-dark); }
.about__photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--lime); border-radius: 22px; z-index: -1; }
.about__photo { z-index: 0; }
.about h2 { font-size: clamp(32px, 4.5vw, 50px); margin: 14px 0 18px; }
.about p + p { margin-top: 14px; }
.about p { color: var(--muted-dark); }
.about__facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.about__facts div b { display: block; font-family: var(--font-head); font-size: 34px; color: var(--lime); line-height: 1.1; }
.about__facts div span { font-size: 14px; color: var(--muted-dark); }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 260px; } }

/* ===== FAQ ===== */
.faq { margin-top: 44px; border-top: 1px solid var(--line-light); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 2vw, 21px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: var(--lime); display: grid; place-items: center; transition: transform .2s; font-size: 20px; line-height: 1; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: #4B5058; max-width: 70ch; }

/* ===== Final CTA ===== */
.final { text-align: center; }
.final h2 { font-size: clamp(38px, 6vw, 72px); margin: 18px auto 18px; max-width: 16ch; }
.final .lead { margin: 0 auto; }
.final__ctas { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.calendly-box { margin: 48px auto 0; max-width: 1000px; border-radius: 18px; overflow: hidden; background: var(--paper); min-height: 0; }
.calendly-box:empty { display: none; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line-dark); padding: 40px 0; font-size: 14px; color: var(--muted-dark); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dash__live::before { animation: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
