:root {
  color-scheme: light;
  --ink: #18232c;
  --muted: #5b6872;
  --paper: #f5f4ef;
  --card: #fff;
  --line: #e5e3dc;
  --gold: #f2bd54;
  --green: #16775c;
  --navy: #101820;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 72px;
  background:
    radial-gradient(ellipse at 88% 12%, rgb(242 189 84 / 13%), transparent 34%),
    var(--navy);
  color: #f8f7f2;
}

.hero::after {
  position: absolute;
  right: -150px;
  bottom: -330px;
  width: 560px;
  height: 560px;
  border: 1px solid rgb(242 189 84 / 16%);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgb(242 189 84 / 3%), 0 0 0 96px rgb(242 189 84 / 2%);
  content: "";
  pointer-events: none;
}

.hero-inner,
.article {
  width: min(100%, 960px);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
  color: #c4cbd0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.masthead-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.brand-mark {
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding-top: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.45rem, 6.6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.13;
}

h1 span {
  display: block;
}

h1 .warning {
  margin-bottom: 5px;
  color: var(--gold);
}

.hero-summary {
  max-width: 650px;
  margin: 24px 0 0;
  color: #c6cdd1;
  font-size: 16px;
}

main {
  padding: 0 24px 72px;
}

.article {
  position: relative;
  margin-top: -25px;
  padding: 42px 56px 52px;
  border: 1px solid #e9e7e0;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 18px 50px rgb(25 35 43 / 6%);
}

.intro {
  margin: 0;
  color: #394750;
  font-size: 17px;
  line-height: 1.9;
}

.wallet-list {
  color: var(--ink);
  font-weight: 650;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 45px 0 20px;
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.section-heading::before {
  flex: 0 0 4px;
  align-self: stretch;
  min-height: 25px;
  border-radius: 3px;
  background: var(--gold);
  content: "";
}

.risk-list,
.income-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-list {
  counter-reset: risks;
}

.risk-card,
.income-card {
  position: relative;
  padding: 22px 24px 23px 76px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.risk-card {
  counter-increment: risks;
}

.risk-card::before,
.income-card::before {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: #fbf3e2;
  color: #986515;
  font-size: 12px;
  font-weight: 800;
}

.risk-card::before {
  content: counter(risks, decimal-leading-zero);
}

.income-list {
  counter-reset: incomes;
}

.income-card {
  counter-increment: incomes;
}

.income-card::before {
  content: counter(incomes, decimal-leading-zero);
}

.risk-title,
.income-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.45;
}

.risk-label {
  display: inline-block;
  margin-inline-start: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.risk-copy,
.income-detail,
.income-risks {
  color: #4c5962;
  font-size: 14px;
  line-height: 1.8;
}

.risk-copy,
.income-detail {
  margin: 5px 0 0;
}

.risk-copy strong,
.income-detail strong,
.income-risks strong {
  color: var(--ink);
  font-weight: 700;
}

.earnings {
  margin-top: 46px;
}

.earnings-intro {
  margin: 0 0 18px;
  padding: 14px 17px;
  border-inline-start: 3px solid var(--gold);
  background: #fbf7ed;
  color: #53616a;
  font-size: 14px;
}

.income-title {
  margin-bottom: 10px;
}

.income-risks {
  display: grid;
  gap: 4px;
  margin: 7px 0 0;
  padding-inline-start: 20px;
}

.prevention {
  margin-top: 42px;
  padding: 27px 28px 25px;
  border: 1px solid #cfe5dc;
  border-radius: 10px;
  background: #f1f8f4;
}

.prevention .section-heading {
  margin: 0 0 18px;
}

.prevention .section-heading::before {
  background: var(--green);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 14px 0 14px 25px;
  border-top: 1px solid #dcebe3;
  color: #344b42;
  font-size: 14px;
}

.checklist li::before {
  position: absolute;
  top: 21px;
  left: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--green);
  border-radius: 50%;
  content: "";
}

.checklist strong {
  color: #173c30;
}

.closing-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer {
  padding: 0 24px 34px;
  color: #68757d;
  font-size: 12px;
  text-align: center;
}

html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] .hero::after {
  right: auto;
  left: -150px;
}

html[dir="rtl"] .eyebrow::before {
  order: 1;
}

html[dir="rtl"] .risk-card,
html[dir="rtl"] .income-card {
  padding: 22px 76px 23px 24px;
}

html[dir="rtl"] .risk-card::before,
html[dir="rtl"] .income-card::before {
  right: 22px;
  left: auto;
}

html[dir="rtl"] .checklist li {
  padding: 14px 25px 14px 0;
}

html[dir="rtl"] .checklist li::before {
  right: 2px;
  left: auto;
}

@media (max-width: 640px) {
  .hero {
    padding: 20px 20px 54px;
  }

  .masthead {
    padding-bottom: 18px;
  }

  .masthead .edition {
    font-size: 10px;
  }

  .hero-copy {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(2.2rem, 9.5vw, 3.65rem);
  }

  .hero-summary {
    margin-top: 19px;
    font-size: 14px;
  }

  main {
    padding: 0 14px 48px;
  }

  .article {
    padding: 29px 21px 32px;
    border-radius: 10px;
  }

  .intro {
    font-size: 15px;
  }

  .section-heading {
    margin-top: 34px;
    font-size: 20px;
  }

  .risk-card,
  .income-card {
    padding: 18px 17px 19px 62px;
  }

  .risk-card::before,
  .income-card::before {
    top: 18px;
    left: 15px;
    width: 34px;
    height: 34px;
  }

  .risk-title,
  .income-title {
    font-size: 16px;
  }

  .risk-copy,
  .income-detail,
  .income-risks {
    font-size: 13px;
  }

  .prevention {
    padding: 22px 18px 16px;
  }

  .checklist {
    grid-template-columns: 1fr;
  }

  html[dir="rtl"] .risk-card,
  html[dir="rtl"] .income-card {
    padding: 18px 62px 19px 17px;
  }

  html[dir="rtl"] .risk-card::before,
  html[dir="rtl"] .income-card::before {
    right: 15px;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    background: #fff;
  }

  .hero {
    padding-top: 20px;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .article {
    margin-top: 0;
    padding: 24px 0;
    border: 0;
    box-shadow: none;
  }

  .risk-card,
  .income-card,
  .prevention {
    break-inside: avoid;
  }
}
