/* ===========================================================================
   CampusCart landing + public pages — premium SaaS redesign.
   Token-driven; shared by the landing page and the legal pages.
   =========================================================================== */

:root {
  /* Palette */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-050: #eff6ff;
  --accent: #dbeafe;
  --heading: #111827;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: rgba(17, 24, 39, 0.08);
  --border-strong: rgba(17, 24, 39, 0.12);
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #ef4444;
  --star: #f59e0b;

  /* Accent palette — colorful SaaS tones */
  --secondary: #7c3aed;
  --green: #22c55e;
  --orange: #fb923c;
  --pink: #ec4899;
  --sky: #0ea5e9;
  --emerald: #10b981;
  --teal: #14b8a6;
  --indigo: #6366f1;

  /* Radii */
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 24px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-sm: 0 6px 16px -8px rgba(17, 24, 39, 0.16);
  --shadow: 0 18px 40px -20px rgba(17, 24, 39, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(17, 24, 39, 0.3);
  --shadow-primary: 0 16px 34px -12px rgba(37, 99, 235, 0.45);

  /* Layout */
  --container: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Aliases kept for legacy rules below */
  --radius-legacy: 1.2rem;

  /* Default tone (blue) — overridden per card by .tone-* modifiers below */
  --tone: #2563eb;
  --tone-2: #3b82f6;
  --tone-bg: #eff6ff;
  --tone-bg2: #dbeafe;
  --tone-glow: rgba(37, 99, 235, 0.5);
}

/* ---------------------------------------------------------------------------
   Colorful tone system — a .tone-* class on any card sets the CSS variables
   that its icon container, hover glow and accents read from. One place to
   theme a card; reused across pills, stats, categories, features, trust,
   advantages. Keeps the markup clean and the palette cohesive.
   --------------------------------------------------------------------------- */
.tone-blue    { --tone: #2563eb; --tone-2: #3b82f6; --tone-bg: #eff6ff; --tone-bg2: #dbeafe; --tone-glow: rgba(37, 99, 235, 0.5); }
.tone-purple  { --tone: #7c3aed; --tone-2: #a855f7; --tone-bg: #f5f3ff; --tone-bg2: #ede9fe; --tone-glow: rgba(124, 58, 237, 0.5); }
.tone-green   { --tone: #16a34a; --tone-2: #22c55e; --tone-bg: #f0fdf4; --tone-bg2: #dcfce7; --tone-glow: rgba(34, 197, 94, 0.45); }
.tone-orange  { --tone: #ea580c; --tone-2: #fb923c; --tone-bg: #fff7ed; --tone-bg2: #ffedd5; --tone-glow: rgba(251, 146, 60, 0.5); }
.tone-pink    { --tone: #db2777; --tone-2: #ec4899; --tone-bg: #fdf2f8; --tone-bg2: #fce7f3; --tone-glow: rgba(236, 72, 153, 0.45); }
.tone-sky     { --tone: #0284c7; --tone-2: #0ea5e9; --tone-bg: #f0f9ff; --tone-bg2: #e0f2fe; --tone-glow: rgba(14, 165, 233, 0.45); }
.tone-emerald { --tone: #059669; --tone-2: #10b981; --tone-bg: #ecfdf5; --tone-bg2: #d1fae5; --tone-glow: rgba(16, 185, 129, 0.45); }
.tone-teal    { --tone: #0d9488; --tone-2: #14b8a6; --tone-bg: #f0fdfa; --tone-bg2: #ccfbf1; --tone-glow: rgba(20, 184, 166, 0.45); }
.tone-red     { --tone: #dc2626; --tone-2: #ef4444; --tone-bg: #fef2f2; --tone-bg2: #fee2e2; --tone-glow: rgba(239, 68, 68, 0.45); }
.tone-indigo  { --tone: #4f46e5; --tone-2: #6366f1; --tone-bg: #eef2ff; --tone-bg2: #e0e7ff; --tone-glow: rgba(99, 102, 241, 0.5); }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(60rem 40rem at 10% -10%, rgba(37, 99, 235, 0.07), transparent 60%),
    radial-gradient(50rem 40rem at 100% 0%, rgba(59, 130, 246, 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
}

.landing-page {
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'lnum';
  overflow-x: clip;
  /* Layered vertical wash so the page is never plain white — soft blue at the
     top, a warm-white middle, a whisper of purple, easing back to blue. */
  background:
    linear-gradient(180deg,
      #edf3ff 0%,
      #f5f8ff 10%,
      #ffffff 27%,
      #f8f6ff 47%,
      #f9fbff 63%,
      #f2f7ff 82%,
      #eaf1ff 100%);
}

.landing-page section[id] { scroll-margin-top: 104px; }

.landing-hero-grid,
.landing-container,
.stats-grid,
.category-grid,
.featured-listings,
.why-grid,
.process-grid,
.advantage-grid,
.footer-grid {
  width: min(var(--container), 100%);
  margin-inline: auto;
}

/* ---------------------------------------------------------------------------
   Brand logo (nav + footer)
   --------------------------------------------------------------------------- */
.cc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  line-height: 1;
}

.cc-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb 55%, #1d4ed8);
  box-shadow: 0 12px 24px -8px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cc-brand:hover .cc-brand-mark { transform: rotate(-6deg) scale(1.05); }
.cc-brand-mark svg { width: 1.65rem; height: 1.65rem; }

.cc-brand-text {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.cc-brand-campus { color: var(--primary); }
.cc-brand-cart { color: var(--heading); }

/* ---------------------------------------------------------------------------
   Header / navigation — floating glass bar
   --------------------------------------------------------------------------- */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  padding: 0.95rem 1.5rem;
  /* Semi-transparent light-blue glass with a floating feel. */
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.68));
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 8px 28px -22px rgba(37, 99, 235, 0.55);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.landing-header.scrolled {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.88));
  border-bottom-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 16px 36px -22px rgba(37, 99, 235, 0.5);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 3.6rem;
}

.landing-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.landing-nav a {
  position: relative;
  color: #374151;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}

.landing-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.landing-nav a:hover,
.landing-nav a:focus-visible,
.landing-nav a.is-active { color: var(--primary); }
.landing-nav a:hover::after,
.landing-nav a:focus-visible::after,
.landing-nav a.is-active::after { transform: scaleX(1); }
.landing-nav a.is-active { font-weight: 600; }

.landing-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.landing-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #4b5563;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.landing-icon-link:hover,
.landing-icon-link:focus-visible {
  color: var(--primary);
  background: var(--primary-050);
  transform: translateY(-1px);
}

.landing-signin,
.landing-signup {
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.landing-signin { color: #374151; }
.landing-signin:hover,
.landing-signin:focus-visible { color: var(--primary); }
/* Sign up reads as a soft outlined pill so the nav has a clear hierarchy. */
.landing-signup {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  color: var(--primary);
}
.landing-signup:hover,
.landing-signup:focus-visible {
  background: var(--primary-050);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.landing-cta-btn.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.landing-cta-btn.btn:hover,
.landing-cta-btn.btn:focus-visible {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -14px rgba(37, 99, 235, 0.55);
  color: #fff;
}
.landing-cta-btn svg { width: 1.05rem; height: 1.05rem; }

/* Hamburger */
.cc-nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: box-shadow 0.2s var(--ease);
}
.cc-nav-toggle span {
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--heading);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.landing-header.nav-open .cc-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.landing-header.nav-open .cc-nav-toggle span:nth-child(2) { opacity: 0; }
.landing-header.nav-open .cc-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------------
   Shared button sizes
   --------------------------------------------------------------------------- */
.btn-xl {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-xl svg { width: 1.1rem; height: 1.1rem; }

.btn-primary.btn-xl {
  background: var(--primary);
  border: 0;
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary.btn-xl:hover,
.btn-primary.btn-xl:focus-visible {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -14px rgba(37, 99, 235, 0.55);
  color: #fff;
}

.btn-outline-primary.btn-xl {
  background: #fff;
  border: 1.5px solid var(--border-strong);
  color: var(--heading);
}
.btn-outline-primary.btn-xl:hover,
.btn-outline-primary.btn-xl:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-050);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
   Decorative blobs
   --------------------------------------------------------------------------- */
.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.deco-blob--hero-a { top: -6rem; left: -8rem; width: 26rem; height: 26rem; background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 70%); }
.deco-blob--hero-b { bottom: -10rem; right: 20%; width: 30rem; height: 30rem; background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 70%); }
.deco-blob--cta { top: -30%; right: -10%; width: 34rem; height: 34rem; background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%); filter: blur(40px); }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem clamp(3.5rem, 5vw, 5rem);
  background:
    radial-gradient(60rem 34rem at 78% 8%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(48rem 30rem at 6% 4%, rgba(56, 189, 248, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 58%, #eaf2ff 100%);
}
/* Subtle dot pattern layer for depth. */
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.14) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}

.landing-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: 620px;
}

.landing-hero-copy { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  background: var(--primary-050);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow svg { width: 1rem; height: 1rem; }

.landing-hero-copy h1 {
  font-size: clamp(2.85rem, 5.8vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.6rem;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--heading);
}
.hero-h1-accent {
  position: relative;
  background: linear-gradient(120deg, #2563eb, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}
.hero-h1-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.14em;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.28), rgba(56, 189, 248, 0.28));
}

.landing-hero-copy p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.landing-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-avatars { display: inline-flex; align-items: center; }
.hero-avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid #fff;
  margin-left: -0.7rem;
  box-shadow: var(--shadow-xs);
}
.hero-avatar:first-child { margin-left: 0; }
.hero-avatar--count { background: var(--primary); color: #fff; font-size: 0.72rem; }
.hero-avatar--count svg, .hero-avatar--count i { width: 1.1rem; height: 1.1rem; }

.hero-trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-trust-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--heading);
  font-weight: 700;
}
.hero-trust-rating svg,
.hero-trust-rating i { width: 1.1rem; height: 1.1rem; color: var(--primary); }

.landing-hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 34rem;
}
.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 55%, var(--tone-bg));
  border: 1px solid var(--border);
  color: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.landing-badge:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -16px var(--tone-glow); border-color: var(--tone-bg2); }
.landing-badge svg,
.landing-badge i {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--tone);
  flex: 0 0 auto;
  padding: 0.5rem;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--tone-bg), var(--tone-bg2));
}

/* Hero visual */
.landing-hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob--a { top: 4%; right: 6%; width: 15rem; height: 15rem; background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%); }
.hero-blob--b { bottom: 2%; left: 4%; width: 13rem; height: 13rem; background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 70%); }

/* Marketplace browser mockup — a realistic product showcase built from UI parts. */
.hero-mock {
  position: relative;
  z-index: 1;
  width: min(430px, 92%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  background: #f3f5f9;
  border-bottom: 1px solid var(--border);
}
.hero-mock-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #d1d5db; }
.hero-mock-dot:nth-child(1) { background: #f87171; }
.hero-mock-dot:nth-child(2) { background: #fbbf24; }
.hero-mock-dot:nth-child(3) { background: #34d399; }
.hero-mock-url {
  margin-left: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}
.hero-mock-url svg, .hero-mock-url i { width: 0.85rem; height: 0.85rem; color: var(--success); }
.hero-mock-body { padding: 1rem 1.1rem 1.25rem; }
.hero-mock-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.8rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}
.hero-mock-search svg, .hero-mock-search i { width: 1rem; height: 1rem; color: var(--primary); }
.hero-mock-chips { display: flex; gap: 0.45rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.hero-mock-chip {
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}
.hero-mock-chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.hero-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.hero-mock-card {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-mock-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.hero-mock-thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.95);
}
.hero-mock-thumb svg, .hero-mock-thumb i { width: 2.1rem; height: 2.1rem; }
.hero-mock-thumb--a { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.hero-mock-thumb--b { background: linear-gradient(135deg, #22c55e, #15803d); }
.hero-mock-thumb--c { background: linear-gradient(135deg, #f59e0b, #d97706); }
.hero-mock-thumb--d { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.hero-mock-info { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; padding: 0.5rem 0.7rem 0.6rem; }
.hero-mock-title { font-size: 0.78rem; font-weight: 600; color: var(--heading); }
.hero-mock-price { font-size: 0.8rem; font-weight: 800; color: var(--primary); }

.hero-decor-card {
  position: absolute;
  z-index: 2;
  width: min(260px, 70%);
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hero-decor-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  background: var(--primary-050);
  color: var(--primary);
  margin-bottom: 0.7rem;
}
.hero-decor-card-icon svg,
.hero-decor-card-icon i { width: 1.35rem; height: 1.35rem; }
.hero-decor-card .decor-label {
  display: inline-flex;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.hero-decor-card strong { display: block; font-size: 1.05rem; color: var(--heading); margin-bottom: 0.4rem; }
.hero-decor-card p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.hero-decor-card--top { top: 0.5rem; left: -1.5rem; animation: floaty 6s ease-in-out infinite; }
.hero-decor-card--bottom { bottom: 0.5rem; right: -1.5rem; animation: floaty 6s ease-in-out infinite 1.2s; }
.hero-decor-card--top strong { font-size: 1.6rem; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------------------------------------------------------------------------
   Sections + headings
   --------------------------------------------------------------------------- */
.landing-section { position: relative; padding: clamp(5rem, 8vw, 7.5rem) 1.5rem; }
.landing-section--tight { padding-top: clamp(3rem, 5vw, 4rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
/* Section rhythm bands sit over the page wash — a soft blue band and a soft
   purple band alternate the vertical flow without ever going dark. */
.landing-section--alt { background: linear-gradient(180deg, rgba(219, 234, 254, 0.34), rgba(224, 242, 254, 0.22)); }
.landing-section--tint { background: linear-gradient(180deg, rgba(237, 233, 254, 0.42), rgba(219, 234, 254, 0.20)); }

.section-heading { max-width: 640px; margin-bottom: 3rem; }
.section-heading--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { margin-inline: auto; }
.section-heading .eyebrow { background: var(--primary-050); }
.section-heading h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--heading);
}
.section-heading p { margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }

.section-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   Stats
   --------------------------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.7rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, var(--tone-bg) 260%) padding-box,
    linear-gradient(160deg, var(--tone-bg2), transparent 55%) border-box;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -26px var(--tone-glow);
  background:
    linear-gradient(#fff, var(--tone-bg) 180%) padding-box,
    linear-gradient(160deg, var(--tone), var(--tone-2) 55%) border-box;
}
.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tone-bg), var(--tone-bg2));
  color: var(--tone);
  transition: transform 0.3s var(--ease);
}
.stat-card:hover .stat-icon { transform: scale(1.08); }
.stat-icon svg,
.stat-icon i { width: 1.9rem; height: 1.9rem; }
.stat-card strong { font-size: 1.2rem; font-weight: 700; color: var(--heading); letter-spacing: -0.01em; margin-bottom: 0.55rem; }
.stat-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------------------------------------------------------------------------
   Shared card grids
   --------------------------------------------------------------------------- */
.category-grid,
.featured-listings,
.why-grid,
.advantage-grid,
.process-grid { display: grid; gap: 1.5rem; }

.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-listings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.advantage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }

/* Category cards */
.category-card {
  position: relative;
  padding: 2.2rem;
  min-height: 210px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--heading);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--tone-bg), transparent 75%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 0;
}
.category-card > * { position: relative; z-index: 1; }
.category-card:hover,
.category-card:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 46px -24px var(--tone-glow); border-color: var(--tone-bg2); }
.category-card:hover::before { opacity: 1; }

.category-icon,
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, var(--tone-bg), var(--tone-bg2));
  color: var(--tone);
  margin-bottom: 1.2rem;
  transition: transform 0.3s var(--ease);
}
.category-card:hover .category-icon,
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.category-icon svg, .category-icon i,
.feature-icon svg, .feature-icon i { width: 1.8rem; height: 1.8rem; }

.category-card h3,
.feature-card h3,
.step-card h3 { margin: 0 0 0.5rem; font-size: 1.22rem; font-weight: 700; color: var(--heading); letter-spacing: -0.01em; }
.category-card p,
.feature-card p,
.step-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 0.97rem; }

.card-go {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  color: var(--tone);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.card-go svg, .card-go i { width: 1.2rem; height: 1.2rem; }
.category-card:hover .card-go { opacity: 1; transform: translateX(0); }

/* Why / feature cards */
.feature-card {
  padding: 2.4rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(#fff, #fff) border-box;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -26px var(--tone-glow);
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--tone), var(--tone-2)) border-box;
}
.feature-icon {
  border-radius: 1.2rem;
  width: 4.2rem;
  height: 4.2rem;
}
.feature-icon svg, .feature-icon i { width: 2rem; height: 2rem; }
.feature-card h3 { font-size: 1.25rem; }

/* ---------------------------------------------------------------------------
   Featured listings
   --------------------------------------------------------------------------- */
.landing-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.landing-view-all:hover,
.landing-view-all:focus-visible { gap: 0.7rem; color: var(--primary-hover); }
.landing-view-all svg, .landing-view-all i { width: 1.05rem; height: 1.05rem; }

.listing-preview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.listing-preview-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.listing-preview-thumb { display: block; overflow: hidden; }
.listing-preview-image,
.listing-preview-image-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.listing-preview-image { transition: transform 0.45s var(--ease); }
.listing-preview-card:hover .listing-preview-image { transform: scale(1.07); }

.listing-preview-campus { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--muted); font-size: 0.9rem; }
.listing-preview-campus svg, .listing-preview-campus i { width: 0.95rem; height: 0.95rem; color: var(--primary); }
.listing-preview-image-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-050), var(--accent));
  color: var(--primary);
}
.listing-preview-image-placeholder svg,
.listing-preview-image-placeholder i { width: 2.4rem; height: 2.4rem; }

.listing-preview-body { display: grid; gap: 0.9rem; padding: 1.6rem 1.6rem 1.75rem; }
.listing-preview-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.listing-preview-category { color: var(--primary); font-weight: 700; font-size: 0.85rem; }
.listing-preview-condition {
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.listing-preview-condition.is-top { color: var(--success); border: 1px solid rgba(22, 163, 74, 0.22); background: rgba(22, 163, 74, 0.1); }
.listing-preview-condition.is-standard { color: var(--muted); border: 1px solid var(--border-strong); background: rgba(17, 24, 39, 0.04); }

.listing-preview-title { margin: 0; font-size: 1.15rem; line-height: 1.35; }
.listing-preview-title a { color: var(--heading); text-decoration: none; }
.listing-preview-title a:hover { color: var(--primary); }

.listing-preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.92rem; flex-wrap: wrap; }
.listing-preview-meta--strong { color: var(--muted); }
.listing-preview-price { color: var(--primary); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }

.listing-preview-owner { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.9rem; }
.seller-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
}
.seller-avatar svg, .seller-avatar i { width: 1rem; height: 1rem; }
.listing-preview-seller { margin: 0; }

.featured-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 3.5rem 1.5rem;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px dashed rgba(37, 99, 235, 0.25);
}
.featured-empty-icon {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.1rem;
  background: var(--primary-050);
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.featured-empty h3 { margin: 0; font-size: 1.3rem; color: var(--heading); }
.featured-empty p { margin: 0 0 1rem; color: var(--muted); }

/* ---------------------------------------------------------------------------
   How it works — numbered timeline
   --------------------------------------------------------------------------- */
.step-card {
  position: relative;
  padding: 2.4rem 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  position: absolute;
  top: -1.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-primary);
  border: 4px solid #fff;
}
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0.6rem auto 1rem;
  border-radius: 1rem;
  background: var(--primary-050);
  color: var(--primary);
}
.step-icon svg, .step-icon i { width: 1.5rem; height: 1.5rem; }
.step-card h3 { margin-bottom: 0.5rem; }
/* Connecting dotted line between steps */
.step-card::after {
  content: '';
  position: absolute;
  top: -0.05rem;
  left: calc(50% + 1.6rem);
  width: calc(100% - 3.2rem);
  border-top: 2px dashed rgba(37, 99, 235, 0.3);
  z-index: -1;
}
.step-card:last-child::after { display: none; }

/* ---------------------------------------------------------------------------
   CampusCart advantages — colorful value cards (replaces testimonials)
   --------------------------------------------------------------------------- */
.advantage-card {
  position: relative;
  overflow: hidden;
  padding: 2.4rem;
  background: linear-gradient(135deg, #fff 62%, var(--tone-bg));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* Colored top accent bar. */
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tone), var(--tone-2));
  opacity: 0.85;
}
.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -26px var(--tone-glow);
  border-color: var(--tone-bg2);
}
.advantage-icon {
  display: inline-grid;
  place-items: center;
  width: 3.9rem;
  height: 3.9rem;
  margin-bottom: 1.2rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, var(--tone-bg), var(--tone-bg2));
  color: var(--tone);
  transition: transform 0.3s var(--ease);
}
.advantage-card:hover .advantage-icon { transform: scale(1.08) rotate(-4deg); }
.advantage-icon svg, .advantage-icon i { width: 1.85rem; height: 1.85rem; }
.advantage-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--heading); letter-spacing: -0.01em; }
.advantage-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 0.97rem; }

/* ---------------------------------------------------------------------------
   CTA
   --------------------------------------------------------------------------- */
.landing-cta-section {
  position: relative;
  overflow: hidden;
  margin: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(40rem 30rem at 85% -20%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(34rem 26rem at 6% 120%, rgba(236, 72, 153, 0.3), transparent 60%),
    linear-gradient(120deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
  box-shadow: 0 40px 90px -40px rgba(91, 33, 182, 0.7);
}
.cta-glow {
  position: absolute;
  left: 50%;
  bottom: -40%;
  transform: translateX(-50%);
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
/* Floating abstract shapes + line rings for depth. */
.cta-shape { position: absolute; pointer-events: none; z-index: 0; }
.cta-shape--ring {
  top: -3.5rem;
  right: 3rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  animation: floaty 8s ease-in-out infinite;
}
.cta-shape--square {
  bottom: -2rem;
  left: 8%;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.16);
  transform: rotate(18deg);
  animation: floaty 7s ease-in-out infinite 1s;
}
.cta-shape--dot-a,
.cta-shape--dot-b { border-radius: 50%; background: rgba(255, 255, 255, 0.5); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08); }
.cta-shape--dot-a { top: 22%; left: 12%; width: 0.7rem; height: 0.7rem; animation: floaty 6s ease-in-out infinite 0.4s; }
.cta-shape--dot-b { bottom: 24%; right: 14%; width: 0.9rem; height: 0.9rem; animation: floaty 7s ease-in-out infinite 1.6s; }
.landing-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cta-eyebrow svg, .cta-eyebrow i { width: 1rem; height: 1rem; }
.landing-cta h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin: 0; letter-spacing: -0.03em; line-height: 1.1; max-width: 18ch; }
.landing-cta p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; line-height: 1.7; max-width: 42rem; }
.landing-cta-actions { margin-top: 0.75rem; }
.landing-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.landing-cta-white:hover,
.landing-cta-white:focus-visible { color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 24px 50px -14px rgba(0, 0, 0, 0.45); }
.landing-cta-white svg, .landing-cta-white i { width: 1.1rem; height: 1.1rem; }

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.landing-footer {
  position: relative;
  padding: clamp(3.75rem, 5.5vw, 5.5rem) 1.5rem 2.25rem;
  /* Slightly deeper than the page wash so the footer reads as a distinct base. */
  background: linear-gradient(180deg, #e9f0fb 0%, #e4ecf7 100%);
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}
/* Soft accent hairline along the very top of the footer. */
.landing-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.35), rgba(124, 58, 237, 0.35), transparent);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 2.75rem;
  margin-bottom: 3.25rem;
}
.footer-about { max-width: 23rem; }
.cc-brand--footer { margin-bottom: 1.1rem; }
.cc-brand--footer .cc-brand-mark { width: 2.7rem; height: 2.7rem; border-radius: 0.8rem; }
.cc-brand--footer .cc-brand-mark svg { width: 1.5rem; height: 1.5rem; }
.cc-brand--footer .cc-brand-text { font-size: 1.6rem; }
.footer-about p { color: var(--muted); line-height: 1.7; margin: 0 0 1.2rem; font-size: 0.95rem; }
.footer-social { display: inline-flex; gap: 0.6rem; }
.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #4b5563;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { color: #fff; background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer-social svg, .footer-social i { width: 1.1rem; height: 1.1rem; }

.footer-title { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 700; color: var(--heading); margin-bottom: 1rem; }
.footer-title svg, .footer-title i { width: 1.05rem; height: 1.05rem; color: var(--primary); flex: 0 0 auto; }

/* Soft tone-matched glow on card icon containers when their card is hovered. */
.stat-card:hover .stat-icon,
.category-card:hover .category-icon,
.feature-card:hover .feature-icon,
.advantage-card:hover .advantage-icon { box-shadow: 0 12px 28px -8px var(--tone-glow); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--primary); transform: translateX(2px); }

.footer-contact li { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--muted); line-height: 1.5; font-size: 0.92rem; }
.footer-contact svg, .footer-contact i { width: 1.05rem; height: 1.05rem; color: var(--primary); flex: 0 0 auto; margin-top: 0.15rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
.footer-made { display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-heart { color: var(--danger); }

/* ---------------------------------------------------------------------------
   Security / trust section
   --------------------------------------------------------------------------- */
/* Two-column layout: intro + illustration on the left, feature list on the right. */
.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.trust-intro { max-width: 30rem; }
.trust-intro .eyebrow { margin-bottom: 1.4rem; }
.trust-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--heading);
}
.trust-intro > p { margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }

/* Security illustration — a glowing shield with orbiting security icons. */
.trust-visual {
  position: relative;
  height: 15rem;
  margin-top: 2.25rem;
}
.trust-visual-glow {
  position: absolute;
  top: 50%;
  left: 6.5rem;
  width: 13rem;
  height: 13rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 68%);
  filter: blur(20px);
}
.trust-visual-shield {
  position: absolute;
  top: 50%;
  left: 2.5rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb 55%, #1d4ed8);
  color: #fff;
  box-shadow: 0 26px 50px -18px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.trust-visual-shield svg, .trust-visual-shield i { width: 3.6rem; height: 3.6rem; }
.trust-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--primary);
  animation: floaty 6s ease-in-out infinite;
}
.trust-orbit svg, .trust-orbit i { width: 1.4rem; height: 1.4rem; }
.trust-orbit--1 { top: 0.5rem; left: 8.5rem; color: var(--green); animation-delay: 0s; }
.trust-orbit--2 { top: 3.4rem; left: 12.5rem; color: var(--indigo); animation-delay: 0.7s; }
.trust-orbit--3 { bottom: 2.6rem; left: 12rem; color: var(--orange); animation-delay: 1.4s; }
.trust-orbit--4 { bottom: 0.2rem; left: 8rem; color: var(--secondary); animation-delay: 2.1s; }

.trust-list {
  display: grid;
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 60%, var(--tone-bg));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.trust-item:hover { transform: translateX(6px); box-shadow: 0 20px 40px -22px var(--tone-glow); border-color: var(--tone-bg2); }
.trust-check {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--tone-bg), var(--tone-bg2));
  color: var(--tone);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.trust-item:hover .trust-check { transform: scale(1.06); box-shadow: 0 10px 24px -8px var(--tone-glow); }
.trust-check svg, .trust-check i { width: 1.45rem; height: 1.45rem; }
.trust-item strong { display: block; color: var(--heading); font-size: 1.05rem; margin-bottom: 0.3rem; }
.trust-item p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ---------------------------------------------------------------------------
   Premium teaser
   --------------------------------------------------------------------------- */
.premium-teaser {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.25rem, 4vw, 3.5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(32rem 22rem at 88% -30%, rgba(168, 85, 247, 0.38), transparent 60%),
    radial-gradient(28rem 20rem at 4% 125%, rgba(37, 99, 235, 0.3), transparent 60%),
    linear-gradient(135deg, #2e1065 0%, #4c1d95 55%, #6d28d9 100%);
  box-shadow: 0 40px 90px -40px rgba(76, 29, 149, 0.75);
}
.premium-teaser-glow {
  position: absolute;
  top: -30%;
  right: -5%;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
/* Floating gold crown — luxury accent for the Premium card. */
.premium-crown {
  position: absolute;
  top: -1.6rem;
  right: clamp(1.5rem, 6vw, 4rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1.4rem;
  color: #1f1300;
  background: linear-gradient(135deg, #fde68a, #f59e0b 55%, #d97706);
  box-shadow: 0 20px 40px -14px rgba(245, 158, 11, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: floaty 6s ease-in-out infinite;
}
.premium-crown svg, .premium-crown i { width: 2.3rem; height: 2.3rem; }
.premium-teaser-copy { position: relative; z-index: 1; }
.premium-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.premium-badge-pill svg, .premium-badge-pill i { width: 1rem; height: 1rem; }
.premium-teaser-copy h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -0.025em; margin: 0 0 0.75rem; }
.premium-teaser-copy p { color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; line-height: 1.7; margin: 0 0 1.75rem; max-width: 30rem; }
/* Glass CTA button on the premium card. */
.premium-teaser-btn.btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 243, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--secondary);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -16px rgba(15, 3, 45, 0.65);
}
.premium-teaser-btn.btn:hover,
.premium-teaser-btn.btn:focus-visible {
  transform: translateY(-2px);
  color: var(--secondary);
  box-shadow: 0 26px 50px -16px rgba(15, 3, 45, 0.75);
}
.premium-teaser-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.premium-teaser-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.premium-teaser-list li:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.08); }
.premium-tick {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #1f1300;
}
.premium-tick svg, .premium-tick i { width: 1.1rem; height: 1.1rem; }

/* ---------------------------------------------------------------------------
   Legal pages (Privacy Policy, Terms of Service) — shared stylesheet
   --------------------------------------------------------------------------- */
.legal-page { padding: 3.5rem 1.5rem 5rem; }
.legal-container { width: min(880px, 100%); margin-inline: auto; }
.legal-header { margin-bottom: 2.75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.legal-header h1 { font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0.5rem 0 0.85rem; color: var(--heading); }
.legal-updated { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 1.25rem; }
.legal-updated svg, .legal-updated i { width: 1rem; height: 1rem; }
.legal-intro { font-size: 1.08rem; line-height: 1.85; color: var(--muted); margin: 0; max-width: 46rem; }
.legal-content { display: grid; gap: 2.25rem; }
.legal-section { scroll-margin-top: 104px; }
.legal-section h2 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.4rem; letter-spacing: -0.01em; margin: 0 0 1rem; color: var(--heading); }
.legal-num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.7rem; background: var(--primary-050); color: var(--primary); font-size: 0.95rem; font-weight: 700; flex: 0 0 auto; }
.legal-section p, .legal-section li { color: var(--text); line-height: 1.85; }
.legal-section p { margin: 0 0 0.85rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 0 0 0.5rem; padding-left: 1.25rem; display: grid; gap: 0.55rem; }
.legal-section strong { color: var(--heading); }
.legal-section a { color: var(--primary); font-weight: 600; }
.legal-contact-card { padding: 1.5rem 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.legal-contact-card svg, .legal-contact-card i { width: 1.1rem; height: 1.1rem; color: var(--primary); vertical-align: -2px; }

/* ---------------------------------------------------------------------------
   Scroll-reveal animation
   --------------------------------------------------------------------------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* Safety: if JS never runs, never leave content hidden. */
html:not(.js) .fade-up { opacity: 1; transform: none; }

/* ===========================================================================
   PREMIUM ELEVATION PASS — new decorative & interaction layers (additive; all
   new class names so nothing above is overridden). Every decorative element is
   aria-hidden in the markup and sits below content (z-index 0) at <10% opacity.
   =========================================================================== */

/* --- Button shine sweep ---------------------------------------------------- */
.btn-primary.btn-xl,
.landing-cta-white,
.landing-cta-btn.btn { position: relative; overflow: hidden; }
.btn-primary.btn-xl::before,
.landing-cta-white::before,
.landing-cta-btn.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 0.6s var(--ease);
}
.btn-primary.btn-xl:hover::before,
.landing-cta-white:hover::before,
.landing-cta-btn.btn:hover::before { left: 130%; }
/* Keep button label/icon above the shine layer. */
.btn-primary.btn-xl > *,
.landing-cta-white > *,
.landing-cta-btn.btn > * { position: relative; z-index: 1; }

/* --- Reusable decorative graphics (page depth) ----------------------------- */
.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;              /* the gradient itself is already <10% alpha */
  pointer-events: none;
  z-index: 0;
}
.section-blob--blue { background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%); }
.section-blob--purple { background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%); }
.section-blob--teal { background: radial-gradient(circle, rgba(20, 184, 166, 0.14), transparent 70%); }
.section-blob--pink { background: radial-gradient(circle, rgba(236, 72, 153, 0.13), transparent 70%); }

/* A faint decorative ring. */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 99, 235, 0.08);
  pointer-events: none;
  z-index: 0;
}

/* Dotted-grid texture for a section (opt-in via .landing-section--pattern). */
.landing-section--pattern { position: relative; }
.landing-section--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.09) 1px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 82%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 82%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.landing-section--pattern > .landing-container { position: relative; z-index: 1; }

/* Keep section content above any decorative blobs placed inside a section. */
.landing-section > .landing-container,
.landing-section > .trust-layout { position: relative; z-index: 1; }

/* --- Hero: richer background + campus concept illustration ------------------ */
/* Extra soft radial "mesh" tint behind the hero for depth. */
.landing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(24rem 20rem at 88% 78%, rgba(124, 58, 237, 0.10), transparent 60%),
    radial-gradient(26rem 22rem at 14% 88%, rgba(20, 184, 166, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Campus building silhouette behind the product mock. */
.hero-campus {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(30rem, 96%);
  height: 9rem;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  color: var(--primary);
}
.hero-campus svg { width: 100%; height: 100%; display: block; }

/* Small floating campus icon chips (graduation cap, book, backpack, building). */
.hero-float-icon {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  color: var(--tone, var(--primary));
  background: linear-gradient(135deg, #fff, var(--tone-bg, #eff6ff));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.hero-float-icon svg, .hero-float-icon i { width: 1.5rem; height: 1.5rem; }
.hero-float-icon--cap { top: 1rem; right: -0.5rem; animation-delay: 0.2s; }
.hero-float-icon--book { top: 44%; left: -1.75rem; animation-delay: 1.1s; }
.hero-float-icon--bag { bottom: 3.5rem; right: -1.25rem; animation-delay: 1.8s; }
.hero-float-icon--building { bottom: -0.25rem; left: 2.5rem; animation-delay: 2.4s; }

/* "Offer accepted" popup floating over the mock. */
.hero-popup {
  position: absolute;
  z-index: 4;
  bottom: 6.5rem;
  left: -1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: floaty 6.5s ease-in-out infinite 0.6s;
}
.hero-popup-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff;
  flex: 0 0 auto;
}
.hero-popup-icon svg, .hero-popup-icon i { width: 1.15rem; height: 1.15rem; }
.hero-popup-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-popup-text strong { font-size: 0.82rem; color: var(--heading); }
.hero-popup-text span { font-size: 0.72rem; color: var(--muted); }

/* Mini chat exchange inside the mock, under the listing grid. */
.hero-mock-chat { display: grid; gap: 0.4rem; margin-top: 0.85rem; }
.hero-mock-bubble {
  max-width: 78%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.9rem;
  font-size: 0.74rem;
  line-height: 1.35;
}
.hero-mock-bubble--in {
  justify-self: start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 0.25rem;
}
.hero-mock-bubble--out {
  justify-self: end;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}

/* --- Featured listings: floating badge + image depth ----------------------- */
.listing-preview-thumb { position: relative; }
/* Gentle gradient wash over the photo for text-legible badges + depth. */
.listing-preview-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.16) 0%, transparent 32%, transparent 70%, rgba(17, 24, 39, 0.14) 100%);
  pointer-events: none;
}
.listing-preview-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.listing-preview-tag svg, .listing-preview-tag i { width: 0.85rem; height: 0.85rem; }
/* Decorative wishlist heart (visual accent; pulses on card hover). */
.listing-preview-wish {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--pink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.listing-preview-wish svg, .listing-preview-wish i { width: 1.1rem; height: 1.1rem; }
.listing-preview-card:hover .listing-preview-wish { transform: scale(1.12); background: #fff; }
/* Slightly larger, softer listing imagery for the premium feel. */
.listing-preview-image,
.listing-preview-image-placeholder { aspect-ratio: 5 / 4; }

/* --- Premium: sparkles + stronger glow ------------------------------------- */
.premium-sparkle {
  position: absolute;
  z-index: 1;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #fde68a;
  box-shadow: 0 0 8px 2px rgba(253, 230, 138, 0.8);
  pointer-events: none;
  animation: twinkle 3.2s ease-in-out infinite;
}
.premium-sparkle--1 { top: 18%; left: 12%; animation-delay: 0s; }
.premium-sparkle--2 { top: 30%; right: 18%; width: 0.35rem; height: 0.35rem; animation-delay: 0.8s; }
.premium-sparkle--3 { bottom: 22%; left: 40%; width: 0.4rem; height: 0.4rem; animation-delay: 1.6s; }
.premium-sparkle--4 { bottom: 30%; right: 30%; animation-delay: 2.3s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}
/* Lift premium copy/list above the sparkle layer. */
.premium-teaser-copy, .premium-teaser-list { position: relative; z-index: 2; }

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .landing-hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .landing-hero-visual { min-height: 460px; margin-top: 1rem; }
  .category-grid,
  .why-grid,
  .featured-listings,
  .process-grid,
  .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .step-card::after { display: none; }
}

@media (max-width: 991.98px) {
  .premium-teaser { grid-template-columns: 1fr; }
  .trust-layout { grid-template-columns: 1fr; }
  .trust-intro { max-width: none; }
  .trust-visual { max-width: 22rem; }
}

/* Collapse the nav into a mobile menu */
@media (max-width: 991.98px) {
  .cc-nav-toggle { display: inline-flex; }
  .landing-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .landing-header.nav-open .landing-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .landing-nav { flex-direction: column; align-items: stretch; gap: 0.35rem; }
  .landing-nav a { padding: 0.6rem 0.5rem; border-radius: 0.6rem; }
  .landing-nav a::after { display: none; }
  .landing-nav a:hover { background: var(--primary-050); }
  .landing-actions { flex-direction: column; align-items: stretch; gap: 0.6rem; padding-top: 0.85rem; border-top: 1px solid var(--border); }
  .landing-actions .landing-icon-link { align-self: flex-start; }
  .landing-signin, .landing-signup { padding: 0.5rem; }
  .landing-cta-btn.btn { justify-content: center; padding: 0.75rem 1.35rem; }
}

@media (max-width: 767.98px) {
  .landing-hero,
  .landing-section,
  .landing-footer { padding-left: 1.1rem; padding-right: 1.1rem; }
  .landing-header { padding-left: 1rem; padding-right: 1rem; }
  .landing-hero-copy h1 { font-size: clamp(2.6rem, 8vw, 3rem); }
  .hero-h1-accent { white-space: normal; }
  .landing-hero-badges { grid-template-columns: 1fr; }
  .landing-hero-buttons { flex-direction: column; align-items: stretch; }
  .landing-hero-buttons .btn-xl { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid,
  .why-grid,
  .featured-listings,
  .process-grid,
  .advantage-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 1.75rem; }
  .premium-teaser-copy h2 { font-size: 1.75rem; }
  .section-heading { margin-bottom: 2rem; }
  .landing-cta { flex-direction: column; align-items: flex-start; }
  .landing-cta-actions,
  .landing-cta-actions .btn { width: 100%; }
  .landing-cta-actions .btn { justify-content: center; }
  .hero-decor-card--top { left: -0.5rem; top: -0.5rem; }
  .hero-decor-card--bottom { right: -0.5rem; bottom: -0.5rem; }
  .hero-mock { width: min(340px, 96%); }
  /* Trim the densest floating accents on phones to keep the hero uncluttered. */
  .hero-float-icon--book,
  .hero-float-icon--bag,
  .hero-popup { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-decor-card--top,
  .hero-decor-card--bottom,
  .hero-float-icon,
  .hero-popup,
  .premium-sparkle,
  .trust-orbit,
  .cta-shape { animation: none; }
  .btn-primary.btn-xl::before,
  .landing-cta-white::before,
  .landing-cta-btn.btn::before { display: none; }
  .fade-up { transition: none; opacity: 1; transform: none; }
  * { scroll-behavior: auto; }
}
