:root {
  --blue: #2457d6;
  --blue-dark: #163f9f;
  --ink: #111827;
  --muted: #667085;
  --line: #e7eaf0;
  --soft: #f7f8fb;
  --white: #ffffff;
  --container: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 234, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 140px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 180px;
  height: 38px;
  object-fit: contain;
  object-position: left center;
}

.brand-logo[hidden] { display: none !important; }

.brand-fallback {
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.back-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.back-link:hover { color: var(--blue); }

.intro {
  padding: 76px 0 42px;
}

.intro-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.survey-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.intro-copy {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.8;
}

.meta-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #7b8497;
  font-size: 0.84rem;
  font-weight: 600;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c6cad3;
}

.survey-section {
  padding: 18px 0 64px;
}

.survey-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

.survey-head {
  min-height: 98px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.survey-head h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.survey-label { margin-bottom: 7px; }

.external-link {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-stage {
  position: relative;
  height: min(860px, calc(100dvh - 120px));
  min-height: 680px;
  overflow: hidden;
  background: #f1f4fb;
}

.google-form {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  background: #f1f4fb;
  transition: opacity 280ms ease;
}

.google-form.is-loaded { opacity: 1; }

.form-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  background: #f1f4fb;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.form-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #d8deea;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

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

.support-note {
  margin: 18px 4px 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
  text-align: center;
}

.support-note a {
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.83rem;
}

.footer-inner p { margin: 0; }

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover { color: var(--blue); }

@media (max-width: 720px) {
  .container { width: min(calc(100% - 24px), var(--container)); }

  .header-inner { min-height: 64px; }
  .brand-logo { max-width: 150px; height: 34px; }
  .back-link { font-size: 0; }
  .back-link span { font-size: 1rem; }

  .intro { padding: 54px 0 32px; }
  h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .intro-copy { margin-top: 20px; line-height: 1.7; }

  .meta-row {
    max-width: 330px;
    margin-inline: auto;
  }

  .survey-section { padding-top: 8px; }
  .survey-card { border-radius: 18px; }

  .survey-head {
    min-height: 86px;
    padding: 20px;
  }

  .survey-head h2 { font-size: 1.15rem; }
  .external-link { font-size: 0; }
  .external-link::after {
    content: "↗";
    font-size: 1.15rem;
  }

  .form-stage {
    height: calc(100dvh - 96px);
    min-height: 660px;
  }

  .footer-inner {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}
