:root {
  /* Exact values from giftpop-webapp's src/index.css design tokens. */
  --background: hsl(0 0% 100%);
  --foreground: hsl(240 10% 3.9%);
  --muted-foreground: hsl(240 3.8% 46.1%);
  --card: hsl(0 0% 100%);
  --border: hsl(330 20% 90%);
  --primary: hsl(48 100% 50%);
  --primary-ink: hsl(48 100% 28%);
  --accent: hsl(330 100% 70%);
  --radius: 10px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

h1,
h2,
blockquote {
  font-family: "Playfair Display", serif;
  margin: 0;
}

h3 {
  margin: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 2.5rem;
  width: 2.5rem;
}

.brand-word,
.footer-brand {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.brand-word-accent {
  color: inherit;
}

nav {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  color: inherit;
}

.nav-link:hover {
  background: rgba(255, 212, 0, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #1c1a08;
}

.btn-primary:hover {
  filter: brightness(0.96);
}

.btn-outline {
  background: transparent;
  border-color: var(--foreground);
  color: var(--foreground);
}

.btn-outline:hover {
  background: rgba(10, 10, 12, 0.05);
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hero */
.hero {
  border-bottom: 1px solid var(--border);
  background: var(--card);
  text-align: center;
  padding-block: 4rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.eyebrow.center,
h2.center {
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1;
}

.hero-lede {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  font-size: 1.15rem;
  color: var(--muted-foreground);
}

.coming-soon {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
  background: rgba(255, 95, 184, 0.12);
  color: #a1156a;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Showcase strip */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.showcase img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* How it works */
.how-it-works {
  padding-block: 4rem;
}

.how-it-works h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 600;
  max-width: 40rem;
  margin: 0.75rem auto 3rem;
}

.steps {
  display: grid;
  gap: 2.5rem;
  max-width: 60rem;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  padding-inline: 1rem;
}

.step-number {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--muted-foreground);
  margin: 0;
}

/* Quote */
.quote-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff7fb;
  padding-block: 4rem;
  text-align: center;
}

.quote-section blockquote {
  max-width: 45rem;
  margin: 0 auto;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
}

/* Vendor CTA */
.vendor-cta {
  padding-block: 4rem;
}

.vendor-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.vendor-cta h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0.5rem 0 0.75rem;
}

.vendor-cta p {
  max-width: 30rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  display: inline-block;
  font-size: 1.15rem;
}

.footer-tagline {
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-heading {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  background: none;
  border: none;
  font: inherit;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 50;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal[hidden] {
  display: none;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted-foreground);
  padding: 0.25rem 0.5rem;
}

.modal h2 {
  font-size: 1.5rem;
  font-weight: 600;
  padding-right: 2rem;
}

.modal-lede {
  color: var(--muted-foreground);
  margin: 0.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.field-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.field span:first-child {
  display: block;
  margin-bottom: 0.35rem;
}

.field em {
  font-weight: 400;
  color: var(--muted-foreground);
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  color: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--primary-ink);
  outline-offset: 1px;
}

.field-error {
  display: block;
  min-height: 1.1rem;
  color: #c0114a;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 0.25rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile {
  margin-bottom: 1rem;
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.form-status[data-state="error"] {
  color: #c0114a;
}

.form-status[data-state="success"] {
  color: #157a3d;
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
