/* Getfund theme styles. Colours and type come from theme.json; this file adds the components. */

:root {
	--gf-blue: #2261FE;
	--gf-lime: #E8FBCB;
	--gf-black: #000000;
	--gf-white: #FFFFFF;
	--gf-paper: #F5F5F2;
	--gf-ink: #444444;
	--gf-line: #D4D4D4;
	--gf-radius: 24px;
}

body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.gf-header { border-bottom: 1px solid #E5E5E5; background: var(--gf-white); position: relative; z-index: 20; }
.gf-header-inner { max-width: 1200px; margin-inline: auto !important; padding-block: 16px; gap: 16px 24px; }
.gf-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--gf-black) !important; }
.gf-logo svg { width: 35px; height: 34px; flex: none; }
.gf-logo span { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 25px; line-height: 1; letter-spacing: -0.035em; }
.gf-nav { font-size: 15px; font-weight: 500; gap: 4px 28px; }
.gf-nav .wp-block-navigation-item__content { padding-block: 10px; border-bottom: 2px solid transparent; color: #333333; }
.gf-nav .current-menu-item > .wp-block-navigation-item__content,
.gf-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--gf-black); border-bottom-color: var(--gf-blue); font-weight: 600; }
.gf-header .wp-block-buttons { gap: 8px; }
.gf-header .wp-block-button__link { font-size: 15px; padding: 12px 20px; }

/* ---------- Footer ---------- */
.gf-footer { background: var(--gf-black); color: var(--gf-white); }
.gf-footer a { color: var(--gf-white); text-decoration: none; }
.gf-footer a:hover { color: var(--gf-lime); }
.gf-footer .gf-logo { color: var(--gf-white) !important; }
.gf-footer .gf-logo span { font-size: 25px; }
.gf-footer-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 36px; padding-block: 64px 48px; }
.gf-footer-grid > * { margin: 0 !important; }
.gf-footer-title { font-size: 12px !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #9E9E9E; margin: 0 0 8px !important; }
.gf-footer-links p { margin: 0 !important; padding: 5px 0; }
.gf-footer-note { color: #BDBDBD; font-size: 15px; max-width: 300px; }
.gf-footer-bottom { border-top: 1px solid #262626; padding-block: 20px 32px; font-size: 14px; color: #9E9E9E; justify-content: space-between; }
.gf-footer-bottom a { color: #9E9E9E; }

/* ---------- Sections ---------- */
.gf-section { padding-top: clamp(72px, 10vw, 120px) !important; padding-bottom: clamp(72px, 10vw, 120px) !important; }
.gf-section.is-tight-top { padding-top: 0 !important; }
.gf-section.is-tight-bottom { padding-bottom: clamp(40px, 5vw, 56px) !important; }
.gf-stack > * + * { margin-block-start: 24px; }
.gf-split { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: end; }
.gf-split.is-center { align-items: center; }
.gf-split.is-start { align-items: start; }
.gf-split > * { margin: 0 !important; }
.gf-intro { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px) !important; }
.gf-intro > * { margin: 0 !important; }
.gf-col > * { margin-block: 0 !important; }
.gf-col > * + * { margin-block-start: 20px !important; }

/* ---------- Type helpers ---------- */
.gf-label { display: flex; align-items: center; gap: 10px; font-size: 13px !important; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gf-blue); }
.gf-label::before { content: ""; width: 24px; height: 1.5px; background: currentColor; flex: none; }
.has-black-background-color .gf-label, .gf-label.is-light { color: var(--gf-lime); }
.has-blue-background-color .gf-label { color: #DCE6FF; }
.gf-badge { display: inline-flex !important; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--gf-lime); color: var(--gf-black); font-size: 14px !important; font-weight: 600; width: fit-content; }
.gf-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gf-black); }
.gf-badge.is-dark { background: var(--gf-black); color: var(--gf-lime); letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px !important; }
.gf-badge.is-dark::before { display: none; }
.gf-lead { font-size: clamp(18px, 1.6vw, 20px) !important; line-height: 1.5; color: #333333; max-width: 560px; }
.has-black-background-color .gf-lead { color: #D4D4D4; }
.has-blue-background-color .gf-lead { color: #DCE6FF; }
.gf-muted { color: var(--gf-ink); }
.has-black-background-color .gf-muted { color: #BDBDBD; }
.gf-small { font-size: 14px !important; color: #555555; }
.has-black-background-color .gf-small { color: #A3A3A3; }
.gf-display { font-size: clamp(44px, 6.4vw, 88px) !important; line-height: 0.98 !important; letter-spacing: -0.045em !important; }
.gf-display-xl { font-size: clamp(52px, 7.6vw, 104px) !important; line-height: 0.94 !important; letter-spacing: -0.05em !important; }
.gf-accent { color: var(--gf-blue); }
.gf-lime-text { color: var(--gf-lime); }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link { transition: background-color .15s ease, color .15s ease, border-color .15s ease; text-decoration: none; }
.gf-btn-outline .wp-block-button__link { background: transparent !important; color: var(--gf-black) !important; border: 1.5px solid var(--gf-black); }
.gf-btn-outline .wp-block-button__link:hover { background: var(--gf-black) !important; color: var(--gf-white) !important; }
.gf-btn-dark .wp-block-button__link { background: var(--gf-black) !important; color: var(--gf-white) !important; }
.gf-btn-dark .wp-block-button__link:hover { background: #222222 !important; }
.gf-btn-light .wp-block-button__link { background: var(--gf-white) !important; color: var(--gf-black) !important; }
.gf-btn-light .wp-block-button__link:hover { background: var(--gf-lime) !important; }
.gf-btn-lime .wp-block-button__link { background: var(--gf-lime) !important; color: var(--gf-black) !important; }
.gf-btn-lime .wp-block-button__link:hover { background: var(--gf-white) !important; }
.gf-btn-ghost-light .wp-block-button__link { background: transparent !important; color: var(--gf-white) !important; border: 1.5px solid var(--gf-white); }
.gf-btn-ghost-light .wp-block-button__link:hover { background: var(--gf-white) !important; color: var(--gf-black) !important; }
.gf-btn-big .wp-block-button__link { font-size: 18px; padding: 18px 30px; }
.gf-link-arrow a { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- Cards ---------- */
.gf-card { border-radius: var(--gf-radius); padding: clamp(24px, 3vw, 36px) !important; margin: 0 !important; }
.gf-card > * { margin-block: 0 !important; }
.gf-card > * + * { margin-block-start: 14px !important; }
.gf-card.is-line { border: 1.5px solid var(--gf-black); }
.gf-card.is-big { border-radius: 28px; padding: clamp(28px, 4vw, 48px) !important; }
.gf-card.is-big > * + * { margin-block-start: 22px !important; }
.gf-card.is-big .wp-block-buttons { margin-top: auto !important; padding-top: 8px; }
.gf-card h3 { font-size: 22px; }
.gf-grid { display: grid !important; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.gf-grid.is-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.gf-grid.is-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.gf-grid > * { margin: 0 !important; }
.gf-grid > .gf-card { display: flex; flex-direction: column; }
.gf-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--gf-black); display: flex; align-items: center; justify-content: center; }
.gf-icon svg { width: 24px; height: 24px; }
.gf-icon.is-lime { background: var(--gf-lime); }
.gf-num { font-family: 'Inter Tight', sans-serif; font-size: 15px !important; font-weight: 600; color: var(--gf-blue); }
.has-black-background-color .gf-num { color: var(--gf-lime); }
.gf-num-xl { font-family: 'Inter Tight', sans-serif; font-size: 52px !important; font-weight: 300; line-height: 1 !important; }

/* Joined grid with hairline dividers (thesis, value) */
.gf-joined { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1px; background: #2A2A2A; border: 1px solid #2A2A2A; border-radius: 22px; overflow: hidden; }
.gf-joined > * { background: var(--gf-black); padding: 32px 28px !important; margin: 0 !important; }
.gf-joined > * > * { margin-block: 0 !important; }
.gf-joined > * > * + * { margin-block-start: 12px !important; }
.gf-joined h3 { font-size: 28px; }

/* ---------- At a glance ---------- */
.gf-glance { background: var(--gf-black); color: var(--gf-white); border-radius: 28px; padding: 36px !important; }
.gf-glance > * { margin: 0 !important; }
.gf-glance-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px !important; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #BDBDBD; padding-bottom: 20px; }
.gf-glance-big { border-top: 1px solid #333333; padding: 20px 0 !important; display: flex; flex-direction: column; gap: 4px; }
.gf-glance-big { color: #BDBDBD; font-size: 14px !important; }
.gf-glance-big strong { display: block; font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; color: var(--gf-lime); }
.gf-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 !important; border-top: 1px solid #333333; }
.gf-row { color: #BDBDBD; }
.gf-row strong { color: var(--gf-white); }
.gf-row strong { font-weight: 600; text-align: right; }
.gf-row:last-child { padding-bottom: 0 !important; }

/* ---------- Steps timeline ---------- */
.gf-steps { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 0 !important; }
.gf-steps > .gf-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 0 28px 0 0 !important; margin: 0 !important; }
.gf-steps > .gf-step > * { margin: 0 !important; }
.gf-steps > .gf-step::before { content: ""; position: absolute; top: 28px; left: 56px; right: 0; height: 1.5px; background: var(--gf-black); }
.gf-steps > .gf-step:last-child::before { display: none; }
.gf-node { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gf-black); background: var(--gf-white); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.gf-node svg { width: 24px; height: 24px; }
.gf-node.is-dark { background: var(--gf-black); }
.gf-node.is-lime { background: var(--gf-lime); }
.gf-step-meta { font-size: 12px !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6B6B6B; }
.gf-step h3 { font-size: 24px; }
.gf-step p:not(.gf-step-meta):not(.gf-tag) { font-size: 15px; color: #4A4A4A; }
.gf-tag { display: inline-flex !important; width: fit-content; padding: 6px 12px; border-radius: 999px; font-size: 13px !important; font-weight: 600; background: var(--gf-black); color: var(--gf-lime); }
.gf-tag.is-lime { background: var(--gf-lime); color: var(--gf-black); border: 1px solid var(--gf-black); }
@media (max-width: 900px) {
	.gf-steps { grid-template-columns: 1fr; }
	.gf-steps > .gf-step { padding: 4px 0 44px 80px !important; gap: 10px; }
	.gf-steps > .gf-step::before { top: 56px; bottom: 0; left: 27px; right: auto; width: 1.5px; height: auto; }
	.gf-steps > .gf-step .gf-node { position: absolute; left: 0; top: 0; }
}

/* Summary bar */
.gf-summary { background: var(--gf-black); color: var(--gf-white); border-radius: 28px; padding: 12px !important; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin-top: clamp(40px, 6vw, 72px) !important; }
.gf-summary > * { margin: 0 !important; padding: 24px 26px !important; border-radius: 18px; }
.gf-summary > * > * { margin: 0 !important; }
.gf-summary .gf-small { color: #A3A3A3; font-size: 13px !important; }
.gf-summary-value { font-family: 'Inter Tight', sans-serif; font-size: 30px !important; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.gf-summary .gf-summary-cta { background: var(--gf-blue); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.gf-summary-cta a { color: var(--gf-white) !important; text-decoration: none; font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Lists ---------- */
.gf-checks, .gf-crosses { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.gf-checks li, .gf-crosses li { position: relative; padding-left: 40px; min-height: 26px; }
.gf-checks li::before, .gf-crosses li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 14px; }
.gf-checks li::before { background-color: var(--gf-lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.gf-crosses li::before { border: 1.5px solid var(--gf-black); box-sizing: border-box; background-size: 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.has-black-background-color .gf-checks li::before { background-color: var(--gf-lime); }
.gf-bullets { padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.gf-numbered { list-style: none; padding: 0 !important; margin: 0; border-top: 1.5px solid var(--gf-black); counter-reset: gf; }
.gf-numbered > li { counter-increment: gf; position: relative; padding: 24px 0 24px 64px; border-bottom: 1px solid var(--gf-line); }
.gf-numbered > li::before { content: counter(gf, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 18px; color: var(--gf-blue); }
.gf-numbered > li strong { display: block; font-size: 19px; margin-bottom: 4px; }
.gf-numbered > li { color: var(--gf-ink); }
.gf-numbered > li strong { color: var(--gf-black); }

/* ---------- FAQ (Details block) ---------- */
.gf-faq-list { border-top: 1.5px solid var(--gf-black); }
.gf-faq-list > * { margin: 0 !important; }
.wp-block-details.gf-faq { border-bottom: 1.5px solid var(--gf-black); padding: 0; }
.wp-block-details.gf-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; min-height: 44px; }
.wp-block-details.gf-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.gf-faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gf-black); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.wp-block-details.gf-faq[open] summary::after { transform: rotate(45deg); }
.wp-block-details.gf-faq > p { margin: 0 0 24px; padding-right: 48px; color: #333333; font-size: 17px; }

/* ---------- Big CTA panels ---------- */
.gf-panel { border-radius: 36px; padding: clamp(36px, 6vw, 88px) !important; }
.gf-panel > * { margin-block: 0 !important; }
.gf-panel > * + * { margin-block-start: 26px !important; }
.gf-panel h2 { font-size: clamp(42px, 6vw, 84px); line-height: 0.96; letter-spacing: -0.045em; max-width: 900px; }
.gf-panel.is-line { border: 1.5px solid var(--gf-black); }

/* ---------- Newsletter ---------- */
.gf-news { background: var(--gf-lime); border-radius: 32px; padding: clamp(28px, 5vw, 64px) !important; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px 48px; align-items: center; }
.gf-news > * { margin: 0 !important; }
.gf-form-card { background: var(--gf-white); border: 1.5px solid var(--gf-black); border-radius: 24px; padding: clamp(22px, 3vw, 32px) !important; }
.gf-form-card > * { margin-block: 0 !important; }
.gf-form-card > * + * { margin-block-start: 16px !important; }
/* The Newsletter plugin form */
.gf-form-card .tnp-subscription, .gf-form-card .tnp { max-width: none !important; margin: 0 !important; }
.gf-form-card .tnp-field { margin-bottom: 14px !important; }
.gf-form-card .tnp-field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--gf-black); }
.gf-form-card input[type="text"], .gf-form-card input[type="email"], .gf-form-card select {
	width: 100%; box-sizing: border-box; min-height: 56px; padding: 15px 18px !important; border-radius: 14px !important; border: 1.5px solid #9E9E9E !important; font: inherit; font-size: 17px !important; background: var(--gf-white) !important; color: var(--gf-black);
}
.gf-form-card input:focus, .gf-form-card select:focus { outline: 2px solid var(--gf-blue); outline-offset: 1px; border-color: var(--gf-blue) !important; }
.gf-form-card input[type="submit"], .gf-form-card .tnp-submit {
	width: 100% !important; min-height: 62px; border: none !important; border-radius: 999px !important; background: var(--gf-blue) !important; color: var(--gf-white) !important; font: inherit !important; font-size: 18px !important; font-weight: 600 !important; cursor: pointer; padding: 16px 24px !important; height: auto !important;
}
.gf-form-card input[type="submit"]:hover, .gf-form-card .tnp-submit:hover { background: #1A4FD6 !important; }
.gf-form-card .tnp-privacy-field label, .gf-form-card .tnp-privacy-field { font-weight: 400; font-size: 14px; color: #555555; }

/* Tally embeds */
.gf-embed iframe { width: 100%; border: 0; min-height: 640px; display: block; }

/* ---------- Mosaic (founders) ---------- */
.gf-mosaic { aspect-ratio: 1 / 1; max-height: 480px; background: var(--gf-black); border-radius: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px; box-sizing: border-box; }
.gf-mosaic > div { border-radius: 20px; background: #1A1A1A; }
.gf-mosaic .m-blue { background: var(--gf-blue); grid-row: span 2; }
.gf-mosaic .m-lime { background: var(--gf-lime); }
.gf-mosaic .m-tall { grid-row: span 2; }
.gf-mosaic .m-logo { background: var(--gf-white); grid-column: span 2; display: flex; align-items: center; justify-content: center; }
.gf-mosaic .m-logo svg { width: 96px; height: 94px; }

/* Who-it's-for bento: 3 + 2 */
.gf-bento { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gf-bento > * { grid-column: span 2; margin: 0 !important; }
.gf-bento > *:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) { .gf-bento { grid-template-columns: 1fr; } .gf-bento > * { grid-column: auto !important; } }

/* Funnel (investors) */
.gf-funnel { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gf-funnel > * { margin: 0 !important; min-height: 220px; }
@media (max-width: 900px) { .gf-funnel { grid-template-columns: 1fr; } .gf-funnel > * { min-height: 0; } }

/* Join list (investors) */
.gf-join { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: gj; }
.gf-join > li { counter-increment: gj; position: relative; border: 1px solid var(--gf-line); border-radius: 20px; padding: 24px 24px 24px 84px; color: #4A4A4A; }
.gf-join > li::before { content: counter(gj); position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--gf-black); color: var(--gf-white); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.gf-join > li:last-child { background: var(--gf-lime); border-color: var(--gf-black); color: #222222; }
.gf-join > li:last-child::before { background: var(--gf-blue); }
.gf-join > li strong { display: block; font-size: 19px; color: var(--gf-black); margin-bottom: 4px; }

/* Warning list (SEIS) */
.gf-notes { list-style: none; padding: 28px !important; margin: 0; border: 1px solid #333333; border-radius: 22px; display: flex; flex-direction: column; gap: 14px; color: #D4D4D4; font-size: 15px; }
.gf-notes li { position: relative; padding-left: 34px; }
.gf-notes li::before { content: "!"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gf-lime); color: var(--gf-lime); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }

/* ---------- Blog ---------- */
.gf-cats { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px !important; border-bottom: 1px solid #E5E5E5; margin-bottom: 40px !important; }
.gf-cats > * { margin: 0 !important; }
.gf-cats a, .gf-cats .wp-block-categories-list li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--gf-line); text-decoration: none; font-weight: 500; font-size: 15px; color: var(--gf-black); box-sizing: border-box; }
.gf-cats a:hover { border-color: var(--gf-black); color: var(--gf-black); }
.gf-cats .wp-block-categories-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.gf-cats .gf-cat-all a { background: var(--gf-black); color: var(--gf-white); border-color: var(--gf-black); font-weight: 600; }
.gf-cats .current-cat a { background: var(--gf-black); color: var(--gf-white); border-color: var(--gf-black); }
.gf-posts .wp-block-post-template { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 44px 24px; }
.gf-posts .wp-block-post-template > li { margin: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.gf-posts .wp-block-post-template > li > * { margin: 0 !important; }
.gf-posts .wp-block-post-featured-image { aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: var(--gf-blue); }
.gf-posts .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.gf-posts .wp-block-post-featured-image:empty, .gf-thumb-fallback { aspect-ratio: 16 / 10; border-radius: 22px; }
.gf-posts .wp-block-post-title { font-size: 23px; line-height: 1.15; letter-spacing: -0.02em; }
.gf-posts .wp-block-post-title a { text-decoration: none; }
.gf-posts .wp-block-post-date, .gf-meta { font-size: 14px; color: #555555; }
.gf-posts .wp-block-post-excerpt { color: var(--gf-ink); }
.gf-posts .wp-block-post-excerpt__more-text { display: none; }
.gf-posts .wp-block-post-terms a { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--gf-lime); color: var(--gf-black); font-size: 13px; font-weight: 600; text-decoration: none; }
.gf-posts .wp-block-post-terms .wp-block-post-terms__separator { display: none; }
.gf-posts .wp-block-post-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.wp-block-query-pagination { margin-top: 56px !important; gap: 8px; font-weight: 600; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.wp-block-query-pagination .current { background: var(--gf-black); color: var(--gf-white); }

/* Featured post */
.gf-featured .wp-block-post-template > li { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border: 1.5px solid var(--gf-black); border-radius: 32px; overflow: hidden; margin: 0 !important; }
.gf-featured .wp-block-post-template > li > * { margin: 0 !important; }
.gf-featured .wp-block-post-featured-image { min-height: 360px; height: 100%; background: var(--gf-blue); }
.gf-featured .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.gf-featured-body { padding: clamp(28px, 4vw, 52px) !important; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.gf-featured-body > * { margin: 0 !important; }
.gf-featured .wp-block-post-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -0.035em; }
.gf-featured .wp-block-post-title a { text-decoration: none; }
.gf-featured .wp-block-post-excerpt { font-size: 18px; color: var(--gf-ink); }
.gf-featured .wp-block-post-excerpt__more-text { display: none; }

/* Single post */
.gf-article-head { max-width: 920px; margin-inline: auto !important; padding-top: clamp(48px, 7vw, 72px) !important; padding-bottom: 40px !important; }
.gf-article-head > * { margin-block: 0 !important; }
.gf-article-head > * + * { margin-block-start: 22px !important; }
.gf-article-head .wp-block-post-title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.gf-article-head .wp-block-post-terms a { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--gf-blue); color: var(--gf-white); font-size: 13px; font-weight: 600; text-decoration: none; }
.gf-article-head .wp-block-post-terms__separator { display: none; }
.gf-article-meta { border-top: 1px solid #E5E5E5; padding-top: 22px !important; gap: 8px 16px; font-size: 15px; color: #555555; }
.gf-article-image { max-width: 1200px; margin-inline: auto !important; }
.gf-article-image img { border-radius: 32px; width: 100%; max-height: 520px; object-fit: cover; }
.gf-article-body { font-size: 18px; line-height: 1.7; color: #1A1A1A; padding-top: 56px !important; padding-bottom: 72px !important; }
.gf-article-body > * { max-width: 700px; }
.gf-article-body h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.03em; margin-top: 48px; }
.gf-article-body h3 { font-size: 24px; margin-top: 36px; }
.gf-article-body blockquote, .gf-article-body .wp-block-quote { margin: 32px 0; padding: 28px 32px; background: var(--gf-lime); border: none; border-radius: 22px; font-family: 'Inter Tight', sans-serif; font-size: 24px; line-height: 1.35; font-weight: 500; }
.gf-article-body img { border-radius: 18px; }
.gf-article-body a { color: var(--gf-blue); }

/* ---------- Misc ---------- */
.gf-figure-svg svg { width: 100%; height: auto; display: block; }
.gf-dark-tile { background: var(--gf-black); color: var(--gf-white); border-radius: 22px; padding: 24px !important; }
.gf-dark-tile > * { margin: 0 !important; }
.gf-blue-tile { background: var(--gf-blue); color: var(--gf-white); border-radius: 22px; padding: 24px !important; }
.gf-blue-tile > * { margin: 0 !important; }
.gf-lime-tile { background: var(--gf-lime); border-radius: 22px; padding: 24px !important; }
.gf-lime-tile > * { margin: 0 !important; }
.gf-tile-value { font-family: 'Inter Tight', sans-serif; font-size: 28px !important; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.gf-tiles { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gf-tiles > * { margin: 0 !important; }
.gf-hero-cheque { background: var(--gf-blue); color: var(--gf-white); border-radius: 28px; padding: 36px !important; }
.gf-hero-cheque > * { margin: 0 !important; }
.gf-hero-cheque > * + * { margin-top: 24px !important; }
.gf-hero-cheque .gf-cheque { font-family: 'Inter Tight', sans-serif; font-size: clamp(48px, 5.6vw, 76px) !important; font-weight: 600; line-height: 1 !important; letter-spacing: -0.045em; }
.gf-stack-14 > * { margin: 0 !important; }
.gf-stack-14 > * + * { margin-top: 14px !important; }
.gf-check-card { background: var(--gf-white); color: var(--gf-black); border-radius: 28px; padding: 12px !important; }
.gf-check-card > * { margin: 0 !important; }
.gf-check-card > * + * { margin-top: 12px !important; }
.gf-check-card .gf-checks { padding: 0 24px !important; gap: 0; }
.gf-check-card .gf-checks li { padding: 16px 0 16px 44px; border-top: 1px solid #E5E5E5; }
.gf-check-card .gf-checks li::before { top: 13px; width: 30px; height: 30px; }
.gf-check-card-title { padding: 24px 24px 8px !important; font-family: 'Inter Tight', sans-serif; font-size: 24px !important; font-weight: 600; letter-spacing: -0.025em; }
.gf-partner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; border: 1px solid #2A2A2A; border-radius: 24px; padding: 28px 32px !important; margin-top: 16px !important; }
.gf-partner > * { margin: 0 !important; }
.gf-404 { text-align: left; }

/* Accessibility: visible focus */
a:focus-visible, button:focus-visible, summary:focus-visible, .wp-block-button__link:focus-visible { outline: 2px solid var(--gf-blue); outline-offset: 3px; }

/* Editor canvas niceties */
.editor-styles-wrapper .gf-steps > .gf-step::before { pointer-events: none; }

/* Card headings and dark outlined cards */
.gf-card-title { font-size: clamp(30px, 3.2vw, 44px) !important; line-height: 1.05 !important; letter-spacing: -0.035em !important; }
.gf-card.is-dark-line { border: 1px solid #333333; }
.gf-card .gf-bullets { color: inherit; }
.gf-glance-head { margin-bottom: 0 !important; }
.gf-numbered > li strong { display: block; }
.gf-step-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-summary-cta .gf-small { color: #DCE6FF !important; }
.has-blue-background-color .gf-bullets, .has-blue-background-color p { color: var(--gf-white); }
.gf-home-posts { margin-top: 0 !important; }

/* ---------- Fixes for blocks on coloured backgrounds ---------- */
.has-black-background-color a:not(.wp-block-button__link),
.has-blue-background-color a:not(.wp-block-button__link) { color: inherit; }
.gf-lime-text a { color: var(--gf-lime) !important; }
.gf-icon.is-dark { background: #1A1A1A; }
.gf-icon.is-plain { background: transparent; width: auto; height: auto; justify-content: flex-start; border-radius: 0; }
.gf-icon.is-plain svg { width: 32px; height: 32px; }
.gf-inline-checks { flex-direction: row !important; flex-wrap: wrap; gap: 10px 26px !important; font-weight: 500; }
.gf-form-title { font-size: 28px !important; letter-spacing: -0.025em !important; }
.gf-apply-box { padding-bottom: 72px !important; }
.gf-apply-box > .gf-card { max-width: 700px; }
.gf-split.gf-panel > * { margin: 0 !important; }
.gf-partner .gf-tag { background: #1A1A1A; }
.gf-hero-cheque .gf-small, .gf-blue-tile .gf-small { color: #DCE6FF !important; }
.gf-lime-tile .gf-small { color: #333333 !important; }
.gf-dark-tile .gf-small { color: #A3A3A3 !important; }
.gf-card.has-lime-background-color .gf-muted, .has-lime-background-color .gf-lead { color: #222222; }
.has-lime-background-color.gf-panel h2, .gf-news h2 { font-size: clamp(36px, 4.6vw, 64px); }
.gf-glance + h3 { margin-top: 12px !important; }
.wp-block-shortcode { margin: 0; }

/* Quick sign-up ("get in early") panel */
.gf-loop-panel { border-radius: 28px; padding: clamp(24px, 4vw, 52px) !important; }
.gf-loop-panel.gf-split { gap: clamp(24px, 4vw, 56px); }
.gf-loop-panel h2 { font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.04; letter-spacing: -0.035em; }
.gf-loop-panel .gf-lead { font-size: 17px !important; line-height: 1.55; max-width: 460px; color: #222222; }
.gf-ticks { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.gf-ticks li { position: relative; padding-left: 30px; }
.gf-ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8FBCB' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.gf-loop-card { background: var(--gf-white); border-radius: 20px; padding: clamp(20px, 2.6vw, 30px) !important; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -22px rgba(0,0,0,.35); }
.gf-loop-card > * { margin-block: 0 !important; }
.gf-loop-card > * + * { margin-block-start: 14px !important; }
.gf-loop-card h3 { font-size: 20px; letter-spacing: -0.02em; }
.gf-loop-card .gf-small { font-size: 13px !important; }
/* Investor version of the panel (blue) */
.gf-loop-panel.has-blue-background-color .gf-label { color: var(--gf-lime); }
.gf-loop-panel.has-blue-background-color .gf-lead, .gf-loop-panel.has-blue-background-color .gf-ticks { color: #EEF3FF; }
.gf-loop-panel.has-blue-background-color .gf-ticks li::before { background-color: var(--gf-lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232261FE' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.gf-loop-panel.has-blue-background-color a:not(.gff-submit) { color: var(--gf-white); }
.gf-loop-card .gff-note { color: #555555; }
/* Four criteria in one row on wide screens, 2x2 on tablets, stacked on phones */
.gf-joined { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .gf-joined { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gf-joined { grid-template-columns: 1fr; } }
/* Founder offer panel: perks as tiles */
.gf-perks { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gf-perks > * { margin: 0 !important; }
.gf-perk { background: var(--gf-white); color: var(--gf-black); border-radius: 18px; padding: 20px 20px 22px !important; display: flex; flex-direction: column; gap: 6px; }
.gf-perk > * { margin: 0 !important; }
.gf-perk-big { font-family: 'Inter Tight', Inter, sans-serif; font-weight: 700; font-size: 26px !important; line-height: 1.05; letter-spacing: -0.03em; color: var(--gf-blue); }
.gf-perk-text { font-size: 14px !important; line-height: 1.45; color: #333333; }
.gf-loop-panel .gf-subhead { font-size: 13px !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #EEF3FF; }
.gf-loop-panel .wp-block-buttons { margin-top: 6px !important; }
@media (max-width: 480px) { .gf-perks { grid-template-columns: 1fr; } }
.gf-loop-panel .gf-perk .gf-perk-big { color: var(--gf-blue); }
.gf-loop-panel .gf-perk .gf-perk-text { color: #333333; }
/* Blog cards: show the whole 1200x630 share image */
.wp-block-query .wp-block-post-featured-image, .wp-block-query .wp-block-post-featured-image a { aspect-ratio: auto !important; height: auto !important; }
.wp-block-query .wp-block-post-featured-image img { aspect-ratio: 40 / 21 !important; height: auto !important; width: 100% !important; object-fit: cover; }
