/* ============================================================
   LENDINGSITES: white editorial, ink purple, Den yellow highlighter
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #fbfaff;
  --lav: #f3effc;
  --lav-2: #e7e0f8;
  --ink: #16112b;
  --ink-2: #3a3452;
  --muted: #6f6a85;
  --purple: #5b21b6;
  --purple-hi: #4a1a96;
  --purple-deep: #1c0d42;
  --violet: #8b5cf6;
  --yellow: #ffd60a;
  --yellow-soft: #fff3b0;
  --green: #12a150;
  --rule: rgba(22, 17, 43, 0.12);
  --rule-strong: rgba(22, 17, 43, 0.22);
  --f-display: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Zodiak", Georgia, serif;
  --f-body: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: min(1240px, 90vw);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--yellow); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: var(--wrap); margin: 0 auto; }
section { position: relative; }

/* ---------- type ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1 em, h2 em, h3 em, .display em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--purple); }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow b { color: var(--purple); font-weight: 500; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.32rem); color: var(--ink-2); max-width: 54ch; }
.hand { font-family: var(--f-hand); font-weight: 600; color: var(--purple); line-height: 1.05; }

/* highlighter + strike */
.mark {
  background-image: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.9s var(--ease);
  padding: 0 0.06em;
}
.mark.on { background-size: 100% 100%; }
.strike { position: relative; display: inline-block; }
.strike::after {
  content: "";
  position: absolute; left: -3%; right: -3%; top: 52%;
  height: 0.16em;
  background: var(--yellow);
  border-radius: 4px;
  transform: scaleX(0) rotate(-2deg);
  transform-origin: left center;
  transition: transform 0.7s var(--ease);
}
.strike.on::after { transform: scaleX(1) rotate(-2deg); }
.strike.on { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  border: none;
  border-radius: 100px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 26px;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn .arr {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease);
}
.btn:hover .arr { transform: translateX(4px) rotate(-8deg); }
.btn-primary { background: var(--purple); color: #fff; padding-right: 10px; box-shadow: 0 12px 30px rgba(91, 33, 182, 0.25); }
.btn-primary:hover { background: var(--purple-hi); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); padding-right: 10px; }
.btn-yellow .arr { background: var(--ink); color: var(--yellow); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 214, 10, 0.35); }
.btn-sm { padding: 10px 10px 10px 18px; font-size: 0.92rem; }
.btn-sm .arr { width: 24px; height: 24px; }
.link-u { font-weight: 700; border-bottom: 2px solid var(--yellow); padding-bottom: 1px; transition: border-color 0.3s; }
.link-u:hover { border-color: var(--purple); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.35s, box-shadow 0.35s;
}
.nav.scrolled { background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 0 var(--rule); }
.nav-inner {
  width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.logo { font-family: var(--f-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.logo i { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--purple); }
.logo .lg-s { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%); padding: 0 1px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; z-index: 1102; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform 0.35s var(--ease), opacity 0.2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 1101;
  background: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 8vw;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.mobile-menu a.menu-book { color: var(--purple); font-style: italic; font-weight: 400; border: none; margin-top: 10px; }
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000;
  background: linear-gradient(90deg, var(--purple), var(--yellow));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* ---------- ledger background ---------- */
.ledger-bg-unused {
  background-image: linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 44px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
  position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
}

/* ============================================================
   HOME
   ============================================================ */

/* hero */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 0;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  padding: 8px 16px;
  margin-bottom: 34px;
  background: #fff;
}
.hero-tag .live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18, 161, 80, 0.15); }
.hero h1 {
  font-size: clamp(3.3rem, 9.6vw, 9.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.hero h1 .row { display: block; }
.swap { display: inline-grid; vertical-align: bottom; text-align: left; position: relative; }
.swap > span { grid-area: 1 / 1; white-space: nowrap; }
.swap .w-new { color: var(--purple); font-style: italic; font-weight: 400; opacity: 0; }
.swap .w-new .mark { background-size: 0% 100%; }
.swap .scribble {
  position: absolute; left: -2%; right: -2%; top: 50%; height: 0.14em;
  background: var(--yellow); border-radius: 6px;
  transform: scaleX(0) rotate(-3deg); transform-origin: left;
}
.hero-sub { margin: 30px auto 0; max-width: 60ch; font-size: clamp(1.1rem, 1.5vw, 1.32rem); color: var(--ink-2); }
.hero-form {
  margin: 38px auto 0;
  display: flex; align-items: center; gap: 8px;
  max-width: 560px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  padding: 7px 7px 7px 22px;
  box-shadow: 6px 6px 0 var(--yellow);
}
.hero-form input {
  flex: 1; min-width: 0;
  border: none; outline: none; background: transparent;
  font-family: var(--f-body); font-size: 1.02rem; color: var(--ink);
}
.hero-form input::placeholder { color: var(--muted); }
.hero-fine { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.hero-fine a { color: var(--ink); }
.hero-success { display: none; margin: 38px auto 0; font-size: 1.15rem; }
.hero-success.show { display: block; }
.hero-success b { font-family: var(--f-display); font-size: 1.6rem; display: block; margin-bottom: 4px; }

/* proof (our own site) */
.proof { padding: clamp(110px, 16vh, 180px) 0; }
.proof-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.proof-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  box-shadow: 14px 14px 0 var(--yellow);
  background: #fff;
  transform: rotate(-1.5deg);
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1.5px solid var(--ink); background: #fff; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.frame-bar i:first-child { background: var(--yellow); }
.frame-bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 0.74rem; color: var(--muted); }
.scroll-window { height: 560px; overflow: hidden; background: #fff; }
.scroll-window img { width: 100%; height: auto; animation: page-scroll 28s ease-in-out infinite alternate; }
.proof-frame:hover .scroll-window img { animation-play-state: paused; }
@keyframes page-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 560px)); } }
.proof h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin: 18px 0 22px; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 34px; border-top: 1.5px solid var(--ink); }
.counts div { padding-top: 18px; }
.counts strong { display: block; font-family: var(--f-display); font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 700; line-height: 1; color: var(--purple); }
.counts span { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* how it works: oversized numbers in a row */
.how { padding: clamp(100px, 14vh, 160px) 0; background: var(--lav); }
.how h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 16ch; }
.how-steps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.how-step { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.how-step .n { font-family: var(--f-serif); font-style: italic; font-size: clamp(4rem, 8vw, 7rem); line-height: 0.9; color: var(--purple); display: block; margin-bottom: 18px; }
.how-step h3 { font-size: 1.7rem; margin-bottom: 10px; }
.how-step p { color: var(--ink-2); }

/* rate sheet pricing */
.rates { padding: clamp(110px, 16vh, 170px) 0; position: relative; }
.rates-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 46px; }
.rates-head h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.stamp {
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple);
  border: 2px solid var(--purple); border-radius: 8px;
  padding: 10px 14px; transform: rotate(4deg);
  text-align: center; line-height: 1.5;
}
.sheet { border: 1.5px solid var(--ink); background: #fff; position: relative; }
.sheet-row {
  display: grid; grid-template-columns: 1.3fr repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
}
.sheet-row > div { padding: 15px 20px; display: flex; align-items: center; gap: 8px; font-size: 0.98rem; }
.sheet-row > div + div { border-left: 1px solid var(--rule-strong); }
.sheet-row .lbl { color: var(--ink-2); }
.sheet-row .col-mid { background: rgba(255, 214, 10, 0.12); }
.sheet-row.top { border-top: none; background: var(--ink); color: #fff; }
.sheet-row.top > div { flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px 20px; border-color: rgba(255, 255, 255, 0.15); }
.sheet-row.top .col-mid { background: var(--purple); }
.sheet-row.top .lbl { color: rgba(255, 255, 255, 0.6); font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; justify-content: flex-end; }
.plan-name { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; }
.plan-for { font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); }
.plan-flag { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 3px 8px; border-radius: 4px; }
.sheet-row.price > div { padding: 20px; }
.price-big { font-family: var(--f-mono); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.price-big small { font-size: 0.9rem; color: var(--muted); letter-spacing: 0; }
.sheet .yes { color: var(--green); font-weight: 700; }
.sheet .no { color: var(--rule-strong); }
.sheet-row.cta > div { padding: 18px 20px; }
.sheet-row.cta .btn { width: 100%; justify-content: space-between; }
.sticky {
  position: absolute;
  left: -30px; bottom: -96px;
  width: 250px;
  background: var(--yellow);
  padding: 22px 20px 20px;
  transform: rotate(-4deg);
  box-shadow: 8px 12px 0 rgba(22, 17, 43, 0.12);
  z-index: 5;
}
.sticky::before { content: ""; position: absolute; top: -12px; left: 50%; width: 80px; height: 24px; margin-left: -40px; background: rgba(255, 255, 255, 0.65); transform: rotate(-3deg); }
.sticky b { display: block; font-family: var(--f-hand); font-size: 1.7rem; line-height: 1; margin-bottom: 8px; color: var(--ink); }
.sticky p { font-size: 0.95rem; color: var(--ink); margin-bottom: 12px; }
.sticky a { font-weight: 700; border-bottom: 2px solid var(--ink); }
.rates-fine { margin-top: 28px; padding-left: 270px; font-family: var(--f-mono); font-size: 0.74rem; color: var(--muted); max-width: 80ch; }
.rates-fine a { color: var(--purple); }

/* seo band (home) */
.seo-cross { padding: 0 0 clamp(100px, 14vh, 150px); }
.seo-cross a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 34px 0; transition: background 0.3s; }
.seo-cross a:hover { background: var(--lav); }
.seo-cross .big { font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 700; }
.seo-cross .big em { font-style: italic; font-weight: 400; color: var(--purple); }
.seo-cross p { color: var(--ink-2); max-width: 46ch; }
.circle-arrow { width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 1.6rem; border: 1.5px solid var(--ink); transition: transform 0.4s var(--ease); }
.seo-cross a:hover .circle-arrow { transform: rotate(-45deg); }

/* fine print (compliance) */
.fine { padding: clamp(90px, 12vh, 140px) 0; background: var(--lav); }
.fine-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.fine h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.fine ol { list-style: none; counter-reset: f; }
.fine li { counter-increment: f; display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--rule-strong); }
.fine li::before { content: "§" counter(f); font-family: var(--f-mono); color: var(--purple); font-size: 0.92rem; padding-top: 4px; }
.fine li b { display: block; font-size: 1.12rem; margin-bottom: 4px; }
.fine li span { color: var(--ink-2); font-size: 0.98rem; }
.fine .sig { margin-top: 26px; font-family: var(--f-mono); font-size: 0.76rem; color: var(--muted); }

/* FAQ */
.faq { padding: clamp(100px, 14vh, 160px) 0; }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(30px, 6vw, 90px); }
.faq h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); position: sticky; top: 120px; }
.faq-item { border-bottom: 1px solid var(--rule-strong); }
.faq-item:first-child { border-top: 1.5px solid var(--ink); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 700; color: var(--ink);
}
.faq-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--f-body); transition: transform 0.35s var(--ease), background 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--yellow); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 0 26px; color: var(--ink-2); max-width: 62ch; }
.faq-a a { color: var(--purple); font-weight: 700; }

/* final */
.final { padding: clamp(120px, 18vh, 200px) 0; background: var(--ink); color: #fff; text-align: center; overflow: hidden; position: relative; }
.final h2 { font-size: clamp(3rem, 8.4vw, 8rem); line-height: 0.92; }
.final h2 em { color: var(--yellow); }
.final p { color: rgba(255, 255, 255, 0.72); margin: 26px auto 40px; max-width: 52ch; font-size: 1.15rem; }
.final .hero-form { border-color: #fff; box-shadow: 6px 6px 0 var(--purple); }
.final .hero-fine { color: rgba(255, 255, 255, 0.55); }
.final .hero-fine a { color: #fff; }
.final .hero-success { color: #fff; }

/* footer */
footer { padding: 70px 0 40px; border-top: 1px solid var(--rule); }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot p { color: var(--muted); max-width: 34ch; margin-top: 12px; font-size: 0.95rem; }
.foot-links { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-links h5 { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-links a { display: block; padding: 4px 0; color: var(--ink-2); }
.foot-links a:hover { color: var(--purple); }
.foot-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 7.4rem); line-height: 0.94; max-width: 13ch; }
.page-hero .lede { margin-top: 28px; }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* SEO page: three places as a typographic triptych */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.triptych div { padding: 34px 28px 38px 0; }
.triptych div + div { border-left: 1px solid var(--rule-strong); padding-left: 28px; }
.triptych .k { font-family: var(--f-mono); font-size: 0.74rem; color: var(--purple); letter-spacing: 0.1em; }
.triptych h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin: 14px 0 12px; }
.triptych p { color: var(--ink-2); }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split2 h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); margin: 18px 0 22px; }
.chat {
  border: 1.5px solid var(--ink); border-radius: 18px; background: #fff; padding: 24px;
  box-shadow: 12px 12px 0 var(--lav-2);
}
.chat .q { margin-left: auto; max-width: 80%; background: var(--lav); border-radius: 16px 16px 4px 16px; padding: 12px 16px; font-size: 0.98rem; }
.chat .a { margin-top: 16px; font-size: 0.98rem; color: var(--ink-2); }
.chat .pick { margin-top: 12px; border-left: 4px solid var(--yellow); padding: 8px 0 8px 14px; }
.chat .pick b { display: block; color: var(--ink); }
.chat .pick.dim { opacity: 0.45; border-color: var(--rule-strong); }
.chat .note-sm { margin-top: 16px; font-family: var(--f-mono); font-size: 0.66rem; color: var(--muted); text-align: right; letter-spacing: 0.06em; }
.ruled { list-style: none; margin-top: 10px; }
.ruled li { padding: 16px 0 16px 34px; border-top: 1px solid var(--rule-strong); position: relative; color: var(--ink-2); }
.ruled li::before { content: "→"; position: absolute; left: 0; top: 16px; color: var(--purple); font-weight: 700; }
.ruled li b { color: var(--ink); }
.work { padding: clamp(100px, 14vh, 160px) 0; background: var(--lav); }
.work h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin-bottom: 50px; }
.work-cols { columns: 2; column-gap: clamp(40px, 6vw, 90px); }
.work-cols div { break-inside: avoid; padding: 18px 0 20px; border-top: 1.5px solid var(--ink); }
.work-cols b { font-family: var(--f-display); font-size: 1.45rem; display: block; margin-bottom: 6px; }
.work-cols span { color: var(--ink-2); }
.section-pad { padding: clamp(100px, 14vh, 160px) 0; }
.honest { padding: clamp(100px, 14vh, 160px) 0; background: var(--ink); color: #fff; }
.honest h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 14ch; }
.honest h2 em { color: var(--yellow); }
.honest-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: end; }
.honest p { color: rgba(255, 255, 255, 0.74); font-size: 1.12rem; margin: 24px 0 32px; max-width: 52ch; }
.checklist { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.checklist li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); font-family: var(--f-hand); font-size: 1.6rem; color: var(--yellow); }
.checklist li::before { content: "✓ "; font-family: var(--f-body); font-size: 1rem; color: #fff; }

/* book page */
.book { padding: 150px 0 110px; }
.book-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.book h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 0.95; margin: 22px 0 26px; }
.steps-list { list-style: none; margin-top: 40px; border-top: 1.5px solid var(--ink); }
.steps-list li { display: grid; grid-template-columns: 50px 1fr; padding: 20px 0; border-bottom: 1px solid var(--rule-strong); }
.steps-list .n { font-family: var(--f-serif); font-style: italic; font-size: 1.8rem; color: var(--purple); line-height: 1; }
.steps-list b { display: block; font-size: 1.1rem; }
.steps-list p { color: var(--ink-2); font-size: 0.96rem; }
.book-form { border: 1.5px solid var(--ink); border-radius: 18px; padding: clamp(26px, 4vw, 44px); background: #fff; box-shadow: 14px 14px 0 var(--yellow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: transparent;
  border: none; border-bottom: 1.5px solid var(--rule-strong);
  padding: 10px 0; color: var(--ink);
  font-family: var(--f-body); font-size: 1.05rem; outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
}
.form-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--purple); }
.book-form .btn { width: 100%; justify-content: space-between; margin-top: 8px; }
.form-fine { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 50px 10px; }
.form-success.show { display: block; }
.form-success .big-check { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 1.7rem; border: 1.5px solid var(--ink); }
.form-success h3 { font-size: 2rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); }

/* reveal helpers (JS sets initial state) */
[data-reveal] { will-change: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   v6: SaaS hero, before/after toggle, sticky story, what you get
   ============================================================ */
.hero { min-height: 0; padding: 150px 0 0; overflow: visible; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6.6rem); line-height: 0.95; letter-spacing: -0.045em; }
.hero h1 .mark { padding: 0 0.1em; }
.hero-sub { margin-top: 26px; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 78%, rgba(139, 92, 246, 0.14), transparent 70%),
    radial-gradient(30% 30% at 78% 70%, rgba(255, 214, 10, 0.16), transparent 70%),
    radial-gradient(1px 1px at 1px 1px, rgba(22, 17, 43, 0.14) 1px, transparent 0) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.trust { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.trust span::before { content: "✓ "; color: var(--purple); }

.composite { position: relative; max-width: 1080px; margin: 70px auto 0; padding: 0 0 90px; z-index: 2; }
.pw {
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 50px 120px rgba(91, 33, 182, 0.18), 0 12px 30px rgba(22, 17, 43, 0.08);
}
.pw-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--rule); background: #fbfaff; }
.pw-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--lav-2); }
.pw-bar span { margin: 0 auto; font-family: var(--f-mono); font-size: 0.74rem; color: var(--muted); background: #fff; border: 1px solid var(--rule); border-radius: 100px; padding: 3px 16px; }
.pw img { width: 100%; height: auto; }
.fc { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--rule-strong); border-radius: 14px; box-shadow: 0 24px 60px rgba(22, 17, 43, 0.16); will-change: transform; }
.fc-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--rule); font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fc-head .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(18, 161, 80, 0.15); }
.fc-pipe { width: 400px; left: -70px; bottom: 20px; overflow: hidden; }
.fc-pipe img { width: 100%; }
.fc-lead { right: -60px; top: 70px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.fc-lead .av { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 800; border: 1.5px solid var(--ink); }
.fc-lead b { display: block; font-size: 0.95rem; }
.fc-lead small { color: var(--muted); font-size: 0.8rem; }
.fc-lead .tag { margin-left: 6px; font-family: var(--f-mono); font-size: 0.64rem; background: var(--lav); color: var(--purple); border-radius: 100px; padding: 3px 8px; }
.fc-chat { right: -40px; bottom: 60px; width: 300px; padding: 14px; }
.fc-chat .msg { font-size: 0.86rem; border-radius: 14px; padding: 9px 12px; margin-top: 8px; max-width: 88%; }
.fc-chat .in { background: var(--lav); border-bottom-left-radius: 4px; }
.fc-chat .out { background: var(--purple); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.fc-chat .ai { display: block; text-align: right; font-family: var(--f-mono); font-size: 0.64rem; color: var(--muted); margin-top: 6px; }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 6px; } }
.fc-lead { animation: bob 4.5s ease-in-out infinite alternate; }
.fc-chat { animation: bob 5.5s ease-in-out 0.6s infinite alternate; }
.fc-pipe { animation: bob 6s ease-in-out 0.3s infinite alternate; }

/* before / after toggle */
.compare { padding: clamp(110px, 15vh, 170px) 0; }
.compare-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.compare h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin: 18px 0 30px; }
.toggle { display: inline-flex; padding: 5px; border-radius: 100px; background: var(--lav); position: relative; }
.toggle button { position: relative; z-index: 2; border: none; background: none; padding: 12px 22px; border-radius: 100px; font-weight: 700; font-size: 0.98rem; color: var(--muted); transition: color 0.35s; }
.toggle button.on { color: #fff; }
.toggle .pill { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; border-radius: 100px; background: var(--ink); transition: transform 0.5s var(--ease), width 0.5s var(--ease), background 0.4s; }
.compare.ls .toggle .pill { background: var(--purple); }
.compare-note { margin-top: 22px; color: var(--muted); max-width: 40ch; }
.compare-rows { list-style: none; border-top: 1.5px solid var(--ink); }
.compare-rows li { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule-strong); align-items: baseline; }
.compare-rows .when { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.compare-rows .val { position: relative; display: grid; }
.compare-rows .val > span { grid-area: 1 / 1; display: flex; gap: 12px; align-items: baseline; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 700; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.compare-rows .val > span::before { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 0.78rem; transform: translateY(3px); }
.compare-rows .today { color: var(--muted); }
.compare-rows .today::before { content: "✕"; background: #f1eff5; color: #b3aec4; }
.compare-rows .ls { opacity: 0; transform: translateY(10px); color: var(--ink); }
.compare-rows .ls::before { content: "✓"; background: var(--yellow); color: var(--ink); }
.compare.ls .compare-rows .today { opacity: 0; transform: translateY(-10px); }
.compare.ls .compare-rows .ls { opacity: 1; transform: none; }
.compare-rows li:nth-child(2) .val > span { transition-delay: 0.06s; }
.compare-rows li:nth-child(3) .val > span { transition-delay: 0.12s; }
.compare-rows li:nth-child(4) .val > span { transition-delay: 0.18s; }
.compare-rows li:nth-child(5) .val > span { transition-delay: 0.24s; }

/* sticky story */
.story { padding: clamp(110px, 15vh, 170px) 0 60px; background: var(--paper); }
.story-head { text-align: center; max-width: 820px; margin: 0 auto 70px; }
.story-head h2 { font-size: clamp(2.6rem, 5.4vw, 5rem); margin: 18px 0 20px; }
.story-head .lede { margin: 0 auto; }
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 5vw, 80px); }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.story-step.active { opacity: 1; }
.story-step .num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--purple); letter-spacing: 0.1em; }
.story-step h3 { font-size: clamp(2rem, 3.2vw, 3rem); margin: 12px 0 14px; }
.story-step p { color: var(--ink-2); font-size: 1.08rem; max-width: 42ch; }
.story-step .plan-tag { margin-top: 18px; display: inline-flex; align-self: flex-start; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--yellow); border-radius: 100px; padding: 5px 12px; }
.story-step .m-shot { display: none; }
.story-visual { position: sticky; top: 14vh; height: 72vh; display: flex; align-items: center; }
.story-frame { position: relative; width: 100%; aspect-ratio: 16 / 10.4; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--rule-strong); box-shadow: 0 40px 100px rgba(91, 33, 182, 0.16); }
.story-frame .pw-bar { position: relative; z-index: 3; }
.story-frame .label { position: absolute; z-index: 4; left: 16px; bottom: 16px; font-family: var(--f-mono); font-size: 0.72rem; background: var(--ink); color: #fff; border-radius: 100px; padding: 6px 12px; }
.story-shot { position: absolute; left: 0; right: 0; top: 43px; bottom: 0; opacity: 0; transform: scale(1.03); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); background: #fff; }
.story-shot.active { opacity: 1; transform: none; }
.story-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* what you get */
.get { padding: clamp(110px, 15vh, 170px) 0; }
.get-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 60px; }
.get-head h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); max-width: 16ch; margin-top: 18px; }
.get-head p { max-width: 38ch; color: var(--ink-2); }
.get-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 44px); }
.get-col { border-top: 2px solid var(--ink); padding-top: 20px; }
.get-col .ico { font-size: 1.6rem; }
.get-col h3 { font-size: 1.6rem; margin: 10px 0 6px; }
.get-col .why { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.get-col ul { list-style: none; }
.get-col li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: 0.98rem; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.get-col li em { font-style: normal; flex-shrink: 0; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--purple); background: var(--lav); border-radius: 100px; padding: 2px 8px; }

@media (max-width: 1020px) {
  .compare-grid, .story-grid { grid-template-columns: 1fr; }
  .get-cols { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .fc-pipe { left: -20px; width: 330px; }
  .fc-lead { right: -10px; }
  .fc-chat { right: -10px; }
  .story-visual { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 34px 0; border-top: 1px solid var(--rule-strong); }
  .story-step .m-shot { display: block; margin-top: 22px; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule-strong); box-shadow: 0 20px 50px rgba(91, 33, 182, 0.12); }
  .get-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.8rem); }
  .composite { margin-top: 44px; padding-bottom: 40px; }
  .fc-pipe { display: none; }
  .fc-lead { top: auto; bottom: 18px; right: 10px; left: 10px; padding: 10px 12px; }
  .fc-chat { display: none; }
  .compare-rows li { grid-template-columns: 1fr; gap: 8px; }
  .toggle button { padding: 11px 16px; font-size: 0.9rem; }
  .get-cols { grid-template-columns: 1fr; }
}

@media (max-width: 1020px) {
  .proof-grid, .fine-grid, .faq-grid, .split2, .honest-grid, .book-grid { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .how-steps { grid-template-columns: 1fr; }
  .counts { max-width: 560px; }
  .sticky { position: relative; left: auto; bottom: auto; margin: 34px 0 0 10px; }
  .rates-fine { padding-left: 0; }
  .triptych { grid-template-columns: 1fr; }
  .triptych div + div { border-left: none; border-top: 1px solid var(--rule-strong); padding-left: 0; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .sheet { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sheet-inner { min-width: 680px; }
  .sheet-row { grid-template-columns: 150px repeat(3, 1fr); }
  .sheet-row > .lbl { position: sticky; left: 0; z-index: 2; background: #fff; font-size: 0.86rem; box-shadow: 1px 0 0 var(--rule-strong); }
  .sheet-row.top > .lbl { background: var(--ink); }
  .sheet-row > div { padding: 12px 14px; font-size: 0.9rem; }
  .price-big { font-size: 1.6rem; }
  .plan-name { font-size: 1.3rem; }
  .sheet-wrap::before { content: "swipe to compare →"; display: block; font-family: var(--f-hand); font-size: 1.3rem; color: var(--purple); margin-bottom: 8px; text-align: right; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-cta .btn { display: none; }
  .nav-inner { height: 68px; }
  .hero { padding-top: 110px; }
  .hero h1 { font-size: clamp(2.9rem, 13vw, 4.4rem); }
  .hero-form { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 14px; gap: 12px; }
  .hero-form input { padding: 6px 4px; }
  .hero-form .btn { justify-content: space-between; }
  .scroll-window { height: 420px; }
  @keyframes page-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 420px)); } }
  .proof-frame { transform: none; box-shadow: 8px 8px 0 var(--yellow); }
  .rates-head { flex-direction: column; align-items: flex-start; }
  .seo-cross a { grid-template-columns: 1fr; gap: 14px; }
  .work-cols { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .counts strong { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.sheet-wrap { position: relative; }

/* plan lines (pricing page) */
.plan-lines { margin-top: 40px; }
.plan-line { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 80px); padding: 34px 0; border-top: 1.5px solid var(--ink); }
.pl-name { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pl-n { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 700; line-height: 1; }
.pl-p { font-family: var(--f-mono); font-size: 1.5rem; color: var(--purple); }
.pl-p small { font-size: 0.85rem; color: var(--muted); }
.plan-line b { display: block; font-size: 1.25rem; margin-bottom: 8px; }
.plan-line p { color: var(--ink-2); max-width: 60ch; }
@media (max-width: 760px) { .plan-line { grid-template-columns: 1fr; } }
.story-shot.zoom img { width: 140%; height: auto; max-width: none; object-fit: unset; }
.story-step .m-shot img, .fc img { width: 100%; height: auto; }
