/* ============================================================
   PostZenly — Landing v4 design system (Hopper teardown rebuild)
   Light theme · single indigo/violet accent + neutrals.
   Green = checkmarks / success only. No external fonts or CDNs.
   Full token reference: ../postzenly-landing-v4/design-system.md
   ============================================================ */

:root {
  /* ---- Accent: indigo scale (the ONE accent color) ---- */
  --accent-50:  #eef0ff;
  --accent-100: #e0e7ff;
  --accent-200: #c7d2fe;
  --accent-300: #a5b4fc;
  --accent-400: #818cf8;
  --accent-500: #6366f1;   /* primary */
  --accent-600: #4f46e5;   /* primary-dark */
  --accent-700: #4338ca;
  --accent-800: #3730a3;
  --accent-900: #312e81;

  /* legacy aliases — every existing component keeps resolving */
  --accent: var(--accent-500);
  --accent-dark: var(--accent-600);
  --accent-soft: var(--accent-50);

  /* violet: gradient partner of indigo (one family, not a 2nd accent) */
  --violet: #8b5cf6;
  --violet-dark: #7c3aed;

  /* ---- Neutrals ---- */
  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-2: #fafbfe;
  --border: #e5e7f1;
  --border-soft: #eef0f7;

  /* ---- Text ---- */
  --text: #1b1d29;
  --text-2: #4b4e63;
  --text-3: #8a8fa8;

  /* ---- Success: checkmarks / success states ONLY ---- */
  --green: #16a34a;
  --green-soft: #e7f7ee;

  /* ---- App status colors (dashboard components, not landing) ---- */
  --amber: #d97706;
  --amber-soft: #fef4e2;
  --red: #dc2626;
  --red-soft: #fdecec;
  --blue: #2563eb;
  --blue-soft: #e8f0fe;

  /* ---- Dark surfaces (app sidebar, footer, mock sidebar) ---- */
  --sidebar: #14162b;
  --sidebar-2: #1d2038;
  --sidebar-text: #a7abc7;
  --sidebar-active: #ffffff;

  /* ---- Type ---- */
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-display: clamp(2.75rem, 1.5rem + 5.2vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.6vw, 2.625rem);
  --fs-h3: 1.25rem;
  --fs-lead: 1.125rem;
  --lh-body: 1.65;

  /* ---- Spacing (4px base) ---- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s24: 96px; --s32: 128px;
  --section-pad: 112px;
  --wrap: 1140px;

  /* ---- Radii ---- */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --pill: 999px;

  /* ---- Shadows ---- */
  --shadow: 0 1px 2px rgba(20, 22, 43, 0.05), 0 10px 28px -14px rgba(20, 22, 43, 0.14);
  --shadow-lg: 0 2px 6px rgba(20, 22, 43, 0.06), 0 24px 56px -20px rgba(20, 22, 43, 0.22);
  --shadow-accent: 0 14px 30px -10px rgba(99, 102, 241, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-600); text-decoration: none; }
img { max-width: 100%; display: block; }

button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible {
  outline: 2.5px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ============ Landing base ============ */
.landing {
  background: #fff;
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
}
.landing .brand-mark-sm { width: 34px; height: 34px; border-radius: 11px; }
.landing .brand-mark-sm svg { width: 18px; height: 18px; }

/* ============ Utilities ============ */
.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 720px; }
.lp-section { padding: var(--section-pad) 0; scroll-margin-top: 84px; }
.lp-alt { background: linear-gradient(180deg, var(--surface-2), #f2f3fa); }
.lp-center { text-align: center; margin-top: var(--s10); }

.lp-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-700); margin-bottom: var(--s3);
}
.lp-section h2 {
  font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.12; margin-bottom: var(--s4);
}
.lp-lead {
  font-size: var(--fs-lead); color: var(--text-2); max-width: 680px;
  margin-bottom: var(--s12); line-height: var(--lh-body);
}
.lp-fine {
  font-size: 13px; color: var(--text-3); margin-top: var(--s6);
  max-width: 780px; line-height: 1.6;
}

/* Scroll reveal — visible by default; only hidden when JS opts in
   (html.lp-js), so no-JS visitors always see content. */
.reveal { opacity: 1; transform: none; }
html.lp-js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.8, 0.3, 1),
              transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1);
}
html.lp-js .reveal.in { opacity: 1; transform: none; }

/* ============ App shell ============ */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--sidebar) 0%, #101228 100%);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 22px 20px 18px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--violet) 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px -6px rgba(99, 102, 241, 0.7);
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; stroke: #fff; }
.brand-name { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand-sub { font-size: 11.5px; color: var(--sidebar-text); margin-top: 1px; }

.nav { padding: 6px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: #6b6f94; padding: 14px 12px 6px;
}
.nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; min-height: 44px;
  border-radius: var(--radius-sm);
  color: var(--sidebar-text);
  font-weight: 500; font-size: 14.5px;
  transition: background 0.15s, color 0.15s;
}
.nav-link svg { width: 19px; height: 19px; stroke: currentColor; flex-shrink: 0; }
.nav-link:hover { background: var(--sidebar-2); color: #dfe1f5; }
.nav-link.active { background: rgba(99, 102, 241, 0.18); color: var(--sidebar-active); }
.nav-link.active svg { stroke: var(--accent-300); }

.sidebar-foot {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-500), var(--violet));
  color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center; flex-shrink: 0;
}
.who { min-width: 0; flex: 1; }
.who-name { color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-role { font-size: 11.5px; color: var(--sidebar-text); text-transform: capitalize; }
.logout-btn {
  color: var(--sidebar-text); padding: 8px; border-radius: 8px; min-width: 44px; min-height: 44px;
  display: grid; place-items: center; border: none; background: none; cursor: pointer;
}
.logout-btn:hover { background: var(--sidebar-2); color: #fff; }
.logout-btn svg { width: 18px; height: 18px; stroke: currentColor; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 32px 0;
}
.page-title { font-size: 24px; font-weight: 750; letter-spacing: -0.02em; }
.page-sub { color: var(--text-2); font-size: 14px; margin-top: 2px; }

.content { padding: 22px 32px 48px; max-width: 1180px; width: 100%; margin: 0 auto; }

/* ============ Buttons — fully pill-shaped ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 15px;
  padding: 12px 26px; min-height: 44px;
  border-radius: var(--pill); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.06s, box-shadow 0.2s, background 0.2s, filter 0.2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; stroke: currentColor; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--violet) 100%);
  color: #fff; box-shadow: var(--shadow-accent);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 18px 36px -10px rgba(99, 102, 241, 0.7); }
.btn-secondary { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: var(--shadow); }
.btn-secondary:hover { background: var(--surface-2); border-color: #d3d7ea; transform: translateY(-1px); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: #fbdede; }
.btn-ghost { background: none; color: var(--text-2); padding: 10px 16px; box-shadow: none; }
.btn-ghost:hover { background: var(--border-soft); color: var(--text); }
.btn-sm { padding: 8px 18px; font-size: 13.5px; min-height: 38px; }
.btn-lg { padding: 16px 34px; font-size: 16px; min-height: 54px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ============ Cards & stats ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-pad { padding: 24px; }
.card-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.card-sub { color: var(--text-3); font-size: 13px; margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { padding: 22px; position: relative; overflow: hidden; }
.stat::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--stat-color, var(--accent-500)); border-radius: 4px 0 0 4px;
}
.stat-num { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat-label { color: var(--text-2); font-size: 13.5px; margin-top: 4px; font-weight: 500; }
.stat-icon {
  position: absolute; right: 16px; top: 16px; width: 42px; height: 42px;
  border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--stat-color, var(--accent-500)) 12%, #fff);
}
.stat-icon svg { width: 20px; height: 20px; stroke: var(--stat-color, var(--accent-500)); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

/* ============ Badges (pill) ============ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 650; padding: 5px 12px; border-radius: var(--pill);
  letter-spacing: 0.01em; white-space: nowrap;
}
.badge svg { width: 13px; height: 13px; stroke: currentColor; }
.badge-scheduled { background: var(--blue-soft); color: var(--blue); }
.badge-published { background: var(--green-soft); color: var(--green); }
.badge-failed { background: var(--red-soft); color: var(--red); }
.badge-cancelled { background: #eef0f6; color: var(--text-3); }
.badge-type { background: var(--accent-soft); color: var(--accent-700); }
.badge-business { background: var(--green-soft); color: var(--green); }
.badge-admin { background: #f3e8ff; color: var(--violet-dark); }
.badge-member { background: #eef0f6; color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ============ Post rows ============ */
.post-row {
  display: flex; gap: 16px; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--border-soft);
  transition: background 0.12s;
}
.post-row:last-child { border-bottom: none; }
.post-row:hover { background: var(--surface-2); }
.thumb {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0;
  overflow: hidden; position: relative; background: var(--border-soft);
  display: grid; place-items: center;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph { width: 100%; height: 100%; display: grid; place-items: center; }
.thumb .ph svg { width: 24px; height: 24px; stroke: rgba(255, 255, 255, 0.9); }
/* media placeholders: single accent family, not rainbow */
.ph-reel { background: linear-gradient(135deg, var(--accent-500), var(--violet)); }
.ph-photo { background: linear-gradient(135deg, var(--accent-400), var(--accent-600)); }
.ph-story { background: linear-gradient(135deg, var(--violet), var(--accent-400)); }
.ph-cover { background: linear-gradient(135deg, var(--accent-600), var(--violet-dark)); }
.post-main { flex: 1; min-width: 0; }
.post-cap { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); }
.post-meta .acct { color: var(--text-2); font-weight: 600; }
.post-actions { display: flex; gap: 8px; flex-shrink: 0; }
.post-err { font-size: 12.5px; color: var(--red); margin-top: 6px; }

/* ============ Tabs (app) ============ */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border-soft); margin-bottom: 18px; }
.tab {
  font: inherit; font-weight: 600; font-size: 14px; color: var(--text-3);
  background: none; border: none; padding: 12px 16px; min-height: 44px; cursor: pointer;
  border-bottom: 2.5px solid transparent; margin-bottom: -2px;
  display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--accent-700); border-bottom-color: var(--accent-500); }
.tab .count {
  font-size: 11.5px; font-weight: 700; background: var(--border-soft);
  color: var(--text-2); border-radius: var(--pill); padding: 2px 9px;
}
.tab.active .count { background: var(--accent-soft); color: var(--accent-700); }

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.field { margin-bottom: 20px; }
.field-label { display: block; font-weight: 650; font-size: 13.5px; margin-bottom: 8px; }
.field-hint { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 14.5px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent-500); box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.14);
}
.textarea { min-height: 132px; resize: vertical; }
.char-wrap { position: relative; }
.char-count {
  position: absolute; right: 12px; bottom: 10px; font-size: 12px;
  color: var(--text-3); background: rgba(255, 255, 255, 0.9);
  padding: 1px 8px; border-radius: var(--pill); border: 1px solid var(--border-soft);
}
.char-count.over { color: var(--red); border-color: var(--red); font-weight: 700; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.type-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 6px; }
.type-tab {
  border: 1.5px solid var(--border); background: var(--surface);
  border-radius: var(--radius-sm); padding: 14px 8px; cursor: pointer; text-align: center;
  transition: all 0.15s; font: inherit;
}
.type-tab svg { width: 22px; height: 22px; stroke: var(--text-3); margin: 0 auto 6px; display: block; transition: stroke 0.15s; }
.type-tab span { font-size: 13px; font-weight: 650; color: var(--text-2); }
.type-tab:hover { border-color: var(--accent-200); }
.type-tab.active { border-color: var(--accent-500); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.type-tab.active svg { stroke: var(--accent-700); }
.type-tab.active span { color: var(--accent-700); }

.hint-box {
  display: flex; gap: 10px; background: var(--accent-soft);
  border: 1px solid var(--accent-100); border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 13px; color: var(--accent-800); margin-top: 10px;
}
.hint-box svg { width: 17px; height: 17px; stroke: var(--accent-600); flex-shrink: 0; margin-top: 1px; }

.dropzone {
  border: 2px dashed var(--accent-200); border-radius: var(--radius);
  background: var(--surface-2); padding: 34px 20px; text-align: center;
  cursor: pointer; transition: all 0.15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent-500); background: var(--accent-soft); }
.dropzone svg { width: 34px; height: 34px; stroke: var(--accent-600); margin: 0 auto 10px; display: block; }
.dropzone-title { font-weight: 650; font-size: 14.5px; }
.dropzone-sub { color: var(--text-3); font-size: 13px; margin-top: 4px; }

.preview-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.preview-item { position: relative; width: 92px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; background: var(--border-soft); box-shadow: var(--shadow); }
.preview-item img, .preview-item video { width: 100%; height: 100%; object-fit: cover; }
.preview-item .file-tag {
  position: absolute; bottom: 0; left: 0; right: 0; font-size: 10px; font-weight: 700;
  color: #fff; background: rgba(0,0,0,0.55); padding: 2px 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview-remove {
  position: absolute; top: 5px; right: 5px; width: 30px; height: 30px;
  border-radius: 50%; border: none; background: rgba(0,0,0,0.6); color: #fff;
  cursor: pointer; display: grid; place-items: center; font-size: 14px; line-height: 1;
}
.preview-remove:hover { background: var(--red); }

.side-card { position: sticky; top: 24px; }
.side-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; }
.side-row:last-child { border-bottom: none; }
.side-row .k { color: var(--text-3); }
.side-row .v { font-weight: 650; }

/* ============ Tables ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); }
.tbl th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-3); font-weight: 700; padding: 12px 18px;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.tbl td { padding: 13px 18px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--surface-2); }

/* ============ Calendar ============ */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-title { font-size: 19px; font-weight: 750; letter-spacing: -0.01em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 0; }
.cal-day {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); min-height: 104px; padding: 8px;
  transition: box-shadow 0.15s;
}
.cal-day:hover { box-shadow: var(--shadow); }
.cal-day.dim { background: transparent; border-color: transparent; }
.cal-day.today { border-color: var(--accent-500); box-shadow: 0 0 0 2px rgba(99,102,241,0.18); }
.cal-num { font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.cal-day.today .cal-num { color: var(--accent-700); }
.cal-event {
  display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-700);
  border-radius: 7px; padding: 3px 7px; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: default;
}
.cal-event.st-published { background: var(--green-soft); color: var(--green); }
.cal-event.st-failed { background: var(--red-soft); color: var(--red); }
.cal-event.st-cancelled { background: #eef0f6; color: var(--text-3); }
.cal-event .dot { flex-shrink: 0; }

/* ============ Login ============ */
.login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1200px 600px at 15% 10%, #2b2f6b 0%, var(--sidebar) 55%, #0c0e20 100%);
}
.login-card {
  width: 400px; max-width: 100%; background: var(--surface);
  border-radius: var(--radius-lg); padding: 38px 36px; box-shadow: var(--shadow-lg);
}
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.login-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.login-sub { color: var(--text-2); font-size: 13.5px; margin: -18px 0 22px; }
.login-hint {
  margin-top: 18px; font-size: 12.5px; color: var(--text-3); text-align: center;
  background: var(--surface-2); border: 1px dashed var(--border);
  border-radius: var(--radius-sm); padding: 10px 12px;
}
.login-hint code { background: var(--border-soft); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
.login-byline { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ============ Flash / toast / modal (app) ============ */
.flash {
  padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 18px;
  font-size: 14px; font-weight: 550; display: flex; align-items: center; gap: 10px;
}
.flash-error { background: var(--red-soft); color: #991b1b; border: 1px solid #f5c6c6; }
.flash-ok { background: var(--green-soft); color: #166534; border: 1px solid #bbe7cd; }

.toast-zone { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--sidebar); color: #fff; padding: 13px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 550; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; max-width: 360px;
  animation: toast-in 0.25s ease;
}
.toast.error { background: #7f1d1d; }
.toast svg { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.modal-back, .modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 17, 35, 0.5);
  backdrop-filter: blur(3px); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-back.open, .modal-backdrop.open { display: flex; }
.check-row { display: flex; align-items: center; gap: 10px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.modal { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; width: 420px; max-width: 100%; box-shadow: var(--shadow-lg); }
.modal-title { font-size: 17px; font-weight: 750; margin-bottom: 4px; }
.modal-sub { color: var(--text-2); font-size: 13.5px; margin-bottom: 18px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* ============ Empty states ============ */
.empty { text-align: center; padding: 52px 24px; color: var(--text-3); }
.empty svg { width: 46px; height: 46px; stroke: #c3c7de; margin: 0 auto 14px; display: block; }
.empty-title { font-weight: 700; color: var(--text-2); font-size: 15.5px; margin-bottom: 4px; }
.empty-sub { font-size: 13.5px; }

.empty-hero { text-align: center; padding: 64px 32px !important; }
.empty-hero-icon { width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(135deg, var(--accent-500), var(--violet)); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: var(--shadow-accent); }
.empty-hero-icon svg { width: 34px; height: 34px; stroke: #fff; }
.empty-hero-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.empty-hero-sub { color: var(--text-2); font-size: 14.5px; max-width: 440px; margin: 0 auto 24px; }
.empty-cal-note { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 16px 6px; color: var(--text-3); font-size: 13.5px; }
.empty-cal-note svg { width: 20px; height: 20px; stroke: #c3c7de; flex-shrink: 0; }

/* ============ Settings bits ============ */
.acct-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.acct-row:last-child { border-bottom: none; }
.acct-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-500), var(--violet));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
}
.acct-name { font-weight: 700; font-size: 15px; }
.acct-sub { font-size: 12.5px; color: var(--text-3); }
.status-card { border: 1.5px dashed var(--accent-200); background: var(--surface-2); border-radius: var(--radius); padding: 20px 22px; }
.status-card .row { display: flex; align-items: center; gap: 12px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(217,119,6,0.18); flex-shrink: 0; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.mt { margin-top: 16px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.inline-form .field { margin-bottom: 0; flex: 1; min-width: 150px; }

/* ============ Rebrand additions ============ */
.page-footer {
  text-align: center;
  color: var(--text-3);
  font-size: 12.5px;
  padding: 28px 32px 36px;
  border-top: 1px solid var(--border-soft);
  margin-top: 10px;
}
.about-text { margin-top: 10px; font-size: 13.5px; color: var(--text-2); line-height: var(--lh-body); }
.about-crafted { margin-top: 12px; font-size: 12.5px; color: var(--text-3); font-weight: 600; }

/* ============ IG connect badge, mode tabs, chips ============ */
.ig-conn {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; margin: 0 12px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm); font-size: 12.5px;
}
.ig-conn-text { color: #dfe1f5; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-conn-link { display: flex; align-items: center; gap: 9px; color: var(--sidebar-text); font-weight: 550; }
.ig-conn-link:hover { color: #fff; }
.ig-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.ig-dot.ig-on { background: #22c55e; box-shadow: 0 0 0 3.5px rgba(34, 197, 94, 0.22); }
.ig-dot.ig-off { background: #6b6f94; box-shadow: 0 0 0 3.5px rgba(107, 111, 148, 0.2); }

.mode-tabs { display: inline-flex; gap: 6px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--pill); padding: 6px; margin-bottom: 18px; box-shadow: var(--shadow); }
.mode-tab {
  font: inherit; font-weight: 650; font-size: 14px; color: var(--text-3);
  background: none; border: none; border-radius: var(--pill); padding: 10px 22px; min-height: 44px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.15s;
}
.mode-tab svg { width: 17px; height: 17px; stroke: currentColor; }
.mode-tab:hover { color: var(--text); }
.mode-tab.active { background: linear-gradient(135deg, var(--accent-500), var(--violet)); color: #fff; box-shadow: var(--shadow-accent); }

.form-grid-3 { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; align-items: start; }

.chip-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.chip-row-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); margin-right: 2px; }
.chip-row-body { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: inherit; font-size: 12.5px; font-weight: 650; color: var(--accent-700);
  background: var(--accent-soft); border: 1px solid var(--accent-100); border-radius: var(--pill);
  padding: 8px 15px; min-height: 36px; cursor: pointer; transition: all 0.14s; white-space: nowrap;
}
.chip:hover { background: var(--accent-100); border-color: var(--accent-500); transform: translateY(-1px); }
.chip:active { transform: none; }
.chip-loading { cursor: default; color: var(--text-3); background: var(--surface-2); border-color: var(--border); }
.chip-loading:hover { transform: none; background: var(--surface-2); border-color: var(--border); }
.chip .chip-score { opacity: 0.7; font-weight: 700; }

/* ============ AI Studio ============ */
.studio-card { position: sticky; top: 24px; }
.studio-note { font-size: 12.5px; color: var(--text-3); margin: 10px 0 4px; }
.studio-error { font-size: 13px; color: var(--red); background: var(--red-soft); border: 1px solid #f5c6c6; border-radius: var(--radius-sm); padding: 10px 13px; margin: 10px 0; }
.studio-sec-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin: 16px 0 8px; }
.studio-list { display: flex; flex-direction: column; gap: 10px; }
.studio-cap-card, .studio-tag-card {
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 13px;
  background: var(--surface-2); font-size: 13.5px;
}
.studio-cap-card p { margin-bottom: 10px; white-space: pre-wrap; }
.studio-tag-card .studio-tag-name { font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--accent-700); }
.studio-tag-card .studio-tag-tags { color: var(--text-2); font-size: 13px; margin-bottom: 10px; word-break: break-word; }
.studio-use-btn { width: 100%; }
.spin { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: -3px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Onboarding ============ */
.ob-wrap { max-width: 760px; margin: 0 auto; }
.ob-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.ob-step-dot { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.ob-num {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 750; font-size: 14px; background: var(--surface); border: 2px solid var(--border);
  color: var(--text-3); flex-shrink: 0; transition: all 0.15s;
}
.ob-lbl { font-size: 13.5px; font-weight: 650; color: var(--text-3); white-space: nowrap; }
.ob-step-dot.active .ob-num { background: linear-gradient(135deg, var(--accent-500), var(--violet)); border-color: transparent; color: #fff; box-shadow: var(--shadow-accent); }
.ob-step-dot.active .ob-lbl { color: var(--text); }
.ob-step-dot.done .ob-num { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.ob-bar { flex: 1; height: 2px; background: var(--border); border-radius: 2px; min-width: 20px; }
.ob-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-soft); }

/* ============ Connection card ============ */
.conn-status { display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--accent-200); background: var(--surface-2); border-radius: var(--radius); padding: 16px 18px; }
.conn-status-title { font-weight: 700; font-size: 14.5px; }
.conn-status-sub { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.conn-steps { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 14px; counter-reset: conn; }
.conn-step { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 15px 17px; background: var(--surface); }
.conn-check { display: flex; gap: 12px; cursor: pointer; align-items: flex-start; }
.conn-check input { position: absolute; opacity: 0; pointer-events: none; }
.conn-check-box {
  width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--accent-200);
  flex-shrink: 0; margin-top: 1px; display: grid; place-items: center;
  transition: all 0.14s; background: var(--surface);
}
.conn-check-box::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translateY(-1px); opacity: 0; }
.conn-check input:checked + .conn-check-box { background: linear-gradient(135deg, var(--accent-500), var(--violet)); border-color: transparent; }
.conn-check input:checked + .conn-check-box::after { opacity: 1; }
.conn-check input:focus-visible + .conn-check-box { box-shadow: 0 0 0 3px rgba(99,102,241,0.25); }
.conn-step-title { font-weight: 700; font-size: 14px; display: block; }
.conn-step-help { font-size: 13px; color: var(--text-2); display: block; margin-top: 3px; }
.conn-step-help code { background: var(--border-soft); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
.conn-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.conn-msg { font-size: 13.5px; border-radius: var(--radius-sm); padding: 11px 14px; margin-top: 12px; }
.conn-msg.conn-ok { background: var(--green-soft); color: #166534; border: 1px solid #bbe7cd; }
.conn-msg.conn-err { background: var(--red-soft); color: #991b1b; border: 1px solid #f5c6c6; }

/* ============ Insights heatmap ============ */
.heat-cta { display: flex; gap: 16px; align-items: center; border-left: 4px solid var(--accent-500); }
.heat-cta-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.heat-cta-icon svg { width: 24px; height: 24px; stroke: var(--accent-700); }
.heat-source { background: var(--accent-soft); color: var(--accent-700); }
.heat-loading, .heat-error, .strat-loading, .strat-error { padding: 26px; text-align: center; color: var(--text-3); font-size: 14px; }
.heat-error, .strat-error { color: var(--red); }
.heat-wrap { overflow-x: auto; }
.heat-grid { display: grid; grid-template-columns: 64px repeat(4, 1fr); gap: 7px; min-width: 560px; }
.heat-corner { }
.heat-colh { text-align: center; font-size: 12px; font-weight: 700; color: var(--text-2); padding: 4px 0; }
.heat-rowh { display: flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--text-2); }
.heat-cell {
  position: relative; border-radius: var(--radius-sm); padding: 12px 6px; text-align: center;
  font-weight: 750; font-size: 14px; cursor: default; transition: transform 0.12s;
  min-height: 52px; display: grid; place-items: center;
}
.heat-cell:hover { transform: scale(1.04); z-index: 2; }
.heat-tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px);
  background: var(--sidebar); color: #fff; font-size: 12px; font-weight: 550;
  padding: 8px 12px; border-radius: var(--radius-sm); white-space: nowrap; pointer-events: none;
  opacity: 0; transition: all 0.15s; z-index: 10; box-shadow: var(--shadow-lg);
}
.heat-cell:hover .heat-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.heat-tip strong { color: var(--accent-300); }
.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--text-3); }
.heat-legend-bar { width: 130px; height: 10px; border-radius: var(--pill); background: linear-gradient(90deg, var(--accent-50), var(--accent-500)); }

/* ============ Strategy ============ */
.strat-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.strat-goal input { position: absolute; opacity: 0; pointer-events: none; }
.strat-goal span {
  display: block; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 12px;
  cursor: pointer; transition: all 0.14s; text-align: center;
}
.strat-goal span strong { display: block; font-size: 14px; }
.strat-goal span small { color: var(--text-3); font-size: 12px; }
.strat-goal input:checked + span { border-color: var(--accent-500); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.strat-plan-actions { display: flex; gap: 8px; }
.strat-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.strat-pillar { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--surface-2); }
.strat-pillar-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.strat-pillar-name { font-weight: 700; font-size: 14.5px; }
.strat-pillar-pct { font-weight: 800; color: var(--accent-700); font-size: 15px; }
.strat-pillar-bar { height: 8px; border-radius: var(--pill); background: var(--border-soft); overflow: hidden; margin-bottom: 8px; }
.strat-pillar-fill { height: 100%; border-radius: var(--pill); background: linear-gradient(90deg, var(--accent-500), var(--violet)); }
.strat-pillar-desc { font-size: 13px; color: var(--text-2); }
.strat-cadence { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.strat-day { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 10px 8px; background: var(--surface-2); min-height: 110px; }
.strat-day-name { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-2); text-align: center; margin-bottom: 8px; }
.strat-slot { display: block; font-size: 11.5px; font-weight: 650; background: var(--accent-soft); color: var(--accent-700); border-radius: 7px; padding: 4px 6px; margin-bottom: 5px; text-align: center; }
.strat-day-off { display: block; font-size: 11.5px; color: var(--text-3); text-align: center; padding: 8px 0; }
.strat-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strat-tagset { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 14px; background: var(--surface-2); }
.strat-tagset-name { font-weight: 700; font-size: 13.5px; color: var(--accent-700); margin-bottom: 8px; }
.strat-tagset-tags { font-size: 13px; color: var(--text-2); word-break: break-word; line-height: 1.7; }
.strat-checklist { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.strat-checklist li { display: flex; gap: 10px; font-size: 13.5px; align-items: flex-start; }
.strat-checklist li::before { content: ""; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--accent-200); flex-shrink: 0; margin-top: 2px; }
.strat-timeline { display: flex; flex-direction: column; gap: 0; }
.strat-ms { display: flex; gap: 12px; padding: 10px 0; }
.strat-ms-dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-500), var(--violet)); flex-shrink: 0; margin-top: 4px; box-shadow: 0 0 0 4px var(--accent-soft); }
.strat-ms-body { border-left: 2px solid var(--border-soft); margin-left: -18px; padding-left: 24px; padding-bottom: 6px; }
.strat-ms:last-child .strat-ms-body { border-left-color: transparent; }
.strat-ms-at { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-700); }
.strat-ms-text { font-size: 13.5px; color: var(--text-2); margin-top: 2px; }

/* ============ Bulk upload ============ */
.bulk-dropzone { margin-bottom: 18px; }
.bulk-apply { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.bulk-schedule { border: 1px solid var(--border-soft); border-radius: var(--radius); margin-bottom: 18px; }
.bulk-inline { display: inline-block; width: 76px; padding: 6px 10px; margin: 0 4px; text-align: center; }
.bulk-radio { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.bulk-radio input[type="radio"] { margin-top: 4px; accent-color: var(--accent-500); width: 17px; height: 17px; flex-shrink: 0; }
#bulk-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.bulk-row { display: flex; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--surface); transition: border-color 0.15s; }
.bulk-row:hover { border-color: var(--accent-200); }
.bulk-row.done { border-color: #bbe7cd; background: #f6fdf9; }
.bulk-thumb { width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--border-soft); display: grid; place-items: center; }
.bulk-thumb img, .bulk-thumb video { width: 100%; height: 100%; object-fit: cover; }
.bulk-body { flex: 1; min-width: 0; }
.bulk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bulk-name { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bulk-remove { border: none; background: var(--border-soft); color: var(--text-2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; flex-shrink: 0; }
.bulk-remove:hover { background: var(--red-soft); color: var(--red); }
.bulk-grid { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 12px; }
.bulk-grid .field { margin-bottom: 8px; }
.bulk-note { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.bulk-when-label { font-size: 12.5px; color: var(--accent-700); font-weight: 650; margin-top: 6px; }
.bulk-status { font-size: 13px; font-weight: 650; margin-top: 8px; min-height: 20px; }
.bulk-status-run { color: var(--accent-700); }
.bulk-status-ok { color: var(--green); }
.bulk-status-err { color: var(--red); font-weight: 550; }
.bulk-empty { text-align: center; padding: 34px 20px; color: var(--text-3); border: 1.5px dashed var(--border); border-radius: var(--radius); margin-bottom: 18px; }
.bulk-empty svg { width: 38px; height: 38px; stroke: #c3c7de; margin: 0 auto 10px; display: block; }
.bulk-summary { margin-top: 14px; font-size: 14px; font-weight: 650; text-align: center; padding: 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border-soft); }

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

/* ---------- Sticky nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.lp-nav.scrolled { border-bottom-color: var(--border-soft); box-shadow: 0 8px 28px -18px rgba(20, 22, 43, 0.25); }
.lp-nav-inner { display: flex; align-items: center; gap: var(--s8); height: 72px; }
.lp-logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.lp-logo-name { font-weight: 750; font-size: 18px; letter-spacing: -0.01em; }
.lp-links { display: flex; gap: var(--s6); margin-left: auto; align-items: center; }
.lp-links a {
  color: var(--text-2); font-weight: 550; font-size: 15px; position: relative;
  padding: 10px 2px; /* ≥44px tap target inside the 72px bar */
}
.lp-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--accent-500), var(--violet));
  transition: right 0.22s;
}
.lp-links a:hover { color: var(--text); }
.lp-links a:hover::after { right: 0; }
.lp-nav-ctas { display: flex; align-items: center; gap: 10px; }
.lp-nav-cta { display: none; } /* mobile-only CTA; desktop uses Sign in + hero */

/* Aurora background */
.lp-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lp-aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: aurora-drift 16s ease-in-out infinite alternate; }
.lp-aurora span:nth-child(1) { width: 520px; height: 520px; left: -140px; top: -180px; background: var(--accent-200); }
.lp-aurora span:nth-child(2) { width: 460px; height: 460px; right: -120px; top: -120px; background: #e6defc; animation-delay: -6s; }
.lp-aurora span:nth-child(3) { width: 380px; height: 380px; left: 38%; bottom: -220px; background: var(--accent-100); animation-delay: -11s; }
@keyframes aurora-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.12); }
}

/* ---------- Hero ---------- */
.lp-hero { position: relative; padding: 112px 0 96px; overflow: hidden; background: linear-gradient(180deg, #fbfbff 0%, #f4f5fc 100%); }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s16); align-items: center; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent-700); background: rgba(255,255,255,0.75);
  border: 1px solid var(--accent-100); padding: 8px 16px; border-radius: var(--pill);
  margin-bottom: var(--s6); box-shadow: 0 4px 14px -8px rgba(99,102,241,0.5);
}
.lp-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-500), var(--violet)); animation: badge-pulse 2.2s ease-in-out infinite; }
@keyframes badge-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.45); } 50% { box-shadow: 0 0 0 6px rgba(99,102,241,0); } }
.lp-hero h1 { font-size: var(--fs-display); line-height: 1.04; font-weight: 850; letter-spacing: -0.035em; margin-bottom: var(--s5); }
.lp-grad { background: linear-gradient(100deg, var(--accent-600) 10%, var(--violet) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-sub { font-size: var(--fs-lead); color: var(--text-2); max-width: 560px; margin-bottom: var(--s8); line-height: 1.7; }
.lp-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s4); }
.lp-cta-glow { box-shadow: var(--shadow-accent); }
.lp-cta-glow:hover { box-shadow: 0 18px 40px -10px rgba(99, 102, 241, 0.9); transform: translateY(-1px); }
.lp-micro { font-size: 14px; color: var(--text-3); font-weight: 500; }

/* Animated dashboard mockup — all ids/classes below are driven by landing.js */
.lp-mock { perspective: 1400px; position: relative; }
.mock-window {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -28px rgba(30, 27, 75, 0.35), 0 2px 6px rgba(20,22,43,0.06);
  overflow: hidden; transform: rotateY(-7deg) rotateX(2deg); transition: transform 0.5s ease;
}
.lp-mock:hover .mock-window { transform: rotateY(-3deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #dfe2f0; }
.mock-bar span:first-child { background: #fca5a5; } .mock-bar span:nth-child(2) { background: #fcd34d; } .mock-bar span:nth-child(3) { background: #86efac; }
.mock-url { margin-left: 10px; font-size: 11.5px; font-weight: 600; color: var(--text-3); background: #fff; border: 1px solid var(--border-soft); border-radius: 7px; padding: 3px 12px; font-style: normal; }
.mock-body { display: flex; min-height: 330px; }
.mock-side { width: 118px; background: linear-gradient(180deg, #14162b, #101228); padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.mock-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent-500), var(--violet)); margin-bottom: 6px; }
.mock-nav { height: 22px; border-radius: 6px; background: rgba(255,255,255,0.08); }
.mock-nav.on { background: rgba(99,102,241,0.5); }
.mock-main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); min-width: 0; }
.mock-composer { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.mock-composer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mock-composer-head span { font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.mock-ai { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-700); background: var(--accent-soft); border-radius: var(--pill); padding: 3px 10px; }
.mock-typed { font-size: 14px; color: var(--text); min-height: 44px; line-height: 1.55; }
.mock-caret { display: inline-block; width: 2.5px; height: 16px; background: var(--accent-500); vertical-align: -2px; margin-left: 2px; animation: caret-blink 0.9s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.mock-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 650; color: var(--text-3);
  background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--pill);
  padding: 7px 13px; opacity: 0.45; transform: scale(0.96);
  transition: all 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.hero-chip i { width: 9px; height: 9px; border-radius: 50%; background: #c3c7de; transition: background 0.3s; }
.hero-chip.lit { opacity: 1; transform: scale(1); color: var(--text); background: #fff; border-color: var(--accent-100); box-shadow: 0 4px 12px -6px rgba(99,102,241,0.5); }
.hero-chip.lit i { background: var(--accent-500); } /* one accent — platform identity is in the label */
.mock-pub { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.mock-pub-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: 650; color: var(--text-2); margin-bottom: 8px; }
#hero-pct { color: var(--accent-700); font-variant-numeric: tabular-nums; }
.mock-bar-track { height: 8px; border-radius: var(--pill); background: var(--border-soft); overflow: hidden; margin-bottom: 12px; }
.mock-bar-fill { height: 100%; width: 0%; border-radius: var(--pill); background: linear-gradient(90deg, var(--accent-500), var(--violet)); }
.mock-publish { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-3); background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 14px; transition: all 0.4s; }
.mock-publish .mock-dot { width: 8px; height: 8px; border-radius: 50%; background: #c3c7de; flex-shrink: 0; transition: background 0.3s; }
.mock-publish.done { color: var(--green); background: var(--green-soft); }
.mock-publish.done .mock-dot { background: var(--green); animation: badge-pulse 2s ease-in-out infinite; }

.mock-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 18px 40px -16px rgba(30, 27, 75, 0.35);
  animation: float-y 6s ease-in-out infinite; z-index: 2;
}
.mock-float-a { top: 6%; right: -24px; animation-delay: -2s; }
.mock-float-b { bottom: 8%; left: -30px; }
.mock-float b { display: block; font-size: 13px; }
.mock-float span span, .mock-float div span { display: block; font-size: 11.5px; color: var(--text-3); font-weight: 500; }
.mf-ico { width: 34px; height: 34px; border-radius: var(--radius-sm); display: grid; place-items: center; font-size: 16px; background: var(--green-soft); flex-shrink: 0; }
.mock-float-b .mf-ico { background: var(--accent-soft); }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Slim trust band (NEW) ---------- */
.lp-trustband {
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  background: #fff; padding: 20px 0; text-align: center;
}
.lp-trustband p { margin: 0; font-size: 15px; font-weight: 500; color: var(--text-2); }
.lp-trustband strong { color: var(--text); font-weight: 700; }
.lp-trustband .lp-trust-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-500); margin: 0 12px; vertical-align: 2px; }

/* ---------- Tabbed product preview (NEW) ---------- */
#preview { text-align: center; }
#preview .lp-lead { margin-left: auto; margin-right: auto; }
.pv-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  width: fit-content; max-width: 100%; margin: 0 auto;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--pill); padding: 6px; box-shadow: var(--shadow);
}
.pv-tab {
  font: inherit; font-weight: 650; font-size: 15px; color: var(--text-2);
  background: none; border: none; border-radius: var(--pill);
  padding: 12px 26px; min-height: 44px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.pv-tab:hover { color: var(--text); }
.pv-tab.on { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.pv-tab .pv-tab-n {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--border-soft); color: var(--text-2); font-size: 12.5px; font-weight: 750;
}
.pv-tab.on .pv-tab-n { background: linear-gradient(135deg, var(--accent-500), var(--violet)); color: #fff; }
.pv-panels { margin-top: var(--s10); text-align: left; }
.pv-panel { display: none; }
.pv-panel.on { display: block; animation: pv-in 0.45s cubic-bezier(0.22, 0.8, 0.3, 1); }
@keyframes pv-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pv-cap { text-align: center; color: var(--text-2); font-size: 15.5px; max-width: 560px; margin: 0 auto var(--s8); }

/* Mini dashboard mockup shell (shared by the 3 variants) */
.pv-mock {
  max-width: 900px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.pv-mock-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
.pv-dots { display: flex; gap: 7px; }
.pv-dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe2f0; }
.pv-title { font-size: 12px; font-weight: 650; color: var(--text-3); background: #fff; border: 1px solid var(--border-soft); border-radius: var(--pill); padding: 4px 14px; }
.pv-mock-body { padding: var(--s8); background: var(--bg); min-height: 320px; }

/* Variant A — Calendar grid with post thumbnails */
.pv-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.pv-cal-dow { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); padding-bottom: 2px; }
.pv-cal-day { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 8px; min-height: 108px; }
.pv-cal-day.dim { background: transparent; border-color: transparent; }
.pv-cal-day.today { border-color: var(--accent-500); box-shadow: 0 0 0 2px rgba(99,102,241,0.18); }
.pv-cal-num { font-size: 12.5px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.pv-cal-day.today .pv-cal-num { color: var(--accent-700); }
.pv-thumb {
  height: 52px; border-radius: 8px; margin-bottom: 6px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--accent-100), var(--accent-200));
}
.pv-thumb.t2 { background: linear-gradient(135deg, var(--accent-200), var(--accent-400)); }
.pv-thumb.t3 { background: linear-gradient(135deg, #dcd6fd, var(--accent-300)); }
.pv-thumb::after { /* play glyph */
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-left: 9px solid rgba(255,255,255,0.95); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.pv-cal-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pv-cal-time { font-size: 10.5px; font-weight: 700; color: var(--text-2); }
.pv-mini { font-size: 9.5px; font-weight: 750; color: var(--accent-700); background: var(--accent-soft); border-radius: var(--pill); padding: 2px 7px; }
.pv-mini.ok { color: var(--green); background: var(--green-soft); }

/* Variant B — Composer with platform chips */
.pv-compose { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; }
.pv-compose-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s4); }
.pv-ai { font-size: 11.5px; font-weight: 700; color: var(--accent-700); background: var(--accent-soft); border-radius: var(--pill); padding: 4px 12px; }
.pv-compose-title { font-size: 13px; font-weight: 700; color: var(--text-2); }
.pv-lines i { display: block; height: 12px; border-radius: 6px; background: var(--border-soft); margin-bottom: 8px; }
.pv-lines i.w80 { width: 80%; } .pv-lines i.w60 { width: 60%; } .pv-lines i.w45 { width: 45%; }
.pv-plats { display: flex; gap: 8px; flex-wrap: wrap; margin: var(--s5) 0; }
.pv-plat {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650;
  color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border-soft);
  border-radius: var(--pill); padding: 8px 15px;
}
.pv-plat i { width: 9px; height: 9px; border-radius: 50%; background: #c3c7de; }
.pv-plat.on { color: var(--text); background: #fff; border-color: var(--accent-100); box-shadow: 0 4px 12px -6px rgba(99,102,241,0.5); }
.pv-plat.on i { background: var(--accent-500); }
.pv-sched-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pv-when { font-size: 13px; font-weight: 650; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--pill); padding: 10px 18px; }
.pv-go { font-size: 13.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent-500), var(--violet)); border-radius: var(--pill); padding: 10px 24px; box-shadow: var(--shadow-accent); }

/* Variant C — Analytics with bars */
.pv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: var(--s6); }
.pv-kpi { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 16px; text-align: center; box-shadow: var(--shadow); }
.pv-kpi b { display: block; font-size: 24px; font-weight: 850; letter-spacing: -0.02em; }
.pv-kpi span { font-size: 12px; font-weight: 600; color: var(--text-3); }
.pv-chart { display: flex; align-items: flex-end; gap: 12px; height: 190px; background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 20px 24px 14px; box-shadow: var(--shadow); }
.pv-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.pv-bar i { width: 100%; max-width: 44px; height: var(--h, 40%); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--accent-400), var(--accent-600)); opacity: 0.92; }
.pv-bar.good i { background: linear-gradient(180deg, #34d399, var(--green)); }
.pv-bar em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--text-3); }
.pv-chart-cap { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--text-3); margin-top: var(--s4); }

/* ---------- Platforms (checkmark grid) ---------- */
#platforms .lp-lead { margin-bottom: var(--s10); }
.lp-platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); max-width: 960px; margin: 0 auto; }
.lp-platform {
  display: flex; gap: var(--s4); align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s6); box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lp-platform:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pf-dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.lp-platform strong { display: block; font-size: 16.5px; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 2px; }
.lp-platform div { min-width: 0; }
.lp-platform div > span, .lp-platform p { display: block; font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* Legacy platform strip (kept, restyled — one accent) */
.lp-strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--surface-2); padding: 36px 0; text-align: center; }
.lp-strip-label { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.lp-strip .lp-platforms { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-strip .lp-platform { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--pill); padding: 10px 22px; }
.lp-strip .lp-platform:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.lp-strip .pf-dot { width: 12px; height: 12px; background: var(--accent-500); }

/* ---------- Features ---------- */
.lp-diff-title { margin-top: var(--s16); }
.lp-grid { display: grid; gap: var(--s5); }
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lp-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s8) var(--s6); box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-100); }
.lp-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.lp-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.lp-ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 25px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent-soft), #f1edff); border: 1px solid var(--accent-100);
}
.lp-diff { background: linear-gradient(180deg, #fff 30%, #f4f3ff 100%); border-color: var(--accent-100); }

/* Checkmark bullet grid — the new features presentation */
.lp-checks {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s4) var(--s8); max-width: 980px; margin: 0 auto;
}
.lp-checks li { position: relative; padding-left: 42px; font-size: 16.5px; line-height: 1.55; }
.lp-checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  font-weight: 800; font-size: 14px; display: grid; place-items: center;
}
.lp-checks li strong { font-weight: 700; color: var(--text); }
.lp-checks li small { display: block; font-weight: 500; color: var(--text-2); font-size: 14px; margin-top: 2px; }

/* Legacy proof / stats band (kept, restyled) */
.lp-proof { padding: 72px 0 8px; }
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.lp-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.lp-stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent-500), var(--violet)); opacity: 0; transition: opacity 0.2s; }
.lp-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-stat:hover::before { opacity: 1; }
.lp-stat b { display: block; font-size: 34px; font-weight: 850; letter-spacing: -0.03em; background: linear-gradient(100deg, var(--accent-600), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stat span { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.lp-proof-note { text-align: center; color: var(--text-3); font-size: 14px; max-width: 680px; margin: 0 auto 18px; }
.lp-audience { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--text-3); }
.lp-aud-chip { background: var(--accent-soft); color: var(--accent-700); border: 1px solid var(--accent-100); border-radius: var(--pill); padding: 8px 18px; font-weight: 650; }

/* ---------- Compare table ---------- */
.lp-table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.lp-compare { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; font-size: 15px; }
.lp-compare th, .lp-compare td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.lp-compare thead th { background: var(--surface-2); font-size: 15.5px; font-weight: 750; letter-spacing: -0.01em; }
.lp-compare thead th.lp-compare-us { background: linear-gradient(135deg, var(--accent-500), var(--violet)); color: #fff; }
.lp-compare tbody tr:last-child td { border-bottom: none; }
.lp-compare tbody tr:hover td { background: var(--surface-2); }
.lp-compare tbody tr:hover td.lp-compare-us { background: var(--accent-100); }
.lp-compare td:first-child { font-weight: 650; color: var(--text-2); }
.lp-compare-us { background: var(--accent-50); }
.lp-compare td.lp-compare-us { font-weight: 600; color: var(--text); }

/* ---------- Personas (NEW, section#who) ---------- */
#who .lp-lead { margin-bottom: var(--s10); }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.persona-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s10) var(--s8); box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.persona-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-100); }
.persona-ico {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  font-size: 27px; margin-bottom: var(--s5);
  background: linear-gradient(135deg, var(--accent-soft), #f1edff); border: 1px solid var(--accent-100);
}
.persona-card h3 { font-size: 19px; font-weight: 750; letter-spacing: -0.015em; margin-bottom: var(--s2); }
.persona-card p { color: var(--text-2); font-size: 15px; line-height: var(--lh-body); }
.persona-tag {
  display: inline-block; margin-top: var(--s4);
  font-size: 12.5px; font-weight: 700; color: var(--accent-700);
  background: var(--accent-soft); border-radius: var(--pill); padding: 7px 15px;
}

/* ---------- Scale funnel (section#scale) ---------- */
.lp-funnel-sec { background: linear-gradient(180deg, #fbfbff 0%, #f2f3fc 100%); }
.lp-funnel-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: var(--s12); align-items: start; }
.lp-funnel { display: flex; flex-direction: column; }
.funnel-stage { display: flex; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow); }
html.lp-js .funnel-stage { opacity: 0; transform: translateY(22px); }
html.lp-js .go .funnel-stage { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1); }
html.lp-js .go .funnel-stage[data-stage="1"] { transition-delay: 0.05s; }
html.lp-js .go .funnel-stage[data-stage="2"] { transition-delay: 0.4s; }
html.lp-js .go .funnel-stage[data-stage="3"] { transition-delay: 0.75s; }
.funnel-num {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  font-size: 26px; font-weight: 850; color: #fff;
  background: linear-gradient(135deg, var(--accent-500), var(--violet));
  box-shadow: var(--shadow-accent); flex-shrink: 0; font-variant-numeric: tabular-nums;
}
.funnel-body { min-width: 0; flex: 1; }
.funnel-body h3 { font-size: 18px; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 6px; }
.funnel-count { font-variant-numeric: tabular-nums; }
.funnel-body p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.funnel-flow { width: 2px; height: 30px; margin: 8px 0 8px 50px; background-image: repeating-linear-gradient(180deg, var(--accent-500) 0 6px, transparent 6px 12px); opacity: 0.4; animation: flow-down 1.2s linear infinite; }
@keyframes flow-down { to { background-position: 0 12px; } }
.funnel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.f-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 650; background: #fff; border: 1px solid var(--border);
  border-radius: var(--pill); padding: 8px 14px; color: var(--text); box-shadow: var(--shadow);
}
.f-chip i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: #c3c7de; transition: background 0.3s; }
html.lp-js .f-chip { opacity: 0.45; transform: scale(0.96); }
html.lp-js .go .f-chip.lit { opacity: 1; transform: scale(1); border-color: var(--accent-100); box-shadow: 0 4px 12px -6px rgba(99,102,241,0.5); transition: all 0.35s cubic-bezier(0.22, 0.8, 0.3, 1); }
html.lp-js .go .f-chip.lit i, .f-chip.lit i { background: var(--accent-500); }
.funnel-chart { display: flex; align-items: flex-end; gap: 8px; height: 112px; margin-top: 14px; padding: 12px 14px 0; background: linear-gradient(160deg, #f6f7ff, #eef0ff); border: 1px solid var(--accent-100); border-radius: var(--radius-sm); }
.funnel-chart i { flex: 1; max-width: 36px; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent-400), var(--accent-600)); opacity: 0.9; }
.funnel-chart i:last-child { background: linear-gradient(180deg, #34d399, var(--green)); }
html.lp-js .funnel-chart i { height: 8%; }
html.lp-js .go .funnel-chart i { height: var(--h); transition: height 0.9s cubic-bezier(0.22, 0.8, 0.3, 1); }
html.lp-js .go .funnel-chart i:nth-child(1) { transition-delay: 1.0s; } html.lp-js .go .funnel-chart i:nth-child(2) { transition-delay: 1.12s; }
html.lp-js .go .funnel-chart i:nth-child(3) { transition-delay: 1.24s; } html.lp-js .go .funnel-chart i:nth-child(4) { transition-delay: 1.36s; }
html.lp-js .go .funnel-chart i:nth-child(5) { transition-delay: 1.48s; } html.lp-js .go .funnel-chart i:nth-child(6) { transition-delay: 1.6s; }
html.lp-js .go .funnel-chart i:nth-child(7) { transition-delay: 1.72s; } html.lp-js .go .funnel-chart i:nth-child(8) { transition-delay: 1.84s; }
.funnel-chart-label { font-size: 12px; color: var(--text-3); font-weight: 600; margin-top: 8px; }
.lp-funnel-grid .lp-fine { margin-top: 18px; }

/* Conversion path */
.lp-path { display: flex; flex-direction: column; }
.lp-path-title { font-size: 21px; font-weight: 780; letter-spacing: -0.015em; margin-bottom: 18px; }
.lp-path-step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--s5); margin-bottom: 14px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.lp-path-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-path-n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-700); font-weight: 800; font-size: 15px; display: grid; place-items: center; flex-shrink: 0; }
.lp-path-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.lp-path-step p { font-size: 14px; color: var(--text-2); margin-bottom: 12px; line-height: 1.55; }

/* ---------- How it works stepper (section#how) ---------- */
.lp-stepper { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.lp-stepper-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  background: var(--surface-2); border-bottom: 1px solid var(--border-soft);
  padding: 10px;
}
.lp-stepper-tab {
  font: inherit; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 12px; min-height: 52px; background: none; border: none;
  border-radius: 14px; cursor: pointer; font-weight: 650; font-size: 15px; color: var(--text-3);
  transition: all 0.2s;
}
.lp-stepper-tab:hover { color: var(--text); background: rgba(255,255,255,0.7); }
.lp-stepper-tab.on { color: var(--accent-700); background: #fff; box-shadow: var(--shadow); }
.lp-stepper-n {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--border-soft); color: var(--text-2); font-size: 13.5px; font-weight: 750;
  flex-shrink: 0; transition: all 0.2s;
}
.lp-stepper-tab.on .lp-stepper-n { background: linear-gradient(135deg, var(--accent-500), var(--violet)); color: #fff; box-shadow: var(--shadow-accent); }
.lp-stepper-panels { position: relative; }
.lp-stepper-panel { display: none; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: center; padding: var(--s12); }
.lp-stepper-panel.on { display: grid; animation: panel-in 0.45s cubic-bezier(0.22, 0.8, 0.3, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lp-stepper-panel h3 { font-size: 24px; font-weight: 780; letter-spacing: -0.02em; margin-bottom: 10px; }
.lp-stepper-panel p { color: var(--text-2); font-size: 15.5px; line-height: var(--lh-body); max-width: 440px; }
.lp-panel-visual {
  background: linear-gradient(160deg, #f6f7ff, #edf0ff); border: 1px solid var(--accent-100);
  border-radius: var(--radius); padding: var(--s8);
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; min-height: 200px;
}
.lp-conn-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--pill); padding: 10px 18px; font-size: 13.5px; font-weight: 650; box-shadow: var(--shadow); }
.lp-conn-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.lp-conn-chip b { color: var(--green); font-weight: 800; }
.lp-mini-compose { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 20px; max-width: 360px; box-shadow: var(--shadow); }
.lp-mini-compose i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-700); background: var(--accent-soft); border-radius: var(--pill); padding: 4px 11px; }
.lp-mini-compose p { font-size: 14px; margin-top: 10px; color: var(--text); max-width: none; }
.lp-mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 100%; }
.lp-mini-cal span { background: #fff; border: 1px solid var(--border-soft); border-radius: 8px; min-height: 54px; }
.lp-mini-cal span.hit { background: linear-gradient(135deg, var(--accent-500), var(--violet)); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; box-shadow: var(--shadow-accent); }
.lp-mini-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.lp-mini-chart i { width: 36px; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--accent-400), var(--accent-600)); opacity: 0.9; }
.lp-mini-chart i:last-child { background: linear-gradient(180deg, #34d399, var(--green)); }

/* ---------- Pricing (section#pricing) ---------- */
.lp-trial { background: var(--green-soft); border: 1px solid #bbe7c9; color: #166534; font-size: 14.5px; border-radius: var(--radius-sm); padding: 15px 20px; margin-bottom: var(--s8); max-width: 760px; }
.lp-billing { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--pill); padding: 5px; margin-bottom: var(--s10); box-shadow: var(--shadow); }
.lp-bill-btn { font: inherit; font-weight: 650; font-size: 14.5px; border: none; background: none; color: var(--text-2); padding: 11px 24px; min-height: 44px; border-radius: var(--pill); cursor: pointer; transition: all 0.2s; }
.lp-bill-btn.on { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.lp-save { font-size: 11.5px; font-weight: 700; color: var(--green); background: var(--green-soft); border-radius: var(--pill); padding: 3px 9px; margin-left: 6px; white-space: nowrap; }
.lp-price { display: flex; flex-direction: column; position: relative; }
.lp-featured { border: 2px solid var(--accent-500); box-shadow: 0 18px 44px -16px rgba(99,102,241,0.55); }
.lp-featured:hover { border-color: var(--accent-500); }
.lp-pop {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-500), var(--violet)); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--pill); white-space: nowrap;
  box-shadow: var(--shadow-accent);
}
.lp-tier-tag { font-size: 13.5px; margin-bottom: 14px; min-height: 40px; }
.lp-amount { display: flex; align-items: baseline; gap: 2px; margin-bottom: 2px; }
.lp-cur { font-size: 22px; font-weight: 700; color: var(--text-2); }
.lp-num { font-size: 48px; font-weight: 850; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-per { color: var(--text-3); font-weight: 500; }
.lp-bill-note { font-size: 13px; color: var(--text-3); margin-bottom: 16px; min-height: 20px; }
.lp-limits { list-style: none; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); }
.lp-limits li { font-size: 13.5px; font-weight: 600; color: var(--text-2); padding: 3px 0; }
.lp-inherits { font-size: 13px; font-weight: 700; color: var(--accent-700); margin-bottom: 8px; }
.lp-feats { list-style: none; margin-bottom: 22px; flex: 1; }
.lp-feats li { font-size: 14px; color: var(--text-2); padding: 5px 0 5px 28px; position: relative; line-height: 1.5; }
.lp-feats li::before { content: "✓"; position: absolute; left: 2px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.lp-price-cta { width: 100%; }
.lp-pay-btn { width: 100%; margin-top: 10px; }
.lp-pay-soon {
  margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-2);
  background: var(--surface-2); border: 1px dashed var(--border);
  border-radius: var(--radius-sm); padding: 9px 12px; text-align: center;
}

/* ---------- FAQ (section#faq) ---------- */
.lp-faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.2s, border-color 0.2s; }
.lp-faq details[open] { border-color: var(--accent-100); box-shadow: var(--shadow); }
.lp-faq summary {
  font-weight: 650; font-size: 16px; padding: 20px 22px; min-height: 64px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--accent-600); flex-shrink: 0;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-soft); transition: transform 0.25s;
}
.lp-faq details[open] summary::after { content: "–"; transform: rotate(180deg); }
.lp-faq details p { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; line-height: var(--lh-body); }

/* ---------- Waitlist (section#waitlist) — light card ---------- */
.lp-wait-card {
  position: relative; border-radius: var(--radius-lg); padding: 72px 56px; text-align: center;
  background: linear-gradient(180deg, var(--accent-50) 0%, #ffffff 70%);
  border: 1px solid var(--accent-100); box-shadow: var(--shadow-lg); overflow: hidden;
}
.lp-wait-glow {
  position: absolute; width: 520px; height: 520px; left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(99,102,241,0.16), transparent); pointer-events: none;
}
.lp-wait-card .lp-kicker { color: var(--accent-700); position: relative; }
.lp-wait-card h2 { color: var(--text); position: relative; }
.lp-wait-card .lp-lead { color: var(--text-2); margin: 0 auto 34px; position: relative; }
.lp-form { display: flex; gap: 10px; max-width: 600px; margin: 0 auto 14px; position: relative; }
.lp-input {
  flex: 1; padding: 14px 22px; min-height: 54px; font-size: 15px;
  border-radius: var(--pill); border: 1.5px solid var(--border);
  background: #fff; color: var(--text); min-width: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lp-input::placeholder { color: var(--text-3); }
.lp-input:focus { outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 3.5px rgba(99,102,241,0.16); }
.lp-form-msg { min-height: 24px; font-size: 14.5px; font-weight: 600; position: relative; }
.lp-form-msg.ok { color: var(--green); }
.lp-form-msg.err { color: var(--red); }
.lp-wait-card .lp-fine { color: var(--text-3); margin: 10px auto 0; position: relative; }

/* ---------- Pay modal ---------- */
.lp-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 18, 38, 0.55); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity 0.18s ease;
}
.lp-modal-overlay[hidden] { display: none; }
.lp-modal-overlay.open { opacity: 1; }
.lp-modal {
  background: #fff; border-radius: 24px; max-width: 440px; width: 100%;
  padding: 36px 32px 30px; position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(10px) scale(0.98); transition: transform 0.18s ease;
  text-align: center;
}
.lp-modal-overlay.open .lp-modal { transform: none; }
.lp-modal h3 { font-size: 21px; letter-spacing: -0.01em; margin: 6px 0 4px; font-weight: 780; }
.lp-modal-close {
  position: absolute; top: 12px; right: 14px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
  font-size: 20px; line-height: 1; color: var(--text-2); cursor: pointer;
  display: grid; place-items: center;
}
.lp-modal-close:hover { background: var(--surface-2); color: var(--text); }
.lp-pay-price { font-size: 17px; font-weight: 700; color: var(--accent-700); margin: 0 0 6px; }
.lp-pay-sub { font-size: 14px; color: var(--text-2); margin: 0 0 18px; line-height: 1.55; }
.lp-pay-opts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.lp-pay-opt { width: 100%; }
.lp-pay-opt.is-disabled { opacity: 0.55; cursor: not-allowed; filter: saturate(0.4); }
.lp-pay-note {
  font-size: 13.5px; color: var(--text-2); background: var(--surface-2);
  border-radius: var(--radius-sm); padding: 10px 12px; margin: 10px 0 0;
}
.lp-modal .lp-fine { margin-top: 14px; }

/* ---------- Final CTA (light band) ---------- */
.lp-cta {
  position: relative; text-align: center; padding: 110px 0; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-50) 100%);
  border-top: 1px solid var(--border-soft);
}
.lp-aurora-dark span { opacity: 0.3; }
.lp-aurora-dark span:nth-child(1) { background: var(--accent-200); }
.lp-aurora-dark span:nth-child(2) { background: #d9cffb; }
.lp-cta h2 { position: relative; color: var(--text); font-size: var(--fs-h2); font-weight: 850; letter-spacing: -0.03em; margin-bottom: var(--s8); line-height: 1.12; }
.lp-cta-final-btn { position: relative; }

/* ---------- Footer ---------- */
.lp-footer { background: #101228; color: var(--sidebar-text); padding: 56px 0; }
.lp-footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lp-footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; }
.lp-footer-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.lp-footer-links a { color: var(--sidebar-text); font-size: 14px; padding: 10px 2px; }
.lp-footer-links a:hover { color: #fff; }
.lp-copy { width: 100%; font-size: 13px; color: #6b6f94; margin-top: 8px; }

/* ============================================================
   REDUCED MOTION — CSS covers everything JS doesn't short-circuit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .lp-aurora span, .mock-float, .mock-caret, .lp-badge-dot { animation: none; }
  .funnel-flow { animation: none; }
  .spin { animation-duration: 1.4s; }
  html.lp-js .reveal { opacity: 1; transform: none; transition: none; }
  .landing { scroll-behavior: auto; }
  .lp-stepper-panel.on, .pv-panel.on { animation: none; }
  html.lp-js .funnel-stage { opacity: 1; transform: none; transition: none; }
  html.lp-js .f-chip { opacity: 1; transform: none; transition: none; }
  html.lp-js .funnel-chart i { height: var(--h); transition: none; }
  .lp-card:hover, .lp-platform:hover, .lp-stat:hover, .lp-cta-glow:hover,
  .lp-cta-final-btn:hover, .btn-primary:hover, .btn-secondary:hover,
  .lp-path-step:hover, .persona-card:hover, .mock-window,
  .lp-mock:hover .mock-window { transform: none; }
  .lp-modal-overlay, .lp-modal { transition: none; }
  .lp-modal { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .form-grid-3 { grid-template-columns: 1.3fr 1fr; }
  .studio-card { grid-column: 1 / -1; position: static; }
  .studio-list { display: grid; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .lp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

@media (max-width: 1020px) {
  .form-grid-3 { grid-template-columns: 1fr; }
  .studio-list { display: flex; }
  .strat-cadence { grid-template-columns: repeat(7, minmax(120px, 1fr)); overflow-x: auto; }
  .strat-tags { grid-template-columns: 1fr; }
  .bulk-apply { grid-template-columns: 1fr; }
  .bulk-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile nav mechanism (kept): hide section links + sign in, show the CTA */
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: var(--s12); }
  .lp-hero { padding: 72px 0 64px; }
  .lp-hero h1 { font-size: clamp(2.5rem, 9vw, 3.25rem); }
  .lp-grid-3 { grid-template-columns: 1fr 1fr; }
  .lp-links { display: none; }
  .lp-nav-cta { display: inline-flex; padding: 10px 20px; font-size: 14px; min-height: 44px; }
  .lp-signin { display: none; }
  .lp-nav-inner { gap: var(--s4); }
  .lp-stepper-tabs { grid-template-columns: repeat(2, 1fr); }
  .lp-stepper-panel.on { grid-template-columns: 1fr; gap: var(--s6); padding: var(--s8); }
  .lp-funnel-grid { grid-template-columns: 1fr; gap: var(--s10); }
  .lp-platforms { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .pv-cal { grid-template-columns: repeat(4, 1fr); }
  .pv-kpis { grid-template-columns: repeat(2, 1fr); }
  .lp-checks { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .sidebar { display: none; }
  .content, .topbar { padding-left: 18px; padding-right: 18px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .type-tabs { grid-template-columns: repeat(2, 1fr); }
  .post-row { flex-wrap: wrap; }
  .post-actions { width: 100%; }
  .cal-day { min-height: 72px; }
  .cal-event span.lbl { display: none; }
  .ob-lbl { display: none; }
  .ob-progress { justify-content: center; }
  .strat-pillars { grid-template-columns: 1fr; }
  .strat-goals { grid-template-columns: 1fr; }
  .bulk-row { flex-direction: column; }
  .bulk-thumb { width: 100%; height: 150px; }
  .bulk-grid { grid-template-columns: 1fr; }
  .heat-cta { flex-direction: column; text-align: center; }
  .strat-plan-actions { width: 100%; }
  .empty-hero { padding: 44px 20px !important; }
}

@media (max-width: 640px) {
  .lp-section { padding: 72px 0; }
  .lp-section h2 { font-size: clamp(1.75rem, 7vw, 2rem); }
  .lp-sub { font-size: 16.5px; }
  .lp-grid-3, .lp-grid-4, .lp-stats { grid-template-columns: 1fr; }
  .lp-form { flex-direction: column; }
  .lp-form .btn { width: 100%; }
  .lp-wait-card { padding: 48px 24px; }
  .mock-window { transform: none; }
  .mock-float-a { right: 4px; top: 2%; }
  .mock-float-b { left: 4px; bottom: 3%; }
  .mock-float { padding: 9px 12px; }
  .mock-body { min-height: 280px; }
  .mock-side { width: 84px; }
  .lp-footer-inner { flex-direction: column; align-items: flex-start; }
  .lp-footer-links { margin-left: 0; gap: 6px 18px; }
  .lp-cta { padding: 80px 0; }
  .pv-mock-body { padding: var(--s4); min-height: 0; }
  .pv-cal { grid-template-columns: repeat(2, 1fr); }
  .pv-cal-dow { display: none; }
  .pv-tab { padding: 12px 18px; font-size: 14px; }
  .lp-amount .lp-num { font-size: 42px; }
}

@media (max-width: 480px) {
  .lp-modal { padding: 28px 22px 24px; }
  .lp-pay-opts .btn-lg { padding: 13px 18px; font-size: 15px; min-height: 48px; }
  .lp-billing { max-width: 100%; }
  .lp-ctas .btn-lg { width: 100%; }
}
