/* FounderStone Partners: main stylesheet. Mobile-first. */

@font-face { font-family: "Lora"; src: url("../fonts/lora-variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-variable.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--brown: #49230e;
	--brown-2: #5d3016;
	--gold: #b8893b;
	--gold-light: #d8b36a;
	--gold-dark: #8a6420;
	--cream: #faf6ee;
	--tint: #f3ece0;
	--ink: #2b1a10;
	--muted: #6b5a4d;
	--line: #e3d9c8;
	--white: #fff;
	--ok: #2f6b3a;
	--err: #a12a1f;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(73, 35, 14, 0.12);
	--serif: "Lora", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--brown); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--brown); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.no-js .js-only { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.content-narrow { max-width: 820px; }
.narrow-center { max-width: 820px; text-align: center; }

/* Placeholders: unmistakable until real content is added. */
.fsp-placeholder { background: #fff3cd; color: #6b4e00; border: 1px dashed #c79a00; border-radius: 4px; padding: 0 6px; font-style: normal; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img, .site-logo { display: block; height: 52px; width: auto; }
.nav-toggle { background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--brown); content: ""; position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; }
.site-nav.is-open { display: block; }
.nav-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.nav-list a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-list a:hover { color: var(--gold-dark); }
.nav-cta { margin-top: 10px; }
@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; position: static; border: 0; padding: 0; background: none; align-items: center; gap: 22px; }
	.nav-list { flex-direction: row; gap: 22px; }
	.nav-cta { margin-top: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 8px; font: 600 0.95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background 0.15s, color 0.15s, transform 0.15s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-brown { background: var(--brown); color: #fff; border-color: var(--brown); }
.btn-brown:hover { background: var(--brown-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost-light:hover { background: #fff; color: var(--brown); }
.btn-small { padding: 10px 18px; font-size: 0.88rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--brown) 0%, #2f1507 100%); color: #fff; padding: 72px 0 64px; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { font-size: 1.15rem; max-width: 60ch; color: #f0e6d6; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 14px; }
.hero .eyebrow, .eyebrow-light { color: var(--gold-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.92rem; color: #e6d9c4; }
.hero-points li::before { content: "✓"; color: var(--gold-light); margin-right: 8px; }
@media (min-width: 900px) { .hero { padding: 110px 0 96px; } }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--brown); color: #f0e6d6; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.lead-dark { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .section { padding: 88px 0; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 500; font-size: 0.93rem; }

/* Tier finder */
.finder { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 28px; }
.finder h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.finder-buttons { display: grid; gap: 10px; }
.finder-btn { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 8px; padding: 12px 16px; font: 500 0.95rem/1.4 var(--sans); color: var(--ink); cursor: pointer; }
.finder-btn:hover { border-color: var(--gold); }
.finder-btn[aria-pressed="true"] { border-color: var(--brown); background: var(--brown); color: #fff; }
.finder-result { margin: 12px 0 0; font-weight: 600; color: var(--brown); min-height: 1.4em; }
@media (min-width: 800px) { .finder-buttons { grid-template-columns: repeat(3, 1fr); } }

.tiers { display: grid; gap: 22px; }
.tier { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; transition: border-color 0.2s, box-shadow 0.2s; }
.tier-featured { border-color: var(--gold); }
.tier.is-match { border-color: var(--brown); box-shadow: var(--shadow); }
.tier-flag { position: absolute; top: -13px; left: 24px; background: var(--gold); color: #fff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin: 0; }
.tier-level { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 4px; }
.tier-fee { display: flex; flex-direction: column; padding: 12px 0; margin-bottom: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier-fee strong { font-family: var(--serif); font-size: 1.35rem; color: var(--brown); }
.tier-fee span { font-size: 0.85rem; color: var(--muted); }
.tier-summary { font-weight: 500; }
.tier-best { font-size: 0.93rem; color: var(--muted); }
.tier-list { list-style: none; margin: 4px 0 16px; font-size: 0.93rem; }
.tier-list li { padding: 6px 0 6px 24px; position: relative; }
.tier-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.tier-outcome { font-family: var(--serif); font-style: italic; color: var(--brown); margin-top: auto; }
.tier .btn { margin-top: 6px; }
@media (min-width: 960px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--brown); color: #fff; font-family: var(--serif); }
.compare tbody th { font-weight: 600; width: 28%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

/* Process */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step-num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brown); color: #fff; font-family: var(--serif); font-weight: 600; margin-bottom: 12px; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: 0.93rem; color: var(--muted); margin: 0; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); } }

/* Two-column blocks */
.two-col { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .two-col-form { grid-template-columns: 5fr 7fr; align-items: start; } }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { padding-left: 34px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; text-align: center; line-height: 24px; font-size: 0.8rem; font-weight: 700; }
.check-dark { margin-top: 18px; color: var(--ink); }

/* Proof */
.stat { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 16px; }
.stat-value { font-family: var(--serif); font-size: 2.2rem; color: var(--brown); margin: 0 0 6px; font-weight: 600; }
.stat-label { margin: 0; color: var(--muted); font-size: 0.92rem; }
.partners { margin-top: 20px; }
.partner-role { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 6px; }
.partner h3 { margin-bottom: 10px; }
.sectors { margin-top: 36px; }
.sectors-label { font-weight: 600; color: var(--brown); margin-bottom: 4px; }
.chips-left { justify-content: flex-start; margin-top: 10px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.fsp-form fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.fsp-form legend { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--brown); padding: 0; margin-bottom: 14px; }
.field { margin-bottom: 16px; }
.field label:not(.check), .field .label { display: block; font-weight: 500; font-size: 0.93rem; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbbfab; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(184, 137, 59, 0.35); border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.req { color: var(--err); }
.opt { color: var(--muted); font-weight: 400; font-size: 0.85em; }
.checks { display: grid; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; cursor: pointer; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--brown); flex: none; }
.field-error { color: var(--err); font-size: 0.85rem; margin: 6px 0 0; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.progress { height: 6px; background: var(--tint); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.progress-bar { display: block; height: 100%; background: var(--gold); transition: width 0.25s; }
.step-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.95rem; }
.notice-ok { background: #e8f3ea; color: var(--ok); border: 1px solid #b9d9bf; }
.notice-err { background: #fbeceb; color: var(--err); border: 1px solid #efc1bd; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; display: grid; gap: 8px; margin-top: 18px; }
.contact-list span { display: inline-block; min-width: 64px; font-weight: 600; color: var(--brown); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--brown); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: #2b1308; color: #d9ccb8; padding: 56px 0 24px; font-size: 0.93rem; }
.site-footer a { color: #f0e0bd; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1.4fr 1fr; } }
.footer-brand img { height: 56px; width: auto; background: var(--cream); padding: 6px 10px; border-radius: 8px; margin-bottom: 14px; }
.footer-h { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-light); margin-bottom: 12px; }
.footer-list { list-style: none; display: grid; gap: 8px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; font-size: 0.82rem; }
.footer-legal p { margin: 0 0 8px; }
.site-footer .fsp-placeholder { color: #ffe9a6; background: rgba(255, 243, 205, 0.12); border-color: #c79a00; }

/* Pop-up: small, non-modal card in the corner */
.popup { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: min(380px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 22px 22px 14px; box-shadow: 0 18px 50px rgba(43, 19, 8, 0.28); animation: fsp-pop 0.3s ease-out; }
.popup h2 { font-size: 1.25rem; margin-bottom: 8px; padding-right: 28px; }
.popup p { font-size: 0.93rem; color: var(--muted); }
.popup .eyebrow { margin-bottom: 8px; padding-right: 36px; }
.popup-close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%; }
.popup-close:hover { background: var(--tint); color: var(--brown); }
.popup-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.popup-dismiss { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.85rem; text-decoration: underline; cursor: pointer; padding: 6px 0; }
@keyframes fsp-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Standard pages */
.page-body { padding-top: 56px; padding-bottom: 72px; }
.entry-title { margin-bottom: 18px; }
.entry-content { font-size: 1.02rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Terms of Use page */
.terms .entry-title { margin-bottom: 8px; }
.terms-date { margin: 0 0 24px; }
.terms-section h2 { font-size: 1.1rem; margin: 28px 0 10px; }
.terms ul, .terms ol { margin: 0 0 14px 22px; padding: 0; }
.terms li { margin-bottom: 4px; }

/* Legal disclaimer and non-reliance statement */
.legal { padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line, rgba(73, 35, 14, 0.15)); }
.legal-title { font-size: 1.15rem; margin-bottom: 14px; }
.legal p { font-size: 0.86rem; line-height: 1.65; color: var(--muted, #5a4a40); margin: 0 0 12px; }
.footer-legal a { color: inherit; text-decoration: underline; }
.nonreliance { margin-top: 18px; }
.nr-box { border: 1px solid rgba(73, 35, 14, 0.2); border-radius: 8px; background: #fff; margin-bottom: 12px; }
.nr-box summary { cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: 0.93rem; }
.nr-body { max-height: 260px; overflow-y: auto; padding: 0 16px 14px; font-size: 0.86rem; line-height: 1.6; }
.nr-body h4 { margin: 14px 0 4px; font-size: 0.9rem; }
.nr-body p { margin: 0 0 8px; }
.nr-body ul { margin: 0 0 8px 18px; padding: 0; }

/* Required acknowledgments */
.nr-lead { margin: 18px 0 10px; font-size: 0.93rem; }
.acks { margin-top: 18px; padding: 16px; border: 1px solid rgba(73, 35, 14, 0.2); border-radius: 8px; background: #fff; }
.acks-title { font-size: 1rem; margin: 0 0 6px; }
.acks > p { font-size: 0.9rem; margin: 0 0 12px; }
.ack { margin-bottom: 12px; }
.ack .check span { font-size: 0.88rem; line-height: 1.55; }
