@font-face {
  font-family: "Tobias";
  src: url("/assets/fonts/tobias-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tobias";
  src: url("/assets/fonts/tobias-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "InterConsult";
  src: url("/assets/fonts/inter-latin-consult.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Repainted to the home page palette: the sky backdrop, the #09381B headline
     green, and the cream/mint/lime/teal that the home CTA ripple already uses. */
  --ink: #09381b;
  --sky: #78b4d8;
  --teal: #045754;
  --teal-deep: #033f3d;
  --mint: #abd1c6;
  --lime: #4de35b;
  --offer-bg: rgba(9, 56, 27, 0.92);
  --offer-accent: #63ef6f;
  --offer-accent-soft: #c9f8d0;
  --paper: #fafafa;
  --white: #ffffff;
  --body: #363636;
  --muted: #5b6b66;
  --line: #dfe7e4;
  --danger: #b94049;
  --shadow: 0 18px 60px rgba(9, 56, 27, 0.1);
  --display: "Tobias", "Iowan Old Style", Baskerville, Georgia, serif;
  --sans: "InterConsult", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--body);
  background: var(--paper);
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(171, 209, 198, 0.26), transparent 60%),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(77, 227, 91, 0.48);
  outline-offset: 3px;
}

[tabindex="-1"]:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}

.offer-note {
  display: inline-flex;
  margin: 0 auto 22px;
  padding: 7px 8px 7px 7px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(9, 56, 27, 0.1);
  border-radius: 999px;
  background: rgba(171, 209, 198, 0.22);
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.offer-note .offer-kicker {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-note .offer-copy {
  padding-right: 6px;
  color: rgba(9, 56, 27, 0.82);
}

.offer-note .countdown {
  display: inline;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.offer-note .countdown b {
  color: var(--ink);
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0;
}

.offer-note.offer-ended {
  display: none;
}

@media (max-width: 620px) {
  .offer-note {
    font-size: 12px;
  }

  .offer-lede {
    display: none;
  }
}

.site-shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
}

/* Magnifier over the hero headline — same liquid-glass cursor as the home page. */

.glass-cursor {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.glass-cursor-visible {
  opacity: 1;
}

.liquidGlass-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.liquidGlass-effect {
  z-index: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  filter: url(#glass-distortion);
  isolation: isolate;
  overflow: hidden;
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
}

.liquidGlass-shine {
  z-index: 2;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.3),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.liquidGlass-content {
  z-index: 3;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .welcome h1 {
    cursor: none;
  }
}

.site-head {
  display: flex;
  width: 100%;
}

.brand {
  align-self: flex-start;
  margin: 26px 0 0 max(24px, calc((100% - 1240px) / 2));
  z-index: 5;
  text-decoration: none;
  display: inline-flex;
  min-height: 44px;
  padding: 0;
  border: 0;
  align-items: center;
  gap: 10px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
}

.brand-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.offer-copy,
.offer-copy {
  min-width: 0;
  gap: 18px;
}

.offer-kicker {
  display: inline-flex;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  align-items: center;
  flex: 0 0 auto;
  color: #043d3a;
  background: var(--offer-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-headline {
  color: var(--white);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.offer-headline em {
  color: var(--offer-accent);
  font-style: normal;
  font-weight: 600;
}

.offer-clock {
  justify-content: flex-end;
  gap: 14px;
}

.offer-countdown-label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 0;
  font-variant-numeric: tabular-nums;
}

.countdown > span {
  position: relative;
  display: flex;
  min-width: 62px;
  min-height: 52px;
  padding: 0 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.countdown > span:not(:last-child)::after {
  position: absolute;
  top: 11px;
  right: -2px;
  color: var(--offer-accent);
  content: ":";
  font-size: 20px;
  font-weight: 400;
}

.countdown b {
  color: var(--offer-accent);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.countdown small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-deadline {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--offer-accent-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.offer-ended .countdown {
  opacity: 0.55;
}

.progress-wrap {
  position: relative;
  z-index: 5;
  width: min(780px, calc(100% - 48px));
  margin: 0 auto 20px;
}

.progress-copy {
  display: flex;
  margin-bottom: 8px;
  justify-content: space-between;
  color: rgba(9, 56, 27, 0.72);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.progress-track {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(9, 56, 27, 0.12);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  transition: width 0.25s ease;
}

.main {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: 24px 0 76px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.welcome {
  position: relative;
  display: grid;
  width: 100%;
  justify-items: center;
  min-width: 0;
  grid-template-rows: 1fr auto;
  gap: clamp(46px, 8vh, 84px);
}

.welcome-copy {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.welcome h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(50px, 6.2vw, 92px);
  font-weight: 400;
  letter-spacing: -0.062em;
  line-height: 0.99;
  text-wrap: balance;
}

.welcome h1 mark {
  display: inline-block;
  padding: 0 0.12em 0.04em;
  border-radius: 0.12em;
  color: var(--teal-deep);
  background: var(--lime);
  font-family: var(--sans);
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: -0.06em;
  transform: rotate(-1deg);
}

.welcome-actions {
  display: flex;
  margin-top: 31px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.primary-button {
  /* Same treatment as the home hero CTA: cream pill, label swap, ripple flood. */
  position: relative;
  display: inline-flex;
  min-height: 58px;
  padding: 0 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 16px 38px rgba(9, 56, 27, 0.24);
  cursor: pointer;
  overflow: hidden;
  font-family: var(--sans);
  font-weight: 500;
  will-change: transform;
}

.cta-label,
.cta-label-hover {
  white-space: pre;
  transition: transform 1s cubic-bezier(0.12, 0.23, 0.09, 0.99);
}

.cta-label {
  position: relative;
  z-index: 4;
  color: var(--paper);
}

.cta-label-hover {
  position: absolute;
  z-index: 4;
  bottom: -30px;
  left: 50%;
  color: var(--white);
  transform: translateX(-50%);
}

.primary-button:hover .cta-label,
.primary-button:focus-visible .cta-label {
  transform: translateY(-44px);
}

.primary-button:hover .cta-label-hover,
.primary-button:focus-visible .cta-label-hover {
  transform: translateX(-50%) translateY(-44px);
}

.cta-ripple-1,
.cta-ripple-2,
.cta-ripple-3 {
  display: flex;
  overflow: visible;
  height: 560px;
  flex: none;
  align-items: center;
  place-content: center;
  aspect-ratio: 1;
  border-radius: 50%;
  position: absolute;
}

.cta-ripple-1 {
  z-index: 1;
  width: 560px;
  bottom: -336px;
  left: 51%;
  background-color: var(--mint);
  transform: translateX(-50%) scale(0.05);
  transition: transform 1s cubic-bezier(0.12, 0.23, 0.09, 0.99);
}

.cta-ripple-2 {
  z-index: 2;
  right: 0;
  bottom: -67px;
  left: 0;
  background-color: var(--lime);
}

.cta-ripple-3 {
  z-index: 3;
  right: 0;
  bottom: -67px;
  left: 0;
  background-color: var(--teal);
}

.primary-button:hover .cta-ripple-1,
.primary-button:focus-visible .cta-ripple-1 {
  transform: translateX(-50%) scale(1);
}

.primary-button:active .cta-ripple-3 {
  background-color: #001e1d;
}

.primary-button[disabled] {
  cursor: default;
  opacity: 0.72;
}


.primary-button .cta-label,
.primary-button .cta-label-hover {
  font-size: 17px;
}

.trust-line {
  display: flex;
  margin-top: 24px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: rgba(9, 56, 27, 0.86);
  font-size: 13px;
  font-weight: 400;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-line i {
  display: inline-grid;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  place-items: center;
  color: var(--teal-deep);
  background: var(--lime);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(171, 209, 198, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -17rem;
  right: -19rem;
  width: 42rem;
  height: 42rem;
}

.orbit-two {
  bottom: 6rem;
  left: -24rem;
  width: 35rem;
  height: 35rem;
}

.network-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

@keyframes consult-cta-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  72% {
    opacity: 1;
    transform: translateY(-2px) scale(1.012);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes consult-copy-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes consult-card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .welcome-actions {
    animation: consult-cta-in 0.32s cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .welcome h1 {
    animation: consult-copy-in 0.34s cubic-bezier(0.2, 0.75, 0.25, 1) 0.05s both;
  }

  .trust-line {
    animation: consult-copy-in 0.32s cubic-bezier(0.2, 0.75, 0.25, 1) 0.11s both;
  }

  .network-strip {
    animation: consult-card-in 0.4s cubic-bezier(0.2, 0.75, 0.25, 1) 0.18s both;
  }
}

.network-heading {
  margin: 0 0 18px;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.logo-window {
  overflow: hidden;
  padding: 6px 0;
  /* Fade the ends so marks dissolve instead of being sliced mid-word. */
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.logo-window:focus-visible {
  outline: 3px solid rgba(77, 227, 91, 0.48);
  outline-offset: -3px;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 34s linear infinite;
  will-change: transform;
}

.logo-window:hover .logo-track,
.logo-window:focus-visible .logo-track,
.logo-window:has(:focus-visible) .logo-track {
  animation-play-state: paused;
}

.logo-set {
  display: flex;
  padding-right: 48px;
  gap: 48px;
  align-items: center;
}

.logo-pill {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.logo-name {
  color: rgba(9, 56, 27, 0.7);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.22s ease;
}

.logo-pill:hover .logo-name {
  color: var(--ink);
}

.logo-pill img {
  width: auto;
  height: 26px;
  max-width: 80px;
  flex: 0 0 auto;
  /* One optical weight for every mark, colour only on hover — the logo cloud pattern. */
  filter: grayscale(1);
  opacity: 0.55;
  object-fit: contain;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.logo-pill:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes logo-scroll {
  to {
    transform: translateX(-50%);
  }
}

.welcome-copy,
.trust-line {
  width: min(1050px, calc(100% - 48px));
}

.question-shell {
  width: min(780px, 100%);
}

.question-card {
  width: 100%;
  padding: clamp(36px, 6vw, 68px);
  border: 1px solid rgba(9, 56, 27, 0.08);
  border-radius: 28px;
  color: var(--body);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.question-card .eyebrow {
  color: var(--teal);
}

.question-title {
  margin: 0 0 31px;
  color: var(--ink);
  font-family: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.1vw, 62px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.01;
  text-wrap: balance;
}

.question-helper {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.field > span {
  color: #46615e;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  height: 64px;
  padding: 0 18px;
  border: 1px solid #cbdad6;
  border-radius: 13px;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
}

.field input::placeholder {
  color: #657d79;
}

.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(4, 87, 84, 0.09);
  outline: none;
}

.field input.has-error {
  border-color: rgba(185, 64, 73, 0.72);
}

.field-error {
  min-height: 16px;
  color: var(--danger);
  font-size: 10px;
  font-weight: 500;
}

.action-row {
  display: flex;
  margin-top: 26px;
  align-items: center;
  gap: 15px;
}

.enter-hint {
  color: #5f736f;
  font-size: 10px;
}

.priorities-shell {
  width: min(1010px, 100%);
}

.priorities-shell .question-card {
  padding: clamp(32px, 4.6vw, 54px);
}

.priorities-shell .question-title {
  margin-bottom: 15px;
}

.selection-meta {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.selection-meta > b {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.problem-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.problem-option {
  display: grid;
  min-height: 86px;
  padding: 13px;
  border: 1px solid #d1dfdb;
  border-radius: 15px;
  grid-template-columns: 39px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 13px;
  color: var(--body);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.problem-option:first-child {
  grid-column: 1 / -1;
}

.problem-option:hover {
  border-color: #79aea4;
  background: #f7fbfa;
  transform: translateY(-1px);
}

.problem-icon {
  display: grid;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  place-items: center;
  color: var(--teal);
  background: #e7f2ef;
  font-size: 17px;
  font-weight: 500;
}

.problem-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.problem-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.problem-copy small {
  color: #536e69;
  font-size: 11px;
  line-height: 1.35;
}

.check {
  display: grid;
  width: 27px;
  height: 27px;
  border: 1px solid #c9d8d4;
  border-radius: 50%;
  place-items: center;
  color: #738883;
  background: var(--white);
}

.problem-option.selected {
  border-color: var(--teal);
  background: #e8f5f1;
}

.problem-option.selected .check {
  border-color: var(--teal);
  color: var(--white);
  background: var(--teal);
}

.priority-error {
  margin: 13px 0 0;
  color: var(--danger);
  font-size: 12px;
  font-weight: 500;
}

.calendar-shell {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  align-self: center;
}

.calendar-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(9, 56, 27, 0.08);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.calendar-intro {
  padding: 32px 36px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.calendar-intro-top {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.calendar-intro .eyebrow {
  margin: 0;
  color: var(--teal);
}

.calendar-back {
  display: inline-flex;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  background: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
}

.calendar-back:hover {
  border-color: #8eb9b0;
  background: #f3f8f6;
}

.calendar-intro h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

.calendar-intro > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.calendar-frame-wrap {
  min-height: 780px;
  background: var(--white);
}

.calendar-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 820px;
  border: 0;
  background: var(--white);
}

.calendar-fallback {
  display: flex;
  min-height: 62px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f3f8f6;
  font-size: 12px;
}

.calendar-fallback a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--teal);
  font-weight: 500;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: #045754;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 150ms ease;
}

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

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 34px 0 40px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(9, 56, 27, 0.14);
  text-align: center;
}



.footer-heading {
  margin: 0;
  color: rgba(9, 56, 27, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 22px;
}

.footer-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--teal);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--lime);
  text-decoration: underline;
}

.footer-legal {
  margin: 0;
  color: rgba(9, 56, 27, 0.78);
  font-size: 12px;
}

.step-footer {
  position: fixed;
  z-index: 10;
  right: 24px;
  bottom: 17px;
  left: 24px;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.step-footer > * {
  pointer-events: auto;
}

.back-button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  color: var(--white);
  background: rgba(3, 63, 61, 0.88);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
}

.step-footer > span {
  color: rgba(9, 56, 27, 0.6);
  font-size: 9px;
  text-transform: uppercase;
}

.step-enter {
  animation: step-enter 0.26s ease both;
}

@keyframes step-enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-shell {
    min-height: 100dvh;
  }

  .brand {
    margin: calc(18px + env(safe-area-inset-top)) 0 0 max(20px, env(safe-area-inset-left));
  }

  .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 18px;
  }

  .offer-banner {
    background:
      linear-gradient(110deg, rgba(99, 239, 111, 0.14), transparent 74%),
      var(--offer-bg);
    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.18);
  }

  .offer-inner {
    width: 100%;
    min-height: 0;
    padding: 10px max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left));
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .offer-copy {
    display: block;
    text-align: left;
  }

  .offer-kicker {
    min-height: 40px;
    padding: 0 12px;
    justify-content: center;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .offer-headline {
    display: none;
  }

  .offer-clock {
    display: block;
    width: 100%;
  }

  .offer-countdown-label,
  .offer-deadline {
    display: none;
  }

  .countdown {
    width: 100%;
    justify-content: stretch;
    gap: 4px;
  }

  .countdown > span {
    min-width: 0;
    min-height: 42px;
    padding: 3px 2px;
      border: 1px solid rgba(9, 56, 27, 0.08);
    border-radius: 8px;
    flex: 1 1 0;
    background: rgba(255, 255, 255, 0.055);
  }

  .countdown > span:not(:last-child)::after {
    display: none;
  }

  .countdown b {
    font-size: 21px;
  }

  .countdown small {
    font-size: 8px;
  }

  body.quiz-active .offer-banner,
  body.calendar-active .offer-banner {
    display: none;
  }

  .progress-wrap {
    width: calc(100% - 40px);
    margin-top: 12px;
  }

  .main {
    width: min(calc(100% - 40px), 680px);
    min-height: 0;
    padding: 28px 0 56px;
    align-items: center;
  }

  body.quiz-active .main {
    min-height: 0;
    padding: 20px 0 24px;
  }

  body.calendar-active .main {
    width: min(calc(100% - 30px), 680px);
    padding: 15px 0 max(20px, env(safe-area-inset-bottom));
  }

  .welcome {
    gap: 48px;
  }

  .welcome-copy {
    max-width: 430px;
    text-align: center;
  }

  .welcome h1 {
    max-width: 420px;
    font-size: clamp(38px, 10.8vw, 44px);
    letter-spacing: -0.052em;
    line-height: 1.02;
  }

  .welcome-actions {
    margin-top: 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
  }

  .primary-button .cta-label,
  .primary-button .cta-label-hover {
    font-size: 15px;
  }

  .trust-line {
    width: max-content;
    max-width: 100%;
    margin: 18px auto 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
  }

  .trust-line span {
    gap: 7px;
  }

  .trust-line i {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .network-strip {
    border-radius: 18px;
  }

  .network-heading {
    margin-bottom: 12px;
    padding: 0;
  }

  .network-heading p {
    display: none;
  }

  .logo-window {
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0;
    mask-image: linear-gradient(to right, transparent, black 10px, black calc(100% - 24px), transparent);
    scrollbar-width: none;
  }

  .logo-window::-webkit-scrollbar {
    display: none;
  }

  .logo-track {
    padding-right: 0;
    animation: logo-scroll 28s linear infinite;
    will-change: transform;
  }

  .logo-set {
    padding-right: 36px;
    gap: 36px;
  }

  .logo-set[aria-hidden="true"] {
    display: flex;
  }

  .logo-window:hover .logo-track,
  .logo-window:focus-visible .logo-track,
  .logo-window:has(:focus-visible) .logo-track {
    animation-play-state: running;
  }

  .logo-pill img {
    height: 22px;
    max-width: 108px;
  }

  .question-shell,
  .priorities-shell {
    width: 100%;
  }

  .question-card,
  .priorities-shell .question-card {
    padding: 24px 20px;
    border-radius: 19px;
  }

  .question-card .eyebrow {
    margin-bottom: 12px;
  }

  .question-title {
    margin-bottom: 22px;
    font-size: clamp(32px, 9vw, 38px);
    letter-spacing: -0.045em;
    line-height: 1.04;
  }

  .field input {
    height: 56px;
    font-size: 16px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .action-row {
    width: 100%;
    margin-top: 22px;
  }

  .question-card .primary-button {
    width: 100%;
  }

  .enter-hint,
  .step-footer > span {
    display: none;
  }

  .selection-meta {
    margin-bottom: 18px;
    gap: 12px;
  }

  .problem-options {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .problem-option,
  .problem-option:first-child {
    min-height: 74px;
    padding: 11px;
    grid-column: auto;
    grid-template-columns: 35px minmax(0, 1fr) 26px;
    gap: 10px;
  }

  .problem-icon {
    width: 35px;
    height: 35px;
  }

  .problem-copy strong {
    font-size: 12.5px;
  }

  .problem-copy small {
    font-size: 10.5px;
  }

  .calendar-card {
    border-radius: 19px;
  }

  .calendar-intro {
    padding: 20px 18px 17px;
  }

  .calendar-intro-top {
    margin-bottom: 12px;
  }

  .calendar-intro h2 {
    font-size: clamp(32px, 8.5vw, 38px);
    line-height: 1.04;
  }

  .calendar-intro > p:last-child {
    margin-top: 9px;
    font-size: 13px;
  }

  .calendar-frame-wrap {
    min-height: 0;
  }

  .calendar-frame-wrap iframe {
    height: 1120px;
  }

  .calendar-fallback {
    min-height: 58px;
    padding: 7px 14px;
    flex-wrap: wrap;
    gap: 2px 8px;
    text-align: center;
  }

  .step-footer {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(calc(100% - 40px), 680px);
    min-height: calc(58px + env(safe-area-inset-bottom));
    margin: 0 auto;
    padding: 0 0 max(12px, env(safe-area-inset-bottom));
  }

  .site-footer {
    width: min(calc(100% - 40px), 680px);
    padding: 26px 0 max(28px, env(safe-area-inset-bottom));
    gap: 10px;
  }

  .footer-links {
    gap: 2px 16px;
  }

  .footer-link {
    min-height: 44px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .brand {
    margin-left: max(16px, env(safe-area-inset-left));
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 17px;
  }

  .offer-inner {
    padding: 9px max(11px, env(safe-area-inset-right)) 9px max(11px, env(safe-area-inset-left));
    gap: 7px;
  }

  /* Shrink the pill rather than let it wrap — a wrapped pill-in-a-pill looks broken. */
  .offer-note {
    padding: 6px 7px 6px 6px;
    gap: 7px;
    font-size: 10.5px;
  }

  .offer-note .offer-kicker {
    padding: 4px 7px;
    font-size: 9px;
  }

  .offer-kicker {
    min-height: 38px;
    padding: 0 8px;
    font-size: 9.5px;
  }

  .countdown b {
    font-size: 19px;
  }

  .countdown small {
    font-size: 7.5px;
  }

  .main {
    width: calc(100% - 32px);
    padding-top: 24px;
  }

  .welcome h1 {
    font-size: 38px;
  }

  .primary-button {
    padding: 0 16px;
  }

  .primary-button .cta-label,
  .primary-button .cta-label-hover {
    font-size: 14px;
  }

  .trust-line {
    font-size: 13.5px;
  }

  .question-card,
  .priorities-shell .question-card {
    padding: 22px 17px;
  }

  .question-title {
    font-size: 32px;
  }

  .selection-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .calendar-intro {
    padding: 18px 16px 15px;
  }

  .calendar-intro h2 {
    font-size: 31px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .logo-track {
    animation: none;
  }
}
