/* Wallet Shop article-first homepage preview — 2026-10-16 */
.article-home-page {
  --ah-ink: #191824;
  --ah-muted: #625f6e;
  --ah-paper: #fbfaf7;
  --ah-paper-deep: #f3f0e8;
  --ah-violet: #6652bd;
  --ah-violet-dark: #49378f;
  --ah-lilac: #eee9ff;
  --ah-coral: #dd704d;
  --ah-green: #187a60;
  --ah-line: rgba(38, 34, 55, .13);
  background: var(--ah-paper);
  color: var(--ah-ink);
}

.article-home-page .site-header {
  position: relative;
  z-index: 900;
  border-bottom: 1px solid rgba(35, 31, 52, .09);
  background: rgba(251, 250, 247, .96);
  color: var(--ah-ink);
}

.article-home-page .nav {
  min-height: 82px;
  grid-template-columns: minmax(0, 215px) minmax(0, 1fr) auto;
}

.article-home-page .brand-word,
.article-home-page .brand,
.article-home-page .nav-links,
.article-home-page .icon-button {
  color: var(--ah-ink);
}

.article-home-page .brand-word {
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

.article-home-page .brand-badge {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 50%;
  box-shadow: none;
}

.article-home-page .nav-links {
  gap: clamp(20px, 2.65vw, 38px);
  font-size: .91rem;
  font-weight: 760;
}

.article-home-page .nav-links a {
  position: relative;
}

.article-home-page .nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--ah-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.article-home-page .nav-links a:hover::after {
  transform: scaleX(1);
}

.article-home {
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 20%, rgba(102, 82, 189, .055), transparent 28rem),
    var(--ah-paper);
}

.article-home h1,
.article-home h2,
.article-home h3 {
  color: var(--ah-ink);
}

.ah-hero {
  position: relative;
  padding: clamp(54px, 7vw, 92px) 0 clamp(68px, 9vw, 116px);
  border-bottom: 1px solid var(--ah-line);
}

.ah-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  width: min(46vw, 680px);
  height: 100%;
  background-image:
    linear-gradient(rgba(102, 82, 189, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 82, 189, .055) 1px, transparent 1px);
  background-size: 31px 31px;
  mask-image: linear-gradient(90deg, transparent, #000 35%);
  pointer-events: none;
}

.ah-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr);
  gap: clamp(48px, 7vw, 98px);
  align-items: center;
}

.ah-eyebrow,
.ah-overline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--ah-violet);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ah-eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ah-eyebrow span::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--ah-coral);
}

.ah-eyebrow time {
  color: #817d8c;
  letter-spacing: .05em;
}

.article-home .ah-hero h1 {
  width: 100%;
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.6vw, 5.85rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.06em;
}

.ah-lead {
  max-width: 730px;
  margin: 28px 0 0;
  color: #55515f;
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.ah-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ah-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 23px;
  font-size: .9rem;
  font-weight: 850;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ah-button:hover {
  transform: translateY(-2px);
}

.ah-button--primary {
  background: var(--ah-ink);
  color: #fff;
  box-shadow: 0 15px 34px rgba(25, 24, 36, .14);
}

.ah-button--primary:hover {
  background: var(--ah-violet-dark);
  color: #fff;
}

.ah-button--secondary {
  border-color: rgba(45, 40, 62, .2);
  background: rgba(255, 255, 255, .72);
  color: var(--ah-ink);
}

.ah-button--secondary:hover,
.ah-button--outline:hover {
  border-color: var(--ah-violet);
  color: var(--ah-violet-dark);
}

.ah-button--outline {
  border-color: rgba(45, 40, 62, .25);
  background: transparent;
  color: var(--ah-ink);
}

.ah-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 44px 0 0;
}

.ah-facts div {
  display: grid;
  min-width: 132px;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 0 22px;
  border-left: 1px solid var(--ah-line);
}

.ah-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.ah-facts dt {
  color: var(--ah-coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.ah-facts dd {
  max-width: 112px;
  margin: 0;
  color: #6f6b76;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.3;
}

.ah-navigator {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 4px;
  background: #20202d;
  color: #fff;
  box-shadow: 24px 24px 0 var(--ah-lilac);
}

.ah-navigator::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 48px;
  height: 48px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.ah-navigator-label {
  margin: 0 0 14px;
  color: #c6bbff;
  font-size: .71rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article-home .ah-navigator h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.ah-navigator ol {
  display: grid;
  gap: 0;
  margin: 30px 0 26px;
  padding: 0;
  list-style: none;
}

.ah-navigator li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.ah-navigator li > span {
  color: #b9abfb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
}

.ah-navigator strong {
  color: #fff;
  font-size: .94rem;
}

.ah-navigator li p {
  margin: 3px 0 0;
  color: #b9b7c2;
  font-size: .83rem;
  line-height: 1.5;
}

.ah-navigator > a {
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .34);
  text-underline-offset: 5px;
}

.ah-section {
  padding: clamp(74px, 9vw, 118px) 0;
}

.ah-section + .ah-section {
  border-top: 1px solid var(--ah-line);
}

.ah-section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.ah-section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: end;
}

.article-home .ah-section-heading h2,
.article-home .ah-method-intro h2,
.article-home .ah-commerce-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.4vw, 4.45rem);
  line-height: 1.01;
  letter-spacing: -.05em;
}

.ah-section-heading > p:last-child,
.ah-section-heading--split > p {
  margin: 18px 0 0;
  color: var(--ah-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.ah-section-heading--split > p {
  margin-bottom: 5px;
}

.ah-paths {
  background: #fff;
}

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

.ah-path-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ah-line);
  border-radius: 3px;
  background: var(--ah-paper);
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ah-path-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(102, 82, 189, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(102, 82, 189, .05);
}

.ah-path-card--payments {
  background: linear-gradient(145deg, #fff 0%, #faf0eb 100%);
}

.ah-path-card--trading {
  background: linear-gradient(145deg, #fff 0%, #f0edff 100%);
}

.ah-path-card--wallets {
  background: linear-gradient(145deg, #fff 0%, #eaf6f1 100%);
}

.ah-path-card:hover {
  border-color: rgba(102, 82, 189, .35);
  box-shadow: 0 24px 54px rgba(38, 34, 55, .09);
  color: inherit;
  transform: translateY(-4px);
}

.ah-path-index {
  color: rgba(41, 37, 56, .32);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.ah-path-kicker {
  margin: 38px 0 10px;
  color: var(--ah-violet);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.article-home .ah-path-card h3 {
  max-width: 320px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ah-path-card > p:not(.ah-path-kicker) {
  margin: 17px 0 26px;
  color: #625f6d;
  font-size: .92rem;
  line-height: 1.65;
}

.ah-text-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  color: var(--ah-violet-dark);
  font-size: .87rem;
  font-weight: 850;
}

.ah-featured {
  background: var(--ah-paper);
}

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

.ah-article-card {
  overflow: hidden;
  border: 1px solid var(--ah-line);
  border-radius: 3px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ah-article-card:hover {
  box-shadow: 0 24px 56px rgba(38, 34, 55, .09);
  transform: translateY(-4px);
}

.ah-article-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: #eeeaf8;
}

.ah-article-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.ah-article-card:hover .ah-article-media img {
  transform: scale(1.025);
}

.ah-article-media > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  background: rgba(24, 23, 34, .88);
  color: #fff;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ah-article-body {
  padding: 25px 25px 28px;
}

.ah-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 15px;
  color: #7b7784;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ah-article-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: var(--ah-coral);
}

.article-home .ah-article-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.ah-article-card h3 a:hover {
  color: var(--ah-violet-dark);
}

.ah-article-body > p:not(.ah-article-meta):not(.ah-article-includes) {
  margin: 17px 0;
  color: #625f6d;
  font-size: .91rem;
  line-height: 1.65;
}

.ah-article-includes {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--ah-line);
  color: #4f4b58;
  font-size: .76rem;
  font-weight: 800;
}

.ah-article-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: var(--ah-violet-dark);
  font-size: .86rem;
  font-weight: 900;
}

.ah-center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.ah-method {
  background: #20202d;
  color: #fff;
}

.ah-method-grid {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1fr);
  gap: clamp(56px, 9vw, 130px);
  align-items: start;
}

.ah-method .ah-overline {
  color: #c4b9fb;
}

.article-home .ah-method-intro h2 {
  color: #fff;
}

.ah-method-intro > p:not(.ah-overline) {
  margin: 24px 0;
  color: #bbb9c4;
  line-height: 1.75;
}

.ah-text-link--dark {
  color: #fff;
}

.ah-method-steps {
  display: grid;
}

.ah-method-steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.ah-method-steps article:first-child {
  padding-top: 0;
  border-top: 0;
}

.ah-method-steps article > span {
  color: #b8aafd;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.article-home .ah-method-steps h3 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  letter-spacing: -.02em;
}

.ah-method-steps p {
  margin: 7px 0 0;
  color: #aaa8b4;
  font-size: .9rem;
  line-height: 1.6;
}

.ah-commerce {
  background: #fff;
}

.ah-commerce-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, .62fr);
  gap: clamp(40px, 8vw, 105px);
  align-items: center;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(102, 82, 189, .2);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(238, 233, 255, .88), rgba(251, 250, 247, .92)),
    #fff;
}

.ah-commerce-card > div > p:not(.ah-overline) {
  max-width: 680px;
  margin: 23px 0 28px;
  color: #575361;
  line-height: 1.75;
}

.ah-commerce-card aside {
  padding: 27px;
  border-left: 3px solid var(--ah-coral);
  background: rgba(255, 255, 255, .7);
}

.article-home .ah-commerce-card aside h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.ah-commerce-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ah-commerce-card li {
  position: relative;
  padding-left: 20px;
  color: #5d5966;
  font-size: .88rem;
  line-height: 1.52;
}

.ah-commerce-card li::before {
  content: "";
  position: absolute;
  top: .61em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ah-green);
}

.article-home-page .footer {
  border-top: 1px solid var(--ah-line);
  background: #f0ede6;
  color: var(--ah-ink);
}

.article-home-page .footer-brand p {
  color: #67636e;
  font-size: .87rem;
  font-weight: 700;
}

.article-home-page .footer-links a {
  color: #4f4b58;
  font-size: .86rem;
}

@media (max-width: 1040px) {
  .ah-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .68fr);
    gap: 44px;
  }

  .article-home .ah-hero h1 {
    font-size: clamp(3rem, 6.4vw, 4.6rem);
  }

  .ah-path-grid,
  .ah-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ah-path-card:last-child,
  .ah-article-card:last-child {
    grid-column: span 2;
  }

  .ah-article-card:last-child {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
  }

  .ah-article-card:last-child .ah-article-media {
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
  }
}

@media (max-width: 820px) {
  .ah-hero-grid,
  .ah-method-grid,
  .ah-commerce-card,
  .ah-section-heading--split {
    grid-template-columns: 1fr;
  }

  .ah-hero::before {
    right: -180px;
    opacity: .75;
  }

  .ah-navigator {
    max-width: 650px;
    box-shadow: 14px 14px 0 var(--ah-lilac);
  }

  .ah-section-heading--split {
    gap: 16px;
  }

  .ah-section-heading--split > p {
    max-width: 640px;
    margin-top: 0;
  }

  .ah-method-grid {
    gap: 52px;
  }

  .ah-commerce-card {
    align-items: start;
  }
}

@media (max-width: 680px) {
  .article-home-page .shell {
    width: min(100% - 30px, 1140px);
  }

  .ah-hero {
    padding-top: 42px;
  }

  .article-home .ah-hero h1 {
    font-size: clamp(2.55rem, 12.5vw, 4rem);
    line-height: .98;
  }

  .ah-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .ah-actions,
  .ah-actions .ah-button {
    width: 100%;
  }

  .ah-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ah-facts div {
    display: block;
    min-width: 0;
    padding: 0 12px;
  }

  .ah-facts dt {
    display: block;
    font-size: 1.35rem;
  }

  .ah-facts dd {
    margin-top: 4px;
    font-size: .68rem;
  }

  .ah-navigator {
    padding: 27px 22px;
  }

  .ah-path-grid,
  .ah-article-grid {
    grid-template-columns: 1fr;
  }

  .ah-path-card,
  .ah-path-card:last-child,
  .ah-article-card:last-child {
    grid-column: auto;
  }

  .ah-path-card {
    min-height: 330px;
    padding: 24px;
  }

  .ah-article-card:last-child {
    display: block;
  }

  .ah-article-card:last-child .ah-article-media {
    min-height: 0;
    aspect-ratio: 1200 / 630;
  }

  .article-home .ah-section-heading h2,
  .article-home .ah-method-intro h2,
  .article-home .ah-commerce-card h2 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
  }

  .ah-method-steps article {
    grid-template-columns: 42px 1fr;
    gap: 13px;
  }

  .ah-commerce-card {
    padding: 28px 22px;
  }

  .ah-commerce-card .ah-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .ah-eyebrow {
    align-items: flex-start;
    flex-direction: column;
  }

  .ah-facts {
    gap: 15px 0;
  }

  .ah-facts div {
    padding-inline: 9px;
  }

  .ah-navigator {
    box-shadow: 9px 9px 0 var(--ah-lilac);
  }

  .ah-article-body {
    padding: 22px 20px 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ah-button,
  .ah-path-card,
  .ah-article-card,
  .ah-article-media img {
    transition: none;
  }
}
