/* Real learning screens with softly faded illustrations from the original feature section. */
.wm-landing .wl-flow {
    margin-top: 0;
    padding-block: 76px 72px;
    background: color-mix(in srgb, var(--wl-soft) 78%, var(--wl-paper));
    border-block: 1px solid var(--wl-line);
}

.wl-flow-heading {
    display: grid;
    justify-items: center;
    padding-bottom: 48px;
    text-align: center;
}

.wm-landing .wl-flow-heading h2 {
    font-size: clamp(30px, 3.2vw, 43px);
    line-height: 1.4;
}

.wl-flow-heading h2 span { color: var(--wl-purple); }

.wl-flow-moments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.wl-flow-moment {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px;
    border: 1px solid var(--wl-line);
    border-radius: 24px;
    background: var(--wl-paper);
}

/* Fade toward the copy and screen, retaining the original artwork's detail. */
.wm-landing .wl-flow-ambience {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 72%;
    height: 258px;
    object-fit: cover;
    object-position: center;
    opacity: .86;
    filter: saturate(1.22);
    -webkit-mask-image: radial-gradient(ellipse at 90% 12%, #000 12%, #0009 42%, transparent 74%);
    mask-image: radial-gradient(ellipse at 90% 12%, #000 12%, #0009 42%, transparent 74%);
    pointer-events: none;
    user-select: none;
}

.wm-landing .wl-flow-ambience--keyboard {
    -webkit-mask-image: radial-gradient(ellipse at 90% 24%, #000 12%, #0009 42%, transparent 74%);
    mask-image: radial-gradient(ellipse at 90% 24%, #000 12%, #0009 42%, transparent 74%);
}

html[data-wm-theme="dark"] .wm-landing .wl-flow-ambience { opacity: .36; }

.wm-landing .wl-flow-moment-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 21px;
    padding: 7px 12px;
    border: 1px solid var(--wl-line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--wl-soft) 65%, var(--wl-paper));
    color: var(--wl-purple);
    font-size: 13px;
    font-weight: 700;
}

.wl-flow-moment-label svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wm-landing .wl-flow-copy h3 {
    font-size: clamp(27px, 2.5vw, 34px);
    line-height: 1.4;
}

.wm-landing .wl-flow-description {
    margin-top: 16px;
    color: var(--wl-muted);
    font-size: 14px;
    line-height: 1.9;
}

.wl-flow-figure { margin: auto 0 0; padding-top: 30px; }

.wl-flow-screen {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2.55;
    border: 1px solid #d8d3e5;
    border-radius: 12px;
    background: #f7f6fb;
    box-shadow: 0 8px 20px #30234a0b;
}

/* Focus unchanged captures on the two input methods and their answer fields.
   Each frame links to its full source image; no product UI is reconstructed. */
.wm-landing .wl-flow-screen img {
    position: absolute;
    width: 100%;
    height: auto;
    max-width: none;
}

.wl-flow-screen--writing img { bottom: 0; left: 0; }
.wm-landing .wl-flow-screen--keyboard img { width: 112%; left: -6%; bottom: -2%; }

.wl-flow-enlarge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #ddd6ec;
    border-radius: 50%;
    background: #fff;
    color: #6045a6;
    font-size: 18px;
    line-height: 1;
}

.wl-flow-screen:is(:hover, :focus-visible) .wl-flow-enlarge { background: #eee7fc; }

@media (max-width: 1000px) {
    .wl-flow-moment { padding: 26px; }
    .wl-flow-description br { display: none; }
}

@media (max-width: 760px) {
    .wm-landing .wl-flow { padding-block: 52px 48px; }
    .wl-flow-heading { padding-bottom: 32px; }
    .wl-flow-moments { grid-template-columns: 1fr; gap: 18px; }
    .wl-flow-moment { padding: 26px; border-radius: 20px; }
    .wm-landing .wl-flow-ambience { width: 70%; height: 220px; opacity: .68; }
    .wm-landing .wl-flow-moment-label { margin-bottom: 17px; }
    .wl-flow-figure { padding-top: 24px; }
}

@media print, (forced-colors: active) {
    .wl-flow-ambience { display: none; }
}

@media (max-width: 380px) {
    .wl-flow-moment { padding: 22px 18px; }
    .wm-landing .wl-flow-description { font-size: 13px; }
}
