/* ============================================================
   Mezin Website UI Kit — kit-specific styles
   Layered ON TOP of ../../colors_and_type.css
   These are the layout + animation rules the production site
   gets via Tailwind. Hand-written here to avoid a build step.
   ============================================================ */

/* --- Layout helpers --- */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.overflow-hidden { overflow: hidden; }
.isolate { isolation: isolate; }
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.flex { display: flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }
.gap-14 { gap: 56px; }
.gap-16 { gap: 64px; }
.text-center { text-align: center; }

/* --- Section visual layers --- */
.section { position: relative; padding-block: var(--section-y); }
.section-muted { background: var(--muted); }
.section-accent { background: var(--accent); color: var(--accent-foreground); }

/* --- Sticky header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background-color 300ms var(--ease-entrance), border-color 300ms var(--ease-entrance), box-shadow 300ms var(--ease-entrance);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(232, 226, 214, 0.5);
  box-shadow: var(--shadow-sm);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px;
}
@media (min-width: 768px) { .site-header-inner { height: 72px; } }
.site-header nav a {
  color: rgba(26, 24, 21, 0.7);
  font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  transition: background 200ms, color 200ms;
}
.site-header nav a:hover { color: var(--foreground); background: rgba(242, 238, 230, 0.5); text-decoration: none; }
.site-header nav { display: none; gap: 4px; align-items: center; }
@media (min-width: 768px) { .site-header nav { display: flex; } }
.header-cta-wrap { display: none; }
@media (min-width: 768px) { .header-cta-wrap { display: block; } }
.menu-trigger { display: inline-flex; }
@media (min-width: 768px) { .menu-trigger { display: none; } }

/* --- Logo --- */
.logo { display: inline-flex; align-items: baseline; gap: 1px; font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: var(--foreground); font-variation-settings: var(--display-font-variation); }
.logo-dot { color: var(--accent); }

/* --- Pulse dots --- */
.pulse-dot { position: relative; display: inline-flex; width: 8px; height: 8px; }
.pulse-dot::before, .pulse-dot::after { content: ""; border-radius: 9999px; background: var(--success); }
.pulse-dot::before { position: absolute; inset: 0; opacity: 0.75; animation: ping 1.6s cubic-bezier(0,0,0.2,1) infinite; }
.pulse-dot::after { position: relative; width: 8px; height: 8px; }
.pulse-dot.accent::before, .pulse-dot.accent::after { background: var(--accent); }
.pulse-dot.white::before, .pulse-dot.white::after { background: #fff; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* --- FadeIn (bidirectional reveal) ---
   Toggling `.in` (driven by IntersectionObserver in Primitives.jsx) moves
   the element between the resting hidden state and the natural visible state.
   - Entry uses a longer 750ms ease-out + the per-element `--fade-delay`
     so staggered cascades feel intentional.
   - Exit is faster (450ms) with no delay so fast scrolling doesn't lag
     and elements clear out cleanly when they leave the viewport.
   `translate3d` promotes the element to its own GPU layer for cheap
   compositing without a permanent `will-change`. */
.fade-in {
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-duration: 450ms;
  transition-delay: 0ms;
}
.fade-in:not(.in) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
.fade-in.in {
  transition-duration: 750ms;
  transition-delay: var(--fade-delay, 0ms);
}

/* --- Hero --- */
.hero { position: relative; padding-top: 48px; padding-bottom: 80px; overflow: hidden; isolation: isolate; }
@media (min-width: 768px) { .hero { padding-top: 80px; padding-bottom: 112px; } }
.hero-grid { display: grid; align-items: center; gap: 56px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.hero h1 {
  font-size: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  line-height: 1.05;
  max-width: 18ch;
}
.hero-emphasis {
  position: relative;
  display: inline-block;
}
.hero-emphasis-text {
  position: relative; z-index: 1;
  background: linear-gradient(to right, var(--accent), var(--accent), rgba(176,72,42,0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-emphasis-bg {
  position: absolute;
  left: -8px; right: -8px; top: -4px; bottom: -4px;
  background: var(--accent-10);
  border-radius: 4px;
  transform: skewY(-1deg);
  z-index: 0;
}
.hero-blob-1, .hero-blob-2 { position: absolute; border-radius: 9999px; pointer-events: none; }
.hero-blob-1 { top: -160px; right: -160px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(176,72,42,0.12) 0%, transparent 70%); animation: blob 8s ease-in-out infinite; }
.hero-blob-2 { bottom: -240px; left: -240px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(176,72,42,0.08) 0%, transparent 70%); animation: blob 10s ease-in-out infinite 2s; }
@keyframes blob { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 0.85; } }

.hero-avatars { display: flex; }
.hero-avatars > div { width: 32px; height: 32px; border-radius: 9999px; border: 2px solid var(--background); background: linear-gradient(135deg, var(--muted), rgba(107,102,96,0.3)); margin-left: -8px; }
.hero-avatars > div:first-child { margin-left: 0; }

/* --- WhatsApp conversation card --- */
.convo {
  position: relative;
  width: 100%;
  max-width: 28rem;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.convo-glow {
  position: absolute; inset: -16px;
  border-radius: 24px;
  background: linear-gradient(to right, rgba(176,72,42,0.20), rgba(176,72,42,0.05), transparent);
  filter: blur(32px);
  z-index: -1;
}
.online-pill {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 9999px;
  background: var(--background); border: 1px solid var(--border);
  font-size: 12px; color: var(--muted-foreground); font-weight: 500;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}
.convo-frame {
  display: flex; flex-direction: column; gap: 12px;
  min-height: 360px; padding: 16px;
  border-radius: var(--radius-2xl);
  background: #ECE5DA;
  background-image: radial-gradient(rgba(26,24,21,0.06) 1px, transparent 1px);
  background-size: 14px 14px;
  overflow: hidden;
}
.bubble {
  display: flex; flex-direction: column; gap: 4px;
  max-width: 85%;
  animation: bubble-in 0.35s var(--ease-entrance) both;
}
.bubble.in  { align-self: flex-start; align-items: flex-start; }
.bubble.out { align-self: flex-end;   align-items: flex-end; }
.bubble-body {
  padding: 8px 12px; border-radius: 16px;
  font-size: 13px; line-height: 1.45;
  box-shadow: 0 1px 1px 0 rgba(26,24,21,0.06);
}
.bubble.in .bubble-body  { background: #fff; color: #1A1815; border-bottom-left-radius: 4px; }
.bubble.out .bubble-body { background: #DCF8C6; color: #0d1f0f; border-bottom-right-radius: 4px; }
.bubble-meta { display: flex; align-items: center; gap: 4px; padding-inline: 4px; font-size: 10px; color: var(--muted-foreground); }
.tick-double { color: #34B7F1; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 8px 12px; border-radius: 16px 16px 4px 16px; background: #DCF8C6; box-shadow: 0 1px 1px 0 rgba(26,24,21,0.06); animation: bubble-in 0.25s var(--ease-entrance) both; }
.typing span { width: 6px; height: 6px; border-radius: 9999px; background: rgba(13,31,15,0.4); animation: typing-bounce 0.9s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes typing-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.skip-anim {
  position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 9999px;
  background: var(--background); border: 1px solid var(--border);
  font-size: 11px; color: var(--muted-foreground);
  box-shadow: var(--shadow-sm); cursor: pointer; z-index: 10;
}
.skip-anim:hover { color: var(--foreground); }

/* --- Eyebrow + section heading rhythm --- */
.eyebrow-row { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 56ch; margin-bottom: 56px; }
.eyebrow-row .eyebrow { margin-bottom: 0; }

/* --- Stat card (problem section) --- */
.stat-card {
  position: relative; overflow: hidden;
  background: var(--background); border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 24px;
  display: flex; gap: 20px;
  transition: border-color 300ms var(--ease-entrance), box-shadow 300ms var(--ease-entrance);
}
@media (min-width: 768px) { .stat-card { padding: 32px; } }
.stat-card:hover { border-color: var(--accent-30); box-shadow: 0 12px 24px -12px rgba(176,72,42,0.10); }
.stat-card .num { font-family: var(--font-display); font-weight: 500; line-height: 1; letter-spacing: -0.02em; font-size: 40px; font-variation-settings: var(--display-font-variation); color: var(--foreground); }
@media (min-width: 768px) { .stat-card .num { font-size: 56px; } }
.stat-card .cap { font-size: 15px; color: rgba(26,24,21,0.7); line-height: 1.55; max-width: 50ch; margin-top: 12px; }
.stat-bar {
  position: absolute; bottom: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(to right, var(--accent), rgba(176,72,42,0.5));
  transition: width 1s var(--ease-entrance) 0.3s;
}
.fade-in.in .stat-bar { width: 100%; }

/* --- Step timeline --- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; }
.timeline-row { display: flex; gap: 24px; padding-bottom: 48px; }
@media (min-width: 768px) { .timeline-row { gap: 32px; padding-bottom: 64px; } }
.timeline-icon-col { position: relative; display: flex; flex-direction: column; align-items: center; }
.timeline-icon {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), rgba(176,72,42,0.8));
  color: var(--accent-foreground);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(176,72,42,0.30);
  transition: transform 300ms var(--ease-entrance);
}
.timeline-icon:hover { transform: scale(1.08) rotate(4deg); }
.timeline-line { position: absolute; top: 56px; bottom: -16px; width: 2px; background: linear-gradient(to bottom, rgba(176,72,42,0.5), rgba(176,72,42,0.10)); }
.timeline-content { flex: 1; padding-top: 8px; }
.timeline-step-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.timeline-step-row .label-mono { white-space: nowrap; }
.timeline-step-row .hr { flex: 1; height: 1px; background: linear-gradient(to right, rgba(176,72,42,0.30), transparent); }
.timeline-content h3 { margin-bottom: 12px; }
.timeline-content p { color: rgba(26,24,21,0.7); font-size: 16px; line-height: 1.6; max-width: 55ch; }
@media (min-width: 768px) { .timeline-content p { font-size: 17px; } }

/* --- Bento --- */
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.bento-card {
  position: relative; overflow: hidden;
  background: var(--background); border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  transition: border-color 500ms var(--ease-entrance), box-shadow 500ms var(--ease-entrance);
  display: flex; flex-direction: column;
}
.bento-card:hover { border-color: var(--accent-40); box-shadow: 0 24px 48px -16px rgba(176,72,42,0.08); }
.bento-card.large { grid-column: 1 / -1; }
@media (min-width: 1024px) { .bento-card.large { grid-column: span 2; flex-direction: row; } }
.bento-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 1024px) { .bento-card.large .bento-body { flex: 1; } }
.bento-card h3 { margin-bottom: 12px; transition: color 300ms; font-size: 22px; line-height: 1.2; }
.bento-card:hover h3 { color: var(--accent); }
.bento-card p { color: rgba(26,24,21,0.7); font-size: 15px; line-height: 1.55; flex: 1; }
.bento-visual { padding: 28px; background: rgba(242,238,230,0.5); border-top: 1px solid rgba(232,226,214,0.5); display: flex; align-items: center; justify-content: center; min-height: 180px; }
@media (min-width: 1024px) { .bento-card.large .bento-visual { width: 320px; border-top: 0; border-left: 1px solid rgba(232,226,214,0.5); } }

.bento-list { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.bento-list-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(232,226,214,0.5); border-radius: 8px; background: var(--background); }
.bento-list-num { width: 28px; height: 28px; border-radius: 6px; background: var(--accent-10); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.bento-list-name { font-size: 13px; font-weight: 500; color: rgba(26,24,21,0.85); }
.bento-list-tag { margin-left: auto; font-size: 11px; color: var(--muted-foreground); }

.bento-eq { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.bento-eq span { width: 6px; border-radius: 3px; background: linear-gradient(to top, var(--accent), rgba(176,72,42,0.5)); animation: eq 1.4s ease-in-out infinite; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

.bento-spark svg { width: 100%; height: 64px; }

/* --- Audience fit --- */
.fit-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .fit-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.fit-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-2xl); padding: 28px;
  border: 1px solid var(--border); background: var(--background);
  transition: border-color 300ms var(--ease-entrance);
}
@media (min-width: 768px) { .fit-card { padding: 36px; } }
.fit-card.positive { border-color: rgba(79,108,69,0.3); }
.fit-card.positive::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(79,108,69,0.05), transparent);
  pointer-events: none;
}
.fit-card.positive:hover { border-color: rgba(79,108,69,0.5); }
.fit-card.negative { background: rgba(250,248,244,0.5); }
.fit-card.negative:hover { border-color: rgba(107,102,96,0.3); }
.fit-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; position: relative; }
.fit-card-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fit-card.positive .fit-card-icon { background: rgba(79,108,69,0.15); color: var(--success); }
.fit-card.negative .fit-card-icon { background: var(--muted); color: var(--muted-foreground); }
.fit-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.2; }
.fit-card.negative h3 { color: var(--muted-foreground); }
.fit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.fit-list li { display: flex; gap: 12px; }
.fit-list-bullet { flex-shrink: 0; width: 20px; height: 20px; margin-top: 4px; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; }
.fit-card.positive .fit-list-bullet { background: rgba(79,108,69,0.15); color: var(--success); }
.fit-card.negative .fit-list-bullet { background: var(--muted); color: var(--muted-foreground); }
.fit-list-text { font-size: 15px; line-height: 1.55; }
.fit-card.positive .fit-list-text { color: rgba(26,24,21,0.85); }
.fit-card.negative .fit-list-text { color: var(--muted-foreground); }
.fit-card-bar { position: absolute; bottom: 0; left: 0; height: 3px; width: 0; background: linear-gradient(to right, var(--success), rgba(79,108,69,0.5)); transition: width 1s var(--ease-entrance) 0.3s; }
.fade-in.in .fit-card-bar { width: 100%; }

/* --- Founder note --- */
.founder-card {
  position: relative; overflow: hidden;
  background: rgba(250,248,244,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: var(--radius-2xl);
}
.founder-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, var(--accent), rgba(176,72,42,0.7), rgba(176,72,42,0.3));
}
.founder-body { padding: 32px; display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) { .founder-body { padding: 48px; } }
.founder-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.founder-quote-tile {
  display: none;
  width: 64px; height: 64px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent-20), var(--accent-05));
  border: 1px solid var(--accent-10);
  align-items: center; justify-content: center; color: var(--accent);
}
@media (min-width: 768px) { .founder-quote-tile { display: flex; } }
.founder-text-wrap { padding-left: 24px; border-left: 2px solid var(--accent-30); }
.founder-text { color: rgba(26,24,21,0.85); font-size: 18px; line-height: 1.6; }
@media (min-width: 768px) { .founder-text { font-size: 20px; } }
.founder-foot { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(232,226,214,0.5); }
.founder-avatar { width: 48px; height: 48px; border-radius: 9999px; background: linear-gradient(135deg, var(--accent-20), var(--accent-05)); border: 1px solid var(--accent-10); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--accent); font-size: 18px; }

/* --- FAQ --- */
.faq-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--border); background: var(--background); border-radius: var(--radius-xl); overflow: hidden; transition: border-color 300ms var(--ease-entrance); }
.faq-item:hover { border-color: var(--accent-30); }
.faq-summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 24px; padding: 20px; list-style: none; }
@media (min-width: 768px) { .faq-summary { padding: 24px; } }
.faq-summary::-webkit-details-marker { display: none; }
.faq-q { display: flex; align-items: flex-start; gap: 16px; }
.faq-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: var(--accent-10); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; margin-top: 2px; }
.faq-question { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.3; transition: color 200ms; }
@media (min-width: 768px) { .faq-question { font-size: 20px; } }
.faq-item:hover .faq-question { color: var(--accent); }
.faq-chevron { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9999px; background: var(--muted); display: flex; align-items: center; justify-content: center; transition: background 200ms; color: var(--muted-foreground); }
.faq-item:hover .faq-chevron { background: var(--accent-10); color: var(--accent); }
.faq-item[open] .faq-chevron svg { transform: rotate(180deg); }
.faq-chevron svg { transition: transform 300ms var(--ease-entrance); }
.faq-answer { padding: 0 20px 20px; }
@media (min-width: 768px) { .faq-answer { padding: 0 24px 24px; } }
.faq-answer-inner { padding-left: 48px; padding-top: 16px; border-top: 1px solid rgba(232,226,214,0.5); }
.faq-answer-inner p { font-size: 16px; line-height: 1.6; color: rgba(26,24,21,0.8); padding-top: 16px; }

/* --- Final CTA --- */
.final-cta { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-foreground); padding-block: var(--section-y); }
.final-blob-1, .final-blob-2 { position: absolute; border-radius: 9999px; pointer-events: none; }
.final-blob-1 { top: -160px; right: -160px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%); animation: blob 8s ease-in-out infinite; }
.final-blob-2 { bottom: -240px; left: -240px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); animation: blob 10s ease-in-out infinite 2s; }
.final-content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; }
.final-content h2 { color: currentColor; max-width: 22ch; }
.final-content p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 48ch; }
.final-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px; background: rgba(255,255,255,0.10); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.20); font-size: 14px; font-weight: 500; }
.final-mini-cal { width: 100%; max-width: 720px; background: var(--background); color: var(--foreground); border-radius: var(--radius-2xl); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.20); padding: 32px; }
.final-cta .btn-primary { background: var(--background); color: var(--foreground); }
.final-cta .btn-primary:hover { background: rgba(250,248,244,0.9); }

/* --- Footer --- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); background: rgba(242,238,230,0.30); }
.footer-grid { display: grid; gap: 48px; padding-block: 64px 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 64px; padding-block: 96px 48px; } }
.footer-bottom { display: flex; flex-direction: column; gap: 24px; padding-block: 32px; border-top: 1px solid rgba(232,226,214,0.5); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .pulse-dot::before, .footer-bottom .pulse-dot::after { background: var(--success); }
.footer-mail-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px; background: var(--background); border: 1px solid var(--border); transition: border-color 200ms; }
.footer-mail-pill:hover { border-color: var(--accent-30); text-decoration: none; }
.footer-mail-pill .ic { color: var(--muted-foreground); transition: color 200ms; }
.footer-mail-pill:hover .ic { color: var(--accent); }
.footer-h { color: var(--foreground); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.20em; margin: 0 0 16px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { color: rgba(26,24,21,0.7); font-size: 14px; transition: color 200ms; }
.footer-list a:hover { color: var(--accent); text-decoration: none; }

/* --- Mobile menu --- */
.menu-trigger { padding: 8px; background: transparent; border: 0; border-radius: 8px; cursor: pointer; color: var(--foreground); }
.menu-trigger:hover { background: var(--muted); }
.sheet-backdrop { position: fixed; inset: 0; background: rgba(26,24,21,0.5); backdrop-filter: blur(4px); z-index: 40; opacity: 0; pointer-events: none; transition: opacity 300ms; }
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 90vw); background: var(--background); z-index: 50; transform: translateX(100%); transition: transform 300ms var(--ease-entrance); border-left: 1px solid var(--border); display: flex; flex-direction: column; padding: 24px; gap: 24px; }
.sheet.open { transform: none; }
.sheet-close { background: transparent; border: 0; padding: 8px; border-radius: 8px; cursor: pointer; color: var(--foreground); }
.sheet-nav { display: flex; flex-direction: column; gap: 8px; }
.sheet-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-xl); font-size: 18px; font-weight: 500; transition: background 200ms; color: var(--foreground); }
.sheet-nav a:hover { background: rgba(242,238,230,0.7); text-decoration: none; }
.sheet-nav-num { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-10); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; }
.sheet-foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.sheet-foot-card { padding: 16px; border-radius: var(--radius-xl); background: rgba(242,238,230,0.5); border: 1px solid rgba(232,226,214,0.5); }
.sheet-foot-card p { font-size: 14px; color: var(--muted-foreground); margin-bottom: 8px; }
.sheet-foot-card .small { font-size: 12px; color: rgba(107,102,96,0.7); }

/* --- Demo modal --- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(26,24,21,0.6); backdrop-filter: blur(8px); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 300ms; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--background); color: var(--foreground);
  border-radius: var(--radius-2xl); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.30);
  width: min(560px, 100%); padding: 32px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95); transition: transform 300ms var(--ease-entrance);
}
.modal-backdrop.open .modal { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; background: transparent; border: 0; padding: 8px; border-radius: 8px; cursor: pointer; color: var(--muted-foreground); }
.modal-close:hover { background: var(--muted); color: var(--foreground); }
.modal label { display: block; font-size: 13px; font-weight: 500; color: var(--foreground); margin-bottom: 6px; }
.modal input, .modal textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font-sans); font-size: 14px; background: var(--background); color: var(--foreground); transition: border-color 200ms; }
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-10); }
.modal textarea { min-height: 90px; resize: vertical; }

/* --- Mini calendar slots (final cta interactive demo) --- */
.cal-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 16px; }
.cal-slot { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); cursor: pointer; font-size: 13px; font-weight: 500; transition: all 200ms; color: var(--foreground); }
.cal-slot:hover { border-color: var(--accent); background: var(--accent-05); }
.cal-slot.selected { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
.cal-day { font-size: 11px; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-top: 16px; margin-bottom: 4px; }

/* --- Section heading layouts --- */
.section-heading-row { display: grid; gap: 48px; }
@media (min-width: 1024px) { .section-heading-row.split { grid-template-columns: 1fr 1.5fr; gap: 80px; } }
.split-left .sub { color: rgba(26,24,21,0.7); font-size: 18px; line-height: 1.6; max-width: 28rem; }
@media (min-width: 1024px) { .split-left { position: sticky; top: 96px; align-self: flex-start; } }

/* --- Economics: ROI calc --- */
.roi { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-2xl); background: linear-gradient(135deg, var(--background), var(--background), rgba(242,238,230,0.30)); padding: 28px; }
@media (min-width: 768px) { .roi { padding: 32px; } }
.roi-head { margin-bottom: 32px; }
.roi-head h4 { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.roi-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 768px) { .roi-grid { grid-template-columns: repeat(3, 1fr); } }
.roi-cell { padding: 20px; background: rgba(250,248,244,0.6); backdrop-filter: blur(2px); border: 1px solid rgba(232,226,214,0.5); border-radius: var(--radius-xl); }
.roi-cell-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.roi-cell-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: var(--accent-10); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.roi-cell-label { font-size: 12px; color: var(--muted-foreground); line-height: 1.3; padding-top: 4px; }
.roi-cell-value { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--foreground); margin-bottom: 4px; }
.roi-cell-sub { font-size: 12px; color: var(--muted-foreground); }
.roi-summary { padding: 20px; border-radius: var(--radius-xl); background: var(--accent-05); border: 1px solid var(--accent-20); display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .roi-summary { flex-direction: row; align-items: center; justify-content: space-between; } }
.roi-summary p { font-size: 14px; color: rgba(26,24,21,0.7); margin-bottom: 4px; }
.roi-summary .big { font-family: var(--font-display); font-size: 36px; font-weight: 500; color: var(--accent); }
.roi-summary .vs { font-size: 14px; color: var(--muted-foreground); display: flex; align-items: center; gap: 8px; }
.roi-summary .price-pill { padding: 4px 8px; border-radius: 4px; background: var(--muted); color: var(--foreground); font-weight: 500; }

/* --- Pull quote --- */
.pull-quote {
  position: relative;
  border-left: 2px solid var(--accent-30);
  background: rgba(250,248,244,0.5); backdrop-filter: blur(2px);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 16px 20px;
  margin: 0;
}
.pull-quote p { font-family: var(--font-display); font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; font-variation-settings: var(--display-font-variation); }
@media (min-width: 768px) { .pull-quote p { font-size: 28px; } }
.pull-quote-glow { position: absolute; inset: -16px; background: linear-gradient(to right, var(--accent-10), var(--accent-05), transparent); border-radius: 24px; filter: blur(16px); pointer-events: none; }

/* --- Closing line on Problem --- */
.closing-row { display: flex; flex-direction: column; gap: 24px; padding-top: 40px; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .closing-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.closing-row .closing-line { font-family: var(--font-display); font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; font-variation-settings: var(--display-font-variation); max-width: 44ch; }
@media (min-width: 768px) { .closing-row .closing-line { font-size: 28px; } }
.closing-row .footnote { color: var(--muted-foreground); font-size: 14px; }
@media (min-width: 768px) { .closing-row .footnote { max-width: 28ch; text-align: right; } }

/* --- Features closing italic --- */
.features-closing { max-width: 768px; margin: 0 auto; text-align: center; }
.features-closing p { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.5; color: rgba(26,24,21,0.9); }
@media (min-width: 768px) { .features-closing p { font-size: 26px; } }

/* --- Mesh wrapper --- */
.section-with-mesh { position: relative; overflow: hidden; }
.section-mesh-layer { position: absolute; inset: 0; pointer-events: none; }
.section-with-mesh > .container-page { position: relative; z-index: 1; }

/* --- Two-col with sticky right --- */
.two-col-eco { display: grid; gap: 48px; align-items: flex-start; }
@media (min-width: 1024px) { .two-col-eco { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (min-width: 1024px) { .two-col-eco > .right-col { position: sticky; top: 96px; } }

/* --- Eco paragraphs --- */
.eco-paragraphs { display: flex; flex-direction: column; gap: 20px; }
.eco-paragraphs p { color: rgba(26,24,21,0.8); font-size: 17px; line-height: 1.65; }

/* --- Block link --- */
.block-link { display: inline-flex; align-items: center; gap: 6px; }

/* --- Pricing --- */
.section-pricing { position: relative; overflow: hidden; isolation: isolate; }
.pricing-blob {
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 720px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(176,72,42,0.07) 0%, transparent 65%);
  pointer-events: none; z-index: -1;
  animation: blob 12s ease-in-out infinite;
}
.pricing-head-row {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px; margin-inline: auto;
}
@media (min-width: 768px) { .pricing-head-row { margin-bottom: 72px; } }
.pricing-head-row .lead { color: rgba(26,24,21,0.75); }

.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 768px)  { .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .pricing-grid { gap: 24px; } }

.pricing-grid > .fade-in { display: flex; }

.pricing-card {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px 28px;
  transition:
    border-color 300ms var(--ease-entrance),
    box-shadow 300ms var(--ease-entrance),
    transform 300ms var(--ease-entrance);
}
@media (min-width: 768px) { .pricing-card { padding: 36px 32px; } }
.pricing-card:hover {
  border-color: var(--accent-30);
  box-shadow: 0 24px 48px -16px rgba(176,72,42,0.10);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-05), var(--background) 32%);
  box-shadow: var(--shadow-card);
  z-index: 1;
}
.pricing-card.featured::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, var(--accent), rgba(176,72,42,0.7), rgba(176,72,42,0.3));
  border-top-left-radius: var(--radius-2xl);
  border-top-right-radius: var(--radius-2xl);
}
@media (min-width: 1024px) {
  .pricing-card.featured { transform: translateY(-12px); }
  .pricing-card.featured:hover { transform: translateY(-14px); }
}

.pricing-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--accent); color: var(--accent-foreground);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 16px -4px rgba(176,72,42,0.35);
}

.pricing-head { margin-bottom: 20px; }
.pricing-head h3 {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.2; font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: var(--display-font-variation);
  margin-bottom: 8px;
}
.pricing-tagline {
  font-size: 14px; line-height: 1.5;
  color: var(--muted-foreground);
  min-height: 42px;
}

.pricing-price {
  display: flex; align-items: baseline; gap: 4px;
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  color: var(--foreground);
  font-variation-settings: var(--display-font-variation);
}
.pricing-currency {
  font-size: 22px; font-weight: 500;
  color: var(--muted-foreground);
  align-self: flex-start; margin-top: 12px;
}
.pricing-amount {
  font-size: 56px; font-weight: 500;
  line-height: 1; letter-spacing: -0.03em;
}
.pricing-cadence {
  font-size: 15px; font-weight: 500;
  color: var(--muted-foreground);
  margin-left: 4px;
}
.pricing-card.featured .pricing-amount { color: var(--accent); }

.pricing-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.pricing-features li {
  display: flex; gap: 12px;
  font-size: 14px; line-height: 1.5;
  color: rgba(26,24,21,0.85);
}
.pricing-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 9999px;
  background: var(--accent-10); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.pricing-card.featured .pricing-check {
  background: var(--accent); color: var(--accent-foreground);
}

.pricing-cta { width: 100%; }

.pricing-footnote {
  margin-top: 48px;
  text-align: center;
  font-size: 13px; line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 64ch; margin-inline: auto;
}
