:root {
  --ink: #111827;
  --ink-soft: #1f2937;
  --paper: #f9fafb;
  --muted: #cbd5e1;
  --line: rgba(148, 163, 184, 0.28);
  --gold: #f7c948;
  --coral: #ef6f6c;
  --teal: #2dd4bf;
  --violet: #8b5cf6;
  --panel: rgba(17, 24, 39, 0.74);
  --panel-solid: #172033;
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.08), var(--ink) 58%),
    linear-gradient(125deg, rgba(45, 212, 191, 0.14), transparent 36%),
    linear-gradient(295deg, rgba(239, 111, 108, 0.12), transparent 42%),
    var(--ink);
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: max(env(safe-area-inset-top), 12px) clamp(16px, 4vw, 48px) 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 24, 39, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 201, 72, 0.54);
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.brand-subtitle {
  max-width: 280px;
  color: rgba(249, 250, 251, 0.62);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-nav {
  display: flex;
  gap: 22px;
  color: rgba(249, 250, 251, 0.72);
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.nav-action,
.service-select,
.unlock-button,
.lead-row button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  border: 0;
  padding: 0 18px;
  font-weight: 800;
}

.nav-action,
.primary-action,
.unlock-button {
  color: #111827;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(247, 201, 72, 0.2);
}

.secondary-action,
.service-select,
.lead-row button {
  border: 1px solid rgba(249, 250, 251, 0.2);
  color: #ffffff;
  background: rgba(249, 250, 251, 0.08);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 94svh;
  padding: 118px clamp(18px, 6vw, 72px) 82px;
}

.hero-media,
.hero-media img,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.8) contrast(1.06);
}

.hero-veil {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.62) 48%, rgba(17, 24, 39, 0.88)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 1) 94%);
}

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

.eyebrow,
.service-kicker,
.result-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  width: min(690px, 100%);
  margin: 26px 0 0;
  color: rgba(249, 250, 251, 0.82);
  font-size: clamp(18px, 2.2vw, 23px);
}

.hero-actions,
.form-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-proof {
  margin-top: 28px;
}

.hero-proof span {
  border: 1px solid rgba(249, 250, 251, 0.14);
  border-radius: 8px;
  padding: 8px 10px;
  color: rgba(249, 250, 251, 0.74);
  background: rgba(17, 24, 39, 0.54);
  font-size: 13px;
}

.section {
  position: relative;
  padding: 84px clamp(18px, 6vw, 72px);
}

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

.section-heading h2,
.reading-form h2,
.result-content h2,
.result-empty h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 4.8vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.form-note,
.result-empty p,
.locked-report p,
.pricing-grid p,
.service-card p {
  color: rgba(249, 250, 251, 0.72);
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.pricing-grid article {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 300px;
  border: 1px solid rgba(249, 250, 251, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: rgba(23, 32, 51, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.service-card.is-selected {
  border-color: rgba(247, 201, 72, 0.82);
  box-shadow: 0 22px 70px rgba(247, 201, 72, 0.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  color: #111827;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  font-size: 20px;
  font-weight: 950;
}

.service-card h3,
.pricing-grid h3,
.locked-report h3 {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.16;
}

.service-card p {
  margin: 10px 0 0;
}

.service-select {
  width: 100%;
  align-self: end;
}

.workspace-section {
  background: rgba(255, 255, 255, 0.035);
}

.reader-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 20px;
  align-items: start;
}

.reading-form,
.result-panel {
  border: 1px solid rgba(249, 250, 251, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px var(--shadow);
}

.reading-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(249, 250, 251, 0.86);
  font-size: 14px;
  font-weight: 780;
}

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

select,
textarea,
input[type="email"],
input[type="file"] {
  width: 100%;
  border: 1px solid rgba(249, 250, 251, 0.14);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.84);
  outline: none;
}

select,
input[type="email"] {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  min-height: 136px;
  padding: 12px;
}

select:focus,
textarea:focus,
input:focus {
  border-color: rgba(45, 212, 191, 0.86);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.palm-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 8px;
  padding: 14px;
  background: rgba(45, 212, 191, 0.06);
}

.upload-copy,
.mini-note,
.status-message,
.site-footer,
.palm-preview span {
  color: rgba(249, 250, 251, 0.58);
  font-size: 13px;
}

.palm-preview {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.palm-preview img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
}

.result-panel {
  min-height: 620px;
  padding: 24px;
}

.result-empty {
  display: grid;
  place-items: center;
  min-height: 540px;
  text-align: center;
}

.moon {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.94), rgba(247, 201, 72, 0.9) 42%, rgba(239, 111, 108, 0.62) 68%, transparent 70%),
    var(--gold);
  box-shadow: 0 0 80px rgba(247, 201, 72, 0.34);
}

.result-content {
  display: grid;
  gap: 18px;
}

#result-summary {
  margin: 0;
  color: rgba(249, 250, 251, 0.82);
  font-size: 17px;
}

#result-lines {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#result-lines li {
  border-left: 3px solid var(--teal);
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
  color: rgba(249, 250, 251, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.locked-report {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(247, 201, 72, 0.26);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(247, 201, 72, 0.12), rgba(239, 111, 108, 0.08));
}

.lead-form {
  border-top: 1px solid rgba(249, 250, 251, 0.1);
  padding-top: 16px;
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.price {
  color: var(--gold);
  font-size: 46px;
  font-weight: 920;
  line-height: 1;
}

.site-footer {
  padding: 34px clamp(18px, 6vw, 72px) 92px;
  border-top: 1px solid rgba(249, 250, 251, 0.08);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  .desktop-nav,
  .nav-action {
    display: none;
  }

  .service-grid,
  .pricing-grid,
  .reader-workspace {
    grid-template-columns: 1fr;
  }

  .reader-workspace {
    gap: 16px;
  }

  .result-panel {
    min-height: auto;
  }

  .result-empty {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 66px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 98px;
  }

  .field-grid,
  .locked-report,
  .lead-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
