/* ── SESI White — design tokens ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surfaces — bright near-white */
  --bg:          #f7f9fc;
  --bg-elevated: #ffffff;
  --surface:     rgba(255, 255, 255, 0.72);
  --surface-2:   rgba(255, 255, 255, 0.92);
  --surface-solid: #f0f4f8;
  --glass:       rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);

  /* Ink */
  --ink:         #0a0e14;
  --ink-2:       #1a2332;
  --muted:       #5b6577;
  --muted-2:     #8b95a8;

  /* Borders & glass edges */
  --border:      rgba(15, 23, 42, 0.08);
  --border-2:    rgba(15, 23, 42, 0.12);
  --border-glow: rgba(45, 212, 191, 0.35);
  --edge-hi:     rgba(255, 255, 255, 0.85);

  /* Accents — cyan-teal + iridescent */
  --teal:        #14b8a6;
  --teal-soft:   #5eead4;
  --teal-glow:   rgba(20, 184, 166, 0.22);
  --teal-deep:   #0d9488;
  --iris-purple: rgba(168, 85, 247, 0.18);
  --iris-magenta: rgba(236, 72, 153, 0.14);
  --iris-gold:   rgba(234, 179, 8, 0.16);

  /* Shadows — soft contemporary */
  --shadow-sm:   0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-md:   0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg:   0 20px 50px rgba(15, 23, 42, 0.08), 0 8px 20px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.12), 0 0 80px rgba(168, 85, 247, 0.06);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;

  --max-w: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(94, 234, 212, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, var(--iris-purple), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 60%, var(--iris-magenta), transparent 45%),
    radial-gradient(ellipse 60% 30% at 70% 100%, var(--iris-gold), transparent 50%),
    var(--bg);
  background-attachment: fixed;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button, input { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────── */
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 700; line-height: 1.07; letter-spacing: -0.035em; color: var(--ink); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; color: var(--ink); }
h3 { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
p  { color: var(--muted); line-height: 1.7; }

.eyebrow {
  font-size: 0.685rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

/* ── Glass utilities ────────────────────────────────────── */
.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), inset 0 1px 0 var(--edge-hi);
  border-radius: var(--r-lg);
}

/* ── Nav ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 56px;
  background: rgba(247, 249, 252, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -0.02em; }
.brand-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1.5px rgba(20, 184, 166, 0.45),
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(20, 184, 166, 0.2);
  flex-shrink: 0;
}
.brand-avatar--sm {
  width: 22px;
  height: 22px;
  box-shadow:
    0 0 0 1px rgba(20, 184, 166, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.95);
}
.brand-mark {
  width: 26px; height: 26px;
  background: linear-gradient(145deg, var(--ink) 0%, #1e293b 100%);
  color: #fff;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 2px 8px rgba(20, 184, 166, 0.25);
}
nav { display: flex; align-items: center; gap: 2px; }
nav a {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-sm);
  transition: color 0.12s, background 0.12s;
}
nav a:hover { color: var(--ink); background: rgba(255,255,255,0.7); }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-cta {
  margin-left: 6px;
  background: var(--ink) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.4rem 0.875rem !important;
  border-radius: var(--r-sm) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 0 0 1px rgba(20, 184, 166, 0.15) !important;
}
.nav-cta:hover { opacity: 0.9 !important; background: var(--ink-2) !important; }

/* ── Hero — bright glass ────────────────────────────────── */
.hero {
  position: relative;
  color: var(--ink);
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter) 0;
  overflow: hidden;
}
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 55%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 55%, transparent 92%);
}
.hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-rings::before,
.hero-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(20, 184, 166, 0.18);
  box-shadow:
    0 0 40px rgba(20, 184, 166, 0.08),
    inset 0 0 40px rgba(255, 255, 255, 0.4);
}
.hero-rings::before {
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12) 0%, transparent 65%);
}
.hero-rings::after {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(168, 85, 247, 0.12);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.06), inset 0 0 24px rgba(255,255,255,0.5);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-inner h1 { margin-bottom: 1.25rem; }
.hero-lede {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.175rem);
  max-width: 580px;
  margin: 0 auto 2.25rem;
}
.hero-persona-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 auto 1.25rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: var(--glass-strong);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.hero-persona-chip img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px rgba(20, 184, 166, 0.4);
}
.market-persona-chip {
  margin: 0 0 1.25rem;
}

/* ── Waitlist form ──────────────────────────────────────── */
.waitlist-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.waitlist-form input[type="email"] {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 0.9rem;
  outline: none;
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.waitlist-form input::placeholder { color: var(--muted-2); }
.waitlist-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow), var(--shadow-sm);
}

.button {
  padding: 0.7rem 1.15rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.12s, transform 0.1s, box-shadow 0.12s;
  white-space: nowrap;
}
.button:hover  { opacity: 0.92; }
.button:active { transform: scale(0.98); }
.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(20, 184, 166, 0.2);
}
.button.primary:hover {
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.25), 0 2px 8px rgba(15, 23, 42, 0.12);
}
.button.primary-dark { background: var(--ink); color: #fff; }

.form-hint { font-size: 0.72rem; color: var(--muted-2); margin-top: 0.75rem; }
.form-message { font-size: 0.85rem; margin-top: 0.5rem; display: none; }
.form-message.success { color: #0d9488; display: block; }
.form-message.error   { color: #dc2626; display: block; }

/* ── Hero visual — window chrome ────────────────────────── */
.hero-visual {
  margin: 3.5rem auto 0;
  max-width: var(--max-w);
  position: relative;
  z-index: 1;
}
.hero-visual::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -8%;
  height: 40%;
  background: radial-gradient(ellipse at center, var(--teal-glow), transparent 70%);
  filter: blur(24px);
  z-index: -1;
  pointer-events: none;
}
.window-chrome {
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  border: 1px solid var(--border-2);
  border-bottom: none;
  overflow: hidden;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    var(--shadow-lg),
    var(--shadow-glow),
    inset 0 1px 0 var(--edge-hi);
}
.chrome-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 9px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(240,244,248,0.85));
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.08); }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.chrome-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  font-weight: 500;
}
.window-chrome img { width: 100%; display: block; }

/* ── Proof band ─────────────────────────────────────────── */
.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}
.proof-band > div {
  padding: 1.125rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-right: 1px solid var(--border);
}
.proof-band > div:last-child { border-right: none; }
.proof-band strong { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.proof-band span   { font-size: 0.76rem; color: var(--muted); line-height: 1.4; }

/* ── Section generic ────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-heading h2 { margin-top: 0.5rem; }
.section-heading p  { margin-top: 0.75rem; }

/* ── Split ──────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.section-copy h2 { margin-top: 0.5rem; margin-bottom: 1rem; }
.section-copy p  { margin-bottom: 1.25rem; }

.feature-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.feature-pills li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  box-shadow: var(--shadow-sm);
}
.feature-pills li:first-child {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(94, 234, 212, 0.12);
  color: var(--teal-deep);
}

.image-panel img,
.wide-visual img {
  border-radius: var(--r-xl);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--edge-hi);
  background: var(--bg-elevated);
}

/* ── How it works ───────────────────────────────────────── */
.workflow-section { text-align: center; }
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.workflow-grid article {
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.75rem 1.25rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.workflow-grid article:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: var(--shadow-md), 0 0 24px rgba(20, 184, 166, 0.08);
}
.step-num {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.workflow-grid h3 { margin-bottom: 0.4rem; }
.workflow-grid p  { font-size: 0.84rem; }
.wide-visual { margin-top: 1.5rem; }

/* ── Capabilities — glass bento ─────────────────────────── */
.capability-section {
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  position: relative;
}
.capability-section::before {
  content: '';
  position: absolute;
  inset: 8% 5%;
  background: radial-gradient(ellipse at 30% 40%, rgba(94, 234, 212, 0.1), transparent 50%),
              radial-gradient(ellipse at 80% 60%, var(--iris-purple), transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.capability-section-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.capability-section .section-heading { margin-bottom: 2.5rem; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.capability-grid article {
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.capability-grid article:hover {
  border-color: rgba(20, 184, 166, 0.28);
  box-shadow: var(--shadow-md), 0 0 28px rgba(20, 184, 166, 0.1);
  transform: translateY(-1px);
}
.cap-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--r-md);
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(94, 234, 212, 0.12));
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
}
.capability-grid h3 { margin-bottom: 0.3rem; }
.capability-grid p  { font-size: 0.84rem; }

/* ── Plugins ────────────────────────────────────────────── */
.plugins-section {
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
}
.plugins-inner { max-width: var(--max-w); margin: 0 auto; }
.plugins-section .section-heading { margin-bottom: 2.5rem; }

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.plugin-card {
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.plugin-card:hover {
  border-color: rgba(20, 184, 166, 0.28);
  box-shadow: var(--shadow-md), 0 0 24px rgba(20, 184, 166, 0.08);
}
.plugin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.plugin-head h3 { margin: 0; }
.plugin-card p { font-size: 0.84rem; }
.plugin-meta {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.pill {
  flex: none;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 999px;
  color: var(--teal-deep);
  background: rgba(94, 234, 212, 0.12);
}
.pill-soon {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}
.plugins-foot {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.plugins-foot a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.plugins-foot strong { color: var(--ink); font-weight: 600; }

/* ── Detail (observable) ────────────────────────────────── */
.detail-section {
  padding-top:    clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* ── Why SESI — glass (no dark) ─────────────────────────── */
.diff-section {
  position: relative;
  overflow: hidden;
}
.diff-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(94, 234, 212, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 40%, var(--iris-purple), transparent 50%);
  pointer-events: none;
}
.diff-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  position: relative;
  z-index: 1;
}
.diff-section .section-heading {
  text-align: left;
  max-width: none;
  margin-bottom: 2.5rem;
}
.diff-section .section-heading h2 { color: var(--ink); }
.diff-section .eyebrow { color: var(--teal-deep); }
.diff-section .section-heading > p { color: var(--muted); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.diff-grid article {
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.diff-grid article:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: var(--shadow-md), 0 0 28px rgba(20, 184, 166, 0.1);
}
.diff-grid h3 { color: var(--ink); margin-bottom: 0.4rem; }
.diff-grid p  { font-size: 0.875rem; color: var(--muted); }

/* ── CTA ────────────────────────────────────────────────── */
.cta-section {
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  text-align: center;
  position: relative;
}
.cta-inner {
  max-width: 540px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--glass-strong);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow), inset 0 1px 0 var(--edge-hi);
}
.cta-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow:
    0 0 0 2px rgba(20, 184, 166, 0.4),
    0 0 0 5px rgba(255, 255, 255, 0.95),
    0 8px 24px rgba(20, 184, 166, 0.2);
}
.cta-inner h2 { margin-top: 0.5rem; margin-bottom: 0.875rem; }
.cta-inner p  { margin-bottom: 2rem; }

.waitlist-form--large {
  max-width: 460px;
  margin: 0 auto;
}
.waitlist-form--large input[type="email"] {
  border: 1px solid var(--border-2);
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-size: 0.925rem;
}
.waitlist-form--large input:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.waitlist-form--large .button.primary {
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.2rem;
}
.cta-section .form-hint { color: var(--muted); }
.cta-section .form-message.success { color: #0d9488; }
.cta-section .form-message.error   { color: #dc2626; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.375rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-mark-sm {
  width: 20px; height: 20px;
  background: linear-gradient(145deg, var(--ink), #1e293b);
  color: #fff;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
}
.footer-name    { font-size: 0.84rem; font-weight: 700; }
.footer-tagline { font-size: 0.76rem; color: var(--muted); }

/* ── Meet SESI persona ──────────────────────────────────── */
.meet-section {
  padding-top: clamp(4rem, 8vw, 6rem);
}
.persona-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.persona-frame {
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow:
    var(--shadow-lg),
    0 0 0 6px rgba(255, 255, 255, 0.85),
    0 0 0 7px rgba(20, 184, 166, 0.25),
    0 0 48px rgba(20, 184, 166, 0.15);
  background: var(--surface-solid);
}
.persona-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.persona-caption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a { font-size: 0.78rem; color: var(--muted); transition: color 0.12s; }
.footer-nav a:hover { color: var(--teal-deep); }

/* ── Marketplace ────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.market-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.market-hero::before {
  content: '';
  position: absolute;
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  border-radius: 50%;
  border: 1px solid rgba(20, 184, 166, 0.15);
  top: -30%;
  right: -5%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.1), transparent 70%);
  pointer-events: none;
}
.market-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter) clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  z-index: 1;
}
.market-hero h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.market-hero .eyebrow { color: var(--teal-deep); }
.market-lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.market-toolbar { display: grid; gap: 1rem; max-width: 42rem; }
.market-toolbar input[type="search"] {
  width: 100%;
  border: 1px solid var(--border-2);
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  font-size: 0.925rem;
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
}
.market-toolbar input[type="search"]::placeholder { color: var(--muted-2); }
.market-toolbar input[type="search"]:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.market-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-chip {
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.filter-chip:hover {
  color: var(--ink);
  border-color: rgba(20, 184, 166, 0.35);
}
.filter-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.2);
}
.market-catalog-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.market-catalog-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.market-catalog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.market-catalog-head h2 { font-size: 1.15rem; }
.market-count { font-size: 0.8rem; color: var(--muted); }
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.market-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.15rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--edge-hi);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.market-card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: var(--shadow-md), 0 0 24px rgba(20, 184, 166, 0.08);
}
.market-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.market-card h3 { margin-bottom: 0.4rem; }
.market-card > p { font-size: 0.84rem; flex: 1; }
.market-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.market-author { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.market-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
}
.market-cta--muted { color: var(--muted); font-weight: 500; }
.market-cta--link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.market-loading, .market-error, .market-empty {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.market-empty[hidden],
.market-loading[hidden] {
  display: none !important;
}
.spinner {
  width: 14px; height: 14px;
  border: 1.5px solid var(--border-2);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; border-top-color: var(--border-2); opacity: 0.6; }
  .capability-grid article:hover,
  .plugin-card:hover,
  .workflow-grid article:hover { transform: none; }
}
.market-note-section {
  border-top: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.market-note-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.market-note-inner h3 { margin-bottom: 0.35rem; }
.market-note-inner p { font-size: 0.86rem; }
.market-note-inner code {
  font-size: 0.78em;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  color: var(--teal-deep);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .proof-band { grid-template-columns: repeat(2, 1fr); }
  .proof-band > div { border-bottom: 1px solid var(--border); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse { direction: ltr; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .plugin-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .market-note-inner { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-section .section-heading { text-align: center; }
}
@media (max-width: 600px) {
  nav a:not(.nav-cta) { display: none; }
  .proof-band { grid-template-columns: 1fr; }
  .proof-band > div { border-right: none; }
  .workflow-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .plugin-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form--large { flex-direction: column; }
  .cta-inner { padding: 1.75rem 1.25rem; }
}
