:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(15, 14, 12, 0.82);
  --panel-strong: rgba(24, 22, 17, 0.92);
  --gold: #ffd86a;
  --gold-rich: #d6a01f;
  --gold-dark: #a06d05;
  --text: #fbf4df;
  --muted: #bdb39a;
  --soft: rgba(255, 216, 106, 0.14);
  --line: rgba(255, 216, 106, 0.2);
  --blue: #2c9cff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.page {
  position: relative;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  padding: max(14px, env(safe-area-inset-top)) 14px max(22px, env(safe-area-inset-bottom));
  isolation: isolate;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(135deg, rgba(214, 160, 31, 0.2) 0%, transparent 30%),
    linear-gradient(205deg, rgba(44, 156, 255, 0.1) 0%, transparent 28%),
    linear-gradient(180deg, #0b0906 0%, #050505 54%, #020202 100%);
}

.page::after {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -2;
  opacity: 0.18;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 47%, rgba(255, 216, 106, 0.34) 48%, transparent 49% 100%);
  background-size: 44px 44px, 44px 44px, 220px 140px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 86%);
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.lead {
  margin: 0;
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  color: var(--gold);
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(13px, 3.7vw, 15px);
  line-height: 1.28;
  font-weight: 800;
  background: linear-gradient(90deg, rgba(255, 216, 106, 0.12), transparent 82%);
  text-wrap: balance;
}

.author-card {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 1.09 / 1;
  max-height: 292px;
  border: 1px solid rgba(255, 216, 106, 0.28);
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 52px rgba(255, 216, 106, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.author-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 36%, rgba(0, 0, 0, 0.44) 100%),
    linear-gradient(110deg, rgba(255, 216, 106, 0.18), transparent 36%);
  pointer-events: none;
}

.author-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(1.04) contrast(1.03);
}

.hero-copy {
  padding: 14px 14px 15px;
  border: 1px solid rgba(255, 216, 106, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(23, 21, 16, 0.9), rgba(8, 8, 7, 0.72)),
    linear-gradient(135deg, rgba(255, 216, 106, 0.08), transparent 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1 {
  color: #fff8df;
  font-size: clamp(22px, 7vw, 31px);
  line-height: 0.99;
  font-weight: 900;
  text-wrap: balance;
}

.inside-label {
  margin-top: 12px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.benefits {
  margin: 9px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.benefits li {
  position: relative;
  min-width: 0;
  padding-left: 21px;
  color: #eee7d7;
  font-size: clamp(14px, 4.05vw, 16px);
  line-height: 1.27;
  font-weight: 680;
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 216, 106, 0.58);
}

.cta-button {
  width: 100%;
  max-width: 460px;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffe37c 0%, #ffd131 45%, #bf8500 100%);
  color: #080808;
  text-align: center;
  text-decoration: none;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(15px, 4.2vw, 17px);
  line-height: 1.08;
  font-weight: 950;
  box-shadow:
    0 18px 44px rgba(255, 198, 48, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.cta-button:hover {
  filter: brightness(1.04);
  box-shadow:
    0 22px 52px rgba(255, 198, 48, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-button:active {
  transform: scale(0.985);
}

.cta-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.social-section {
  margin-top: 7px;
}

.section-label {
  margin-bottom: 6px;
  color: rgba(255, 216, 106, 0.78);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

h2 {
  margin-bottom: 11px;
  color: #fff5d4;
  font-size: clamp(18px, 5.6vw, 24px);
  line-height: 1.04;
  font-weight: 950;
  text-wrap: balance;
}

.result-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(252px, 82%);
  gap: 12px;
  margin: 0 -14px;
  padding: 0 14px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.result-slider::-webkit-scrollbar {
  display: none;
}

.result-slide {
  min-width: 0;
  scroll-snap-align: center;
}

.result-shot {
  position: relative;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 216, 106, 0.28);
  border-radius: 18px;
  overflow: hidden;
  background: #f7f7f4;
  color: #111;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(255, 216, 106, 0.12);
}

.result-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 44%),
    linear-gradient(135deg, rgba(255, 216, 106, 0.14), transparent 60%);
  pointer-events: none;
}

.trade-line,
.meta-line,
.club-line {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #111;
  font-size: 14px;
  line-height: 1.12;
  font-weight: 800;
}

.trade-line strong {
  color: var(--blue);
}

.meta-line {
  padding-top: 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 13px;
}

.result-shot--ticket::after,
.result-shot--balance::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #14b84a;
}

.result-shot--balance::after {
  background: #e63d32;
}

.result-shot--club {
  min-height: 170px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(8, 28, 18, 0.95), rgba(13, 13, 11, 0.95)),
    repeating-linear-gradient(0deg, rgba(255, 216, 106, 0.08) 0 1px, transparent 1px 18px);
}

.result-shot--club .club-line,
.result-shot--club .meta-line {
  color: var(--text);
}

.chart-line {
  position: relative;
  z-index: 1;
  height: 70px;
  border: 1px solid rgba(255, 216, 106, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(160deg, transparent 0 26%, rgba(255, 216, 106, 0.26) 27% 29%, transparent 30% 48%, rgba(44, 156, 255, 0.22) 49% 51%, transparent 52% 100%),
    rgba(255, 255, 255, 0.04);
}

.result-slide p {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 750;
}

.workflow-grid {
  display: grid;
  gap: 10px;
}

.workflow-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 216, 106, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(22, 20, 15, 0.9), rgba(8, 8, 7, 0.76)),
    linear-gradient(135deg, rgba(255, 216, 106, 0.07), transparent 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.work-media {
  grid-row: span 2;
  height: 72px;
  border: 1px solid rgba(255, 216, 106, 0.24);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 216, 106, 0.18), transparent 45%),
    #0b0b0a;
}

.work-media--chart {
  background:
    linear-gradient(145deg, transparent 0 34%, rgba(255, 216, 106, 0.44) 35% 37%, transparent 38% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 18px),
    #0b0b0a;
}

.work-media--trade {
  background:
    linear-gradient(180deg, rgba(20, 184, 74, 0.34), transparent 58%),
    linear-gradient(110deg, transparent 0 42%, rgba(44, 156, 255, 0.5) 43% 45%, transparent 46% 100%),
    #0b0b0a;
}

.work-media--study {
  background:
    linear-gradient(90deg, rgba(255, 216, 106, 0.22) 0 34%, transparent 34% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 12px),
    #0b0b0a;
}

.workflow-card h3 {
  color: #fff4cf;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
}

.workflow-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 650;
}

@media (max-width: 360px) {
  .page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .container {
    gap: 10px;
  }

  .lead,
  .hero-copy {
    padding-left: 11px;
    padding-right: 11px;
  }

  .author-card {
    max-height: 246px;
  }

  .cta-button {
    min-height: 56px;
  }

  .result-slider {
    grid-auto-columns: minmax(238px, 86%);
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .workflow-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .work-media {
    height: 68px;
  }
}

@media (min-width: 700px) {
  .page {
    padding: 28px 16px 34px;
  }

  .container {
    gap: 14px;
  }

  .social-section {
    margin-top: 9px;
  }
}

@media (max-height: 700px) and (max-width: 460px) {
  .author-card {
    max-height: 232px;
  }

  .hero-copy {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
