/* ===== RESET & DESIGN TOKENS ===== */
/* Style: Exaggerated Minimalism — oversized type, extreme negative space, single accent */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand */
  --red:        #DA2B0E;
  --dark:       #131516;
  --white:      #FFFFFF;
  --warm:       #FAF7F4;
  --gray:       #888888;
  --rule:       #E4DFDB;

  /* Typography — Exaggerated Minimalism */
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --type-hero:    clamp(3.5rem, 9.5vw, 9.5rem);
  --weight-black: 900;
  --tracking:     -0.04em;

  /* Spacing — massive whitespace */
  --space-xl: 8rem;
  --space-lg: 3rem;
  --space-md: 1.5rem;
  --space-sm: 0.75rem;

  /* Shapes */
  --r: 28px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm);
  overflow: hidden;
  padding: 6rem 2rem 5rem;
}

/* ===== GIFT-WRAP SHAPES (CSS only) ===== */

/* Large red gift box — bottom-left */
.shape {
  position: absolute;
  border-radius: var(--r);
  z-index: 0;
  pointer-events: none;
}

.shape--1 {
  width: 520px;
  height: 520px;
  background: var(--red);
  bottom: -175px;
  left: -145px;
  transform: rotate(-10deg);
}

/* Ribbon cross on the big red box */
.shape--1::before,
.shape--1::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
}
.shape--1::before {          /* horizontal ribbon */
  width: 100%;
  height: 6px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.shape--1::after {           /* vertical ribbon */
  width: 6px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* Dark gift box — top-right */
.shape--2 {
  width: 300px;
  height: 300px;
  background: var(--dark);
  top: -90px;
  right: -70px;
  transform: rotate(14deg);
}

/* Ribbon cross on dark box */
.shape--2::before,
.shape--2::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}
.shape--2::before {
  width: 100%;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
}
.shape--2::after {
  width: 4px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

/* Small red accent — mid right */
.shape--3 {
  width: 88px;
  height: 88px;
  background: var(--red);
  bottom: 26%;
  right: 7%;
  transform: rotate(22deg);
  opacity: 0.28;
  border-radius: 14px;
}

/* Outline box — top left */
.shape--4 {
  width: 140px;
  height: 140px;
  border: 3px solid var(--dark);
  opacity: 0.07;
  top: 12%;
  left: 6%;
  transform: rotate(-18deg);
}

/* ===== HERO INNER ===== */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 960px;
}

.hero__logo {
  width: 156px;
  height: auto;
  margin-bottom: 2.75rem;
}

/* Giant headline — Exaggerated Minimalism */
.hero__headline {
  font-family: var(--font-display);
  font-size: var(--type-hero);
  font-weight: var(--weight-black);
  line-height: 0.92;
  letter-spacing: var(--tracking);
  color: var(--dark);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  margin-bottom: 2rem;
}

.hero__headline span { display: block; }

/* Last word gets the brand red */
.hero__accent { color: var(--red); }

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 2.75rem;
  max-width: 400px;
}

/* ===== App Store CTA ===== */
.hero__cta {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero__cta:hover  { transform: scale(1.05); }
.hero__cta:active { transform: scale(0.97); opacity: 0.9; }
.hero__cta:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
  border-radius: 10px;
}

.hero__cta img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.12));
}

/* ===== FOOTER ===== */
.footer {
  padding: 1.75rem 2rem;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--rule);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.18s ease;
}
.footer__link:hover { color: var(--dark); }
.footer__link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__copy {
  font-size: 0.78rem;
  color: #c0bbB8;
}

/* ===== LEGAL PAGES ===== */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 2.25rem;
  cursor: pointer;
  transition: color 0.18s;
}
.legal__back:hover { color: var(--dark); }

.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.legal__date {
  font-size: 0.875rem;
  color: #bbb;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 2.25rem;
  margin-bottom: 0.65rem;
}

.legal p,
.legal ul {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 0.9rem;
}

.legal a { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--red); }

.legal ul { padding-left: 1.5rem; }
.legal li { margin-bottom: 0.4rem; }

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .shape--1 { width: 400px; height: 400px; bottom: -130px; left: -110px; }
  .shape--2 { width: 220px; height: 220px; top: -65px; right: -50px; }
}

@media (max-width: 768px) {
  .hero { padding: 5.5rem 1.5rem 4rem; }

  .shape--1 { width: 280px; height: 280px; bottom: -95px; left: -75px; }
  .shape--2 { width: 150px; height: 150px; top: -45px; right: -35px; }
  .shape--3 { display: none; }
  .shape--4 { display: none; }

  .hero__logo { width: 132px; margin-bottom: 2rem; }
  .hero__sub  { margin-bottom: 2rem; }

  .hero__cta img { height: 48px; }
}

@media (max-width: 480px) {
  .hero__sub br { display: none; }
  .footer__links { gap: 1.25rem; }
}
