/* ==========================================================================
   Huddl — Marketing Site
   Design system: Teal #33C4A3 · Purple #7C5EF5 · Space Grotesk + Inter
   ========================================================================== */

:root {
  --teal: #33C4A3;
  --teal-dark: #28A186;
  --teal-soft: rgba(51, 196, 163, 0.12);
  --purple: #7C5EF5;
  --purple-soft: rgba(124, 94, 245, 0.12);
  --bg: #F7F7F9;
  --ink: #131419;
  --ink-soft: #4B4E5B;
  --muted: #7A7E8C;
  --white: #FFFFFF;
  --border: #E0E2E8;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(19, 20, 25, 0.06), 0 4px 14px rgba(19, 20, 25, 0.05);
  --shadow-md: 0 4px 12px rgba(19, 20, 25, 0.07), 0 16px 40px rgba(19, 20, 25, 0.08);
  --font-head: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 18px rgba(51, 196, 163, 0.35);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 10px 26px rgba(51, 196, 163, 0.45); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--border); background: var(--white); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-outline { border: 1.5px solid var(--border); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.btn-light:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 249, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; }
.logo-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--teal-dark); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.nav-signin:hover { color: var(--teal-dark); }
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero-decoration { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.orb--teal { width: 480px; height: 480px; background: var(--teal); top: -180px; right: -120px; }
.orb--purple { width: 420px; height: 420px; background: var(--purple); bottom: -220px; left: -140px; opacity: 0.22; }

.hero-content { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(51, 196, 163, 0.3);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-headline { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; margin-bottom: 22px; }
.accent-gradient {
  background: linear-gradient(100deg, var(--teal), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); max-width: 620px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Hero mockup ---------- */
.hero-mockup { position: relative; max-width: 940px; margin: 64px auto 0; }
.mockup-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: #FCFCFD;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #F87171; } .dot--y { background: #FBBF24; } .dot--g { background: #34D399; }
.mockup-url {
  margin-left: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px 14px;
}
.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}
.mockup-board-name { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); }
.mockup-board-name strong { font-size: 1.02rem; }
.mockup-circle-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 4px 12px;
  border-radius: 999px;
}
.mockup-presence { display: flex; align-items: center; }
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.avatar--1 { background: var(--teal); }
.avatar--2 { background: var(--purple); }
.avatar--3 { background: #F59E0B; }
.avatar--4 { background: #38BDF8; }
.avatar--5 { background: #F472B6; }
.avatar--more { background: var(--ink-soft); font-size: 0.62rem; }
.presence-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(51, 196, 163, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(51, 196, 163, 0); }
}

.mockup-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px;
  background: var(--bg);
}
.mockup-col { background: #EFF0F3; border-radius: var(--radius); padding: 12px; }
.mockup-col-head {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.count { font-size: 0.72rem; color: var(--muted); background: #fff; border-radius: 999px; padding: 1px 8px; }
.mockup-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.mockup-card--dragging {
  transform: rotate(-2deg) translateY(-2px);
  box-shadow: 0 12px 28px rgba(19, 20, 25, 0.16);
  border-color: var(--teal);
}
.mockup-card--done { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(122, 126, 140, 0.5); }
.tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 5px;
  padding: 1px 7px;
  margin-right: 7px;
}
.tag--teal { color: var(--teal-dark); background: var(--teal-soft); }
.tag--purple { color: var(--purple); background: var(--purple-soft); }
.card-avatar {
  position: absolute;
  right: 8px; bottom: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-toast {
  position: absolute;
  right: -12px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  font-size: 0.8rem;
  animation: float 5s ease-in-out infinite;
}
.mockup-toast strong { font-family: var(--font-head); font-size: 0.85rem; }
.mockup-toast span { color: var(--muted); }
.toast-icon { font-size: 1.3rem; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Value strip ---------- */
.value-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 34px 24px;
}
.value-item { text-align: center; }
.value-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(100deg, var(--teal), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.value-item span { font-size: 0.88rem; color: var(--muted); }

/* ---------- Sections ---------- */
section { position: relative; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 16px; }
.section-header p { color: var(--ink-soft); font-size: 1.08rem; }
.section-header--light h2 { color: #fff; }
.section-header--light .section-eyebrow { color: rgba(255, 255, 255, 0.85); }

/* ---------- Features ---------- */
.features { padding: 100px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(51, 196, 163, 0.4); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon--teal { background: var(--teal-soft); color: var(--teal-dark); }
.feature-icon--purple { background: var(--purple-soft); color: var(--purple); }
.feature-card h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Deep dives ---------- */
.deep-dive { padding: 90px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.deep-dive--alt { background: var(--bg); border: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split-text { order: 2; }
.split--reverse .split-visual { order: 1; }
.split-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.3rem); font-weight: 700; margin-bottom: 16px; }
.split-text > p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 24px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Circle visual */
.circle-visual { display: flex; flex-direction: column; gap: 16px; }
.circle-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.deep-dive--alt .circle-card { background: var(--white); }
.circle-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-head); }
.circle-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.circle-count { margin-left: auto; font-size: 0.78rem; color: var(--muted); font-family: var(--font-body); }
.circle-members { display: flex; align-items: center; }
.role-chip {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 999px;
  padding: 3px 11px;
}
.circle-card--ghost {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 16px;
}

/* Session visual */
.session-visual {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  overflow: hidden;
}
.session-row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.session-date { width: 74px; flex-shrink: 0; font-size: 0.78rem; font-weight: 600; color: var(--muted); text-align: right; }
.session-pill {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.session-pill--live {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--teal-soft);
  border-color: rgba(51, 196, 163, 0.4);
  color: var(--teal-dark);
  font-weight: 600;
}
.session-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46px;
  background: linear-gradient(to bottom, transparent, var(--white));
}

/* ---------- Templates ---------- */
.templates { padding: 100px 0; }
.template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.template-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.template-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.template-preview {
  display: flex;
  gap: 7px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  height: 116px;
  margin-bottom: 16px;
}
.t-col { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.t-head { height: 8px; border-radius: 4px; background: #C9CCD6; }
.t-head--teal { background: var(--teal); opacity: 0.75; }
.t-head--purple { background: var(--purple); opacity: 0.65; }
.t-item { height: 14px; border-radius: 4px; background: #fff; border: 1px solid var(--border); }
.template-preview--blank { align-items: center; justify-content: center; }
.t-plus { font-size: 1.6rem; color: var(--muted); }
.template-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.template-card p { font-size: 0.82rem; color: var(--muted); }

/* ---------- How it works ---------- */
.how {
  padding: 100px 0;
  background: linear-gradient(135deg, #17453A 0%, #1E2352 100%);
  color: #fff;
}
.how .section-header { margin-bottom: 60px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.how-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  backdrop-filter: blur(4px);
}
.how-number {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(100deg, var(--teal), #A78BFA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.how-step h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.how-step p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.how-cta { text-align: center; margin-top: 52px; }

/* ---------- Use cases ---------- */
.use-cases { padding: 100px 0; }
.use-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.use-case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.use-case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(124, 94, 245, 0.35); }
.use-case-emoji { font-size: 1.9rem; display: block; margin-bottom: 16px; }
.use-case-card h3 { font-size: 1.22rem; font-weight: 600; margin-bottom: 10px; }
.use-case-card p { font-size: 0.96rem; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.pricing { padding: 100px 0; background: var(--white); border-top: 1px solid var(--border); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}
.price-card--featured {
  background: var(--white);
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(100deg, var(--teal), var(--purple));
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.price-amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; }
.price-period { font-size: 0.88rem; color: var(--muted); }
.price-desc { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 22px; }
.price-features { flex: 1; margin-bottom: 26px; }
.price-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 700; }
.pricing-note { text-align: center; margin-top: 36px; font-size: 0.88rem; color: var(--muted); }

/* ---------- Pricing: coming soon ---------- */
.pricing-soon {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--teal-soft), var(--purple-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}
.pricing-soon-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(100deg, var(--teal), var(--purple));
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.pricing-soon h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 14px; }
.pricing-soon > p { font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; margin: 0 auto 28px; }
.pricing-soon-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pricing-soon .pricing-note { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 24px;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(51, 196, 163, 0.5); }
.faq-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 36px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal-dark);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "－"; }
.faq-item p { padding: 0 0 20px; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 110px 0;
  background: linear-gradient(120deg, var(--teal) 0%, var(--purple) 100%);
  color: #fff;
  text-align: center;
}
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.final-cta p { font-size: 1.12rem; opacity: 0.92; margin-bottom: 34px; }
.final-cta-note { font-size: 0.88rem !important; opacity: 0.8 !important; margin-top: 24px !important; margin-bottom: 0 !important; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 64px 0 34px; }
.footer .logo-word { color: #fff; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-tagline { margin-top: 14px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.55); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 0.92rem; margin-bottom: 10px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { color: var(--teal); }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal .legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .template-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split-text { order: 1; }
  .split--reverse .split-visual { order: 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card--featured { transform: none; }
  .how-grid { grid-template-columns: 1fr; }
  .value-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .mockup-toast { right: 8px; bottom: 12px; }
}

@media (max-width: 720px) {
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile-cta { display: block; margin-top: 8px; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 24px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 8px 0; font-size: 1.05rem; }
  .hero { padding: 64px 0 56px; }
  .feature-grid, .use-case-grid { grid-template-columns: 1fr; }
  .mockup-board { grid-template-columns: 1fr; }
  .mockup-col:nth-child(3) { display: none; }
  .features, .templates, .use-cases, .pricing, .faq, .how { padding: 72px 0; }
  .deep-dive { padding: 64px 0; }
  .session-date { width: 56px; }
  .footer-cols { gap: 36px; }
}

@media (max-width: 480px) {
  .template-grid { grid-template-columns: 1fr; }
  .value-strip-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-ctas .btn { width: 100%; }
}
