/* ============================================================
   Marqex — Landing Page Stylesheet
   Dark theme · Inter · Minimal · Human
   ============================================================ */

/* ----------------------------------------------------------
   Tokens
   ---------------------------------------------------------- */
:root {
  --bg:           #0a0a0a;
  --surface:      #141414;
  --surface-2:    #1c1c1c;
  --border:       #2a2a2a;
  --border-light: #222222;

  --text:         #f0f0f0;
  --text-2:       #a0a0a0;
  --text-3:       #5a5a5a;

  --accent:       #4f7df7;
  --accent-hover: #3d6df0;
  --accent-dim:   rgba(79, 125, 247, 0.12);

  --violet:       #8b5cf6;
  --violet-dim:   rgba(139, 92, 246, 0.12);
  --teal:         #14b8a6;
  --teal-dim:     rgba(20, 184, 166, 0.12);

  --green:        #22c55e;
  --amber:        #f59e0b;
  --red:          #ef4444;

  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --mono:         'JetBrains Mono', 'Fira Code', monospace;

  --max-w:        1120px;
  --nav-h:        60px;
  --r:            10px;
  --r-lg:         16px;
  --r-xl:         20px;

  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --t:            200ms;
}

/* ----------------------------------------------------------
   Reset
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ----------------------------------------------------------
   Layout
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 28px;
}

.section { padding-block: 112px; }

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 72px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border-radius: var(--r);
  transition: background var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              transform var(--t) var(--ease),
              border-color var(--t) var(--ease);
  white-space: nowrap;
}

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 11px 22px;
  box-shadow: 0 1px 3px rgba(79, 125, 247, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(79, 125, 247, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: 11px 22px;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: #3a3a3a; }

.btn-sm  { font-size: 13px; padding: 8px 16px; border-radius: 8px; }
.btn-lg  { font-size: 15px; padding: 14px 28px; border-radius: var(--r-lg); }

/* ----------------------------------------------------------
   Nav
   ---------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  transition: border-color var(--t);
}

.site-nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.logo-mark { width: 28px; height: 28px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 40px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }

.nav-actions { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 15px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t);
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(79, 125, 247, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.06); }
}

.hero-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

/* ----------------------------------------------------------
   Waitlist Form
   ---------------------------------------------------------- */
.waitlist-form { max-width: 480px; }

.waitlist-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.waitlist-input-group input {
  flex: 1;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t);
}

.waitlist-input-group input::placeholder { color: var(--text-3); }

.waitlist-input-group input:focus { border-color: var(--accent); }

.waitlist-note {
  font-size: 13px;
  color: var(--text-3);
}

/* Large form variant (bottom CTA) */
.waitlist-form-large .waitlist-input-group input {
  padding: 14px 18px;
  font-size: 15px;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.waitlist-form-large .waitlist-input-group input:focus {
  border-color: var(--accent);
  background: rgba(79, 125, 247, 0.05);
}

/* ----------------------------------------------------------
   Dashboard Mockup
   ---------------------------------------------------------- */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.dashboard-mock {
  width: 100%;
  max-width: 460px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 60px rgba(79, 125, 247, 0.06);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.mock-dots { display: flex; gap: 5px; }
.mock-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mock-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  margin-left: 4px;
}

.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.mock-team { display: flex; flex-direction: column; gap: 8px; }

.mock-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r);
  border-left: 3px solid;
  background: var(--bg);
}

.mock-strategist { border-left-color: var(--violet); }
.mock-content    { border-left-color: var(--accent); }
.mock-social     { border-left-color: var(--teal); }

.mock-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.mock-strategist .mock-avatar { background: var(--violet-dim); color: var(--violet); }
.mock-content    .mock-avatar { background: var(--accent-dim);  color: var(--accent); }
.mock-social     .mock-avatar { background: var(--teal-dim);    color: var(--teal); }

.mock-member-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }

.mock-member-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.mock-member-status {
  font-size: 11px;
  font-weight: 500;
}

.status-done    { color: var(--green); }
.status-writing { color: var(--accent); animation: blink-text 1.2s infinite; }
.status-queued  { color: var(--text-3); }

@keyframes blink-text {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.mock-divider {
  height: 1px;
  background: var(--border-light);
}

.mock-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-queue { display: flex; flex-direction: column; gap: 6px; }

.mock-output {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-size: 12px;
}

.mock-output-type {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.type-strategy { background: var(--violet-dim); color: var(--violet); }
.type-content  { background: var(--accent-dim);  color: var(--accent); }
.type-social   { background: var(--teal-dim);    color: var(--teal); }

.mock-output-title {
  flex: 1;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

.badge-approved { background: rgba(34, 197, 94, 0.12); color: var(--green); }
.badge-pending  { background: rgba(245, 158, 11, 0.12); color: var(--amber); }

.mock-stream {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-3);
  padding: 4px 0;
}

.stream-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s infinite;
}

.stream-text { color: var(--text-3); font-style: italic; }

.stream-cursor {
  color: var(--accent);
  animation: blink-cursor 1s step-end infinite;
  font-weight: 300;
}

@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ----------------------------------------------------------
   Trust Bar
   ---------------------------------------------------------- */
.trust-bar {
  padding-block: 48px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 24px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-logo-item {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: -0.01em;
  padding-inline: 28px;
  transition: color var(--t);
}

.trust-logo-item:hover { color: var(--text-2); }

.trust-logo-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ----------------------------------------------------------
   Problem Section
   ---------------------------------------------------------- */
.problem { background: var(--bg); }

.problem-header {
  text-align: center;
  margin-bottom: 64px;
}

.problem-header .section-title {
  font-size: clamp(28px, 4vw, 44px);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.problem-card {
  background: var(--bg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--t);
}

.problem-card:hover { background: var(--surface); }

.problem-icon {
  font-size: 18px;
  color: var(--border);
  margin-bottom: 4px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.problem-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   Your Team Section
   ---------------------------------------------------------- */
.your-team { background: var(--surface); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.team-card-strategist::before { background: var(--violet); }
.team-card-content::before    { background: var(--accent); }
.team-card-social::before     { background: var(--teal); }

.team-card-strategist:hover { border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1); }
.team-card-content:hover    { border-color: rgba(79, 125, 247, 0.4); box-shadow: 0 8px 32px rgba(79, 125, 247, 0.1); }
.team-card-social:hover     { border-color: rgba(20, 184, 166, 0.4); box-shadow: 0 8px 32px rgba(20, 184, 166, 0.1); }

.team-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.team-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.avatar-strategist { background: var(--violet-dim); color: var(--violet); }
.avatar-content    { background: var(--accent-dim);  color: var(--accent); }
.avatar-social     { background: var(--teal-dim);    color: var(--teal); }

.team-card-meta h3 { font-size: 17px; margin-bottom: 2px; }

.team-card-role {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.team-card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
}

.team-card-delivers {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.delivers-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.team-card-delivers ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.team-card-delivers li {
  font-size: 13px;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.team-card-delivers li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-size: 11px;
  color: var(--text-3);
}

/* ----------------------------------------------------------
   How It Works
   ---------------------------------------------------------- */
.how-it-works { background: var(--bg); }

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 960px;
  margin-inline: auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 32px;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, var(--border) 100%);
  margin-top: 28px;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--border);
}

.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   Testimonials
   ---------------------------------------------------------- */
.testimonials { background: var(--surface); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.author-title {
  font-size: 12px;
  color: var(--text-3);
}

/* ----------------------------------------------------------
   Outcomes (What You Get)
   ---------------------------------------------------------- */
.outcomes { background: var(--bg); }

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.outcome-item {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--t);
}

.outcome-item:hover { background: var(--surface); }

.outcome-icon {
  width: 42px; height: 42px;
  border-radius: var(--r);
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 4px;
}

.outcome-item h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.outcome-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */
.faq { background: var(--bg); }

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  background: var(--bg);
  transition: background var(--t);
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: var(--surface); }

.faq-chevron {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform var(--t) var(--ease), color var(--t);
  line-height: 1;
}

details[open] .faq-chevron {
  transform: rotate(45deg);
  color: var(--text-2);
}

details[open] .faq-question { background: var(--surface); }

.faq-answer {
  padding: 0 28px 24px;
  background: var(--surface);
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ----------------------------------------------------------
   Bottom CTA / Waitlist
   ---------------------------------------------------------- */
.cta-section { background: var(--surface); }

.cta-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.cta-inner {
  padding: 80px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-inner .eyebrow { margin-bottom: 20px; }

.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  padding-block: 48px 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-3);
  transition: color var(--t);
}

.footer-nav a:hover { color: var(--text-2); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p, .footer-legal {
  font-size: 13px;
  color: var(--text-3);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a { color: var(--text-3); transition: color var(--t); }
.footer-legal a:hover { color: var(--text-2); }

/* ----------------------------------------------------------
   Scroll animations (JS-driven, .is-visible toggled)
   ---------------------------------------------------------- */
.anim {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   Accessibility
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-to-main {
  position: absolute;
  top: -100%; left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r);
  font-weight: 600;
  z-index: 9999;
}
.skip-to-main:focus { top: 16px; }

/* ----------------------------------------------------------
   Ghost CMS helpers
   ---------------------------------------------------------- */
.nav-links li { list-style: none; }
.nav-links li a { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color var(--t); }
.nav-links li a:hover { color: var(--text); }
.footer-links li { list-style: none; display: inline-block; margin-right: 20px; }
.footer-links li a { font-size: 13px; color: var(--text-3); transition: color var(--t); }
.footer-links li a:hover { color: var(--text-2); }

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { justify-content: center; }
  .hero-sub    { max-width: 100%; }
  .waitlist-form { max-width: 100%; }

  .team-grid         { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .outcomes-grid     { grid-template-columns: repeat(2, 1fr); }

  .steps-row {
    flex-direction: column;
    align-items: center;
    max-width: 560px;
  }
  .step { padding: 0 0 0 0; flex-direction: row; text-align: left; gap: 20px; align-items: flex-start; }
  .step-connector { display: none; }
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; }
  .section { padding-block: 80px; }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    z-index: 99;
  }
  .nav-open .nav-links a {
    display: block;
    padding: 14px 28px;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
  }
  .nav-open .nav-links a:last-child { border: none; }
  .nav-open .nav-actions {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 16px 24px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 99;
  }
  .nav-open .nav-actions .btn { width: 100%; justify-content: center; }

  .problem-grid  { grid-template-columns: 1fr; gap: 1px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }

  .trust-logo-sep { display: none; }
  .trust-logo-item { padding-inline: 16px; }

  .cta-inner { padding: 52px 28px; }

  .waitlist-input-group { flex-direction: column; }
  .waitlist-input-group .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .dashboard-mock { max-width: 100%; }
  .step { flex-direction: column; align-items: flex-start; }
}
