:root {
  --ato-blue: #0061c7;
  --ato-blue-dark: #004894;
  --ato-yellow: #ffcc00;
  --ato-anthracite: #242424;
  --ato-muted: #f5f5f5;
  --ato-line: #e6e6e6;
  --ato-white: #ffffff;
  --ato-text-muted: #666666;
  --ato-success: #238636;
  --ato-danger: #d93855;
  --ato-shadow: 0 14px 30px rgba(0, 0, 0, .10);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ato-muted);
  color: var(--ato-anthracite);
  font-family: "Outfit", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ato-yellow); outline-offset: 3px; }

.topbar { background: var(--ato-blue); color: #fff; font-size: 14px; }
.topbar > div {
  width: min(1200px, calc(100% - 40px));
  min-height: 38px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}
.topbar span:first-child { font-weight: 700; }

.site-header {
  min-height: 108px;
  padding: 20px max(24px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
  border-bottom: 1px solid var(--ato-line);
}
.brand { display: block; }
.brand img { display: block; width: min(445px, 58vw); height: auto; }
.home-link {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 3px solid var(--ato-blue);
  border-radius: 5px;
  color: var(--ato-blue);
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}
.home-link:hover { color: #fff; background: var(--ato-blue); }

main { min-height: 55vh; }
.survey-shell {
  width: min(1000px, calc(100% - 40px));
  margin: 60px auto 90px;
  background: #fff;
  box-shadow: var(--ato-shadow);
}
.intro {
  position: relative;
  padding: 62px 70px 50px;
  overflow: hidden;
  color: #fff;
  background: var(--ato-blue);
}
.intro::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  top: -110px;
  border: 52px solid rgba(255, 204, 0, .95);
  border-radius: 50%;
}
.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--ato-yellow);
  font-size: 17px;
  font-weight: 700;
}
.intro h1,
.message-card h1,
.legal-card h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.intro > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 18px 0 28px;
  font-size: 21px;
}
.privacy-note {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-left: 5px solid var(--ato-yellow);
  background: rgba(255, 255, 255, .12);
}
.privacy-note strong { color: var(--ato-yellow); white-space: nowrap; }

form { padding: 22px 70px 64px; }
fieldset,
.text-question {
  margin: 0;
  padding: 38px 0;
  border: 0;
  border-top: 1px solid var(--ato-line);
}
legend,
.text-question > label {
  display: block;
  width: 100%;
  padding: 0 0 22px;
  color: var(--ato-anthracite);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}
legend span,
.text-question > label span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--ato-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}
fieldset ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
fieldset li label {
  min-height: 58px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 2px solid var(--ato-line);
  border-radius: 5px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
fieldset li label:hover { border-color: var(--ato-yellow); transform: translateY(-1px); }
input[type=radio] {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  border: 1px solid #c8c8c8;
  border-radius: 50%;
  background: #e8e8e8;
}
input[type=radio]:checked {
  border: 6px solid var(--ato-blue);
  background: #fff;
}
fieldset li label:has(input:checked) {
  border-color: var(--ato-blue);
  background: var(--ato-yellow);
}
textarea {
  width: 100%;
  padding: 14px;
  resize: vertical;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  color: var(--ato-anthracite);
  font: inherit;
  outline: 0;
  transition: .2s ease;
}
textarea:focus {
  border-color: var(--ato-blue);
  box-shadow: 0 0 0 4px rgba(0, 97, 199, .22);
}
.text-question small {
  display: block;
  margin-top: 6px;
  color: var(--ato-text-muted);
  font-size: 14px;
  text-align: right;
}
.errorlist,
.form-errors { color: var(--ato-danger); font-weight: 700; }
.form-errors {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 5px solid var(--ato-danger);
  background: #fef4f6;
}
.submit-row {
  padding-top: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--ato-line);
}
.submit-row p { max-width: 460px; color: var(--ato-text-muted); font-size: 14px; }
.submit-row button,
.button {
  min-height: 56px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 3px solid var(--ato-blue);
  border-radius: 5px;
  background: var(--ato-blue);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}
.submit-row button:hover,
.button:hover { background: #fff; color: var(--ato-blue); }
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.message-card,
.legal-card {
  width: min(800px, calc(100% - 40px));
  margin: 60px auto 90px;
  padding: 60px 66px;
  background: #fff;
  box-shadow: var(--ato-shadow);
}
.message-card { text-align: center; border-top: 8px solid var(--ato-blue); }
.message-card .eyebrow,
.legal-card .eyebrow { color: var(--ato-blue); }
.message-card > p:not(.eyebrow) {
  max-width: 610px;
  margin: 18px auto 28px;
  color: var(--ato-text-muted);
  font-size: 19px;
}
.message-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ato-yellow);
  color: var(--ato-anthracite);
  font-size: 34px;
  font-weight: 900;
}
.message-icon.muted { background: #ddd; }
.message-icon.warning { background: var(--ato-danger); color: #fff; }
.legal-card { border-top: 8px solid var(--ato-yellow); }
.legal-card h1 { margin-bottom: 34px; color: var(--ato-anthracite); }
.legal-card h2 { margin: 30px 0 7px; color: var(--ato-blue); font-size: 25px; }
.legal-card p { color: var(--ato-text-muted); }
.legal-card a { color: var(--ato-blue); font-weight: 600; }

.site-footer { padding: 54px 24px 32px; background: var(--ato-anthracite); color: #fff; }
.footer-inner { width: min(1200px, 100%); margin: auto; }
.footer-inner > img { width: min(360px, 80vw); height: auto; margin-bottom: 32px; }
.footer-contact,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: 15px;
}
.site-footer nav { margin-top: 20px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--ato-yellow); text-decoration: underline; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar > div { width: calc(100% - 28px); min-height: 34px; justify-content: center; }
  .topbar span:last-child { display: none; }
  .site-header { min-height: 84px; padding: 16px; }
  .brand img { width: min(290px, 70vw); }
  .home-link { width: 44px; min-height: 44px; padding: 0; justify-content: center; font-size: 0; }
  .home-link span { font-size: 21px; }
  .survey-shell { width: 100%; margin: 0; box-shadow: none; }
  .intro,
  form { padding-left: 20px; padding-right: 20px; }
  .intro { padding-top: 44px; padding-bottom: 38px; }
  .intro::after { width: 180px; height: 180px; right: -100px; top: -90px; border-width: 34px; }
  .intro h1,
  .message-card h1,
  .legal-card h1 { font-size: 40px; }
  .intro > p:not(.eyebrow) { font-size: 18px; }
  .privacy-note { align-items: flex-start; flex-direction: column; gap: 3px; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .message-card,
  .legal-card { width: calc(100% - 28px); margin: 30px auto 55px; padding: 42px 24px; }
  .footer-contact,
  .site-footer nav { flex-direction: column; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
