/* $FAUCET — Black & White Theme */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #6b6b6b;
  --line: #000000;
  --invert-bg: #000000;
  --invert-fg: #ffffff;
  --accent: #000000;
  --soft: #f4f4f4;
  --radius: 0px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* Subtle paper grain */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 0;
  mix-blend-mode: multiply;
}

main, .nav, .footer { position: relative; z-index: 1; }

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 2px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}
.logo-text { font-size: 18px; }
.nav-links { display: flex; gap: 28px; font-family: var(--mono); font-size: 13px; }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-bottom: 1px solid var(--fg); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--fg);
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: transform 80ms ease, background 120ms ease, color 120ms ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--fg); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--bg); color: var(--fg); }
.btn-secondary { background: var(--bg); color: var(--fg); }
.btn-ghost { padding: 10px 16px; font-size: 12px; }
.btn-block { width: 100%; padding: 16px; font-size: 14px; }

/* HERO */
.hero {
  padding: 80px 40px 100px;
  border-bottom: 2px solid var(--line);
  background: var(--bg);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--fg);
}
.eyebrow.light { color: var(--invert-fg); }
h1 {
  font-family: var(--sans);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  font-weight: 800;
}
h1 .muted { color: var(--muted); }
h1 .invert {
  background: var(--fg);
  color: var(--bg);
  padding: 0 0.15em;
  display: inline-block;
}
.lede {
  font-size: 18px;
  max-width: 540px;
  color: var(--fg);
  margin: 0 0 32px;
}
.lede.light { color: var(--invert-fg); opacity: 0.9; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.stats {
  display: flex;
  gap: 0;
  border: 2px solid var(--fg);
  max-width: 540px;
}
.stat {
  flex: 1;
  padding: 18px 20px;
  border-right: 2px solid var(--fg);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* HERO LOGO STAGE */
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.logo-hero {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border: 3px solid #000;
  filter: drop-shadow(10px 10px 0 rgba(0,0,0,0.12));
  background: #fff;
}
.drip-stack {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 90px;
  pointer-events: none;
}
.drop {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 18px;
  margin-left: -7px;
  background: #000;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform-origin: center;
  opacity: 0;
  animation: drop 1.6s infinite ease-in;
}
.drop.d1 { animation-delay: 0s; }
.drop.d2 { animation-delay: 0.55s; }
.drop.d3 { animation-delay: 1.1s; }
@keyframes drop {
  0%   { opacity: 0; transform: translateY(-10px) scale(0.6); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(80px) scale(1); }
}
.puddle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  opacity: 0.85;
  animation: puddle 1.6s infinite ease-in-out;
}
@keyframes puddle {
  0%, 100% { width: 130px; opacity: 0.75; }
  50%      { width: 160px; opacity: 0.95; }
}

/* SECTIONS */
.section {
  padding: 100px 40px;
  border-bottom: 2px solid var(--line);
  max-width: 100%;
}
.section h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section h2.light { color: var(--invert-fg); }
.section .lede {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* STEPS */
.steps {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--fg);
}
.step {
  padding: 32px 28px;
  border-right: 2px solid var(--fg);
  background: var(--bg);
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  color: var(--muted);
}
.step h3 {
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.step p { font-size: 15px; color: var(--fg); margin: 0; }

/* INVERTED SECTION (DROP BOX) */
.section-invert {
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-bottom: 2px solid var(--invert-bg);
}
.submit-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.drop-form {
  background: var(--invert-fg);
  color: var(--invert-bg);
  padding: 40px;
  border: 2px solid var(--invert-fg);
}
.drop-form label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 16px 0 8px;
}
.drop-form label:first-child { margin-top: 0; }
.opt { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.drop-form input, .drop-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--invert-bg);
  background: var(--invert-fg);
  color: var(--invert-bg);
  font-family: var(--mono);
  font-size: 14px;
  outline: none;
  transition: background 100ms ease;
}
.drop-form input:focus, .drop-form textarea:focus {
  background: #f0f0f0;
}
.drop-form textarea { resize: vertical; }
.form-hint {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
}

/* QUEUE */
.queue { margin-top: 60px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.queue h3 {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.queue-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 2px solid var(--invert-fg);
}
.queue-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-family: var(--mono);
  font-size: 13px;
}
.queue-list li:last-child { border-bottom: none; }
.queue-list .q-idx { color: var(--muted); }
.queue-list .q-ca { word-break: break-all; }
.queue-list .q-time { color: var(--muted); font-size: 11px; }
.queue-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

/* TICKER */
.ticker {
  max-width: 1200px;
  margin: 40px auto 0;
  border: 2px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.ticker-row {
  display: inline-flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  animation: scroll 30s linear infinite;
  padding-left: 100%;
}
.ticker-row span { display: inline-block; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* FAQ */
#faq { max-width: 900px; margin: 0 auto; }
#faq h2 { text-align: left; }
details {
  border-top: 1px solid var(--fg);
  padding: 20px 0;
}
details:last-of-type { border-bottom: 1px solid var(--fg); }
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 22px;
  transition: transform 200ms ease;
}
details[open] summary::after { content: '−'; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* FOOTER */
.footer {
  background: var(--invert-bg);
  color: var(--invert-fg);
  padding: 40px;
  border-top: 2px solid var(--line);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-text {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  margin: 0;
  color: var(--muted);
}
.socials { display: flex; gap: 20px; font-family: var(--mono); font-size: 13px; }
.socials a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.socials a:hover { border-bottom: 1px solid var(--invert-fg); }

/* TOAST */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--fg);
  color: var(--bg);
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  border: 2px solid var(--fg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { padding: 60px 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 60px 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 2px solid var(--fg); }
  .submit-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding: 30px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 2px solid var(--fg); }
  .step:last-child { border-bottom: none; }
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 2px solid var(--fg); }
  .stat:last-child { border-bottom: none; }
  h1 { font-size: 48px; }
}
