:root {
  --purple-dark: #2b0a78;
  --purple: #5b1dd6;
  --purple-light: #7c6cf6;
  --brand: #333484;
  --white: #ffffff;
  --gray: #777;
  --text-dark: #333;
  --text-mid: #555;
  --text-light: #aaa;
  --bg-light: #f7f7fb;
  --card-border: #e6e7f0;
  --shadow-soft: 0 18px 45px rgba(20, 20, 70, 0.08);
  margin: 0 auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  max-width: 100%;
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 100%;
  max-width: 1300px;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: transparent;
  transform: translate(-50%, -50%);
  margin: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo a {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--brand);
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background-image: url('../pics/logo1.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  flex: 0 0 52px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.78;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

nav a,
nav .wallet-link {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

nav .wallet-link {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

nav a:hover,
nav .wallet-link:hover {
  text-decoration: underline;
}

/* ===== HAMBURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: white;
}

/* ===== MOBILE MENU ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 200;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  max-width: 320px;
  height: 100%;
  background: linear-gradient(180deg, #4a1bc9, #2b0a78);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-close {
  align-self: flex-end;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.mobile-menu .wallet-link {
  color: white;
  text-decoration: none;
  font-size: 18px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

/* ===== HERO ===== */
.IndexBack {
  background-image: url('../pics/back11.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 100%;
  background-position: center;
}

main {
  padding: 135px 40px 75px;
  min-height: 660px;
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: auto;
}

.content {
  max-width: 545px;
}

h1 {
  font-size: 42px;
  font-weight: 300;
  color: #888;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

h2 {
  font-size: 32px;
  font-weight: 700;
  color: #555;
  margin-bottom: 30px;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  color: #555;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 40px;
}

.buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 18px 38px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-dark {
  background: var(--brand);
  color: white;
}

.btn-dark:hover {
  background: #4547a5;
}

/* ===== COMMON CONTENT SECTIONS ===== */
.text-section {
  background: var(--bg-light);
  padding: 72px 40px;
}

.section-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.seo-card h2,
.security-copy h2 {
  font-size: 40px;
  line-height: 1.16;
  color: #555;
  margin-bottom: 18px;
}

.section-heading p,
.split-copy p,
.security-copy p,
.seo-card p,
.faq-card p,
.info-card p {
  color: #555;
}

.section-heading p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 0;
}

.cards-grid {
  display: grid;
  gap: 26px;
}

.cards-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.faq-card,
.feature-list-card,
.seo-card {
  background: white;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: 34px 30px;
  text-align: center;
}

.info-card h3 {
  margin-bottom: 18px;
}

.info-card p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* ===== MANAGE / ACCESS SPLIT ===== */
.section-manage {
  background: white;
}

.split-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 70px;
  align-items: center;
}

.split-copy p {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 0;
}

.feature-list-card {
  padding: 30px 34px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #ececf4;
  color: #555;
  font-size: 22px;
  font-weight: 700;
}

.feature-row:first-child {
  padding-top: 0;
}

.feature-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

/* ===== SEO CARD ===== */
.section-seo {
  background: var(--bg-light);
  padding-top: 52px;
}

.seo-card {
  padding: 52px 62px;
}

.seo-card h2 {
  text-align: left;
}

.seo-card p {
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 22px;
  text-align: left;
}

.seo-card p:last-child {
  margin-bottom: 0;
}

/* ===== SECURITY ===== */
.security-section {
  background: linear-gradient(110deg, #333484 0%, #2b0a78 100%);
  color: white;
  padding: 86px 40px;
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 70px;
  align-items: center;
}

.security-copy h2,
.security-copy p {
  color: white;
}

.security-copy h2 {
  font-size: 44px;
}

.security-copy p {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 0;
  opacity: 0.9;
}

.security-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.security-point {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.security-point span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

/* ===== ACCESS ===== */
.section-access {
  background: var(--bg-light);
  padding: 82px 40px;
}

.access-block .feature-list-card {
  box-shadow: 0 26px 70px rgba(20, 20, 70, 0.11);
}

.compact-card .feature-row {
  font-size: 22px;
}

/* ===== FAQ ===== */
.section-faq {
  background: white;
  padding: 76px 40px 92px;
}

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

.faq-card {
  padding: 30px 30px;
}

.faq-card h3 {
  font-size: 21px;
  line-height: 1.28;
  margin-bottom: 16px;
}

.faq-card p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Footer */
.footer {
  padding: 2em 0;
  background: var(--brand);
  font-size: 17px;
  color: white;
}

.footer-container {
  max-width: 1300px;
  padding: 0 50px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}

.footer-left,
.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5em;
}

.footer-left a,
.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-left a:hover,
.footer-right a:hover {
  text-decoration: underline;
}

.footer-left a:not(:last-child)::after {
  content: "|";
  margin-left: 1em;
  color: white;
}

.footer-right a::before {
  content: "|";
  margin-right: 1em;
  color: white;
  display: none;
}

.footer-copy-text {
  color: #aaa;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  header {
    padding: 18px 34px;
  }

  nav {
    gap: 28px;
  }

  .cards-grid-three,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-block,
  .security-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 900px) {
  body {
    background: linear-gradient(180deg, #ffffff 55%, #3b0fb3 55%);
  }

  nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  header {
    top: 58px;
    padding: 18px 24px;
  }

  main {
    padding: 130px 24px 58px;
    min-height: 610px;
  }

  h1,
  h2 {
    font-size: 34px;
  }

  .content {
    max-width: 500px;
  }

  .IndexBack {
    background-image: url('../pics/back1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
  }

  .text-section,
  .security-section,
  .section-access,
  .section-faq {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-heading h2,
  .split-copy h2,
  .seo-card h2,
  .security-copy h2 {
    font-size: 34px;
  }

  .seo-card {
    padding: 38px 32px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .cards-grid-three,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .text-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-seo {
    padding-top: 38px;
  }

  .seo-card {
    padding: 30px 24px;
  }

  .seo-card p,
  .split-copy p,
  .security-copy p {
    font-size: 17px;
  }

  .feature-row,
  .compact-card .feature-row,
  .security-point {
    font-size: 18px;
  }
}

@media (max-width: 610px) {
  .footer-left {
    flex-direction: column;
  }

  .footer-left a:not(:last-child)::after {
    content: "";
    margin-left: 1em;
    color: white;
  }
}

@media (max-width: 520px) {
  header {
    padding: 16px 18px;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .logo-title {
    font-size: 16px;
  }

  .logo-subtitle {
    font-size: 12px;
  }

  main {
    padding: 118px 20px 52px;
    min-height: 570px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  p {
    font-size: 15px;
  }

  .btn {
    width: 100%;
    padding: 17px 22px;
  }

  .buttons {
    width: 100%;
  }

  .feature-list-card,
  .info-card,
  .faq-card {
    padding: 26px 22px;
  }

  .section-heading h2,
  .split-copy h2,
  .seo-card h2,
  .security-copy h2 {
    font-size: 30px;
  }

  .footer-container {
    padding: 0 24px;
  }
}

@media (max-width: 420px) {
  .logo-subtitle {
    display: none;
  }
}

@media (min-width: 4000px) {
  * {
    max-width: 4000px;
  }
}


/* ===== ARTICLE PAGE TEMPLATE ===== */

.article-page {
  display: block;
  background:
    linear-gradient(90deg, rgba(51, 52, 132, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(51, 52, 132, 0.035) 1px, transparent 1px),
    #f7f7fb;
  background-size: 72px 72px;
  padding: 128px 20px 90px;
}

/* ===== ARTICLE HERO ===== */

.article-hero {
  max-width: 1180px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.article-hero-content {
  min-width: 0;
}

.article-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(91, 29, 214, 0.08);
  color: #5b1dd6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-hero h1 {
  margin: 0 0 22px;
  color: #17172f;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.article-lead {
  max-width: 640px;
  margin: 0 0 30px;
  color: #55576a;
  font-size: 21px;
  line-height: 1.65;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #22233d;
}

.author-avatar-small {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  background: #e8e8f4;
}

.article-byline span {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.article-byline small {
  display: block;
  margin-top: 3px;
  color: #77798a;
  font-size: 14px;
}

.article-hero-image {
  margin: 0;
}

.article-hero-image img {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(33, 23, 85, 0.16);
}

.article-hero-image figcaption,
.article-figure figcaption {
  margin-top: 12px;
  color: #77798a;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* ===== ARTICLE LAYOUT ===== */

.article-layout {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 880px);
  gap: 70px;
  align-items: start;
}


.article-toc {
  position: sticky;
  top: 110px;
  padding-left: 18px;
  border-left: 2px solid #d9d9e8;
}

.article-toc span {
  display: block;
  margin-bottom: 18px;
  color: #17172f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc a {
  display: block;
  margin: 0 0 14px;
  color: #77798a;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc a:hover {
  color: #5b1dd6;
}

/* ===== ARTICLE CONTENT ===== */

.article-content {
  background: #fff;
  padding: 58px 64px;
  border: 1px solid #ececf5;
  border-radius: 28px;
  box-shadow: 0 18px 55px rgba(31, 34, 80, 0.06);
}

.article-content h2 {
  scroll-margin-top: 120px;
  margin: 52px 0 20px;
  color: #17172f;
  font-size: 31px;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin: 36px 0 16px;
  color: #24264f;
  font-size: 23px;
  line-height: 1.3;
}

.article-content p {
  margin: 0 0 22px;
  color: #505264;
  font-size: 18px;
  line-height: 1.82;
}

.article-content a {
  color: #5b1dd6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content strong {
  color: #20213b;
}

/* ===== ARTICLE LISTS ===== */

.article-content ul,
.article-content ol {
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 30px;
  color: #505264;
  font-size: 18px;
  line-height: 1.72;
}

.article-content li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #5b1dd6;
  box-shadow: 0 0 0 5px rgba(91, 29, 214, 0.11);
}

/* ===== RICH TEXT BLOCKS ===== */

.article-insight {
  margin: 34px 0;
  padding: 28px 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f4f2ff, #f8f8fc);
  border: 1px solid #e6e1ff;
}

.insight-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: #5b1dd6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-insight p {
  margin: 0;
  color: #252644;
  font-size: 20px;
  line-height: 1.65;
  font-weight: 600;
}

.article-note {
  margin: 36px 0;
  padding: 26px 28px;
  border-radius: 20px;
  background: #fbfaf6;
  border: 1px solid #e6d8b8;
}

.article-note strong {
  display: block;
  margin-bottom: 8px;
  color: #8a650f;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-note p {
  margin: 0;
  color: #4d4434;
}

.article-quote {
  margin: 38px 0;
  padding: 34px;
  border-radius: 24px;
  background: #333484;
  color: #fff;
}

.article-quote p {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.article-quote span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.article-final-box {
  margin: 34px 0;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #333484, #5b1dd6);
  color: #fff;
}

.article-final-box span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-final-box p {
  margin: 0;
  color: #fff;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 700;
}

/* ===== FEATURE LIST ===== */

.feature-list {
  margin: 30px 0 36px;
  display: grid;
  gap: 14px;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  background: #f7f7fb;
  border: 1px solid #ececf5;
}

.feature-item span {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333484;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.feature-item p {
  margin: 0;
  color: #44475b;
  font-size: 17px;
  line-height: 1.68;
}

/* ===== ASSET CARDS ===== */

.asset-grid {
  margin: 30px 0 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.asset-card {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #f7f7fb);
  border: 1px solid #ececf5;
  box-shadow: 0 12px 28px rgba(31, 34, 80, 0.04);
}

.asset-card span {
  display: block;
  margin-bottom: 8px;
  color: #333484;
  font-size: 17px;
  font-weight: 800;
}

.asset-card p {
  margin: 0;
  color: #606274;
  font-size: 16px;
  line-height: 1.65;
}

/* ===== MYTH LIST ===== */

.myth-list {
  margin: 30px 0 36px;
  display: grid;
  gap: 14px;
}

.myth-item {
  padding: 20px 22px;
  border-radius: 18px;
  background: #fbfbfe;
  border: 1px solid #ececf5;
}

.myth-item strong {
  display: block;
  margin-bottom: 6px;
  color: #17172f;
  font-size: 17px;
}

.myth-item p {
  margin: 0;
  color: #606274;
  font-size: 16.5px;
  line-height: 1.65;
}

/* ===== ARTICLE FIGURES ===== */

.article-figure {
  margin: 42px 0;
}

.article-figure img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(31, 34, 80, 0.12);
}

.article-figure-wide {
  margin-left: -22px;
  margin-right: -22px;
}

/* ===== AUTHOR CARD ===== */

.author-card {
  margin-top: 56px;
  padding: 28px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  align-items: center;
  border-radius: 24px;
  background: #f7f7fb;
  border: 1px solid #ececf5;
}

.author-card img {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  object-fit: cover;
  background: #e8e8f4;
}

.author-card span {
  display: block;
  margin-bottom: 8px;
  color: #17172f;
  font-size: 18px;
  font-weight: 800;
}

.author-card p {
  margin: 0;
  color: #5f6274;
  font-size: 16px;
  line-height: 1.65;
}

/* ===== RELATED ARTICLES ===== */

.related-articles {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid #ececf5;
}

.related-articles h2 {
  margin-top: 0;
}

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

.related-card {
  display: block;
  padding: 20px;
  border-radius: 18px;
  background: #f7f7fb;
  border: 1px solid #ececf5;
  text-decoration: none;
}

.related-card:hover {
  background: #f1efff;
  text-decoration: none;
}

.related-card span {
  display: block;
  margin-bottom: 8px;
  color: #333484;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.related-card small {
  display: block;
  color: #666a7d;
  font-size: 14px;
  line-height: 1.55;
}

/* ===== ARTICLE RESPONSIVE ===== */

@media (max-width: 1100px) {
  .article-hero {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .article-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    border-left: 0;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ececf5;
  }

  .article-toc span {
    width: 100%;
    margin-bottom: 4px;
  }

  .article-toc a {
    margin: 0;
    padding: 8px 11px;
    border-radius: 999px;
    background: #f7f7fb;
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .article-page {
    padding: 104px 14px 56px;
  }

  .article-hero {
    gap: 30px;
    margin-bottom: 36px;
  }

  .article-hero h1 {
    font-size: 46px;
  }

  .article-lead {
    font-size: 18px;
  }

  .article-content {
    padding: 32px 20px;
    border-radius: 22px;
  }

  .article-content h2 {
    margin-top: 42px;
    font-size: 26px;
  }

  .article-content p,
  .article-content li {
    font-size: 16.5px;
    line-height: 1.75;
  }

  .article-insight p {
    font-size: 18px;
  }

  .feature-item {
    grid-template-columns: 1fr;
  }

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

  .article-figure-wide {
    margin-left: 0;
    margin-right: 0;
  }

  .article-quote {
    padding: 26px;
  }

  .article-quote p,
  .article-final-box p {
    font-size: 20px;
  }

  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-card img {
    margin: 0 auto;
  }

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

@media (max-width: 480px) {
  .article-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .article-hero h1 {
    font-size: 40px;
  }

  .article-content {
    padding: 28px 18px;
  }

  .article-toc {
    padding: 16px;
  }

  .article-byline {
    align-items: flex-start;
  }

  .article-hero-image img,
  .article-figure img {
    border-radius: 18px;
  }
}

/* ===== ARTICLES INDEX PAGE: /about ===== */

body.articles-page {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* Header for light inner pages */
body.articles-page header {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 40px;
  background: transparent;
}

body.articles-page nav a,
body.articles-page nav .wallet-link {
  color: var(--text-dark);
}

body.articles-page nav a:hover,
body.articles-page nav .wallet-link:hover {
  color: var(--purple);
  text-decoration: none;
}

body.articles-page .burger span {
  background: var(--text-dark);
}

/* Reset homepage main behavior */
body.articles-page .articles-main {
  display: block;
  align-items: initial;
  max-width: none;
  min-height: calc(100vh - 112px);
  margin: 0;
  padding: 76px 20px 90px;
}

/* Optional page heading */
body.articles-page .articles-section {
  width: 100%;
}

body.articles-page .articles-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

body.articles-page .articles-heading h1 {
  margin: 0 0 16px;
  color: var(--purple-dark);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

body.articles-page .articles-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: #666;
  font-size: 17px;
  line-height: 1.7;
}

/* Cards grid, based on old articles.css */
body.articles-page .articles {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Article cards, based on old articles.css */
body.articles-page .article-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

body.articles-page .article-card h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 15px;
  color: var(--purple-dark);
}

body.articles-page .article-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px;
}

body.articles-page .article-card a {
  align-self: flex-start;
  text-decoration: none;
  font-weight: 600;
  color: var(--purple);
  margin-top: auto;
}

body.articles-page .article-card a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 900px) {
  body.articles-page {
    background: var(--bg-light);
  }

  body.articles-page header {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px 24px;
  }

  body.articles-page nav {
    display: none;
  }

  body.articles-page .burger {
    display: flex;
  }

  body.articles-page .articles-main {
    padding: 54px 20px 72px;
    min-height: auto;
  }

  body.articles-page .articles-heading {
    margin-bottom: 34px;
  }

  body.articles-page .articles-heading h1 {
    font-size: 38px;
  }

  body.articles-page .articles-heading p {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  body.articles-page header {
    padding: 18px 20px;
  }

  body.articles-page .articles-main {
    padding: 42px 18px 62px;
  }

  body.articles-page .articles {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.articles-page .article-card {
    padding: 24px 22px;
    min-height: auto;
  }

  body.articles-page .article-card h2 {
    font-size: 21px;
  }
}