@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 700;font-display:optional;src:url(/fonts/dm-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-style:italic;font-weight:300 700;font-display:optional;src:url(/fonts/dm-sans-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans Fallback';src:local('Arial');size-adjust:96.2%;ascent-override:101%;descent-override:25%;line-gap-override:0%}
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:optional;src:url(/fonts/dm-serif-display-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Serif Display';font-style:italic;font-weight:400;font-display:optional;src:url(/fonts/dm-serif-display-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Serif Fallback';src:local('Georgia');size-adjust:112%;ascent-override:90%;descent-override:26%;line-gap-override:0%}

:root {
  --navy: #0F1923;
  --navy-mid: #1B2A3A;
  --champagne: #C8A97E;
  --champagne-soft: #F0E8DA;
  --cream: #FAF8F4;
  --cream-mid: #F2EDE5;
  --white: #FFFFFF;
  --text-primary: #0F1923;
  --text-secondary: #3D4A56;
  --text-muted: #6B7B8D;
  --danger: #B42318;
  --danger-bg: #FEE4E2;
  --success-bg: #E7F4ED;
  --focus: #8C6B3F;
  --serif: 'DM Serif Display', 'DM Serif Fallback', Georgia, serif;
  --sans: 'DM Sans', 'DM Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-primary);
  background:
    linear-gradient(180deg, rgba(15, 25, 35, 0.04), rgba(15, 25, 35, 0) 220px),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.55;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.fb-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.fb-header {
  width: 100%;
  padding: 22px 20px 10px;
}

.fb-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 38px;
  text-decoration: none;
}

.fb-logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--navy);
  color: var(--champagne);
  font-size: 18px;
  font-weight: 700;
  line-height: 38px;
}

.fb-main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 28px;
  flex: 1;
  display: flex;
  align-items: center;
}

.fb-screen {
  width: 100%;
  display: none;
}

.fb-screen.is-active {
  display: block;
  animation: fbFadeIn 220ms ease-out;
}

.fb-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 25, 35, 0.08);
  border-radius: 8px;
  padding: 28px 22px;
  box-shadow: 0 20px 60px rgba(15, 25, 35, 0.08);
}

.fb-panel-center {
  text-align: center;
}

.fb-kicker {
  margin: 0 0 14px;
  color: #7A5E3A;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

h1:focus {
  outline: none;
}

p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
}

strong {
  color: var(--navy);
  font-weight: 700;
}

.fb-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.fb-button:hover {
  transform: translateY(-1px);
}

.fb-button:focus-visible,
.fb-choice:focus-visible,
.fb-select:focus-visible,
.fb-textarea:focus-visible {
  outline: 3px solid rgba(140, 107, 63, 0.3);
  outline-offset: 3px;
}

.fb-button-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 10px 28px rgba(15, 25, 35, 0.18);
}

.fb-button-primary:hover {
  background: var(--navy-mid);
}

.fb-button-secondary {
  background: var(--champagne-soft);
  color: var(--navy);
}

.fb-button[disabled] {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.fb-loader {
  width: 38px;
  height: 38px;
  margin: 0 auto 22px;
  border: 3px solid var(--cream-mid);
  border-top-color: var(--champagne);
  border-radius: 50%;
  animation: fbSpin 820ms linear infinite;
}

.fb-form-intro {
  margin-top: 12px;
  color: var(--text-muted);
}

.fb-questions {
  margin-top: 28px;
}

.fb-question {
  margin: 0;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid rgba(15, 25, 35, 0.08);
}

.fb-question:first-child {
  padding-top: 0;
  border-top: 0;
}

.fb-question legend {
  width: 100%;
  padding: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.fb-required {
  color: var(--danger);
}

.fb-question-help {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.fb-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.fb-choice-grid-nps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.fb-choice {
  height: 46px;
  min-width: 0;
  border: 1px solid rgba(15, 25, 35, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.fb-choice:hover {
  border-color: rgba(200, 169, 126, 0.75);
}

.fb-choice.is-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 8px 22px rgba(15, 25, 35, 0.14);
}

.fb-scale-labels {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12px;
}

.fb-select,
.fb-textarea {
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(15, 25, 35, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-primary);
  font-size: 16px;
}

.fb-select {
  height: 50px;
  padding: 0 14px;
}

.fb-textarea {
  min-height: 118px;
  resize: vertical;
  padding: 14px;
}

.fb-char-count {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: right;
}

.fb-question-error {
  min-height: 18px;
  margin-top: 10px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.fb-question.has-error .fb-choice,
.fb-question.has-error .fb-select,
.fb-question.has-error .fb-textarea {
  border-color: rgba(180, 35, 24, 0.5);
}

.fb-form-message {
  margin-top: 10px;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}

.fb-submit {
  width: 100%;
  margin-top: 24px;
}

.fb-privacy-note,
.fb-secondary-note {
  color: var(--text-muted);
  font-size: 13px;
}

.fb-thanks .fb-panel {
  border-color: rgba(15, 25, 35, 0.08);
}

.fb-thanks.has-google-cta .fb-panel {
  border-color: rgba(200, 169, 126, 0.55);
  background: linear-gradient(180deg, rgba(240, 232, 218, 0.78), rgba(255, 255, 255, 0.92));
}

.fb-google-block {
  margin-top: 4px;
}

.fb-google-button {
  width: 100%;
}

.fb-thanks.has-google-cta .fb-thanks-plain {
  display: none;
}

.fb-footer {
  padding: 0 20px 24px;
  text-align: center;
}

.fb-footer a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
}

.fb-footer a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.fb-noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 10;
  border-radius: 8px;
  padding: 14px;
  background: var(--navy);
  color: var(--cream);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

@media (min-width: 560px) {
  .fb-header {
    padding: 30px 36px 14px;
  }

  .fb-main {
    padding: 28px 36px 36px;
  }

  .fb-panel {
    padding: 40px;
  }

  h1 {
    font-size: 42px;
  }

  .fb-choice-grid-nps {
    grid-template-columns: repeat(11, minmax(0, 1fr));
  }

  .fb-google-button {
    width: auto;
    min-width: 220px;
  }
}

@media (max-width: 360px) {
  .fb-panel {
    padding: 24px 18px;
  }

  h1 {
    font-size: 31px;
  }

  .fb-choice-grid {
    gap: 6px;
  }

  .fb-choice {
    height: 42px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes fbFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fbSpin {
  to { transform: rotate(360deg); }
}
