@font-face {
  font-family: "RSAim UI";
  src: url("/web/assets/fonts/RSAimUI-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RSAim UI";
  src: url("/web/assets/fonts/RSAimUI-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #0d0c0a;
  --panel: #17140f;
  --panel-raised: #211c14;
  --line: #594523;
  --line-soft: rgba(192, 148, 69, 0.25);
  --gold: #f0cf7c;
  --gold-strong: #ffd96f;
  --text: #f1ecdf;
  --muted: #bdb29d;
  --red: #d74938;
  --cyan: #74dce0;
  --shadow: rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(circle at 50% -15%, rgba(196, 143, 47, 0.15), transparent 42rem),
    linear-gradient(180deg, #11100d 0%, var(--page) 42%, #090806 100%);
  color: var(--text);
  font-family: "RSAim UI", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--gold);
}

a:hover {
  color: var(--gold-strong);
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 10px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 11, 9, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.site-nav .play-nav {
  padding: 7px 15px;
  border: 1px solid #987234;
  border-radius: 5px;
  background: linear-gradient(180deg, #4a3820, #2a2014);
  color: #ffe3a0;
  font-weight: 700;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  min-height: 620px;
  padding: 74px 0 66px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 700px;
  margin-bottom: 28px;
  color: #ddd4c3;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.48;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #a9823f;
  border-radius: 6px;
  background: linear-gradient(180deg, #5a4424 0%, #2d2114 100%);
  box-shadow: 0 8px 22px var(--shadow);
  color: #ffe5a5;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  border-color: var(--gold);
  color: #fff0bd;
}

.button.secondary {
  border-color: #443a2a;
  background: #17140f;
  box-shadow: none;
  color: var(--muted);
}

.quick-note {
  color: #8f8778;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #1d1811;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 7, 5, 0.76));
  content: "";
  pointer-events: none;
}

.hero-visual > img.cover {
  width: 100%;
  height: 370px;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.78);
}

.visual-badge {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e8deca;
  font-size: 15px;
}

.visual-badge img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  image-rendering: pixelated;
}

.visual-badge strong {
  display: block;
  color: var(--gold);
  font-size: 17px;
}

.section {
  padding: 70px 0;
  border-top: 1px solid rgba(202, 159, 82, 0.14);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 8px;
  color: #f2dfb1;
  font-size: 21px;
  line-height: 1.3;
}

.section-heading p,
.card p,
.prose p,
.step p {
  color: var(--muted);
}

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

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(38, 31, 21, 0.92), rgba(19, 17, 13, 0.96));
}

.card-number {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 38px;
}

.prose {
  padding: 28px;
  border-left: 3px solid #8c6630;
  background: rgba(31, 26, 18, 0.55);
}

.practice-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-list li {
  position: relative;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(202, 159, 82, 0.17);
  border-radius: 5px;
  background: rgba(23, 20, 15, 0.72);
  color: #d8cebc;
}

.practice-list li::before {
  position: absolute;
  top: 16px;
  left: 17px;
  width: 10px;
  height: 10px;
  background: var(--red);
  box-shadow: 2px 2px 0 #2b0804;
  content: "";
}

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

.related-link {
  display: block;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(24, 21, 16, 0.8);
  color: var(--text);
  text-decoration: none;
}

.related-link strong {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
}

.related-link span {
  color: var(--muted);
  font-size: 14px;
}

.cta {
  margin: 70px 0;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid #7b5b2a;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(104, 72, 28, 0.36), rgba(32, 25, 16, 0.86)),
    #17130e;
  text-align: center;
}

.cta p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.site-footer {
  margin-top: 70px;
  padding: 36px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line-soft);
  background: #090806;
  color: #8c8476;
  font-size: 13px;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 16px;
}

.site-footer a {
  color: #baaa8a;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-visual > img.cover {
    height: 320px;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    display: block;
  }

  .site-nav {
    justify-content: flex-start;
    margin-top: 12px;
  }

  main {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    gap: 30px;
    padding: 42px 0 52px;
  }

  .section {
    padding: 52px 0;
  }

  .card-grid,
  .related-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }
}
