/* Real app screenshots, a quiet phone frame, and click-to-reveal annotations. */
.explore-section { background: #fff; color: #272727; padding: 95px 32px 100px; scroll-margin-top: 85px; }
.explore-section > h2 { margin: 0 0 14px; text-align: center; font-size: clamp(30px, 3vw, 42px); line-height: 1.35; font-weight: 450; letter-spacing: -.055em; }
.explore-hint { margin: 0 0 28px; text-align: center; color: #92999e; font-size: 13px; letter-spacing: .04em; }
.explore-tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; max-width: 1140px; margin: 0 auto 36px; }
.explore-tabs button { border: 0; border-radius: 20px; background: none; color: #787878; padding: 9px 14px; font-size: 14px; line-height: 1.4; transition: color .15s, background .15s; }
.explore-tabs button[aria-selected="true"], .explore-tabs button:hover { background: #edf3f7; color: #35698b; }
.explore-tabs button:focus-visible { outline: 2px solid #517d9b; outline-offset: 3px; }
.explore-stage { --device-width: 328.194px; max-width: 1100px; display: grid; grid-template-columns: 1fr 460px 1fr; gap: 38px; margin: 0 auto; min-height: 658px; outline-offset: 12px; }
.explore-device { display: flex; justify-content: center; align-items: flex-start; min-width: 0; }
.explore-phone { position: relative; flex: none; box-sizing: content-box; padding: 6px; border: 1px solid #cdd7df; border-radius: 37px; background: #f9fbfd; box-shadow: 0 24px 48px -22px #243f553b, 0 3px 8px #2447620b; }
.explore-screen { position: relative; height: 644px; overflow: hidden; border-radius: 30px; background: #e7edf3; }
.explore-screenshot { display: block; position: absolute; height: auto; max-width: none; }
.explore-screenshot[hidden], .explore-image-status[hidden], .explore-image-status button[hidden] { display: none; }
.explore-image-status { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 28px; text-align: center; color: #566d7c; font-size: 14px; line-height: 1.7; }
.explore-image-status button { border: 1px solid #b5c7d4; border-radius: 20px; background: #fff; color: #35698b; padding: 8px 16px; font: inherit; cursor: pointer; }
.explore-image-status button:focus-visible { outline: 2px solid #517d9b; outline-offset: 3px; }
.explore-stage:not([data-image-state="ready"]) .explore-note { opacity: 0; visibility: hidden; pointer-events: none; }
.explore-caption { margin: 29px auto 0; padding: 0 20px; text-align: center; color: #74818a; font-size: 13px; line-height: 1.7; }
.explore-notes { position: relative; height: 658px; font-size: 14px; color: #838c94; }
.explore-note { position: absolute; top: var(--note-y, 25%); width: 100%; }
.explore-note-content { position: relative; top: -13px; }
.explore-note h3 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid #dce3e8; color: #3b4e5d; font-size: 17px; line-height: 1.4; font-weight: 550; }
.explore-note p { margin: 0; line-height: 1.8; text-wrap: pretty; }
.explore-note::before { content: ''; position: absolute; top: 0; width: calc(38px + (460px - var(--device-width)) / 2 + 13px); border-top: 1px solid #9eb6c8; pointer-events: none; z-index: 2; }
.explore-note-dot { position: absolute; top: -18px; width: 36px; height: 36px; border: 0; padding: 0; border-radius: 50%; background: transparent; z-index: 3; cursor: pointer; }
.explore-note-dot::after { content: ''; display: block; width: 9px; height: 9px; margin: auto; border-radius: 50%; background: #507b98; box-shadow: 0 0 0 4px #e1eef680, 0 1px 5px #356c9366; }
.explore-note-dot:hover::after, .explore-note-dot:focus-visible::after { background: #286f9d; box-shadow: 0 0 0 6px #7598b930; }
.explore-note-dot:focus-visible { outline: 2px solid #517d9b; outline-offset: 2px; }
.explore-notes-left .explore-note::before { left: 100%; }
.explore-notes-left .explore-note-dot { left: calc(100% + 38px + (460px - var(--device-width)) / 2 - 5px); }
.explore-notes-right .explore-note::before { right: 100%; }
.explore-notes-right .explore-note-dot { right: calc(100% + 38px + (460px - var(--device-width)) / 2 - 5px); }
.explore-note-content, .explore-note::before { opacity: 0; visibility: hidden; }
.explore-note.is-open .explore-note-content, .explore-note.is-open::before { opacity: 1; visibility: visible; transition: opacity var(--note-fade-duration, 500ms) ease-out; }
.explore-section:not(.notes-interactive) .explore-note > :is(h3,p) { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .explore-note.is-open .explore-note-content, .explore-note.is-open::before { transition: none; } }

.learning-stories { background: #f0f1f2; color: #242424; padding: 120px 0 0; overflow: clip; }
.learning-stories > h2 { max-width: 870px; margin: 0 auto 65px; padding: 0 28px; text-align: center; font-size: clamp(28px, 3.1vw, 42px); line-height: 1.3; font-weight: 630; letter-spacing: -.035em; text-wrap: balance; }
.story-rails { display: grid; gap: 12px; }
.story-viewport { overflow-x: auto; scrollbar-width: thin; }
.story-track, .story-batch { display: flex; width: max-content; }
.story-batch { gap: 12px; padding-right: 12px; }
.story-card { width: 480px; min-height: 260px; display: grid; grid-template-columns: 105px 1fr; gap: 26px; align-items: center; margin: 0; padding: 39px 35px; border-radius: 22px; background: #fff; }
.story-card img { display: block; width: 100%; height: 110px; object-fit: contain; }
.story-card p { font-size: 15px; line-height: 1.7; margin: 0 0 24px; text-wrap: pretty; }
.story-card span { font-size: 12px; color: #666; }
.stories-scroll-driven .story-viewport { overflow: hidden; }
.story-batch[aria-hidden="true"] { display: none; }
.stories-scroll-driven .story-batch[aria-hidden="true"] { display: flex; }
.story-actions { display: flex; flex-direction: column; align-items: center; padding: 35px 24px 45px; }
.story-continue { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 17px 27px; border: 1px solid #e1e2e3; border-radius: 100px; text-decoration: none; color: #151515; background: #fff; font-size: 14px; }
.story-continue > :last-child { font-size: 23px; line-height: 18px; }
.story-continue:hover { border-color: #aaa; }

.weekly-section { background: #f0f1f2; padding: 125px 32px 100px; scroll-margin-top: 95px; }
.weekly-shell { max-width: 1120px; margin: 0 auto; padding: 68px; border-radius: 68px; background: #000; color: #fff; }
.weekly-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; margin-bottom: 60px; }
.weekly-heading h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.04em; line-height: 1.25; }
.weekly-heading h2 > span { color: #fff; }
.weekly-heading p { color: #b4b4b4; font-size: 17px; line-height: 1.7; margin: 0 0 22px; text-wrap: pretty; }
.weekly-shuffle { display: inline-flex; align-items: center; gap: 25px; border: 0; border-radius: 100px; background: #fff; color: #111; font-size: 14px; padding: 15px 25px; }
.weekly-shuffle:hover { background: #e8e8e8; }
.weekly-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.weekly-card { position: relative; isolation: isolate; display: flex; flex-direction: column; width: 100%; min-width: 0; min-height: 455px; aspect-ratio: .96; padding: 35px; border: 0; border-radius: 30px; overflow: hidden; color: #fff; text-align: left; background: #405154; }
.weekly-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.weekly-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #0002, #0002 70%, #0003); z-index: -1; }
.weekly-card-label { display: block; font-size: 17px; font-weight: 550; margin-bottom: 44px; }
.weekly-card-body { display: block; margin: auto 0; padding-bottom: 24px; }
.weekly-card-intro { display: block; font-size: 13px; line-height: 1.6; margin-bottom: 18px; opacity: .85; }
.weekly-card strong { display: block; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.33; font-weight: 620; letter-spacing: -.025em; text-wrap: pretty; }
.weekly-card-signature { display: block; font-size: 13px; margin-top: 23px; opacity: .85; }
.weekly-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; font-size: 11px; }
.weekly-card-bottom > :first-child { opacity: 0; transition: opacity .2s; }
.weekly-card-bottom > :last-child { font-size: 30px; font-weight: 350; line-height: 1; }
.weekly-card:hover .weekly-card-bottom > :first-child, .weekly-card:focus-visible .weekly-card-bottom > :first-child { opacity: 1; }
.weekly-card:focus-visible { outline-color: #fff; outline-offset: 6px; }

@media (min-width: 1600px) { .explore-section { padding-top: 125px; padding-bottom: 160px; } .learning-stories { padding-top: 150px; } .story-card { width: 530px; min-height: 285px; } }
@media (max-width: 1000px) {
  .weekly-shell { padding: 45px; border-radius: 48px; }
  .weekly-heading { gap: 40px; margin-bottom: 44px; }
  .weekly-card { padding: 26px; min-height: 410px; }
  .weekly-card-label { font-size: 15px; }
}
@media (max-width: 760px) {
  .learning-stories { padding-top: 80px; }
  .learning-stories > h2 { font-size: 29px; margin-bottom: 40px; }
  .story-rails { gap: 10px; }
  .story-batch { gap: 10px; padding-right: 10px; }
  .story-card { width: 350px; min-height: 235px; grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 25px; border-radius: 18px; }
  .story-card img { height: 84px; }
  .story-card p { font-size: 13px; margin-bottom: 18px; }
  .story-card span { font-size: 10px; }
  .story-actions { padding-top: 30px; }
  .story-continue { font-size: 13px; }
  .weekly-section { padding: 80px 16px 55px; scroll-margin-top: 145px; }
  .weekly-shell { padding: 40px 24px 24px; border-radius: 35px; }
  .weekly-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 35px; }
  .weekly-heading h2 { font-size: 34px; }
  .weekly-heading p { font-size: 15px; }
  .weekly-cards { grid-template-columns: 1fr; gap: 20px; }
  .weekly-card { min-height: 365px; aspect-ratio: .92; padding: 27px; border-radius: 24px; }
  .weekly-card strong { font-size: clamp(24px, 5.8vw, 31px); }
  .weekly-card-label { margin-bottom: 35px; }
  .weekly-card-bottom > :first-child { opacity: .8; }
}
@media (max-width: 374px) { .weekly-card { min-height: 460px; } }
@media (prefers-reduced-motion: reduce) {
  .stories-scroll-driven .story-viewport { overflow-x: auto; }
  .stories-scroll-driven .story-track { transform: none !important; }
  .stories-scroll-driven .story-batch[aria-hidden="true"] { display: none; }
}
