:root {
  --bg: #e8edf4;
  --bg-strong: #d7dee8;
  --surface: rgba(244, 247, 251, 0.8);
  --surface-strong: rgba(245, 248, 252, 0.94);
  --ink: #18202c;
  --ink-soft: #5d6778;
  --line: rgba(103, 119, 145, 0.14);
  --accent: #50657f;
  --accent-2: #7f96b3;
  --accent-3: #334256;
  --success: #3e6b5f;
  --warning: #9f5d2f;
  --shadow: 0 18px 42px rgba(28, 38, 56, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --page-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(156, 175, 202, 0.22), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(101, 120, 150, 0.16), transparent 28%),
    linear-gradient(180deg, #f4f7fb 0%, #e8edf4 48%, #dbe3ee 100%);
  font-family: "Aptos", "Trebuchet MS", "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

.background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.45;
  animation: float 14s ease-in-out infinite;
}

.blob-one {
  top: -8rem;
  left: -5rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(141, 158, 186, 0.42), transparent 70%);
}

.blob-two {
  right: -6rem;
  top: 18rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(67, 82, 108, 0.22), transparent 72%);
  animation-delay: -5s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(0, 0, 0, 0.18) 25%, transparent 26%),
    linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, 0.12) 25%, transparent 26%);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

#app {
  position: relative;
  z-index: 1;
}

.shell {
  width: min(var(--page-width), calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.brand-copy {
  position: relative;
  padding-left: 14px;
}

.brand-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 2px;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(68, 89, 116, 0.72),
    rgba(131, 150, 178, 0.25)
  );
}

.brand-copy h1,
.brand-copy p {
  margin: 0;
}

.brand-copy h1 {
  color: var(--accent-3);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-copy p {
  margin-top: 6px;
  color: #5e6977;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 34rem;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.66);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.page {
  display: grid;
  gap: 22px;
}

.hero,
.panel,
.card,
.question-card,
.result-card,
.share-wrap {
  background: var(--surface);
  border: 1px solid rgba(103, 119, 145, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  padding: 30px;
  overflow: hidden;
}

.hero-main {
  grid-template-columns: 1fr;
  gap: 0;
}

.hero-copy,
.hero-side {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(80, 101, 127, 0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.display {
  margin: 18px 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.72;
}

.cta-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  appearance: none;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.98rem;
  font-weight: 680;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.button-primary {
  color: #f2f7ff;
  background: linear-gradient(145deg, #23374d 0%, #2f4a67 56%, #4f6888 100%);
  border-color: rgba(176, 199, 226, 0.3);
  box-shadow:
    0 10px 24px rgba(28, 44, 64, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 38%,
    rgba(255, 255, 255, 0) 75%
  );
}

.button-primary:hover:not(:disabled) {
  background: linear-gradient(145deg, #203247 0%, #2a435f 58%, #4a6485 100%);
  box-shadow:
    0 12px 26px rgba(26, 40, 59, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button-secondary {
  color: #314960;
  background: linear-gradient(
    180deg,
    rgba(247, 251, 255, 0.94),
    rgba(232, 239, 248, 0.92)
  );
  border-color: rgba(94, 116, 145, 0.26);
  box-shadow:
    0 6px 14px rgba(54, 72, 95, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.button-secondary:hover:not(:disabled) {
  background: linear-gradient(
    180deg,
    rgba(251, 254, 255, 0.97),
    rgba(236, 243, 251, 0.94)
  );
  border-color: rgba(86, 109, 138, 0.34);
  box-shadow:
    0 8px 16px rgba(56, 73, 96, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.button-ghost {
  color: var(--ink-soft);
  background: transparent;
  border: 1px dashed rgba(103, 119, 145, 0.3);
}

.hero-side {
  display: grid;
  gap: 16px;
}

.home-insight {
  padding: 22px;
}

.insight-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.quote-card-feature {
  padding: 24px;
}

.quote-card-feature strong {
  font-size: 1.9rem;
  line-height: 1.4;
}

.quote-card-feature span {
  font-size: 1.02rem;
}

.hook-grid {
  align-content: start;
}

.quote-card,
.mini-card,
.metric-card,
.mode-card,
.result-card,
.section-card,
.benefit-card,
.chip-grid,
.share-card {
  border-radius: var(--radius-lg);
}

.quote-card,
.mini-card,
.metric-card,
.mode-card,
.section-card,
.benefit-card {
  background: rgba(240, 244, 249, 0.78);
  border: 1px solid rgba(103, 119, 145, 0.08);
  padding: 18px;
  box-shadow: none;
}

.quote-card {
  min-height: auto;
  display: grid;
  gap: 14px;
  align-content: start;
  background: linear-gradient(
    180deg,
    rgba(231, 237, 245, 0.98),
    rgba(243, 247, 251, 0.92)
  );
  border-left: 4px solid rgba(80, 101, 127, 0.62);
  color: var(--ink);
}

.quote-card strong {
  font-size: 1.16rem;
  line-height: 1.6;
}

.quote-card span {
  color: var(--accent-3);
  font-size: 0.92rem;
  line-height: 1.6;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  padding: 26px;
}

.panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.panel-subtitle {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.stack {
  display: grid;
  gap: 16px;
}

.pill-list,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.93rem;
}

.pill {
  background: rgba(229, 235, 243, 0.92);
  border: 1px solid rgba(103, 119, 145, 0.12);
}

.chip {
  background: rgba(240, 245, 250, 0.88);
  border: 1px solid rgba(103, 119, 145, 0.14);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.chip.active,
.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(80, 101, 127, 0.42);
  background: rgba(80, 101, 127, 0.12);
}

.question-card,
.result-card,
.share-wrap {
  padding: 26px;
}

.progress {
  display: grid;
  gap: 10px;
}

.progress-line {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(103, 119, 145, 0.12);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #41556e, #7d94b1);
  transition: width 220ms ease;
}

.question-title {
  margin: 10px 0 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.18;
}

.question-hint,
.helper,
.microcopy,
.status-note,
.empty-copy {
  color: var(--ink-soft);
  line-height: 1.7;
}

.options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(103, 119, 145, 0.16);
  background: rgba(245, 248, 252, 0.9);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.option:hover,
.option.active {
  transform: translateY(-1px);
  border-color: rgba(80, 101, 127, 0.42);
  background: rgba(80, 101, 127, 0.08);
}

.option-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(80, 101, 127, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.option-score {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 18px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.score-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(245, 248, 252, 0.84);
  border: 1px solid rgba(103, 119, 145, 0.08);
}

.score-card strong {
  display: block;
  font-size: 2rem;
  margin-top: 8px;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
}

.score-bar {
  margin-top: 14px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(103, 119, 145, 0.12);
  overflow: hidden;
}

.score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34465c, #839bb8);
}

.result-title,
.section-title,
.share-title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  letter-spacing: -0.03em;
}

.result-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-title {
  font-size: 1.35rem;
}

.label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(80, 101, 127, 0.1);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.result-card {
  display: grid;
  gap: 18px;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(130, 82, 67, 0.2),
    transparent
  );
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  font-weight: 700;
}

.field select,
.field input[type="range"],
.field input[type="number"] {
  width: 100%;
}

.field select,
.inline-input {
  min-height: 48px;
  border: 1px solid rgba(103, 119, 145, 0.16);
  border-radius: 14px;
  background: rgba(245, 248, 252, 0.96);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
}

.range-group {
  display: grid;
  gap: 8px;
}

.range-row {
  display: grid;
  grid-template-columns: 112px 1fr 56px;
  align-items: center;
  gap: 12px;
}

.range-row output {
  text-align: right;
  color: var(--accent-3);
  font-weight: 800;
}

.benefits,
.report-sections {
  display: grid;
  gap: 16px;
}

.report-sections .section-card {
  padding: 20px;
}

.quote-block {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(229, 235, 243, 0.98),
    rgba(241, 245, 250, 0.94)
  );
  border-left: 4px solid rgba(80, 101, 127, 0.62);
  color: var(--ink);
}

.quote-block p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink);
}

.paywall-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 18px;
}

.price-card {
  padding: 26px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, rgba(75, 97, 126, 0.1), rgba(133, 152, 180, 0.16)),
    rgba(243, 247, 252, 0.9);
  border: 1px solid rgba(103, 119, 145, 0.12);
}

.price-card strong {
  display: block;
  margin: 10px 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: clamp(3rem, 5vw, 4.7rem);
}

.benefit-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.benefit-dot {
  margin-top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(80, 101, 127, 0.08);
}

.status-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(232, 238, 246, 0.86);
  border: 1px solid rgba(103, 119, 145, 0.12);
}

.theory-panel {
  padding: 0;
}

.theory-note {
  padding: 24px 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(236, 242, 249, 0.9),
    rgba(228, 236, 246, 0.86)
  );
  border: 1px solid rgba(103, 119, 145, 0.16);
}

.theory-note p {
  margin: 0;
  color: #4f5f75;
  font-size: 1.02rem;
  line-height: 1.7;
}

.theory-note p + p {
  margin-top: 6px;
}

.footer-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

.share-wrap {
  display: grid;
  gap: 18px;
}

.share-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 26px;
  background:
    radial-gradient(circle at 80% 18%, rgba(196, 210, 228, 0.16), transparent 20%),
    linear-gradient(160deg, #223041, #33475f 56%, #5f799a 100%);
  color: #f4f8fd;
}

.share-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(239, 245, 252, 0.18);
}

.share-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 100%;
}

.share-card .share-title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.02;
}

.share-pill {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(240, 246, 252, 0.14);
  border: 1px solid rgba(240, 246, 252, 0.2);
}

.share-line {
  font-size: 1.18rem;
  line-height: 1.85;
  color: rgba(244, 248, 253, 0.94);
}

.share-brand {
  color: rgba(244, 248, 253, 0.72);
}

.canvas-wrap {
  display: none;
}

.empty-state,
.loading-state {
  padding: 56px 22px;
  text-align: center;
}

.loading-state h2,
.empty-state h2 {
  margin-bottom: 10px;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: 2.1rem;
}

.spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border-radius: 999px;
  border: 4px solid rgba(188, 74, 60, 0.12);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

.muted {
  color: var(--ink-soft);
}

.subpanel {
  padding: 22px;
  border-radius: 26px;
  background: rgba(240, 245, 251, 0.58);
  border: 1px solid rgba(103, 119, 145, 0.1);
}

.pair-illustration-panel {
  display: grid;
  align-items: stretch;
}

.pair-illustration-card {
  display: grid;
  gap: 0;
  align-content: center;
  min-height: 100%;
  padding: 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% -22%, rgba(172, 190, 214, 0.24), transparent 54%),
    radial-gradient(circle at 50% 118%, rgba(38, 55, 78, 0.34), transparent 46%),
    linear-gradient(180deg, rgba(18, 29, 43, 0.98), rgba(11, 19, 30, 0.99));
  border: 1px solid rgba(126, 145, 170, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(230, 238, 248, 0.12),
    inset 0 -24px 38px rgba(0, 0, 0, 0.22),
    0 22px 36px rgba(9, 14, 24, 0.42);
}

.pair-illustration-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(12px) translateX(8px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .hero,
  .insight-layout,
  .split,
  .paywall-grid {
    grid-template-columns: 1fr;
  }

  .grid-three {
    grid-template-columns: 1fr;
  }

  .grid-two,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .question-card,
  .result-card,
  .share-wrap {
    padding: 22px;
  }

  .display {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .shell {
    width: 100%;
    padding: 0 12px 36px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  .question-card {
    padding: 18px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .progress {
    width: 100%;
    overflow: hidden;
  }

  .panel-header {
    width: 100%;
    gap: 8px;
  }

  .question-title {
    max-width: 100%;
    width: 100%;
    font-size: clamp(1.2rem, 4.8vw, 1.65rem);
    line-height: 1.35;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    overflow: visible;
  }

  .question-hint {
    font-size: 0.85rem;
    margin-top: 6px;
  }

  .helper {
    font-size: 0.85rem;
  }

  .options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
  }

  .option {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    width: 100%;
    min-width: 0;
    font-size: 0.95rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .option-index {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .option span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .result-title {
    max-width: none;
    font-size: clamp(1.62rem, 7vw, 2.05rem);
    line-height: 1.28;
  }

  .button,
  .chip,
  .pill {
    width: 100%;
    justify-content: center;
  }

  .cta-row,
  .button-row,
  .pill-list,
  .chip-list {
    flex-direction: column;
  }

  .pair-illustration-panel {
    display: none;
  }

  .footer-note {
    font-size: 0.8rem;
    margin-top: 16px;
    text-align: center;
    word-break: break-word;
  }

  .button-row {
    width: 100%;
    gap: 10px;
  }

  .button-row .button {
    flex: 1;
    min-width: 0;
  }
}

.pair-preview-title {
  white-space: normal;
}

@media (max-width: 640px) {
  .pair-preview-title {
    font-size: clamp(1.22rem, 4.9vw, 1.5rem);
    line-height: 1.34;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* Home Premium Polish */
.brand-copy h1 {
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: 0;
  color: #2d3c52;
}

.brand-copy p {
  margin-top: 5px;
  color: #5a6b84;
  font-size: 0.94rem;
}

.hero-main .cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(172px, 220px));
  gap: 14px;
  margin-top: 30px;
  width: fit-content;
}

.hero-main .cta-row .button {
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 20px;
  font-size: 1.05rem;
  font-weight: 730;
}

.hero-main .cta-row .button-primary {
  color: #edf5ff;
  background: linear-gradient(145deg, #22384f 0%, #2c4765 56%, #456180 100%);
  border-color: rgba(168, 193, 221, 0.34);
  box-shadow:
    0 10px 24px rgba(28, 46, 67, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-main .cta-row .button-primary:hover:not(:disabled) {
  background: linear-gradient(145deg, #1e3348 0%, #27425e 58%, #405b79 100%);
  box-shadow:
    0 12px 26px rgba(24, 40, 60, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-main .cta-row .button-secondary {
  color: #314960;
  background: linear-gradient(
    180deg,
    rgba(248, 252, 255, 0.94),
    rgba(234, 241, 249, 0.92)
  );
  border-color: rgba(102, 125, 154, 0.34);
  box-shadow:
    0 6px 14px rgba(58, 78, 104, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.hero-main .cta-row .button-secondary:hover:not(:disabled) {
  background: linear-gradient(
    180deg,
    rgba(252, 254, 255, 0.96),
    rgba(238, 245, 252, 0.94)
  );
  border-color: rgba(92, 115, 145, 0.4);
}

.quote-card-feature {
  position: relative;
  min-height: 100%;
  padding: 30px;
  display: grid;
  align-content: center;
  gap: 18px;
  overflow: hidden;
}

.quote-card-feature::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -92px;
  bottom: -118px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(122, 143, 169, 0.22), transparent 70%);
  pointer-events: none;
}

.quote-card-feature strong {
  position: relative;
  z-index: 1;
  max-width: 15ch;
  font-size: clamp(2rem, 2.3vw, 2.7rem);
  line-height: 1.34;
  letter-spacing: -0.02em;
}


.theory-note {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 2px;
}

.theory-note p {
  max-width: 44ch;
}

@media (max-width: 640px) {
  .hero-main .cta-row {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .quote-card-feature strong {
    max-width: none;
  }
}


.hero-kicker {
  margin: 0 0 12px;
  color: #5b6c84;
  font-size: 0.96rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.quote-subline {
  margin: 0;
  color: #586b86;
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 24ch;
}

/* Home Trust / Science / Originality */
.topbar-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #31465f;
  background: rgba(245, 249, 253, 0.82);
  border: 1px solid rgba(103, 119, 145, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.topbar-link:hover {
  transform: translateY(-1px);
  border-color: rgba(78, 101, 131, 0.28);
  background: rgba(249, 252, 255, 0.92);
}

.home-proof-panel {
  padding: 20px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card-compact {
  padding: 22px 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(243, 247, 252, 0.92), rgba(233, 240, 248, 0.84));
  border: 1px solid rgba(103, 119, 145, 0.1);
}

.metric-value {
  display: block;
  color: #2b3e55;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.metric-label {
  margin: 10px 0 0;
  color: #5f7087;
  line-height: 1.65;
}

.home-science-panel,
.home-assurance-panel {
  display: grid;
  gap: 18px;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.science-card,
.assurance-card {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(243, 247, 252, 0.94), rgba(234, 240, 248, 0.86));
  border: 1px solid rgba(103, 119, 145, 0.12);
}

.science-card .section-title,
.assurance-card .section-title {
  font-size: 1.18rem;
}

.science-card .panel-subtitle,
.assurance-card .panel-subtitle {
  margin-top: 10px;
}

.assurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.assurance-pills {
  margin-top: 18px;
}

.assurance-copy {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(103, 119, 145, 0.12);
  color: #52647d;
  line-height: 1.75;
}

/* Paywall Rich Layout */
.paywall-panel {
  overflow: hidden;
}

.price-card-rich {
  display: grid;
  gap: 18px;
  align-content: start;
}

.price-context {
  margin-top: 8px;
  color: #5a6d86;
  font-size: 0.94rem;
  line-height: 1.6;
}

.price-highlights {
  display: grid;
  gap: 12px;
}

.price-highlight {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(246, 249, 253, 0.82);
  border: 1px solid rgba(103, 119, 145, 0.1);
}

.price-highlight h3 {
  margin: 0 0 6px;
  color: #283a50;
  font-size: 1rem;
}

.price-highlight p {
  margin: 0;
  color: #607188;
  line-height: 1.7;
}

.price-card-rich .button-row {
  margin-top: 0;
}

.price-assurance {
  margin-top: -4px;
}

.price-assurance .pill {
  background: rgba(231, 237, 245, 0.88);
}

.paywall-benefits-card,
.paywall-usage-card,
.paywall-original-card {
  background: linear-gradient(180deg, rgba(243, 247, 252, 0.9), rgba(235, 241, 248, 0.84));
}

.compact-benefits {
  gap: 12px;
}

.paywall-hesitation {
  padding: 4px 4px 0;
}

/* Share Card Redesign */
.share-card-premium {
  min-height: 520px;
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 214, 230, 0.18), transparent 22%),
    radial-gradient(circle at 18% 84%, rgba(186, 201, 221, 0.16), transparent 24%),
    linear-gradient(155deg, #18263a 0%, #233852 52%, #5d7592 100%);
}

.share-card-premium::after {
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(238, 245, 252, 0.16);
}

.share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.share-card-premium .share-pill {
  background: rgba(243, 248, 254, 0.14);
  border: 1px solid rgba(243, 248, 254, 0.2);
  color: rgba(245, 249, 255, 0.95);
}

.share-caption {
  color: rgba(230, 239, 249, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.share-main-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 22px;
  align-items: end;
}

.share-copy-block {
  display: grid;
  gap: 16px;
  align-content: start;
}

.share-subtitle {
  color: rgba(231, 240, 250, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.share-card-premium .share-title {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.98;
  max-width: 8ch;
}

.share-side-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(243, 248, 254, 0.12);
  border: 1px solid rgba(243, 248, 254, 0.18);
  backdrop-filter: blur(8px);
}

.share-side-label {
  color: rgba(230, 239, 249, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.share-side-card .share-line {
  margin: 12px 0 0;
  font-size: 1.22rem;
  line-height: 1.9;
}

.share-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.share-mini-note {
  max-width: 36rem;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(243, 248, 254, 0.08);
  border: 1px solid rgba(243, 248, 254, 0.12);
  color: rgba(241, 247, 255, 0.92);
  line-height: 1.75;
}

.share-brand {
  color: rgba(230, 239, 249, 0.72);
  text-align: right;
}

.share-actions-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.share-actions-panel .button-row {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .metrics-grid,
  .science-grid,
  .assurance-grid,
  .share-main-grid {
    grid-template-columns: 1fr 1fr;
  }

  .share-actions-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-actions-panel .button-row {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar-nav,
  .metrics-grid,
  .science-grid,
  .assurance-grid,
  .share-main-grid {
    grid-template-columns: 1fr;
  }

  .topbar-nav {
    margin-left: 0;
    width: 100%;
  }

  .share-head,
  .share-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-card-premium .share-title {
    max-width: none;
  }
}
/* Home Revision: Metrics / Privacy / Rights */
.metrics-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card-emoji {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 16px;
}

.metric-icon {
  font-size: 1.55rem;
  line-height: 1;
}

.metric-card-emoji .metric-value {
  font-size: 1.56rem;
}

.metric-card-emoji .metric-label {
  max-width: 14ch;
  margin-top: 0;
}

.science-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.privacy-panel {
  overflow: hidden;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 22px;
  align-items: stretch;
}

.privacy-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.privacy-pills {
  margin-top: 10px;
}

.privacy-pills .pill {
  background: rgba(232, 238, 246, 0.9);
}

.privacy-illustration {
  position: relative;
  min-height: 280px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 72% 26%, rgba(210, 223, 239, 0.3), transparent 24%),
    linear-gradient(180deg, rgba(237, 243, 250, 0.94), rgba(227, 236, 246, 0.86));
  border: 1px solid rgba(103, 119, 145, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.privacy-illustration::before,
.privacy-illustration::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(118, 140, 168, 0.12);
}

.privacy-illustration::before {
  width: 140px;
  height: 140px;
  left: -34px;
  bottom: -42px;
}

.privacy-illustration::after {
  width: 100px;
  height: 100px;
  right: 22px;
  top: 24px;
}

.privacy-emoji {
  position: relative;
  z-index: 1;
  font-size: 6rem;
  line-height: 1;
  filter: drop-shadow(0 14px 24px rgba(55, 74, 101, 0.12));
}

.privacy-floating {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(246, 250, 255, 0.82);
  border: 1px solid rgba(103, 119, 145, 0.12);
  box-shadow: 0 12px 24px rgba(44, 60, 83, 0.08);
  font-size: 1.4rem;
}

.privacy-floating-one {
  left: 46px;
  top: 42px;
}

.privacy-floating-two {
  right: 42px;
  bottom: 40px;
}

.theory-panel-tail {
  padding: 0;
}

.theory-note-tail {
  text-align: center;
}

.rights-panel {
  padding: 18px 20px;
}

.rights-note {
  padding: 18px 6px 2px;
}

.rights-note .panel-subtitle {
  margin-top: 12px;
}

@media (max-width: 960px) {
  .metrics-grid-compact,
  .science-grid-compact,
  .privacy-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .metrics-grid-compact,
  .science-grid-compact,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-illustration {
    min-height: 220px;
  }
}
/* Privacy / Rights Refinement */
.privacy-layout {
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
}

.privacy-copy {
  gap: 14px;
}

.privacy-copy .panel-subtitle {
  max-width: 38rem;
}

.privacy-pills {
  margin-top: 14px;
}

.privacy-pills .pill {
  min-width: 142px;
  justify-content: center;
  background: rgba(236, 242, 248, 0.92);
}

.privacy-illustration {
  min-height: 320px;
  padding: 26px;
  background:
    radial-gradient(circle at 24% 18%, rgba(212, 224, 239, 0.34), transparent 22%),
    linear-gradient(180deg, rgba(240, 245, 251, 0.96), rgba(231, 239, 248, 0.9));
}

.privacy-visual-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.74), rgba(233, 241, 249, 0.46));
  border: 1px solid rgba(103, 119, 145, 0.14);
  overflow: hidden;
}

.privacy-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(118, 140, 168, 0.18);
}

.privacy-orbit-one {
  inset: 28px 34px 36px 34px;
}

.privacy-orbit-two {
  inset: 64px 76px 74px 76px;
  border-style: dashed;
}

.privacy-device-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
  padding: 26px 22px 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.94), rgba(237, 243, 249, 0.92));
  border: 1px solid rgba(103, 119, 145, 0.16);
  box-shadow: 0 24px 48px rgba(58, 76, 103, 0.12);
}

.privacy-device-icon {
  position: relative;
  width: 56px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px 18px 16px 16px;
  background: linear-gradient(180deg, #365884, #6f89a8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.privacy-device-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 30px;
  height: 24px;
  transform: translateX(-50%);
  border: 4px solid #6f89a8;
  border-bottom: none;
  border-radius: 18px 18px 0 0;
}

.privacy-device-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 25px;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 0 1px rgba(255, 255, 255, 0.82);
}

.privacy-device-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(119, 139, 166, 0.18);
}

.privacy-device-line + .privacy-device-line {
  margin-top: 10px;
}

.privacy-device-line-short {
  width: 72%;
}

.privacy-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(247, 250, 255, 0.92);
  border: 1px solid rgba(103, 119, 145, 0.14);
  color: #4a5d75;
  box-shadow: 0 12px 20px rgba(53, 71, 95, 0.08);
}

.privacy-badge-top {
  left: 24px;
  top: 24px;
}

.privacy-badge-middle {
  right: 26px;
  top: 84px;
}

.privacy-badge-bottom {
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
}

.rights-panel {
  width: min(860px, 100%);
  justify-self: center;
  padding: 22px 24px;
}

.rights-note {
  max-width: 760px;
  margin: 0 auto;
  padding: 6px 0;
  text-align: center;
}

.rights-note .label {
  margin-inline: auto;
}

.rights-note .panel-subtitle {
  max-width: 42rem;
  margin: 14px auto 0;
}

.theory-panel-tail {
  order: 99;
}

.theory-note-tail p:first-child {
  font-weight: 500;
}

@media (max-width: 960px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .rights-panel {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .privacy-illustration {
    min-height: 260px;
    padding: 18px;
  }

  .privacy-visual-shell {
    min-height: 220px;
  }

  .privacy-device-card {
    width: 164px;
    padding: 22px 18px 18px;
  }

  .privacy-badge-top,
  .privacy-badge-middle,
  .privacy-badge-bottom {
    font-size: 0.85rem;
  }
}

/* Fine Tune: Privacy + Rights + Metrics */
.metric-card-emoji .metric-label {
  max-width: 16ch;
  white-space: nowrap;
}

.privacy-pill {
  gap: 10px;
  min-width: 168px;
}

.privacy-pill-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.privacy-visual-shell-minimal {
  min-height: 272px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.82), rgba(234, 241, 249, 0.56));
}

.privacy-grid {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(118, 140, 168, 0.14);
}

.privacy-grid-one {
  inset: 34px 46px;
}

.privacy-grid-two {
  inset: 74px 104px;
  border-style: dashed;
}

.privacy-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 182px;
  height: 182px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.88), rgba(223, 234, 246, 0.92));
  border: 1px solid rgba(103, 119, 145, 0.16);
  box-shadow: 0 18px 42px rgba(58, 76, 103, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.privacy-core::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 999px;
  border: 1px solid rgba(120, 141, 167, 0.16);
}

.privacy-core-kicker {
  position: relative;
  display: block;
  color: #7b8ea8;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.privacy-core-title {
  position: relative;
  display: block;
  margin-top: 8px;
  color: #344a66;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.privacy-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.95);
  border: 1px solid rgba(103, 119, 145, 0.14);
  color: #4a5d75;
  box-shadow: 0 14px 24px rgba(53, 71, 95, 0.08);
}

.privacy-node-icon {
  font-size: 1rem;
  line-height: 1;
}

.privacy-node-text {
  line-height: 1;
}

.privacy-node-left {
  left: 26px;
  top: 42px;
}

.privacy-node-right {
  right: 24px;
  top: 72px;
}

.privacy-node-bottom {
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
}

.rights-panel {
  width: min(700px, 100%);
  padding: 18px 20px;
}

.rights-note {
  max-width: 580px;
}

.rights-note .panel-subtitle {
  max-width: 34rem;
}

@media (max-width: 640px) {
  .privacy-pill {
    min-width: 0;
  }

  .privacy-core {
    width: 160px;
    height: 160px;
  }

  .privacy-node-left,
  .privacy-node-right,
  .privacy-node-bottom {
    position: static;
    transform: none;
  }

  .privacy-visual-shell-minimal {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 12px;
    padding: 18px;
  }

  .privacy-grid {
    display: none;
  }

  .privacy-core {
    position: static;
    transform: none;
  }
}

/* Rights Text Alignment Tweak */
.rights-note {
  margin: 0 auto;
  text-align: center;
}

.rights-note .label {
  margin-inline: auto;
}

.rights-note .panel-subtitle {
  max-width: 34rem;
  margin: 14px auto 0;
  text-align: left;
  text-wrap: pretty;
}
/* Dual Perspective Card Alignment */
.home-proof-panel .metric-card:nth-child(4) .metric-label {
  max-width: 11ch;
  white-space: normal;
  margin-inline: auto;
  text-align: center;
}

/* Metric Card Micro Alignment */
.metric-card-emoji .metric-label {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

.home-proof-panel .metric-card:nth-child(4) .metric-label {
  max-width: none;
  white-space: nowrap;
}

/* Home Metric Card Final Polish */
.home-proof-panel .metric-card:nth-child(1) .metric-label {
  max-width: none;
  white-space: nowrap;
  transform: translateX(-6px);
}

.home-proof-panel .metric-card:nth-child(4) .metric-label {
  max-width: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Pair Tail Note + Paywall Layout Refinement */
.pair-tail-panel {
  width: min(760px, 100%);
  margin: 14px auto 0;
  padding: 18px 20px;
}

.pair-tail-note {
  padding: 18px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(240, 245, 252, 0.94), rgba(231, 238, 247, 0.88));
  border: 1px solid rgba(103, 119, 145, 0.14);
  color: #586a81;
  text-align: center;
  line-height: 1.8;
}

.paywall-grid {
  align-items: start;
}

.price-card-rich {
  align-self: start;
  gap: 14px;
  padding: 24px 24px 22px;
}

.price-copy-block {
  display: grid;
  gap: 8px;
}

.price-copy-block .panel-subtitle {
  margin: 0;
}

.price-card-rich strong {
  margin: 0;
  line-height: 1;
}

.price-highlights {
  gap: 10px;
}

.price-highlight {
  padding: 14px 16px;
}

.price-card-rich .button-row {
  margin-top: 0;
  flex-wrap: wrap;
}

.price-card-rich .status-note {
  margin-top: 2px;
}

/* Paywall Illustration Polish */
.price-card-rich {
  display: flex;
  flex-direction: column;
}

.price-illustration {
  margin-top: auto;
  min-height: 196px;
  padding: 8px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(243, 248, 254, 0.9), rgba(233, 240, 248, 0.82));
  border: 1px solid rgba(103, 119, 145, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.price-illustration-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.paywall-hesitation {
  margin: 18px auto 0;
  width: fit-content;
  max-width: 100%;
  padding: 2px 6px 0;
  color: #5f7088;
  white-space: nowrap;
  font-size: 0.94rem;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .price-illustration {
    min-height: 172px;
  }

  .paywall-hesitation {
    white-space: normal;
  }
}

/* Final UI Polish: Pair Preview / Paywall / Share Poster */
.pair-preview-actions {
  margin-top: 30px;
  gap: 18px;
}

.pair-preview-actions .button {
  min-width: 188px;
}

.paywall-grid.paywall-grid-enhanced {
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 20px;
  align-items: stretch;
}

.paywall-side-stack {
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 18px;
  height: 100%;
  min-height: 100%;
}

.paywall-illustration-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
  background: linear-gradient(180deg, rgba(244, 248, 253, 0.94), rgba(233, 240, 248, 0.88));
}

.paywall-illustration-copy {
  display: grid;
  gap: 8px;
}

.paywall-illustration-copy .section-title {
  margin: 0;
  max-width: 12ch;
  font-size: 1.32rem;
}

.paywall-illustration-copy .panel-subtitle {
  margin: 0;
  max-width: 28rem;
}

.paywall-illustration-svg {
  display: block;
  width: 100%;
  height: auto;
}

.paywall-original-card-inline {
  margin-top: 18px;
}

.share-wrap {
  max-width: 860px;
  margin: 0 auto;
  justify-items: center;
}

.share-card-shell {
  width: min(100%, 458px);
}

.share-card.share-card-poster {
  min-height: auto;
  padding: 22px;
  aspect-ratio: 375 / 667;
  background:
    radial-gradient(circle at 82% 16%, rgba(236, 242, 250, 0.18), transparent 20%),
    radial-gradient(circle at 18% 84%, rgba(219, 228, 239, 0.16), transparent 24%),
    linear-gradient(180deg, #31455d 0%, #506680 54%, #7a8ea5 100%);
  box-shadow: 0 24px 54px rgba(53, 69, 94, 0.22);
}

.share-card.share-card-poster::after {
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(244, 248, 254, 0.16);
}

.share-card-poster .share-card-inner {
  min-height: 100%;
  gap: 20px;
}

.share-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(245, 249, 255, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.share-poster-main {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.share-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.12);
  border: 1px solid rgba(248, 251, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
}

.share-card-poster .share-title {
  margin: 0;
  max-width: 8.2ch;
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-align: center;
}

.share-emotion-line {
  margin: 0;
  max-width: 16ch;
  color: rgba(245, 249, 255, 0.76);
  font-size: 1rem;
  line-height: 1.78;
  text-align: center;
}

.share-object-card {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: rgba(248, 251, 255, 0.12);
  border: 1px solid rgba(248, 251, 255, 0.16);
  backdrop-filter: blur(8px);
}

.share-object-label {
  color: rgba(245, 249, 255, 0.72);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.share-object-text {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.14rem;
  line-height: 1.84;
  text-wrap: pretty;
}

.share-bottom-cta {
  color: rgba(245, 249, 255, 0.68);
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.share-actions-panel {
  width: min(100%, 780px);
  margin: 0 auto;
}

.share-actions-row {
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 960px) {
  .paywall-grid.paywall-grid-enhanced {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pair-preview-actions .button {
    min-width: 0;
    width: 100%;
  }

  .share-card-shell {
    width: 100%;
  }

  .share-card.share-card-poster {
    padding: 18px;
  }

  .share-card-poster .share-title {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 2.9rem);
  }

  .share-actions-row {
    width: 100%;
    justify-content: flex-start;
  }
}
/* Type System / Single Result / Share Board Final */
.single-result-moods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mood-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(239, 244, 250, 0.92);
  border: 1px solid rgba(103, 119, 145, 0.12);
  color: #52667f;
  font-size: 0.92rem;
  line-height: 1;
}

.mood-chip-emoji {
  font-size: 1rem;
}

.single-type-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.92fr);
  gap: 18px;
  margin: 18px 0 22px;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.54), transparent 26%),
    linear-gradient(180deg, rgba(244, 248, 253, 0.96), rgba(233, 240, 248, 0.88));
  border: 1px solid rgba(103, 119, 145, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.single-type-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.single-type-code {
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #24384f;
}

.single-type-kicker {
  color: #5c7089;
  font-size: 0.96rem;
  line-height: 1.6;
}

.single-type-art {
  display: grid;
  align-items: center;
  padding: 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.46), transparent 20%),
    linear-gradient(180deg, rgba(247, 250, 254, 0.88), rgba(236, 242, 249, 0.82));
  border: 1px solid rgba(103, 119, 145, 0.08);
}

.single-type-illustration-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(86, 104, 130, 0.08));
}

.capture-surface {
  display: grid;
}

.paywall-price-stack {
  grid-template-rows: auto 1fr;
  align-content: stretch;
  height: 100%;
}

.paywall-side-stack {
  grid-template-rows: auto 1fr;
  align-content: stretch;
  height: 100%;
}

.paywall-grid.paywall-grid-enhanced {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
}

.pair-preview-card {
  display: grid;
  gap: 20px;
}

.pair-preview-upgrade-intro {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.48), transparent 22%),
    linear-gradient(180deg, rgba(243, 247, 252, 0.94), rgba(235, 241, 248, 0.88));
}

.pair-preview-unlock-grid {
  margin-top: -2px;
}

.paywall-upgrade-actions {
  margin-top: 2px;
}

.paywall-upgrade-actions .button {
  min-width: 220px;
}

.paywall-illustration-card {
  gap: 14px;
}

.paywall-illustration-copy .section-title {
  max-width: none;
  white-space: nowrap;
  font-size: 1.16rem;
}

.paywall-brand-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: center;
  justify-items: center;
  min-height: 212px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(245, 249, 255, 0.96), rgba(235, 242, 250, 0.92) 46%, rgba(226, 235, 245, 0.78) 100%),
    linear-gradient(180deg, rgba(244, 248, 253, 0.94), rgba(231, 239, 248, 0.88));
}

.paywall-brand-mark {
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: clamp(4rem, 12vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: #2b3f57;
  text-shadow: 0 18px 34px rgba(126, 145, 170, 0.18);
}

.paywall-brand-copy {
  display: grid;
  gap: 10px;
  justify-items: center;
  max-width: 22rem;
}

.paywall-brand-copy .label {
  letter-spacing: 0.16em;
}

.paywall-brand-copy .panel-subtitle {
  margin: 0;
  text-align: center;
}

.paywall-benefits-card {
  display: grid;
  align-content: start;
  height: 100%;
}

.paywall-usage-card {
  display: grid;
  align-content: start;
  height: 100%;
}

.share-card-shell {
  width: min(100%, 592px);
}

.share-card.share-card-typeboard {
  min-height: auto;
  padding: 16px;
  background: linear-gradient(180deg, rgba(247, 250, 254, 0.96), rgba(235, 241, 248, 0.92));
  box-shadow: 0 28px 54px rgba(58, 76, 103, 0.16);
}

.share-card.share-card-typeboard::after {
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(112, 131, 157, 0.12);
}

.share-card-typeboard-inner {
  min-height: 100%;
  gap: 14px;
}

.share-top-row {
  justify-content: flex-start;
}

.share-hero-stage {
  display: grid;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 16%, rgba(236, 242, 250, 0.18), transparent 18%),
    linear-gradient(180deg, #536a84 0%, #7087a1 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.share-hero-kicker {
  color: rgba(245, 249, 255, 0.74);
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.share-hero-code {
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: clamp(4.4rem, 14vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-align: center;
}

.share-type-pill-strong {
  justify-self: center;
}

.share-card-typeboard .share-title {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: clamp(1.86rem, 6.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
}

.share-card-typeboard .share-emotion-line {
  max-width: none;
  margin: 0 auto;
  color: rgba(245, 249, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.share-hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.share-hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.12);
  border: 1px solid rgba(248, 251, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}

.share-card-typeboard .share-object-card {
  background: rgba(248, 251, 255, 0.12);
  border: 1px solid rgba(248, 251, 255, 0.16);
}

.share-card-typeboard .share-object-label {
  color: rgba(245, 249, 255, 0.72);
}

.share-card-typeboard .share-object-text {
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  line-height: 1.68;
}

.share-card-typeboard .share-bottom-cta {
  color: rgba(245, 249, 255, 0.68);
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.share-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.share-type-meta-card,
.share-brief-card {
  padding: 14px 16px 16px;
  border-radius: 24px;
  background: rgba(243, 247, 252, 0.9);
  border: 1px solid rgba(103, 119, 145, 0.12);
  min-height: 0;
}

.share-type-meta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
}

.share-brief-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.share-type-meta-card .label,
.share-brief-card .label {
  margin-bottom: 0;
}

.share-type-meta-card .section-title,
.share-brief-card .section-title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.14;
}

.share-meta-primary {
  margin: 0;
  color: #2f465f;
  font-family: "Iowan Old Style", "Palatino Linotype", "STSong", serif;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.18;
}

.share-meta-code {
  margin: 0;
  color: #506680;
  font-size: 0.96rem;
  line-height: 1.28;
}

.share-type-meta-card .panel-subtitle {
  margin: 0;
  line-height: 1.46;
}

.share-brief-card .panel-subtitle {
  margin: 0;
  line-height: 1.52;
}

.share-actions-panel {
  width: min(100%, 860px);
}

@media (max-width: 960px) {
  .single-type-panel,
  .paywall-grid.paywall-grid-enhanced,
  .share-type-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .single-type-panel {
    padding: 16px;
  }

  .share-card-shell {
    width: 100%;
  }

  .share-card.share-card-typeboard {
    padding: 16px;
  }

  .share-hero-stage {
    padding: 16px;
  }

  .share-hero-code {
    font-size: clamp(4rem, 18vw, 5rem);
  }

  .share-hero-tag-row {
    justify-content: flex-start;
  }

  .paywall-illustration-copy .section-title {
    white-space: normal;
  }
}

.activation-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 16% 18%, rgba(156, 175, 202, 0.28), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(97, 116, 145, 0.18), transparent 22%),
    linear-gradient(180deg, #f4f7fb 0%, #e8edf4 48%, #dbe3ee 100%);
}

.activation-card {
  background: rgba(248, 251, 255, 0.94);
  border: 1px solid rgba(103, 119, 145, 0.12);
  border-radius: 28px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(48, 63, 87, 0.14);
  backdrop-filter: blur(16px);
}

.activation-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}

.activation-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #213244;
  margin-bottom: 8px;
}

.activation-desc {
  text-align: center;
  color: #607188;
  margin-bottom: 24px;
}

.activation-visual {
  position: relative;
  height: 118px;
  margin: -4px 0 22px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(103, 119, 145, 0.08);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.54), transparent 28%),
    linear-gradient(180deg, rgba(243, 247, 252, 0.76), rgba(236, 242, 248, 0.64));
}

.activation-visual-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(150, 166, 187, 0.18);
}

.activation-visual-ring-one {
  inset: 18px 72px;
}

.activation-visual-ring-two {
  inset: 32px 108px;
  border-style: dashed;
  border-color: rgba(150, 166, 187, 0.22);
}

.activation-visual-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(115, 138, 164, 0.9), rgba(80, 101, 127, 0.82));
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.34);
}

.activation-float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(250, 252, 255, 0.84);
  border: 1px solid rgba(103, 119, 145, 0.08);
  box-shadow: 0 10px 22px rgba(91, 109, 135, 0.08);
  font-size: 1rem;
  animation: activationDrift 7.8s ease-in-out infinite;
}

.activation-float-badge-one {
  left: 72px;
  top: 24px;
}

.activation-float-badge-two {
  right: 78px;
  top: 18px;
  animation-delay: -2.2s;
}

.activation-float-badge-three {
  right: 62px;
  bottom: 16px;
  animation-delay: -4.1s;
}

@keyframes activationDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

.activation-buy-guide {
  background: linear-gradient(180deg, rgba(244, 248, 253, 0.96), rgba(237, 242, 248, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(103, 119, 145, 0.08);
  padding: 20px;
  margin-bottom: 24px;
}

.buy-title {
  font-size: 14px;
  color: #607188;
  text-align: center;
  margin-bottom: 12px;
}

.buy-channels {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.buy-channel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.buy-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(70, 88, 116, 0.14);
}

.buy-channel.xiaohongshu {
  background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%);
  color: white;
}

.buy-channel.xianyu {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: white;
}

.channel-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.channel-name {
  font-size: 12px;
  font-weight: 500;
}

.buy-tip {
  font-size: 12px;
  color: #7b8b9f;
  text-align: center;
}

.activation-form {
  margin-bottom: 20px;
}

.activation-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(112, 131, 157, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  text-align: center;
  letter-spacing: 8px;
  font-family: "Courier New", monospace;
  color: #26384c;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  margin-bottom: 12px;
}

.activation-input:focus {
  outline: none;
  border-color: #6e89a5;
  box-shadow: 0 0 0 4px rgba(110, 137, 165, 0.12);
}

.activation-input::placeholder {
  letter-spacing: 1px;
  font-size: 14px;
  color: #9ca3af;
}

.activation-error {
  background: rgba(252, 234, 234, 0.92);
  color: #b14b5d;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 12px;
}

.activation-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #50657f 0%, #738aa4 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.activation-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(80, 101, 127, 0.28);
}

.activation-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.activation-note {
  text-align: center;
}

.activation-note p {
  font-size: 12px;
  color: #7f90a4;
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .activation-card {
    padding: 24px;
  }
  
  .buy-channels {
    flex-direction: column;
  }

  .activation-visual {
    height: 104px;
  }

  .activation-visual-ring-one {
    inset: 16px 38px;
  }

  .activation-visual-ring-two {
    inset: 30px 74px;
  }

  .activation-float-badge-one {
    left: 28px;
  }

  .activation-float-badge-two {
    right: 30px;
  }

  .activation-float-badge-three {
    right: 24px;
    bottom: 12px;
  }
  
  .activation-input {
    letter-spacing: 6px;
    font-size: 16px;
  }

  .paywall-upgrade-actions .button {
    width: 100%;
    min-width: 0;
  }
}
