/* Shared spacing and responsive content layout for the public site and preview. */
:root {
    --showcase-section-space: clamp(48px, 6vw, 88px);
    --showcase-content-gap: clamp(24px, 3vw, 40px);
}
.mf2-main { overflow-wrap: anywhere; }
.mf2-main section[id] { scroll-margin-top: 100px; }
.mf2-main > .mf2-section,
.mf2-main > .journey-steps { padding-block: var(--showcase-section-space); }
.mf2-main > .showcase-detail { padding-top: max(130px, var(--showcase-section-space)); }
.mf2-section__head { margin-bottom: var(--showcase-content-gap); gap: 24px; }
.mf2-section__head h2,
.mf2-section > h2,
.community-copy h2,
.journey-steps h2,
.studio-journal h2 {
    font-size: clamp(1.8rem, 3.2vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.mf2-section > h2,
.journey-steps > h2,
.studio-journal > h2 { margin: 0 0 var(--showcase-content-gap); }
.mf2-section__head p { margin: 16px 0 0; line-height: 1.65; }
.mf2-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mf2-product-grid:has(> article:only-child) { grid-template-columns: minmax(0, 440px); justify-content: center; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.journey-grid .journey-example { max-width: none; min-width: 0; }
.journey-grid--single { grid-template-columns: 1fr; }
.journey-grid--single .journey-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.journey-grid--single .journey-example > img { height: 100%; max-height: 480px; object-fit: contain; background: #09111c; }
.journey-grid--single .journey-example > div { align-self: center; padding: clamp(24px, 4vw, 48px); }
.journey-example > div { padding: 24px; }
.journey-example h3 { margin: 0 0 16px; line-height: 1.3; }
.journey-example p { margin: 0 0 24px; line-height: 1.6; color: #c4cedb; }
.journey-intro { padding-top: 140px; }
.journey-intro p { max-width: 70ch; line-height: 1.65; margin-block: 24px; }
.journey-steps ol { margin: 0 0 28px; }
.journey-steps li { padding-block: 10px; line-height: 1.6; }
.showcase-editorial-card p { line-height: 1.65; }
.community-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(24px, 4vw, 56px);
    border: 1px solid #505c9a;
    border-radius: 28px;
    background: radial-gradient(ellipse at top right, #5865f233, transparent 70%), #0e1724;
}
.community-copy h2 { margin: 16px 0 20px; }
.community-copy > p { max-width: 58ch; line-height: 1.65; color: #c4cedb; }
.community-copy .community-status { display: inline-block; margin-right: 20px; color: #bfc7ff; }
.community-features { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.community-features li { padding: 22px 0; border-bottom: 1px solid #ffffff20; line-height: 1.5; }
.community-features li:first-child { padding-top: 0; }
.community-features li:last-child { border-bottom: 0; padding-bottom: 0; }
.showcase-faq summary { line-height: 1.5; }
.showcase-faq p { margin: 16px 0 0; }
@media (max-width: 1000px) {
    .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey-grid--single { grid-template-columns: 1fr; }
    .mf2-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .mf2-container { width: calc(100% - 36px); }
    .mf2-product-grid, .journey-grid, .community-panel,
    .journey-grid--single .journey-example { grid-template-columns: minmax(0, 1fr); }
    .mf2-section__head { align-items: flex-start; }
    .journey-grid--single .journey-example > img { height: auto; max-height: 380px; }
    .journey-intro { padding-top: 112px; }
    .showcase-toolbar { gap: 16px; }
    .showcase-toolbar label { min-width: 0; flex-basis: 100%; }
    .community-panel { border-radius: 22px; }
}
