:root {
  --ink: #14141c;
  --ink-soft: #4c4c5c;
  --paper: #f7f7fb;
  --paper-dim: #eeedf7;
  --line: rgba(20,20,28,0.1);
  --accent: #4338ca;
  --accent-soft: #e3e0fb;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 0.8rem 1.2rem; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  cursor: pointer; border: none;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(67,56,202,0.32); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--full { width: 100%; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem; background: rgba(247,247,251,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__mark { font-family: var(--display); font-size: 1.05rem; display: flex; align-items: baseline; gap: 0.4rem; }
.nav__mark-sub { font-family: var(--sans); font-weight: 600; font-size: 0.8rem; color: var(--ink-soft); }
.nav__links { display: flex; gap: 2rem; font-weight: 600; font-size: 0.9rem; }
.nav__links a { color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--ink); color: var(--paper); padding: 0.65rem 1.3rem; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; transition: background .2s;
}
.nav__cta:hover { background: var(--accent); }
@media (max-width: 860px) {
  .nav { padding: 1rem 1.2rem; }
  .nav__links { display: none; }
}

/* HERO */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
  padding: 5rem 3rem 6rem; max-width: 1400px; margin: 0 auto;
}
.hero__title {
  font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.12;
  letter-spacing: -0.01em; margin-bottom: 1.3rem;
}
.accent { color: var(--accent); }
.hero__sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 48ch; margin-bottom: 1.1rem; }
.hero__tagline { font-weight: 700; color: var(--accent); font-size: 0.95rem; margin-bottom: 2rem; }
.hero__cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__art { display: flex; justify-content: center; }
.chat-mock {
  width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.4rem; box-shadow: 0 20px 50px rgba(20,20,28,0.08); display: flex; flex-direction: column; gap: 0.6rem;
}
.chat-mock__head { font-weight: 800; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
.chat-mock__msg { padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.4; max-width: 90%; }
.chat-mock__msg--in { background: var(--paper-dim); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-mock__msg--out { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 1.2rem 3.5rem; }
  .hero__art { order: -1; }
}

/* OFFERS */
.offers { padding: 5rem 3rem; background: var(--paper-dim); }
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1300px; margin: 2rem auto 0; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2.2rem; }
.offer--featured { border-color: var(--accent); box-shadow: 0 20px 50px rgba(67,56,202,0.12); }
.offer__tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent); padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 1rem;
}
.offer h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.offer__price { font-family: var(--display); font-size: 2.1rem; margin-bottom: 1rem; }
.offer__price span { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.offer__desc { color: var(--ink-soft); margin-bottom: 1.6rem; }
.offer__more { display: block; text-align: center; margin-top: 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
@media (max-width: 1100px) { .offers__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .offers { padding: 3rem 1.2rem; } .offers__grid { grid-template-columns: 1fr; } }

/* INCLUDED */
.included { padding: 6rem 3rem; max-width: 1200px; margin: 0 auto; }
.included__head { margin-bottom: 2.5rem; max-width: 60ch; }
.included__head h2 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 0.4rem; }
.included__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.included__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.included__num { font-family: var(--display); font-size: 0.9rem; color: var(--accent); }
.included__card h3 { font-size: 1.15rem; margin: 0.7rem 0 0.6rem; }
.included__card p { color: var(--ink-soft); font-size: 0.94rem; }
@media (max-width: 860px) { .included { padding: 4rem 1.2rem; } .included__grid { grid-template-columns: 1fr; } }

/* COMPARE */
.compare { padding: 6rem 3rem; background: var(--ink); color: var(--paper); }
.compare .eyebrow { color: #b3aef5; }
.compare__inner { max-width: 900px; margin: 0 auto; }
.compare h2 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 2.2rem; }
.compare__grid { display: flex; flex-direction: column; gap: 1px; background: rgba(247,247,251,0.12); border-radius: 12px; overflow: hidden; }
.compare__row { background: rgba(20,20,28,0.9); padding: 1.5rem 1.8rem; }
.compare__row h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.compare__row p { color: rgba(247,247,251,0.65); font-size: 0.92rem; }
.compare__row--us { background: var(--accent); }
.compare__row--us p { color: rgba(255,255,255,0.85); }
@media (max-width: 860px) { .compare { padding: 4rem 1.2rem; } }

/* HOW IT WORKS */
.how { padding: 6rem 3rem; max-width: 1100px; margin: 0 auto; }
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.how__step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-size: 1rem;
  margin-bottom: 1rem;
}
.how__step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.how__step p { color: var(--ink-soft); font-size: 0.94rem; }
@media (max-width: 860px) { .how { padding: 4rem 1.2rem; } .how__steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding: 3rem 3rem 6rem; max-width: 800px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.5rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.5rem; }
.faq__item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin-top: 0.8rem; color: var(--ink-soft); }
@media (max-width: 860px) { .faq { padding: 1rem 1.2rem 4rem; } }

/* FOOTER / FORM */
.footer { background: var(--ink); color: var(--paper); padding: 6rem 3rem 3rem; }
.footer__inner { max-width: 720px; margin: 0 auto; }
.footer__headline { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.7rem; }
.footer__sub { color: rgba(247,247,251,0.7); margin-bottom: 2.2rem; }

.quote-form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3.5rem; }
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: rgba(247,247,251,0.85); }
.quote-form input, .quote-form select {
  background: rgba(247,247,251,0.06); border: 1px solid rgba(247,247,251,0.22); border-radius: 8px;
  padding: 0.8rem 0.9rem; color: var(--paper); font-family: var(--sans); font-size: 0.95rem;
}
.quote-form input::placeholder { color: rgba(247,247,251,0.4); }
.quote-form select option { color: #14141c; }
.quote-form input:focus, .quote-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.quote-form__note { font-size: 0.82rem; color: rgba(247,247,251,0.55); text-align: center; }
.quote-form__note.is-success { color: #93c9a8; font-weight: 600; }
@media (max-width: 640px) { .quote-form__row { grid-template-columns: 1fr; } }

.footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(247,247,251,0.14); padding-top: 1.6rem; font-size: 0.85rem; color: rgba(247,247,251,0.6); }
.footer__cross a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer__meta { display: flex; gap: 1.2rem; }

@media (max-width: 720px) { .footer { padding: 4rem 1.2rem 2rem; } .footer__row { flex-direction: column; align-items: flex-start; } }

/* SIMPLE HERO (subpages) */
.hero--simple { display: block; max-width: 780px; padding: 5rem 1.5rem 3.5rem; margin: 0 auto; }
.hero--simple .hero__sub { max-width: 60ch; }

/* FLOW DIAGRAM */
.flow { padding: 1rem 3rem 5rem; max-width: 1100px; margin: 0 auto; }
.flow__diagram { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.5rem 2rem; }
.flow__steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.flow__step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 150px; }
.flow__icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.8rem;
}
.flow__icon svg { width: 28px; height: 28px; }
.flow__step h4 { font-size: 0.9rem; margin-bottom: 0.3rem; }
.flow__step p { font-size: 0.8rem; color: var(--ink-soft); }
.flow__arrow { color: var(--line); flex-shrink: 0; margin: 0 0.25rem; }
.flow__arrow svg { width: 32px; height: 16px; display: block; }
@media (max-width: 860px) { .flow { padding: 1rem 1.2rem 3.5rem; } }
@media (max-width: 700px) {
  .flow__steps { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); margin: 0.2rem 0; }
}

/* RESOURCES (guide teasers) */
.resources { padding: 4rem 3rem; max-width: 1100px; margin: 0 auto; }
.resources__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.5rem; }
.resources__card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; transition: border-color .2s, transform .2s; }
.resources__card:hover { border-color: var(--accent); transform: translateY(-2px); }
.resources__card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.resources__card p { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 860px) { .resources { padding: 3rem 1.2rem; } .resources__grid { grid-template-columns: 1fr; } }

/* ARTICLE / GUIDE PAGES */
.article { max-width: 720px; margin: 0 auto; padding: 4rem 1.5rem 3rem; }
.article__meta { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 0.8rem; }
.article h1 { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; margin-bottom: 1.2rem; }
.article h2 { font-size: 1.35rem; margin: 2.4rem 0 0.9rem; }
.article p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.05rem; line-height: 1.6; }
.article ul { margin: 0 0 1.2rem 1.3rem; color: var(--ink-soft); }
.article li { margin-bottom: 0.5rem; line-height: 1.6; }
.article a.inline-link { color: var(--accent); font-weight: 600; }
.article__cta { background: var(--paper-dim); border-radius: 16px; padding: 1.8rem; margin-top: 2.5rem; }
.article__cta h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.article__cta p { margin-bottom: 1.1rem; }
.guides-hub { max-width: 760px; margin: 0 auto; padding: 5rem 1.5rem 4rem; }
.guides-hub__list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

/* PRICING COMPARISON TABLE */
.pricing-compare { padding: 1rem 3rem 5rem; max-width: 1000px; margin: 0 auto; overflow-x: auto; }
.pricing-compare table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; min-width: 640px; }
.pricing-compare th, .pricing-compare td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.92rem; }
.pricing-compare th { background: var(--paper-dim); font-weight: 700; }
.pricing-compare td:first-child, .pricing-compare th:first-child { font-weight: 600; white-space: nowrap; }

/* SIMPLE FOOTER (content pages without the lead form) */
.footer--simple .footer__inner { max-width: 900px; }
.footer--simple .footer__cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
