:root {
  --orange: #ff7417;
  --orange-dark: #d94d00;
  --yellow: #ffc928;
  --yellow-light: #ffe38a;
  --blue: #3f6ee8;
  --purple: #7050dc;
  --background: #fff9f2;
  --surface: #ffffff;
  --surface-soft: #fff3e3;
  --text: #1f1f22;
  --muted: #62626b;
  --border: #e9e4de;
  --success: #147d57;
  --danger: #b42318;
  --shadow: 0 10px 36px rgba(62, 42, 20, .08);
  --radius: 22px;
  --content-width: 760px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 201, 40, .16), transparent 20rem),
    radial-gradient(circle at 96% 38%, rgba(77, 124, 254, .08), transparent 22rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

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

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  overflow: hidden;
  color: #302000;
  background:
    linear-gradient(123deg, rgba(255,255,255,.24), transparent 40%),
    linear-gradient(135deg, var(--orange) 0%, #ff9c1c 47%, var(--yellow) 100%);
  border-bottom-right-radius: 56px;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -4% -55px 25%;
  height: 125px;
  transform: rotate(-3deg);
  background: rgba(255,255,255,.18);
  border-radius: 50%;
}

.hero__content {
  width: min(100% - 32px, var(--content-width));
  margin: 0 auto;
  padding: max(52px, env(safe-area-inset-top)) 0 74px;
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

.hero__eyebrow span {
  color: var(--blue);
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(32px, 7.4vw, 55px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hero h1 span {
  display: block;
  font-size: .5em;
  font-style: italic;
  letter-spacing: .02em;
}

.hero__lead {
  margin: 18px 0 0;
  font-weight: 750;
  letter-spacing: .04em;
}

.hero__target {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 16px solid rgba(255,255,255,.3);
  box-shadow: inset 0 0 0 13px rgba(112,80,220,.20), inset 0 0 0 31px rgba(255,255,255,.19);
}

.hero__target--one {
  width: 180px;
  height: 180px;
  top: -42px;
  right: -55px;
}

.hero__target--two {
  width: 74px;
  height: 74px;
  left: -30px;
  bottom: 28px;
  border-width: 8px;
}

.hero__dots {
  position: absolute;
  right: 12%;
  bottom: 45px;
  width: 72px;
  height: 42px;
  opacity: .45;
  background-image: radial-gradient(var(--blue) 2px, transparent 2px);
  background-size: 13px 13px;
}

.page-shell {
  width: min(100% - 24px, var(--content-width));
  margin: -38px auto 0;
  padding-bottom: calc(54px + env(safe-area-inset-bottom));
}

.intro-card,
.question-card,
.submit-card,
.thank-you {
  position: relative;
  border: 1px solid rgba(221, 208, 194, .72);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro-card {
  z-index: 2;
  padding: 26px 20px 20px;
}

.section-kicker {
  color: var(--orange-dark);
}

.intro-card h2 {
  margin: 0 0 14px;
  font-size: clamp(23px, 6vw, 31px);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.intro-card p {
  margin: 0 0 12px;
}

.privacy-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  margin-top: 20px;
  padding: 15px;
  border-radius: 17px;
  background: #fff4d6;
  border: 1px solid #ffe195;
}

.privacy-note__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-weight: 900;
}

.privacy-note strong {
  display: block;
  line-height: 1.4;
}

.privacy-note p {
  margin: 2px 0 0;
  color: #575044;
  font-size: 14px;
  line-height: 1.55;
}

.privacy-note__time {
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  font-size: 12px;
  font-weight: 800;
}

.survey-section {
  margin-top: 42px;
}

.survey-section__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 4px 13px;
  color: #332919;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.survey-section__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  color: #fff;
  background: var(--section-color, var(--orange));
  font-size: 15px;
}

.question-card {
  padding: 21px 16px 20px;
  margin-bottom: 14px;
  animation: card-in .35s ease both;
  animation-delay: min(calc(var(--card-index, 0) * 28ms), 240ms);
}

.question-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.question-badge,
.optional-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.question-badge {
  min-width: 40px;
  padding: 0 9px;
  color: #fff;
  background: var(--section-color, var(--orange-dark));
}

.optional-tag {
  padding: 0 8px;
  color: var(--muted);
  background: #f0eeeb;
}

.question-card h3,
.question-card legend {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 760;
  line-height: 1.5;
  letter-spacing: -.015em;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choices {
  display: grid;
  gap: 9px;
}

.choice-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.choice-label {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 11px 44px 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.4;
  transition: border-color .2s ease, background-color .2s ease, transform .16s ease, box-shadow .2s ease;
}

.choice-label::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 2px solid #c8c3bd;
  border-radius: 50%;
  background: #fff;
}

.choice-label::after {
  content: "✓";
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  transform: translateY(-50%) scale(.5);
  opacity: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--orange-dark);
  font-size: 14px;
  font-weight: 900;
  transition: opacity .16s ease, transform .16s ease;
}

.choice-input[type="checkbox"] + .choice-label::before {
  border-radius: 6px;
}

.choice-input:checked + .choice-label {
  border-color: var(--orange);
  background: #fff3dd;
  box-shadow: 0 4px 14px rgba(255, 116, 23, .1);
}

.choice-input:checked + .choice-label::before {
  border: 6px solid var(--orange);
}

.choice-input[type="checkbox"]:checked + .choice-label::before {
  border-width: 2px;
  border-color: var(--orange-dark);
  background: var(--orange-dark);
}

.choice-input:checked + .choice-label::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.choice-input:focus-visible + .choice-label,
.rating-input:focus-visible + .rating-label,
textarea:focus-visible,
.other-input:focus-visible,
.submit-button:focus-visible {
  outline: 3px solid rgba(63, 110, 232, .42);
  outline-offset: 3px;
}

.other-wrap {
  margin-top: 10px;
}

.other-input,
textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: #fffdfa;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.other-input {
  min-height: 54px;
  padding: 12px 14px;
}

textarea {
  min-height: 138px;
  resize: vertical;
  padding: 14px;
  line-height: 1.7;
}

.other-input:focus,
textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 116, 23, .11);
}

.character-count {
  margin: 5px 3px 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.rating-hint {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

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

.rating-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.rating-label {
  display: grid;
  min-width: 0;
  min-height: 58px;
  place-items: center;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
  transition: transform .16s ease, color .16s ease, background .16s ease, border-color .16s ease;
}

.rating-input:checked + .rating-label {
  transform: translateY(-2px);
  color: #fff;
  border-color: var(--orange-dark);
  background: linear-gradient(135deg, var(--orange), #f15c0c);
  box-shadow: 0 6px 14px rgba(255, 116, 23, .2);
}

.matrix-list {
  display: grid;
  gap: 25px;
}

.matrix-item {
  padding-top: 0;
  border-top: 0;
}

.matrix-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.question-card .matrix-item__title {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.5;
}

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

.nps-row .rating-label {
  min-height: 54px;
  font-size: 17px;
}

.submit-card {
  margin-top: 24px;
  padding: 18px 16px 16px;
  text-align: center;
}

.submit-button {
  display: flex;
  width: 100%;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 18px;
  color: #2d2105;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 0 9px 22px rgba(236, 104, 0, .26);
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .02em;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.submit-button__arrow {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  font-size: 18px;
}

.submit-spinner {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 3px solid rgba(45, 33, 5, .25);
  border-top-color: #2d2105;
  border-radius: 50%;
  animation: submit-spin .75s linear infinite;
}

.submit-button:disabled {
  cursor: wait;
  opacity: .68;
  box-shadow: none;
}

.anonymous-caption {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.submit-helper {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.anonymous-caption span {
  color: var(--success);
}

.form-message {
  margin: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
}

.form-message:not(:empty) {
  margin-bottom: 12px;
  padding: 11px 12px;
  color: var(--danger);
  background: #fff0ee;
  border: 1px solid #ffd0cb;
}

.thank-you {
  overflow: hidden;
  margin-top: 20px;
  padding: 48px 20px 44px;
  text-align: center;
  animation: thank-you-in .4s ease both;
}

.thank-you::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--purple), var(--blue));
}

.thank-you__check {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  margin: 0 auto 22px;
  border: 8px solid #ffeabc;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 0 8px 24px rgba(255,116,23,.2);
  font-size: 43px;
  font-weight: 900;
}

.thank-you h2 {
  margin: 0;
  font-size: clamp(36px, 12vw, 64px);
  line-height: 1;
  letter-spacing: -.055em;
}

.thank-you h3 {
  margin: 18px 0 14px;
  font-size: 21px;
}

.thank-you p {
  margin: 0;
}

.thank-you__closing {
  margin-top: 22px !important;
  font-weight: 750;
}

.confetti i {
  position: absolute;
  width: 7px;
  height: 17px;
  border-radius: 4px;
  background: var(--orange);
  animation: confetti-fall .7s ease-out both;
}

.confetti i:nth-child(1) { left: 9%; top: 12%; transform: rotate(22deg); background: var(--blue); }
.confetti i:nth-child(2) { left: 18%; top: 28%; transform: rotate(72deg); background: var(--yellow); }
.confetti i:nth-child(3) { left: 33%; top: 9%; transform: rotate(-28deg); background: var(--purple); }
.confetti i:nth-child(4) { right: 35%; top: 14%; transform: rotate(48deg); background: var(--orange); }
.confetti i:nth-child(5) { right: 21%; top: 30%; transform: rotate(-62deg); background: var(--blue); }
.confetti i:nth-child(6) { right: 8%; top: 11%; transform: rotate(12deg); background: var(--purple); }
.confetti i:nth-child(7) { left: 9%; bottom: 18%; transform: rotate(52deg); background: var(--yellow); }
.confetti i:nth-child(8) { right: 11%; bottom: 15%; transform: rotate(-24deg); background: var(--orange); }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 25px 16px calc(25px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.footer span:nth-child(2) {
  color: var(--orange);
}

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

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

@keyframes thank-you-in {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes confetti-fall {
  from { opacity: 0; translate: 0 -22px; }
  to { opacity: 1; translate: 0 0; }
}

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

@media (hover: hover) {
  .choice-label:hover,
  .rating-label:hover {
    border-color: #f2a45c;
    transform: translateY(-1px);
  }

  .submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 27px rgba(236, 104, 0, .31);
  }
}

@media (min-width: 600px) {
  .hero {
    min-height: 390px;
    border-bottom-right-radius: 90px;
  }

  .hero__content {
    padding-top: 76px;
  }

  .page-shell {
    margin-top: -56px;
  }

  .intro-card,
  .question-card,
  .submit-card {
    padding-right: 28px;
    padding-left: 28px;
  }

  .intro-card {
    padding-top: 31px;
    padding-bottom: 26px;
  }

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

  .nps-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 359px) {
  body {
    font-size: 16px;
  }

  .page-shell {
    width: min(100% - 20px, var(--content-width));
  }

  .hero__content {
    width: calc(100% - 28px);
  }

  .question-card {
    padding-right: 13px;
    padding-left: 13px;
  }

  .rating-row {
    gap: 5px;
  }

  .rating-label {
    min-height: 56px;
    border-radius: 12px;
  }

  .nps-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

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

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