/* Dye Stack — coming soon. Dark, filmic, engine-grade. */

:root {
  --bg: #0b0a08;
  --bg-raised: #14110c;
  --ink: #f2ede3;
  --muted: #a89e8a;
  --faint: #6f675a;
  --amber: #f0a832;
  --amber-deep: #c97e1e;
  --amber-dim: #7a4d16;
  --line: rgba(240, 168, 50, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* warm vignette glow behind everything — amber, never purple */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60rem 32rem at 50% -8rem, rgba(240, 168, 50, 0.07), transparent 60%),
    radial-gradient(40rem 24rem at 85% 110%, rgba(201, 126, 30, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* animated film grain */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 50;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-30px, 20px); }
  50% { transform: translate(20px, -25px); }
  75% { transform: translate(-15px, -10px); }
  100% { transform: translate(0, 0); }
}

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

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.mono { font-family: var(--mono); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 10, 8, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.wordmark-sm {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.site-header nav { display: flex; gap: 1.4rem; }

.site-header nav a,
.contact-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: color 0.15s ease;
}

.site-header nav a:hover,
.contact-link:hover { color: var(--amber); }

/* ---------- hero ---------- */
.hero {
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--amber);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero-title {
  font-size: clamp(4.2rem, 15vw, 11rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: var(--muted);
  margin-bottom: 2.4rem;
  max-width: 34rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3rem; }

.btn {
  display: inline-block;
  background: var(--amber);
  color: #14100a;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid var(--amber);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--amber-deep); border-color: var(--amber-deep); transform: translateY(-1px); }

.btn.ghost {
  background: transparent;
  color: var(--amber);
}

.btn.ghost:hover { background: rgba(240, 168, 50, 0.1); color: var(--amber); }

.status {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- sections ---------- */
.section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.lines p {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 44rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.lines p:last-child { border-bottom: 1px solid var(--line); }

.lines em { color: var(--amber); font-style: normal; font-weight: 600; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.stat {
  background: var(--bg-raised);
  padding: 2.2rem 1.5rem;
}

.stat-num {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- pricing ---------- */
.price-card {
  border: 1px solid var(--amber-dim);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(240, 168, 50, 0.06), rgba(240, 168, 50, 0.015));
  padding: 2.5rem;
  max-width: 30rem;
}

.price {
  font-size: clamp(3.4rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1.4rem;
}

.price-points { list-style: none; }

.price-points li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.price-points li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--amber);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ---------- notify ---------- */
#notify-form {
  display: flex;
  gap: 0.7rem;
  max-width: 34rem;
  margin-bottom: 1rem;
}

#notify-email {
  flex: 1;
  min-width: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  font-size: 1rem;
  font-family: var(--sans);
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.15s ease;
}

#notify-email::placeholder { color: var(--faint); }

#notify-email:focus { border-color: var(--amber); }

#notify-email.error { border-color: #e05252; }

.fine {
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0.04em;
}

.form-note {
  font-size: 0.9rem;
  color: var(--amber);
  margin-top: 0.6rem;
  display: none;
}

.form-note.show { display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- footer ---------- */
footer { padding: 2.2rem 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p { color: var(--faint); font-size: 0.85rem; }

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-inner a:hover { color: var(--amber); }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-404 .hero-title { font-size: clamp(3.4rem, 12vw, 8rem); }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .hero { padding: 4.5rem 0 3.5rem; }
  .section { padding: 3.8rem 0; }
  .site-header nav { display: none; }
  .stats { grid-template-columns: 1fr; }
  #notify-form { flex-direction: column; }
  #notify-form .btn { width: 100%; }
  .price-card { padding: 1.8rem; }
}
