:root {
  --navy: #102a5c;
  --navy-deep: #0a1e45;
  --blue: #2d66d5;
  --sky: #eaf4ff;
  --yellow: #ffd84d;
  --yellow-deep: #f5b800;
  --orange: #ff7657;
  --green: #159b70;
  --ink: #15233c;
  --muted: #65718a;
  --line: #dbe3ef;
  --paper: #ffffff;
  --soft: #f4f7fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #eef1f6;
}

body {
  margin: 0;
  background: #eef1f6;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

.site-shell {
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 50px rgba(19, 39, 77, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 12%, rgba(255, 216, 77, 0.48) 0 14%, transparent 14.5%),
    radial-gradient(circle at 0% 45%, rgba(45, 102, 213, 0.11) 0 22%, transparent 22.5%),
    linear-gradient(180deg, #f7fbff 0%, #eaf4ff 68%, #ffffff 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  border: 1px solid rgba(45, 102, 213, 0.16);
  border-radius: 50%;
}

.hero::before {
  top: 150px;
  right: -60px;
  width: 160px;
  height: 160px;
}

.hero::after {
  top: 180px;
  right: -30px;
  width: 100px;
  height: 100px;
}

.brand-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(16, 42, 92, 0.08);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  gap: 0;
  align-items: center;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.brand-note {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 22px 20px 34px;
  text-align: center;
}

.target-ribbon {
  display: inline-flex;
  align-items: center;
  margin: 0 0 13px;
  padding: 7px 13px 7px 8px;
  border: 1px solid rgba(16, 42, 92, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgba(20, 52, 104, 0.07);
}

.target-ribbon span {
  display: grid;
  min-height: 22px;
  margin-right: 7px;
  padding: 3px 8px;
  place-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.hero h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(35px, 9.6vw, 49px);
  font-weight: 950;
  line-height: 1.22;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.hero-kit-copy {
  margin: 8px auto 0;
  color: var(--blue);
  font-size: clamp(15px, 4.15vw, 21px);
  font-weight: 950;
  line-height: 1.4;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.hero-empathy {
  position: relative;
  max-width: 390px;
  margin: 14px auto 0;
  padding: 13px 18px;
  border: 1px solid rgba(16, 42, 92, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 8px 22px rgba(24, 48, 87, 0.07);
}

.hero-empathy::before {
  position: absolute;
  top: -13px;
  left: 13px;
  content: "“";
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 41px;
  font-weight: 900;
  line-height: 1;
}

.hero-empathy p {
  margin: 0;
  color: #46536c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.hero-empathy strong {
  display: inline-block;
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 950;
}

.hero-promise {
  margin: 12px 0 13px;
  color: #46536c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

.hero-promise strong {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.free-gift-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin: 3px auto 4px;
  color: var(--navy-deep);
}

.free-gift-heading::before,
.free-gift-heading::after {
  position: absolute;
  bottom: 4px;
  width: 2px;
  height: 28px;
  content: "";
  border-radius: 999px;
  background: var(--blue);
}

.free-gift-heading::before {
  left: -17px;
  transform: rotate(-18deg);
}

.free-gift-heading::after {
  right: -17px;
  transform: rotate(18deg);
}

.free-gift-heading span {
  display: inline-block;
  margin-bottom: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.free-gift-heading strong {
  color: var(--navy-deep);
  font-size: 23px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 #fff;
}

.free-gift-heading strong em {
  color: var(--orange);
  font-style: normal;
}

.gift-visual {
  position: relative;
  width: 310px;
  height: 235px;
  margin: 1px auto 0;
}

.guide-cover,
.preview-page {
  position: absolute;
  border: 1px solid rgba(16, 42, 92, 0.13);
  background: #fff;
  box-shadow: 0 17px 32px rgba(22, 49, 96, 0.17);
}

.guide-cover {
  z-index: 3;
  top: 7px;
  left: 73px;
  width: 164px;
  height: 214px;
  padding: 13px 12px;
  overflow: hidden;
  border-radius: 4px;
  text-align: left;
  transform: none;
}

.guide-cover::after {
  position: absolute;
  right: -33px;
  bottom: -31px;
  width: 105px;
  height: 105px;
  content: "";
  border-radius: 50%;
  background: var(--yellow);
}

.cover-brand {
  color: var(--blue);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-cover p {
  margin: 14px 0 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.guide-cover h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -0.04em;
}

.guide-cover > strong {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-size: 27px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.cover-line {
  width: 43px;
  height: 3px;
  margin: 9px 0 7px;
  border-radius: 2px;
  background: var(--yellow);
}

.guide-cover small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.5;
}

.preview-page {
  width: 135px;
  height: 175px;
  padding: 16px 12px;
  border-radius: 3px;
  text-align: left;
}

.preview-page span {
  display: block;
  margin-bottom: 9px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

.preview-page strong,
.preview-page b {
  display: block;
  margin: 12px 0 7px;
  color: var(--blue);
  font-size: 10px;
}

.preview-page i {
  display: block;
  width: 100%;
  height: 4px;
  margin: 6px 0;
  border-radius: 10px;
  background: #e8edf5;
}

.preview-page i:nth-last-of-type(1) {
  width: 62%;
}

.preview-left {
  z-index: 1;
  top: 34px;
  left: 20px;
  transform: rotate(-12deg);
}

.preview-right {
  z-index: 2;
  top: 37px;
  right: 17px;
  transform: rotate(10deg);
}

.preview-right span {
  color: var(--green);
}

.burst {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-deep);
  font-weight: 900;
  line-height: 1.05;
  filter: drop-shadow(0 5px 8px rgba(31, 48, 80, 0.13));
}

.burst > span {
  display: block;
  text-align: center;
}

.burst-top {
  top: 1px;
  left: 7px;
  width: 56px;
  height: 56px;
  border: 2px solid #fff;
  background: var(--yellow);
  font-size: 11px;
  transform: rotate(-9deg);
}

.burst-top > span {
  transform: rotate(9deg) translateY(-1px);
}

.burst-free {
  right: 1px;
  bottom: 15px;
  width: 65px;
  height: 65px;
  border: 3px solid #fff;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  transform: rotate(7deg);
}

.burst-free > span {
  line-height: 1.05;
  transform: rotate(-7deg) translateY(-1px);
}

.burst-free strong {
  display: block;
  margin-top: 1px;
  font-size: 18px;
  line-height: 1;
}

.tool-tag {
  position: absolute;
  z-index: 6;
  bottom: 2px;
  left: 15px;
  padding: 7px 12px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 6px 12px rgba(16, 42, 92, 0.2);
  transform: none;
}

.tool-tag > span {
  display: block;
  line-height: 1.4;
  transform: none;
}

.gift-caption {
  margin: 3px 0 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.benefit-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 390px;
  margin: 0 auto 16px;
  padding: 0;
  list-style: none;
}

.benefit-chips li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 8px 3px;
  border: 1px solid rgba(16, 42, 92, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 9px;
  font-weight: 900;
}

.benefit-chips span {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.primary-cta {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 400px;
  min-height: 62px;
  margin: 0 auto;
  padding: 0 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5ad00;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffe778 0%, var(--yellow) 100%);
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 7px 0 var(--yellow-deep), 0 14px 26px rgba(184, 129, 0, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.primary-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 0 var(--yellow-deep), 0 16px 28px rgba(184, 129, 0, 0.22);
}

.primary-cta:active {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--yellow-deep), 0 8px 15px rgba(184, 129, 0, 0.16);
}

.primary-cta b {
  position: absolute;
  right: 18px;
  display: block;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0;
  line-height: 1;
}

.primary-cta b::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-64%, -50%) rotate(45deg);
}

.cta-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.cta-note span {
  color: var(--green);
  font-weight: 900;
}

.diagnosis-section {
  position: relative;
  padding: 49px 18px 55px;
  scroll-margin-top: 0;
  background:
    linear-gradient(rgba(16, 42, 92, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 92, 0.035) 1px, transparent 1px),
    var(--soft);
  background-size: 24px 24px;
}

.section-arrow {
  position: absolute;
  z-index: 2;
  top: -20px;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%);
  box-shadow: 0 7px 18px rgba(45, 102, 213, 0.25);
}

.section-arrow i {
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.section-intro {
  margin-bottom: 20px;
  text-align: center;
}

.mini-label {
  display: inline-block;
  margin-bottom: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.section-intro h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.section-intro p {
  margin: 7px 0 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.quiz-card {
  scroll-margin-top: 14px;
  padding: 20px 17px 17px;
  border: 1px solid #e0e6f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(24, 48, 87, 0.11);
}

.progress-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.progress-meta > span {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.progress-meta strong {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.progress-meta small {
  display: inline-block;
  margin-left: 2px;
  color: #99a4b8;
  font-size: 12px;
  line-height: 1;
  vertical-align: baseline;
}

.progress-track {
  height: 7px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8edf5;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #61a3ef);
  transition: width 0.35s ease;
}

.question-panel {
  min-height: 390px;
  padding-top: 22px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.question-panel.is-leaving {
  opacity: 0;
  transform: translateX(-10px);
}

.question-eyebrow {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.question-panel h3 {
  margin: 0 0 18px;
  color: var(--navy-deep);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.option-list {
  display: grid;
  gap: 9px;
}

.option-button {
  display: grid;
  grid-template-columns: 20px 1fr 17px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border: 1.5px solid #dce3ed;
  border-radius: 12px;
  background: #fff;
  color: #283750;
  text-align: left;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.option-button:hover,
.option-button:focus-visible {
  border-color: var(--blue);
  background: #f5f9ff;
  outline: none;
  transform: translateY(-1px);
}

.option-button.is-selected {
  border-color: var(--blue);
  background: #eef5ff;
}

.option-dot {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1.5px solid #c8d1df;
  border-radius: 50%;
}

.option-button.is-selected .option-dot {
  border: 5px solid var(--blue);
}

.option-button b {
  position: relative;
  color: #a3aec0;
  font-size: 0;
  text-align: right;
}

.option-button b::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1.5px solid #a3aec0;
  border-right: 1.5px solid #a3aec0;
  transform: translateY(-50%) rotate(45deg);
}

.quiz-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  padding-top: 13px;
  border-top: 1px solid #eef1f5;
}

.back-button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.back-button:disabled {
  opacity: 0;
  pointer-events: none;
}

.quiz-footer > span {
  color: #9aa5b7;
  font-size: 8px;
}

.floating-start {
  display: none;
}

.phase-result,
.phase-form,
.phase-success {
  padding: 0;
  overflow: hidden;
}

.result-panel,
.form-panel,
.success-panel {
  padding: 28px 18px 24px;
  text-align: center;
}

.complete-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  place-items: center;
  border: 5px solid #dff5ed;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(21, 155, 112, 0.2);
}

.complete-icon::after,
.success-ring::after {
  width: 10px;
  height: 19px;
  content: "";
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-2px) rotate(45deg);
}

.result-kicker {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.result-panel > h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.result-panel > h3 span {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 8px 3px;
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
  color: var(--blue);
  font-size: 27px;
}

.result-lead {
  margin: 15px 0 8px;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.75;
}

.result-detail {
  margin: 0;
  padding: 12px 13px;
  border-radius: 10px;
  background: #f3f7fc;
  color: #59667d;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.75;
  text-align: left;
}

.result-steps {
  margin: 16px 0 0;
  padding: 13px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #fff;
}

.result-steps > p {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.result-steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-steps li {
  position: relative;
  display: flex;
  min-height: 63px;
  padding: 8px 3px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--navy);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.35;
}

.result-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -4px;
  width: 6px;
  height: 6px;
  content: "";
  border-top: 1.5px solid var(--blue);
  border-right: 1.5px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.result-steps li span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.recommend-heading {
  position: relative;
  margin: 27px -18px 0;
  padding: 19px 18px 10px;
  border-top: 1px dashed #cbd5e4;
  background: linear-gradient(180deg, #fffdf5 0%, #fff 100%);
}

.recommend-heading::before {
  position: absolute;
  top: -10px;
  left: 50%;
  padding: 3px 12px;
  content: "YOUR GIFT";
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

.recommend-heading span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

.recommend-heading h4 {
  margin: 1px 0 0;
  color: var(--navy-deep);
  font-size: 20px;
  font-weight: 900;
}

.offer-box {
  position: relative;
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
  padding: 13px 11px;
  overflow: hidden;
  border: 1px solid #f0dc8d;
  border-radius: 13px;
  background: #fffdf4;
  text-align: left;
}

.mini-cover {
  position: relative;
  width: 91px;
  height: 120px;
  padding: 10px 8px;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  background: #fff;
  box-shadow: 0 8px 16px rgba(22, 49, 96, 0.16);
  transform: rotate(-3deg);
}

.mini-cover::after {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 55px;
  height: 55px;
  content: "";
  border-radius: 50%;
  background: var(--yellow);
}

.mini-cover small {
  display: block;
  color: var(--blue);
  font-size: 6px;
  font-weight: 900;
}

.mini-cover b {
  display: block;
  margin-top: 13px;
  color: var(--navy-deep);
  font-size: 9px;
  line-height: 1.45;
}

.mini-cover strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
}

.offer-box ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-box li {
  position: relative;
  padding-left: 17px;
  color: #3c4a61;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.4;
}

.offer-box li::before {
  position: absolute;
  left: 0;
  display: grid;
  width: 12px;
  height: 12px;
  content: "";
  place-items: center;
  border-radius: 50%;
  background: var(--green);
}

.offer-box li::after {
  position: absolute;
  top: 2px;
  left: 4px;
  width: 3px;
  height: 6px;
  content: "";
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}

.offer-free {
  position: absolute;
  top: 6px;
  right: -20px;
  width: 75px;
  padding: 4px 0;
  background: var(--orange);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  text-align: center;
  transform: rotate(35deg);
}

.result-cta,
.submit-cta {
  min-height: 60px;
  margin-top: 16px;
  font-size: 13px;
}

.text-button {
  margin-top: 17px;
  padding: 3px;
  border: 0;
  border-bottom: 1px solid #a9b3c2;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  cursor: pointer;
}

.form-panel {
  padding-top: 24px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 22%);
}

.form-heading > span {
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.form-heading h3 {
  margin: 5px 0 3px;
  color: var(--navy-deep);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.selected-gift {
  display: grid;
  grid-template-columns: 39px 1fr auto;
  gap: 9px;
  align-items: center;
  margin: 17px 0;
  padding: 9px;
  border: 1px solid #e7d16d;
  border-radius: 11px;
  background: #fffcdf;
  text-align: left;
}

.selected-gift-icon {
  display: grid;
  width: 39px;
  height: 45px;
  place-items: center;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
}

.selected-gift div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.selected-gift strong {
  color: var(--navy-deep);
  font-size: 11px;
}

.selected-gift span {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
}

.selected-gift > b {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
}

.lead-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.form-field label {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 6px;
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 900;
}

.form-field label em {
  padding: 2px 5px;
  border-radius: 4px;
  background: #ffe9e3;
  color: #d84d2e;
  font-size: 8px;
  font-style: normal;
}

.form-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 13px;
  border: 1.5px solid #d8e0eb;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 102, 213, 0.11);
}

.form-field input[aria-invalid="true"] {
  border-color: #e05b47;
  background: #fffafa;
}

.field-error {
  display: block;
  margin-top: 4px;
  color: #ce422d;
  font-size: 9px;
  font-weight: 700;
}

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

.privacy-note {
  padding: 9px 11px;
  border-radius: 8px;
  background: #f4f7fb;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.privacy-note summary {
  color: #4a5870;
  font-weight: 800;
  cursor: pointer;
}

.privacy-note p {
  margin: 7px 0 0;
}

.consent-check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #48566d;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.consent-error {
  margin-top: -10px;
}

.submit-error {
  margin: 0;
  padding: 9px 11px;
  border-radius: 8px;
  background: #fff0ed;
  color: #bd3823;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.55;
}

.submit-cta {
  width: 100%;
  margin-top: 2px;
  border: 0;
}

.submit-cta:disabled {
  cursor: wait;
  opacity: 0.72;
}

.secure-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.secure-note::before {
  margin-right: 4px;
  content: "🔒";
  font-size: 8px;
}

.success-panel {
  min-height: 520px;
  padding: 45px 24px 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 216, 77, 0.28), transparent 35%),
    linear-gradient(180deg, #f7fbff 0%, #fff 65%);
}

.success-ring {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  place-items: center;
  border: 8px solid #dff5ed;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(21, 155, 112, 0.2);
}

.success-ring::after {
  width: 15px;
  height: 28px;
  border-right-width: 4px;
  border-bottom-width: 4px;
  transform: translateY(-3px) rotate(45deg);
}

.success-panel > p:first-of-type {
  margin: 0;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.success-panel h3 {
  margin: 6px 0 20px;
  color: var(--navy-deep);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
}

.success-message {
  display: flex;
  padding: 15px;
  flex-direction: column;
  gap: 6px;
  border-radius: 12px;
  background: #eef5ff;
  color: #43516a;
  font-size: 11px;
  line-height: 1.7;
}

.success-message strong {
  color: var(--blue);
  font-size: 14px;
}

.gift-download-cta {
  margin-top: 17px;
  text-decoration: none;
}

.success-note {
  margin: 16px 0 27px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.success-brand {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: 0.06em;
}

.site-footer {
  padding: 30px 20px;
  background: var(--navy-deep);
  text-align: center;
}

.brand-footer {
  justify-content: center;
  color: #fff;
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

@media (min-width: 561px) {
  .hero-content {
    padding-inline: 44px;
  }

  .diagnosis-section {
    padding-inline: 42px;
  }
}

@media (max-width: 360px) {
  .hero-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-kit-copy {
    font-size: 14.5px;
  }

  .target-ribbon {
    font-size: 11px;
  }

  .gift-visual {
    width: 310px;
    margin-right: 0;
    margin-bottom: -18px;
    margin-left: 50%;
    transform: translateX(-50%) scale(0.92);
    transform-origin: center top;
  }

  .diagnosis-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .question-panel {
    min-height: 415px;
  }
}

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

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