/* ============================================================================
   Models Overview band 2 — "Choose your Atlas Evaluation", the model cards.
   Figma 1048:397337 (1512 x 1747) / mobile 1048:465030 (393 x 2913).

   DECLARED DEVIATION — card count and grid.
   The file draws FIVE cards in a centred wrap: three on row one at x
   140/556/972 and two on row two at x 348/764, all 400x475, gaps 16.
   3-Step was retired site-wide in Aug 2026, so four cards ship. They use the
   file's own row-two geometry on both rows — x 348 and 764 — which keeps the
   grid symmetric, the card size, both gaps and the 966px block height
   identical, so the 1747 band height is unchanged.

   DECLARED DEVIATION — intro copy. The file reads "…depandant on your Trading
   Style or Needs, which is why we offer 3 to choose from." That is a
   misspelling and the wrong count against its own five cards. Ships as
   "…dependent on your trading style or needs, which is why we offer four to
   choose from."
   ========================================================================= */

/* 1048:397337 — 1512x1747, 180deg #303030 -> #0F0F0F (83.96%), clips. */
.afxmo-models {
  position: relative;
  isolation: isolate;
  height: 1747px;
  overflow: hidden;
  background: linear-gradient(180deg, #303030 0%, #0F0F0F 83.96%);
  font-family: var(--font-sans);
  color: var(--af-white);
}

/* 1048:397340 / 1048:417664 — the two dot-grid panels, 1512x619 at y 0 and
   y 1092. Exported as one image each rather than rebuilt from paths. */
.afxmo-models__panel {
  position: absolute; left: 0; right: 0; width: auto; min-width: 1512px; height: 619px;
  background: center / 1512px 619px no-repeat;
  pointer-events: none;
}
.afxmo-models__panel--top { top: 0; background-image: url('/assets/figma/mo-panel-top.webp'); }
.afxmo-models__panel--bot { top: 1092px; background-image: url('/assets/figma/mo-panel-bot.webp'); }

/* 1048:397338 / 1048:397339 — "image 1175/1176", 557x990 at y 882, the same
   imageRef mirrored left and right, opacity .6, LAYER_BLUR 88 (CSS 44). */
.afxmo-models__glow {
  position: absolute; top: 882px; width: 557px; height: 990px;
  background: url('/assets/figma/mo-sideglow.webp') center / cover no-repeat;
  opacity: .6; filter: blur(44px);
  pointer-events: none;
}
.afxmo-models__glow--l { left: 50%; margin-left: -789px; }
.afxmo-models__glow--r { left: 50%; margin-left: 337px; }

/* 1048:437988 "Ellipse 473" — 1693x956 at (-52,481), #051F1D, LAYER_BLUR 516.
   BACKGROUND_BLUR dropped, same call as the hero. */
.afxmo-models__ambient {
  position: absolute; left: 50%; margin-left: -808px; top: 481px;
  width: 1693px; height: 956px;
  background: var(--af-hero-glow); border-radius: 50%;
  filter: blur(258px); mix-blend-mode: hard-light;
  pointer-events: none;
}

/* 1048:437989 "light" — the decorative arc sweep, opacity .2, LAYER_BLUR 36.
   Exported as one image; twelve CSS layers is not worth it. */
.afxmo-models__light {
  position: absolute; left: 50%; margin-left: -756px; top: 620px;
  width: 1512px; height: 1127px;
  background: url('/assets/figma/mo-light.webp') center bottom / cover no-repeat;
  pointer-events: none;
}

/* the 1512 stage stays centred */
.afxmo-models__stage {
  position: relative; z-index: 2;
  width: 1512px; margin: 0 auto; height: 1747px;
}

/* ---- 1048:438016 — header block, 1202x313 at (155,160), centred --------- */
.afxmo-models__head {
  position: absolute; left: 50%; margin-left: -601px; top: 160px;
  width: 1202px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
/* 1048:438018 — chip + headline, gap 16, then 32 to the lead. Flattening
   these into one 32px gap pushes the headline and the lead down by 16. */
.afxmo-models__title {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: 513px;
}
/* 1048:438019 — eyebrow chip, 126x33, radius 57, padding 6/14, gap 7 */
.afxmo-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  height: 33px; padding: 6px 14px; box-sizing: border-box;
  border-radius: 57px; background: rgba(255,255,255,.08);
  backdrop-filter: blur(17px);
  font-weight: var(--w-medium); font-size: 14px; line-height: 21px;
  letter-spacing: -.42px; color: var(--af-white);
}
.afxmo-eyebrow img { display: block; }
/* 1048:438029 — the two headline lines, SF Pro 510 80/80, ls -2.4, centred.
   Line one carries a 162.2deg #F8F8F8 -> #636363 ramp; line two is flat. */
.afxmo-models__h2 {
  margin: 0; width: 513px; text-align: center;
  font-family: var(--font-display);
  font-weight: var(--w-medium); font-size: 80px; line-height: 80px;
  letter-spacing: -2.4px; color: var(--af-white);
  white-space: nowrap;
}
.afxmo-models__h2 .g {
  display: block;
  background: linear-gradient(162.2deg, #F8F8F8 0%, #636363 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 1048:438032 — SF Pro 510 16/24, ls -.48, opacity .8, 444 wide, centred */
.afxmo-models__lead {
  margin: 0; width: 444px; text-align: center;
  font-weight: var(--w-medium); font-size: 16px; line-height: 24px;
  letter-spacing: -.48px; color: rgba(255,255,255,.8);
}

/* ---- 1048:438033 — the card grid. Four cards, 400x475, gaps 16, centred.
   Container is 816 wide (two columns) instead of the drawn 1258 (three),
   which puts both rows on the file's own row-two x positions. -------------- */
.afxmo-cards {
  position: absolute; left: 50%; margin-left: -408px; top: 533px;
  width: 816px; height: 966px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; align-content: center;
}

/* 1048:438034 — card, 400x475, radius 32, padding 24, column gap 32,
   225.2deg #151515 -> #2F2F2F (25.04%) -> #151515, 2px gradient hairline. */
.afxmo-card {
  position: relative; box-sizing: border-box;
  width: 400px; height: 475px; padding: 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 32px;
  border-radius: 32px; overflow: hidden;
  background: linear-gradient(225.2deg, #151515 0%, #2F2F2F 25.04%, #151515 100%);
}
.afxmo-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 2px; pointer-events: none; z-index: 1;
  background: linear-gradient(204.8deg, rgba(255,255,255,.13) 0%, rgba(202,202,202,0) 51.44%, rgba(153,153,153,.13) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* 1048:438035 — badge row, gap 12, 22 tall */
.afxmo-card__badges { display: flex; align-items: flex-start; gap: 12px; }
/* 1048:438036 / 438039 — chips, 22 tall, radius 57, padding 4/8 */
.afxmo-chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 4px 8px; box-sizing: border-box;
  border-radius: 57px; background: rgba(255,255,255,.08);
  backdrop-filter: blur(17px);
  font-weight: var(--w-medium); font-size: 14px; line-height: 14px;
  letter-spacing: -.14px; white-space: nowrap;
}
.afxmo-chip img { display: block; }
/* 1048:438038 — #A4E4DE at opacity .8 */
.afxmo-chip__tag { color: rgba(164,228,222,.8); }
/* 1048:438041 / 438045 — Standard | Pro, gap 8 with a 1px .2 rule between */
.afxmo-chip--var { gap: 8px; }
.afxmo-chip__std { color: rgba(255,255,255,.8); }
.afxmo-chip__rule { display: block; width: 1px; height: 10px; background: rgba(255,255,255,.2); }
.afxmo-chip__pro { color: rgba(225,255,160,.8); }

/* 1048:438046 — title + description, 352 wide, column gap 12 */
.afxmo-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 352px; }
/* 1048:438047 — Saans 600 32/48 */
.afxmo-card__name {
  margin: 0; font-family: var(--font-alt);
  font-weight: var(--w-semi); font-size: 32px; line-height: 48px;
  color: var(--af-white);
}
/* 1048:438048 — SF Pro 400 16/21.12, ls -.48, opacity .8 */
.afxmo-card__desc {
  margin: 0; font-weight: var(--w-regular); font-size: 16px; line-height: 21.12px;
  letter-spacing: -.48px; color: rgba(255,255,255,.8);
}

/* 1048:438049 — the five checks, column gap 8, each row gap 8 */
.afxmo-card__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.afxmo-card__list li {
  display: flex; align-items: center; gap: 8px;
  font-weight: var(--w-regular); font-size: 14px; line-height: 21px;
  letter-spacing: -.28px; color: rgba(255,255,255,.8);
}
/* 1048:438051 — 20x20 frame holding a 16.3 #7CB1AC tick */
.afxmo-card__list img { display: block; width: 20px; height: 20px; flex: none; }

/* 1048:438070 — card CTA, 352x49, radius 100, padding 14/20, gap 8.
   The 1-Step card is the lime one in the file; the rest are the dark
   rgba(255,255,255,.08) variant. Ink is set explicitly on both. */
.afxmo-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 352px; height: 49px; padding: 14px 20px; box-sizing: border-box;
  border: 0; border-radius: 100px; text-decoration: none;
  background: rgba(255,255,255,.08);
  color: var(--af-white);
  font-family: var(--font-ui);
  font-weight: var(--w-semi); font-size: 16px; line-height: 21px;
  letter-spacing: -.48px; cursor: pointer;
}
.afxmo-card__cta img { display: block; }
.afxmo-card__cta--lime {
  position: relative;
  background: var(--af-lime); color: var(--af-ink-teal);
}
.afxmo-card__cta--lime::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 1.5px; pointer-events: none;
  background: linear-gradient(161.7deg, rgba(5,63,59,.6) 0%, rgba(5,63,59,.162) 51.44%, rgba(5,63,59,.6) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* 1048:438234 — "Find your model - quiz", 370x68, radius 100, padding 24/32.
   Points at the existing /quiz; this page does not build a second one. */
.afxmo-models__quiz {
  position: absolute; left: 50%; margin-left: -185px; top: 1559px;
  width: 370px; height: 68px; padding: 24px 32px;
  text-transform: capitalize;
}

/* ============================ MOBILE 393 ==================================
   1048:465030 — 393x2913. Cards go full width in one column.              */
@media (max-width: 767px) {
  .afxmo-models { height: auto; padding: 72px 0 80px; }
  .afxmo-models__stage { width: 100%; height: auto; padding: 0 24px; box-sizing: border-box; }
  .afxmo-models__panel, .afxmo-models__glow, .afxmo-models__light { display: none; }
  .afxmo-models__ambient { margin-left: -846px; top: 300px; }
  .afxmo-models__head { position: static; width: auto; margin: 0 auto; gap: 24px; }
  .afxmo-models__title { width: auto; gap: 12px; }
  .afxmo-models__h2 { width: auto; font-size: 40px; line-height: 44px; letter-spacing: -1.2px; white-space: normal; }
  .afxmo-models__lead { width: auto; }
  .afxmo-cards {
    position: static; width: auto; height: auto; margin: 40px 0 0;
    flex-direction: column; flex-wrap: nowrap; gap: 16px;
  }
  .afxmo-card { width: 100%; height: auto; }
  .afxmo-card__head { width: 100%; }
  .afxmo-card__cta { width: 100%; margin-top: 8px; }
  .afxmo-models__quiz { position: static; width: 100%; margin: 32px 0 0; }
}
