:root {
  --ink-950: #0a0a0b;
  --brass: #d4a84b;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 168, 75, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(196, 146, 46, 0.05), transparent),
    var(--ink-950);
}

.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1a1f;
  padding: 0.9rem 1rem;
  color: #f4f1ea;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus {
  outline: none;
  border-color: rgba(212, 168, 75, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15);
}

.form-input::placeholder {
  color: #9a958c;
}

.btn-primary {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #e0b85a 0%, #c4922e 100%);
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0a0a0b;
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 24px rgba(196, 146, 46, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1.1rem;
  color: #d8d4cc;
  transition: background 0.15s, border-color 0.15s;
}

.btn-ghost:hover {
  background: #1a1a1f;
  border-color: rgba(212, 168, 75, 0.35);
}

.choice-card {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111114;
  padding: 1.15rem 1.2rem;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
}

.choice-card:hover {
  border-color: rgba(212, 168, 75, 0.45);
  background: #1a1a1f;
  transform: translateY(-2px);
}

.choice-card.is-selected,
.choice-card:has(input:checked) {
  border-color: #d4a84b;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.12), transparent 60%), #1a1a1f;
  box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.25);
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.step-dot {
  height: 0.4rem;
  flex: 1;
  border-radius: 999px;
  background: #2e2e38;
  transition: background 0.25s;
}

.step-dot.is-active {
  background: #d4a84b;
}

.step-dot.is-done {
  background: #a67622;
}

.slot-btn {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1f;
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: all 0.15s;
}

.slot-btn:hover {
  border-color: rgba(212, 168, 75, 0.5);
  color: #e8c97a;
}

.slot-btn.is-selected,
.slot-btn:has(input:checked) {
  border-color: #d4a84b;
  background: rgba(212, 168, 75, 0.15);
  color: #e8c97a;
}

.slot-btn input {
  position: absolute;
  opacity: 0;
}

.date-chip {
  flex-shrink: 0;
  width: 4.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111114;
  padding: 0.75rem 0.35rem;
  text-align: center;
  transition: all 0.15s;
}

.date-chip:hover {
  border-color: rgba(212, 168, 75, 0.4);
}

.date-chip.is-active {
  border-color: #d4a84b;
  background: rgba(212, 168, 75, 0.15);
}

.fade-in {
  animation: fadeUp 0.45s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sheen {
  animation: sheen 8s ease-in-out infinite;
}

@keyframes sheen {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.htmx-request .htmx-indicator {
  opacity: 1;
}

.htmx-indicator {
  opacity: 0;
  transition: opacity 0.2s;
}

[x-cloak] {
  display: none !important;
}

.form-file {
  width: 100%;
  color: #d8d4cc;
  font-size: 0.9rem;
}

.form-file::file-selector-button {
  margin-right: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.65rem;
  background: #1a1a1f;
  padding: 0.55rem 0.9rem;
  color: #f4f1ea;
  cursor: pointer;
}

.form-check {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #d4a84b;
}

