/* Shared content rhythm; page families own their compositions. */
.fg-design, .editor-styles-wrapper {
    --fgd-ink: #123b36;
    --fgd-muted: #526b63;
    --fgd-lime: #c6df58;
    --fgd-sage: #edf3e5;
    --fgd-paper: #f7f7f0;
    --fgd-line: #dce5d7;
    --fgd-radius: 22px;
    --fgd-gutter: clamp(20px, 5vw, 72px);
    --fgd-space: clamp(56px, 7vw, 104px);
    --fgd-display: 'Finergia Serif', Georgia, serif;
    --fgd-ease: cubic-bezier(.22, 1, .36, 1);
}
.fgd-section, .fgd-section *, .fgd-section *::before, .fgd-section *::after { box-sizing: border-box; }
.fgd-section { margin: 0; padding-block: var(--fgd-space); }
.fgd-wrap { width: min(1240px, calc(100% - var(--fgd-gutter) * 2)); margin-inline: auto; }
.fgd-section :where(p, li) { font-size: 18px; line-height: 1.7; }
.fgd-section :where(p) { margin-block: 0 1.15em; }
.fgd-section :where(h2) { max-width: 900px; margin: 0 0 28px; font-size: clamp(30px, 3.1vw, 46px); font-weight: 600; line-height: 1.13; letter-spacing: -.8px; text-wrap: pretty; }
.fgd-section :where(h3) { font-size: 24px; font-weight: 600; line-height: 1.25; }
.fgd-section :where(strong, b) { font-weight: 600; }
.fgd-section :where(figure) { margin: 0; }
.fgd-section :where(img) { display: block; max-width: 100%; height: auto; }
.fgd-section :where(a) { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fgd-section :where(a, button, summary):focus-visible { outline: 3px solid #52750c; outline-offset: 5px; }
.fgd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.fgd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fgd-card { min-width: 0; padding: 30px; border: 1px solid var(--fgd-line); border-radius: var(--fgd-radius); background: #fff; }
.fgd-card > :last-child { margin-bottom: 0; }
.fgd-card-label { margin-bottom: 12px !important; color: var(--fgd-ink); font-size: 23px !important; font-weight: 600; line-height: 1.3 !important; }
.fgd-action a, a.fgd-button { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 100%; min-height: 54px; padding: 16px 24px; border: 1px solid transparent; border-radius: 12px; background: var(--fgd-lime); color: var(--fgd-ink); font-size: 17px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background 200ms, transform 200ms; }
.fgd-action a::after, a.fgd-button::after { flex: none; width: 20px; height: 20px; background: currentColor; clip-path: polygon(0 45%, 72% 45%, 43% 16%, 51% 8%, 94% 50%, 51% 92%, 43% 84%, 72% 55%, 0 55%); content: ''; }
.fgd-action a:hover, a.fgd-button:hover { background: #dfed98; transform: translateY(-2px); }
.fgd-action a, a.fgd-button { background-image: linear-gradient(110deg, #dfed98 50%, var(--fgd-lime) 50%); background-size: 220% 100%; background-position: 100% 0; transition: background-position 800ms cubic-bezier(.22,1,.36,1), transform 200ms; }
.fgd-action a:is(:hover,:focus-visible), a.fgd-button:is(:hover,:focus-visible) { background-image: linear-gradient(110deg, #dfed98 50%, var(--fgd-lime) 50%); background-size: 220% 100%; background-position: 0 0; }
.fg-design .fg-migration-form input:not([type='checkbox']):not([type='hidden']), .fg-design .fg-migration-form textarea { border-radius: 10px; background: #fbfcf8; }
.fg-design .fg-migration-form .fg-form-submit { min-height: 54px; border-radius: 12px; }
.fgd-eyebrow { margin-bottom: 20px; color: var(--fgd-muted); font-size: 12px !important; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.fgd-portrait { display: flex; align-items: end; justify-content: center; min-width: 0; overflow: hidden; border-radius: 28px 28px 90px 28px; background: linear-gradient(145deg, #e3edd6, #f0f4e9); }
.fgd-portrait img { width: min(100%, 420px); max-height: 520px; object-fit: contain; object-position: bottom; }
.fgd-faq { border-top: 1px solid var(--fgd-line); }
.fgd-faq-item { border-bottom: 1px solid var(--fgd-line); }
.fgd-faq-item > summary { position: relative; padding: 24px 52px 24px 0; list-style: none; font-size: 20px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.fgd-faq-item > summary::-webkit-details-marker { display: none; }
.fgd-faq-item > summary::after { position: absolute; top: 25px; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--fgd-line); border-radius: 50%; background: #fff; content: '+'; font-weight: 400; }
.fgd-faq-item[open] > summary::after { content: '−'; background: var(--fgd-lime); }
.fgd-faq-answer { padding: 0 32px 24px 0; overflow: hidden; color: var(--fgd-muted); }
.fgd-faq-answer > :last-child { margin-bottom: 0; }
.fgd-reveal-in { animation: fgd-reveal 640ms var(--fgd-ease) backwards; }
.finergia-shell.fgd-not-found { max-width: none; padding-inline: var(--fgd-gutter); padding-bottom: var(--fgd-space); background: var(--fgd-paper); }
.fgd-not-found-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; gap: 64px; width: min(1240px,100%); min-height: 520px; margin-inline: auto; }
.fgd-not-found-layout h1 { margin: 0 0 24px; color: var(--fgd-ink); font-size: clamp(36px,4vw,60px); line-height: 1.1; letter-spacing: -1px; }
.fgd-not-found-layout p:not(.fgd-eyebrow,.fgd-action) { max-width: 480px; color: var(--fgd-muted); font-size: 19px; line-height: 1.6; }
.fgd-not-found-layout .fgd-action { margin-top: 32px; }
.fgd-not-found-mark { position: relative; display: grid; place-items: center; min-height: 300px; border-radius: 140px 140px 24px 24px; background: #e6eed9; color: #123b36; font-size: clamp(90px,12vw,170px); font-weight: 600; letter-spacing: -10px; }
.fgd-not-found-mark span { position: absolute; right: 0; bottom: 0; width: 70px; height: 70px; border: 12px solid var(--fgd-paper); border-radius: 50%; background: var(--fgd-lime); }
@media (max-width: 767px) { .fgd-not-found-layout { grid-template-columns: minmax(0,1fr); gap: 32px; padding-top: 32px; } .fgd-not-found-mark { min-height: 220px; } }
@keyframes fgd-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .fgd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fgd-split { gap: 32px; } }
@media (max-width: 680px) { .fgd-grid, .fgd-split { grid-template-columns: minmax(0, 1fr); } .fgd-section :where(p, li) { font-size: 17px; } .fgd-card { padding: 24px; } .fgd-portrait img { max-height: 360px; } .fgd-faq-item > summary { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .fgd-reveal-in { animation: none; } .fgd-action a, a.fgd-button { transition: none; transform: none; } }
@media print { .fgd-section { padding-block: 24px; } .fgd-wrap { width: 100%; } .fgd-grid, .fgd-split { display: block; } .fgd-card { break-inside: avoid; margin-block: 12px; } .fgd-reveal-in { animation: none; } }

/* Editorial details shared by the existing native compositions. */
.fgd-section :where(h2) { font-family: var(--fgd-display); font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
.fgd-action a::after, a.fgd-button::after { transition: transform 350ms var(--fgd-ease); }
.fgd-action a:is(:hover,:focus-visible)::after, a.fgd-button:is(:hover,:focus-visible)::after { transform: translateX(4px); }
.fg-design .fg-migration-form :is(input,textarea):focus-visible { outline-offset: 4px; }
.fgd-faq-item { transition: background-color 240ms ease; }
.fgd-faq-item > summary { transition: color 240ms ease; }
.fgd-faq-item > summary::after { transition: background-color 240ms ease, border-color 240ms ease, transform 350ms var(--fgd-ease); }
.fgd-faq-item > summary:is(:hover,:focus-visible) { color: #35662e; }
.fgd-faq-item > summary:is(:hover,:focus-visible)::after { transform: rotate(90deg); border-color: #648354; }
.fgd-faq-item[open] > summary::after { transform: none; border-color: #91af3a; }
@media (prefers-reduced-motion: reduce) {
    .fgd-action a::after, a.fgd-button::after, .fgd-faq-item, .fgd-faq-item > summary, .fgd-faq-item > summary::after { transition: none; }
}
