:root {
  --rose-50: #fdf3f5;
  --rose-100: #fbe4e9;
  --rose-300: #f2a3b1;
  --rose-500: #e85a6a;
  --rose-600: #d6425a;
  --rose-700: #b23a66;
  --plum-900: #2a1a2e;
  --plum-800: #3a2540;
  --ink: #1a1320;
  --text: #2b2530;
  --muted: #6b5f70;
  --line: #ece2e6;
  --bg: #fffaf8;
  --card: #ffffff;
  --shadow: 0 10px 40px rgba(178, 58, 102, .08);
  --radius: 14px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--rose-700); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 250, 248, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: 'DM Serif Display', serif; font-size: 1.35rem; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand-name strong { color: var(--rose-700); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-size: .95rem; }
.nav-links a:hover { color: var(--rose-700); text-decoration: none; }
.nav-cta {
  background: var(--rose-600); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 500;
  transition: background .15s;
}
.nav-cta:hover { background: var(--rose-700); text-decoration: none !important; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; top: 100%; right: 16px; left: 16px;
    background: var(--card); padding: 20px; border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  background: radial-gradient(ellipse at top right, var(--rose-100), transparent 60%),
              radial-gradient(ellipse at bottom left, #fef4f0, transparent 50%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero .eyebrow { color: var(--rose-700); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; max-width: 520px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-weight: 500; font-size: 1rem; cursor: pointer; border: 0;
  transition: transform .1s, box-shadow .15s;
}
.btn-primary { background: var(--rose-600); color: #fff !important; box-shadow: 0 4px 18px rgba(214, 66, 90, .35); }
.btn-primary:hover { background: var(--rose-700); text-decoration: none !important; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--rose-500); color: var(--rose-700) !important; text-decoration: none !important; }
.hero-visual {
  border-radius: 20px; aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visual svg { display: block; width: 100%; height: 100%; }

@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
}

/* Sections */
section { padding: 80px 0; }
section.alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--card); padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line); transition: transform .15s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--rose-100), var(--rose-300));
  display: grid; place-items: center; margin-bottom: 16px; font-size: 1.4rem;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

@media (max-width: 780px) { .features { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  border: 1.5px solid var(--line); display: flex; flex-direction: column;
  position: relative;
}
.plan.featured { border-color: var(--rose-500); box-shadow: 0 12px 44px rgba(232,90,106,.18); }
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--rose-600); color: #fff; padding: 4px 14px; border-radius: 999px;
  font-size: .75rem; font-weight: 500; letter-spacing: .5px;
}
.plan h3 { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.plan .price { font-family: 'DM Serif Display', serif; font-size: 3rem; color: var(--ink); line-height: 1; }
.plan .price small { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan .tagline { color: var(--muted); margin: 12px 0 24px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan ul li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; }
.plan ul li:last-child { border-bottom: 0; }
.plan ul li::before { content: "✓"; color: var(--rose-600); font-weight: 700; }
.plan .btn { text-align: center; width: 100%; }

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--plum-900), var(--rose-700));
  color: #fff; padding: 64px 24px; border-radius: 20px;
  text-align: center; margin: 40px auto; max-width: calc(var(--max) - 48px);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 520px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn-primary { background: #fff; color: var(--rose-700) !important; }
.cta-band .btn-primary:hover { background: var(--rose-50); }

/* Footer */
.footer { background: var(--plum-900); color: rgba(255,255,255,.75); padding: 64px 0 32px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand strong { color: var(--rose-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: .85rem; }

@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Legal/content pages */
.content-page { padding: 60px 0 40px; max-width: 760px; margin: 0 auto; }
.content-page h1 { margin-bottom: 12px; }
.content-page .updated { color: var(--muted); margin-bottom: 32px; font-size: .9rem; }
.content-page h2 { margin-top: 40px; font-size: 1.5rem; }
.content-page h3 { margin-top: 24px; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1.05rem; }
.content-page ul, .content-page ol { padding-left: 22px; }
.content-page li { margin-bottom: 8px; }
.draft-banner {
  background: #fff4e0; border: 1px solid #f2c987; color: #6e4a0e;
  padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: .92rem;
}
.draft-banner strong { color: #5a3a08; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 500; cursor: pointer; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--rose-600); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { margin-bottom: 12px; }
.faq p { color: var(--muted); margin: 0; }

/* Docs / support page */
.docs-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 48px;
  max-width: var(--max); margin: 0 auto; padding: 48px 24px 80px;
  align-items: start;
}
.docs-sidebar {
  position: sticky; top: 80px;
}
.docs-sidebar h4 {
  font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
  margin: 20px 0 8px;
}
.docs-sidebar h4:first-child { margin-top: 0; }
.docs-sidebar ul { list-style: none; margin: 0; padding: 0; }
.docs-sidebar ul li a {
  display: block; padding: 5px 10px; font-size: .9rem; color: var(--text);
  border-radius: 7px; border-left: 2px solid transparent;
  transition: background .1s, color .1s;
}
.docs-sidebar ul li a:hover { background: var(--rose-50); color: var(--rose-700); text-decoration: none; }
.docs-sidebar ul li a.active { background: var(--rose-50); color: var(--rose-700); border-left-color: var(--rose-500); font-weight: 500; }
.docs-content { min-width: 0; }
.docs-content h1 { margin-bottom: 6px; }
.docs-content .lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 48px; }
.docs-section { margin-bottom: 60px; padding-top: 16px; border-top: 1px solid var(--line); }
.docs-section:first-of-type { border-top: none; margin-top: 0; }
.docs-section h2 { font-size: 1.8rem; margin-bottom: 8px; }
.docs-section h3 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1.05rem; margin: 24px 0 8px; color: var(--ink); }
.docs-section p, .docs-section ul, .docs-section ol { color: var(--text); }
.docs-section ul, .docs-section ol { padding-left: 22px; }
.docs-section li { margin-bottom: 6px; }
.docs-section code {
  background: var(--rose-50); color: var(--rose-700); padding: 1px 6px;
  border-radius: 4px; font-size: .88em; font-family: 'SFMono-Regular', 'Consolas', monospace;
}
.docs-section pre {
  background: var(--plum-900); color: #f8d7de; padding: 16px 20px;
  border-radius: 10px; overflow-x: auto; margin: 12px 0;
}
.docs-section pre code { background: none; color: inherit; padding: 0; font-size: .9rem; }
.plan-badge {
  display: inline-block; font-family: 'DM Sans', sans-serif; font-size: .7rem;
  font-weight: 600; letter-spacing: .5px; padding: 2px 8px; border-radius: 999px;
  vertical-align: middle; margin-left: 8px;
}
.plan-badge.free { background: #e8f5e9; color: #2e7d32; }
.plan-badge.paid { background: #fbe4e9; color: var(--rose-700); }
.plan-badge.addon { background: var(--rose-100); color: var(--rose-700); }
.callout {
  background: var(--rose-50); border-left: 3px solid var(--rose-500);
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0;
  font-size: .95rem;
}
.callout.note { background: #f0f7ff; border-color: #6ba8d6; }
.callout.warn { background: #fff4e0; border-color: #f2c987; }
.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li { counter-increment: steps; display: flex; gap: 14px; margin-bottom: 16px; }
.step-list li::before {
  content: counter(steps); flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--rose-600);
  color: #fff; font-size: .8rem; font-weight: 700;
  display: grid; place-items: center; margin-top: 1px;
}
@media (max-width: 780px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
}

/* Contact form */
.form { max-width: 520px; margin: 0 auto; }
.form label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 1rem; margin-bottom: 16px;
  background: var(--card); color: var(--text);
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--rose-500); }
.form textarea { min-height: 140px; resize: vertical; }
