/* ─── VaultAgents — BetterWeb live design language (white + teal + black) ─── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-card: #ffffff;
  --bg-alt: #f4f5f7;
  --border: #ececef;
  --border-strong: #d4d4d8;
  --text: #0a0a0a;
  --text-2: #3f3f46;
  --text-3: #6b7280;
  --text-muted: #9ca3af;
  --accent: #14B8A6;
  --accent-dark: #0F766E;
  --accent-soft: #ccfbf1;
  --accent-glow: rgba(20, 184, 166, .25);
  --green: #22c55e;
  --red: #ef4444;
  --amber: #fbbf24;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 6px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 14px 48px rgba(0,0,0,.08);
  --nav-bg: rgba(255,255,255,0);
  --nav-bg-scroll: rgba(255,255,255,0.86);
}

html.dark {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-card: #161616;
  --bg-alt: #1a1a1a;
  --border: #262626;
  --border-strong: #3f3f46;
  --text: #ffffff;
  --text-2: #f5f5f5;
  --text-3: #e4e4e7;
  --text-muted: #a1a1aa;
  --accent: #2DD4BF;
  --accent-dark: #14B8A6;
  --accent-soft: #042f2e;
  --accent-glow: rgba(20, 184, 166, .35);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 6px 24px rgba(0,0,0,.5);
  --shadow-lg: 0 14px 48px rgba(0,0,0,.6);
  --nav-bg: rgba(10,10,10,0);
  --nav-bg-scroll: rgba(10,10,10,0.86);
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* overflow-x removed — kills position:sticky on nav */
  position: relative;
  isolation: isolate;
}

/* Soft glow corners — only on hero pages */
.glow-bg::before, .glow-bg::after {
  content: ""; position: absolute; width: 700px; height: 700px;
  border-radius: 50%; pointer-events: none; z-index: -1;
  filter: blur(70px); opacity: .55;
}
.glow-bg::before {
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  top: -200px; left: -200px;
}
.glow-bg::after {
  background: radial-gradient(circle, rgba(120, 119, 198, .18) 0%, transparent 65%);
  bottom: -200px; right: -200px;
}
.glow-bg { position: relative; overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.max-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  body { font-size: 16px; }
  h1 { font-size: clamp(32px, 8.5vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
  h2 { font-size: clamp(26px, 7vw, 40px); }
  .hero { padding: 48px 0 28px; }
  .hero .hero-inner { text-align: center; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .hero-rating { flex-wrap: wrap; justify-content: center; gap: 8px 14px; font-size: 13px; }
}

/* ─── Typography ─── */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: var(--accent-dark); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 18px;
}
html.dark .eyebrow { color: var(--accent); }
h1, h2, h3, h4 {
  font-weight: 700; letter-spacing: -.025em;
  color: var(--text); line-height: 1.05;
}
h1 { font-size: clamp(44px, 6.5vw, 84px); letter-spacing: -.04em; font-weight: 800; }
h2 { font-size: clamp(32px, 4.8vw, 56px); letter-spacing: -.035em; font-weight: 800; }
h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.lede {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--text-2); line-height: 1.5;
  margin-top: 22px;
}
p { color: var(--text-2); }
strong { color: var(--text); font-weight: 700; }
.accent { color: var(--accent-dark); font-weight: 800; }
html.dark .accent { color: var(--accent); }

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  contain: layout style;
}
.nav.is-scrolled {
  background: var(--nav-bg-scroll);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 18px; letter-spacing: -.02em;
  color: var(--text);
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--text);
  box-shadow: 0 4px 12px var(--accent-glow);
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  color: var(--text-3); font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.theme-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
}
.theme-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-moon { display: block; } .icon-sun { display: none; }
html.dark .icon-moon { display: none; } html.dark .icon-sun { display: block; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ─── Buttons (BetterWeb live style: solid black) ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .15s, background .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--text); color: var(--bg);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.btn-secondary {
  background: transparent; border-color: var(--border-strong); color: var(--text);
}
.btn-secondary:hover { border-color: var(--text); background: var(--bg-soft); }
.btn-accent {
  background: var(--accent); color: var(--text);
  box-shadow: 0 6px 18px var(--accent-glow);
}
.btn-accent:hover { box-shadow: 0 10px 26px var(--accent-glow); background: var(--accent-dark); color: var(--bg); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ─── Hero ─── */
.hero {
  padding: 84px 0 48px;
  position: relative;
}
.hero-inner { text-align: center; max-width: 920px; margin: 0 auto; }
.hero h1 { max-width: 920px; margin: 0 auto; }
.hero .lede { max-width: 640px; margin: 22px auto 0; }
.hero-ctas {
  margin-top: 36px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 22px;
  display: flex; gap: 18px; justify-content: center;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--green); }
.hero-rating {
  margin-top: 22px;
  display: flex; align-items: center; gap: 22px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--text-3);
}
.hero-rating .stars { color: var(--amber); letter-spacing: 1px; }

/* Role chips */
.role-chips {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.role-chips .chip {
  padding: 7px 14px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-2);
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.role-chips .chip:hover {
  border-color: var(--accent); color: var(--accent-dark);
  background: var(--accent-soft); transform: translateY(-2px);
}
html.dark .role-chips .chip:hover { color: var(--accent); }

/* ─── Stats bar ─── */
.stats {
  display: flex; gap: 64px; justify-content: center; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat .num {
  font-size: clamp(38px, 4.6vw, 52px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
  color: var(--text);
}
.stat .num.accent-color { color: var(--accent-dark); }
html.dark .stat .num.accent-color { color: var(--accent); }
.stat .lbl { margin-top: 8px; color: var(--text-3); font-size: 14px; }

/* ─── Problem list ─── */
.problem-list {
  list-style: none; margin-top: 32px;
  display: grid; gap: 12px;
  max-width: 720px;
}
.problem-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; color: var(--text-2);
  padding: 16px 20px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
}
.problem-list li::before {
  content: "✕"; color: var(--red); font-weight: 700; font-size: 14px;
  flex-shrink: 0; margin-top: 3px;
}
.problem-list b { color: var(--text); }

/* ─── Folder grid ─── */
.folder-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; margin-top: 44px;
}
.folder-card {
  padding: 26px 24px; border-radius: 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.folder-card:hover {
  transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 16px 40px var(--accent-glow);
}
.folder-card .folder-name {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  color: var(--accent-dark); font-weight: 700; font-size: 13px;
  background: var(--accent-soft);
  padding: 4px 10px; border-radius: 6px;
  display: inline-block; margin-bottom: 14px;
}
html.dark .folder-card .folder-name { color: var(--accent); }
.folder-card h3 { font-size: 18px; margin-bottom: 8px; }
.folder-card p { font-size: 14.5px; line-height: 1.55; color: var(--text-3); }
.folder-card .folder-link {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--accent-dark);
  transition: color .15s, transform .15s;
}
html.dark .folder-card .folder-link { color: var(--accent); }
.folder-card:hover .folder-link { transform: translateX(3px); }
a.folder-card { text-decoration: none; color: inherit; cursor: pointer; display: block; }

/* Anchored folder detail sections on quick-start page */
.folder-detail { padding: 64px 0; border-top: 1px solid var(--border); }
.folder-detail:first-child { border-top: none; }
.folder-detail .ed-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
}
.folder-detail .ed-tag {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  color: var(--accent-dark); font-weight: 700; font-size: 14px;
  background: var(--accent-soft); padding: 5px 12px; border-radius: 6px;
}
html.dark .folder-detail .ed-tag { color: var(--accent); }
.folder-detail h2 { font-size: clamp(28px, 4vw, 40px); }
.folder-detail .ed-blurb { font-size: 17px; color: var(--text-2); line-height: 1.6; margin: 14px 0 28px; max-width: 720px; }
.folder-detail .ed-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
@media (max-width: 820px) {
  .folder-detail .ed-grid { grid-template-columns: 1fr; }
}
.folder-detail h4 { margin-bottom: 10px; font-size: 16px; }
.folder-detail .ed-block p { font-size: 15px; color: var(--text-3); line-height: 1.6; margin-bottom: 10px; }
.folder-detail .code-block { font-size: 12.5px; }

/* ─── Workshop / pricing grid ─── */
.pricing-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: start;
}
@media (max-width: 920px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 36px; }
}
.acts { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.act {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 24px;
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
}
.act-num {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--text); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; letter-spacing: -.02em;
}
.act-time {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--accent-dark); text-transform: uppercase; margin-bottom: 4px;
}
html.dark .act-time { color: var(--accent); }
.act h4 { margin-bottom: 4px; }
.act p { font-size: 14.5px; line-height: 1.55; color: var(--text-3); }

.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 22px; padding: 32px; position: sticky; top: 80px;
  box-shadow: var(--shadow-lg);
}
.price-card .ribbon {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 16px;
}
html.dark .price-card .ribbon { color: var(--accent); }
.price-card .price {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px;
}
.price-card .amount {
  font-size: 48px; font-weight: 800;
  letter-spacing: -.035em; line-height: 1; color: var(--text);
}
.price-card .label { color: var(--text-3); font-size: 14px; }
.price-card .note { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }
.price-card h3 {
  font-size: 12px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 16px;
}
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; font-size: 14.5px; color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.price-card li:last-child { border-bottom: none; }
.price-card li svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ─── FAQ ─── */
.faq-list { display: grid; gap: 10px; margin-top: 32px; max-width: 760px; }
.faq-list details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 22px;
  transition: border-color .15s;
}
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-weight: 600; font-size: 16px; color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 24px; font-weight: 300;
  color: var(--text-3); transition: transform .2s, color .15s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--accent-dark); }
html.dark .faq-list details[open] summary::after { color: var(--accent); }
.faq-list details p {
  margin-top: 14px; color: var(--text-2); font-size: 15px; line-height: 1.6;
}

/* ─── Resources grid ─── */
.resource-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; margin-top: 40px;
}
.resource {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; transition: border-color .15s, transform .15s, box-shadow .15s;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit;
}
.resource:hover {
  border-color: var(--accent); transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.resource .icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
html.dark .resource .icon { color: var(--accent); }
.resource .label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--accent-dark);
}
html.dark .resource .label { color: var(--accent); }
.resource h3 { font-size: 18px; margin-top: 2px; }
.resource p { font-size: 14px; color: var(--text-3); line-height: 1.5; }

/* ─── Testimonials masonry ─── */
.testimonials {
  columns: 3 320px; column-gap: 14px; margin-top: 44px;
}
.testimonial {
  break-inside: avoid; margin-bottom: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px; display: inline-block; width: 100%;
}
.testimonial-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--text-3); }
.testimonial-quote { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }

/* ─── CTA banner ─── */
.cta-banner {
  background: var(--text); color: var(--bg);
  border-radius: 28px; padding: 56px 40px; text-align: center;
  margin: 24px 0 56px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: var(--bg); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.65); max-width: 580px; margin: 0 auto 28px; }
html.dark .cta-banner p { color: rgba(0,0,0,.65); }
.cta-banner .btn-primary {
  background: var(--accent); color: var(--text);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.cta-banner .btn-primary:hover { background: var(--accent-dark); color: var(--bg); }
.cta-banner .btn-secondary {
  background: transparent; border-color: rgba(255,255,255,.25); color: var(--bg);
}
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,.08); border-color: var(--bg); }
html.dark .cta-banner .btn-secondary { border-color: rgba(0,0,0,.25); }

/* ─── Email form ─── */
.email-form {
  display: flex; gap: 8px; max-width: 480px; margin: 0 auto;
}
.email-form input {
  flex: 1; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color .15s;
}
.email-form input:focus { outline: none; border-color: var(--accent); }
.email-form button { white-space: nowrap; }
@media (max-width: 520px) {
  .email-form { flex-direction: column; }
  .email-form input { border-radius: 16px; }
}

/* ─── Code block ─── */
.code-block {
  background: #0a0a0a; border: 1px solid #1a1a1a;
  border-radius: 14px; padding: 18px 22px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 13px; line-height: 1.6; color: #d4d4d8;
  overflow-x: auto; margin-top: 14px;
}
.code-block .comment { color: #71717a; }
.code-block .accent { color: var(--accent); font-weight: 600; }

/* ─── Template / prompt card ─── */
.template-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px;
  margin-bottom: 14px;
}
.template-card .template-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 10px;
}
.template-card h3 { font-size: 18px; }
.template-card .category {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--accent-dark);
  background: var(--accent-soft); padding: 4px 10px; border-radius: 999px;
}
html.dark .template-card .category { color: var(--accent); }
.template-card .blurb { color: var(--text-3); font-size: 14px; margin-bottom: 16px; }
.template-card .code-block { margin-top: 0; }

/* Filter pills */
.filter-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; justify-content: center;
}
.filter-pill {
  padding: 9px 18px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-2); font-size: 13px; font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}
.filter-pill:hover { color: var(--text); border-color: var(--border-strong); }
.filter-pill.is-active {
  background: var(--text); color: var(--bg);
  border-color: var(--text);
}

/* Numbered list */
.numlist { display: grid; gap: 10px; margin-top: 28px; }
.numlist .nl {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px;
  padding: 18px 20px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px;
}
.numlist .nl-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.numlist .nl h4 { margin-bottom: 4px; }
.numlist .nl p { font-size: 14.5px; color: var(--text-3); line-height: 1.55; }

/* ─── Footer ─── */
.footer {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 36px;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.5; max-width: 320px; color: var(--text-3); }
.footer-brand .powered {
  margin-top: 14px; font-size: 12px; color: var(--text-3);
}
.footer-brand .powered a { color: var(--accent-dark); font-weight: 600; }
html.dark .footer-brand .powered a { color: var(--accent); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--text-3); text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block; padding: 6px 0;
  color: var(--text-2); font-size: 14px;
  transition: color .12s;
}
.footer-col a:hover { color: var(--accent-dark); }
html.dark .footer-col a:hover { color: var(--accent); }
.footer-copy {
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted); text-align: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.fade-up { animation: fadeUp .55s ease-out both; }
.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; }
}

/* ─── Founder section (BetterWeb-style) ─── */
.founder-section,
.founder-section *,
.founder-section .founder-bio p,
.founder-section .founder-quote { text-align: left !important; }
.founder-section {
  max-width: 740px; margin: 0 auto; padding: 72px 32px 88px;
}
.founder-header {
  display: flex; align-items: center; gap: 40px; margin-bottom: 40px;
}
.founder-photo-wrap {
  flex-shrink: 0; width: 240px; height: 320px; border-radius: 22px;
  padding: 3px; overflow: hidden;
  background: linear-gradient(160deg, var(--accent-glow), rgba(20,184,166,0.06));
  box-shadow: 0 8px 32px var(--accent-glow);
}
.founder-photo {
  width: 100%; height: 100%; display: block; border-radius: 14px;
  object-fit: cover; object-position: 50% 22%;
  filter: contrast(1.02) saturate(0.95);
}
.founder-intro { display: flex; flex-direction: column; padding-top: 8px; min-width: 0; }
.founder-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-dark); margin-bottom: 10px;
}
.founder-name {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: 40px; letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 8px;
  color: var(--text);
}
.founder-title { font-size: 14px; color: var(--text-3); font-weight: 500; margin: 0 0 16px; line-height: 1.5; }
.founder-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.founder-badges img {
  height: 32px !important; width: auto !important;
  max-width: 200px; max-height: 32px;
  border-radius: 5px; box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  object-fit: contain;
}
.founder-bio p { font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }
.founder-quote {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic;
  font-size: 24px; line-height: 1.5; color: var(--text);
  padding: 28px 0; margin: 28px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative;
}
.founder-quote::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 40px; height: 1px; background: var(--accent-dark);
}
.founder-cta { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .founder-section { padding: 56px 24px 72px; }
  .founder-name { font-size: 32px; }
  .founder-quote { font-size: 20px; }
}
@media (max-width: 520px) {
  .founder-header { flex-direction: column; gap: 20px; align-items: flex-start; }
  .founder-photo-wrap { width: 220px; height: 290px; }
  .founder-intro { padding-top: 0; }
  .founder-name { font-size: 30px; }
}

/* ─── Forbes article cards ─── */
.articles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px; margin-top: 32px;
}
.article-card {
  display: block; padding: 22px; border-radius: 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: border-color .15s, transform .15s, box-shadow .15s;
  text-align: left;
}
.article-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.article-card .article-pub {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 12px;
}
.article-card h4 { font-size: 16.5px; line-height: 1.35; margin-bottom: 10px; color: var(--text); }
.article-card .article-date { font-size: 12.5px; color: var(--text-3); }

/* ─── Prompts library ─── */
.prompt-card {
  padding: 22px; border-radius: 18px; background: var(--bg-card); border: 1px solid var(--border);
  text-align: left; margin-bottom: 18px;
}
.prompt-card h4 { font-size: 17px; margin-bottom: 6px; }
.prompt-card .prompt-cat {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px;
}
.prompt-card .prompt-blurb { font-size: 14.5px; color: var(--text-2); margin-bottom: 14px; }
.prompt-card .prompt-body { font-size: 13.5px; line-height: 1.55; }

/* ─── Legal pages ─── */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin-top: 36px; margin-bottom: 12px; }
.legal h3 { font-size: 18px; margin-top: 24px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal li { margin-bottom: 8px; }

/* ─── Articles page (Forbes list) ─── */
.press-hero {
  text-align: center; padding: 80px 24px 24px;
}
.press-hero .forbes-mark {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-family: 'Instrument Serif', Georgia, serif; font-size: 22px;
  color: var(--text); letter-spacing: -0.5px; margin-bottom: 24px;
}
.press-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.press-hero .lede { max-width: 620px; margin: 18px auto 0; }

.press-list { max-width: 820px; margin: 0 auto; padding: 0 24px 80px; }
.press-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 28px;
  align-items: center; padding: 22px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text); transition: padding .15s, background .15s;
}
.press-item:first-child { border-top: 1px solid var(--border); }
.press-item:hover { background: var(--bg-alt); padding-left: 14px; padding-right: 14px; }
.press-item .press-date {
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3);
}
.press-item .press-title {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: 22px; line-height: 1.3; color: var(--text);
  letter-spacing: -0.3px;
}
.press-item .press-kind {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-dark);
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg);
  white-space: nowrap;
}
.press-arrow {
  color: var(--text-3); font-size: 22px; line-height: 1;
  transition: transform .15s, color .15s;
}
.press-item:hover .press-arrow { color: var(--accent-dark); transform: translateX(4px); }

@media (max-width: 720px) {
  .press-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .press-item .press-kind { justify-self: start; }
  .press-arrow { display: none; }
  .press-item .press-title { font-size: 20px; }
}

/* ─── Forbes hero badge (articles page) ─── */
.forbes-hero-badge {
  display: block; margin: 0 auto 32px;
  max-width: 360px; width: 75%; height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,.10);
}
@media (max-width: 720px) {
  .forbes-hero-badge { max-width: 260px; }
}

}

/* ─── Logo marquee (BetterWeb 1:1 pattern, using my class names) ─── */
.logos-wrap {
  --marquee-duration: 30s;
  max-width: 880px;
  width: calc(100% - 40px);
  margin: 56px auto 60px;
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.logos-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-3);
  margin: 0 auto 28px;
  text-align: center; display: block; padding: 0 20px;
}
.logos-track {
  display: flex; align-items: center;
  width: max-content;
  animation: logos-marquee var(--marquee-duration) linear infinite;
}
.logos-wrap:hover .logos-track { animation-play-state: paused; }
@keyframes logos-marquee {
  0%   { transform: translate(0); }
  100% { transform: translateX(-50%); }
}
.logo-cell {
  flex-shrink: 0;
  padding: 0 36px;
  display: flex; align-items: center; justify-content: center;
}
.logo-item {
  max-height: 36px !important;
  width: auto !important; height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) brightness(0) opacity(0.55);
  transition: filter .2s;
}
.logo-item:hover { filter: grayscale(100%) brightness(0) opacity(0.95); }
html.dark .logo-item { filter: grayscale(100%) brightness(0) invert(1) opacity(0.65); }
html.dark .logo-item:hover { filter: grayscale(100%) brightness(0) invert(1) opacity(1); }
/* RTL Hebrew: keep marquee LTR (BetterWeb pattern) so logos slide naturally */
body.lang-he .logos-wrap { direction: ltr; }
body.lang-he .logos-track { direction: ltr; }
@media (max-width: 720px) {
  .logos-wrap { padding: 18px 0; margin: 36px auto 44px; width: calc(100% - 24px); border-radius: 14px; }
  .logo-cell { padding: 0 20px; }
  .logo-item { max-height: 26px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 30px; padding: 0 20px; }
}

/* ─── Forbes badge (the real Forbes-issued Council Member badge) ─── */
.forbes-press {
  display: inline-block;
  text-decoration: none;
  transition: transform .15s;
  margin: 0 auto;
}
.forbes-press:hover { transform: translateY(-2px); }
.forbes-press img {
  display: block;
  width: 100%;
  max-width: 480px;
  margin-bottom: 2px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0,0,0,.12);
  margin: 0 auto;
}
.forbes-press-sub {
  margin-top: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--text-3);
  text-align: center;
}
.forbes-press:hover .forbes-press-sub { color: var(--accent-dark); }
@media (max-width: 720px) {
  .forbes-press img { max-width: 320px; }
  .forbes-press-sub { font-size: 11px; letter-spacing: 1.4px; }
}

/* ─── Forbes badge (clean prominent display) ─── */
.forbes-press {
  display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  text-decoration: none;
  transition: transform .15s;
  padding: 8px;
}
.forbes-press:hover { transform: translateY(-2px); }
.forbes-press img {
  display: block;
  height: auto;
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  transition: box-shadow .15s;
}
.forbes-press:hover img { box-shadow: 0 14px 40px rgba(0,0,0,.16); }
.forbes-press-sub {
  font-size: 12px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--text-3);
  text-align: center;
}
.forbes-press:hover .forbes-press-sub { color: var(--accent-dark); }
@media (max-width: 720px) {
  .forbes-press img { max-width: 300px; }
  .forbes-press-sub { font-size: 11px; letter-spacing: 1.4px; }
}

/* ─── Global centering (per Guy's preference) — desktop AND mobile ─── */
.container,
.container > section,
.container > div,
.container .hero-inner,
.container .max-700,
.container .max-800 { text-align: center; }
.container h1, .container h2, .container h3, .container h4,
.container p, .container .lede, .container .eyebrow,
.container ol, .container > ul,
.container .stats, .container .hero-ctas, .container .hero-rating,
.container .role-chips { text-align: center; }
.container .stats, .container .hero-ctas, .container .hero-rating,
.container .role-chips, .container .folder-grid { justify-content: center; justify-items: center; }
.problem-list { display: inline-block; text-align: left; margin: 0 auto; }
.numlist { display: inline-grid; text-align: left; margin: 0 auto; max-width: 720px; }
.code-block, .code-block *, .code-block pre { text-align: left !important; }
.folder-card, .folder-card * { text-align: left; }
.faq details, .faq summary, .faq p { text-align: left; }
.testimonials, .testimonial, .testimonial * { text-align: left; }
.template-card, .template-card * { text-align: left; }
.act-card, .act-card * { text-align: left; }
.price-card, .price-card * { text-align: left; }
.act-list { text-align: left; }
.cta-banner, .cta-banner * { text-align: center; }
.cta-banner ul { display: inline-block; text-align: left; margin: 0 auto; }

/* Founder + press item + legal explicitly left despite global rule */
.founder-section, .founder-section *,
.press-list, .press-item, .press-item *,
.legal, .legal *, .prompt-card, .prompt-card * { text-align: left !important; }
.press-hero, .press-hero * { text-align: center !important; }

/* Make sure centering survives at small screens */
@media (max-width: 720px) {
  .container, .container * { letter-spacing: inherit; }
  .container .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; justify-items: center; }
  .container .hero-ctas { flex-direction: column; align-items: stretch; }
}

/* ─── Starter Pack — clean list + install steps ─── */
.pack-list { display: grid; gap: 14px; }
.pack-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start;
  padding: 22px 28px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; text-align: left;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pack-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 28px var(--accent-glow); }
.pack-item, .pack-item * { text-align: left !important; }
.pack-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 38px; line-height: 1; color: var(--accent-dark);
  font-weight: 400;
}
.pack-item h3 { font-size: 19px; margin-bottom: 6px; color: var(--text); }
.pack-item p { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0; }

.install-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 980px; margin: 40px auto 0;
}
.install-step {
  padding: 28px 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; text-align: left;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.install-step:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 28px var(--accent-glow); }
.install-step, .install-step * { text-align: left !important; }
.install-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.install-step h3 { font-size: 18px; margin-bottom: 6px; }
.install-step p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.install-step code {
  background: var(--bg-alt); padding: 2px 7px; border-radius: 5px;
  font-family: ui-monospace, monospace; font-size: 13px; color: var(--accent-dark);
}
@media (max-width: 720px) {
  .install-steps { grid-template-columns: 1fr; max-width: 480px; }
  .pack-item { grid-template-columns: 52px 1fr; padding: 20px 22px; gap: 18px; }
  .pack-num { font-size: 32px; }
}

/* ─── Language switcher ─── */
.lang-switch {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border);
  transition: border-color .15s, color .15s, background .15s;
}
.lang-switch:hover { color: var(--text); border-color: var(--border-strong); background: var(--bg-soft); }

/* ─── Hebrew / RTL ─── */
html.rtl, body.lang-he { direction: rtl; }
body.lang-he, body.lang-he * {
  font-family: 'Heebo', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.lang-he .founder-name { font-family: 'Heebo', sans-serif !important; }
body.lang-he .nav-inner,
body.lang-he .hero-ctas,
body.lang-he .hero-rating,
body.lang-he .stats,
body.lang-he .footer-inner { direction: rtl; }
body.lang-he .founder-section,
body.lang-he .founder-section *,
body.lang-he .legal,
body.lang-he .legal * { text-align: right !important; }
body.lang-he .press-item { grid-template-columns: auto 1fr 110px; }
body.lang-he .press-arrow { transform: scaleX(-1); }
body.lang-he .marquee::before, body.lang-he .marquee::after { display: none; }
body.lang-he h1, body.lang-he h2, body.lang-he h3, body.lang-he h4,
body.lang-he .founder-name { letter-spacing: 0; }
body.lang-he .accent { font-weight: 800; }
body.lang-he .btn-primary svg, body.lang-he .btn svg { transform: scaleX(-1); }

/* ─── Simplified homepage components (Agents.me style) ─── */
.hero-roles { margin-bottom: 28px; }
.hero-roles .chip {
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 12px; padding: 6px 12px;
}
.hero-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 18px;
}
.hero-footnote {
  margin-top: 24px; font-size: 13px; color: var(--text-muted); font-style: italic;
}

.press-strip { padding: 36px 0 32px; }
.press-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 16px;
}
.press-row { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.press-mark { height: 56px; width: auto; max-width: 360px; opacity: .92; transition: opacity .15s, transform .15s; }
.press-mark:hover { opacity: 1; transform: scale(1.03); }
.press-row a { display: inline-block; }

.social-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 1100px; margin: 40px auto 0;
}
.social-card {
  padding: 28px 26px; border-radius: 20px; background: var(--bg-card);
  border: 1px solid var(--border); text-align: left;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.social-card, .social-card * { text-align: left !important; }
.social-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 30px var(--accent-glow); }
.social-quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-size: 18px; line-height: 1.55;
  color: var(--text); margin-bottom: 22px;
}
.social-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.social-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.social-name { font-size: 14px; font-weight: 700; color: var(--text); }
.social-role { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
@media (max-width: 820px) {
  .social-grid { grid-template-columns: 1fr; max-width: 480px; }
}

.simple-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 1000px; margin: 44px auto 0;
}
.simple-card {
  padding: 32px 28px; border-radius: 20px; background: var(--bg-card);
  border: 1px solid var(--border); text-align: left;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.simple-card, .simple-card * { text-align: left !important; }
.simple-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 30px var(--accent-glow); }
.simple-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px; line-height: 1; color: var(--accent-dark);
  margin-bottom: 18px;
}
.simple-card h3 { font-size: 19px; margin-bottom: 8px; }
.simple-card p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 820px) {
  .simple-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ─── Consolidated mobile polish (last in cascade, wins specificity ties) ─── */
@media (max-width: 720px) {
  /* Tighter container so content has room */
  .container { padding: 0 20px; }
  /* Nav: drop the workshop CTA, keep only lang+theme; brand a touch smaller */
  .nav-inner { padding: 12px 18px; gap: 10px; }
  .nav-cta .btn { display: none; }
  .brand { font-size: 17px; }
  .lang-switch { padding: 6px 10px; font-size: 12px; }
  .theme-btn { width: 32px; height: 32px; }
  /* Hero spacing + chips wrap nicely */
  .hero { padding: 36px 0 24px; }
  .hero-roles { gap: 6px; margin-bottom: 22px; }
  .hero-roles .chip { font-size: 11.5px; padding: 5px 10px; }
  .hero-tag { font-size: 11px; letter-spacing: 1.2px; margin-bottom: 14px; }
  .hero-footnote { font-size: 12px; margin-top: 18px; padding: 0 8px; }
  .hero h1 { padding: 0 4px; }
  /* Founder block stacks on tablet too, not just <520 */
  .founder-section { padding: 40px 20px 56px; }
  .founder-header { flex-direction: column; gap: 18px; align-items: flex-start; }
  .founder-photo-wrap { width: 200px; height: 264px; }
  .founder-intro { padding-top: 0; }
  .founder-name { font-size: 30px; }
  .founder-title { font-size: 13.5px; }
  .founder-badges img { height: 28px !important; max-height: 28px; }
  .founder-bio p { font-size: 15px; line-height: 1.7; }
  .founder-quote { font-size: 18px; padding: 22px 0; }
  /* Section padding tighter */
  .section { padding: 56px 0; }
  /* Press strip + Forbes lockup */
  .press-strip { padding: 40px 0 24px; }
  .forbes-wordmark { font-size: 42px; letter-spacing: -1px; }
  /* Social card padding tighter */
  .social-card { padding: 24px 22px; }
  .social-quote { font-size: 17px; }
  /* Simple cards padding tighter */
  .simple-card { padding: 26px 22px; }
  /* CTA banner padding fix */
  .cta-banner { padding: 36px 22px; border-radius: 18px; margin: 0 4px; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner p { font-size: 15px; }
  /* Footer columns stack cleanly */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-roles { display: none; } /* chips clutter very small screens */
  .nav-cta { gap: 6px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 28px 18px; }
}

/* ─── LinkedIn copy fields (certificate page) ─── */
.li-field {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 14px;
  align-items: center; padding: 14px 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
}
.li-field-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-3);
}
.li-field-value {
  font-family: ui-monospace, monospace; font-size: 14.5px;
  color: var(--text); word-break: break-all;
}
.li-copy-btn {
  padding: 8px 14px; border-radius: 8px;
  background: var(--accent); color: #fff; border: none;
  font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: background .15s, transform .15s;
}
.li-copy-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
@media (max-width: 720px) {
  .li-field { grid-template-columns: 1fr; gap: 6px; padding: 14px; }
  .li-copy-btn { justify-self: end; }
}


/* RTL: reverse marquee direction so logos flow naturally for Hebrew readers */
body.lang-he .logos-track { animation-direction: reverse; }


/* ─── Mobile: center EVERYTHING (last rule, wins) ─── */
@media (max-width: 720px) {
  .container, .container > *, .container > * > *,
  .hero-inner, .hero-inner *,
  section .container h1, section .container h2, section .container h3, section .container h4,
  section .container p, section .container .lede, section .container .eyebrow,
  .install-step h3, .install-step p,
  .pack-item, .pack-item *, .pack-item h3, .pack-item p,
  .simple-card h3, .simple-card p,
  .social-card, .social-card *,
  .nl, .nl > div, .nl h4, .nl p {
    text-align: center !important;
  }
  /* Center icons/numbers inside cards */
  .install-step-num, .simple-num, .pack-num, .nl-num { margin-left: auto; margin-right: auto; }
  /* Center the install-step + pack-item content under the number */
  .install-step, .pack-item { text-align: center; }
  .pack-item { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
  .nl { grid-template-columns: 1fr; gap: 8px; justify-items: center; }
  .numlist { display: block; }
  .numlist .nl { display: flex; flex-direction: column; align-items: center; }
  /* Founder block stays center-aligned on mobile (override left) */
  .founder-section, .founder-section *,
  .founder-header, .founder-intro, .founder-bio, .founder-bio p, .founder-quote { text-align: center !important; }
  .founder-header { align-items: center !important; }
  .founder-photo-wrap { margin-left: auto !important; margin-right: auto !important; }
  .founder-badges { justify-content: center !important; }
  .founder-quote::before { left: 50% !important; transform: translateX(-50%); }
}


/* ─── Hebrew mobile centering (force center even though direction is RTL) ─── */
@media (max-width: 720px) {
  body.lang-he .container, body.lang-he .container *,
  body.lang-he .hero-inner, body.lang-he .hero-inner *,
  body.lang-he section h1, body.lang-he section h2, body.lang-he section h3, body.lang-he section h4,
  body.lang-he section p, body.lang-he section .lede, body.lang-he section .eyebrow,
  body.lang-he .nl, body.lang-he .nl > div, body.lang-he .nl h4, body.lang-he .nl p,
  body.lang-he .install-step, body.lang-he .install-step *,
  body.lang-he .pack-item, body.lang-he .pack-item *,
  body.lang-he .simple-card, body.lang-he .simple-card *,
  body.lang-he .social-card, body.lang-he .social-card *,
  body.lang-he .founder-section, body.lang-he .founder-section *,
  body.lang-he .founder-bio, body.lang-he .founder-bio p,
  body.lang-he .founder-quote { text-align: center !important; }
  body.lang-he .founder-photo-wrap { margin-left: auto !important; margin-right: auto !important; }
  body.lang-he .founder-badges { justify-content: center !important; }
  body.lang-he .founder-header { align-items: center !important; }
  body.lang-he .founder-quote::before { left: 50% !important; transform: translateX(-50%); }
  body.lang-he .numlist .nl { flex-direction: column; align-items: center; }
}

/* ─── Cohort date picker + checkout (workshop reserve) ─── */
.cohort-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 760px; margin: 0 auto 36px;
}
.cohort-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: 18px;
  background: var(--bg-card); border: 2px solid var(--border);
  text-align: left; cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  font-family: inherit;
}
.cohort-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cohort-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.cohort-date {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 12px; background: var(--bg-alt);
}
.cohort-card.is-selected .cohort-date {
  background: var(--accent); color: #fff;
}
.cohort-day { font-size: 24px; font-weight: 800; line-height: 1; color: var(--text); }
.cohort-card.is-selected .cohort-day { color: #fff; }
.cohort-mo { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-3); margin-top: 4px; }
.cohort-card.is-selected .cohort-mo { color: #fff; opacity: 0.9; }
.cohort-body { flex: 1; min-width: 0; }
.cohort-time { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cohort-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-3);
}
.cohort-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}

.checkout-card {
  max-width: 480px; margin: 0 auto;
  padding: 28px 28px 24px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
  text-align: left;
}
.checkout-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.checkout-row:last-of-type { border-bottom: none; }
.checkout-label { color: var(--text-3); font-weight: 600; }
.checkout-value { color: var(--text); font-weight: 600; text-align: right; }
.btn-block { width: 100%; }

@media (max-width: 720px) {
  .cohort-grid { grid-template-columns: 1fr; max-width: 420px; }
  .cohort-card { padding: 16px; }
  .checkout-card { padding: 22px 20px; }
  .checkout-row { font-size: 13.5px; }
}

/* ─── Animated glow background (always-on, very subtle) ─── */
.glow-bg::before {
  animation: glowDriftA 22s ease-in-out infinite alternate;
}
.glow-bg::after {
  animation: glowDriftB 28s ease-in-out infinite alternate;
}
@keyframes glowDriftA {
  0%   { transform: translate(0, 0) scale(1);   opacity: 0.55; }
  50%  { transform: translate(40px, 30px) scale(1.08); opacity: 0.65; }
  100% { transform: translate(-20px, 60px) scale(0.95); opacity: 0.48; }
}
@keyframes glowDriftB {
  0%   { transform: translate(0, 0) scale(1);   opacity: 0.40; }
  50%  { transform: translate(-50px, -20px) scale(1.06); opacity: 0.55; }
  100% { transform: translate(30px, -40px) scale(0.97); opacity: 0.38; }
}
@media (prefers-reduced-motion: reduce) {
  .glow-bg::before, .glow-bg::after { animation: none; }
}

/* ─── First-load: 6 folder marks drift in + assemble (one-time per session) ─── */
.vault-assembler {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
  transition: opacity .9s ease 1.8s;
}
.vault-assembler.is-done { opacity: 0; }
.vault-mark {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: 0 12px 36px var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px; color: var(--accent-dark);
  font-weight: 400;
  animation: vaultDrift 1.8s cubic-bezier(.18,.85,.25,1) both;
}
.vault-mark[data-i="0"] { --tx: -260px; --ty: -90px; animation-delay: 0s; }
.vault-mark[data-i="1"] { --tx:  240px; --ty: -120px; animation-delay: .08s; }
.vault-mark[data-i="2"] { --tx: -280px; --ty:  60px;  animation-delay: .16s; }
.vault-mark[data-i="3"] { --tx:  260px; --ty:  80px;  animation-delay: .24s; }
.vault-mark[data-i="4"] { --tx: -60px;  --ty: -140px; animation-delay: .32s; }
.vault-mark[data-i="5"] { --tx:  60px;  --ty:  140px; animation-delay: .40s; }
@keyframes vaultDrift {
  0%   { transform: translate(var(--tx), var(--ty)) scale(0.6); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(0, 0) scale(0.78); opacity: 0; }
}
html.dark .vault-mark { color: var(--accent); background: rgba(20,184,166,.06); border-color: rgba(20,184,166,.35); }
@media (max-width: 720px) {
  .vault-mark { width: 44px; height: 44px; font-size: 22px; }
  .vault-mark[data-i="0"] { --tx: -140px; --ty: -80px; }
  .vault-mark[data-i="1"] { --tx:  130px; --ty: -100px; }
  .vault-mark[data-i="2"] { --tx: -150px; --ty:  50px; }
  .vault-mark[data-i="3"] { --tx:  140px; --ty:  70px; }
  .vault-mark[data-i="4"] { --tx: -40px;  --ty: -110px; }
  .vault-mark[data-i="5"] { --tx:  40px;  --ty:  110px; }
}
@media (prefers-reduced-motion: reduce) {
  .vault-assembler, .vault-mark { display: none !important; }
}
