:root {
  --paper: #faf9f6;
  --paper-2: #f2f0ea;
  --ink: #161511;
  --muted: #6e6a61;
  --line: #e5e1d7;
  --accent: #2a52f4;
  --accent-deep: #1e3fc4;
  --dark: #151412;
  --dark-2: #1c1b18;
  --on-dark: #f4f2ed;
  --on-dark-muted: #94908a;
  --gold: #e8a33d;
  --green: #3f9e6c;
  --max: 1120px;
  --shadow-soft: 0 2px 6px rgba(22, 21, 17, 0.05), 0 24px 60px rgba(22, 21, 17, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .logo, .price, .stat strong {
  font-family: "Inter Tight", "Inter", -apple-system, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 650;
}

em.serif, .serif-accent {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

a { color: var(--accent); }
::selection { background: rgba(42, 82, 244, 0.18); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}
.logo {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}
.logo::after {
  content: "";
  display: inline-block;
  width: 0.34em;
  height: 0.34em;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.12em;
}
nav.site { display: flex; align-items: center; gap: 1.7rem; }
nav.site a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
nav.site a:hover { color: var(--ink); }
nav.site a.pill {
  background: var(--ink);
  color: var(--paper);
  padding: 0.52rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}
nav.site a.pill:hover { background: #000; color: var(--paper); transform: translateY(-1px); }
@media (max-width: 720px) {
  nav.site a:not(.pill) { display: none; }
}

/* ---------- Buttons ---------- */

.cta {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.88rem 1.75rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 21, 17, 0.18);
}
.cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-left: 0.65rem;
}
.cta.ghost:hover { border-color: var(--ink); box-shadow: none; background: transparent; }
.cta.on-dark {
  background: var(--paper);
  color: var(--ink);
}
.cta.on-dark:hover { background: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); }

/* ---------- Hero ---------- */

.hero { padding: 5.5rem 0 6rem; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 4.5rem;
  align-items: center;
}
@media (max-width: 880px) {
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 3.4rem; }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 1.7rem;
  height: 1px;
  background: var(--ink);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  line-height: 1.04;
  margin-bottom: 1.3rem;
}
.hero h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.04em;
}
.hero p.sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 2.2rem;
}
.stats {
  display: flex;
  gap: 0;
  margin-top: 2.8rem;
  flex-wrap: wrap;
}
.stat {
  padding: 0.2rem 1.6rem;
  border-left: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--ink);
}
.stat span { font-size: 0.84rem; color: var(--muted); }

/* ---------- Phone mockup ---------- */

.phone-wrap { position: relative; padding: 2.2rem 0; }
.phone-wrap::before {
  content: "";
  position: absolute;
  inset: -22% -34%;
  background: radial-gradient(closest-side, rgba(42, 82, 244, 0.13), rgba(42, 82, 244, 0.05) 52%, transparent 74%);
  pointer-events: none;
}
.phone-wrap::after {
  content: "";
  position: absolute;
  inset: -22% -34%;
  background: repeating-radial-gradient(circle at 50% 50%,
    transparent 0 84px,
    rgba(42, 82, 244, 0.18) 84px 85px);
  -webkit-mask-image: radial-gradient(closest-side, black 25%, transparent 76%);
  mask-image: radial-gradient(closest-side, black 25%, transparent 76%);
  pointer-events: none;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(330px, 86vw);
  margin: 0 auto;
  background: #101010;
  border-radius: 40px;
  padding: 0.8rem;
  box-shadow: var(--shadow-soft), 0 60px 120px rgba(22, 21, 17, 0.18);
  transform: rotate(1.5deg);
}
.phone .screen {
  background: #14161d;
  border-radius: 30px;
  padding: 0 0 1.1rem;
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 0.9rem;
}
.chat-head .avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.chat-head strong { display: block; color: #eef0f6; font-size: 0.92rem; line-height: 1.2; }
.chat-head small { color: #6b7180; font-size: 0.72rem; }
.phone .chat {
  padding: 0 0.9rem;
  transition: opacity 0.5s ease;
}
.chat.fade { opacity: 0; }
.js .phone .chat {
  height: 420px;
  overflow: hidden;
}
.chat-scroll { transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1); }
.bubble {
  max-width: 86%;
  font-size: 0.85rem;
  line-height: 1.45;
  padding: 0.6rem 0.9rem;
  border-radius: 17px;
  margin-bottom: 0.55rem;
}
.js .bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.45s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js .bubble.show { opacity: 1; transform: none; }
.bubble.in {
  background: #262a35;
  color: #dde1ea;
  border-bottom-left-radius: 6px;
}
.bubble.out {
  background: var(--accent);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 6px;
}
.bubble.note {
  background: transparent;
  color: #666c7a;
  font-size: 0.72rem;
  text-align: center;
  max-width: 100%;
  padding: 0.25rem 0;
}
.bubble.note.saved { color: #7fd6a5; }
@media (prefers-reduced-motion: reduce) {
  .js .bubble { opacity: 1; transform: none; transition: none; }
  .js .phone .chat { height: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Trades strip ---------- */

.trades {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 1.05rem 0;
}
.trades .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.9rem;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.trades .lbl { color: #a5a094; }

/* ---------- Sections ---------- */

section.block { padding: 5.5rem 0; }
section.block.alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.7rem;
  height: 1px;
  background: var(--ink);
}
.section-head.center .eyebrow::before { display: none; }
.section-head h2, .split h2, .cta-band h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  margin-bottom: 0.7rem;
}
.section-head h2 em, .split h2 em, .cta-band h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.04em;
}
.section-head p { color: var(--muted); font-size: 1.03rem; }

/* Steps — editorial columns */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.4rem 2.2rem;
}
.step { border-top: 1px solid var(--ink); padding-top: 1.3rem; }
.step .num {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.07rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Review split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 840px) { .split { grid-template-columns: 1fr; gap: 2.6rem; } }
.split p { color: var(--muted); margin-bottom: 1rem; }
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 1.8rem;
  max-width: 26.5rem;
  margin: 0 auto;
  transform: rotate(-1.2deg);
}
.review-card .rc-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.review-card .rc-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter Tight", sans-serif;
}
.review-card .rc-meta strong { display: block; font-size: 0.92rem; letter-spacing: -0.01em; }
.review-card .rc-meta span { font-size: 0.78rem; color: var(--muted); }
.review-card .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 1rem; margin-bottom: 0.6rem; }
.review-card p.quote { color: var(--ink); font-size: 0.99rem; margin-bottom: 1rem; }
.review-card .who {
  color: var(--muted);
  font-size: 0.84rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

/* ---------- Pricing ---------- */

.pricing-card {
  position: relative;
  max-width: 26.5rem;
  margin: 0 auto;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: #fff;
  padding: 2.5rem 2.3rem 2.3rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.pricing-card .badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.32rem 1.05rem;
  white-space: nowrap;
}
.price { font-size: 3.6rem; line-height: 1.05; }
.price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
}
.pricing-card ul {
  list-style: none;
  margin: 1.5rem 0 1.9rem;
  text-align: left;
}
.pricing-card li {
  padding: 0.55rem 0 0.55rem 1.7rem;
  position: relative;
  color: var(--muted);
  font-size: 0.96rem;
  border-top: 1px solid var(--line);
}
.pricing-card li:first-child { border-top: 0; }
.pricing-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq { max-width: 46rem; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.01rem;
  font-family: "Inter Tight", sans-serif;
  letter-spacing: -0.015em;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.2rem;
  transition: color 0.2s ease;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s ease, color 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p {
  color: var(--muted);
  padding: 0 0.2rem 1.3rem;
  font-size: 0.95rem;
  max-width: 40rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
  padding: 5rem 0;
}
.cta-band h2 { color: var(--on-dark); margin-bottom: 0.9rem; }
.cta-band p {
  color: var(--on-dark-muted);
  max-width: 33rem;
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */

footer.site {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-dark-muted);
  padding: 3.4rem 0 2.6rem;
  font-size: 0.9rem;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  justify-content: space-between;
}
footer.site .brand {
  color: var(--on-dark);
  font-weight: 700;
  font-family: "Inter Tight", sans-serif;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
footer.site .brand::after {
  content: "";
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.12em;
}
footer.site a { color: var(--on-dark-muted); text-decoration: none; transition: color 0.2s ease; }
footer.site a:hover { color: var(--on-dark); }
footer.site .cols { display: flex; gap: 3.8rem; flex-wrap: wrap; }
footer.site .col h4 {
  color: var(--on-dark);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
footer.site .col a { display: block; margin-bottom: 0.42rem; }
footer.site .fine {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #6c6862;
}

/* ---------- Legal pages ---------- */

main.legal { padding: 3.4rem 0 4.5rem; }
main.legal .wrap { max-width: 46rem; }
main.legal h1 { font-size: 2.1rem; margin-bottom: 0.4rem; }
main.legal p.effective { color: var(--muted); margin-bottom: 2.2rem; }
main.legal h2 { font-size: 1.28rem; margin: 2.3rem 0 0.6rem; }
main.legal h3 { font-size: 1.06rem; margin: 1.5rem 0 0.4rem; }
main.legal p, main.legal li { color: var(--muted); }
main.legal ul { padding-left: 1.4rem; margin: 0.5rem 0 1rem; }
main.legal .callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: #fff;
  padding: 1.2rem 1.4rem;
  margin: 1.1rem 0;
}
main.legal .callout p { color: var(--ink); }
main.legal .callout p + p { margin-top: 0.6rem; }
