/*
  Proxify brand tokens only (brand context file).
  Combination "Soft": background Gray/100, text Midnight, accent Primary/600.
  Note: the brand file defines no border-radius token; 12px is used on the card and button.
*/
:root {
  color-scheme: light;

  --primary-200: #b1b8ff;
  --primary-600: #5258fb;
  --primary-700: #3c3ed4;

  --gray-100: #f4f5f7;
  --gray-200: #eaecf0;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --midnight: #15172f;
  --white: #ffffff;

  --font-headline: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 12px;
  /* Shadow/sm */
  --shadow-sm: 0 1px 3px rgba(21, 23, 47, 0.1), 0 1px 2px rgba(21, 23, 47, 0.06);
}

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

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--gray-100);
  color: var(--midnight);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Logos */
.logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.logo {
  display: block;
  width: auto;
}

.logo-proxify {
  height: 28px;
}

.logo-bcg {
  height: 34px;
}

.logo-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-200);
}

/* Message */
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.headline {
  margin: 0 0 16px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  color: var(--midnight);
}

.body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--gray-700);
}

/* Button: Filled / primary / lg */
.button {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 24px;
  border-radius: var(--radius);
  background: var(--primary-600);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 120ms ease;
}

.button:hover {
  background: var(--primary-700);
}

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--primary-200);
}

/* States: only one message block is shown at a time */
.state {
  display: none;
}

.card[data-state="survey"] .state-survey,
.card[data-state="missing"] .state-missing {
  display: block;
}

/* Signature */
.signature {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.signature-image {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 0 8px -12px;
}

.signature-name {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--midnight);
}

.signature-contact {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-600);
}

.signature-contact a {
  color: inherit;
  text-decoration: none;
}

.signature-contact a[href^="mailto:"] {
  color: var(--primary-600);
}

.signature-contact a:hover {
  text-decoration: underline;
}

.signature-contact a:focus-visible {
  outline: 2px solid var(--primary-200);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 599px) {
  body {
    padding: 16px;
    align-items: flex-start;
  }

  .card {
    padding: 32px 24px;
  }

  .logos {
    margin-bottom: 32px;
  }

  .headline {
    font-size: 28px;
  }

  .body {
    font-size: 16px;
  }

  .button {
    display: block;
    width: 100%;
  }
}
