:root {
  --ink: #222222;
  --ink-soft: #5b5766;
  --bg: #ffffff;
  --surface: #f7f4fd;
  --lilac: #efe7fc;
  --line: #e7e2f0;
  --brand: #985be6;
  --brand-strong: #7b3fd6;
  --brand-deep: #5e2bb0;
  --night: #1d1a24;
  --radius: 16px;
  --max: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.18rem; margin-bottom: 0.45rem; }
p { color: var(--ink-soft); }
a { color: var(--brand-strong); }
.hl { color: var(--brand); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 92px 0; }
.tight-top { padding-top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 16px; }
.eyebrow svg { width: 16px; height: 16px; }
.lead { font-size: 1.15rem; max-width: 620px; margin-top: 18px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); padding-bottom: 4px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 500; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; text-align: center; transition: background .2s, transform .2s, border-color .2s, color .2s; }
.btn-primary, .nav-links a.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover, .nav-links a.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-small { padding: 10px 18px; font-size: 0.9rem; border-radius: 10px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.center .btn-row { justify-content: center; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: radial-gradient(900px 420px at 88% -10%, var(--lilac), transparent 70%), radial-gradient(600px 300px at -10% 110%, #f4eefd, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 0.9rem; }
.hero-simple { padding: 84px 0 64px; }
.hero-simple h1 { max-width: 820px; }
.center.hero-simple h1 { margin: 0 auto; }

/* Edit demo card */
.edit-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(94,43,176,0.35); }
.edit-card .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag-ai { background: #f1f0f3; color: #7a7585; }
.tag-ed { background: var(--lilac); color: var(--brand-deep); }
.edit-card .before { color: #8d8898; text-decoration: line-through; text-decoration-color: rgba(152,91,230,0.7); text-decoration-thickness: 2px; font-size: 0.98rem; }
.edit-card .after { color: var(--ink); font-weight: 500; font-size: 1.05rem; }
.edit-card .divider { display: flex; align-items: center; gap: 10px; margin: 20px 0; color: var(--brand); font-size: 0.8rem; font-weight: 600; }
.edit-card .divider::before, .edit-card .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.edit-card .meta { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Strip */
.strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strip-item strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--ink); }
.strip-item span { font-size: 0.94rem; color: var(--ink-soft); }

/* Grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card-soft { background: var(--surface); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--lilac); color: var(--brand-strong); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.compare ul { list-style: none; margin-top: 14px; }
.compare li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.compare li:last-child { border-bottom: none; }
.compare .bad li::before { content: "\2715"; position: absolute; left: 2px; color: #a8a2b3; font-size: 0.85rem; top: 12px; }
.compare .good { background: var(--night); border-color: var(--night); }
.compare .good h3 { color: #fff; }
.compare .good li { color: #e4def0; border-color: rgba(255,255,255,0.1); }
.compare .good li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--night); border-color: var(--night); box-shadow: 0 30px 60px -30px rgba(94,43,176,0.55); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .per, .plan.featured li { color: #d9d2e6; }
.plan.featured li { border-color: rgba(255,255,255,0.1); }
.badge { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan h3 { font-family: "Inter", sans-serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-strong); }
.plan.featured h3 { color: var(--brand); }
.price { font-family: "Poppins", sans-serif; font-size: 3.1rem; font-weight: 700; margin: 8px 0 4px; line-height: 1.1; }
.per { font-size: 0.9rem; margin-bottom: 22px; }
.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan li { padding: 10px 0 10px 28px; position: relative; font-size: 0.96rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.plan li:last-child { border-bottom: none; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.plan .btn { width: 100%; }
.plan.featured .btn-primary { background: var(--brand); }
.plan.featured .btn-primary:hover { background: #a874ec; }

/* Table */
.table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
thead th { background: var(--surface); font-family: "Poppins", sans-serif; font-weight: 600; }
thead th.hot { color: var(--brand-strong); }
tr:last-child td { border-bottom: none; }
td:first-child { color: var(--ink-soft); }
.yes { color: var(--brand-strong); font-weight: 700; }

/* Steps */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; }
.step-num { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.85rem; color: #fff; background: var(--brand-strong); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px; }
.step.editor { border: 2px solid var(--brand); background: var(--surface); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-bottom: 12px; background: #fff; }
.faq details[open] { border-color: var(--brand); background: var(--surface); }
.faq summary { font-family: "Poppins", sans-serif; font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-strong); font-size: 1.5rem; line-height: 1; transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; }

/* CTA band */
.cta-band { background: var(--night); border-radius: 24px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(152,91,230,0.45), transparent 65%); pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #c9c2d6; max-width: 560px; margin: 12px auto 0; position: relative; }
.cta-band .btn-row { position: relative; justify-content: center; }
.cta-band .btn-primary { background: var(--brand); }
.cta-band .btn-primary:hover { background: #a874ec; }
.cta-band .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-grid .card { display: flex; flex-direction: column; }
.contact-grid .card p { flex: 1; margin-bottom: 22px; }
.contact-grid .price-tag { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--brand-strong); margin-bottom: 8px; }
.email-big { display: inline-block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--brand-strong); text-decoration: none; margin-top: 22px; border-bottom: 3px solid var(--lilac); word-break: break-all; }
.email-big:hover { border-color: var(--brand); }
.checklist { list-style: none; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.checklist li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-soft); }
.checklist li::before { content: "\2197"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* Footer */
footer { background: var(--night); color: #bfb8cc; padding: 56px 0 36px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.foot img { height: 56px; width: auto; margin-bottom: 14px; }
.foot p { color: #bfb8cc; font-size: 0.94rem; max-width: 320px; }
.foot h4 { font-family: "Poppins", sans-serif; color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; }
.foot ul { list-style: none; }
.foot li { padding: 4px 0; }
.foot a { color: #bfb8cc; text-decoration: none; font-size: 0.94rem; }
.foot a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 22px; font-size: 0.86rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .pricing, .contact-grid { grid-template-columns: 1fr; }
  .grid-2, .compare, .steps { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 56px; }
  .hero-simple { padding: 56px 0 44px; }
  .brand img { height: 44px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 6px 20px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,0.15); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 14px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a.active { box-shadow: none; color: var(--brand-strong); }
  .strip-grid { grid-template-columns: 1fr; gap: 16px; }
  .checklist { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .edit-card { padding: 22px; }
}
