:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #18181b;
  --muted: #52525b;
  --rule: #e4e4e7;
  --primary: #7c3aed;
  --primary-600: #6d28d9;
  --accent: #ff6b6b;
  --chip-bg: #f3e8ff;
  --chip-bd: #ddd6fe;
  --tag-bg: #f4f4f5;
  --tag-text: #3f3f46;
  --glow: rgba(124, 58, 237, 0.08);
  --glass: rgba(255, 255, 255, 0.7);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.h1 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h2 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h3 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.btn-2025 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-header-2025 {
  height: 40px;
}

.btn-primary-2025 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.btn-primary-2025:hover {
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}

.btn-secondary-2025 {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
}

.btn-secondary-2025:hover {
  background: var(--bg);
  border-color: var(--ink);
}

.stamp-2025 {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--chip-bg);
  border-radius: 100px;
  padding: 6px 12px;
  display: inline-block;
}

.card-2025 {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--rule);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-2025:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.spotlight-rail-2025 {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.spotlight-rail-2025::-webkit-scrollbar {
  display: none;
}

.spot-card-2025 {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.spot-card-2025:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
}

.avatar-2025 {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--chip-bg) 0%, var(--chip-bd) 100%);
}

.avatar-2025 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note-card-2025 {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.note-card-2025::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.note-card-2025:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.note-card-2025:hover::before {
  opacity: 1;
}

.gradient-subtle {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(243, 232, 255, 0.3) 50%, var(--bg) 100%);
}

.glow-primary {
  box-shadow: 0 0 60px var(--glow);
}

.input-2025 {
  height: 52px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  padding: 12px 24px;
  font-size: 16px;
  background: var(--surface);
  transition: all 0.2s ease;
  width: 100%;
}

.input-2025::placeholder {
  color: #a1a1aa;
}

.input-2025:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--glow);
  outline: none;
}

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

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

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.hover-scale {
  transition: transform 0.2s ease;
}

.hover-scale:hover {
  transform: scale(1.02);
}

.name-suffix {
  margin-top: -0.1em;
}

.leading-hero {
  line-height: 1.6;
}

/* File input button styling to match btn-2025 btn-secondary-2025 */
input[type="file"]::file-selector-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  margin-right: 16px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  font-weight: 500;
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
  transition: all 0.2s ease;
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
  background: var(--bg);
  border-color: var(--ink);
}
