:root {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1b1b1f;
  background-color: #f5f5f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.app-header,
.app-footer {
  background: #111;
  color: #fff;
  padding: 1rem 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-header nav a {
  color: var(--link, #9fe3ff);
  margin-left: 1rem;
  text-decoration: none;
}

.logo strong {
  color: #fbbf24;
}

.page {
  padding: 2rem 3vw 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero {
  margin-bottom: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 70ch;
}

.cta {
  display: inline-flex;
  padding: 0.8rem 1.5rem;
  margin-top: 1.25rem;
  border-radius: 999px;
  background: #0ea5e9;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: #0284c7;
}

.section-header h2 {
  margin: 0;
  font-size: 1.75rem;
}

.cards {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.card .image {
  height: 180px;
  overflow: hidden;
}

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

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.card dl {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.ghost-button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.empty-state {
  color: #6b7280;
  font-size: 1rem;
  margin-top: 1rem;
}

.form-section {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.form-hero h1 {
  margin: 0;
  font-size: 2.25rem;
}

.wallet-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 1px dashed #cbd5f5;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  background: #f8fafc;
}

.wallet-panel p {
  margin: 0;
  font-weight: 600;
}

.primary,
.secondary {
  border: none;
  cursor: pointer;
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
}

.primary {
  background: #0ea5e9;
  color: white;
}

.primary:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.secondary {
  background: #e2e8f0;
  color: #111;
}

.blink-form {
  display: grid;
  gap: 1rem;
}

.blink-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.blink-form input,
.blink-form textarea {
  border: 1px solid #cbd5f5;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.slider-group {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 1.1rem;
  border: 1px dashed #cbd5f5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.slider-group input[type="range"] {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #dbeafe);
  outline: none;
}

.success-panel {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #10b981;
  background: #ecfdf5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.success-panel a {
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.form-note {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
}

.app-footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .app-header nav {
    display: none;
  }

  .form-section {
    padding: 1.5rem;
  }
}

