:root {
  --ink: #161d24;
  --ink-2: #3f4750;
  --muted: #727980;
  --bg: #f6f5f2;
  --bg-alt: #ecebe6;
  --line: #d9d6cf;
  --accent: #8a7352;
  --accent-dark: #6c5a40;
  --navy: #141b22;
  --navy-2: #1e2731;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); max-width: 22ch; }
.center h2 { margin-left: auto; margin-right: auto; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .9em;
}
.eyebrow.light { color: #c2ab86; }
.lead { font-size: 1.2rem; max-width: 56ch; }
.section-lead { font-size: 1.1rem; max-width: 70ch; margin-bottom: 2.2rem; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.note { font-size: .95rem; color: var(--muted); margin-top: 1.8rem; max-width: 70ch; }
.note.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: .85em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--navy);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-small { padding: .5em 1.1em; font-size: .92rem; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: #e9e4da; border-color: #e9e4da; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 245, 242, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; }
.logo.small { font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--ink-2); }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.6rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.hero-facts span { font-size: .9rem; color: var(--muted); }

.hero-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 60px -30px rgba(15, 29, 43, .25);
}
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .setline { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 6 6; }
.chart .curve { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s ease-out .3s forwards; }
.chart .area { opacity: 0; animation: fade 1s ease-out 1.8s forwards; }
.chart .dot { fill: var(--accent); opacity: 0; animation: fade .4s ease-out 2.6s forwards; }
.chart .label { font: 500 12px var(--sans); fill: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.flow .tag {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .05em;
  background: transparent; border: 1px solid var(--line); color: var(--accent-dark); padding: .25em .75em; border-radius: 999px; margin-bottom: 1rem;
}
.flow .example { border-top: 1px solid var(--line); padding-top: 1em; font-size: .93rem; color: var(--muted); font-style: italic; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checklist li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px 22px 60px; position: relative; color: var(--ink-2);
}
.checklist li::before {
  content: ""; position: absolute; left: 22px; top: 25px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist strong { color: var(--ink); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.step p:last-child { margin-bottom: 0; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  border: 1.5px solid var(--ink); color: var(--ink);
}

/* Guarantee */
.guarantee { background: var(--navy); color: #fff; padding: 88px 0; }
.guarantee h2 { color: #fff; }
.guarantee p { color: #c9d2db; max-width: 64ch; }
.guarantee-inner { display: grid; grid-template-columns: 160px 1fr; gap: 56px; align-items: center; }
.seal { color: #c2ab86; }
.seal-big { font: 600 44px var(--serif); fill: #fff; }
.seal-small { font: 600 9px var(--sans); letter-spacing: .14em; fill: #c9d2db; }

/* Chat */
.chat {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 30px 60px -36px rgba(15, 29, 43, .3);
}
.bubble { padding: 14px 18px; border-radius: 16px; font-size: .96rem; line-height: 1.5; max-width: 90%; }
.bubble.me { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: var(--bg-alt); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-meta { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }

/* Tech */
.tech { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tech-item { border-top: 2px solid var(--ink); padding-top: 18px; }
.tech-item span { font-family: var(--serif); color: var(--accent); font-weight: 600; font-size: 1.1rem; }
.tech-item h3 { margin-top: .5em; font-size: 1.02rem; }
.tech-item p { font-size: .93rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2.4rem; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; }
.price.featured { border: 2px solid var(--navy); box-shadow: 0 30px 60px -36px rgba(20, 27, 34, .35); }
.price .badge {
  position: absolute; top: -13px; left: 28px; background: var(--navy); color: #fff;
  font-size: .75rem; font-weight: 600; padding: .3em .9em; border-radius: 999px; letter-spacing: .04em;
}
.price .amount { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--ink); margin: .2em 0 .6em; }
.price .amount small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--muted); }

/* Loop */
.loop { background: var(--bg-alt); border-radius: 20px; padding: 32px; }
.loop ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; color: var(--ink-2); }
.loop li::marker { color: var(--accent); font-weight: 700; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 1.6rem; }
summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -3px; font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .8em 0 0; }

/* CTA */
.cta { background: var(--navy-2); color: #fff; padding: 96px 0; }
.cta h2 { color: #fff; }
.cta p { color: #c3cad1; font-size: 1.12rem; margin: 0 auto 2rem; max-width: 56ch; }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .guarantee-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards.three, .pricing { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr 1fr; }
  .seal { width: 120px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0; }
  .tech { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .chart .curve { animation: none; stroke-dashoffset: 0; }
  .chart .area, .chart .dot { animation: none; opacity: 1; }
}
