/* Lite Bite Foods — simple single-column feedback layout */
:root {
  --red: #c41e3a;
  --red-dark: #a81118;
  --red-soft: #f8e8eb;
  --text: #1f1f1f;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --page-bg: #fdfcf8;
  --cream: #f7f5f0;
  --border: #ebe6df;
  --radius: 14px;
  --shadow: 0 6px 28px rgba(40, 20, 20, 0.08);
  --col: 460px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* One centered column — brand, card, and footer share the same max-width */
.wrap {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.75rem;
}

/* Brand block: left-aligned to the same edge as the card */
.brand {
  margin-bottom: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.brand-tagline {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
}

/* White card */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem 1.85rem;
}

.card h1 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card .intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.form-group {
  margin-bottom: 1.15rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

label .req {
  color: var(--red);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #9a9590;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.35rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  background: var(--red-dark);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 3px solid rgba(196, 30, 58, 0.35);
  outline-offset: 2px;
}

/* Thanks page */
.thanks-card {
  text-align: center;
  padding: 2.25rem 1.75rem;
}

.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.15rem;
}

.thanks-card h1 {
  margin-bottom: 0.5rem;
}

.thanks-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.btn-link {
  width: auto;
  padding: 0.7rem 1.35rem;
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}

.btn-link:hover {
  background: var(--red-soft);
  color: var(--red-dark);
}

/* Footer: centered under the column */
.site-footer {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (min-width: 480px) {
  .wrap {
    padding-top: 3rem;
  }

  .card {
    padding: 2.25rem 2rem 2rem;
  }
}


.form-error {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red-dark);
  background: var(--red-soft);
  border: 1px solid rgba(196, 30, 58, 0.25);
  border-radius: 8px;
}

.btn:disabled,
.btn.is-loading {
  opacity: 0.75;
  cursor: wait;
  pointer-events: none;
}
