/* /landing/stocks/ (Equity baskets). Loaded after wright-landing.css and built
   on its tokens and components (header, cards, table, film, videos, FAQ,
   footer). Brand Design System v1.1: white canvas, Helvetica Neue, ink
   #1E0C1C, Wright Green for Equity and CTAs, palette tints for tiles and
   badges, the brand gradient only as thin lines. Scoped under .ws. */

.ws .wl-nav-links a.is-current { font-weight: 700; }
.ws .wl-nav-links a.is-current::after { transform: scaleX(1); }
.ws-lede { margin: 14px 0 0; max-width: 640px; font-size: 17px; line-height: 1.7; }
.ws-small { margin-top: 12px; font-size: 13px; color: var(--muted); }
.ws-mt { margin-top: 22px; }

/* ---------- Hero ---------- */
.ws-hero { padding: 64px 0 64px; }
.ws-hero .wl-h1 { font-size: clamp(36px, 4.4vw, 54px); }
.ws-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ws-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--body); }
.ws-kicker span { width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.ws-hero-sub { max-width: 540px; font-size: 18px; line-height: 1.6; margin-top: 14px !important; }
.ws-hero-cta { margin-top: 28px; }
.ws-hero-cta .wl-btn { min-width: 300px; padding: 20px 40px; font-size: 18px; }
.ws-hero-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.ws-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; margin-top: 40px; }
.ws-hero-stats > div + div { border-left: 1px solid var(--border); padding-left: 20px; }
.ws-hero-stats b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.6px; line-height: 1.2; }
.ws-hero-stats span { font-size: 12px; color: var(--muted); }

/* Bento of live figures */

/* Hero tiles: /landing/'s glass bento (wl-tile); these are the extra tiles. */
.ws-bento, .ws-hero-copy { position: relative; z-index: 1; }
.ws-t-count .wl-tile-big { margin-top: 4px; }
.ws-t-count .wl-tile-tiny { margin-top: auto; }

/* ---------- All baskets ---------- */
.ws-all .wl-section-head { margin-bottom: 28px; }
.ws-filters { position: relative; padding: 24px 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.ws-filters::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient); }
.ws-filters-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; }
.ws-filters-head b { font-size: 18px; font-weight: 800; color: var(--ink); }
.ws-filters-count { font-size: 13px; color: var(--muted); }
.ws-clear { margin-left: auto; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--green-text); cursor: pointer; }
.ws-clear[hidden] { display: none; }
.ws-filter-rows { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 16px; }
.ws-filter-row-wide { flex-basis: 100%; }
.ws-filter-label { font-size: 12px; font-weight: 600; color: var(--body); }
.ws-opts { flex-wrap: wrap; }
.ws-opts button i { font-style: normal; opacity: .6; margin-left: 2px; }
.ws-opts button:disabled { opacity: .45; cursor: not-allowed; }
.ws-opts button:disabled:hover { border-color: var(--border-strong); }
.ws-trust { margin-top: 18px; }
.ws-opts { display: flex; gap: 5px; margin-top: 7px; }
.ws-opts button { min-height: 40px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: #FFFFFF; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ws-opts button:hover { border-color: var(--green); }
.ws-opts button[aria-checked="true"] { background: var(--green); border-color: var(--green); color: #FFFFFF; }

.ws-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin: 20px 0 16px; }
.ws-toolbar .wl-switch { margin: 0; }

.ws-card.is-filtered { display: none !important; }
/* Six cards, then "See more" (all widths). Filtering shows every match. */
.ws .ws-cards.wl-collapsible:not(.is-expanded) > .wl-pcard:nth-child(n+5) { display: flex; }
.ws .ws-cards.wl-collapsible:not(.is-expanded) > .wl-pcard:nth-child(n+7) { display: none; }
.ws .ws-more { display: block; margin: 20px auto 0; padding: 12px 28px; border-radius: 8px; border: 1px solid var(--border-strong); background: #FFFFFF; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.ws .ws-more:hover { border-color: var(--ink); }
.ws .ws-more[hidden], .ws .ws-more.is-off { display: none !important; }
.wl-table tr.is-filtered { display: none; }
.ws-highlight { align-self: flex-start; margin-top: 6px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #E5FFFB; color: var(--ink); border: 1px solid #CDEFE7; }
.ws-highlight.is-plain { background: #FFFFFF; border-color: var(--border); color: var(--muted); font-weight: 600; }
.ws-none { margin-top: 20px; padding: 24px; text-align: center; border-radius: 12px; background: var(--card); border: 1px solid var(--border); font-size: 14px; }
.ws-none button { border: 0; background: none; cursor: pointer; padding: 0; }

.ws-us { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 20px; padding: 20px 24px; border-radius: 16px; background: #E5FFFB; border: 1px solid #CDEFE7; color: var(--ink) !important; transition: transform .3s var(--ease), box-shadow .3s; }
.ws-us:hover { transform: translateY(-3px); box-shadow: var(--lift-shadow); }
.ws-us-new { font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 4px 10px; border-radius: 6px; background: var(--green); color: #FFFFFF; }
.ws-us b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); }
.ws-us small { display: block; margin-top: 3px; font-size: 14px; color: var(--body); }

/* ---------- What is a basket ---------- */
.ws-what { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.ws-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px !important; padding: 0; list-style: none; }
.ws-steps li { position: relative; display: flex; flex-direction: column; padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.ws-steps li + li::before { content: '→'; position: absolute; left: -15px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--border-strong); font-size: 11px; color: var(--ink); z-index: 1; }
.ws-steps i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 14px; font-weight: 800; font-style: normal; color: var(--ink); }
.ws-steps li:nth-child(1) i { background: var(--green); color: #FFFFFF; }
.ws-steps li:nth-child(2) i { background: #C0B1F8; }
.ws-steps li:nth-child(3) i { background: #D57BC8; }
.ws-steps b { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.ws-steps span { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--desc); }

.ws-compare { border-radius: 16px; background: #FFFFFF; border: 1px solid var(--border); overflow: hidden; }
.ws-compare-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px 104px 130px; min-height: 54px; border-top: 1px solid var(--border); }
.ws-compare-row > span { display: flex; align-items: center; justify-content: center; padding: 12px 8px; text-align: center; }
.ws-compare-row > span:first-child { justify-content: flex-start; padding-left: 18px; text-align: left; font-size: 14px; color: var(--ink); }
.ws-compare-head { border-top: 0; background: var(--card); }
.ws-compare-head > span { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--body); }
.ws-compare-head > span:first-child { font-size: 13px; color: var(--muted); }
.ws-compare-row > .is-us { background: #E5FFFB; box-shadow: inset 2px 0 0 var(--green), inset -2px 0 0 var(--green); }
.ws-compare-head > .is-us { background: var(--green); color: #FFFFFF; font-size: 13px; font-weight: 700; }
.ws-compare-row:last-of-type > .is-us { box-shadow: inset 2px 0 0 var(--green), inset -2px 0 0 var(--green), inset 0 -2px 0 var(--green); }
.ws-compare i { display: inline-block; border-radius: 50%; }
.ws-compare .is-y i { width: 20px; height: 20px; background: var(--green); -webkit-mask: none; position: relative; }
.ws-compare .is-y i::after { content: ''; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ws-compare .is-p i { width: 18px; height: 18px; border: 1.5px solid var(--green); background: linear-gradient(90deg, var(--green) 50%, transparent 50%); }
.ws-compare .is-n i { width: 16px; height: 16px; border: 1.5px solid var(--border-strong); }
.ws-compare-key { display: flex; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.ws-compare-key span { display: inline-flex; align-items: center; gap: 6px; }
.ws-compare-key i { width: 12px; height: 12px; }
.ws-compare-key .is-y i { width: 12px; height: 12px; }
.ws-compare-key .is-y i::after { display: none; }
.ws-compare-key .is-p i, .ws-compare-key .is-n i { width: 12px; height: 12px; }

.ws-costs { display: grid; grid-template-columns: 200px repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 48px; padding: 8px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--border); }
.ws-costs-head { display: flex; flex-direction: column; justify-content: center; padding: 16px; }
.ws-costs-head b { margin-top: 6px; font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.ws-cost { padding: 18px 20px; border-radius: 12px; background: var(--card); }
.ws-cost small { display: block; font-size: 12px; color: var(--muted); }
.ws-cost b { display: block; margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.ws-cost span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; }

/* ---------- Research ---------- */
.ws-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.ws-facts div { padding: 16px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.ws-facts b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.ws-facts span { font-size: 13px; }

/* ---------- Team ---------- */
.ws-team-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.ws-team-stats div { padding: 16px 18px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--border); }
.ws-team-stats b { display: block; font-size: 22px; white-space: nowrap; font-weight: 800; letter-spacing: -.6px; color: var(--ink); }
.ws-team-stats span { font-size: 13px; }
.ws-stories-head { margin-top: 88px; }

/* ---------- Free report ---------- */
.ws-report { position: relative; display: grid; grid-template-columns: 280px minmax(0, 1fr) 360px; gap: 40px; align-items: center; padding: 36px 40px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.ws-report::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient); }
.ws-report-vis { position: relative; height: 210px; }
.ws-doc { position: absolute; width: 160px; height: 196px; padding: 16px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--border); box-shadow: 0 16px 34px -18px rgba(30, 12, 28, .3); display: flex; flex-direction: column; gap: 6px; }
.ws-doc-a { left: 10px; top: 8px; transform: rotate(-7deg); }
.ws-doc-b { left: 124px; top: 16px; transform: rotate(5deg); background: #F8FFE5; }
.ws-doc i { width: 46px; height: 6px; border-radius: 3px; background: var(--green); }
.ws-doc-b i { background: #D57BC8; }
.ws-doc b { margin: 6px 0 4px; font-size: 13px; font-weight: 800; color: var(--ink); }
.ws-doc em { display: block; height: 4px; border-radius: 2px; background: var(--border); }
.ws-doc em:nth-of-type(2) { width: 80%; }
.ws-doc em:nth-of-type(3) { width: 60%; }
.ws-doc-bars { display: flex; align-items: flex-end; gap: 4px; height: 50px; margin-top: auto; }
.ws-doc-bars u { flex: 1; background: #E5FFFB; }
.ws-doc-bars u:nth-child(1) { height: 40%; }
.ws-doc-bars u:nth-child(2) { height: 70%; background: var(--green); }
.ws-doc-bars u:nth-child(3) { height: 55%; }
.ws-doc-bars u:nth-child(4) { height: 90%; background: var(--green); }
.ws-doc-pie { width: 76px; height: 76px; margin-top: auto; border-radius: 50%; background: conic-gradient(#579888 0 45%, #C0B1F8 45% 75%, #D57BC8 75% 100%); }
.ws-report-copy p { margin-top: 10px !important; font-size: 15px; line-height: 1.65; }
.ws-report-cta { min-width: 0; }
.ws-report-k { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green-text); }
.ws-report-h { margin-top: 0 !important; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; color: var(--ink); }
.ws-sheet-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ws-sheet-form > :not(#ws-sheet-email):not(#ws-sheet-phone):not(label) { grid-column: 1 / -1; }
.ws-sheet-form input { width: 100%; min-height: 38px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: #FFFFFF; color: var(--ink); font-size: 14px; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.ws-sheet-form input::placeholder { color: var(--caption); }
.ws .ws-sheet-form input[type] { border: 1px solid var(--border-strong) !important; box-shadow: none; }
.ws .ws-sheet-form input[type]:focus { border-color: var(--green) !important; }
.ws-sheet-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(87, 152, 136, .18); }
.ws-sheet-form .wl-btn { min-height: 40px; padding: 10px 20px; font-size: 14px; }
.ws-sheet-form .wl-btn:disabled { opacity: .7; cursor: progress; }
.ws-sheet-err { margin: 0 !important; font-size: 13px; color: var(--ink); background: #FFEBFC; border: 1px solid #F3C6EC; border-radius: 8px; padding: 8px 12px; }
.ws-sheet-note { margin: 2px 0 0 !important; font-size: 11px; line-height: 1.5; color: var(--muted); }
.ws-sheet-note a { color: var(--ink) !important; text-decoration: underline !important; }
.ws-sheet-done { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 12px; background: #E5FFFB; border: 1px solid #CDEFE7; font-size: 14px; }
.ws-sheet-done[hidden] { display: none; }
.ws-sheet-done b { font-size: 16px; color: var(--ink); }
.ws-sheet-done span a { color: var(--ink) !important; text-decoration: underline !important; }
.ws-sheet-done .wl-link { margin-top: 6px; }
.ws-doc-line { margin-top: auto; height: 46px; background: linear-gradient(180deg, rgba(87, 152, 136, .16), rgba(87, 152, 136, 0)); border-top: 2px solid var(--green); border-radius: 2px; clip-path: polygon(0 70%, 18% 55%, 34% 62%, 52% 35%, 70% 42%, 86% 18%, 100% 10%, 100% 100%, 0 100%); }

/* ---------- FAQ + learn ---------- */
.ws-faq-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.ws-faq-grid .wl-faqs { max-width: none; margin: 0; }
.ws-learn { margin-top: 56px; padding: 28px 32px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.ws-learn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 8px; }
.ws-learn-item { border-top: 1px solid var(--border-strong); padding: 4px 0; }
.ws-learn-item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--ink); }
.ws-learn-item summary::-webkit-details-marker { display: none; }
.ws-learn-item summary i { position: relative; flex: none; width: 14px; height: 14px; transition: transform .25s var(--ease); }
.ws-learn-item summary i::before, .ws-learn-item summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: var(--muted); }
.ws-learn-item summary i::after { transform: rotate(90deg); }
.ws-learn-item[open] summary i { transform: rotate(45deg); }
.ws-learn-item p { margin: 0 0 10px !important; font-size: 13px; line-height: 1.65; color: var(--desc); }

/* ---------- Close ---------- */
.ws-close { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 56px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); overflow: hidden; }
.ws-close::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient); }
.ws-close .wl-body { max-width: 560px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ws-hero-grid, .ws-what { grid-template-columns: 1fr; gap: 40px; }
  .ws-report { grid-template-columns: 220px minmax(0, 1fr); }
  .ws-report-cta { grid-column: 1 / -1; }
  .ws-costs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ws-costs-head { grid-column: 1 / -1; padding-bottom: 4px; }
  .ws-faq-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 960px) {
}
@media (max-width: 640px) {
  .ws-hero { padding: 36px 0 40px; }
  .ws-hero-sub { font-size: 16px; }
  .ws-hero-cta .wl-btn { min-width: 0; width: 100%; padding: 18px 24px; font-size: 17px; }
  .ws-hero-stats { margin-top: 28px; }
  .ws-hero-stats > div + div { padding-left: 12px; }
  .ws-hero-stats b { font-size: 19px; }
  .ws-opts { overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .ws-opts::-webkit-scrollbar { display: none; }
  .ws-filters { padding: 20px 16px; }
  .ws-filter-rows { flex-direction: column; gap: 14px; }
  .ws-opts { flex-wrap: nowrap; }
  .ws-us { grid-template-columns: 1fr; gap: 10px; }
  .ws-us-new { justify-self: start; }
  .ws-us .wl-btn { justify-self: start; }
  .ws-steps { grid-template-columns: 1fr; }
  .ws-steps li + li::before { display: none; }
  .ws-compare { overflow-x: auto; }
  .ws-compare-row { grid-template-columns: minmax(130px, 1fr) 76px 76px 92px; }
  .ws-compare-head > span { font-size: 11px; }
  .ws-costs { grid-template-columns: 1fr; }
  .ws-facts, .ws-team-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-team-stats div:last-child { grid-column: 1 / -1; }
  .ws-report { grid-template-columns: 1fr; padding: 28px 20px; gap: 20px; }
  .ws-sheet-form { grid-template-columns: 1fr; }
  .ws-report-vis { height: 190px; width: 270px; margin: 0 auto; }
  .ws-learn { padding: 22px 18px; }
  .ws-learn-grid { grid-template-columns: 1fr; }
  .ws-close { grid-template-columns: 1fr; padding: 36px 22px; gap: 22px; }
  .ws-close .wl-btn { width: 100%; }
  .ws-stories-head { margin-top: 64px; }
}

/* ---------- CTA (both basket pages) ----------
   Wright Green easing into Deep Navy, white text, a soft lavender glow. */
.ws .wl-btn {
  background: linear-gradient(100deg, #579888 0%, #2E5E66 48%, #0A1628 100%);
  background-size: 170% 100%; background-position: 0 0;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 24px -12px rgba(10, 22, 40, .55), 0 8px 24px -10px rgba(192, 177, 248, .6);
  transition: background-position .45s var(--ease), transform .2s var(--ease), box-shadow .2s;
}
.ws .wl-btn:hover { background: linear-gradient(100deg, #579888 0%, #2E5E66 48%, #0A1628 100%); background-size: 170% 100%; background-position: 100% 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 14px 30px -12px rgba(10, 22, 40, .6), 0 12px 30px -10px rgba(192, 177, 248, .75); }

/* Header: in-page links and Log in on desktop; "Explore baskets" on mobile only. */
.ws .ws-nav-cta { display: none; }
@media (max-width: 960px) {
  .ws .ws-nav-cta { display: inline-flex; }
}

/* First fold (hero CTA, and the header button on mobile) and the closing
   section: Wright Green through
   Wright Lavender to Wright Pink, each deepened so white text stays legible. */
.ws .ws-hero-cta .wl-btn,
.ws .wl-btn.ws-nav-cta,
.ws .ws-close .wl-btn,
.ws .ws-hero-cta .wl-btn:hover,
.ws .wl-btn.ws-nav-cta:hover,
.ws .ws-close .wl-btn:hover {
  background: linear-gradient(100deg, #4E8B7D 0%, #6A87B8 30%, #8571DE 55%, #B062BF 80%, #C2569F 100%);
  background-size: 100% 100%;
}
.ws .ws-hero-cta .wl-btn, .ws .wl-btn.ws-nav-cta, .ws .ws-close .wl-btn { box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 12px 30px -10px rgba(133, 113, 222, .55); transition: filter .2s, transform .2s var(--ease), box-shadow .2s; }
.ws .ws-hero-cta .wl-btn:hover, .ws .wl-btn.ws-nav-cta:hover, .ws .ws-close .wl-btn:hover { filter: brightness(.92) saturate(1.08); box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 16px 36px -10px rgba(176, 98, 191, .6); }
