:root {
  --orange: #E35D1F;
  --orange-soft: rgba(227, 93, 31, 0.15);
  --black: #1F2328;
  --black-deep: #16191d;
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

/* Fills the areas Safari shows above/below the page (status bar, overscroll) */
html { background-color: var(--black); color-scheme: dark; }

body {
  position: relative;
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--black) radial-gradient(ellipse at top, #262b31 0%, var(--black) 45%, var(--black-deep) 100%);
  color: var(--white);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ---------- Background: horizontal print layers ---------- */
/* Absolute (not fixed): Safari picks its status/toolbar colour from fixed elements at the screen edges */
.layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 13px,
    var(--line) 13px,
    var(--line) 14px
  );
  mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 75%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 75%);
  animation: rise 6s linear infinite;
  z-index: 0;
}
@keyframes rise {
  from { background-position: 0 0; }
  to   { background-position: 0 -14px; }
}

/* ---------- Layout ---------- */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 64px 16px 40px;
  max-width: 760px;
}

/* ---------- Brand ---------- */
.brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.brand, .brand img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none; /* no "Save Image" popup on long-press (iOS) */
}
.brand-icon {
  width: min(130px, 34vw);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(227, 93, 31, 0.18));
}
.brand-logo { width: min(260px, 70vw); height: auto; }
.brand-full {
  width: min(260px, 70vw);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(227, 93, 31, 0.18));
}
.wordmark {
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.three-d {
  color: var(--orange);
  text-shadow: 2px 2px 0 rgba(227,93,31,0.35), 4px 4px 0 rgba(227,93,31,0.15);
  margin: 0 1px;
}

/* ---------- Badge ---------- */
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ---------- Text ---------- */
.headline {
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}
.accent { color: var(--orange); }
.lead-text { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin-bottom: 0; }

/* ---------- Print progress ---------- */
.print-progress { width: 100%; max-width: 440px; }
.print-progress-label {
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: var(--muted); margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.print-progress-track {
  height: 10px; border-radius: 6px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.print-progress-fill {
  height: 100%; width: 0;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, #f0763c 10px 20px);
  background-size: 28px 28px;
  animation: stripes 1s linear infinite;
  transition: width 1.6s cubic-bezier(.2,.8,.2,1);
}
@keyframes stripes { to { background-position: 28px 0; } }

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: 12px; justify-content: center; }
.cd-box {
  min-width: 72px; padding: 12px 8px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,0.03);
  display: flex; flex-direction: column; align-items: center;
}
.cd-box span { font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cd-box small { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Chips ---------- */
.chips {
  list-style: none; padding: 0; margin-bottom: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.chips li {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 0.88rem; color: var(--muted);
}
.chips i { color: var(--orange); margin-right: 4px; }

/* ---------- Socials ---------- */
.socials-title {
  color: var(--muted); font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.social-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: var(--white); text-decoration: none;
  background: rgba(255,255,255,0.03);
  transition: border-color .2s, background .2s, transform .2s;
}
.social-link i { font-size: 1.25rem; }
.social-link .handle { font-size: 0.92rem; }
.social-link:hover {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--white);
  transform: translateY(-2px);
}
.social-link:hover i { color: var(--orange); }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 1;
  padding: 20px 16px 28px;
  color: rgba(255,255,255,0.45); font-size: 0.85rem;
}
.footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer .sep { margin: 0 8px; }

/* ---------- Entrance animation ---------- */
.hero > * { opacity: 0; transform: translateY(14px); animation: in .7s ease forwards; }
.hero > *:nth-child(1) { animation-delay: .05s; }
.hero > *:nth-child(2) { animation-delay: .15s; }
.hero > *:nth-child(3) { animation-delay: .25s; }
.hero > *:nth-child(4) { animation-delay: .35s; }
.hero > *:nth-child(n+5) { animation-delay: .45s; }
@keyframes in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, .layers { animation: none !important; transition: none !important; }
  .hero > * { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  .cd-box { min-width: 62px; }
  .cd-box span { font-size: 1.4rem; }
  .social-link .handle { display: none; }
  .social-link { padding: 12px 14px; }
}
