:root {
  color-scheme: dark;
  --bg: #061a2c;
  --bg-deep: #031121;
  --ink: #edffff;
  --muted: #93aabe;
  --cyan: #43e7ff;
  --cyan-soft: rgba(67, 231, 255, 0.22);
  --panel: rgba(7, 29, 49, 0.78);
  --line: rgba(105, 232, 255, 0.22);
  --pink: #f358b8;
  --green: #44d781;
  --red: #ff665f;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(31, 132, 166, 0.28), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

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

form {
  margin: 0;
}

.cosmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.sun,
.orbit,
.star {
  position: absolute;
  display: block;
}

.sun {
  width: 360px;
  height: 360px;
  border: 2px solid rgba(26, 165, 190, 0.35);
  border-radius: 50%;
}

.sun::before,
.sun::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px dashed rgba(119, 221, 233, 0.18);
  border-radius: 50%;
}

.sun-left {
  left: -210px;
  top: 132px;
}

.sun-right {
  right: -230px;
  top: 90px;
}

.orbit {
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.orbit-left {
  left: -230px;
  top: -44px;
}

.orbit-right {
  right: -80px;
  bottom: -160px;
}

.star {
  width: 22px;
  height: 22px;
  background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0.55;
}

.star-a {
  left: 22%;
  top: 26%;
}

.star-b {
  right: 18%;
  top: 47%;
}

.star-c {
  left: 14%;
  bottom: 16%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo span {
  color: var(--cyan);
}

.menu-button {
  display: grid;
  gap: 5px;
  width: 38px;
  border: 0;
  padding: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.header-link,
.site-footer a {
  color: #9df5ff;
  text-decoration: none;
}

.policy-card a {
  color: #9df5ff;
}

.header-link {
  font-weight: 800;
}

.screen {
  display: none;
  width: min(860px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 92px 0 46px;
  text-align: center;
}

.screen.is-active {
  display: grid;
  align-content: center;
  justify-items: center;
}

.hero {
  padding-top: 96px;
}

.hero-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-ornament span {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 10px var(--cyan);
}

.hero-ornament b {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(67, 231, 255, 0.12), 0 0 30px var(--cyan);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: 46px;
  line-height: 1.14;
  font-weight: 700;
}

h2 {
  max-width: 680px;
  font-size: 38px;
  line-height: 1.18;
}

h3 {
  font-size: 22px;
}

.pill {
  margin-top: 12px;
  padding: 5px 22px 7px;
  border-radius: 999px;
  background: rgba(42, 177, 216, 0.18);
  color: #7af4ff;
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(67, 231, 255, 0.7);
}

.palm-hero {
  position: relative;
  width: min(620px, 92vw);
  height: 300px;
  margin: 28px 0 26px;
}

.hand-art {
  position: absolute;
  left: 28px;
  top: -12px;
  width: 330px;
  height: 330px;
  object-fit: contain;
  border-radius: 28px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 26px rgba(67, 231, 255, 0.18));
}

.timeline {
  position: absolute;
  right: 12px;
  top: 46px;
  display: grid;
  gap: 26px;
  text-align: left;
}

.timeline::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 12px;
  width: 1px;
  height: 166px;
  border-left: 2px dashed rgba(255, 255, 255, 0.48);
}

.timeline div {
  position: relative;
  display: grid;
  gap: 4px;
}

.timeline div::before {
  content: "";
  position: absolute;
  left: -44px;
  top: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(43, 79, 121, 0.8);
  box-shadow: 0 0 18px rgba(67, 231, 255, 0.25);
}

.timeline b {
  font-size: 16px;
}

.timeline span {
  color: var(--muted);
  font-size: 13px;
}

.primary-button,
.secondary-button,
.upload-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(300px, 100%);
  min-height: 60px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.primary-button,
.upload-button {
  color: #052033;
  background: linear-gradient(180deg, #67f2ff, #39d4ec);
  box-shadow: 0 0 0 5px rgba(67, 231, 255, 0.1), 0 12px 28px rgba(30, 216, 238, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.primary-button:hover,
.upload-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 0 0 6px rgba(67, 231, 255, 0.13), 0 16px 34px rgba(30, 216, 238, 0.34);
}

.secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.quiz,
.result {
  gap: 22px;
}

#result > h2,
#result > .benefits {
  display: none;
}

.progress {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--cyan);
}

.progress span {
  font-size: 30px;
  font-weight: 800;
}

.progress p {
  color: var(--muted);
  font-size: 18px;
}

.subtitle {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.55;
}

.scanner-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(8, 34, 57, 0.74);
  box-shadow: inset 0 0 44px rgba(67, 231, 255, 0.1);
}

.scanner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #fff;
}

.empty-state svg {
  width: 120px;
  height: 120px;
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 30%;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(67, 231, 255, 0.34), transparent);
  border-top: 1px solid rgba(67, 231, 255, 0.75);
  border-bottom: 1px solid rgba(67, 231, 255, 0.75);
}

.scanner-card.scanning .scan-line {
  opacity: 1;
  animation: scan 1.4s linear infinite;
}

@keyframes scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(560px);
  }
}

.upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.scan-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 100%);
  padding: 0;
  margin: 0;
  list-style: none;
}

.scan-steps li {
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.scan-steps li.active,
.scan-steps li.done {
  color: #fff;
  border-color: rgba(67, 231, 255, 0.65);
  background: var(--cyan-soft);
}

.single-field,
.choice-grid,
.locked-box,
#freeSummary,
#fullReport,
.result-card,
.insight-card,
.summary-card,
.benefits {
  width: min(520px, 100%);
}

.single-field {
  display: grid;
  gap: 10px;
  text-align: left;
}

.single-field span {
  color: #c8f8ff;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 17px 18px;
  outline: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(67, 231, 255, 0.12);
}

textarea {
  resize: vertical;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.choice-grid label {
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.choice-grid input:checked + span {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  box-shadow: 0 0 24px rgba(67, 231, 255, 0.18);
  transform: translateY(-1px);
}

.disclaimer {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.insight-card,
.summary-card,
.benefits {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.5;
}

.zodiac-summary-card {
  overflow: hidden;
  gap: 14px;
  padding: 28px 24px;
  border-color: rgba(67, 231, 255, 0.42);
  background:
    radial-gradient(circle at 50% 18%, rgba(67, 231, 255, 0.24), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(243, 88, 184, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(10, 49, 78, 0.92), rgba(6, 26, 44, 0.9));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26), inset 0 0 44px rgba(67, 231, 255, 0.08);
}

.zodiac-summary-card::before,
.zodiac-summary-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.zodiac-summary-card::before {
  inset: -120px -80px auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(67, 231, 255, 0.16);
}

.zodiac-summary-card::after {
  left: -90px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.summary-orbit {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
}

.summary-orbit span {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px var(--cyan);
}

.summary-orbit b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(67, 231, 255, 0.1), 0 0 30px rgba(67, 231, 255, 0.8);
}

.summary-kicker {
  position: relative;
  z-index: 1;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-palm {
  width: 104px;
  height: 104px;
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zodiac-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.zodiac-list span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.summary-zodiac-list span {
  min-height: 74px;
  align-content: center;
  border-color: rgba(67, 231, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 0 22px rgba(67, 231, 255, 0.05);
}

.zodiac-list b {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.summary-zodiac-list b {
  color: #fff;
  font-size: 16px;
}

.zodiac-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.summary-zodiac-name {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.accuracy {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--bg) 58%, transparent 59%),
    conic-gradient(var(--cyan) 0 34%, rgba(255, 255, 255, 0.1) 34% 100%);
  box-shadow: 0 0 38px rgba(67, 231, 255, 0.24);
}

.accuracy b {
  font-size: 42px;
}

.accuracy span {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: 80px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.summary-avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, #edffff, var(--cyan) 30%, rgba(67, 231, 255, 0.18) 64%),
    rgba(67, 231, 255, 0.16);
  color: var(--cyan);
  font-size: 44px;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 10px rgba(67, 231, 255, 0.08), 0 0 34px rgba(67, 231, 255, 0.42);
}

dl {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  text-align: left;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  color: #fff;
  text-align: right;
  overflow-wrap: anywhere;
}

.upload-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(520px, 100%);
}

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

.secondary-upload {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  box-shadow: none;
}

.scan-status {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.scan-status b {
  color: var(--cyan);
  font-size: 32px;
}

.final-cta {
  margin-top: -10px;
}

#freeSummary {
  display: grid;
  gap: 12px;
}

#freeSummary p,
.report-section {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.55;
  text-align: left;
}

.report-section {
  position: relative;
  overflow: hidden;
}

.report-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.report-section h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
}

.report-section p {
  color: #c8dce8;
  font-size: 14px;
}

.result-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(67, 231, 255, 0.42);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(67, 231, 255, 0.28), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(243, 88, 184, 0.18), transparent 30%),
    linear-gradient(155deg, rgba(7, 29, 49, 0.94), rgba(4, 18, 34, 0.96));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 0 44px rgba(67, 231, 255, 0.08);
  text-align: left;
}

.result-card > span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-card h3 {
  font-size: 26px;
  line-height: 1.15;
}

.result-card > p {
  color: var(--muted);
  line-height: 1.45;
}

#cardBullets {
  display: grid;
  gap: 10px;
}

#cardBullets div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

#cardBullets b {
  color: #fff;
}

#cardBullets span {
  color: #c8dce8;
  font-size: 13px;
  line-height: 1.45;
}

.locked-box {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.locked-box p {
  color: var(--muted);
  line-height: 1.5;
}

.paywall-box {
  position: relative;
  justify-items: center;
  gap: 18px;
  padding: 34px 34px 28px;
  border-radius: 24px;
  overflow: hidden;
  border-color: rgba(67, 231, 255, 0.38);
  background:
    radial-gradient(circle at 50% 0, rgba(67, 231, 255, 0.18), transparent 32%),
    rgba(9, 42, 68, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), inset 0 0 42px rgba(67, 231, 255, 0.06);
}

.paywall-close,
.payment-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.paywall-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cyan);
}

.paywall-ornament span {
  width: 92px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.paywall-ornament b {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(67, 231, 255, 0.12), 0 0 30px var(--cyan);
}

.paywall-benefits {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 24px;
  color: #ecffff;
  font-size: 27px;
  line-height: 1.25;
  text-align: left;
}

.price-pill {
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(67, 231, 255, 0.1);
  color: var(--cyan);
  font-weight: 800;
}

.offer-timer {
  color: var(--cyan);
  font-size: 70px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.paywall-email {
  width: 100%;
}

.paywall-email input {
  text-align: center;
}

.paywall-note {
  color: var(--muted);
  font-size: 13px;
}

.paywall-note a {
  color: #9df5ff;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(0, 7, 12, 0.76);
}

.payment-modal[hidden] {
  display: none;
}

.payment-dialog {
  position: relative;
  width: min(632px, 100%);
  padding: 38px 32px 32px;
  border-radius: 20px;
  background: #fff;
  color: #101521;
  text-align: left;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.payment-close {
  background: #f5f5f5;
  color: #111;
  font-size: 28px;
}

.payment-dialog h3,
.payment-dialog h4 {
  margin: 0;
}

.payment-dialog h3 {
  margin-bottom: 24px;
}

.payment-group {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: #f6f6f6;
}

.payment-group + .payment-group {
  margin-top: 14px;
}

.payment-widget {
  min-height: 340px;
}

.pay-method {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.pay-method:disabled {
  cursor: wait;
  opacity: 0.65;
}

.pay-method span {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: #14aa4c;
  font-size: 14px;
}

.sber-pay {
  background: linear-gradient(100deg, #c7ff00, #10bf45, #24b6e1);
}

.sber-card {
  background: #1fa238;
}

.tinkoff-pay {
  background: #ffdc34;
  color: #111;
}

.bank-card {
  background: #090d19;
}

.payment-status {
  min-height: 20px;
  margin-top: 14px;
  color: #566070;
  font-size: 14px;
  text-align: center;
}

.payment-done {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: #101521;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

#fullReport {
  margin: 0;
  padding: 20px;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8fbff;
  line-height: 1.55;
  text-align: left;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  width: min(860px, calc(100vw - 32px));
  margin: -26px auto 28px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.policy-page {
  width: min(920px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 112px 0 48px;
}

.cabinet-page {
  display: grid;
  place-items: start center;
  width: min(780px, calc(100vw - 32px));
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 112px 0 48px;
}

.policy-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 29, 49, 0.86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.cabinet-card {
  display: grid;
  gap: 22px;
  width: 100%;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 29, 49, 0.86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.policy-card h1,
.policy-card h2,
.policy-card p,
.policy-card li {
  text-align: left;
}

.policy-card h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: 40px;
}

.policy-card h2 {
  max-width: none;
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 24px;
}

.policy-card p,
.policy-card li {
  color: #c5d5e2;
  line-height: 1.65;
}

.policy-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.policy-kicker {
  margin-bottom: 8px;
  color: var(--cyan) !important;
  font-weight: 800;
}

.policy-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.cabinet-login {
  display: grid;
  gap: 14px;
  width: min(480px, 100%);
  margin: 0 auto;
}

.cabinet-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  text-align: left;
}

.cabinet-profile span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.cabinet-profile b {
  color: #fff;
}

.cabinet-reports {
  display: grid;
  gap: 14px;
}

.cabinet-report,
.cabinet-empty {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}

.cabinet-report h3 {
  margin: 0 0 8px;
  color: #fff;
}

.cabinet-report p {
  margin: 8px 0 0;
  color: #c8dce8;
  line-height: 1.5;
}

.cabinet-badge {
  display: inline-flex;
  margin-top: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.cabinet-badge.paid {
  background: rgba(68, 215, 129, 0.18);
  color: #6df6a2;
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 16px;
  }

  .logo {
    font-size: 22px;
  }

  .screen {
    width: min(100%, calc(100vw - 24px));
    min-height: 100svh;
    padding-top: 76px;
    padding-bottom: 34px;
    gap: 16px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  h2 {
    font-size: 25px;
    line-height: 1.18;
  }

  h3 {
    font-size: 19px;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.45;
  }

  .pill {
    font-size: 18px;
  }

  .palm-hero {
    width: min(100%, 380px);
    height: 370px;
    margin: 18px 0;
  }

  .hand-art {
    left: 50%;
    top: -4px;
    width: min(320px, 90vw);
    height: min(320px, 90vw);
    transform: translateX(-50%);
  }

  .timeline {
    top: 252px;
    right: auto;
    left: 50%;
    width: 220px;
    gap: 16px;
    transform: translateX(-34%);
  }

  .timeline::before {
    height: 126px;
  }

  .primary-button,
  .secondary-button,
  .upload-button,
  .ghost-button {
    width: min(100%, 320px);
    min-height: 54px;
    font-size: 16px;
  }

  .scanner-card {
    width: min(100%, 340px);
    border-radius: 22px;
  }

  .empty-state {
    padding: 18px;
  }

  .empty-state svg {
    width: 92px;
    height: 92px;
  }

  .empty-state strong {
    font-size: 14px;
    line-height: 1.35;
  }

  .choice-grid span {
    min-height: 54px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.25;
  }

  .insight-card,
  .summary-card,
  .benefits,
  .result-card,
  .locked-box,
  #fullReport {
    padding: 18px;
    border-radius: 22px;
  }

  .summary-avatar {
    width: 78px;
    height: 78px;
    font-size: 36px;
  }

  dl {
    gap: 8px;
  }

  dl div {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
  }

  dd {
    text-align: left;
  }

  .zodiac-list span {
    grid-template-columns: minmax(76px, auto) 1fr;
    align-items: center;
    gap: 6px 10px;
    padding: 11px 12px;
    text-align: left;
  }

  .zodiac-list small {
    text-align: right;
  }

  .scan-steps,
  .choice-grid,
  .choice-grid.two,
  .zodiac-list,
  .upload-actions {
    grid-template-columns: 1fr;
  }

  .paywall-box {
    gap: 14px;
    padding: 24px 16px 20px;
  }

  .paywall-close,
  .payment-close {
    top: 10px;
    right: 10px;
  }

  .paywall-ornament span {
    width: 58px;
  }

  .paywall-benefits {
    width: 100%;
    padding-left: 20px;
    font-size: 21px;
  }

  .offer-timer {
    font-size: 52px;
  }

  .payment-modal {
    align-items: start;
    padding: 12px;
  }

  .payment-dialog {
    width: 100%;
    margin: 18px 0;
    padding: 30px 16px 18px;
    border-radius: 18px;
  }

  .payment-dialog h3 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .payment-widget {
    min-height: 300px;
  }

  .policy-page,
  .cabinet-page {
    width: min(100%, calc(100vw - 24px));
    padding-top: 82px;
  }

  .policy-card,
  .cabinet-card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .policy-card h1 {
    font-size: 28px;
  }

  .cabinet-profile {
    display: grid;
  }
}

@media (max-width: 380px) {
  .screen {
    width: min(100%, calc(100vw - 18px));
    padding-top: 70px;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 22px;
  }

  .palm-hero {
    height: 340px;
  }

  .hand-art {
    width: min(290px, 88vw);
    height: min(290px, 88vw);
  }

  .timeline {
    top: 228px;
    transform: translateX(-32%);
  }

  .zodiac-list span {
    grid-template-columns: 1fr;
  }

  .zodiac-list small {
    text-align: left;
  }

  .paywall-benefits {
    font-size: 19px;
  }

  .offer-timer {
    font-size: 46px;
  }
}
