:root {
  --sand: #f5f1e6;
  --ink: #1e1e1e;
  --muted: #4a4a4a;
  --ember: #c06014;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  --deep-shadow: 0 24px 80px rgba(30, 30, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.sand {
  background: var(--sand);
}

.white {
  background: #fff;
}

.dark,
.final-cta,
.footer {
  background: var(--ink);
  color: #fff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 30, 30, 0.35);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.logo-wrap,
.footer img,
.final-cta img {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 6px 12px;
  box-shadow: var(--shadow);
}

.logo-wrap img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 18px 60px rgba(192, 96, 20, 0.26);
}

.outline {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.outline.light {
  border-color: #fff;
  color: #fff;
}

.outline.light:hover {
  background: #fff;
  color: var(--ink);
}

.full {
  width: 100%;
}

.menu-toggle,
.menu-close,
.popup-close {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 96px;
  background: var(--ink);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/sandpegco-hero.png") center / cover;
  transform: scale(1.05);
  animation: parallax-drift 13s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 65%, rgba(192, 96, 20, 0.5), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 44%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 96px);
  padding-bottom: 64px;
}

.pill {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 950;
  letter-spacing: 0;
}

h1 {
  max-width: 830px;
  margin-top: 20px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.92;
}

.hero-sub {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(192, 96, 20, 0.34), transparent 70%);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 560px;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(30, 30, 30, 0.74);
  padding: 8px;
  box-shadow: var(--shadow);
}

.countdown div {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 14px 8px;
  text-align: center;
}

.countdown strong {
  display: block;
  font-size: 27px;
}

.countdown span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.hero-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.value-badge,
.badge {
  position: absolute;
  z-index: 3;
  border-radius: 8px;
  background: var(--ember);
  color: #fff;
  padding: 14px 16px;
  font-size: 24px;
  font-weight: 950;
  box-shadow: var(--deep-shadow);
}

.value-badge {
  left: 20px;
  bottom: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fff;
  font-size: 32px;
  animation: bounce-soft 1.6s ease-in-out infinite;
}

.giveaway-grid,
.crew-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.image-stack {
  position: relative;
}

.image-stack img {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--deep-shadow);
}

.badge {
  top: 16px;
  right: 16px;
}

.panel {
  border-radius: 10px;
  background: #fff;
  padding: clamp(26px, 5vw, 44px);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ember);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.panel h2,
.section-head h2,
.crew-grid h2,
.final-cta h2 {
  max-width: 760px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.94;
  text-transform: uppercase;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.prize-grid div {
  border-radius: 8px;
  background: var(--sand);
  padding: 16px;
  font-weight: 850;
}

.signup-form {
  position: relative;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(30, 30, 30, 0.1);
}

.compact {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input {
  width: 100%;
  min-height: 54px;
  margin-bottom: 12px;
  border: 1px solid rgba(30, 30, 30, 0.16);
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

input:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(192, 96, 20, 0.14);
  outline: none;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.problem,
.solution {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 34px;
}

.problem {
  background: #27211b;
}

.solution {
  background: #171717;
}

.problem::after,
.solution::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(7deg, #d8b878 0%, #d8b878 48%, transparent 49%);
}

.problem h3,
.solution h2,
.solution ul,
.problem .eyebrow,
.solution .eyebrow {
  position: relative;
  z-index: 2;
}

.problem h3 {
  max-width: 360px;
  font-size: 40px;
}

.solution ul {
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.solution li {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  font-weight: 850;
}

.failed-peg,
.secure-peg {
  position: absolute;
  z-index: 2;
  width: 14px;
  background: var(--ember);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.failed-peg {
  left: 52%;
  bottom: 90px;
  height: 130px;
  transform: rotate(61deg);
}

.secure-peg {
  right: 28%;
  bottom: 58px;
  height: 168px;
  transform: rotate(9deg);
}

.secure-peg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 12px, rgba(255, 255, 255, 0.5) 12px 15px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-grid article {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--deep-shadow);
}

.product-grid span {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 950;
}

.product-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product-grid h3 {
  padding: 22px 22px 0;
  font-size: 26px;
}

.product-grid p {
  margin: 12px 0 0;
  padding: 0 22px 24px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stats div {
  border-radius: 10px;
  background: var(--sand);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stats strong {
  display: block;
  font-size: clamp(27px, 5vw, 40px);
  font-weight: 950;
}

.stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

blockquote {
  margin: 16px 0 0;
  border: 1px solid rgba(30, 30, 30, 0.1);
  border-radius: 10px;
  background: #fff;
  padding: 18px;
  color: var(--muted);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.social-grid img {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.social-grid img:nth-child(2n) {
  transform: translateY(24px);
}

.final-cta {
  text-align: center;
}

.narrow {
  max-width: 860px;
}

.final-cta img {
  height: 84px;
  width: auto;
  margin: 0 auto;
}

.final-cta p {
  max-width: 680px;
  margin: 22px auto 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.footer {
  padding: 48px 0 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 36px;
}

.footer img {
  height: 68px;
  width: auto;
}

.footer p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 650;
  line-height: 1.55;
}

.footer nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-cta {
  display: none;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(30, 30, 30, 0.62);
  padding: 16px;
  backdrop-filter: blur(7px);
}

.popup-card {
  position: relative;
  width: min(440px, 100%);
  border-radius: 10px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--deep-shadow);
}

.popup-card h2 {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.popup-card p:not(.eyebrow) {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.5;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  background: var(--sand);
  color: var(--ink);
}

.confetti {
  position: fixed;
  left: 50%;
  top: 58%;
  z-index: 90;
  width: 7px;
  height: 10px;
  border-radius: 2px;
  background: var(--ember);
  animation: confetti 900ms ease-out forwards;
}

.confetti:nth-child(3n) {
  background: var(--ink);
}

@keyframes parallax-drift {
  from {
    transform: scale(1.05) translate3d(-0.8%, -0.4%, 0);
  }

  to {
    transform: scale(1.09) translate3d(0.8%, 0.6%, 0);
  }
}

@keyframes bounce-soft {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

@keyframes confetti {
  to {
    opacity: 0;
    transform: translate(var(--x), -150px) rotate(var(--r));
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 24px;
    background: rgba(30, 30, 30, 0.98);
    padding: 32px;
    color: #fff;
    font-size: 30px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
  }

  .hero-grid,
  .giveaway-grid,
  .crew-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
    padding-top: 42px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: block;
    border-top: 1px solid rgba(30, 30, 30, 0.12);
    background: rgba(255, 255, 255, 0.96);
    padding: 12px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 82px;
  }

  .logo-wrap img {
    height: 42px;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 50% 72%, rgba(192, 96, 20, 0.42), transparent 30%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.48) 100%);
  }

  .hero-actions,
  .prize-grid,
  .form-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .countdown strong {
    font-size: 21px;
  }

  .countdown div {
    padding: 11px 4px;
  }

  .panel,
  .problem,
  .solution {
    padding: 24px;
  }

  .footer nav {
    grid-template-columns: 1fr;
  }
}
