/* Bison Assist client-preview — match bisonassist.co.uk (Manrope / #de073b). No Pasecom chrome. */
:root {
  --bison-red: #de073b;
  --bison-green: #467C45;
  --ink: #1a1a1a;
  --body: #333333;
  --muted: #555555;
  --line: #e5e5e5;
  --bg: #f4f4f4;
  --banner: #5c5c5c;
  --card-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --font-body: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Space Grotesk", Manrope, system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.preview-banner {
  background: var(--banner);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 16px 72px;
}

.brand-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.brand-bar img {
  height: 52px;
  width: auto;
  max-width: 220px;
  display: block;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

h2 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 36px 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Email mock — grey tray, card centered ~600px */
.email-wrap {
  overflow-x: auto;
  background: #e9e9e9;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.email-card {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-collapse: collapse;
  border-spacing: 0;
  box-shadow: var(--card-shadow);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-body);
}

.email-card .email-header {
  background: #ffffff;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.email-card .email-header img {
  display: block;
  height: auto;
  max-width: 200px;
  width: 200px;
  border: 0;
}

.email-card .email-accent {
  background: var(--bison-red);
  height: 6px;
  font-size: 0;
  line-height: 0;
}

.email-card .email-meta {
  background: var(--bison-red);
  padding: 14px 24px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.email-card .email-meta strong {
  font-weight: 700;
}

.email-card .email-body {
  padding: 24px;
  background: #ffffff;
  color: #222;
  font-size: 15px;
  line-height: 1.55;
}

.email-card .email-body p {
  margin: 0 0 14px;
}

.email-card .email-body a {
  color: var(--bison-red);
}

.email-card .email-footer {
  padding: 16px 24px 20px;
  background: #fafafa;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.45;
  color: #666;
}

.email-card .email-footer a {
  color: var(--bison-red);
}

/* Form card */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--bison-red);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.form-card .row {
  margin-bottom: 16px;
}

.form-card label.field {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--ink);
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="date"],
.form-card textarea,
.form-card select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: none;
  border-color: var(--bison-red);
  box-shadow: 0 0 0 3px rgba(222, 7, 59, 0.15);
}

.form-card textarea {
  min-height: 80px;
  resize: vertical;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 8px;
  font-weight: 400;
}

.choices label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
}

.choices input[type="radio"] {
  accent-color: var(--bison-red);
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.price {
  background: #fff4f6;
  border-left: 4px solid var(--bison-red);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0 20px;
  border-radius: 0 4px 4px 0;
}

button.submit {
  display: inline-block;
  background: var(--bison-red);
  color: #fff;
  border: 0;
  padding: 13px 28px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: filter 0.15s ease, transform 0.1s ease;
}

button.submit:hover {
  filter: brightness(0.92);
}

button.submit:active {
  transform: translateY(1px);
}

.thanks {
  background: #eef8ee;
  border: 1px solid #b7d7b7;
  border-left: 4px solid var(--bison-green);
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.thanks h2 {
  margin-top: 0;
  color: var(--bison-green);
}

.thanks p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.hidden {
  display: none !important;
}

.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .page {
    padding: 20px 12px 56px;
  }

  .brand-bar {
    padding: 14px 16px;
  }

  .brand-bar img {
    height: 44px;
  }

  .form-card {
    padding: 20px 16px;
  }

  .email-wrap {
    padding: 16px 8px;
  }

  button.submit {
    width: 100%;
    text-align: center;
  }

  .choices {
    flex-direction: column;
    gap: 10px;
  }
}
