/*
 * ShoppyCat marketing landing — built around the concept art.
 *
 * Design language:
 *   - Mossy green primary, cream background, warm peach + coral accents
 *   - Soft organic blob shapes for art containers
 *   - Paw-print decorative scatter
 *   - Generous serif-feeling display headlines (we use weight + tracking
 *     to evoke editorial warmth without bringing in a heavy custom font)
 *   - Floating illustrated cards in tertiary positions
 *   - Mock phone-screen showcase (3-up vertical column, like the concept's right side)
 */

/* ════════════════════════════════════════════════════════════════
 *  TOP NAVIGATION
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-topnav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(247, 239, 226, 0.78);
  border-bottom: 1px solid rgba(77, 107, 58, 0.08);
}
.sc-mk-topnav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px var(--sc-screen-padding);
  width: min(100%, var(--sc-shell-max-width));
  margin: 0 auto;
}
.sc-mk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sc-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
}
.sc-mk-brand-mascot {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sc-mk-brand-paw {
  display: inline-block;
  margin-left: 4px;
  color: var(--sc-tertiary);
  font-size: 0.85em;
}
.sc-mk-nav {
  display: flex;
  gap: 28px;
  margin-left: 8px;
  flex: 1;
  align-items: center;
}
.sc-mk-nav a {
  text-decoration: none;
  color: rgba(58, 47, 36, 0.78);
  font-weight: 600;
  font-size: 0.94rem;
  position: relative;
  padding: 6px 0;
  transition: color 140ms ease;
}
.sc-mk-nav a:hover { color: var(--sc-primary); }
.sc-mk-nav a.is-active {
  color: var(--sc-primary);
}
.sc-mk-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 999px;
  background: var(--sc-primary);
}
.sc-mk-nav-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--sc-tertiary);
  color: var(--sc-on-tertiary);
  border-radius: 999px;
  vertical-align: middle;
}
.sc-mk-topnav-end {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sc-mk-topnav-end .sc-button {
  padding: 9px 20px;
  font-size: 0.92rem;
  min-height: 0;
}

@media (max-width: 820px) {
  .sc-mk-topnav-inner { gap: 14px; padding: 10px 14px; }
  .sc-mk-nav { gap: 16px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
  .sc-mk-nav::-webkit-scrollbar { display: none; }
  .sc-mk-nav a { font-size: 0.88rem; white-space: nowrap; }
}
@media (max-width: 520px) {
  .sc-mk-nav a:not(.sc-mk-nav-priority) { display: none; }
}

/* ════════════════════════════════════════════════════════════════
 *  HERO  — left copy, right illustration container
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 900px 600px at 88% 10%, rgba(229, 123, 91, 0.10), transparent 65%),
    radial-gradient(ellipse 700px 500px at 8% 100%, rgba(77, 107, 58, 0.10), transparent 60%),
    var(--sc-background);
}
.sc-mk-hero::before {
  /* faint paper grain */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(58, 47, 36, 0.05) 1px, transparent 1px);
  background-size: 5px 5px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.sc-mk-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 920px) {
  .sc-mk-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.sc-mk-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sc-primary);
  background: var(--sc-primary-container);
  border-radius: 999px;
}

.sc-mk-headline {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--sc-primary);
  margin: 0 0 20px;
}
.sc-mk-headline-row {
  display: block;
}
.sc-mk-headline .sc-mk-accent {
  background: linear-gradient(135deg, var(--sc-primary), #6a8a51);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
  position: relative;
}
.sc-mk-headline .sc-mk-heart {
  display: inline-block;
  color: var(--sc-tertiary);
  font-size: 0.6em;
  margin-left: 6px;
  vertical-align: middle;
  transform: translateY(-0.3em);
}

.sc-mk-sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(58, 47, 36, 0.82);
  max-width: 50ch;
  margin: 0 0 28px;
}

.sc-mk-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.sc-mk-btn-primary,
.sc-mk-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  border: 0;
}
.sc-mk-btn-primary {
  background: var(--sc-primary);
  color: var(--sc-on-primary);
}
.sc-mk-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(77, 107, 58, 0.28);
}
.sc-mk-btn-ghost {
  background: var(--sc-surface);
  color: var(--sc-primary);
  border: 1.5px solid var(--sc-primary-container);
}
.sc-mk-btn-ghost:hover {
  border-color: var(--sc-primary);
  background: var(--sc-primary-container);
}

/* Social-proof strip below CTAs (placeholder: real numbers when you have them) */
.sc-mk-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(58, 47, 36, 0.7);
}
.sc-mk-proof-mascots {
  display: inline-flex;
}
.sc-mk-proof-mascots span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sc-secondary-container);
  border: 2px solid var(--sc-surface);
  margin-left: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.sc-mk-proof-mascots span:first-child { margin-left: 0; }

.sc-mk-hero-testing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(229, 123, 91, 0.12), transparent 40%),
    rgba(255, 252, 248, 0.92);
  border: 1px solid rgba(77, 107, 58, 0.12);
  box-shadow: 0 14px 28px rgba(58, 47, 36, 0.08);
}

.sc-mk-hero-testing-copy {
  display: grid;
  gap: 4px;
}

.sc-mk-hero-testing-copy strong {
  color: var(--sc-primary);
  font-size: 0.95rem;
}

.sc-mk-hero-testing-copy span {
  color: rgba(58, 47, 36, 0.76);
  font-size: 0.92rem;
  line-height: 1.45;
}

.sc-mk-hero-testing-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--sc-primary);
  color: var(--sc-on-primary);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.sc-mk-hero-testing-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(77, 107, 58, 0.22);
}

@media (max-width: 640px) {
  .sc-mk-hero-testing {
    flex-direction: column;
    align-items: stretch;
  }

  .sc-mk-hero-testing-link {
    width: 100%;
  }
}

/* ───── Hero illustration container ─────
 *
 * Soft organic blob shape that contains the hero mascot art.
 * Until you drop in real art, the placeholder inside is a
 * stylized SVG that hints at the cat-with-tablet vibe without
 * trying to be the final art.
 */
.sc-mk-hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
  width: 100%;
}
.sc-mk-hero-blob {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.5), transparent 60%),
    linear-gradient(135deg, var(--sc-primary-container), var(--sc-secondary-container));
  border-radius: 58% 42% 60% 40% / 50% 60% 40% 50%;
  box-shadow:
    inset 0 -20px 40px rgba(77, 107, 58, 0.08),
    0 30px 60px rgba(58, 47, 36, 0.08);
  animation: sc-mk-blob-morph 14s ease-in-out infinite;
}
@keyframes sc-mk-blob-morph {
  0%, 100% { border-radius: 58% 42% 60% 40% / 50% 60% 40% 50%; }
  50%      { border-radius: 42% 58% 40% 60% / 60% 50% 50% 40%; }
}

.sc-mk-hero-art-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder mascot — geometric SVG, on-brand. Replace by dropping
   a real <img> with class="sc-mk-mascot-art" or filling this slot. */
.sc-mk-mascot-placeholder {
  width: 70%;
  height: 70%;
  filter: drop-shadow(0 16px 28px rgba(58, 47, 36, 0.18));
}
.sc-mk-mascot-art {
  /* Real mascot art slot. Drop a transparent PNG/SVG here when ready. */
  max-width: 80%;
  max-height: 80%;
  filter: drop-shadow(0 16px 28px rgba(58, 47, 36, 0.18));
}

/* Decorative paw scatter around the hero */
.sc-mk-paw {
  position: absolute;
  color: var(--sc-tertiary);
  opacity: 0.35;
  font-size: 24px;
  pointer-events: none;
}
.sc-mk-paw-1 { top: 8%; left: 4%; transform: rotate(-18deg); font-size: 22px; }
.sc-mk-paw-2 { bottom: 12%; left: 8%; transform: rotate(22deg); font-size: 28px; opacity: 0.25; }
.sc-mk-paw-3 { top: 14%; right: 6%; transform: rotate(12deg); font-size: 20px; opacity: 0.3; }

/* ════════════════════════════════════════════════════════════════
 *  FEATURE BAR — five-up icon row, sits as a floating card
 *  immediately below the hero (like in the concept art)
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-feature-bar-wrap {
  position: relative;
  z-index: 5;
  margin-top: -36px;
  padding: 0 var(--sc-screen-padding);
}
.sc-mk-feature-bar {
  background: var(--sc-surface);
  border: 1px solid rgba(77, 107, 58, 0.1);
  border-radius: 28px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  box-shadow:
    0 24px 56px rgba(58, 47, 36, 0.08),
    0 4px 12px rgba(58, 47, 36, 0.04);
  width: min(100%, var(--sc-shell-max-width));
  margin: 0 auto;
}
.sc-mk-feat {
  text-align: center;
  padding: 4px;
}
.sc-mk-feat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: var(--sc-secondary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
}
.sc-mk-feat-icon-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--sc-tertiary);
  color: var(--sc-on-tertiary);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 2px solid var(--sc-surface);
}
.sc-mk-feat h3 {
  font-size: 0.98rem;
  margin: 0 0 6px;
  color: var(--sc-primary);
  font-weight: 700;
}
.sc-mk-feat p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(58, 47, 36, 0.7);
}

@media (max-width: 880px) {
  .sc-mk-feature-bar { grid-template-columns: repeat(2, 1fr); padding: 24px 18px; }
  .sc-mk-feature-bar-wrap { margin-top: -16px; }
}


/* ════════════════════════════════════════════════════════════════
 *  AI ASSISTANT BANNER — wide horizontal card with
 *  mascot zone on the left, callout copy + prompt chips on right
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-ai-banner-wrap {
  padding: 80px 0 40px;
}
.sc-mk-ai-banner {
  background: linear-gradient(135deg, var(--sc-primary), #3d5a2c);
  color: var(--sc-on-primary);
  border-radius: 32px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: min(100%, var(--sc-shell-max-width));
  margin: 0 auto;
}
.sc-mk-ai-banner::before {
  /* Decorative paw scatter inside */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(229, 123, 91, 0.25) 8px, transparent 9px),
    radial-gradient(circle at 88% 70%, rgba(232, 185, 148, 0.2) 6px, transparent 7px),
    radial-gradient(circle at 78% 18%, rgba(229, 123, 91, 0.18) 5px, transparent 6px);
  pointer-events: none;
  opacity: 0.5;
}
.sc-mk-ai-mascot-slot {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-mk-ai-mascot-blob {
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 242, 0.08);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  border: 1.5px dashed rgba(255, 250, 242, 0.2);
}
.sc-mk-ai-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.sc-mk-ai-copy h2 small {
  font-size: 0.55em;
  background: var(--sc-tertiary);
  color: var(--sc-on-tertiary);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sc-mk-ai-copy p {
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 20px;
  color: rgba(255, 250, 242, 0.86);
  max-width: 50ch;
}
.sc-mk-prompt-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.sc-mk-prompt-chip {
  background: rgba(255, 250, 242, 0.12);
  color: var(--sc-on-primary);
  border: 1px solid rgba(255, 250, 242, 0.2);
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease;
  font-family: inherit;
}
.sc-mk-prompt-chip:hover {
  background: rgba(255, 250, 242, 0.2);
}
.sc-mk-ai-cta {
  display: inline-block;
  margin-top: 18px;
  background: var(--sc-on-primary);
  color: var(--sc-primary);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease;
}
.sc-mk-ai-cta:hover { transform: translateY(-1px); }

@media (max-width: 880px) {
  .sc-mk-ai-banner { grid-template-columns: 1fr; padding: 32px 24px; }
  .sc-mk-ai-mascot-slot { max-width: 220px; margin: 0 auto; }
  .sc-mk-prompt-chips { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
 *  PHONE-SCREEN SHOWCASE  — three-up vertical mock screens
 *  showing Lists / Pantry / Recipes (matching concept's right column)
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-showcase {
  padding: 60px 0 40px;
}
.sc-mk-showcase-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.sc-mk-showcase-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--sc-primary);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.sc-mk-showcase-head p {
  color: rgba(58, 47, 36, 0.78);
  font-size: 1.05rem;
  margin: 0;
}
.sc-mk-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
/* showcase grid responsive layout now handled in the mobile section below */

.sc-mk-phone {
  position: relative;
  aspect-ratio: 9 / 19;
  background: var(--sc-surface);
  border: 8px solid #2a2a26;
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(58, 47, 36, 0.18),
    0 8px 16px rgba(58, 47, 36, 0.08);
}
.sc-mk-phone-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(58, 47, 36, 0.55);
}
.sc-mk-phone-header {
  padding: 6px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(77, 107, 58, 0.06);
}
.sc-mk-phone-header strong {
  font-size: 0.95rem;
  color: var(--sc-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sc-mk-phone-header-icon {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--sc-secondary-container);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.sc-mk-phone-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}

/* Reusable mini list-item style for phone mockups */
.sc-mk-phone-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: var(--sc-surface);
  border: 1px solid rgba(77, 107, 58, 0.08);
  font-size: 0.78rem;
}
.sc-mk-phone-row-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--sc-secondary-container);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.sc-mk-phone-row-meta {
  font-size: 0.7rem;
  color: rgba(58, 47, 36, 0.5);
}
.sc-mk-phone-row-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--sc-primary-container);
  color: var(--sc-primary);
}

.sc-mk-phone-tabs {
  display: flex;
  gap: 6px;
  padding: 0 12px;
  margin-bottom: 4px;
}
.sc-mk-phone-tab {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(58, 47, 36, 0.6);
  background: rgba(77, 107, 58, 0.05);
  white-space: nowrap;
}
.sc-mk-phone-tab.is-active {
  background: var(--sc-primary);
  color: var(--sc-on-primary);
}

.sc-mk-phone-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(58, 47, 36, 0.5);
  margin: 4px 4px;
}

.sc-mk-phone-recipe-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--sc-secondary-container);
  position: relative;
}
.sc-mk-phone-recipe-img {
  height: 90px;
  background: linear-gradient(135deg, var(--sc-tertiary-container), var(--sc-secondary-container));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.sc-mk-phone-recipe-meta {
  padding: 8px 10px;
}
.sc-mk-phone-recipe-meta strong { font-size: 0.82rem; display: block; }
.sc-mk-phone-recipe-meta small { font-size: 0.68rem; color: rgba(58, 47, 36, 0.55); }

/* Bottom tab bar inside phone */
.sc-mk-phone-tabbar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 4px 12px;
  border-top: 1px solid rgba(77, 107, 58, 0.08);
  background: var(--sc-surface);
}
.sc-mk-phone-tabbar-item {
  text-align: center;
  font-size: 0.6rem;
  color: rgba(58, 47, 36, 0.5);
  font-weight: 600;
}
.sc-mk-phone-tabbar-item span {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.sc-mk-phone-tabbar-item.is-active { color: var(--sc-primary); }

/* ════════════════════════════════════════════════════════════════
 *  CLOSER  — final CTA before footer
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-closer {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sc-mk-closer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(229, 123, 91, 0.12), transparent 60%);
  pointer-events: none;
}
.sc-mk-closer-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--sc-screen-padding);
}
.sc-mk-closer h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  color: var(--sc-primary);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.sc-mk-closer p {
  font-size: 1.08rem;
  color: rgba(58, 47, 36, 0.78);
  margin: 0 0 28px;
  line-height: 1.55;
}
.sc-mk-closer .sc-mk-cta-row {
  justify-content: center;
}

/* ════════════════════════════════════════════════════════════════
 *  ABOUT PAGE — extends the marketing language with deeper content
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-pillar {
  padding: 60px 0;
}
.sc-mk-pillar-alt {
  background:
    linear-gradient(180deg, var(--sc-background) 0%, var(--sc-surface-variant) 50%, var(--sc-background) 100%);
}
.sc-mk-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sc-mk-pillar-grid-reverse > .sc-mk-pillar-art { order: 2; }
@media (max-width: 880px) {
  .sc-mk-pillar-grid { grid-template-columns: 1fr; gap: 32px; }
  .sc-mk-pillar-grid-reverse > .sc-mk-pillar-art { order: 0; }
}

.sc-mk-pillar h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  color: var(--sc-primary);
  margin: 12px 0 16px;
  letter-spacing: -0.01em;
  font-weight: 800;
  line-height: 1.15;
}
.sc-mk-pillar p {
  color: rgba(58, 47, 36, 0.82);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 18px;
}
.sc-mk-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.sc-mk-bullets li {
  position: relative;
  padding-left: 30px;
  color: rgba(58, 47, 36, 0.88);
  font-size: 0.98rem;
}
.sc-mk-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: var(--sc-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fffaf2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Pillar art slot — placeholder for illustrated mockups, sized correctly */
.sc-mk-pillar-art {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sc-surface);
  border: 1px solid rgba(77, 107, 58, 0.1);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(58, 47, 36, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ════════════════════════════════════════════════════════════════
 *  PRICING
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-pricing {
  padding: 60px 0;
}
.sc-mk-pricing-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.sc-mk-pricing-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--sc-primary);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.sc-mk-pricing-head p {
  color: rgba(58, 47, 36, 0.78);
  font-size: 1.05rem;
  margin: 0;
}
.sc-mk-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .sc-mk-pricing-grid { grid-template-columns: 1fr; }
}
.sc-mk-pricing-card {
  background: var(--sc-surface);
  border: 1px solid rgba(77, 107, 58, 0.1);
  border-radius: 24px;
  padding: 32px;
}
.sc-mk-pricing-card-featured {
  background: linear-gradient(180deg, var(--sc-primary-container) 0%, var(--sc-surface) 60%);
  border: 2px solid var(--sc-primary);
  position: relative;
  box-shadow: 0 16px 40px rgba(77, 107, 58, 0.18);
}
.sc-mk-pricing-card h3 {
  font-size: 1.2rem;
  color: var(--sc-primary);
  margin: 0 0 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-mk-pricing-card h3 small {
  font-size: 0.6rem;
  background: var(--sc-tertiary);
  color: var(--sc-on-tertiary);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sc-mk-pricing-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--sc-primary);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.sc-mk-pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(58, 47, 36, 0.55);
  margin-left: 4px;
}
.sc-mk-pricing-fineprint {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: rgba(58, 47, 36, 0.55);
  font-style: italic;
}

@media (max-width: 720px) {
  .sc-mk-three-platforms { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════════════════════
 *  MASCOT  —  breathe + blink
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-mascot-placeholder {
  transform-origin: center center;
  animation: sc-cat-breathe 4.2s ease-in-out infinite;
}

@keyframes sc-cat-breathe {
  0%, 100% { transform: scale(1)     translateY(0);    }
  50%       { transform: scale(1.024) translateY(-3px); }
}

.sc-mk-mascot-eye {
  transform-box:    fill-box;
  transform-origin: center;
  animation: sc-cat-blink 6s ease-in-out infinite;
}

@keyframes sc-cat-blink {
  0%, 86%, 100% { transform: scaleY(1);    }
  91%           { transform: scaleY(0.06); }
}

/* ════════════════════════════════════════════════════════════════
 *  HERO FLOATERS  —  drifting food + paw emojis
 * ════════════════════════════════════════════════════════════════ */

.sc-mk-hero-floaters {
  position:       absolute;
  inset:          0;
  pointer-events: none;
  overflow:       hidden;
  z-index:        0;
}

.sc-mk-hero-floaters span {
  position:   absolute;
  bottom:     -36px;
  left:       var(--fx, 50%);
  font-size:  var(--fsz, 20px);
  opacity:    0;
  user-select: none;
  animation:  sc-float-up var(--fd, 10s) var(--fdy, 0s) ease-in-out infinite;
}

@keyframes sc-float-up {
  0%   { opacity: 0;    transform: translateY(0)     rotate(0deg);            }
  12%  { opacity: 0.28; }
  78%  { opacity: 0.16; }
  100% { opacity: 0;    transform: translateY(-520px) rotate(var(--fr, 12deg)); }
}

/* ════════════════════════════════════════════════════════════════
 *  MOBILE  —  comprehensive layout fixes
 *
 *  Root problems addressed:
 *    1. Hero grid has no h-padding — text touches screen edges
 *    2. Hero art aspect-ratio:1/1 becomes a 390×390 box on phone
 *    3. Feature bar collapses to 1-col (5 stacked items)
 *    4. Phone showcase stacks 3 full-height phones vertically
 *    5. AI banner mascot slot eats a big square above copy
 *    6. Nav CTA row overflows at 390px
 * ════════════════════════════════════════════════════════════════ */

/* ── Nav ─────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Hide "Sign in" ghost — "Join testing" is the only CTA needed */
  .sc-mk-topnav-end .sc-button { display: none; }
  .sc-mk-topnav-inner { gap: 10px; }
}

/* ── Hero ────────────────────────────────────────────────────── */

/* The shell class provides no h-padding; add it to the grid on all
   single-column sizes so text never reaches the screen edge */
@media (max-width: 920px) {
  .sc-mk-hero { padding: 40px 0 52px; }
  .sc-mk-hero-grid { padding: 0 var(--sc-screen-padding); }
  /* Constrain the art blob so it isn't a full-viewport-height square */
  .sc-mk-hero-art {
    max-height: 260px;
    overflow: hidden;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  /* Art takes 100vw × 100vw ≈ full viewport on small phones — just hide it */
  .sc-mk-hero { padding: 24px 0 36px; }
  .sc-mk-hero-art { display: none; }
  .sc-mk-headline { font-size: clamp(2rem, 9vw, 2.8rem); }
  .sc-mk-sub { font-size: 0.97rem; margin-bottom: 20px; }
  .sc-mk-btn-primary, .sc-mk-btn-ghost { padding: 11px 20px; font-size: 0.93rem; }
  .sc-mk-hero-testing { padding: 14px 16px; gap: 14px; }
}

/* ── Feature bar ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Override the inherited 1-col rule — 2-col is far less scroll */
  .sc-mk-feature-bar-wrap { margin-top: 12px; }
  .sc-mk-feature-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 16px;
    border-radius: 20px;
  }
  /* Last item (5th) spans both columns so it doesn't sit orphaned */
  .sc-mk-feature-bar > .sc-mk-feat:last-child { grid-column: 1 / -1; }
  .sc-mk-feat-icon { width: 46px; height: 46px; font-size: 21px; }
  .sc-mk-feat h3   { font-size: 0.9rem; }
  .sc-mk-feat p    { font-size: 0.77rem; }
}

/* ── AI banner ───────────────────────────────────────────────── */
@media (max-width: 880px) {
  /* Add horizontal padding so the rounded card doesn't go flush with screen edges */
  .sc-mk-ai-banner-wrap { padding: 44px var(--sc-screen-padding) 28px; }
}
@media (max-width: 640px) {
  /* The mascot SVG slot above the copy wastes ~220px of vertical space */
  .sc-mk-ai-mascot-slot { display: none; }
  .sc-mk-ai-banner { padding: 26px 22px; }
  .sc-mk-prompt-chips { grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
  .sc-mk-prompt-chip { padding: 10px 14px; font-size: 0.86rem; }
}

/* ── Phone showcase — horizontal snap scroll ─────────────────── */
/* Stacking 3 phones vertically at 880px means ~1600px of scroll.
   Switch to a horizontal strip with scroll-snap instead. */
@media (max-width: 880px) {
  .sc-mk-showcase { padding: 44px 0 28px; }
  .sc-mk-showcase-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 8px var(--sc-screen-padding) 24px;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .sc-mk-showcase-grid::-webkit-scrollbar { display: none; }
  .sc-mk-phone {
    flex: 0 0 min(260px, 72vw);
    scroll-snap-align: start;
  }
}

/* ── Closer ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .sc-mk-closer { padding: 48px 0 64px; }
  .sc-mk-closer h2 { font-size: clamp(1.7rem, 6.5vw, 2.2rem); }
}
