:root {
  --bg: #0d0d0f;
  --bg-2: #161416;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(16, 15, 17, 0.96);
  --text: #f5f1ef;
  --muted: #c9c0bd;
  --soft: #8e8584;
  --wine: #c15a68;
  --plum: #5b3039;
  --copper: #d8c9c4;
  --sage: #efe4dc;
  --line: rgba(245, 241, 239, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, #101012 0%, #0d0d0f 48%, #09090a 100%);
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(7, 6, 9, 0.62), rgba(7, 6, 9, 0.94)),
    url("./assets/dark-salon.png") center / cover;
}

.age-panel {
  width: min(500px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 9, 16, 0.9);
  box-shadow: var(--shadow);
}

.age-panel h1 {
  margin: 6px 0 12px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 46px;
  line-height: 1.14;
}

.age-panel p {
  overflow-wrap: anywhere;
}

.age-actions,
.hero-actions,
.question-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(250, 241, 243, 0.48);
}

.button:focus-visible,
.answer-button:focus-visible {
  outline: 2px solid rgba(199, 128, 74, 0.9);
  outline-offset: 3px;
}

.button:disabled {
  opacity: 0.44;
  cursor: not-allowed;
  transform: none;
}

.button.primary {
  border-color: rgba(193, 90, 104, 0.72);
  background: #a94352;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.035);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 clamp(16px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 9, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 1px solid var(--copper);
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--wine), var(--copper));
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  min-height: min(760px, calc(88vh - 64px));
  display: grid;
  align-items: center;
  padding: clamp(36px, 8vw, 86px) clamp(16px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 9, 0.98) 0%, rgba(8, 7, 9, 0.78) 56%, rgba(8, 7, 9, 0.42) 100%),
    url("./assets/dark-salon.png") center / cover;
  filter: saturate(0.7) contrast(1.02);
  opacity: 0.94;
}

.hero-copy {
  width: min(760px, 100%);
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero h2,
.section-heading h2,
.pdf-cta h2 {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.notice {
  color: var(--soft) !important;
  font-size: 13px !important;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.intro-band div {
  padding: 20px clamp(16px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band span {
  display: block;
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 900;
}

.intro-band p {
  margin: 2px 0 0;
  color: var(--muted);
}

.test-shell,
.result-shell,
.pdf-cta,
.safety-section {
  padding: clamp(44px, 9vw, 92px) clamp(16px, 5vw, 72px);
}

.test-shell,
.result-shell,
.pdf-cta,
.safety-section {
  scroll-margin-top: 36px;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--muted);
}

.question-card,
.result-main,
.result-panel,
.pdf-panel,
.pdf-chapter-grid article,
.safety-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.question-card {
  width: min(800px, 100%);
  padding: clamp(18px, 5vw, 30px);
}

.progress-meta,
.scale-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
  font-size: 13px;
}

.progress-track {
  height: 10px;
  margin: 10px 0 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

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

.question-spark-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 241, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.question-spark-kicker {
  flex: 0 0 auto;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.question-spark {
  min-width: 180px;
  flex: 1 1 240px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.question-text {
  min-height: 112px;
  margin: 0 0 20px;
  color: var(--text);
  font-size: 26px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.5;
}

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

.answer-button {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 7px 5px;
  border: 1px solid rgba(250, 241, 243, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.answer-button:hover,
.answer-button.selected {
  transform: translateY(-1px);
  border-color: rgba(193, 90, 104, 0.64);
  background: rgba(193, 90, 104, 0.18);
}

.answer-number {
  font-weight: 700;
  line-height: 1;
}

.answer-caption {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.question-actions {
  justify-content: space-between;
}

.test-footnote {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 13px;
}

.stage-zero-card {
  display: grid;
  gap: 18px;
}

.stage-zero-card.hidden {
  display: none;
}

.stage-zero-card h3 {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
}

.stage-zero-card p {
  margin: 0;
  color: var(--muted);
}

.stage-zero-groups {
  display: grid;
  gap: 16px;
}

.stage-zero-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.stage-zero-group legend {
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
}

.stage-zero-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-zero-option {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(250, 241, 243, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.stage-zero-option:hover,
.stage-zero-option.selected {
  transform: translateY(-1px);
  border-color: rgba(199, 128, 74, 0.72);
  background: rgba(199, 128, 74, 0.16);
}

.stage-zero-actions {
  margin-top: 2px;
}

.stage-pick-card {
  display: grid;
  gap: 16px;
}

.stage-pick-card.hidden {
  display: none;
}

.stage-pick-card h3 {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
}

.stage-pick-card p {
  margin: 0;
  color: var(--muted);
}

.stage-pick-options {
  display: grid;
  gap: 10px;
}

.stage-pick-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(250, 241, 243, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.stage-pick-option:hover,
.stage-pick-option.selected {
  transform: translateY(-1px);
  border-color: rgba(193, 90, 104, 0.64);
  background: rgba(193, 90, 104, 0.16);
}

.stage-pick-option span {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
}

.stage-pick-option strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.stage-pick-actions {
  margin-top: 2px;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.result-main,
.result-panel,
.pdf-panel,
.pdf-chapter-grid article,
.safety-grid article {
  padding: clamp(18px, 4vw, 28px);
}

.result-main {
  grid-row: span 3;
}

.verdict-card {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(245, 241, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.result-main .verdict-card h3 {
  margin-bottom: 2px;
  font-size: clamp(32px, 5vw, 54px);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

.result-main .verdict-unique {
  margin: 0;
  color: var(--copper);
  font-size: 14px;
  font-weight: 700;
}

.verdict-proof {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.result-reveal {
  opacity: 0;
  transform: translateY(14px);
}

.result-ready .result-reveal {
  animation: resultReveal 520ms ease forwards;
  animation-delay: calc((var(--reveal-step, 1) - 1) * 150ms);
}

.result-reveal[data-reveal-step="1"] {
  --reveal-step: 1;
}

.result-reveal[data-reveal-step="2"] {
  --reveal-step: 2;
}

.result-reveal[data-reveal-step="3"] {
  --reveal-step: 3;
}

.result-reveal[data-reveal-step="4"] {
  --reveal-step: 4;
}

.result-reveal[data-reveal-step="5"] {
  --reveal-step: 5;
}

.result-reveal[data-reveal-step="6"] {
  --reveal-step: 6;
}

.result-reveal[data-reveal-step="7"] {
  --reveal-step: 7;
}

@keyframes resultReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-main h3,
.result-panel h3,
.pdf-chapter-grid h3,
.safety-grid h3 {
  margin: 0 0 12px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.28;
}

.result-hook {
  margin: 22px 0;
  padding: 18px;
  border-left: 2px solid var(--copper);
  background: rgba(255, 255, 255, 0.045);
}

.result-actions {
  margin: 22px 0 6px;
}

.result-subtype {
  margin-top: -8px;
  color: var(--muted);
  font-size: 15px;
}

.reading-copy {
  display: grid;
  gap: 14px;
}

.reading-copy p {
  margin: 0;
  color: var(--muted);
}

.pleasure-spotlight {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 18px;
  border: 1px solid rgba(245, 241, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.pleasure-spotlight.hidden {
  display: none;
}

.pleasure-spotlight h4 {
  margin: 0;
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
}

.pleasure-spotlight p {
  margin: 0;
  color: var(--muted);
}

.pleasure-spotlight p:last-child {
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
}

.hidden-fire-block {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid rgba(245, 241, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.hidden-fire-block.hidden {
  display: none;
}

.hidden-fire-block p {
  margin: 0;
  color: var(--muted);
}

.hidden-fire-block h4 {
  margin: 0;
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.hidden-fire-block p:last-child {
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
}

.attributes-panel {
  display: grid;
  gap: 16px;
}

.attribute-lead {
  margin: -4px 0 0;
  color: var(--muted);
}

.attribute-top,
.attribute-list,
.attribute-hidden-list {
  display: grid;
  gap: 10px;
}

.attribute-card,
.attribute-row {
  border: 1px solid rgba(226, 193, 198, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.attribute-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.attribute-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.attribute-card header span {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.attribute-card header strong {
  color: var(--copper);
  font-size: 28px;
  line-height: 1;
}

.attribute-card p,
.attribute-row p {
  margin: 0;
  color: var(--muted);
}

.attribute-row {
  display: grid;
  grid-template-columns: minmax(128px, 1fr) minmax(92px, 1.1fr) 44px;
  gap: 8px 10px;
  align-items: center;
  padding: 12px;
}

.attribute-row > span {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.attribute-row > strong {
  color: var(--copper);
  text-align: right;
  font-size: 13px;
}

.attribute-row p {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.55;
}

.attribute-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.attribute-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wine), var(--copper), var(--sage));
}

.attribute-hidden,
.inner-map-details {
  margin-top: 2px;
}

.attribute-hidden summary,
.inner-map-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
}

.attribute-hidden-list,
.inner-map-details #innerMap {
  margin-top: 14px;
}

.inner-map-lead {
  margin-top: -4px;
  color: var(--muted);
  font-size: 14px;
}

.inner-axis {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 193, 198, 0.14);
}

.inner-axis:first-child {
  border-top: 0;
}

.inner-axis.quiet {
  opacity: 0.72;
}

.inner-axis header,
.fire-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.fire-row.picked {
  color: var(--text);
}

.pick-mark {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 20px;
  margin-right: 6px;
  border: 1px solid rgba(245, 241, 239, 0.18);
  border-radius: 999px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.inner-axis header span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
}

.inner-axis header strong {
  color: var(--copper);
  font-size: 12px;
}

.dual-bars {
  display: grid;
  gap: 8px;
}

.fire-row {
  grid-template-columns: minmax(112px, 0.9fr) minmax(90px, 1.2fr) 28px;
  color: var(--muted);
  font-size: 13px;
}

.fire-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.fire-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--wine);
}

.fire-row strong {
  color: var(--text);
  text-align: right;
  font-size: 12px;
}

.aisho-code-box {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(245, 241, 239, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.aisho-code-box strong {
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(18px, 3.6vw, 26px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.aisho-code-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.share-card-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(245, 241, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.share-card-panel h3 {
  margin-bottom: 4px;
}

.share-card-panel p {
  margin: 0;
  color: var(--muted);
}

.share-card-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(245, 241, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.share-card-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.share-card-tab:hover,
.share-card-tab.selected {
  transform: translateY(-1px);
  border-color: rgba(193, 90, 104, 0.52);
  background: rgba(193, 90, 104, 0.16);
  color: var(--text);
}

.share-card-preview-frame {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.share-card-preview {
  position: relative;
  display: grid;
  grid-template-rows: 42px 92px 52px minmax(138px, 1fr) 104px;
  gap: 10px;
  width: min(100%, 390px);
  max-width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background:
    radial-gradient(circle at 72% 0%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 18%),
    #050505;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.08),
    inset 0 0 0 7px rgba(0, 0, 0, 0.88),
    0 26px 72px rgba(0, 0, 0, 0.56);
  color: #f4f1ed;
  isolation: isolate;
}

.share-card-preview::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  box-shadow: inset 0 0 30px rgba(255, 46, 142, 0.1);
}

.share-card-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 18% 18%, rgba(100, 255, 205, 0.1), transparent 17%),
    radial-gradient(circle at 82% 42%, rgba(255, 46, 142, 0.08), transparent 21%);
  mix-blend-mode: screen;
  opacity: 0.38;
}

.share-card-sheen {
  position: absolute;
  inset: -20% 16% auto auto;
  width: 34%;
  height: 62%;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 0 33%, rgba(255, 255, 255, 0.11) 42%, transparent 54% 100%);
  transform: skewX(-18deg);
}

.share-card-preview-header {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr auto 88px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.share-card-keyhole {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #ff2e8e;
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(255, 46, 142, 0.22);
}

.share-card-keyhole::before {
  content: "";
  width: 15px;
  height: 23px;
  background:
    radial-gradient(circle at 50% 32%, #ff2e8e 0 7px, transparent 7px),
    linear-gradient(#ff2e8e 0 0) center bottom / 12px 14px no-repeat;
  clip-path: polygon(50% 0, 78% 44%, 100% 100%, 0 100%, 22% 44%);
}

.share-card-plus-field {
  align-self: stretch;
  opacity: 0.42;
  background:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(105, 255, 208, 0.72) 9px 10px, transparent 10px 19px),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, 0.5) 9px 10px, transparent 10px 19px);
  mask-image: linear-gradient(90deg, black, transparent);
}

.share-card-brand {
  color: #ff2e8e;
  font-family: Impact, "Arial Black", "Yu Gothic", sans-serif;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0.18em;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 46, 142, 0.44);
}

.share-card-stripes {
  height: 22px;
  background: repeating-linear-gradient(135deg, #ff2e8e 0 8px, transparent 8px 16px);
  filter: drop-shadow(0 0 8px rgba(255, 46, 142, 0.35));
}

.share-card-preview-title {
  position: relative;
  display: grid;
  align-content: center;
  border-bottom: 1px dashed rgba(255, 46, 142, 0.78);
}

.share-card-preview-title::before,
.share-card-preview-title::after {
  content: "+";
  position: absolute;
  bottom: -11px;
  color: #ff2e8e;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.share-card-preview-title::before {
  left: -8px;
}

.share-card-preview-title::after {
  right: -8px;
}

.share-card-preview-title h4 {
  margin: 0;
  color: #f4f1ed;
  font-family: Impact, "Arial Black", "Yu Gothic", sans-serif;
  font-size: clamp(42px, 11vw, 66px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.95),
    0 0 18px rgba(255, 255, 255, 0.18);
}

.share-card-title-rule {
  position: absolute;
  top: 2px;
  left: 12%;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), #ff2e8e);
}

.share-card-title-lock {
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 15px;
  height: 24px;
  transform: translateX(-50%);
  background: #ff2e8e;
  clip-path: polygon(50% 0, 78% 44%, 100% 100%, 0 100%, 22% 44%);
}

.share-card-preview-footer span,
.share-card-preview-condition span,
.share-card-preview-roles span {
  color: #060606;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.share-card-preview-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.share-card-preview-tags span {
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #69ffd0;
  border-radius: 11px;
  background: rgba(3, 12, 10, 0.72);
  color: #f4f1ed;
  box-shadow:
    inset 0 0 16px rgba(105, 255, 208, 0.08),
    0 0 12px rgba(105, 255, 208, 0.18);
  font-size: clamp(10px, 2.55vw, 13px);
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.share-card-preview-tags span::first-letter {
  color: #69ffd0;
}

.share-card-preview-tags span.primary {
  border-color: #69ffd0;
  background: rgba(105, 255, 208, 0.08);
  color: #f4f1ed;
}

.share-card-preview-hero {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #ff2e8e;
  background: #080808;
  box-shadow:
    inset 0 0 0 1px rgba(255, 46, 142, 0.22),
    0 0 18px rgba(255, 46, 142, 0.32);
}

.share-card-result-rail {
  display: grid;
  place-items: center;
  background: #ff2e8e;
  color: #050505;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.share-card-result-grid {
  position: absolute;
  inset: 0 0 0 34px;
  opacity: 0.35;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 72% 46%, transparent 0 44px, rgba(255, 46, 142, 0.3) 45px 46px, transparent 47px);
  background-size: 24px 24px, 24px 24px, 170px 170px;
}

.share-card-preview-hero h5 {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 2px;
  margin: 0;
  padding: 16px 16px 18px;
  color: #f4f1ed;
  font-family: Impact, "Arial Black", "Yu Gothic", sans-serif;
  font-size: clamp(40px, 11vw, 68px);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 #000;
}

.share-card-preview-hero .lead,
.share-card-preview-hero .focus {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.share-card-preview-hero .focus {
  color: #ff2e8e;
}

.share-card-preview-hero .focus b {
  color: #f4f1ed;
  font-style: normal;
  font-weight: inherit;
}

.share-card-preview-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(94px, 0.85fr);
  gap: 8px;
  min-height: 0;
}

.share-card-preview-condition {
  position: relative;
  display: grid;
  grid-template-rows: 28px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #111;
  background: #f1ece6;
  color: #050505;
  box-shadow: -5px 0 0 #69ffd0 inset;
}

.share-card-preview-condition span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #111;
  background: #69ffd0;
  font-size: 13px;
  line-height: 1;
}

.share-card-preview-condition p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  padding: 9px 12px 9px 14px;
  color: #050505;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.5;
  overflow: hidden;
}

.share-card-preview-footer {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(105, 255, 208, 0.62);
  background: #050505;
  color: #69ffd0;
  text-align: center;
}

.share-card-preview-footer span {
  color: #69ffd0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.share-card-preview-footer i {
  width: 72%;
  height: 18px;
  display: block;
  background: repeating-linear-gradient(90deg, #69ffd0 0 2px, transparent 2px 5px, #69ffd0 5px 8px, transparent 8px 12px);
  opacity: 0.95;
}

.share-card-preview-footer strong {
  width: 74%;
  min-height: 32px;
  display: grid;
  place-items: center;
  border: 4px solid #69ffd0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.2)),
    repeating-linear-gradient(45deg, #69ffd0 0 4px, #050505 4px 8px);
  color: #050505;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0;
  line-height: 1;
  overflow: hidden;
}

.share-card-preview-footer strong::before {
  content: "";
  width: 22px;
  height: 22px;
  background:
    linear-gradient(#050505 0 0) 0 0 / 8px 8px no-repeat,
    linear-gradient(#050505 0 0) 14px 0 / 8px 8px no-repeat,
    linear-gradient(#050505 0 0) 0 14px / 8px 8px no-repeat,
    repeating-linear-gradient(90deg, #050505 0 2px, transparent 2px 4px),
    #69ffd0;
}

.share-card-preview-roles {
  display: grid;
  gap: 7px;
  min-height: 0;
}

.share-card-preview-roles div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(105, 255, 208, 0.46);
  background: rgba(5, 5, 5, 0.78);
}

.share-card-preview-roles span {
  color: #69ffd0;
}

.share-card-preview-roles strong {
  color: #f4f1ed;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.share-card-preview.role-mode {
  grid-template-rows: 42px 92px minmax(122px, 1fr) 44px minmax(120px, auto) 74px;
}

.share-card-preview.role-mode .share-card-preview-title h4 {
  font-size: clamp(34px, 9.2vw, 54px);
}

.share-card-preview.role-mode .share-card-preview-hero h5 {
  font-size: clamp(34px, 9.4vw, 58px);
}

.share-card-preview.role-mode .share-card-preview-tags {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.share-card-preview-footer.wide {
  min-height: 0;
  grid-template-columns: auto 1fr auto;
  justify-items: stretch;
  padding: 0 12px;
}

.share-card-preview-footer.wide strong {
  width: 46px;
  min-height: 42px;
}

@media (max-width: 430px) {
  .share-card-preview {
    grid-template-rows: 38px 82px 48px minmax(128px, 1fr) 98px;
    padding: 14px;
  }

  .share-card-preview-header {
    grid-template-columns: 42px 1fr auto 70px;
    gap: 9px;
  }

  .share-card-keyhole {
    width: 31px;
    height: 31px;
  }

  .share-card-preview-tags {
    gap: 6px;
  }

  .share-card-preview-tags span {
    min-height: 34px;
    padding: 0 6px;
  }

  .share-card-preview-condition p {
    font-size: 12px;
  }
}
}

.share-patterns {
  min-width: 0;
  border-top: 1px solid rgba(245, 241, 239, 0.1);
  padding-top: 2px;
}

.share-patterns summary {
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.share-pattern-gallery {
  display: grid;
  max-width: 100%;
  min-width: 0;
  grid-auto-columns: minmax(148px, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.share-pattern-card {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 148px;
  padding: 14px;
  border: 1px solid rgba(245, 241, 239, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  scroll-snap-align: start;
}

.share-pattern-card.active {
  border-color: rgba(193, 90, 104, 0.64);
  background: rgba(193, 90, 104, 0.12);
  box-shadow: inset 0 0 0 1px rgba(193, 90, 104, 0.2);
}

.share-pattern-card span {
  color: #c9c0bd;
  font-size: 12px;
  font-weight: 950;
}

.share-pattern-card strong {
  color: #f5f1ef;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.share-card-canvas-output {
  position: fixed;
  left: -200vw;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
}

.share-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.score-item {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.score-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
}

.score-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--plum), var(--copper), var(--sage));
}

.result-panel p,
.result-main p,
.pdf-cta p,
.pdf-panel li,
.pdf-chapter-grid p,
.safety-grid p {
  color: var(--muted);
}

.pdf-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.pdf-copy > p {
  max-width: 780px;
}

.pdf-chapter-grid,
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pdf-chapter-grid article,
.safety-grid article {
  box-shadow: none;
  background: rgba(27, 18, 25, 0.68);
}

.pdf-chapter-grid span {
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
}

.pdf-chapter-grid h3,
.safety-grid h3 {
  font-size: 22px;
}

.price {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 20px;
  font-weight: 700;
}

.pdf-lead {
  margin-top: 0;
  color: var(--text) !important;
}

.pdf-panel ul {
  padding-left: 1.2em;
}

.delivery-note {
  display: grid;
  gap: 4px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid rgba(199, 128, 74, 0.26);
  border-radius: 6px;
  background: rgba(199, 128, 74, 0.08);
}

.delivery-note strong {
  color: var(--text);
  font-size: 13px;
}

.delivery-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.safety-section {
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(16px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}

@media (max-width: 920px) {
  .intro-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-band div:nth-child(2) {
    border-right: 0;
  }

  .intro-band div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .result-grid,
  .pdf-cta {
    grid-template-columns: 1fr;
  }

  .result-main {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .age-gate {
    padding: 16px;
  }

  .age-panel {
    width: min(420px, calc(100vw - 32px));
    padding: 22px;
  }

  .age-panel h1 {
    font-size: 38px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: calc(92vh - 64px);
    align-items: end;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 6, 9, 0.3), rgba(7, 6, 9, 0.92) 64%, rgba(7, 6, 9, 0.98)),
      url("./assets/dark-salon.png") center / cover;
  }

  .hero h2,
  .section-heading h2,
  .pdf-cta h2 {
    font-size: 40px;
  }

  .hero h2 {
    max-width: 100%;
    overflow-wrap: normal;
    font-size: clamp(30px, 8vw, 34px);
    line-height: 1.18;
  }

  .hero p {
    font-size: 16px;
  }

  .intro-band,
  .pdf-chapter-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .intro-band div,
  .intro-band div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-band div:last-child {
    border-bottom: 0;
  }

  .question-text {
    min-height: 146px;
    font-size: 21px;
  }

  .question-spark-wrap {
    align-items: flex-start;
  }

  .answer-grid {
    grid-template-columns: repeat(7, minmax(36px, 1fr));
    gap: 6px;
  }

  .answer-button {
    min-height: auto;
    aspect-ratio: 1;
    padding: 4px 2px;
  }

  .answer-number {
    font-size: 15px;
  }

  .answer-caption {
    display: none;
  }

  .share-card-actions .button {
    flex: 1 1 160px;
  }

  .scale-labels {
    font-size: 11px;
  }

  .question-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: 0 -18px -18px;
    padding: 12px 18px 18px;
    background: linear-gradient(180deg, rgba(27, 18, 25, 0), rgba(27, 18, 25, 0.98) 28%);
  }

  .question-actions .button {
    flex: 1;
  }

  .result-actions .button {
    width: 100%;
  }

  .result-main h3,
  .result-panel h3,
  .pdf-chapter-grid h3,
  .safety-grid h3 {
    font-size: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .button {
    width: 100%;
  }

  .hero-actions .button,
  .age-actions .button {
    width: 100%;
  }

  .question-actions .button {
    width: auto;
  }

  .intro-band span {
    font-size: 28px;
  }
}

/* === Marketing redesign 2026-07-04 / batch 1 (hero card, reward preview, sales) === */

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-inner .hero-copy {
  width: auto;
}

.hero-tags {
  margin: 14px 0 0;
  color: var(--copper);
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-card {
  justify-self: center;
  width: min(340px, 100%);
}

.hero-card-inner {
  position: relative;
  border-radius: 20px;
  padding: 26px 24px 22px;
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(193, 90, 104, 0.32) 0%, rgba(13, 13, 15, 0) 52%),
    linear-gradient(165deg, #17141a 0%, #0b0a0c 100%);
  border: 1px solid rgba(245, 241, 239, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.hero-card:hover .hero-card-inner {
  transform: rotate(0deg) translateY(-4px);
}

.hero-card-sample {
  position: absolute;
  top: 14px;
  right: -6px;
  padding: 3px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #0b0a0c;
  background: var(--copper);
  border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero-card-brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text);
}

.hero-card-age {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--wine);
  border: 1px solid rgba(193, 90, 104, 0.6);
  border-radius: 999px;
  padding: 2px 8px;
}

.hero-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.hero-card-tags span {
  font-size: 12px;
  font-weight: 700;
  color: var(--sage);
  background: rgba(245, 241, 239, 0.08);
  border: 1px solid rgba(245, 241, 239, 0.14);
  border-radius: 999px;
  padding: 4px 10px;
}

.hero-card-result {
  margin-bottom: 18px;
}

.hero-card-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--soft);
}

.hero-card-result h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
}

.hero-card-match {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(193, 90, 104, 0.12);
  border: 1px solid rgba(193, 90, 104, 0.34);
}

.hero-card-match-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--copper);
}

.hero-card-match-tag {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.hero-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 241, 239, 0.12);
}

.hero-card-foot span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--soft);
}

.hero-card-foot strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--copper);
}

.reward-preview {
  width: min(760px, 100%);
  margin: 0 auto 22px;
  padding: 22px clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.reward-preview .eyebrow {
  margin-bottom: 14px;
}

.reward-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.reward-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}

.reward-list li b {
  color: var(--text);
}

.reward-list span {
  flex: none;
  width: 26px;
  color: var(--wine);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.reward-privacy {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 13px;
}

.reward-privacy b {
  color: var(--copper);
}

.result-key-handoff {
  margin: 4px 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.01em;
}

.pdf-product-name {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--copper);
}

.pdf-compare {
  margin-top: clamp(24px, 4vw, 40px);
}

.pdf-compare-scroll {
  overflow-x: auto;
}

.pdf-compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 14px;
}

.pdf-compare th,
.pdf-compare td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}

.pdf-compare thead th {
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.pdf-compare thead th:last-child {
  color: var(--copper);
}

.pdf-compare tbody th[scope="row"] {
  color: var(--soft);
  font-weight: 700;
  white-space: nowrap;
}

.pdf-compare td:last-child {
  color: var(--text);
}

.pdf-compare-hero {
  background: rgba(193, 90, 104, 0.1);
}

.pdf-compare-hero td:last-child {
  font-weight: 800;
}

.pdf-compare-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.pdf-compare-note b {
  color: var(--text);
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-card {
    order: 2;
    justify-self: start;
  }
}

/* === Marketing redesign 2026-07-04 / batch 2 (match tag, unlock progress, share text) === */

.share-card-preview-match {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(105, 255, 208, 0.4);
  border-radius: 11px;
  background: rgba(105, 255, 208, 0.06);
}

.share-card-preview-match span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #69ffd0;
  white-space: nowrap;
}

.share-card-preview-match strong {
  font-size: clamp(13px, 3vw, 16px);
  font-weight: 950;
  color: #f4f1ed;
}

.unlock-status {
  color: var(--wine);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.unlock-track {
  position: relative;
}

.unlock-track::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 calc(20% - 2px),
    rgba(13, 13, 15, 0.85) calc(20% - 2px) 20%
  );
}

.stage-hint {
  margin: -14px 0 20px;
  min-height: 1.3em;
  color: var(--copper);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-statement {
  color: var(--copper);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Deep-diagnostic question preview */
.full-question-preview {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.full-question-preview summary {
  padding: 18px 20px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  list-style-position: inside;
}

.full-question-preview > p {
  margin: 0;
  padding: 0 20px 14px;
  color: var(--muted);
}

.full-question-preview ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 20px 20px;
  list-style: none;
}

.full-question-preview li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(245, 241, 239, 0.1);
  border-radius: 8px;
  background: rgba(8, 7, 9, 0.38);
}

.full-question-preview li span {
  color: var(--wine);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.full-question-preview li p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

@media (max-width: 560px) {
  .full-question-preview summary {
    padding: 16px;
  }

  .full-question-preview > p,
  .full-question-preview ol {
    padding-left: 16px;
    padding-right: 16px;
  }

  .full-question-preview li {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }
}
