/* Curriculum and tour extensions to the shared editorial app-page layout. */
.french-verbs .detail-download .app-icon { border-radius: 0; }
.french-verbs .fv-subtitle { font-size: 21px; color: var(--navy); font-weight: 700; }
.fv-gallery-help { margin: 0 0 12px; color: var(--copy); font-size: 14px; }
.fv-gallery { display: flex; flex-wrap: wrap; justify-content: center; align-items: start; gap: 24px 16px; min-width: 0; }
.fv-gallery figure { width: 178px; min-width: 0; margin: 0; }
.fv-gallery .app-phone-figure { width: 100%; }
.fv-gallery figcaption { padding: 12px 4px 0; font-size: 13px; line-height: 1.5; color: var(--copy); }
.fv-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fv-level { border: 1px solid var(--border); border-radius: 20px; padding: 24px; background: #f3f8fd; }
.fv-level:nth-child(2) { background: #f0f8f4; }
.fv-level:nth-child(3) { background: #f7f4ff; }
.fv-level h3 { margin-block: 18px; }
.fv-level p { color: var(--copy); font-size: 15px; }
.fv-level .fv-extra { border-top: 1px solid var(--border); padding-top: 16px; }
.french-verbs .fv-level .detail-kicker { color: #195780; letter-spacing: .8px; }
.fv-matrix-row { padding: 22px; border: 1px solid var(--border); border-radius: 16px; margin-block: 16px; }
.fv-matrix-row h3 { margin: 0 0 18px; }
.fv-matrix-row dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.fv-matrix dt, .fv-patterns dt { font-weight: 800; line-height: 1.5; }
.fv-matrix dd, .fv-patterns dd { margin: 8px 0 0; line-height: 1.65; color: var(--copy); }
.fv-patterns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.fv-patterns > div { padding-block: 16px; border-top: 1px solid var(--border); }
.fv-verbs { padding: 20px; background: #edf7f2; border-radius: 14px; font-size: 19px; font-weight: 700; }
.fv-families { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; padding-left: 22px; line-height: 1.65; }
.fv-source-note { margin-top: 30px; border-top: 1px solid var(--border); padding-top: 20px; }
.fv-source-note p { color: var(--copy); font-size: 13px; }
.french-verbs a:not(.button) { color: #075aa3; text-decoration: underline; text-underline-offset: 3px; }
.fv-faq details { border-bottom: 1px solid var(--border); padding-block: 10px; }
.fv-faq summary { cursor: pointer; min-height: 44px; padding: 12px 6px; font-weight: 700; line-height: 1.5; }
.fv-faq details p { padding-inline: 6px; color: var(--copy); }
.french-verbs :focus-visible { outline: 3px solid #075aa3; outline-offset: 4px; }
@media (max-width: 1100px) {
 .fv-levels { grid-template-columns: 1fr; }
}
.fv-reassurance { border-top: 2px solid #cce4fb; padding-top: 16px; }
@media (max-width: 620px) {
 .fv-gallery { gap: 20px 12px; }
 .fv-gallery figure { width: 166px; }
 .fv-matrix-row dl, .fv-patterns, .fv-families { grid-template-columns: 1fr; }
 .fv-level, .fv-matrix-row { padding: 20px; }
}

/* Each activity is one balanced spread, with a small visual story beside it. */
.fv-walkthrough { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.fv-tour-copy h2 { margin-top: 0; }
.fv-tour-visual { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; min-width: 0; text-align: center; }
.fv-tour-visual figure { margin: 0; width: 260px; max-width: 100%; }
.fv-tour-visual [hidden] { display: none !important; }
.fv-tour-visual .app-phone-figure { aspect-ratio: auto; }
.fv-tour-visual .app-phone { position: relative; inset: auto; width: 100%; }
.fv-tour-visual .app-phone__screen { height: auto; aspect-ratio: 9 / 16; }
.fv-tour-visual .app-phone__screen > img:not(.fv-finger):not(.fv-present-examples) { width: 100%; height: auto; }
.fv-tour-visual figcaption { color: var(--copy); font-size: 13px; line-height: 1.5; margin: 14px 0 0; }
.fv-learn-visual figure { width: 220px; }
.fv-present .app-phone__screen { position: relative; }
.fv-present .fv-present-examples { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; animation: fv-examples 12s ease-in-out infinite; }
/* Screenshot coordinates: the round switch is centred at (964, 759) in 1080×1920. */
.fv-present .fv-finger { position: absolute; width: 70%; height: auto; max-width: none; aspect-ratio: auto; left: 89.26%; top: 39.53%; transform: translate(-48%, -7%) rotate(-32deg); transform-origin: 48% 7%; opacity: 0; filter: drop-shadow(2px 4px 2px #173a4f22); pointer-events: none; z-index: 5; animation: fv-finger 12s ease-in-out infinite; }
.fv-tap { position: absolute; left: 89.26%; top: 39.53%; width: 11%; aspect-ratio: 1; border: 2px solid #80baf5; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; z-index: 4; animation: fv-tap 12s ease-out infinite; }
@keyframes fv-examples { 0%, 30% { opacity: 0; } 34%, 80% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes fv-finger {
 0%, 20%, 40%, 70%, 90%, 100% { opacity: 0; transform: translate(-20%, 25%) rotate(-32deg); }
 26%, 29%, 76%, 79% { opacity: 1; transform: translate(-48%, -7%) rotate(-32deg); }
 30%, 80% { opacity: 1; transform: translate(-48%, -7%) rotate(-32deg) scale(.955); }
 32%, 34%, 82%, 84% { opacity: 1; transform: translate(-48%, -7%) rotate(-32deg); }
}
@keyframes fv-tap { 0%, 29%, 35%, 79%, 85%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.55); } 30%, 80% { opacity: .8; transform: translate(-50%, -50%) scale(.55); } 34%, 84% { opacity: 0; transform: translate(-50%, -50%) scale(1.55); } }
@media (max-width: 1100px) { .fv-walkthrough { grid-template-columns: 1fr; gap: 32px; } .fv-tour-copy { max-width: 700px; } }
@media (max-width: 620px) { .fv-learn-visual { gap: 28px; } }
@media (prefers-reduced-motion: reduce) {
 .fv-present .fv-present-examples, .fv-present .fv-finger, .fv-present .fv-tap { animation: none; opacity: 0; }
}


/* Exact desktop grid: two cards, one spanning card, then two cards. */
.fv-setup-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.fv-setup-panel { display: flex; flex-direction: column; align-items: stretch; gap: 24px; min-width: 0; padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: #f3f8fd; }
.fv-setup-panel h3 { margin-top: 0; }
.fv-setup-panel p { color: var(--copy); line-height: 1.7; margin-bottom: 0; }
.fv-setup-panel > .fv-tour-visual { margin-top: auto; }
.fv-setup-panel:not(.fv-setup-panel--wide) figcaption { min-height: 3em; }
.fv-setup-panel--right { background: #f0f8f4; }
.fv-setup-panel--wide { grid-column: 1 / -1; background: #f7f4ff; }
.fv-setup-panel--wide .detail-copy { max-width: 800px; }
.fv-setup-panel--wide .fv-tour-visual { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; justify-items: center; }
#selection .app-phone, #repeat .app-phone, #conjugate .app-phone, #use .app-phone { cursor: default; }
@media (max-width: 1100px) {
 .fv-setup-panels { grid-template-columns: 1fr; }
 .fv-setup-panel--wide .fv-tour-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .fv-setup-panel--wide figure:last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
 .fv-setup-panel { padding: 24px 16px; }
 .fv-setup-panel--wide .fv-tour-visual { grid-template-columns: 1fr; }
}
