:root {
  --bg: #2e2d2b;
  --bg-elevated: #3a3936;
  --bg-card: #1f1e1c;
  --text: #f6f2eb;
  --text-muted: #a8a39b;
  --brand: #2a4a3a;
  --accent: #c3ad8f;
  --accent-soft: rgba(195, 173, 143, 0.4);
  --border: rgba(246, 242, 235, 0.1);
  --border-strong: rgba(246, 242, 235, 0.18);

  --font-display: 'Abril Fatface', Georgia, 'Times New Roman', serif;
  --font-sans: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

/* ───── Hero ───── */
.hero {
  text-align: center;
  padding: 2rem 0 5rem;
}

.logo {
  max-width: 240px;
  height: auto;
  margin: 0 auto 3.5rem;
}

.headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.headline-accent {
  color: var(--accent);
  font-style: italic;
}

.lede {
  max-width: 580px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ───── Signup ───── */
.signup {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.klaviyo-form-VZhgGc {
  max-width: 520px;
  margin: 0 auto;
}

.signup-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.4rem;
}

.signup-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.field input {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.field input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.signup-submit {
  margin-top: 0.5rem;
  padding: 0.95rem 1.5rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.signup-submit:hover:not(:disabled) {
  background: var(--accent);
}

.signup-submit:active:not(:disabled) {
  transform: translateY(1px);
}

.signup-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.signup-message {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 1.25rem;
  margin-top: 0.5rem;
}

.signup-message.success {
  color: #8fbc9b;
}

.signup-message.error {
  color: #d99b8e;
}

/* ───── Brands ───── */
.brands {
  padding: 5rem 0 4rem;
  border-top: 1px solid var(--border);
}

.brands-eyebrow {
  text-align: center;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
}

.brands-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.brand-image {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brand-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.brand-region {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ───── Footer ───── */
.footer {
  text-align: center;
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-contact {
  margin-top: 0.5rem;
}

/* ───── Responsive ───── */
@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-image {
    height: 220px;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 2rem 1rem 1rem;
  }
  .hero {
    padding: 1rem 0 3rem;
  }
  .logo {
    max-width: 180px;
    margin-bottom: 2.5rem;
  }
  .signup {
    padding: 1.75rem 1.25rem;
  }
  .brands {
    padding: 3.5rem 0 2.5rem;
  }
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .brand-image {
    height: 240px;
  }
}
