/* Memberlyst marketing site — custom theme */
:root {
  --accent: #4531d4;
  --accent-700: #3626ad;
  --accent-50: #eeecfb;
  --ink: #1a1730;
  --body: #4a4763;
  --muted: #6b6885;
  --line: #e7e5f0;
  --bg: #ffffff;
  --bg-soft: #f7f6fc;
  --bg-ink: #17142b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(26, 23, 48, .05), 0 12px 32px -12px rgba(69, 49, 212, .18);
  --container: 1140px;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-700); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: 1rem; padding: .8em 1.4em; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .06s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(69,49,212,.6); }
.btn-primary:hover { background: var(--accent-700); color: #fff; }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-50); }
.btn-ghost { background: transparent; color: var(--accent); padding-left: .3em; padding-right: .3em; }
.btn-ghost:hover { color: var(--accent-700); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { padding: .95em 1.8em; font-size: 1.06rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-logo { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink); font-weight: 500; }
.site-nav a:hover { color: var(--accent); }
.site-nav a.active { color: var(--accent); }
.site-nav .btn { color: #fff; }
.nav-burger { display: none; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 78% -10%, var(--accent-50), transparent 60%), var(--bg); padding: 72px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.4em 0 1em; }
.hero-note { color: var(--muted); font-size: .95rem; }

/* Audience strip */
.audience { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); padding: 22px 0; }
.audience .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.audience-lead { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; color: var(--muted); }
.audience-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; }
.audience-list li { color: var(--ink); font-weight: 600; }

/* Sections */
section { scroll-margin-top: 80px; }
.highlights, .feature-row, .features, .pricing, .contact, .prose-page { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-50); color: var(--accent); margin-bottom: 14px; }
.card h3 { color: var(--ink); }
.card p { margin: 0; color: var(--body); }
.ico { width: 24px; height: 24px; }

/* Alternating feature rows (home) */
.feature-row.alt { background: var(--bg-soft); }
.feature-row-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row-inner.reverse .feature-row-copy { order: 2; }
.feature-row-copy p { color: var(--body); font-size: 1.08rem; }

/* Features page blocks */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.feature-block:last-child { border-bottom: 0; }
.feature-block.reverse .feature-block-copy { order: 2; }
.prose :is(p, li) { color: var(--body); }
.prose strong { color: var(--ink); }
.page-head { padding: 64px 0 8px; }
.page-head .lede { max-width: 640px; }
.placeholder-note { display: inline-block; margin-top: 8px; font-size: .9rem; color: var(--accent-700); background: var(--accent-50); border-radius: 999px; padding: .35em 1em; }

/* Screenshot placeholder */
.shot { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, #fbfaff, #f1eefb); box-shadow: var(--shadow); overflow: hidden; width: 100%; }
.shot-inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--accent); }
.shot-inner svg { width: 46px; height: 46px; opacity: .5; }
.shot-inner span { font-weight: 700; color: var(--ink); }
.shot-inner small { text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; color: var(--muted); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .3em .9em; border-radius: 999px; white-space: nowrap; }
.price-name { font-size: 1.25rem; margin: 0 0 .1em; }
.price-members { color: var(--muted); font-weight: 600; font-size: .9rem; margin: 0 0 .8em; }
.price-amount { font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); font-weight: 600; margin: 0 0 .6em; }
.price-period { font-family: var(--font-sans); font-size: .95rem; color: var(--muted); font-weight: 500; }
.price-features { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.price-features li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: .92rem; color: var(--body); }
.price-features li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price-cta { justify-content: center; width: 100%; }
.price-foot { margin-top: 30px; color: var(--muted); }

/* Contact */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: .7em .85em; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.form-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }

/* CTA band */
.cta-band { background: var(--bg-ink); color: #fff; padding: 68px 0; }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #c9c6e0; font-size: 1.12rem; margin-bottom: 1.4em; }

/* Footer */
.site-footer { background: var(--bg-ink); color: #c9c6e0; padding: 56px 0 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-logo { height: 28px; width: auto; margin-bottom: 12px; }
.footer-brand p { max-width: 320px; color: #a7a3c4; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: flex-start; }
.footer-nav a { color: #d7d4ec; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #8f8bb0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .feature-row-inner, .feature-block, .card-grid { grid-template-columns: 1fr; gap: 34px; }
  .feature-row-inner.reverse .feature-row-copy, .feature-block.reverse .feature-block-copy { order: 0; }
  .card-grid { gap: 18px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { order: -1; }
  .hero-shot { max-width: 520px; }
  /* Mobile nav */
  .nav-burger { display: inline-flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; display: none; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; justify-content: center; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}
@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr; }
  .highlights, .feature-row, .features, .pricing, .contact { padding: 54px 0; }
}
