/* Mursil — mursil.online
   One stylesheet for every page. No build step: these files go straight into
   public_html and work as they are. */

:root {
  --bg: #fbfbfd;
  --panel: #ffffff;
  --panel-2: #f5f5f8;
  --text: #16161d;
  --text-2: #45454f;
  --muted: #6c6c78;
  --border: #e5e5ea;
  --accent: #4338ca;
  --accent-hover: #3730a3;
  --accent-soft: #eef0fd;
  --ok: #067647;
  --warn: #b54708;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(22,22,29,.07), 0 1px 2px rgba(22,22,29,.04);
  --shadow-lg: 0 14px 40px rgba(22,22,29,.10), 0 2px 8px rgba(22,22,29,.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* ── Header ───────────────────────────────────────────────────────────── */
header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 20;
}
header.site .wrap {
  display: flex; align-items: center; gap: 26px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(145deg, #5b4fe0, #2a2170);
  display: grid; place-items: center;
}
.brand .mark svg { width: 21px; height: 21px; display: block; }
.brand b { font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
nav.site { margin-left: auto; display: flex; align-items: center; gap: 22px; }
nav.site a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
nav.site a:hover { color: var(--text); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1px solid var(--border);
  background: var(--panel); color: var(--text);
  font: inherit; font-size: 15px; font-weight: 560;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow);
  transition: background .14s, border-color .14s, transform .06s;
}
.btn:hover { background: var(--panel-2); border-color: #d3d3db; color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(67,56,202,.32);
}
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn.sm { height: 38px; padding: 0 15px; font-size: 14px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 78px 0 62px; text-align: center; }
.hero h1 {
  margin: 0 0 18px; font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 680; letter-spacing: -.035em; line-height: 1.06;
}
.hero p.lede {
  margin: 0 auto 30px; max-width: 60ch; font-size: 18px; color: var(--muted);
}
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ── Sections ─────────────────────────────────────────────────────────── */
section { padding: 56px 0; }
section h2 {
  margin: 0 0 10px; font-size: 27px; font-weight: 660; letter-spacing: -.026em;
}
section > .wrap > p.sub { margin: 0 0 32px; color: var(--muted); max-width: 66ch; }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.step .n {
  width: 27px; height: 27px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 680; margin-bottom: 13px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 630; letter-spacing: -.012em; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

.feats { display: grid; gap: 26px 34px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.feat h3 { margin: 0 0 5px; font-size: 16px; font-weight: 630; letter-spacing: -.012em; }
.feat p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.plans {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  max-width: 780px; margin: 0 auto;
}
.plan {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.plan.best { border-color: var(--accent); box-shadow: var(--shadow-lg); position: relative; }
.plan.best::after {
  content: "Most popular"; position: absolute; top: -11px; left: 28px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 620; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 11px; border-radius: 999px;
}
.plan h3 { margin: 0 0 4px; font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.plan .alt { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 0; flex: 1; }
.plan li { padding: 6px 0 6px 25px; position: relative; font-size: 14.5px; }
.plan li::before {
  content: ""; position: absolute; left: 3px; top: 13px;
  width: 6px; height: 10px; border: solid var(--ok);
  border-width: 0 2px 2px 0; transform: rotate(43deg);
}
.plan li.no { color: var(--muted); }
.plan li.no::before {
  content: "—"; border: 0; left: 2px; top: 6px;
  width: auto; height: auto; transform: none; color: var(--muted); font-weight: 600;
}

/* ── Prose pages ──────────────────────────────────────────────────────── */
.prose { padding: 52px 0 76px; }
.prose h1 { font-size: 32px; font-weight: 670; letter-spacing: -.028em; margin: 0 0 6px; }
.prose .updated { color: var(--muted); font-size: 14px; margin: 0 0 36px; }
.prose h2 {
  font-size: 19px; font-weight: 640; letter-spacing: -.018em;
  margin: 38px 0 10px; padding-top: 4px;
}
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose .callout {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 26px 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout p:first-child { margin-top: 0; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--border);
  padding: 34px 0 46px; margin-top: 40px;
  font-size: 14px; color: var(--muted);
}
footer.site .row { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); text-decoration: underline; }
footer.site .legal { margin-top: 18px; font-size: 12.5px; line-height: 1.6; }

@media (max-width: 640px) {
  nav.site { gap: 15px; }
  nav.site a.hide-sm { display: none; }
  .hero { padding: 54px 0 44px; }
  section { padding: 42px 0; }
}
