:root {
  --ink: #2a2140;
  --muted: #6d5a8c;
  --body: #4a3d63;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --amber: #fbbf24;
  --mint: #34d399;
  --card: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.95);
  --shadow: 0 12px 30px rgba(139, 92, 246, 0.16);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fbf5ff;
  scrollbar-width: none;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.75), transparent 28rem),
    linear-gradient(180deg, #f2e9ff 0%, #ffedf6 55%, #fff6ee 100%);
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

#app {
  min-height: 100vh;
}

.app-frame {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(180deg, #f2e9ff 0%, #ffedf6 55%, #fff6ee 100%);
  box-shadow: 0 0 0 1px rgba(42, 33, 64, 0.04), 0 30px 80px rgba(42, 33, 64, 0.18);
}

.app-frame.detail {
  background: linear-gradient(180deg, #ffe7ef 0%, #f5ecff 50%, #fbfaff 100%);
}

.app-frame.checkout,
.app-frame.share {
  background: linear-gradient(180deg, #f4ecff 0%, #fff0f8 56%, #fff8f0 100%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 60px;
  padding: 1rem 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff2c8, #ffe0c2);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.brand-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.12);
}

.nav-title {
  flex: 1;
  text-align: center;
  color: var(--violet);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-spacer {
  width: 44px;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 0.75rem 1.25rem 0;
  gap: 1rem;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.35rem, 10vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.accent {
  color: var(--violet);
}

.hero p {
  max-width: 21rem;
  margin: 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-stage {
  position: relative;
  height: 300px;
  margin: 0 -1.25rem;
  overflow: hidden;
}

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  z-index: 1;
  content: "";
  border-radius: 999px;
  filter: blur(32px);
}

.hero-stage::before {
  top: -40px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-stage::after {
  right: 10px;
  bottom: 10px;
  width: 140px;
  height: 140px;
  background: rgba(52, 211, 153, 0.35);
}

.hero-image,
.photo-fill {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-with-icon {
  gap: 0.9rem;
}

.cta-icon {
  display: grid;
  width: 24px;
  height: 24px;
  min-width: 24px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--violet);
}

.cta-icon.large {
  width: 26px;
  height: 26px;
  min-width: 26px;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.42);
}

.cta.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.12);
}

.section {
  padding: 2.25rem 1.25rem 0;
}

.section h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.gallery-scroll {
  display: flex;
  gap: 0.9rem;
  margin: 0 -1.25rem 0 0;
  padding: 0 1.25rem 0.4rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.figure-card {
  display: flex;
  width: 158px;
  min-width: 158px;
  height: 250px;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
}

.card-image {
  position: relative;
  height: 128px;
  overflow: hidden;
}

.number-pill {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(42, 33, 64, 0.85);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem;
}

.card-body h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  line-height: 1.25;
}

.risk-row {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: #64748b;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
}

.star {
  width: 12px;
  height: 12px;
  color: var(--pink);
}

.star.pink {
  color: var(--pink);
}

.star.amber {
  color: var(--amber);
}

.star.card {
  color: var(--amber);
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
}

.star.empty,
.star.empty.amber {
  color: #e2c9ef;
}

.star.empty.card {
  color: rgba(255, 255, 255, 0.45);
}

.risk-value {
  margin-left: 0.2rem;
}

.card-body p {
  margin: 0;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.45;
}

.tagline-strip {
  padding: 2.6rem 1.25rem 2rem;
}

.tagline-strip h2 {
  max-width: 20rem;
  margin-bottom: 0.4rem;
}

.tagline-strip p {
  margin: 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

.detail-page {
  padding: 1rem 1.25rem 1.5rem;
}

.preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.preview-stage {
  position: relative;
  height: 360px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: radial-gradient(circle, #ffd9e6 0%, #e8ccff 60%, #ffe8d2 100%);
  box-shadow: 0 24px 60px rgba(244, 114, 182, 0.3);
}

.thumb-row {
  display: flex;
  gap: 0.65rem;
}

.thumb {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--violet);
}

.thumb.active {
  border-color: var(--violet);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.thumb span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.5rem;
  font-weight: 700;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
}

.detail-info h1 {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 1.88rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.detail-info .tagline {
  margin: 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
}

.detail-stars {
  font-size: 0.76rem;
}

.quote {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-style: italic;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
}

.info-card h2,
.info-card h3 {
  margin: 0;
}

.info-card h2 {
  color: var(--violet);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
}

.warning-dot {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber);
}

.info-card p {
  margin: 0;
  color: var(--body);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
}

.info-card .small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.cta-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
}

.price-block {
  min-width: 72px;
}

.price-block span {
  display: block;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
}

.price-block strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.cta-bar .cta {
  flex: 1;
  min-height: 56px;
}

.checkout-content,
.share-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 1.5rem;
}

.checkout {
  background: linear-gradient(180deg, #efe7ff 0%, #fff2f9 70%, #fbfaff 100%);
}

.checkout .nav,
.share .nav {
  min-height: 48px;
  padding-top: 1rem;
}

.reserve-title,
.share-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.reserve-title h1,
.share-title h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.reserve-title p {
  margin: 0.12rem 0 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
}

.summary-card,
.checkout-panel,
.collector-card,
.share-actions {
  border: 2px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 44px rgba(139, 92, 246, 0.15);
}

.summary-card {
  display: flex;
  gap: 0.9rem;
  padding: 0.75rem;
  border-radius: 22px;
}

.summary-thumb {
  position: relative;
  width: 86px;
  min-width: 86px;
  height: 86px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 16px;
}

.summary-copy h1,
.checkout-panel h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.summary-copy h1 {
  font-size: 1rem;
  line-height: 1.1;
}

.summary-copy p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
}

.summary-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.25rem 0.62rem;
  border: 1px solid #cbb8ee;
  border-radius: 999px;
  background: #efe7ff;
  color: var(--violet);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
}

.summary-copy .summary-quote {
  margin-top: 0.25rem;
  color: #be185d;
  font-size: 0.68rem;
  font-style: italic;
  font-weight: 600;
}

.checkout-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.size-heading {
  color: var(--violet);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.size-options {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.size-row {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  padding: 0.85rem 1rem;
  text-align: left;
}

.size-row.selected {
  border-color: var(--violet);
  background: #fff;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.18);
}

.radio-dot {
  display: block;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #cbb8ee;
  border-radius: 999px;
}

.size-row.selected .radio-dot {
  border: 6px solid var(--violet);
}

.size-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.size-copy strong {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
}

.size-copy small {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
}

.size-price {
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

.confirmation {
  display: none;
  padding: 0.8rem 0.9rem;
  border: 2px solid rgba(52, 211, 153, 0.45);
  border-radius: 18px;
  background: rgba(236, 253, 245, 0.8);
  color: #166534;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
}

.confirmation.visible {
  display: block;
}

.confirmation.error {
  border-color: rgba(244, 63, 94, 0.42);
  background: rgba(255, 241, 242, 0.88);
  color: #9f1239;
}

.stripe-panel,
.success-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(139, 92, 246, 0.15);
  padding: 1rem;
}

.stripe-mark {
  width: fit-content;
  border-radius: 10px;
  background: #635bff;
  color: #fff;
  padding: 0.2rem 0.55rem 0.28rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stripe-panel h1,
.success-panel h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.05;
}

.stripe-panel p,
.success-panel p {
  margin: 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
}

.stripe-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 1rem;
}

.stripe-total span,
.test-card span,
.test-card small,
.success-panel dt {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.stripe-total strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.test-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border: 2px dashed #cbb8ee;
  border-radius: 18px;
  background: #f8f3ff;
  padding: 0.85rem 1rem;
}

.test-card strong {
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.success-badge {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--violet);
  color: var(--amber);
}

.success-panel dl {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
}

.success-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding-bottom: 0.5rem;
}

.success-panel dd {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: right;
  word-break: break-all;
}

.reveal-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1.5rem;
  background: linear-gradient(180deg, #f5eeff 0%, #fff0f8 55%, #fff8f0 100%);
}

.reveal-stage {
  position: relative;
  display: grid;
  height: 440px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: radial-gradient(circle, #fff6e2 0%, #f7dfff 46%, #e2ccff 100%);
  box-shadow: 0 24px 60px rgba(139, 92, 246, 0.28);
}

.reveal-stage::before {
  position: absolute;
  z-index: 1;
  width: 260px;
  height: 260px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(24px);
}

.confetti {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  opacity: 0;
}

.confetti.square {
  border-radius: 3px;
  transform: rotate(24deg);
}

.blind-box {
  position: absolute;
  z-index: 3;
  width: 210px;
  height: 190px;
  transform-origin: 50% 80%;
}

.box-face,
.box-lid {
  position: absolute;
  left: 50%;
  width: 176px;
  border: 3px solid var(--ink);
  background: linear-gradient(135deg, #ffe58a 0%, #ffb4d2 100%);
  box-shadow: 0 16px 34px rgba(42, 33, 64, 0.18);
  transform: translateX(-50%);
}

.box-face {
  bottom: 0;
  height: 138px;
  overflow: hidden;
  border-radius: 22px 22px 28px 28px;
}

.box-lid {
  top: 4px;
  z-index: 4;
  height: 56px;
  border-radius: 20px;
  transform-origin: 16% 100%;
}

.box-lid span {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 54px;
  height: 34px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: #ffe58a;
  transform: translateX(-50%);
}

.box-ribbon {
  position: absolute;
  z-index: 5;
  border: 3px solid var(--ink);
  background: var(--violet);
}

.box-ribbon.vertical {
  left: 50%;
  bottom: 0;
  width: 30px;
  height: 150px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}

.box-ribbon.horizontal {
  left: 17px;
  bottom: 76px;
  width: 176px;
  height: 28px;
  transform-origin: 50% 50%;
}

.box-face-dot {
  position: absolute;
  top: 58px;
  z-index: 6;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ink);
}

.box-face-dot.left {
  left: 58px;
}

.box-face-dot.right {
  right: 58px;
}

.box-smile {
  position: absolute;
  top: 76px;
  left: 50%;
  z-index: 6;
  width: 38px;
  height: 18px;
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.box-glow {
  position: absolute;
  top: 36%;
  left: 50%;
  z-index: 2;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(251, 191, 36, 0.38) 46%, rgba(244, 114, 182, 0) 72%);
  filter: blur(9px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.reveal-canvas {
  position: absolute;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.reveal-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.eyebrow {
  color: var(--violet);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal-info h1 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.88rem;
  font-weight: 800;
  line-height: 1.05;
}

.progress-track {
  width: 220px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9ddff;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--pink));
}

.collector-card {
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: linear-gradient(155deg, var(--violet) 0%, var(--pink) 100%);
  box-shadow: 0 26px 56px rgba(139, 92, 246, 0.4);
}

.collector-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.card-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.card-logo {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff2c8, #ffe0c2);
}

.collector-image {
  position: relative;
  height: 290px;
  margin: 0 1rem;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: radial-gradient(circle, #fff 0%, #fce9ff 75%);
}

.risk-seal {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.risk-seal strong,
.risk-seal small {
  display: block;
  line-height: 1;
}

.risk-seal strong {
  align-self: end;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.risk-seal small {
  align-self: start;
  font-family: "Inter", sans-serif;
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.collector-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.9rem 1.1rem 1.1rem;
}

.collector-body h1 {
  margin: 0;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.card-risk {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
}

.card-risk .risk-value {
  color: #fff;
}

.card-caption {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(42, 33, 64, 0.35);
  color: #fff;
  padding: 0.65rem 0.85rem;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.4;
}

.card-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--ink);
  color: #fff;
  padding: 0.62rem 1.1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.share-actions .cta {
  flex: 1;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: none;
  max-width: 390px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(42, 33, 64, 0.2);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.toast.visible {
  display: block;
}

@media (min-width: 720px) {
  body {
    padding: 2rem 0;
  }

  .app-frame,
  .reveal-page {
    min-height: calc(100vh - 4rem);
    border-radius: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
