:root {
  --paper: #f4f0e8;
  --paper-deep: #e9e2d6;
  --card: #fffdf8;
  --ink: #161815;
  --muted: #62655f;
  --line: #d6d0c5;
  --red: #e13b2d;
  --red-dark: #b8261d;
  --lime: #d3f35b;
  --navy: #16233a;
  --success: #1f6b48;
  --error: #a8251d;
  --shadow: 0 24px 70px rgba(28, 24, 17, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid rgba(22, 24, 21, 0.24);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  background: var(--ink);
  color: white;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  transform: skew(-7deg);
}

.brand-mark.inverse {
  background: var(--lime);
  color: var(--ink);
}

.topbar-label,
.eyebrow,
.section-kicker,
.step-kicker,
.time-group > p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar-label {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.55fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
  width: min(1180px, calc(100% - 48px));
  min-height: 610px;
  margin: 0 auto;
  padding: 90px 0 82px;
}

.eyebrow,
.section-kicker,
.step-kicker {
  color: var(--red);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 3px;
  margin: 0 9px 3px 0;
  background: currentColor;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
.step-heading h3,
.success-state h3 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 30px 0 28px;
  font-size: clamp(4.5rem, 10vw, 8.4rem);
}

h1 em {
  display: inline-block;
  color: var(--red);
  font-style: normal;
  transform: rotate(-2deg);
}

.lede {
  max-width: 650px;
  margin: 0;
  color: #464943;
  font-size: clamp(1.12rem, 1.7vw, 1.38rem);
  line-height: 1.55;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.hero-facts strong {
  color: var(--ink);
  font-size: 1.45rem;
}

.hero-note {
  position: relative;
  overflow: hidden;
  border-radius: 2px 30px 2px 2px;
  background: var(--navy);
  color: white;
  padding: 38px 34px 32px;
  box-shadow: 14px 14px 0 var(--lime);
}

.note-number {
  display: block;
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-note p {
  margin: 46px 0 34px;
  font-size: 1.22rem;
  font-weight: 650;
  line-height: 1.42;
}

.hero-note small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  line-height: 1.5;
}

.note-rule {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 15px;
  background: var(--red);
}

.survey-shell {
  background: var(--ink);
  color: white;
  padding: 100px 24px 110px;
}

.survey-intro,
.connection-banner {
  width: min(980px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.survey-card {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.survey-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.survey-intro h2,
.process h2 {
  margin: 16px 0 0;
  font-size: clamp(2.9rem, 6vw, 5.5rem);
}

.privacy-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 13px;
  font-size: 0.76rem;
  font-weight: 700;
}

.privacy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(211, 243, 91, 0.12);
}

.connection-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(211, 243, 91, 0.48);
  background: rgba(211, 243, 91, 0.08);
  color: rgba(255, 255, 255, 0.82);
  padding: 12px 16px;
  font-size: 0.85rem;
}

.connection-banner strong {
  color: var(--lime);
  text-transform: uppercase;
}

.survey-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.progress-wrap {
  padding: 22px 34px 0;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  background: var(--paper-deep);
}

.progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--red);
  transition: width 220ms ease;
}

.form-step,
.success-state {
  padding: clamp(34px, 6vw, 70px);
}

.step-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.step-index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.74rem;
  font-weight: 900;
}

.step-kicker {
  margin-bottom: 10px;
}

.step-heading h3,
.success-state h3 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.1rem, 4.7vw, 4.4rem);
}

.question-block {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 38px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.question-block.is-invalid {
  padding-right: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--error);
  background: rgba(225, 59, 45, 0.035);
}

legend,
.field-label {
  display: block;
  width: 100%;
  margin: 0 0 5px;
  padding: 0;
  font-size: 1.03rem;
  font-weight: 780;
  line-height: 1.4;
}

legend span,
.field-label > span:not(.optional) {
  color: var(--red);
}

.question-help {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.question-help strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
}

.calendar-question-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.calendar-question-heading h4 {
  margin: 0 0 5px;
  font-size: 1.03rem;
  line-height: 1.4;
}

.calendar-question-heading h4 span {
  color: var(--red);
}

.calendar-question-heading .question-help {
  max-width: 690px;
}

.calendar-count {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted);
  padding: 7px 11px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calendar-count.has-attendance {
  background: #dcefdc;
  color: var(--success);
}

.attendance-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 720;
}

.attendance-key span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.attendance-key i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--status-color);
}

[data-status="regular"] {
  --status-color: #194d36;
  --status-tint: #e6f2e9;
}

[data-status="sometimes"] {
  --status-color: #567a19;
  --status-tint: #eff7d9;
}

[data-status="rarely"] {
  --status-color: #b35c0b;
  --status-tint: #fff0dc;
}

[data-status="never"] {
  --status-color: #6e706b;
  --status-tint: #eeede9;
}

.calendar-scroll-note {
  display: none;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.73rem;
}

.schedule-sections {
  display: grid;
  gap: 28px;
}

.schedule-section {
  min-width: 0;
}

.schedule-section > h5 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.4;
}

.weekday-shortcuts {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 16px;
}

.weekday-shortcuts h6 {
  margin: 0;
  font-size: 0.9rem;
}

.weekday-shortcuts > p {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.weekday-time-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 10px;
}

.weekday-time-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border-radius: 8px;
  background: white;
  padding: 10px;
}

.weekday-time-control > span {
  min-width: 0;
}

.weekday-time-control strong {
  display: block;
  font-size: 0.8rem;
}

.weekday-time-control small {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.4;
}

.weekday-time-control select {
  width: 132px;
  flex-shrink: 0;
  padding: 9px 6px;
  font-size: 0.72rem;
}

.week-calendar {
  --calendar-days: 5;
  display: grid;
  grid-template-columns: repeat(var(--calendar-days), minmax(150px, 1fr));
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--line) transparent;
}

.weekend-calendar {
  --calendar-days: 2;
}

.calendar-day {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f5ef;
  padding: 8px;
  scroll-snap-align: start;
}

.calendar-day-heading {
  min-height: 103px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  padding: 11px 10px 9px;
}

.calendar-day-heading h6 {
  margin: 0;
  font-size: 0.9rem;
}

.calendar-day-heading span {
  display: block;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
}

.calendar-day-heading button {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  padding: 5px 6px;
  font-size: 0.61rem;
  font-weight: 760;
  line-height: 1.25;
}

.calendar-day-heading button:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.class-slot {
  --status-color: var(--line);
  margin: 8px 0 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--status-color);
  border-radius: 9px;
  background: white;
  padding: 9px 7px 7px;
  transition: border-color 150ms ease, background 150ms ease;
}

.class-slot[data-status] {
  background: var(--status-tint);
}

.class-slot legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin: 0;
  padding: 0 2px 7px;
}

.class-slot legend strong {
  font-size: 0.78rem;
  white-space: nowrap;
}

.class-slot legend small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.class-status-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.class-status-options label {
  position: relative;
  cursor: pointer;
}

.class-status-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.class-status-options span {
  display: grid;
  min-height: 31px;
  place-items: center;
  border: 1px solid #ddd8cf;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
  color: #545752;
  padding: 4px 3px;
  font-size: 0.56rem;
  font-weight: 760;
  line-height: 1.05;
  text-align: center;
}

.class-status-options input:checked + span {
  border-color: var(--status-color);
  background: var(--status-color);
  color: white;
}

.class-status-options input:focus-visible + span,
.calendar-day-heading button:focus-visible {
  outline: 3px solid rgba(22, 35, 58, 0.35);
  outline-offset: 2px;
}

.calendar-source {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.option-row {
  display: grid;
  gap: 12px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.select-card,
.day-grid label,
.time-grid label,
.check-list label {
  position: relative;
  cursor: pointer;
}

.select-card input,
.day-grid input,
.time-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.select-card > span {
  display: flex;
  min-height: 105px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 18px;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.select-card > span::before,
.day-grid label > span::before,
.time-grid label > span::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 13px;
  width: 14px;
  height: 14px;
  border: 1px solid #aaa79f;
  border-radius: 50%;
  background: white;
  box-shadow: inset 0 0 0 3px white;
}

.select-card strong {
  font-size: 1.7rem;
  line-height: 1;
}

.select-card small {
  margin-top: 7px;
  color: var(--muted);
}

.select-card input:checked + span,
.day-grid input:checked + span,
.time-grid input:checked + span {
  border-color: var(--ink);
  background: var(--lime);
}

.select-card input:checked + span::before,
.day-grid input:checked + span::before,
.time-grid input:checked + span::before {
  border-color: var(--ink);
  background: var(--ink);
}

.select-card input:focus-visible + span,
.day-grid input:focus-visible + span,
.time-grid input:focus-visible + span,
.check-list input:focus-visible + span,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
input[type="email"]:focus-visible,
#memberName:focus-visible {
  outline: 3px solid rgba(22, 35, 58, 0.35);
  outline-offset: 3px;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-grid label > span,
.time-grid label > span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 150ms ease, border-color 150ms ease;
}

.day-grid label > span::before {
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
}

.time-groups {
  display: grid;
  gap: 24px;
}

.time-group > p {
  margin-bottom: 9px;
  color: var(--muted);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.time-grid label > span {
  min-height: 72px;
  font-size: 1rem;
}

.time-grid small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.time-grid input:disabled + span {
  cursor: not-allowed;
  opacity: 0.42;
}

select,
textarea,
input[type="email"],
#memberName {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 14px 16px;
}

select:disabled {
  cursor: not-allowed;
  background: #f1eee8;
  color: #8a8985;
}

textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.5;
}

.character-count {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.attendance-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.attendance-comparison .choice-summary {
  align-items: flex-start;
  flex-direction: column;
  margin-top: 0;
}

.choice-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  border-radius: 12px;
  background: var(--navy);
  color: white;
  padding: 18px 20px;
}

.choice-summary span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.choice-summary strong {
  color: var(--lime);
  font-size: 1.2rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.check-list input,
.consent-row input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--ink);
}

.check-list label,
.consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 650;
}

.check-list label:has(input:checked) {
  border-color: var(--ink);
  background: #f1f8d7;
}

.optional {
  margin-left: 8px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted);
  padding: 4px 7px;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 18px 28px;
  align-items: center;
}

.contact-block .question-help {
  margin-bottom: 0;
}

.consent-row {
  grid-column: 2;
  align-items: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 500;
  line-height: 1.4;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.turnstile-wrap {
  min-height: 0;
  margin-top: 28px;
}

.submission-note {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 34px;
}

.form-actions.align-end {
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  padding: 13px 22px;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-primary {
  background: var(--red);
  color: white;
}

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

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--paper-deep);
}

.form-error {
  margin: 28px clamp(34px, 6vw, 70px) 0;
  border-left: 4px solid var(--error);
  border-radius: 0 8px 8px 0;
  background: #fff0ed;
  color: #762018;
  padding: 13px 15px;
  font-size: 0.86rem;
  font-weight: 650;
}

.success-state {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 35px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
}

.success-state h3 {
  max-width: 720px;
  margin: 14px 0 22px;
}

.success-state > p:not(.section-kicker) {
  max-width: 640px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.02rem;
}

.process {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 55px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-grid article {
  min-height: 280px;
  background: var(--paper);
  padding: 34px;
}

.process-grid article > span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
}

.process-grid h3 {
  margin: 70px 0 12px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--navy);
  color: white;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

footer > a {
  justify-self: end;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 70px 0 90px;
  }

  .hero-note {
    max-width: 470px;
  }

  .day-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .calendar-scroll-note {
    display: block;
  }

  .contact-block {
    grid-template-columns: 1fr;
  }

  .consent-row {
    grid-column: auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    min-height: 220px;
  }

  .process-grid h3 {
    margin-top: 45px;
  }
}

@media (max-width: 640px) {
  .topbar {
    width: min(100% - 32px, 1180px);
    padding: 17px 0;
  }

  .brand-name {
    display: none;
  }

  .topbar-label {
    font-size: 0.65rem;
  }

  .hero,
  .process {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    gap: 54px;
    padding-top: 58px;
  }

  h1 {
    margin-top: 22px;
    font-size: clamp(4rem, 20vw, 6.3rem);
  }

  .hero-facts {
    gap: 10px 20px;
  }

  .hero-note {
    margin-right: 11px;
    padding: 28px;
  }

  .survey-shell {
    padding: 76px 16px 84px;
  }

  .survey-intro {
    display: block;
  }

  .privacy-chip {
    margin-top: 24px;
  }

  .connection-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .progress-wrap {
    padding: 18px 20px 0;
  }

  .form-step,
  .success-state {
    padding: 34px 20px 38px;
  }

  .form-error {
    margin-right: 20px;
    margin-left: 20px;
  }

  .step-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calendar-question-heading {
    display: block;
  }

  .calendar-count {
    display: inline-block;
    margin-bottom: 16px;
  }

  .attendance-key {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .week-calendar {
    grid-template-columns: repeat(var(--calendar-days), 210px);
  }

  .weekday-time-controls {
    grid-template-columns: 1fr;
  }

  .step-index {
    width: 38px;
    height: 38px;
  }

  .three-up,
  .check-list {
    grid-template-columns: 1fr;
  }

  .select-card > span {
    min-height: 82px;
  }

  .day-grid,
  .time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .attendance-comparison {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions.align-end {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .process {
    padding: 90px 0;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
