/* Three-part product showcase (Flashcards / Mobile app / Online system) and the
   small layout kit it uses. Shared by welcome(-es).html and how-it-works(-es).html:
   edit here, never in a page's inline <style>. Needs card-print.css for the card anatomy. */
.wl-wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 768px) { .wl-wrap { padding-inline: 32px; } }

.wl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary-orange); }
.wl-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary-orange); box-shadow: 0 0 0 4px rgba(232,71,44,0.16); }
.wl-h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -0.02em;
  line-height: 1.15; color: var(--ll-navy-900); margin: 10px 0 0; }
.wl-lede { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); max-width: 62ch; }
.wl-body { font-size: 15px; line-height: 1.6; color: var(--color-text-secondary); margin: 0; }
.wl-body strong, .wl-lede strong { color: var(--ll-navy-900); }
.wl-section { padding-block: 56px; }
@media (min-width: 900px) { .wl-section { padding-block: 72px; } }
.wl-grid-2 { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .wl-grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ---------- lists ---------- */
.wl-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.wl-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--color-text-secondary); }
.wl-list li strong { color: var(--ll-navy-900); }
.wl-list .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(39,174,96,0.12); color: var(--ll-readiness-green); margin-top: 1px; }

/* ---------- 3. Card anatomy ---------- */
/* Card anatomy: its own centered block under the flashcards panel. The heading
   comes first, then the front and back side by side, then the five callouts in a row.
   (The heading and callouts share one wrapper in the markup; display: contents lets
   the grid order them around the cards.) */
.wl-anat { display: grid; gap: 22px; max-width: 1040px; margin: 0 auto; }
.wl-anat > div:not(.wl-cardpair) { display: contents; }
.wl-anat .wl-h3 { order: 1; text-align: center; margin: 0; }
.wl-anat .wl-cardpair { order: 2; }
.wl-anat .wl-callouts { order: 3; }
@media (min-width: 900px) { .wl-anat .wl-callouts { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .wl-anat .wl-callouts li { flex-direction: column; gap: 10px; } }
.wl-cardpair { display: grid; gap: 18px; }
@media (min-width: 640px) { .wl-cardpair { grid-template-columns: 1fr 1fr; gap: 24px; } }
.wl-cardpair figure { margin: 0; }
.wl-cardpair .stage { container-type: inline-size; }
.wl-cardpair figcaption { margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-text-muted); text-align: center; }
.wl-callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wl-callouts li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--color-text-secondary); }
.wl-callouts li strong { color: var(--ll-navy-900); }
.wl-callouts .b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 800; color: var(--ll-navy-900); background: rgba(11,39,66,0.09); }

/* ---------- the three parts ---------- */
.wl-h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; color: var(--ll-navy-900); margin: 0 0 16px; }
.trio { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 820px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.trio-card { display: flex; flex-direction: column; text-decoration: none; background: var(--color-surface-card); border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.trio-card:hover { transform: translateY(-2px); }
.trio-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ll-tan-100); }
.trio-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.trio-img.dark { background: radial-gradient(120% 90% at 50% 20%, #17416b 0%, var(--ll-navy-900) 62%); display: flex; justify-content: center; padding-top: 16px; }
.trio-img.dark img { width: 44%; height: auto; object-fit: contain; border-radius: 14px 14px 0 0; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.trio-n { margin: 18px 20px 0; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary-orange); }
.trio-t { margin: 4px 20px 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--ll-navy-900); }
.trio-s { margin: 6px 20px 22px; font-size: 14.5px; line-height: 1.5; color: var(--color-text-secondary); }

/* breathing room between the mobile app and online system panels, so the two pictures
   (right, then left) never meet at the corner */
.part-online { margin-top: 48px; }
@media (min-width: 960px) { .part-online { margin-top: 88px; } }
/* the part rows sit inside the page gutter so the picture panels can have the
   design system's rounded corners (--radius-xl, same as .media-frame) */
.part-grid { display: grid; max-width: 1280px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 768px) { .part-grid { padding-inline: 32px; } }
@media (min-width: 960px) {
  .part-grid { grid-template-columns: 1fr 1fr; min-height: 640px; }
  /* photo left, text right; the mobile app flips it so the three parts alternate */
  .part-mobile .part-media { order: 2; }
  /* the mobile app's text sits in the left column, so it mirrors the online system section:
     same padding and width, pushed against the page center and right-aligned, check marks
     on the right. Phones keep the normal left-aligned stack. */
  .part-mobile .part-copy { justify-self: end; text-align: right; }
  .part-mobile .part-hype, .part-mobile .part-note { margin-left: auto; }
  .part-mobile .decks, .part-mobile .part-cta { justify-content: flex-end; }
  .part-mobile .wl-list li { flex-direction: row-reverse; }
}
.part-media { position: relative; overflow: hidden; margin: 0; min-height: 380px; border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.part-media.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.part-copy { padding: 44px 20px 48px; max-width: 640px; }
@media (min-width: 768px) { .part-copy { padding: 56px 40px; } }
@media (min-width: 960px) { .part-copy { padding: 72px 56px; align-self: center; } }
.part-n { font-family: var(--font-mono); font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary-orange); }
.part-t { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5.4vw, 62px); letter-spacing: -0.03em; line-height: 1; color: var(--ll-navy-900); margin: 10px 0 0; }
.part-hype { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--ll-navy-900); max-width: 46ch; }
.decks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.decks-l { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); margin-right: 2px; }
.deck { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #fff; background: var(--ll-navy-900); border-radius: 999px; padding: 7px 14px; }
.deck em { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.part-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.part-note { font-size: 13.5px; line-height: 1.5; color: var(--color-text-muted); max-width: 42ch; }
@media (max-width: 559px) { .part-cta .btn { width: 100%; } }
.part-access { margin: 0 auto; padding: 8px 0 56px; max-width: 70ch; text-align: center; font-size: 15px; line-height: 1.6; color: var(--color-text-secondary); }
.part-access strong { color: var(--ll-navy-900); }
.part-cards > .wl-wrap { padding-block: 56px 64px; }
@media (min-width: 960px) { .part-cards > .wl-wrap { padding-block: 72px 80px; } }

/* mobile app: three real App Store screens on navy, filling the panel */
.phones { background: radial-gradient(120% 90% at 50% 20%, #17416b 0%, var(--ll-navy-900) 62%); display: flex; align-items: center; justify-content: center; padding: 48px 12px; }
.phone { display: block; width: 30%; max-width: 230px; border-radius: 26px; border: 5px solid #06121f; overflow: hidden; background: #06121f;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45); flex: none; }
.phone img { display: block; width: 100%; height: auto; }
.phone.p1 { transform: translateX(14%) rotate(-5deg) scale(0.9); z-index: 1; }
.phone.p2 { position: relative; z-index: 2; width: 36%; max-width: 270px; }
.phone.p3 { transform: translateX(-14%) rotate(5deg) scale(0.9); z-index: 1; }

/* online system: stacked browser windows on warm tan */
.screens { background: radial-gradient(120% 90% at 30% 20%, #fff8e9 0%, var(--ll-tan-100) 70%); padding: 44px 18px 72px; display: flex; align-items: center; justify-content: center; }
.browser { display: block; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(11,39,66,0.28); border: 1px solid rgba(11,39,66,0.12); }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #0f2a45; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.28); }
.browser .bar b { margin-left: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; }
.browser.b1 { width: 94%; position: relative; z-index: 1; margin-bottom: 8%; }
.browser.b2 { position: absolute; width: 52%; right: 3%; bottom: 6%; z-index: 2; }
/* the site-wide phone type scale caps h2 at 26px; the part titles are the page's billboards */
@media (max-width: 760px) { .part .part-t { font-size: 44px !important; } .trio .trio-t { font-size: 24px !important; } }


/* How It Works: the three parts are sold as one bundle */
/* one gutter for the whole bundle block: between the three cards and below them.
   The three are one bundle, not steps, so no connectors between the cards. */
.trio.bundle { position: relative; --bundle-gap: 14px; gap: var(--bundle-gap); }
.trio.bundle + .bundle-strip { --bundle-gap: 14px; }
@media (min-width: 820px) { .trio.bundle, .trio.bundle + .bundle-strip { --bundle-gap: 28px; } }
@media (min-width: 820px) {
  .trio.bundle .trio-card { position: relative; overflow: visible; }
  .trio.bundle .trio-img { border-radius: var(--radius-card) var(--radius-card) 0 0; }
}
.bundle-strip { margin-top: var(--bundle-gap, 26px); display: grid; gap: 22px; align-items: center; padding: 30px 24px; border-radius: var(--radius-card);
  background: radial-gradient(120% 140% at 0% 0%, #17416b 0%, var(--ll-navy-900) 60%); color: #fff; box-shadow: 0 18px 44px rgba(11,39,66,0.22); }
@media (min-width: 900px) { .bundle-strip { grid-template-columns: auto 1fr auto; gap: 36px; padding: 36px 44px; } }
.bundle-icons { display: flex; align-items: center; justify-content: center; gap: 10px; }
.bundle-icons .bi { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16); color: #fff; }
.bundle-icons .plus { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--color-primary-orange); }
.bundle-copy { text-align: center; }
@media (min-width: 900px) { .bundle-copy { text-align: left; } }
.bundle-copy .t { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.bundle-copy .s { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,0.78); }
.bundle-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (min-width: 900px) { .bundle-points { flex-direction: column; align-items: flex-start; } }
.bundle-points li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,0.08); border-radius: 999px; padding: 7px 12px; }
.bundle-points li svg { color: var(--ll-readiness-green); flex: none; }
@media (max-width: 760px) { .bundle-strip .bundle-copy .t { font-size: 26px !important; } .bundle-strip .bundle-copy .s { font-size: 15.5px !important; }
  .bundle-strip .bundle-points li { font-size: 11px !important; } }
