/* SnugGrubs — refined brand theme */
:root {
  --sg-night: #050d1f;
  --sg-navy: #0a1833;
  --sg-deep: #071226;
  --sg-panel: #102847;
  --sg-blue: #2b7fd4;
  --sg-blue-bright: #4aa3f5;
  --sg-sky: #8ec8f5;
  --sg-sky-soft: #c5e3fa;
  --sg-cream: #f3e6c8;
  --sg-gold: #efc15a;
  --sg-gold-soft: rgba(239, 193, 90, 0.55);
  --sg-white: #f7fbff;
  --sg-muted: #8eabc8;
  --sg-muted-2: #6f8eae;
  --sg-line: rgba(142, 200, 245, 0.14);
  --sg-line-strong: rgba(142, 200, 245, 0.28);
  --sg-glow: 0 10px 40px rgba(42, 130, 210, 0.28);
  --sg-radius: 1.5rem;
  --sg-radius-pill: 999px;
  --sg-font-display: "Fredoka", system-ui, sans-serif;
  --sg-font-body: "Nunito Sans", system-ui, sans-serif;
  --sg-max: 70rem;
  --sg-pad: clamp(1.15rem, 3.5vw, 2rem);
  --sg-discord: #5865f2;
  --sg-discord-bright: #6a78f5;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--sg-font-body);
  background: var(--sg-night);
  color: var(--sg-white);
  line-height: 1.6;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
[v-cloak] { display: none !important; }
.sg-hidden { display: none !important; }

body.sg-menu-open {
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--sg-sky);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ——— Atmosphere ——— */
.sg-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -18%, rgba(58, 140, 220, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 30% at 85% 12%, rgba(239, 193, 90, 0.07), transparent 55%),
    linear-gradient(180deg, #040a18 0%, var(--sg-night) 40%, #061329 100%);
}

.sg-stars {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    radial-gradient(1.2px 1.2px at 10% 16%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 28% 8%, rgba(197,227,250,.6), transparent),
    radial-gradient(1.4px 1.4px at 46% 22%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 88% 28%, rgba(197,227,250,.45), transparent),
    radial-gradient(1px 1px at 16% 48%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 62% 58%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.2px 1.2px at 92% 72%, rgba(197,227,250,.35), transparent);
  animation: sg-twinkle 9s ease-in-out infinite alternate;
}

@keyframes sg-twinkle {
  from { opacity: 0.45; }
  to { opacity: 0.85; }
}

.sg-app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ——— Reveal ——— */
.sg-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.sg-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sg-stars,
  .sg-cta-logo,
  .sg-reveal,
  .sg-vouches,
  .sg-vouches-sky,
  .sg-vouch,
  main > .sg-section::before,
  main > .sg-section::after,
  .sg-hero::after,
  .sg-footer::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .sg-footer::before {
    transform: translateY(-98%);
  }
}

/* ——— Nav ——— */
.sg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.sg-nav.is-scrolled {
  background: rgba(5, 13, 31, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--sg-line);
}

.sg-nav-inner {
  max-width: var(--sg-max);
  margin: 0 auto;
  padding:
    max(0.75rem, env(safe-area-inset-top, 0px))
    max(var(--sg-pad), env(safe-area-inset-right, 0px))
    0.9rem
    max(var(--sg-pad), env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.sg-brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 0 0 2px rgba(197, 227, 250, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.sg-brand-word {
  font-family: var(--sg-font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.sg-brand-word .snug { color: var(--sg-white); }
.sg-brand-word .grubs { color: var(--sg-sky); }

.sg-nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.sg-nav-links a {
  color: var(--sg-muted);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--sg-radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}

.sg-nav-links a:hover {
  color: var(--sg-white);
  background: rgba(142, 200, 245, 0.08);
}

.sg-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sg-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--sg-line);
  border-radius: 0.9rem;
  background: rgba(16, 40, 71, 0.55);
  color: var(--sg-sky-soft);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sg-menu-btn:hover {
  background: rgba(142, 200, 245, 0.12);
  border-color: var(--sg-line-strong);
  color: var(--sg-white);
}

.sg-mobile-menu {
  display: none;
  border-top: 1px solid var(--sg-line);
  background: rgba(5, 13, 31, 0.96);
  padding: 0.6rem max(var(--sg-pad), env(safe-area-inset-right, 0px)) max(1.1rem, env(safe-area-inset-bottom, 0px)) max(var(--sg-pad), env(safe-area-inset-left, 0px));
  max-height: min(70vh, calc(100svh - 4.5rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sg-mobile-menu.is-open { display: block; }

.sg-mobile-menu a {
  display: block;
  padding: 0.9rem 0.85rem;
  color: var(--sg-muted);
  font-weight: 700;
  border-radius: 0.9rem;
}

.sg-mobile-menu a:hover {
  color: var(--sg-white);
  background: rgba(142, 200, 245, 0.08);
}

@media (min-width: 860px) {
  .sg-nav-links { display: flex; }
  .sg-menu-btn { display: none; }
  .sg-mobile-menu { display: none !important; }
}

/* ——— Buttons ——— */
.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--sg-radius-pill);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sg-btn:hover { transform: translateY(-1px); }
.sg-btn:active { transform: translateY(0); }

.sg-btn-primary {
  background: linear-gradient(180deg, #5aaff8 0%, var(--sg-blue) 100%);
  color: #04101f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    var(--sg-glow);
}

.sg-btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 12px 36px rgba(74, 163, 245, 0.4);
}

.sg-btn-discord {
  background: linear-gradient(180deg, var(--sg-discord-bright) 0%, var(--sg-discord) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 32px rgba(88, 101, 242, 0.38);
}

.sg-btn-discord:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 36px rgba(88, 101, 242, 0.5);
}

.sg-btn-discord svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
}

.sg-btn-ghost {
  background: rgba(8, 20, 42, 0.45);
  border-color: var(--sg-line-strong);
  color: var(--sg-sky-soft);
  backdrop-filter: blur(8px);
}

.sg-btn-ghost:hover {
  background: rgba(142, 200, 245, 0.1);
  border-color: rgba(142, 200, 245, 0.45);
  color: var(--sg-white);
}

.sg-btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
  min-height: 3rem;
}

.sg-btn-nav {
  padding: 0.62rem 1.15rem;
  font-size: 0.88rem;
  min-height: 2.5rem;
}

/* ——— Hero ——— */
.sg-hero {
  position: relative;
  min-height: min(100svh, 56rem);
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 0;
  padding-bottom: clamp(1.75rem, 4.5vw, 3rem);
  overflow: hidden;
}

.sg-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sg-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.08);
  filter: blur(5px);
}

.sg-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 13, 31, 0.55) 0%,
      rgba(5, 13, 31, 0.12) 28%,
      rgba(5, 13, 31, 0.08) 48%,
      rgba(5, 13, 31, 0.72) 78%,
      var(--sg-night) 100%);
}

@media (max-width: 859px) {
  .sg-hero-media,
  .sg-hero-shade {
    display: none;
  }

  .sg-hero {
    min-height: auto;
  }

  .sg-hero-content {
    min-height: auto;
    justify-content: center;
    padding-top: 6.25rem;
    padding-bottom: 2rem;
  }
}

.sg-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--sg-max);
  margin: 0 auto;
  padding: 6.5rem var(--sg-pad) 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  min-height: min(100svh, 56rem);
}

.sg-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--sg-radius-pill);
  border: 1px solid var(--sg-gold-soft);
  background: rgba(5, 13, 31, 0.45);
  color: var(--sg-cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.sg-hero-eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sg-gold);
  box-shadow: 0 0 10px var(--sg-gold);
}

.sg-hero-brand {
  font-family: var(--sg-font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 12vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 0.7rem;
  max-width: 100%;
  text-shadow:
    0 1px 0 #071226,
    0 0 28px rgba(74, 163, 245, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.45);
}

.sg-hero-brand .snug { color: var(--sg-white); }
.sg-hero-brand .grubs {
  color: var(--sg-sky);
  text-shadow:
    0 1px 0 #071226,
    0 0 32px rgba(142, 200, 245, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.45);
}

.sg-hero-brand .sg-hero-tag {
  display: inline-block;
  margin-left: 0.15em;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: middle;
  color: #ffd9d1;
  text-shadow: 0 1px 0 #071226, 0 10px 28px rgba(0, 0, 0, 0.35);
}

.sg-hero-title {
  margin: 0 0 0.55rem;
  font-family: var(--sg-font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 2.6vw, 1.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sg-sky-soft);
}

.sg-hero-copy {
  margin: 0 0 1.6rem;
  max-width: 22rem;
  color: rgba(247, 251, 255, 0.88);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sg-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
}

@media (max-width: 420px) {
  .sg-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .sg-hero-ctas .sg-btn {
    width: 100%;
  }

  .sg-hero-content {
    padding-top: 5.75rem;
    padding-bottom: 2.25rem;
  }
}

.sg-hero-scroll {
  margin-top: 1.75rem;
  color: var(--sg-muted-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

@media (min-width: 960px) {
  .sg-hero-media img { object-position: center 42%; }

  .sg-hero-shade {
    background:
      linear-gradient(105deg,
        rgba(5, 13, 31, 0.88) 0%,
        rgba(5, 13, 31, 0.55) 34%,
        rgba(5, 13, 31, 0.12) 58%,
        rgba(5, 13, 31, 0.35) 100%),
      linear-gradient(180deg,
        rgba(5, 13, 31, 0.35) 0%,
        transparent 35%,
        rgba(5, 13, 31, 0.78) 100%);
  }

  .sg-hero-content {
    align-items: flex-start;
    text-align: left;
    padding: 7rem var(--sg-pad) 4.5rem;
    max-width: var(--sg-max);
  }

  .sg-hero-copy { max-width: 24rem; }
  .sg-hero-ctas { justify-content: flex-start; }
}

/* ——— Sections ——— */
.sg-section {
  position: relative;
  isolation: isolate;
  padding:
    calc(clamp(3.75rem, 8vw, 6.5rem) + clamp(1.75rem, 4.5vw, 3rem))
    var(--sg-pad)
    calc(clamp(3.75rem, 8vw, 6.5rem) + clamp(1.75rem, 4.5vw, 3rem));
}

.sg-section--tight {
  padding-top: calc(clamp(2.5rem, 5vw, 3.5rem) + clamp(1.5rem, 3.5vw, 2.25rem));
}

.sg-section--band {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(43, 127, 212, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(10, 24, 51, 0.55), rgba(5, 13, 31, 0));
}

/* Cloudy top edge — section bg fills in from above */
main > .sg-section::before,
.sg-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(2.25rem, 5.5vw, 4rem);
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

main > .sg-section::before {
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23050d1f' d='M0,34 C72,72 144,6 228,40 C312,74 396,8 480,38 C564,70 648,10 732,36 C816,68 900,4 984,34 C1068,66 1152,12 1236,38 C1320,72 1380,18 1440,42 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

main > .sg-section--band::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230a1833' d='M0,34 C72,72 144,6 228,40 C312,74 396,8 480,38 C564,70 648,10 732,36 C816,68 900,4 984,34 C1068,66 1152,12 1236,38 C1320,72 1380,18 1440,42 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* Cloudy bottom edge — next section color bleeds up */
main > .sg-section:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(2.25rem, 5.5vw, 4rem);
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23050d1f' d='M0,46 C72,8 144,74 228,40 C312,6 396,70 480,42 C564,10 648,68 732,44 C816,12 900,66 984,38 C1068,8 1152,64 1236,42 C1320,14 1380,58 1440,38 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
}

main > .sg-section--band:not(:last-child)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23050d1f' d='M0,46 C72,8 144,74 228,40 C312,6 396,70 480,42 C564,10 648,68 732,44 C816,12 900,66 984,38 C1068,8 1152,64 1236,42 C1320,14 1380,58 1440,38 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
}

main > .sg-section:not(.sg-section--band):has(+ .sg-section--band)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230a1833' d='M0,46 C72,8 144,74 228,40 C312,6 396,70 480,42 C564,10 648,68 732,44 C816,12 900,66 984,38 C1068,8 1152,64 1236,42 C1320,14 1380,58 1440,38 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
}

/* Hero → first section cloud handoff */
.sg-hero::after {
  bottom: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23050d1f' d='M0,46 C72,8 144,74 228,40 C312,6 396,70 480,42 C564,10 648,68 732,44 C816,12 900,66 984,38 C1068,8 1152,64 1236,42 C1320,14 1380,58 1440,38 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
}

main > .sg-section:first-of-type::before {
  display: none;
}

.sg-section-inner {
  position: relative;
  z-index: 1;
  max-width: var(--sg-max);
  margin: 0 auto;
}

.sg-section-head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2.75rem;
}

.sg-section-head--left {
  text-align: left;
  margin-left: 0;
  max-width: 28rem;
}

.sg-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sg-gold);
}

.sg-kicker:empty {
  display: none;
}

.sg-section-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--sg-font-display);
  font-size: clamp(1.9rem, 4.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.sg-section-head p {
  margin: 0;
  color: var(--sg-muted);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ——— Features ——— */
.sg-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  position: relative;
}

.sg-feature {
  text-align: center;
  padding: 0.35rem 0.25rem;
}

.sg-feature-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.95rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sg-sky-soft);
  background:
    radial-gradient(circle at 32% 28%, rgba(197, 227, 250, 0.22), transparent 52%),
    linear-gradient(160deg, #163457, #0d223d);
  border: 1px solid var(--sg-line-strong);
  box-shadow:
    0 0 0 6px rgba(16, 40, 71, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.25);
}

.sg-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.sg-feature h3 {
  margin: 0 0 0.3rem;
  font-family: var(--sg-font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sg-feature p {
  margin: 0 auto;
  max-width: 13.5rem;
  color: var(--sg-muted-2);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 479px) {
  .sg-features {
    gap: 1.25rem 0.65rem;
  }

  .sg-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .sg-feature h3 {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }

  .sg-feature p {
    font-size: 0.8rem;
    max-width: 11rem;
  }
}

@media (min-width: 800px) {
  .sg-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .sg-features::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sg-gold-soft), transparent);
    pointer-events: none;
    z-index: 0;
  }

  .sg-feature { position: relative; z-index: 1; }

  .sg-feature-icon {
    width: 4.4rem;
    height: 4.4rem;
  }
}

/* ——— Steps ——— */
.sg-steps {
  display: grid;
  gap: 0;
  counter-reset: none;
}

.sg-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--sg-line);
}

.sg-step:last-child { border-bottom: 0; }

.sg-step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--sg-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #061226;
  background: linear-gradient(180deg, var(--sg-sky-soft), var(--sg-blue-bright));
  box-shadow: 0 8px 22px rgba(74, 163, 245, 0.28);
}

.sg-step h3 {
  margin: 0.15rem 0 0.4rem;
  font-family: var(--sg-font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.sg-step p {
  margin: 0;
  color: var(--sg-muted);
  font-weight: 600;
  max-width: 28rem;
}

.sg-step a {
  color: var(--sg-sky);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

.sg-step a:hover {
  color: var(--sg-sky-soft);
}

.sg-step small {
  display: block;
  margin-top: 0.35rem;
  color: var(--sg-muted-2);
  font-size: 0.88em;
  font-weight: 600;
}

@media (min-width: 860px) {
  .sg-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
  }

  .sg-steps--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 48rem;
    margin-inline: auto;
  }

  .sg-steps--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.25rem;
  }

  .sg-step {
    grid-template-columns: 1fr;
    border-bottom: 0;
    padding: 0;
    position: relative;
  }

  .sg-steps:not(.sg-steps--6) .sg-step + .sg-step::before,
  .sg-steps--6 .sg-step:nth-child(3n + 2)::before,
  .sg-steps--6 .sg-step:nth-child(3n + 3)::before {
    content: "";
    position: absolute;
    left: -1.15rem;
    top: 1.15rem;
    width: 1px;
    height: 55%;
    background: linear-gradient(180deg, var(--sg-line-strong), transparent);
  }

  .sg-steps--6 .sg-step:nth-child(n + 4) {
    padding-top: 0.35rem;
  }
}

/* ——— Services (home) ——— */
.sg-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: stretch;
  justify-content: center;
}

/* 1 service — keep it focused, not stretched edge-to-edge */
.sg-services:has(> :only-child) {
  max-width: 26rem;
  margin-inline: auto;
}

/* 2 services — balanced pair (skipped when more exist) */
.sg-services:has(> :nth-child(2):last-child) {
  max-width: 52rem;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 3+ services — prefer up to 3 columns on wide screens */
.sg-services:has(> :nth-child(3)) {
  max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
}

@media (max-width: 639px) {
  .sg-services:has(> :nth-child(2):last-child) {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.sg-service {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--sg-radius) + 0.25rem);
  border: 1px solid var(--sg-line);
  background: linear-gradient(180deg, rgba(16, 40, 71, 0.75), rgba(10, 24, 51, 0.55));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
}

.sg-service:hover {
  transform: translateY(-4px);
  border-color: var(--sg-line-strong);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.sg-service:focus-visible {
  outline: 2px solid var(--sg-sky);
  outline-offset: 3px;
}

.sg-service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sg-panel);
}

.sg-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sg-service:hover .sg-service-media img {
  transform: scale(1.04);
}

.sg-service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 13, 31, 0.6));
  pointer-events: none;
}

.sg-service-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
}

.sg-service-body .sg-kicker {
  margin-bottom: 0.1rem;
}

.sg-service-body h3 {
  margin: 0;
  font-family: var(--sg-font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
}

.sg-service-body p {
  margin: 0 0 0.75rem;
  color: var(--sg-muted);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}

.sg-service-cta {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--sg-sky);
  letter-spacing: 0.01em;
}

.sg-service:hover .sg-service-cta {
  color: var(--sg-sky-soft);
}

/* ——— Split ——— */
.sg-split {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.sg-split-media {
  position: relative;
  border-radius: calc(var(--sg-radius) + 0.25rem);
  overflow: hidden;
  isolation: isolate;
  min-height: 16rem;
  box-shadow:
    0 0 0 1px var(--sg-line),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

.sg-split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 13, 31, 0.45));
  pointer-events: none;
}

.sg-split-media img {
  width: 100%;
  height: min(24rem, 58vw);
  object-fit: cover;
}

.sg-split-copy .sg-kicker { margin-bottom: 0.85rem; }

.sg-split-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--sg-font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
}

.sg-split-copy p {
  margin: 0 0 1.6rem;
  color: var(--sg-muted);
  font-weight: 600;
  font-size: 1.08rem;
  max-width: 30rem;
}

@media (min-width: 900px) {
  .sg-split {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
  }

  .sg-split-media img { height: 26rem; }
}

/* ——— Vouches — floating cloud GFX ——— */
#community.sg-section--band {
  overflow: visible;
  background: transparent;
}

/* Drop the hard top/bottom cloud frames on this section */
#community.sg-section--band::before,
#community.sg-section--band::after,
main > .sg-section:has(+ #community)::after {
  display: none !important;
}

#community .sg-section-inner {
  position: relative;
  z-index: 2;
}

.sg-vouches-wrap {
  position: relative;
  margin-top: 0.5rem;
  padding-block: clamp(1.25rem, 3.5vw, 2.5rem);
  overflow: hidden;
  background: transparent;
  /* Soft dissolve at edges — fades cards out, no solid black bars */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

.sg-vouches-wrap::before,
.sg-vouches-wrap::after {
  content: none;
  display: none;
}

.sg-vouches-sky {
  display: none !important;
}

@media (max-width: 640px) {
  .sg-vouches-wrap {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
  }
}

.sg-vouches {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  gap: clamp(0.85rem, 2.2vw, 1.35rem);
  padding: 1.1rem 0 1.6rem;
  animation: sg-vouch-scroll 58s linear infinite;
  will-change: transform;
}

.sg-vouches-wrap:hover .sg-vouches,
.sg-vouches-wrap.is-paused .sg-vouches {
  animation-play-state: paused;
}

@keyframes sg-vouch-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes sg-cloud-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.35deg); }
}

@keyframes sg-cloud-float-alt {
  0%, 100% { transform: translateY(-4px) rotate(-0.25deg); }
  50% { transform: translateY(8px) rotate(0.2deg); }
}

.sg-vouch {
  --sg-cloud-r: 48% 52% 45% 55% / 55% 42% 58% 45%;
  position: relative;
  flex: 0 0 auto;
  width: min(17rem, 78vw);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(197, 227, 250, 0.22);
  border-radius: 2.15rem 2.55rem 2.2rem 2.4rem;
  background:
    radial-gradient(ellipse 90% 70% at 18% 8%, rgba(255, 255, 255, 0.2), transparent 48%),
    radial-gradient(ellipse 70% 55% at 88% 92%, rgba(74, 163, 245, 0.14), transparent 52%),
    linear-gradient(165deg, rgba(28, 58, 98, 0.42), rgba(12, 28, 56, 0.28));
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(5, 13, 31, 0.25),
    0 18px 42px rgba(3, 10, 24, 0.38),
    0 0 0 1px rgba(142, 200, 245, 0.06);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  animation: sg-cloud-float 5.8s ease-in-out infinite;
}

.sg-vouch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 20% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(142, 200, 245, 0.12), transparent 45%);
  opacity: 0.9;
}

.sg-vouch::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% -8%;
  height: 42%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(142, 200, 245, 0.16), transparent 70%);
  filter: blur(8px);
}

.sg-vouch > * {
  position: relative;
  z-index: 1;
}

.sg-vouch:nth-child(3n) {
  animation-name: sg-cloud-float-alt;
  animation-duration: 6.6s;
  border-radius: 2.5rem 2.1rem 2.55rem 2.15rem;
}

.sg-vouch:nth-child(3n + 1) { animation-delay: 0s; }
.sg-vouch:nth-child(3n + 2) { animation-delay: -1.8s; }
.sg-vouch:nth-child(3n + 3) { animation-delay: -3.4s; }

.sg-vouch:hover {
  border-color: rgba(197, 227, 250, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 26px 56px rgba(3, 10, 24, 0.48),
    0 0 36px rgba(74, 163, 245, 0.18);
  transform: translateY(-6px) scale(1.02);
  animation-play-state: paused;
  z-index: 2;
}

.sg-vouch img.proof {
  width: calc(100% - 1.1rem);
  height: clamp(8.5rem, 28vw, 10.25rem);
  margin: 0.55rem auto 0;
  object-fit: cover;
  border-radius: 1.55rem 1.85rem 1.45rem 1.7rem;
  filter: saturate(1.08) contrast(1.02);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sg-vouch-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.95rem 1.1rem 1.15rem;
}

.sg-vouch-body p {
  margin: 0 0 0.85rem;
  color: rgba(247, 251, 255, 0.94);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sg-mention {
  display: inline;
  background: linear-gradient(180deg, #6a78f5, var(--sg-discord));
  color: #fff;
  border-radius: 999px;
  padding: 0.12em 0.5em;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
}

/* Text-only quote reviews */
.sg-vouch--quote,
.sg-vouch:not(:has(img.proof)) {
  min-height: 15rem;
  background:
    radial-gradient(ellipse 85% 60% at 12% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 55% at 90% 100%, rgba(239, 193, 90, 0.08), transparent 55%),
    linear-gradient(165deg, rgba(32, 64, 108, 0.4), rgba(14, 32, 62, 0.28));
}

.sg-vouch--quote .sg-vouch-body,
.sg-vouch:not(:has(img.proof)) .sg-vouch-body {
  flex: 1;
  padding: 1.2rem 1.2rem 1.25rem;
}

.sg-vouch--quote .sg-vouch-quote,
.sg-vouch:not(:has(img.proof)) .sg-vouch-quote,
.sg-vouch--quote .sg-vouch-body > p,
.sg-vouch:not(:has(img.proof)) .sg-vouch-body > p {
  position: relative;
  flex: 1;
  margin: 0 0 1.1rem;
  padding-top: 0.2rem;
  font-family: var(--sg-font-display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--sg-sky-soft);
}

.sg-vouch--quote .sg-vouch-quote::before,
.sg-vouch:not(:has(img.proof)) .sg-vouch-quote::before,
.sg-vouch--quote .sg-vouch-body > p::before,
.sg-vouch:not(:has(img.proof)) .sg-vouch-body > p::before {
  content: "“";
  display: block;
  margin-bottom: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.55rem;
  line-height: 0.7;
  color: var(--sg-gold);
  text-shadow: 0 0 18px rgba(239, 193, 90, 0.35);
  opacity: 0.95;
}

.sg-vouch--quote .sg-vouch-user,
.sg-vouch:not(:has(img.proof)) .sg-vouch-user {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(142, 200, 245, 0.16);
}

.sg-vouch-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.sg-vouch-user img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(197, 227, 250, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.sg-vouch-user strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sg-vouch-user span {
  font-size: 0.72rem;
  color: var(--sg-muted-2);
  font-weight: 600;
}

@media (min-width: 700px) {
  .sg-vouch {
    width: 15.75rem;
  }
}

@media (min-width: 1100px) {
  .sg-vouch {
    width: 15.25rem;
  }

  .sg-vouch img.proof {
    height: 10.5rem;
  }
}

@media (max-width: 640px) {
  .sg-vouches {
    gap: 0.85rem;
    animation-duration: 48s;
  }

  .sg-vouch {
    width: min(15.5rem, 82vw);
    border-radius: 1.9rem 2.2rem 1.95rem 2.1rem;
  }

  .sg-vouch img.proof {
    height: 8.25rem;
    border-radius: 1.35rem 1.55rem 1.3rem 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sg-vouches-sky {
    animation: none;
  }

  .sg-vouch {
    animation: none !important;
  }

  .sg-vouches {
    animation: none;
    overflow-x: auto;
    width: 100%;
    max-width: var(--sg-max);
    margin: 0 auto;
    padding-inline: var(--sg-pad);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .sg-vouch {
    scroll-snap-align: start;
  }
}

/* ——— CTA ——— */
.sg-cta {
  text-align: center;
  padding: clamp(2.75rem, 6vw, 4.25rem) 1.25rem;
  border-radius: calc(var(--sg-radius) + 0.35rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% -10%, rgba(74, 163, 245, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 40% at 80% 90%, rgba(239, 193, 90, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(16, 40, 71, 0.85), rgba(8, 20, 42, 0.9));
  border: 1px solid var(--sg-line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.sg-cta-logo {
  width: min(9.5rem, 42vw);
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4));
  animation: sg-float 6s ease-in-out infinite;
}

@keyframes sg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.sg-cta h2 {
  margin: 0 0 0.65rem;
  font-family: var(--sg-font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
}

.sg-cta p {
  margin: 0 auto 1.6rem;
  max-width: 28rem;
  color: var(--sg-muted);
  font-weight: 600;
}

.sg-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.sg-cta-band {
  position: relative;
  border-radius: calc(var(--sg-radius) + 0.35rem);
  overflow: hidden;
  min-height: clamp(18rem, 52vw, 26rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.8rem) var(--sg-pad);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.sg-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 13, 31, 0.55), rgba(5, 13, 31, 0.78)),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(110, 28, 28, 0.28), transparent 65%);
  pointer-events: none;
}

.sg-cta-band .sg-cta {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  background:
    radial-gradient(ellipse 80% 70% at 50% -10%, rgba(74, 163, 245, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(16, 40, 71, 0.88), rgba(8, 20, 42, 0.92));
}

.sg-cta-band .sg-cta-logo {
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
}

/* ——— Footer ——— */
.sg-footer {
  position: relative;
  border-top: none;
  padding:
    calc(2.25rem + clamp(1.25rem, 3vw, 2rem))
    max(var(--sg-pad), env(safe-area-inset-right, 0px))
    max(2.75rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)))
    max(var(--sg-pad), env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.sg-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(2rem, 4.5vw, 3.25rem);
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23050d1f' d='M0,34 C72,72 144,6 228,40 C312,74 396,8 480,38 C564,70 648,10 732,36 C816,68 900,4 984,34 C1068,66 1152,12 1236,38 C1320,72 1380,18 1440,42 L1440,0 L0,0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: translateY(-98%);
  opacity: 0.85;
}

.sg-footer-inner {
  max-width: var(--sg-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  text-align: center;
}

.sg-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  justify-content: center;
}

.sg-footer-links a {
  color: var(--sg-muted-2);
  font-weight: 700;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.sg-footer-links a:hover { color: var(--sg-sky); }

.sg-footer-copy {
  margin: 0;
  color: var(--sg-muted-2);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (min-width: 760px) {
  .sg-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.sg-chipotle .sg-hero-brand .grubs {
  color: #9a2e18;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 28px rgba(255, 220, 190, 0.28),
    0 14px 36px rgba(0, 0, 0, 0.4);
}

/* ——— Chipotle ——— */
.sg-chipotle .sg-hero-media img {
  object-position: center 42%;
  filter: saturate(1.08) contrast(1.02);
}

.sg-chipotle .sg-hero-shade {
  background:
    linear-gradient(180deg, rgba(5,13,31,.5) 0%, rgba(5,13,31,.2) 40%, rgba(5,13,31,.88) 100%),
    linear-gradient(90deg, rgba(110, 28, 28, 0.28) 0%, transparent 50%);
}

.sg-cta-band--chipotle {
  background-image: url("https://stuyvesantplaza.com/wp-content/uploads/sites/17/2024/02/SP_Chipotle.jpg");
}

/* ——— Store catalog ——— */
.sg-page-hero {
  position: relative;
  padding: 7.5rem var(--sg-pad) 2.5rem;
  text-align: center;
}

.sg-page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--sg-font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.sg-page-hero p {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--sg-muted);
  font-weight: 600;
  font-size: 1.05rem;
}

.sg-store-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.sg-store-search {
  width: min(100%, 28rem);
  padding: 0.85rem 1.15rem;
  border-radius: var(--sg-radius-pill);
  border: 1px solid var(--sg-line-strong);
  background: rgba(8, 20, 42, 0.65);
  color: var(--sg-white);
  outline: none;
  font-weight: 600;
}

.sg-store-search::placeholder {
  color: var(--sg-muted-2);
}

.sg-store-search:focus {
  border-color: var(--sg-sky);
  box-shadow: 0 0 0 3px rgba(142, 200, 245, 0.15);
}

.sg-store-count {
  color: var(--sg-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.sg-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .sg-stores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 800px) {
  .sg-stores {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .sg-stores {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.sg-store {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 0.75rem 1rem;
  text-align: center;
  border-radius: var(--sg-radius);
  border: 1px solid var(--sg-line);
  background: linear-gradient(180deg, rgba(16, 40, 71, 0.72), rgba(10, 24, 51, 0.55));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
  cursor: pointer;
  user-select: none;
}

.sg-store:hover {
  transform: translateY(-3px);
  border-color: var(--sg-line-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.sg-store.is-selected {
  border-color: rgba(74, 163, 245, 0.65);
  box-shadow:
    0 0 0 1px rgba(74, 163, 245, 0.35),
    0 16px 36px rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, rgba(28, 64, 110, 0.9), rgba(12, 32, 64, 0.75));
}

.sg-store-check {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--sg-blue-bright);
  cursor: pointer;
  z-index: 1;
}

.sg-store-logo {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1rem;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.sg-store-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.sg-store-fallback {
  display: none;
  font-family: var(--sg-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--sg-navy);
}

.sg-store-logo.is-fallback img {
  display: none;
}

.sg-store-logo.is-fallback .sg-store-fallback {
  display: block;
}

.sg-store h3 {
  margin: 0;
  font-family: var(--sg-font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.sg-store[hidden] {
  display: none !important;
}

/* Sticky pick bar — shows when stores section is in view */
.sg-pick-bar {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding-inline: var(--sg-pad);
  width: min(100%, 24rem);
  display: flex;
  justify-content: center;
}

.sg-pick-bar.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sg-pick-btn {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  padding: 0.95rem 1.6rem;
  border: none;
  border-radius: var(--sg-radius-pill);
  font-family: var(--sg-font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #04101f;
  background: linear-gradient(180deg, #5aaff8 0%, var(--sg-blue) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 40px rgba(42, 130, 210, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.sg-pick-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 16px 44px rgba(74, 163, 245, 0.55);
}

.sg-pick-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.35);
  box-shadow: none;
}

.sg-pick-btn .sg-pick-count {
  display: inline-block;
  margin-left: 0.35rem;
  font-weight: 800;
}

body.has-pick-bar {
  padding-bottom: 5.5rem;
}

.sg-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Legal / Terms ——— */
.sg-legal-page main {
  padding-top: clamp(5.5rem, 12vw, 7rem);
}

.sg-legal-updated {
  margin-top: 0.35rem;
  color: var(--sg-muted-2);
  font-size: 0.88rem;
  font-weight: 600;
}

.sg-legal {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.sg-legal-block {
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: var(--sg-radius);
  border: 1px solid var(--sg-line);
  background:
    radial-gradient(ellipse 80% 60% at 50% -30%, rgba(74, 163, 245, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(16, 40, 71, 0.72), rgba(8, 20, 42, 0.82));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.sg-legal-block--highlight {
  border-color: rgba(239, 193, 90, 0.35);
  background:
    radial-gradient(ellipse 80% 60% at 50% -30%, rgba(239, 193, 90, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(16, 40, 71, 0.78), rgba(8, 20, 42, 0.86));
}

.sg-legal-block h2 {
  margin: 0 0 0.85rem;
  font-family: var(--sg-font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 600;
  color: var(--sg-sky-soft);
  line-height: 1.25;
}

.sg-legal-block p,
.sg-legal-block li {
  color: var(--sg-muted);
  font-weight: 600;
  line-height: 1.65;
}

.sg-legal-block p {
  margin: 0 0 0.85rem;
}

.sg-legal-block p:last-child {
  margin-bottom: 0;
}

.sg-legal-block strong {
  color: var(--sg-white);
  font-weight: 800;
}

.sg-legal-block a {
  color: var(--sg-sky);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

.sg-legal-block a:hover {
  color: var(--sg-sky-soft);
}

.sg-legal-block ul,
.sg-legal-block ol {
  margin: 0;
  padding-left: 1.35rem;
}

.sg-legal-block li + li {
  margin-top: 0.55rem;
}

.sg-legal-block li::marker {
  color: var(--sg-sky);
  font-weight: 800;
}

.sg-footer-links a[aria-current="page"] {
  color: var(--sg-sky);
}
