:root, [data-theme="light"] {
  --fg: #1a1a1a;
  --muted: #666;
  --bg: #fafafa;
  --card: #fff;
  --card-soft: #f7f7f7;
  --border: #e0e0e0;
  --hover: #f0f0f0;
  --primary: #2563eb;
  --primary-fg: #fff;
  --danger: #dc2626;
  --error-bg: #fee2e2;
  --error-fg: #991b1b;
  --accent-paused: #fafafa;
}

[data-theme="dark"] {
  --fg: #e8e8e8;
  --muted: #9aa0a6;
  --bg: #121417;
  --card: #1c1f24;
  --card-soft: #23272d;
  --border: #2e333a;
  --hover: #262a30;
  --primary: #5b8def;
  --primary-fg: #0b0e12;
  --danger: #ef6e6e;
  --error-bg: #3a1d1d;
  --error-fg: #ffb4b4;
  --accent-paused: #181a1d;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fg: #e8e8e8;
    --muted: #9aa0a6;
    --bg: #121417;
    --card: #1c1f24;
    --card-soft: #23272d;
    --border: #2e333a;
    --hover: #262a30;
    --primary: #5b8def;
    --primary-fg: #0b0e12;
    --danger: #ef6e6e;
    --error-bg: #3a1d1d;
    --error-fg: #ffb4b4;
    --accent-paused: #181a1d;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.error {
  background: var(--error-bg);
  color: var(--error-fg);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin: 1rem 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 1.15rem; color: var(--fg); }
.topbar nav { display: flex; align-items: center; gap: 0.75rem; }
.navlink { color: var(--muted); padding: 0.25rem 0.5rem; border-radius: 5px; }
.navlink:hover { color: var(--fg); background: var(--hover); text-decoration: none; }

.theme-toggle {
  background: none; border: 1px solid var(--border); color: var(--muted);
  padding: 0.25rem 0.55rem; border-radius: 5px; cursor: pointer; font: inherit;
  font-size: 0.95rem; line-height: 1;
}
.theme-toggle:hover { color: var(--fg); background: var(--hover); }

.help-block { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: 8px; }
.help-block h2 { margin-top: 0; font-size: 1.05rem; }
.help-block ul { margin: 0.5rem 0 0.5rem 1.25rem; padding: 0; }
.help-block li { margin-bottom: 0.3rem; }

main { max-width: 960px; margin: 2rem auto; padding: 0 1.25rem; }
.page.narrow { max-width: 600px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  max-width: 420px;
  margin: 4rem auto;
}
.card.centered { text-align: center; }

.row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.stack > * + * { margin-top: 1rem; }

.btn {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.btn.primary:hover { filter: brightness(0.95); }
.btn.danger { color: var(--danger); }
.btn.danger:hover { background: var(--error-bg); }
.btn.small { padding: 0.3rem 0.6rem; font-size: 0.85rem; }
button.link {
  background: none; border: none; color: var(--primary);
  cursor: pointer; padding: 0; font: inherit;
}
button.link:hover { text-decoration: underline; }

/* Reminder cards */
.reminder-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.reminder-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem 0.9rem 1.4rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  border-left-width: 5px;
}
.reminder-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.reminder-card.paused { background: var(--accent-paused); opacity: 0.7; }
.reminder-card.kind-interval { border-left-color: #5b8def; }
.reminder-card.kind-weekly   { border-left-color: #22c55e; }
.reminder-card.kind-oneoff   { border-left-color: #f59e0b; }
.reminder-card.kind-cron     { border-left-color: #a855f7; }
.reminder-card.paused        { border-left-color: var(--muted) !important; }
.rc-head {
  display: flex; align-items: center; gap: 0.6rem;
  flex-wrap: wrap;
}
.rc-state { font-size: 1rem; line-height: 1; display: inline-flex; align-items: center; }
.rc-dot {
  display: inline-block; width: 0.55rem; height: 0.55rem;
  border-radius: 50%; background: #22c55e;
}
.rc-name {
  margin: 0; font-size: 1.05rem; font-weight: 600;
  flex: 1 1 auto; min-width: 0;
}
.rc-when {
  color: var(--muted); font-size: 0.85rem; white-space: nowrap;
}
.rc-note {
  margin: 0.5rem 0 0; white-space: pre-wrap; color: var(--fg);
}
.rc-schedule { margin: 0.4rem 0 0; }
.rc-actions {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  margin-top: 0.75rem;
}
.snooze-form { display: inline-flex; gap: 0.3rem; align-items: center; }
.snooze-select { padding: 0.3rem 0.4rem; font-size: 0.875rem; }
.site-footer {
  text-align: center; padding: 1.5rem 1rem 2rem; color: var(--muted);
  font-size: 0.875rem; border-top: 1px solid var(--border); margin-top: 3rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.site-footer .sep { margin: 0 0.5rem; opacity: 0.5; }

fieldset { border: 1px solid var(--border); border-radius: 6px; padding: 0.75rem 1rem; }
legend { padding: 0 0.4rem; font-weight: 600; }
label { display: block; margin-bottom: 0.25rem; }
label.radio, label.checkbox { display: inline-flex; align-items: center; gap: 0.4rem; margin-right: 1rem; margin-bottom: 0.5rem; }
input[type=text], input[type=number], input[type=time], input[type=date], select, textarea {
  font: inherit;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--card);
  color: var(--fg);
}
textarea { width: 100%; resize: vertical; font-family: inherit; min-height: 14rem; line-height: 1.5; }
.note { margin-top: 0.2rem; white-space: pre-wrap; }
.kind-block { padding: 1rem; background: var(--card-soft); border-radius: 6px; }
.kind-picker label.radio { margin-bottom: 0.4rem; }
.time-spec .time-row { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.time-spec .time-row label { margin-bottom: 0; }
.time-windows { display: flex; flex-direction: column; gap: 0.4rem; margin: 0.4rem 0 0.4rem 1.6rem; }
.time-window-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.remove-window-btn { padding: 0.15rem 0.5rem; line-height: 1; color: var(--muted); }
.settings { margin-top: 2rem; }
.inline-form { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding-top: 0.5rem; }

/* ================================================================== */
/* LANDING PAGE                                                        */
/* ================================================================== */

.home-page, .home-page * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
main.home-page { max-width: 100%; padding: 0; margin: 0; }

/* ─── Marketing nav ─────────────────────────────────────────────── */
.mktg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme="dark"] .mktg-header {
  background: rgba(18,20,23,0.85);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mktg-header {
    background: rgba(18,20,23,0.85);
  }
}
.mktg-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.mktg-brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.mktg-brand:hover { text-decoration: none; color: var(--fg); }
.mktg-nav { display: flex; align-items: center; gap: 0.125rem; flex: 1; }
.mktg-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 7px;
  text-decoration: none;
  transition: color 0.12s, background 0.12s;
}
.mktg-nav a:hover { color: var(--fg); background: var(--hover); text-decoration: none; }
.mktg-header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.mktg-signin {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 7px;
  transition: color 0.12s, background 0.12s;
}
.mktg-signin:hover { color: var(--fg); background: var(--hover); text-decoration: none; }
.mktg-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.12s, transform 0.1s;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.mktg-cta-btn:hover { opacity: 0.82; text-decoration: none; color: var(--bg); transform: translateY(-1px); }
@media (max-width: 680px) {
  .mktg-nav { display: none; }
  .mktg-signin { display: none; }
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.lp-hero {
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 60%, rgba(37,99,235,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 30%, rgba(124,58,237,0.07) 0%, transparent 65%);
  pointer-events: none;
}
[data-theme="dark"] .lp-hero::before {
  background:
    radial-gradient(ellipse 70% 55% at 15% 60%, rgba(91,141,239,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 30%, rgba(167,139,250,0.1) 0%, transparent 65%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-hero::before {
    background:
      radial-gradient(ellipse 70% 55% at 15% 60%, rgba(91,141,239,0.12) 0%, transparent 65%),
      radial-gradient(ellipse 55% 45% at 85% 30%, rgba(167,139,250,0.1) 0%, transparent 65%);
  }
}
.lp-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .lp-hero-visual { order: -1; }
}
.lp-geo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  background: var(--card);
}
.lp-hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}
.lp-accent { color: var(--primary); }
.lp-hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 2.25rem;
  max-width: 420px;
  font-weight: 400;
}
.lp-hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  transition: filter 0.15s, transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  letter-spacing: -0.01em;
}
.lp-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.45);
  text-decoration: none;
  color: #fff;
}
.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  background: var(--card);
  transition: color 0.12s, background 0.12s, border-color 0.12s;
}
.lp-btn-ghost:hover { color: var(--fg); background: var(--hover); text-decoration: none; border-color: var(--fg); }
.lp-hero-fine { margin-top: 1.25rem; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.01em; }

/* ─── Telegram mockup ───────────────────────────────────────────── */
.tg-mockup {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.04),
    0 24px 48px rgba(0,0,0,0.1),
    0 8px 16px rgba(0,0,0,0.06);
  max-width: 420px;
  margin: 0 auto;
}
.tg-top {
  padding: 0.875rem 1.1rem;
  background: var(--card-soft);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tg-dots { display: flex; gap: 0.4rem; }
.tg-dots span {
  width: 0.65rem; height: 0.65rem;
  border-radius: 50%;
}
.tg-dots span:nth-child(1) { background: #ff5f57; }
.tg-dots span:nth-child(2) { background: #febc2e; }
.tg-dots span:nth-child(3) { background: #28c840; }
.tg-title { display: flex; align-items: center; gap: 0.6rem; }
.tg-avatar {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-name { font-size: 0.9rem; font-weight: 600; line-height: 1.1; }
.tg-status { font-size: 0.7rem; color: #22c55e; font-weight: 500; }
.tg-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }
.tg-msg {
  max-width: 80%;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.tg-msg--user {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.tg-msg--bot {
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--fg);
}
.tg-detail {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.tg-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.65rem 0.9rem;
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.tg-typing span {
  width: 0.4rem; height: 0.4rem;
  border-radius: 50%;
  background: var(--muted);
  animation: tg-bounce 1.4s ease-in-out infinite;
}
.tg-typing span:nth-child(2) { animation-delay: 0.2s; }
.tg-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tg-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ─── Section scaffolding ───────────────────────────────────────── */
.lp-section { padding: 5.5rem 1.5rem; }
.lp-section--alt { background: var(--card-soft); }
.lp-container { max-width: 1120px; margin: 0 auto; }
.lp-section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.875rem;
}
.lp-section-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.875rem;
  text-align: center;
}
.lp-section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 3.5rem;
  font-weight: 400;
}

/* ─── Bento feature grid ─────────────────────────────────────────── */
.lp-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}
@media (max-width: 860px) { .lp-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .lp-bento { grid-template-columns: 1fr; } }

.lp-feat {
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--card);
}
.lp-feat:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-3px); }
.lp-feat--wide { grid-column: span 2; }
@media (max-width: 860px) { .lp-feat--wide { grid-column: span 2; } }
@media (max-width: 540px) { .lp-feat--wide { grid-column: span 1; } }

/* Colored tint backgrounds per card */
.lp-feat--blue  { background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, var(--card) 60%); }
.lp-feat--amber { background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, var(--card) 60%); }
.lp-feat--green { background: linear-gradient(135deg, rgba(34,197,94,0.05) 0%, var(--card) 60%); }
.lp-feat--purple{ background: linear-gradient(135deg, rgba(168,85,247,0.05) 0%, var(--card) 60%); }
.lp-feat--rose  { background: linear-gradient(135deg, rgba(244,63,94,0.05) 0%, var(--card) 60%); }
.lp-feat--slate { background: var(--card-soft); }
[data-theme="dark"] .lp-feat--blue   { background: linear-gradient(135deg, rgba(91,141,239,0.08) 0%, var(--card) 60%); }
[data-theme="dark"] .lp-feat--amber  { background: linear-gradient(135deg, rgba(251,191,36,0.07) 0%, var(--card) 60%); }
[data-theme="dark"] .lp-feat--green  { background: linear-gradient(135deg, rgba(74,222,128,0.06) 0%, var(--card) 60%); }
[data-theme="dark"] .lp-feat--purple { background: linear-gradient(135deg, rgba(196,132,249,0.07) 0%, var(--card) 60%); }
[data-theme="dark"] .lp-feat--rose   { background: linear-gradient(135deg, rgba(251,113,133,0.07) 0%, var(--card) 60%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-feat--blue   { background: linear-gradient(135deg, rgba(91,141,239,0.08) 0%, var(--card) 60%); }
  :root:not([data-theme="light"]) .lp-feat--amber  { background: linear-gradient(135deg, rgba(251,191,36,0.07) 0%, var(--card) 60%); }
  :root:not([data-theme="light"]) .lp-feat--green  { background: linear-gradient(135deg, rgba(74,222,128,0.06) 0%, var(--card) 60%); }
  :root:not([data-theme="light"]) .lp-feat--purple { background: linear-gradient(135deg, rgba(196,132,249,0.07) 0%, var(--card) 60%); }
  :root:not([data-theme="light"]) .lp-feat--rose   { background: linear-gradient(135deg, rgba(251,113,133,0.07) 0%, var(--card) 60%); }
}

.lp-feat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.lp-feat-icon svg { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
.lp-feat-icon--blue  { background: rgba(37,99,235,0.1);  color: #2563eb; }
.lp-feat-icon--green { background: rgba(34,197,94,0.1);  color: #16a34a; }
.lp-feat-icon--amber { background: rgba(245,158,11,0.1); color: #d97706; }
.lp-feat-icon--purple{ background: rgba(168,85,247,0.1); color: #9333ea; }
.lp-feat-icon--rose  { background: rgba(244,63,94,0.1);  color: #e11d48; }
.lp-feat-icon--slate { background: rgba(100,116,139,0.1);color: #64748b; }
[data-theme="dark"] .lp-feat-icon--blue   { background: rgba(91,141,239,0.15);  color: #7ba8f5; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .lp-feat-icon--green  { background: rgba(74,222,128,0.12);  color: #4ade80; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .lp-feat-icon--amber  { background: rgba(251,191,36,0.12);  color: #fbbf24; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .lp-feat-icon--purple { background: rgba(196,132,249,0.12); color: #c084fc; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .lp-feat-icon--rose   { background: rgba(251,113,133,0.12); color: #fb7185; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .lp-feat-icon--slate  { background: rgba(148,163,184,0.1);  color: #94a3b8; border-color: rgba(255,255,255,0.06); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-feat-icon--blue   { background: rgba(91,141,239,0.15);  color: #7ba8f5; border-color: rgba(255,255,255,0.06); }
  :root:not([data-theme="light"]) .lp-feat-icon--green  { background: rgba(74,222,128,0.12);  color: #4ade80; border-color: rgba(255,255,255,0.06); }
  :root:not([data-theme="light"]) .lp-feat-icon--amber  { background: rgba(251,191,36,0.12);  color: #fbbf24; border-color: rgba(255,255,255,0.06); }
  :root:not([data-theme="light"]) .lp-feat-icon--purple { background: rgba(196,132,249,0.12); color: #c084fc; border-color: rgba(255,255,255,0.06); }
  :root:not([data-theme="light"]) .lp-feat-icon--rose   { background: rgba(251,113,133,0.12); color: #fb7185; border-color: rgba(255,255,255,0.06); }
  :root:not([data-theme="light"]) .lp-feat-icon--slate  { background: rgba(148,163,184,0.1);  color: #94a3b8; border-color: rgba(255,255,255,0.06); }
}
.lp-feat h3 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.lp-feat p  { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.lp-paid-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--primary);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.35rem;
}

/* Inline example inside wide feature card */
.lp-feat-example {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.lp-feat-ex-msg {
  display: block;
  font-size: 0.83rem;
  padding: 0.5rem 0.75rem;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  border-bottom-right-radius: 3px;
  align-self: flex-end;
  max-width: 90%;
}
.lp-feat-ex-reply {
  display: block;
  font-size: 0.83rem;
  padding: 0.5rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  color: var(--fg);
  max-width: 90%;
}

/* ─── How it works ──────────────────────────────────────────────── */
.lp-steps {
  display: grid;
  grid-template-columns: 1fr 2rem 1fr 2rem 1fr;
  gap: 0;
  align-items: start;
  margin-top: 3.5rem;
}
@media (max-width: 700px) {
  .lp-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .lp-step-connector { display: none; }
}
.lp-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}
.lp-step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.lp-step-body h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 700; }
.lp-step-body p  { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.65; }
.lp-step-connector {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2.6rem;
  color: var(--border);
  font-size: 1.1rem;
}
.lp-step-connector::after { content: "→"; }

/* ─── Pricing ───────────────────────────────────────────────────── */
.lp-pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) { .lp-pricing-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lp-pricing-row { grid-template-columns: 1fr; } }
.lp-plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Gradient border wrapper for featured plan */
.lp-plan-gradient-wrap {
  padding: 2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  box-shadow: 0 8px 32px rgba(37,99,235,0.2);
}
.lp-plan--featured {
  border: none;
  border-radius: 18px;
  box-shadow: none;
}
.lp-plan-popular {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.lp-plan-header { margin-bottom: 1.5rem; }
.lp-plan-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.lp-plan-price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.lp-plan-cycle { font-size: 0.83rem; color: var(--muted); margin-top: 0.35rem; }
.lp-plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.lp-plan-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.lp-plan-list li::before {
  content: '';
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: rgba(37,99,235,0.1);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}
[data-theme="dark"] .lp-plan-list li::before {
  background-color: rgba(91,141,239,0.15);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%235b8def' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-plan-list li::before {
    background-color: rgba(91,141,239,0.15);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%235b8def' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
.lp-plan-btn {
  display: block;
  text-align: center;
  padding: 0.8rem 1.25rem;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--fg);
  transition: background 0.12s, border-color 0.12s, transform 0.12s;
  letter-spacing: -0.01em;
}
.lp-plan-btn:hover { background: var(--hover); text-decoration: none; color: var(--fg); border-color: var(--fg); }
.lp-plan-btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.lp-plan-btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}
.lp-plan-note { font-size: 0.76rem; color: var(--muted); text-align: center; margin: 0.75rem 0 0; }

/* ─── Blog preview ──────────────────────────────────────────────── */
.lp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}
@media (max-width: 860px) { .lp-blog-grid { grid-template-columns: 1fr; } }
.lp-blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--fg);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.lp-blog-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-3px); text-decoration: none; color: var(--fg); border-color: var(--primary); }
.lp-blog-date { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.lp-blog-card h3 { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.lp-blog-card p { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.6; flex: 1; }
.lp-blog-read { font-size: 0.85rem; color: var(--primary); font-weight: 600; }

/* ─── FAQ ───────────────────────────────────────────────────────── */
.lp-faq-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 700px) {
  .lp-faq-wrap { grid-template-columns: 1fr; gap: 2rem; }
}
.lp-faq-head .lp-section-h2 { text-align: left; }
.lp-faq-list { display: flex; flex-direction: column; }
.lp-faq { border-bottom: 1px solid var(--border); }
.lp-faq:first-child { border-top: 1px solid var(--border); }
.lp-faq summary {
  padding: 1.1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: color 0.12s;
  letter-spacing: -0.01em;
}
.lp-faq summary:hover { color: var(--primary); }
.lp-faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  line-height: 1;
}
.lp-faq[open] summary::after { content: '−'; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq p { margin: 0 0 1.25rem; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* ─── Bottom CTA ────────────────────────────────────────────────── */
.lp-bottom-cta {
  padding: 7rem 1.5rem;
  text-align: center;
  background: var(--card-soft);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.lp-bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] .lp-bottom-cta::before {
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(91,141,239,0.08) 0%, transparent 70%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-bottom-cta::before {
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(91,141,239,0.08) 0%, transparent 70%);
  }
}
.lp-bottom-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  position: relative;
}
.lp-bottom-cta p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 2.25rem;
  position: relative;
}

/* ─── Footer ────────────────────────────────────────────────────── */
.lp-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 0;
}
.lp-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 680px) {
  .lp-footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.lp-footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.6rem;
  color: var(--fg);
}
.lp-footer-brand p { margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.65; max-width: 240px; }
.lp-footer-cols { display: flex; gap: 3.5rem; }
@media (max-width: 480px) { .lp-footer-cols { gap: 2rem; } }
.lp-footer-col { display: flex; flex-direction: column; gap: 0.65rem; min-width: 90px; }
.lp-footer-col-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.lp-footer-col a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.12s; font-weight: 400; }
.lp-footer-col a:hover { color: var(--fg); text-decoration: none; }
.lp-footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.lp-footer-bottom a { color: var(--muted); text-decoration: none; }
.lp-footer-bottom a:hover { color: var(--fg); }
.lp-footer-sep { margin: 0 0.65rem; opacity: 0.35; }

/* ─── Blog list & post pages ────────────────────────────────────── */
.blog-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.blog-list-item {
  display: block;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--fg);
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-list-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-1px); text-decoration: none; color: var(--fg); }
.bli-date { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.4rem; }
.blog-list-item h2 { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 700; }
.blog-list-item p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.bp-read { font-size: 0.875rem; color: var(--primary); font-weight: 500; }

.post-header { margin-bottom: 2rem; }
.post-header h1 { margin: 0.25rem 0 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.post-body { line-height: 1.8; font-size: 1.02rem; }
.post-body h2 { margin-top: 2.25rem; font-size: 1.25rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body p { margin-bottom: 1.1rem; }
.post-body a { color: var(--primary); }
