/* ============================================================
   CampusRun — website design system
   Light/white + cyan. Layout language adapted from the
   "food Delivery Landing Page" Figma reference (airy white
   canvas, soft blobs, wavy section divider, big display
   headline with an accent word, pill CTAs, floating cards) —
   rendered in the CampusRun cyan brand rather than the
   reference's coral.

   Shared by every page in website/. Edit here, not per page.
   ============================================================ */

:root {
  /* Brand — cyan (see tailwind.config.js, kept in sync with the app) */
  --cr-brand:        #00d1ff;
  --cr-brand-400:    #35e0ff;
  --cr-brand-200:    #80eeff;
  --cr-brand-100:    #b3f5ff;
  --cr-brand-50:     #e6fcff;
  --cr-brand-600:    #00b5e0;
  --cr-brand-ink:    #0088aa;  /* text-safe cyan on white (4.5:1) */
  --cr-blue:         #0066ff;  /* CTA blue, text-safe on white */
  --cr-blue-deep:    #0052a8;

  /* Surfaces */
  --cr-white:        #ffffff;   /* cards/surfaces stay pure white */
  --cr-page:         #f4f8fa;   /* page background — softer than #fff */
  --cr-mist:         #edf4f7;
  --cr-mist-2:       #e8f2f6;
  --cr-line:         #e2edf0;
  --cr-line-soft:    #eef5f8;

  /* Ink */
  --cr-ink:          #0b0f19;
  --cr-ink-2:        #1b2735;
  --cr-muted:        #5b6b7a;
  --cr-muted-2:      #8496a5;

  /* Accents */
  --cr-green:        #16a34a;
  --cr-amber:        #f59e0b;

  /* Shape */
  --cr-radius:       22px;
  --cr-radius-sm:    14px;
  --cr-radius-pill:  999px;

  /* Elevation */
  --cr-shadow-sm:    0 2px 10px rgba(11,15,25,.05);
  --cr-shadow:       0 8px 30px rgba(11,15,25,.07);
  --cr-shadow-lg:    0 22px 60px rgba(11,15,25,.10);
  --cr-shadow-cyan:  0 14px 36px rgba(0,150,200,.22);

  --cr-maxw:         1200px;

  /* ── Legacy aliases ──────────────────────────────────────
     The inner pages (see-the-app, earn-money, faq, …) still carry
     page-specific component CSS written against the old dark theme's
     variable names. Remapping those names here re-skins that CSS to the
     light theme without rewriting every component. Prefer the new tokens
     above for anything written from now on. */
  --cr-bg-dark:      var(--cr-white);
  --cr-bg-mid:       var(--cr-mist);
  --cr-bg-card:      var(--cr-white);
  --cr-text:         var(--cr-ink);
  --cr-text-muted:   var(--cr-muted);
  --cr-text-dim:     var(--cr-muted-2);
  --cr-border:       var(--cr-line);
  --cr-border-bright: var(--cr-brand-200);
  --cr-brand-bright: var(--cr-brand-400);
  /* used as TEXT colours on the inner pages — must stay readable on white */
  --cr-brand-light:  var(--cr-brand-ink);
  --cr-brand-pale:   var(--cr-brand-ink);
  --cr-brand-dim:    var(--cr-brand-50);
  --cr-blue-dim:     rgba(0,102,255,.08);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--cr-page);
  color: var(--cr-ink);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.cr-popover-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--cr-brand-100); color: var(--cr-ink); }

:focus-visible {
  outline: 3px solid var(--cr-brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.cr-container {
  width: 100%;
  max-width: var(--cr-maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Display type ───────────────────────────────────────── */

h1, h2, h3, h4,
.cr-h1-line1, .cr-h1-line2, .cr-h1-line3 {
  font-family: 'League Spartan', 'Syne', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--cr-ink);
}

/* Accent word — the reference puts the first word in the brand color */
.cr-grad {
  background: linear-gradient(100deg, var(--cr-brand-600), var(--cr-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cr-brand-ink);
}

.cr-serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ── Nav ────────────────────────────────────────────────── */

.cr-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--cr-line-soft);
}

.cr-nav-inner {
  max-width: var(--cr-maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cr-nav-logo {
  font-family: 'League Spartan', 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--cr-ink);
  display: flex;
  align-items: center;
  gap: 9px;
}

.cr-nav-logo img { width: 30px; height: 30px; border-radius: 9px; }

.cr-nav-links { display: flex; align-items: center; gap: 28px; }

.cr-nav-links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--cr-muted);
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}

.cr-nav-links a:hover { color: var(--cr-ink); }

.cr-nav-links a.active,
.cr-nav-links a[aria-current="page"] { color: var(--cr-brand-ink); font-weight: 600; }

.cr-nav-links a.active::after,
.cr-nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cr-brand), var(--cr-blue));
}

.cr-hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--cr-line);
  background: var(--cr-white);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.cr-hamburger span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--cr-ink);
  transition: transform .25s ease, opacity .2s ease;
}

.cr-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cr-hamburger.open span:nth-child(2) { opacity: 0; }
.cr-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.cr-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 24px 22px;
  background: var(--cr-white);
  border-bottom: 1px solid var(--cr-line);
}

.cr-mobile-menu.open { display: flex; }

.cr-mobile-menu a {
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--cr-ink-2);
}

.cr-mobile-menu a:hover { background: var(--cr-mist); color: var(--cr-brand-ink); }

/* ── Buttons ────────────────────────────────────────────── */

.cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--cr-radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid var(--cr-line);
  background: var(--cr-white);
  color: var(--cr-ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.cr-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cr-brand-200);
  box-shadow: var(--cr-shadow);
}

.cr-btn-primary {
  background: linear-gradient(100deg, var(--cr-brand), var(--cr-blue));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--cr-shadow-cyan);
}

.cr-btn-primary:hover {
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(0,150,200,.32);
}

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

.cr-hero {
  position: relative;
  padding: 64px 0 132px;
  /* Ends on a tint, not white, so the white wave divider below reads. */
  background: linear-gradient(180deg, #dff3fa 0%, #e9f2f7 52%, #e3edf3 100%);
  overflow: hidden;
  isolation: isolate;
}

/* Soft brand blobs — the reference's peach circles, in cyan */
.cr-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.cr-hero-orb-1 {
  width: 520px; height: 520px;
  top: -170px; right: -130px;
  background: radial-gradient(circle at 32% 32%, rgba(0,209,255,.20), rgba(0,209,255,0) 68%);
}

.cr-hero-orb-2 {
  width: 420px; height: 420px;
  bottom: -140px; left: -120px;
  background: radial-gradient(circle at 62% 42%, rgba(0,102,255,.14), rgba(0,102,255,0) 68%);
}

.cr-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0,209,255,.16);
  pointer-events: none;
  z-index: 0;
}

.cr-hero-ring-1 { width: 300px; height: 300px; top: 14%; left: 6%; }
.cr-hero-ring-2 { width: 190px; height: 190px; bottom: 20%; right: 12%; border-color: rgba(0,102,255,.14); }

.cr-hero-content {
  position: relative;
  z-index: 2;
  /* Narrower than the section so the floating chips at the edges never
     collide with the headline or copy. */
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.cr-name-reveal { display: block; }

.cr-hero h1,
.cr-h1-line1, .cr-h1-line2, .cr-h1-line3 {
  font-size: clamp(2.6rem, 6.4vw, 4.5rem);
  display: block;
}

.cr-h1-line2 { margin-left: 0; }

.cr-hero-sub {
  margin: 24px auto 0;
  max-width: 620px;
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  color: var(--cr-muted);
  line-height: 1.7;
}

.cr-rotate {
  display: inline-block;
  color: var(--cr-brand-ink);
  font-weight: 600;
  animation: crRotateIn .5s ease;
}

@keyframes crRotateIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cr-hero-status {
  max-width: 520px;
  margin: 13px auto 30px;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--cr-muted);
}

.cr-logo-card {
  width: 78px; height: 78px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: var(--cr-white);
  border: 1px solid var(--cr-line);
  box-shadow: var(--cr-shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cr-logo-card img { width: 100%; height: 100%; object-fit: cover; }

.cr-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 17px;
  border-radius: var(--cr-radius-pill);
  background: var(--cr-white);
  border: 1px solid var(--cr-line);
  box-shadow: var(--cr-shadow-sm);
  font-size: .85rem;
  font-weight: 600;
  color: var(--cr-ink-2);
}

.cr-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cr-green);
  box-shadow: 0 0 0 4px rgba(22,163,74,.14);
  animation: crPulse 2s ease-in-out infinite;
}

@keyframes crPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .45; }
}

.cr-hero-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Floating trust chips — the reference's floating UI cards */
.cr-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--cr-radius-pill);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--cr-line);
  box-shadow: var(--cr-shadow);
  font-size: .82rem;
  font-weight: 600;
  color: var(--cr-ink-2);
  white-space: nowrap;
  animation: crFloat 7s ease-in-out infinite;
}

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

.cr-badge-1 { top: 20%;   left: 2.5%;  animation-delay: 0s; }
.cr-badge-2 { top: 55%;   right: 2.5%; animation-delay: 1.4s; }
.cr-badge-3 { bottom: 22%; left: 4%;   animation-delay: 2.6s; }
.cr-badge-4 { top: 30%;   right: 4%;   animation-delay: 3.8s; }

/* Below this the centre column gets close to the edges — hide the chips
   rather than let them overlap the headline. */
@media (max-width: 1180px) {
  .cr-badge { display: none; }
}

.cr-badge-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cr-badge-dot-cyan  { background: var(--cr-brand); box-shadow: 0 0 0 3px rgba(0,209,255,.16); }
.cr-badge-dot-green { background: var(--cr-green); box-shadow: 0 0 0 3px rgba(22,163,74,.14); }

/* Store badges — always visible, no popover.
   The previous click-to-open popover was clipped by .cr-hero's
   overflow:hidden, and its App Store icon used the Apple private-use
   glyph () which only renders on Apple devices. Both are gone. */
.cr-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 15px;
  background: var(--cr-ink);
  color: #fff;
  border: 1px solid var(--cr-ink);
  box-shadow: 0 10px 26px rgba(11,15,25,.20);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cr-store-btn:hover {
  transform: translateY(-2px);
  background: #172130;
  box-shadow: 0 16px 36px rgba(11,15,25,.28);
}

.cr-store-glyph {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #fff;            /* the Apple mark uses currentColor */
}

.cr-store-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.cr-store-txt small {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .72;
}

.cr-store-txt strong {
  font-family: 'League Spartan', 'Syne', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cr-scroll-hint {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--cr-muted-2);
}

.cr-scroll-line {
  width: 1.5px;
  height: 40px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cr-brand), transparent);
  animation: crScroll 2.1s ease-in-out infinite;
}

@keyframes crScroll {
  0%, 100% { opacity: .3; transform: scaleY(.55); transform-origin: top; }
  50%      { opacity: 1;  transform: scaleY(1);   transform-origin: top; }
}

/* Wavy divider — the reference's signature hero-to-body transition */
.cr-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.cr-wave svg { width: 100%; height: 96px; display: block; }

/* ── Marquee ────────────────────────────────────────────── */

.cr-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 17px 0;
  background: var(--cr-ink);
  border-top: 1px solid rgba(255,255,255,.06);
}

.cr-marquee-track {
  display: flex;
  gap: 38px;
  width: max-content;
  animation: crMarquee 26s linear infinite;
}

@keyframes crMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.cr-marquee-item {
  font-family: 'League Spartan', 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}

.cr-marquee-dot { color: var(--cr-brand); }

/* ── Sections ───────────────────────────────────────────── */

.cr-section { padding: 100px 0; position: relative; }

.cr-section-header { text-align: center; max-width: 780px; margin: 0 auto 58px; }

.cr-section-header h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 16px; }

.cr-section-header p { color: var(--cr-muted); font-size: 1.06rem; }

.cr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  margin-bottom: 18px;
  border-radius: var(--cr-radius-pill);
  background: var(--cr-brand-50);
  border: 1px solid var(--cr-brand-100);
  color: var(--cr-brand-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cr-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cr-line), transparent);
  border: 0;
  margin: 0;
}

/* ── Story / steps ──────────────────────────────────────── */

.cr-story { padding: 100px 0; background: var(--cr-page); }

.cr-story-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.cr-story-step {
  flex: 1 1 268px;
  max-width: 340px;
  padding: 34px 28px;
  background: var(--cr-white);
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cr-story-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--cr-shadow-lg);
  border-color: var(--cr-brand-200);
}

.cr-story-step h3 { font-size: 1.28rem; margin: 15px 0 10px; }

.cr-story-step p { color: var(--cr-muted); font-size: .97rem; }

.cr-story-num {
  width: 46px; height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-family: 'League Spartan', 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cr-brand), var(--cr-blue));
  box-shadow: var(--cr-shadow-cyan);
}

.cr-story-arrow {
  align-self: center;
  font-size: 1.4rem;
  color: var(--cr-brand-200);
  flex: 0 0 auto;
}

.cr-story-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 26px;
  margin-bottom: 34px;
  background: var(--cr-mist);
  border: 1px solid var(--cr-line-soft);
  border-radius: var(--cr-radius-pill);
  font-size: .93rem;
  font-weight: 500;
  color: var(--cr-ink-2);
}

.cr-story-dot { color: var(--cr-brand-200); }

.cr-story-protect {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 32px;
  background: linear-gradient(120deg, var(--cr-brand-50), #f4fbfd);
  border: 1px solid var(--cr-brand-100);
  border-radius: var(--cr-radius);
}

.cr-story-protect h3 { font-size: 1.22rem; margin-bottom: 9px; }

.cr-story-protect p { color: var(--cr-muted); font-size: .97rem; }

.cr-story-protect-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--cr-white);
  border: 1px solid var(--cr-brand-100);
  box-shadow: var(--cr-shadow-sm);
  flex-shrink: 0;
}

/* ── Explore grid ───────────────────────────────────────── */

.cr-explore { background: #e7eff4; }

.cr-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
}

.cr-explore-card {
  display: block;
  padding: 30px 26px;
  background: var(--cr-white);
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius);
  box-shadow: var(--cr-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cr-explore-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cr-shadow-lg);
  border-color: var(--cr-brand-200);
}

.cr-explore-card h3 { font-size: 1.2rem; margin: 16px 0 9px; }

.cr-explore-card p { color: var(--cr-muted); font-size: .95rem; margin-bottom: 16px; }

.cr-explore-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.42rem;
  background: var(--cr-brand-50);
  border: 1px solid var(--cr-brand-100);
}

.cr-explore-arrow {
  font-weight: 700;
  font-size: .92rem;
  color: var(--cr-brand-ink);
}

.cr-explore-card:hover .cr-explore-arrow { color: var(--cr-blue); }

/* ── Footer ─────────────────────────────────────────────── */

.cr-footer {
  background: var(--cr-ink);
  color: rgba(255,255,255,.72);
  padding: 74px 0 30px;
}

.cr-footer a { color: rgba(255,255,255,.72); transition: color .16s ease; }
.cr-footer a:hover { color: var(--cr-brand-400); }

.cr-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 52px;
}

.cr-footer-logo {
  font-family: 'League Spartan', 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 10px;
}

.cr-footer-tagline { color: rgba(255,255,255,.55); font-size: .95rem; margin-bottom: 22px; }

.cr-footer-col h4 {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cr-brand-400);
  margin-bottom: 17px;
}

.cr-footer-col a,
.cr-footer-col p { display: block; font-size: .93rem; margin-bottom: 11px; }

.cr-social-btns { display: flex; gap: 10px; }

.cr-social-btn {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.cr-social-btn:hover {
  background: rgba(0,209,255,.16);
  border-color: rgba(0,209,255,.4);
  transform: translateY(-3px);
}

.cr-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: .87rem;
  color: rgba(255,255,255,.45);
}

/* ── Modals ─────────────────────────────────────────────── */

.cr-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11,15,25,.55);
  backdrop-filter: blur(5px);
}

.cr-modal-overlay:target { display: flex; }

.cr-modal-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 42px 40px;
  background: var(--cr-white);
  border-radius: 26px;
  box-shadow: var(--cr-shadow-lg);
}

.cr-modal-box h2 { font-size: 1.9rem; margin-bottom: 6px; }

.cr-modal-box p { color: var(--cr-muted); font-size: .97rem; margin-bottom: 16px; }

.cr-modal-date {
  display: inline-block;
  margin-bottom: 24px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--cr-brand-ink);
}

.cr-modal-section-title {
  font-family: 'League Spartan', 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--cr-ink);
  margin: 24px 0 8px;
}

.cr-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: var(--cr-mist);
  color: var(--cr-muted);
  border: 1px solid var(--cr-line);
  transition: background .16s ease, color .16s ease;
}

.cr-modal-close:hover { background: var(--cr-line); color: var(--cr-ink); }

/* ── Scroll reveal ──────────────────────────────────────── */

.cr-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}

.cr-fade-in.cr-visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .cr-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 780px) {
  .cr-nav-links { display: none; }
  .cr-hamburger { display: flex; }
  .cr-hero { padding: 60px 0 118px; }
  .cr-section, .cr-story { padding: 72px 0; }
  .cr-badge { display: none; }          /* floating chips crowd small screens */
  .cr-hero-ring { display: none; }
  .cr-story-arrow { display: none; }
  .cr-story-protect { flex-direction: column; gap: 15px; }
  .cr-modal-box { padding: 34px 24px; }
  .cr-wave svg { height: 54px; }
}

@media (max-width: 520px) {
  .cr-container, .cr-nav-inner, .cr-hero-content { padding-left: 18px; padding-right: 18px; }
  .cr-footer-grid { grid-template-columns: 1fr; }
  .cr-btn { width: 100%; }
  .cr-hero-cta { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .cr-fade-in { opacity: 1; transform: none; }
}
