/*
 * FlowConvo landing page. Builds on the rumvision.com CMS bundle (grid,
 * spacing, .btn, .panel, .squared-label, FAQ details) and only adds:
 *   1. a colour theme, scoped to #flex.fc-page (the CMS variables, redefined)
 *   2. fc-* components for the sections the CMS has no block for yet
 */

/* ---------- 1. Theme ---------- */
#flex.fc-page, .fc-preview-nav {
	--fc-paper: #F7F7F4;
	--fc-ink: #15171D;
	--fc-ink-2: #2B2F3A;
	--fc-muted: #5E6472;
	--fc-line: rgba(21, 23, 29, .10);
	--fc-line-2: rgba(21, 23, 29, .18);
	--fc-blue: #3653F5;
	--fc-blue-soft: #ECEFFE;
	--fc-teal: #0FA38E;
	--fc-teal-bright: #3EE0C2;
	--fc-night: #0E1322;
	--fc-night-2: #161C30;
	--fc-grad: linear-gradient(100deg, var(--fc-blue) 8%, var(--fc-teal) 92%);
	--fc-radius: .75rem;

	/* the CMS variables, in FlowConvo colours */
	--color-primary: var(--fc-ink);
	--color-primary-hover: var(--fc-ink-2);
	--text-on-primary: var(--fc-paper);
	--color-info: var(--fc-teal-bright);
	--color-info-hover: #2BCBAE;
	--text-on-info: #06231F;
	--color-light: var(--fc-paper);
	--text-on-light: var(--fc-ink);
	--color-secondary: #E3E5EA;
	--color-white: #fff;
	--color-white-hover: #F0F1F4;
	--text-on-white: var(--fc-ink);
	--text-body: var(--fc-ink);
	--text-muted: var(--fc-muted);
	--text-muted-light: #9AA1B2;
	--text-link: var(--fc-blue);
	--text-link-hover: #2238C4;
	--bs-border-color: var(--fc-line-2);

}
#flex.fc-page { background: var(--fc-paper); color: var(--fc-ink); }

.fc-page main { overflow: clip; }
.fc-page :focus-visible { outline: 2px solid var(--fc-blue); outline-offset: 3px; }
.fc-page section[id] { scroll-margin-top: 80px; }

/* Text set in the brand gradient (one phrase per headline, as in the design) */
.fc-grad {
	background: var(--fc-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.fc-dark .fc-grad, .fc-cta .fc-grad { background-image: linear-gradient(100deg, #8EA0FF 8%, var(--fc-teal-bright) 92%); }

.fc-h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.75rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; margin: 1.25rem auto 1.5rem; max-width: 20ch; }
.fc-h1 .fc-grad { display: block; }
.fc-h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; margin: .75rem 0 1.25rem; max-width: 20ch; }
.fc-lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.5; color: var(--fc-muted); max-width: 60ch; }
.fc-page .squared-label { color: var(--fc-muted); }
.fc-page .squared-indicator { color: var(--fc-teal); }
.fc-dark .squared-label { color: #9AA1B2; }

/* ---------- Preview-only header (the CMS has its own) ---------- */
.fc-preview-nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--fc-paper) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--fc-line); }
.fc-preview-nav .container { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.fc-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; color: var(--fc-ink); }
.fc-logo svg { width: 28px; height: 28px; }
.fc-preview-nav nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; font-size: .9rem; }
.fc-preview-nav nav a:not(.btn) { color: var(--fc-ink); }
.fc-preview-nav .fc-lang { font-family: 'Geist Mono', monospace; font-size: .8rem; color: var(--fc-muted); }
@media (max-width: 767.98px) { .fc-preview-nav nav a:not(.btn):not(.fc-lang) { display: none; } }

/* ---------- Hero ---------- */
.fc-hero { text-align: center; background:
	linear-gradient(var(--fc-paper), transparent 70%),
	repeating-linear-gradient(90deg, var(--fc-line) 0 1px, transparent 1px 25%); }
.fc-hero .fc-lede { margin: 0 auto 2rem; }
.fc-hero-note { font-size: .875rem; color: var(--fc-muted); margin: 1rem 0 0; }

.fc-browser { margin: 3.5rem auto 0; max-width: 1080px; border: 1px solid var(--fc-line-2); border-bottom: 0; border-radius: 1rem 1rem 0 0; background: #fff; box-shadow: 0 30px 80px -30px rgba(21, 23, 29, .28); overflow: hidden; text-align: left; }
.fc-browser-bar { display: flex; align-items: center; gap: .4rem; height: 40px; padding: 0 1rem; border-bottom: 1px solid var(--fc-line); background: #FBFBFA; }
.fc-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DADCE1; }
.fc-browser-url { margin-left: 1rem; flex: 0 1 320px; height: 24px; border-radius: 6px; background: #F0F1F3; font: 500 .72rem/24px 'Geist Mono', monospace; color: var(--fc-muted); padding: 0 .6rem; overflow: hidden; white-space: nowrap; }
.fc-browser-body { display: grid; grid-template-columns: 1fr 360px; min-height: 440px; }
@media (max-width: 860px) { .fc-browser-body { grid-template-columns: 1fr; } .fc-mock-page { display: none; } }

.fc-mock-page { padding: 2rem; border-right: 1px solid var(--fc-line); }
.fc-mock-page h3 { font-size: 1.4rem; font-weight: 600; margin: 0 0 .4rem; letter-spacing: -.03em; }
.fc-mock-page p { color: var(--fc-muted); font-size: .9rem; margin: 0 0 1.5rem; }
.fc-mock-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.fc-mock-plan { border: 1px solid var(--fc-line); border-radius: .6rem; padding: 1rem; display: grid; gap: .55rem; }
.fc-mock-plan.is-hot { border-color: var(--fc-blue); box-shadow: 0 0 0 3px var(--fc-blue-soft); }
.fc-mock-plan b { font-size: .85rem; }
.fc-mock-plan span { display: block; height: 7px; border-radius: 4px; background: #ECEDF0; }
.fc-mock-plan span:nth-child(3) { width: 70%; }
.fc-mock-plan span:nth-child(4) { width: 85%; }
.fc-mock-plan em { margin-top: .4rem; height: 26px; border-radius: 13px; background: #F0F1F3; }
.fc-mock-plan.is-hot em { background: var(--fc-ink); }

/* The chat widget mock */
.fc-widget { display: flex; flex-direction: column; background: #FCFCFB; }
.fc-widget-head { display: flex; align-items: center; gap: .65rem; padding: .9rem 1rem; border-bottom: 1px solid var(--fc-line); }
.fc-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--fc-grad); color: #fff; font-weight: 700; font-size: .8rem; flex: 0 0 auto; }
.fc-widget-head b { display: block; font-size: .9rem; line-height: 1.1; }
.fc-widget-head small { color: var(--fc-teal); font-size: .75rem; }
.fc-thread { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; }
.fc-msg { max-width: 88%; padding: .6rem .8rem; border-radius: .9rem; line-height: 1.4; }
.fc-msg--bot { background: #fff; border: 1px solid var(--fc-line); border-bottom-left-radius: .25rem; }
.fc-msg--me { align-self: flex-end; background: var(--fc-ink); color: var(--fc-paper); border-bottom-right-radius: .25rem; }
.fc-source { display: inline-flex; align-items: center; gap: .35rem; font: 500 .68rem/1 'Geist Mono', monospace; color: var(--fc-muted); margin-top: .1rem; }
.fc-source::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--fc-teal); }
.fc-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.fc-chip { border: 1px solid var(--fc-line-2); border-radius: 999px; padding: .3rem .75rem; font-size: .8rem; background: #fff; }
.fc-nps { background: #fff; border: 1px solid var(--fc-line); border-radius: .9rem; padding: .8rem; }
.fc-nps p { margin: 0 0 .6rem; font-size: .85rem; }
.fc-nps-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.fc-nps-scale span { text-align: center; font: 500 .7rem/22px 'Geist Mono', monospace; border-radius: 4px; background: #F0F1F3; }
.fc-nps-scale span.is-on { background: var(--fc-blue); color: #fff; }
.fc-typing { display: inline-flex; gap: 4px; padding: .7rem .8rem; }
.fc-typing i { width: 6px; height: 6px; border-radius: 50%; background: #B7BCC7; animation: fc-dot 1s infinite ease-in-out; }
.fc-typing i:nth-child(2) { animation-delay: .15s; }
.fc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fc-dot { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.fc-input { margin: 0 1rem 1rem; height: 40px; border: 1px solid var(--fc-line-2); border-radius: 999px; padding: 0 1rem; font-size: .85rem; line-height: 40px; color: #9AA1B2; background: #fff; }

/* Hero sequence: steps appear one after the other (flowconvo.js); without JS or with reduced motion all are shown */
.fc-js .fc-thread [data-step] { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.fc-js .fc-thread [data-step].is-in { opacity: 1; transform: none; }
.fc-js .fc-thread [data-step]:not(.is-in) { display: none; }
@media (prefers-reduced-motion: reduce) { .fc-js .fc-thread [data-step] { opacity: 1; transform: none; transition: none; } .fc-js .fc-thread [data-step]:not(.is-in) { display: block; } .fc-typing i { animation: none; } }

/* ---------- Integration strip ---------- */
.fc-logos { border-top: 1px solid var(--fc-line); border-bottom: 1px solid var(--fc-line); background: #fff; }
.fc-logos ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.25rem; margin: 0; padding: 0; list-style: none; }
.fc-logos li { font-weight: 600; font-size: 1.15rem; letter-spacing: -.03em; color: #8B91A0; }

/* ---------- What it does ---------- */
.fc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--fc-line-2); border-radius: var(--fc-radius); background: #fff; overflow: hidden; }
.fc-split > div { padding: 2rem; }
.fc-split > div + div { border-left: 1px solid var(--fc-line); background: #FBFBFA; }
@media (max-width: 767.98px) { .fc-split { grid-template-columns: 1fr; } .fc-split > div + div { border-left: 0; border-top: 1px solid var(--fc-line); } }
.fc-split h3 { font-size: 1rem; font-weight: 600; margin: 0 0 1rem; }
.fc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.fc-checks li { position: relative; padding-left: 1.6rem; line-height: 1.45; }
.fc-checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--fc-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%233653F5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.fc-split > div + div .fc-checks li::before { background: #ECEDF0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='2' fill='%235E6472'/%3E%3C/svg%3E") center/100% no-repeat; }

.fc-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--fc-line-2); counter-reset: fc-step; }
.fc-steps li { padding: 1.25rem 1.25rem 0 0; counter-increment: fc-step; }
.fc-steps li + li { padding-left: 1.25rem; border-left: 1px solid var(--fc-line); }
.fc-steps li::before { content: counter(fc-step); display: block; font: 500 .75rem/1 'Geist Mono', monospace; color: var(--fc-teal); margin-bottom: .75rem; }
.fc-steps b { display: block; font-weight: 600; margin-bottom: .35rem; }
.fc-steps span { font-size: .9rem; color: var(--fc-muted); line-height: 1.45; }
@media (max-width: 991.98px) { .fc-steps { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; } .fc-steps li, .fc-steps li + li { padding: 1rem 1rem 0 0; border-left: 0; } }
@media (max-width: 575.98px) { .fc-steps { grid-template-columns: 1fr; } }

/* ---------- Dark band ---------- */
.fc-dark { background: var(--fc-night); color: #E8EAF0; position: relative; }
.fc-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 0%, rgba(54, 83, 245, .28), transparent 70%); pointer-events: none; }
.fc-dark .container { position: relative; }
.fc-dark .fc-lede { color: #A9AFBF; }
.fc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--fc-radius); overflow: hidden; margin-top: 3rem; }
.fc-stat { background: var(--fc-night-2); padding: 1.75rem 1.5rem; }
.fc-stat b { display: block; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: #fff; margin-bottom: .6rem; }
.fc-stat span { color: #A9AFBF; font-size: .9rem; line-height: 1.4; display: block; }
@media (max-width: 767.98px) { .fc-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Replaces the stack ---------- */
.fc-stack { border-top: 1px solid var(--fc-line-2); margin-top: 2.5rem; }
.fc-stack-row { display: grid; grid-template-columns: 1fr 2rem 1.4fr; gap: 1.5rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid var(--fc-line); }
.fc-stack-row s { text-decoration-thickness: 1.5px; text-decoration-color: var(--fc-muted); font-weight: 600; font-size: 1.05rem; }
.fc-stack-row small { display: block; color: var(--fc-muted); font-size: .85rem; margin-top: .2rem; }
.fc-stack-row i { font-style: normal; color: var(--fc-teal); font-weight: 600; text-align: center; }
.fc-stack-row p { margin: 0; line-height: 1.5; }
.fc-stack-foot { margin: 1.5rem 0 0; font-weight: 600; }
@media (max-width: 767.98px) { .fc-stack-row { grid-template-columns: 1fr; gap: .4rem; } .fc-stack-row i { display: none; } }

/* ---------- Feature rows ---------- */
.fc-feature + .fc-feature { margin-top: 5rem; }
.fc-feature .row { align-items: center; row-gap: 2rem; }
.fc-feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; margin: .5rem 0 1rem; }
.fc-feature p { color: var(--fc-muted); max-width: 52ch; }
.fc-card { background: #fff; border: 1px solid var(--fc-line-2); border-radius: var(--fc-radius); padding: 1.5rem; box-shadow: 0 20px 50px -30px rgba(21, 23, 29, .25); }
.fc-card-title { font: 500 .75rem/1 'Geist Mono', monospace; color: var(--fc-muted); margin: 0 0 1rem; display: flex; justify-content: space-between; }
.fc-rules { display: grid; gap: 0; margin: 0; }
.fc-rules div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--fc-line); font-size: .92rem; }
.fc-rules dt { color: var(--fc-muted); }
.fc-rules dd { margin: 0; font-weight: 500; }
.fc-rules code { font-size: .85rem; background: var(--fc-blue-soft); color: #2238C4; border-radius: 4px; padding: .05rem .35rem; }
.fc-funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1rem; }
.fc-funnel span { background: var(--fc-paper); border-radius: .5rem; padding: .6rem .7rem; font-size: .8rem; color: var(--fc-muted); }
.fc-funnel b { display: block; font-size: 1.2rem; color: var(--fc-ink); letter-spacing: -.03em; }

.fc-sources { display: grid; gap: .55rem; }
.fc-source-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .7rem .9rem; border: 1px solid var(--fc-line); border-radius: .6rem; font-size: .92rem; }
.fc-source-row em { font: 500 .72rem/1 'Geist Mono', monospace; font-style: normal; color: var(--fc-teal); background: #E6F7F3; border-radius: 4px; padding: .3rem .45rem; white-space: nowrap; }

.fc-shield { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.fc-shield div { border: 1px solid var(--fc-line); border-radius: .6rem; padding: 1rem; }
.fc-shield b { display: block; font-size: .95rem; margin-bottom: .3rem; }
.fc-shield span { font-size: .85rem; color: var(--fc-muted); line-height: 1.45; display: block; }
@media (max-width: 575.98px) { .fc-shield { grid-template-columns: 1fr; } }

/* ---------- Results (sample dashboard) ---------- */
.fc-dash { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1px; background: var(--fc-line); border: 1px solid var(--fc-line-2); border-radius: var(--fc-radius); overflow: hidden; margin-top: 2.5rem; }
.fc-dash > div { background: #fff; padding: 1.5rem; }
.fc-dash-wide { grid-column: 1 / -1; }
@media (max-width: 767.98px) { .fc-dash { grid-template-columns: 1fr; } }
.fc-nps-score { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1rem; }
.fc-nps-score b { font-size: 3.25rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.fc-nps-score span { color: var(--fc-muted); font-size: .9rem; }
.fc-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin-bottom: .6rem; }
.fc-bar i:nth-child(1) { background: var(--fc-teal); }
.fc-bar i:nth-child(2) { background: #C9CDD6; }
.fc-bar i:nth-child(3) { background: #E8615A; }
.fc-legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--fc-muted); }
.fc-quote { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--fc-blue); background: var(--fc-paper); font-size: .9rem; border-radius: 0 .5rem .5rem 0; }
.fc-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.fc-table th { text-align: left; font: 500 .72rem/1 'Geist Mono', monospace; color: var(--fc-muted); padding: 0 0 .6rem; }
.fc-table td { padding: .55rem 0; border-top: 1px solid var(--fc-line); }
.fc-table td:not(:first-child), .fc-table th:not(:first-child) { text-align: right; }
.fc-badge { display: inline-block; border-radius: 999px; padding: .1rem .55rem; font-size: .75rem; margin-left: .3rem; }
.fc-badge.is-ok { background: #E2F6EE; color: #0B6B4F; }
.fc-badge.is-fail { background: #FDE2E1; color: #A1271F; }
.fc-sample-note { font-size: .8rem; color: var(--fc-muted); margin: .75rem 0 0; }

/* ---------- Plans ---------- */
.fc-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; align-items: start; }
@media (max-width: 991.98px) { .fc-plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.fc-plan { background: #fff; border: 1px solid var(--fc-line-2); border-radius: var(--fc-radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.fc-plan.is-featured { border-color: var(--fc-ink); box-shadow: 0 24px 60px -28px rgba(21, 23, 29, .35); }
.fc-plan-name { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; }
.fc-plan-name span { font: 500 .7rem/1 'Geist Mono', monospace; background: var(--fc-ink); color: var(--fc-paper); border-radius: 999px; padding: .35rem .6rem; }
.fc-plan-price { font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.fc-plan-price small { font-size: .9rem; font-weight: 400; color: var(--fc-muted); letter-spacing: 0; }
.fc-plan p { color: var(--fc-muted); font-size: .92rem; margin: 0; }
.fc-plan .btn { width: 100%; }
.fc-plan .fc-checks { font-size: .92rem; border-top: 1px solid var(--fc-line); padding-top: 1rem; }
.fc-limits { margin-top: 1.5rem; text-align: center; color: var(--fc-muted); font-size: .9rem; }

/* ---------- FAQ (CMS faqlist structure) ---------- */
.fc-faq details summary { display: flex; align-items: flex-start; gap: 1rem; font-weight: 600; padding: .25rem 0; }
.fc-faq details summary .fa { margin-left: auto; flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--fc-line-2); display: grid; place-items: center; }
.fc-faq details[open] summary .fa, .fc-faq details:hover summary .fa { background: var(--fc-ink); color: var(--fc-paper); border-color: var(--fc-ink); }
.fc-faq details > div { color: var(--fc-muted); padding: .5rem 3rem 0 0; }
.fc-faq hr { margin: 1rem 0 0; color: var(--fc-line-2); }

/* ---------- Closing CTA ---------- */
.fc-cta { background: var(--fc-ink); color: var(--fc-paper); border-radius: 1.25rem; padding: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(1.5rem, 1rem + 3vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.fc-cta::after { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(50% 50% at 50% 50%, rgba(62, 224, 194, .22), transparent 70%); pointer-events: none; }
.fc-cta > * { position: relative; z-index: 1; }
.fc-cta .fc-h2 { margin-left: auto; margin-right: auto; color: #fff; }
.fc-cta p { color: #A9AFBF; }
.fc-cta .btn-white { border-color: rgba(255, 255, 255, .2); }

.fc-btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.fc-btns.is-left { justify-content: flex-start; }

/* ---------- Demo page ---------- */
.fc-demo-hero { padding-bottom: 3rem; }
.fc-demo-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.5rem 0 0; }
.fc-demo-nav { position: sticky; top: 64px; z-index: 40; background: color-mix(in srgb, var(--fc-paper) 90%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--fc-line); border-bottom: 1px solid var(--fc-line); }
.fc-demo-nav .container { display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; height: 48px; align-items: center; white-space: nowrap; font-size: .9rem; }
.fc-demo-nav a { color: var(--fc-muted); }
.fc-demo-nav a:hover { color: var(--fc-ink); }

.fc-demo-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
.fc-demo-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991.98px) { .fc-demo-grid.is-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639.98px) { .fc-demo-grid.is-3 { grid-template-columns: 1fr; } }

.fc-demo-card { background: #fff; border: 1px solid var(--fc-line-2); border-radius: var(--fc-radius); padding: 1.4rem; display: flex; flex-direction: column; }
.fc-demo-card h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; margin: .9rem 0 .4rem; }
.fc-demo-card p { color: var(--fc-muted); font-size: .92rem; line-height: 1.5; margin: 0 0 1rem; }
.fc-demo-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.fc-demo-source { font: 500 .72rem/1.2 'Geist Mono', monospace; color: var(--fc-muted); }
.fc-demo-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.fc-demo-card .fc-demo-actions { padding-top: .25rem; }
.fc-demo-mount { margin: 0 0 1rem; }
.fc-demo-mount:empty { min-height: 0; }

.fc-key { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 500; border-radius: 999px; padding: .2rem .6rem; white-space: nowrap; }
.fc-key::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fc-key.is-free { background: #E2F6EE; color: #0B6B4F; }
.fc-key.is-key { background: var(--fc-blue-soft); color: #2238C4; }
.fc-key.is-own { background: #FFF1D6; color: #7A5000; }

.fc-dark .fc-demo-actions .btn-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3) !important; }
.fc-key-options { display: grid; gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--fc-radius); overflow: hidden; }
.fc-key-option { background: var(--fc-night-2); padding: 1.25rem 1.5rem; }
.fc-key-option b { display: block; color: #fff; margin-bottom: .3rem; }
.fc-key-option span { color: #A9AFBF; font-size: .92rem; line-height: 1.45; }
#demo-triggers .fc-demo-actions { margin-top: 1.5rem; }