/* ============ Marker Select Landing Page ============ */

:root {
  --bg: #16181c;
  --bg-raised: #1c1e22;
  --bg-card: #22252b;
  --border: #2c2f35;
  --text: #e8eaed;
  --text-dim: #9aa0a8;
  --accent: #2dd4a7;
  --accent-dark: #24b58e;
  --clip: #3a3f47;
  --radius: 12px;
  --nav-h: 64px;
}

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

html { scroll-behavior: auto; } /* jQuery handles smooth scroll */

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 48px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #10241e;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ============ Nav ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(22, 24, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.3s ease;
}
.site-nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-icon { width: 34px; height: 34px; }
.nav-title { font-weight: 700; letter-spacing: 0.06em; font-size: 0.95rem; white-space: nowrap; }
.nav-title em { font-style: normal; color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #10241e !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(45, 212, 167, 0.08), transparent),
    var(--bg);
}
.hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 32px;
}
.hero-logo { width: 96px; height: 96px; }
.hero-arrow { width: 34px; height: 34px; }
.hero-resolve { width: 96px; height: 96px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); margin-bottom: 20px; }
.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: 1.15rem;
}
.hero-sub strong { color: var(--accent); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-meta { color: var(--text-dim); font-size: 0.85rem; }

/* ============ Demo video ============ */
.demo-section {
  padding: 8px 0 64px;
}
.demo-frame {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 0 44px rgba(45, 212, 167, 0.10);
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.demo-cap {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ============ Flow diagram (Mark → Run → Cut) ============ */
.flow-section {
  padding: 24px 0 96px;
}
.flow {
  display: flex;
  align-items: stretch;
}
.stage {
  flex: 1;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 24px 20px;
  position: relative;
  min-width: 0;
}
.stage.center {
  flex: 0 0 280px;
  border-color: rgba(45, 212, 167, 0.45);
  box-shadow: 0 0 34px rgba(45, 212, 167, 0.12);
}
.stage.center h3 { text-align: center; }
.stepnum {
  position: absolute;
  top: -14px;
  left: 22px;
  background: var(--accent);
  color: #10241e;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.stage h3 { font-size: 1.05rem; margin: 8px 0 6px; }
.stage .desc { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.flow-arrow {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* mock timeline */
.tl {
  margin-top: 16px;
  background: #12151b;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 14px 12px;
}
.ruler {
  height: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
  margin-bottom: 12px;
}
.ruler i {
  position: absolute;
  top: 3px;
  width: 1px;
  height: 8px;
  background: #3a414b;
}
.track {
  display: flex;
  gap: 5px;
  margin-bottom: 6px;
  align-items: center;
}
.tlabel {
  width: 28px;
  font-size: 10px;
  color: #6b7480;
  font-weight: 500;
  flex: none;
}
.clip {
  height: 24px;
  border-radius: 4px;
  position: relative;
  background: linear-gradient(180deg, #39414d, #2c333d);
  border: 1px solid #454e5a;
}
.clip.audio {
  height: 16px;
  background: linear-gradient(180deg, #274a3a, #1e3a2e);
  border-color: #31584596;
}
.clip.sel { border: 1px solid; }
.mflag {
  position: absolute;
  top: -8px;
  width: 11px;
  height: 14px;
  border-radius: 2.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.ruler .mflag { top: -3px; }
.tl-note {
  font-size: 11px;
  color: #6b7480;
  margin-top: 8px;
  letter-spacing: 0.4px;
}

/* center engine card */
.engine {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}
/* miniature replica of the actual plugin window */
.mini-app {
  width: 100%;
  max-width: 280px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px 14px;
  text-align: left;
}
.mini-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.mini-logo { width: 26px; height: 26px; }
.mini-word {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1;
}
.mini-word em { font-style: italic; color: var(--accent); }
.mini-word span {
  display: block;
  font-size: 5.5px;
  letter-spacing: 1.1px;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 3px;
}
.mini-sec {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 9px 0 4px;
}
.mini-dd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #141920;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 11.5px;
  color: var(--text);
}
.mini-dd svg { color: var(--text-dim); flex: 0 0 auto; }
.mini-spin { display: flex; gap: 5px; }
.mini-spin span,
.mini-spin b {
  background: #141920;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--text);
}
.mini-spin span { flex: 0 0 32px; color: var(--text-dim); }
.mini-spin b { flex: 1; font-weight: 600; }
.mini-seg {
  display: flex;
  gap: 4px;
  background: #141920;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px;
}
.mini-seg span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-dim);
  padding: 4px 6px;
  border-radius: 5px;
  white-space: nowrap;
}
.mini-seg span.on {
  background: rgba(45, 212, 167, 0.12);
  color: var(--accent);
  font-weight: 600;
}
.mini-create {
  margin-top: 11px;
  background: var(--accent);
  color: #10241e;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-radius: 7px;
  padding: 7px 0;
  box-shadow: 0 0 14px rgba(45, 212, 167, 0.25);
}
.path {
  margin-top: 12px;
  font-size: 11px;
  color: #6b7480;
  letter-spacing: 0.3px;
}
.path b { color: var(--accent); font-weight: 500; }
.path-star { display: block; margin-top: 4px; color: var(--accent); font-size: 10px; letter-spacing: 0.3px; }

.flow-caption {
  text-align: center;
  margin-top: 28px;
  font-size: 1rem;
  color: var(--text-dim);
}
.flow-caption strong { color: var(--text); }
.flow-caption .gr { color: var(--accent); font-weight: 700; }

.palette-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.palette-strip .d { width: 14px; height: 14px; border-radius: 4px; }
.palette-strip .lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-left: 8px;
}

/* ============ Pitch ============ */
.pitch {
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.pitch h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 20px; }
.pitch-copy {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1.1rem;
}
.pitch-copy strong { color: var(--accent); }

/* ============ Workflow ============ */
.workflow {
  padding: 96px 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.workflow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--accent);
  color: #10241e;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.workflow-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.workflow-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ============ Features ============ */
.features { padding: 96px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature h3 { font-size: 1.02rem; margin-bottom: 10px; color: var(--accent); }
.feature p { color: var(--text-dim); font-size: 0.92rem; }

/* ============ How ============ */
.how {
  padding: 96px 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-steps {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  counter-reset: step;
}
.how-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 32px 64px;
  color: var(--text-dim);
}
.how-steps li strong, .how-steps li em { color: var(--text); }
.how-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 4px;
  width: 1px;
  background: var(--border);
}

.how-tip {
  max-width: 640px;
  margin: 16px auto 0;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.how-tip strong { color: var(--accent); }

/* ============ Buy ============ */
.buy {
  padding: 110px 0 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(45, 212, 167, 0.1), transparent),
    var(--bg);
}
.buy-icon { width: 72px; height: 72px; margin: 0 auto 28px; }
.buy h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.buy p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 36px; }
.buy-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
/* --- Comparison table --- */
.compare-wrap {
  max-width: 820px;
  margin: 48px auto 40px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}
.compare-table th,
.compare-table td {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
}
.compare-table thead th {
  border-top: none;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 18px;
}
.compare-table .feat-col,
.compare-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
}
.compare-table .studio-col {
  background: rgba(45, 212, 167, 0.06);
}
.compare-table thead .studio-col { color: var(--accent); }
.compare-table .tick { color: var(--accent); font-weight: 700; }
.compare-table .dash { color: #555c66; }
.compare-table .price-row td {
  font-weight: 700;
  color: var(--text);
}
.compare-table .price-row .studio-col { color: var(--accent); }

/* --- Two-tier pricing cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 36px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 30px 30px;
}
.price-card.featured {
  border-color: rgba(45, 212, 167, 0.55);
  box-shadow: 0 0 34px rgba(45, 212, 167, 0.12);
}
.tier-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: #10241e;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
}
.tier-name { font-size: 1.25rem; margin-bottom: 4px; }
.tier-name span { color: var(--accent); }
.tier-for {
  color: var(--text-dim) !important;
  font-size: 0.88rem !important;
  margin-bottom: 18px !important;
}
.tier-price {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
}
.tier-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
}
.tier-desc {
  color: var(--text-dim) !important;
  font-size: 0.92rem !important;
  margin-bottom: 20px !important;
}
.tier-list {
  list-style: none;
  margin-bottom: 26px;
  flex: 1;
}
.tier-list li {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 6px 0 6px 26px;
  position: relative;
}
.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.tier-list li.limit { color: #6b7480; }
.tier-list li.limit::before {
  content: "—";
  color: #555c66;
  font-weight: 400;
}
.price-card .btn { text-align: center; width: 100%; }

.buy-updates {
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 1rem !important;
  margin-bottom: 40px !important;
}

.buy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.buy-card {
  text-align: left;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.buy-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.buy-card ul { list-style: none; }
.buy-card li {
  color: var(--text-dim);
  font-size: 0.92rem;
  padding: 7px 0;
  border-top: 1px solid var(--border);
}
.buy-card li:first-child { border-top: none; }
.buy-card .reqs li {
  display: flex;
  gap: 14px;
}
.buy-card .reqs li > strong {
  color: var(--text);
  flex: 0 0 110px;
}
.buy-card .reqs li span { flex: 1; }
.buy-card .reqs li span strong { color: var(--text); }
.buy-card .included li {
  padding-left: 26px;
  position: relative;
}
.buy-card .included li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.python-note {
  max-width: 820px;
  margin: 20px auto 0;
  padding: 18px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.python-note p {
  color: var(--text-dim) !important;
  font-size: 0.92rem !important;
  margin-bottom: 0 !important;
}
.python-note p strong { color: var(--text); }
.btn-python {
  padding: 10px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-disclaimer {
  margin: 12px 0 0 !important;
  font-size: 0.78rem !important;
  color: var(--text-dim) !important;
  text-align: center;
}
.card-disclaimer.spacer { visibility: hidden; }
.card-disclaimer a { color: var(--accent); text-decoration: none; }
.card-disclaimer a:hover { text-decoration: underline; }

/* ============ Disclaimer ============ */
.disclaimer-note {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}
.disclaimer-note h3 {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.disclaimer-note p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.disclaimer-note p:last-child { margin-bottom: 0; }

/* ============ Feature Request ============ */
.request {
  padding: 96px 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}
.request-inner { text-align: center; }
.request-lead {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--text-dim);
  font-size: 1.05rem;
}
.request-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.field > span em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-dim);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' stroke='%239aa0a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #6b7079; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 212, 167, 0.15);
}
.field.invalid input,
.field.invalid textarea { border-color: #e34f4f; }

/* honeypot — never shown to real visitors */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.request-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.request-actions .btn[disabled] { opacity: 0.6; cursor: default; }
.request-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.request-status.ok { color: var(--accent); }
.request-status.err { color: #e34f4f; }

.request-form.sent .field-row,
.request-form.sent .field,
.request-form.sent .hp-field { display: none; }
.request-form.sent .request-actions { justify-content: center; }

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
}
.footer-link:hover { color: var(--accent); }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .request-form { padding: 24px 18px; }
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.powered-by {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.15s ease;
}
.powered-by:hover { color: var(--text); }
.powered-logo {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  border: 1px solid var(--border);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.powered-by:hover .powered-logo { border-color: var(--accent); }
.powered-by:hover .powered-logo { transform: scale(1.06); }

/* ============ New pill / hero callout ============ */
.new-pill {
  display: inline-block;
  background: var(--accent);
  color: #10241e;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: 999px;
}
.hero-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 26px;
  padding: 7px 16px 7px 8px;
  background: rgba(45, 212, 167, 0.08);
  border: 1px solid rgba(45, 212, 167, 0.35);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hero-new:hover {
  border-color: var(--accent);
  background: rgba(45, 212, 167, 0.14);
}

/* ============ Place Markers spotlight ============ */
.place {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.place-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.place-copy .new-pill { margin-bottom: 18px; }
.place-copy h2 { font-size: 2rem; margin-bottom: 16px; }
.place-lead { color: var(--text-dim); margin-bottom: 22px; }
.place-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.place-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.place-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.place-list li strong { color: var(--text); }

/* mock of the plugin's Markers panel */
.mock-panel {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 0 34px rgba(45, 212, 167, 0.07);
}
.mock-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.mock-seg {
  display: flex;
  gap: 4px;
  background: #141920;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 12px;
}
.mock-seg span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  padding: 5px 8px;
  border-radius: 6px;
}
.mock-seg span.on {
  background: rgba(45, 212, 167, 0.12);
  color: var(--accent);
  font-weight: 600;
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
/* place mode "armed" frame around the color set, as in the plugin */
.mock-grid.placing {
  border: 1px solid rgba(45, 212, 167, 0.55);
  border-radius: 8px;
  padding: 5px;
}
.mock-btnrow {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.mock-btnrow + .mock-btnrow { margin-top: 6px; }
.mock-btn {
  flex: 1;
  text-align: center;
  background: #141920;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 11px;
  color: var(--text);
  padding: 5px 8px;
  white-space: nowrap;
}
.mock-btn.active {
  background: rgba(45, 212, 167, 0.12);
  border-color: rgba(45, 212, 167, 0.55);
  color: var(--accent);
  font-weight: 600;
}
.mchip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #141920;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
}
.mchip .d {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.mchip.active {
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 0 10px rgba(45, 212, 167, 0.35);
}
.mock-status {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--accent);
}

/* "New" pill inside a feature card */
.feature-new { border-color: rgba(45, 212, 167, 0.55); position: relative; }
.feature-new .new-pill {
  position: absolute;
  top: -11px;
  right: 18px;
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
/* five nav links + CTA no longer fit beside the brand on tablets —
   collapse to the hamburger menu earlier */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    display: none;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; }
  .nav-cta { margin: 10px 24px; text-align: center; }
}

@media (max-width: 860px) {
  .workflow-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .place { padding: 72px 0; }
  .place-inner { grid-template-columns: 1fr; gap: 40px; }
  .place-copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }
  .place-copy h2 { font-size: 1.7rem; }
  .place-list {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
  }
  .place-mock {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }
  .flow { flex-direction: column; gap: 0; }
  .stage.center { flex: auto; }
  .flow-arrow {
    flex: 0 0 44px;
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .workflow-grid, .features-grid { grid-template-columns: 1fr; }
  .place { padding: 64px 0; }
  .place-copy h2 { font-size: 1.5rem; }
  .place-lead { font-size: 0.95rem; }
  .place-list li { font-size: 0.92rem; }
  /* chips collapse to a clean 4x4 grid of color dots */
  .mock-grid { grid-template-columns: repeat(4, 1fr); }
  .mchip { justify-content: center; padding: 9px 4px; }
  .mchip .n { display: none; }
  .mock-btn { font-size: 10px; padding: 5px 4px; }
  .hero-new { font-size: 0.78rem; text-align: left; }
  .buy-cards, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid { gap: 28px; }
  .python-note { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-timeline { padding: 24px 16px 14px; }
  .buy-actions .btn { width: 100%; }

  /* Comparison table fits the screen — no sideways scrolling */
  .compare-wrap { overflow-x: visible; }
  .compare-table { min-width: 0; font-size: 0.8rem; }
  .compare-table th,
  .compare-table td { padding: 10px 6px; }
  .compare-table thead th {
    padding: 12px 6px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }
  .compare-table .feat-col,
  .compare-table td:first-child {
    font-size: 0.8rem;
    padding-left: 12px;
  }
  .compare-table th:not(.feat-col),
  .compare-table td:not(:first-child) { width: 23%; }
}
