*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:#f0eee8; --surface:#ffffff; --surface-2:#fafaf8;
  --toolbar-bg:#ffffff; --toolbar-border:#e2e0d8;
  --btn-border:#d4d2ca; --btn-text:#2c2c2a; --btn-hover:#f5f3ef;
  --text-muted:#888780; --purple:#534AB7; --purple-light:#EEEDFE; --purple-dark:#4540a0;
}
body { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; background:var(--bg); color:var(--btn-text); }

/* Nav */
nav { position:sticky; top:0; z-index:100; display:flex; align-items:center; height:60px; padding:0 40px; background:var(--surface); border-bottom:1px solid var(--toolbar-border); }
.nav-logo img { height:32px; display:block; }
.nav-links { display:flex; align-items:center; gap:6px; margin-left:auto; }
.nav-link { font-size:13.5px; color:var(--text-muted); text-decoration:none; padding:7px 14px; border-radius:8px; transition:background .12s,color .12s; border:none; background:none; cursor:pointer; font-family:inherit; }
.nav-link:hover { background:var(--btn-hover); color:var(--btn-text); }
.nav-cta { font-size:13.5px; font-weight:600; color:#fff; background:var(--purple); padding:8px 18px; border-radius:8px; text-decoration:none; transition:background .12s; }
.nav-cta:hover { background:var(--purple-dark); }

/* Hero */
.hero { display:flex; flex-direction:column; align-items:center; text-align:center; padding:80px 24px 60px; }
.hero-badge { display:inline-flex; align-items:center; gap:6px; background:var(--purple-light); color:var(--purple); font-size:12.5px; font-weight:600; padding:5px 14px; border-radius:20px; margin-bottom:28px; }
.hero h1 { font-size:clamp(32px,5vw,52px); font-weight:800; line-height:1.1; letter-spacing:-.02em; max-width:700px; margin-bottom:20px; }
.hero h1 span { color:var(--purple); }
.hero p { font-size:17px; color:var(--text-muted); max-width:520px; line-height:1.6; margin-bottom:36px; }
.hero-btns { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.btn-primary { display:inline-flex; align-items:center; gap:8px; background:var(--purple); color:#fff; font-size:15px; font-weight:600; padding:13px 28px; border-radius:10px; text-decoration:none; transition:background .12s; box-shadow:0 4px 14px rgba(83,74,183,.3); }
.btn-primary:hover { background:var(--purple-dark); }
.btn-secondary { display:inline-flex; align-items:center; gap:8px; background:var(--surface); color:var(--btn-text); font-size:15px; font-weight:500; padding:13px 28px; border-radius:10px; text-decoration:none; border:1.5px solid var(--btn-border); transition:border-color .12s,background .12s; }
.btn-secondary:hover { border-color:var(--purple); background:var(--purple-light); color:var(--purple); }

/* Preview */
.preview-wrap { padding:0 24px 80px; display:flex; justify-content:center; }
.preview-card { background:var(--surface); border-radius:18px; width:100%; max-width:860px; box-shadow:0 24px 80px rgba(0,0,0,.10); overflow:hidden; border:1px solid var(--toolbar-border); }
.preview-bar { display:flex; align-items:center; gap:6px; padding:10px 16px; background:var(--surface-2); border-bottom:1px solid var(--toolbar-border); }
.preview-dot { width:10px; height:10px; border-radius:50%; }
.preview-canvas { height:320px; background:var(--bg); position:relative; overflow:hidden; }
.pb { position:absolute; border-radius:12px; border:2.5px solid; padding:12px 16px; font-size:13px; font-weight:600; white-space:nowrap; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.pb-purple { background:#EEEDFE; border-color:#7F77DD; color:#3C3489; }
.pb-teal   { background:#E1F5EE; border-color:#1D9E75; color:#085041; }
.pb-coral  { background:#FAECE7; border-color:#D85A30; color:#712B13; }
.pb-amber  { background:#FAEEDA; border-color:#BA7517; color:#633806; }
.pb-blue   { background:#E6F1FB; border-color:#378ADD; color:#0C447C; }
.pb-pink   { background:#FBEAF0; border-color:#D4537E; color:#72243E; }
.preview-svg { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; overflow:visible; }

/* Features */
.features { padding:70px 24px; max-width:1040px; margin:0 auto; }
.section-label { text-align:center; font-size:12px; font-weight:700; color:var(--purple); text-transform:uppercase; letter-spacing:.1em; margin-bottom:14px; }
.section-title { text-align:center; font-size:clamp(24px,3.5vw,36px); font-weight:800; letter-spacing:-.02em; margin-bottom:52px; }
.section-sub { text-align:center; font-size:15px; color:var(--text-muted); max-width:560px; margin:-32px auto 40px; line-height:1.6; }
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; }
.feature-card { background:var(--surface); border-radius:14px; padding:26px 28px; border:1px solid var(--toolbar-border); }
.feature-icon { width:42px; height:42px; border-radius:10px; margin-bottom:14px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.feature-card h3 { font-size:15px; font-weight:700; margin-bottom:8px; }
.feature-card p  { font-size:13.5px; color:var(--text-muted); line-height:1.6; }

/* How it works */
.how { background:var(--surface); padding:70px 24px; border-top:1px solid var(--toolbar-border); border-bottom:1px solid var(--toolbar-border); }
.how-inner { max-width:900px; margin:0 auto; }
.how-steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:32px; }
.how-step { text-align:center; }
.step-num { width:40px; height:40px; border-radius:50%; background:var(--purple-light); color:var(--purple); font-size:16px; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.how-step h3 { font-size:15px; font-weight:700; margin-bottom:8px; }
.how-step p  { font-size:13.5px; color:var(--text-muted); line-height:1.6; }

/* CTA */
.cta-banner { padding:80px 24px; text-align:center; }
.cta-banner h2 { font-size:clamp(26px,4vw,42px); font-weight:800; letter-spacing:-.02em; margin-bottom:16px; }
.cta-banner p { font-size:16px; color:var(--text-muted); margin-bottom:36px; max-width:460px; margin-left:auto; margin-right:auto; }
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Footer */
footer { background:var(--surface); border-top:1px solid var(--toolbar-border); padding:28px 40px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-logo img { height:24px; opacity:.7; }
.footer-links { display:flex; gap:20px; }
.footer-links a { font-size:13px; color:var(--text-muted); text-decoration:none; }
.footer-links a:hover { color:var(--btn-text); }
.footer-copy { font-size:12px; color:var(--text-muted); }

@media(max-width:600px){
  nav { padding:0 20px; }
  .hero { padding:52px 20px 44px; }
  footer { flex-direction:column; align-items:flex-start; padding:24px 20px; }
}

/* ── Two-column lander layout ─────────────────────────────── */
.lander-wrap {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.lander-sidenav {
  width: 272px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--toolbar-border);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.lander-main {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#lander-tabstrip {
  margin: 0 4px 16px;
}

/* Mobile: stack vertically, sidenav above content */
@media (max-width: 700px) {
  .lander-wrap    { flex-direction: column; }
  .lander-sidenav { width: 100%; max-height: 260px; border-right: none; border-bottom: 1px solid var(--toolbar-border); }
}