:root {
	--ffl-bg: #080d10;
	--ffl-bg-soft: #0d1519;
	--ffl-panel: rgba(18, 27, 32, .82);
	--ffl-panel-strong: #121c21;
	--ffl-border: rgba(156, 194, 199, .16);
	--ffl-mint: #62e1cf;
	--ffl-mint-dark: #2ccbb6;
	--ffl-white: #f6faf9;
	--ffl-muted: #9aabb0;
	--ffl-shadow: 0 18px 50px rgba(0, 0, 0, .34);
}

html { background: var(--ffl-bg); color-scheme: dark; }
body.ffl-standalone {
	margin: 0;
	background: var(--ffl-bg);
	color: var(--ffl-white);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.ffl-standalone *, .ffl-standalone *::before, .ffl-standalone *::after { box-sizing: border-box; }
.ffl-standalone a { color: inherit; text-decoration: none; }
.ffl-standalone button { font: inherit; }

.ffl-app {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 4%, rgba(98, 225, 207, .13), transparent 28rem),
		radial-gradient(circle at 93% 35%, rgba(98, 225, 207, .065), transparent 22rem),
		linear-gradient(165deg, #0b1216 0%, #070b0e 56%, #090f12 100%);
}

.ffl-app::before,
.ffl-app::after {
	content: "";
	position: fixed;
	z-index: -1;
	width: 16rem;
	height: 5rem;
	border: 1px solid rgba(98, 225, 207, .13);
	border-radius: 2.5rem;
	transform: rotate(-58deg);
	pointer-events: none;
}
.ffl-app::before { top: 8rem; right: -9rem; }
.ffl-app::after { bottom: 8rem; left: -10rem; opacity: .65; }

.ffl-profile {
	position: relative;
	width: min(100%, 37rem);
	min-height: 100svh;
	margin: 0 auto;
	padding: max(2.25rem, env(safe-area-inset-top)) max(1.1rem, env(safe-area-inset-right)) max(2.1rem, env(safe-area-inset-bottom)) max(1.1rem, env(safe-area-inset-left));
}

.ffl-share {
	position: absolute;
	top: max(1rem, env(safe-area-inset-top));
	right: max(1rem, env(safe-area-inset-right));
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	min-height: 2.65rem;
	padding: 0 .85rem;
	border: 1px solid var(--ffl-border);
	border-radius: 999px;
	background: rgba(12, 19, 23, .76);
	color: var(--ffl-muted);
	font-size: .76rem;
	font-weight: 750;
	cursor: pointer;
	backdrop-filter: blur(14px);
}
.ffl-share[hidden] { display: none; }
.ffl-share svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }

.ffl-header { padding-top: .7rem; text-align: center; }
.ffl-avatar-wrap { position: relative; width: 7.25rem; margin: 0 auto 1.15rem; }
.ffl-avatar-wrap::before {
	content: "";
	position: absolute;
	inset: -.28rem;
	border: 1px solid rgba(98, 225, 207, .55);
	border-radius: 50%;
	box-shadow: 0 0 2.3rem rgba(98, 225, 207, .13);
}
.ffl-avatar {
	display: block;
	width: 7.25rem;
	height: 7.25rem;
	border: .22rem solid #10191d;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 29%;
	background: #1b1e20;
}
.ffl-online {
	position: absolute;
	right: .35rem;
	bottom: .4rem;
	width: 1.05rem;
	height: 1.05rem;
	border: .2rem solid #0b1215;
	border-radius: 50%;
	background: var(--ffl-mint);
}
.ffl-eyebrow {
	margin: 0 0 .55rem;
	color: var(--ffl-mint);
	font-size: .7rem;
	font-weight: 850;
	letter-spacing: .17em;
}
.ffl-header h1 {
	margin: 0;
	font-size: clamp(2rem, 9vw, 2.75rem);
	line-height: 1.05;
	letter-spacing: -.045em;
}
.ffl-header h1 span { color: var(--ffl-mint); }
.ffl-intro {
	max-width: 31rem;
	margin: .75rem auto 0;
	color: #c5d0d2;
	font-size: .96rem;
	line-height: 1.55;
}

.ffl-socials {
	display: flex;
	justify-content: center;
	gap: .65rem;
	margin: 1.25rem 0 1.5rem;
}
.ffl-socials a {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid var(--ffl-border);
	border-radius: 1rem;
	background: rgba(19, 29, 34, .76);
	color: var(--ffl-mint);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.ffl-socials svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }

.ffl-links { display: grid; gap: .75rem; }
.ffl-card {
	position: relative;
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr) 1.25rem;
	align-items: center;
	gap: .85rem;
	min-height: 4.75rem;
	padding: .78rem .9rem;
	border: 1px solid var(--ffl-border);
	border-radius: 1.15rem;
	background: linear-gradient(145deg, rgba(21, 32, 37, .94), rgba(13, 21, 25, .92));
	box-shadow: 0 10px 28px rgba(0, 0, 0, .19);
	transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.ffl-card-icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid rgba(98, 225, 207, .24);
	border-radius: .9rem;
	background: rgba(98, 225, 207, .07);
	color: var(--ffl-mint);
}
.ffl-card-icon svg,
.ffl-arrow svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.ffl-card-icon svg { width: 1.45rem; height: 1.45rem; }
.ffl-card-copy { display: grid; gap: .18rem; min-width: 0; }
.ffl-card-copy strong { font-size: .96rem; line-height: 1.22; }
.ffl-card-copy small { color: var(--ffl-muted); font-size: .76rem; line-height: 1.3; }
.ffl-arrow { color: #718187; }
.ffl-arrow svg { width: 1.15rem; height: 1.15rem; }
.ffl-card.is-primary {
	border-color: rgba(98, 225, 207, .78);
	background: linear-gradient(135deg, var(--ffl-mint), #3ad5c0);
	color: #04110f;
	box-shadow: 0 15px 38px rgba(57, 210, 190, .19);
}
.ffl-card.is-primary .ffl-card-icon { border-color: rgba(4, 17, 15, .18); background: rgba(4, 17, 15, .08); color: #04110f; }
.ffl-card.is-primary small, .ffl-card.is-primary .ffl-arrow { color: rgba(4, 17, 15, .7); }
.ffl-card.is-course { border-color: rgba(98, 225, 207, .38); }
.ffl-card.is-youtube .ffl-card-icon { color: #ff6464; border-color: rgba(255, 100, 100, .18); background: rgba(255, 100, 100, .065); }

.ffl-section-title {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 1.45rem 0 .75rem;
	color: #819196;
	font-size: .66rem;
	font-weight: 850;
	letter-spacing: .16em;
}
.ffl-section-title::before, .ffl-section-title::after { content: ""; height: 1px; flex: 1; background: var(--ffl-border); }
.ffl-links-secondary .ffl-card { min-height: 4.4rem; }

.ffl-footer {
	display: grid;
	justify-items: center;
	gap: .55rem;
	padding: 2rem 0 .5rem;
	color: #738287;
}
.ffl-footer a { display: flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 750; color: #a9b7ba; }
.ffl-footer small { font-size: .68rem; }
.ffl-mini-mark { display: flex; align-items: center; letter-spacing: -.22em; font-size: 1rem; }
.ffl-mini-mark b:first-child { color: var(--ffl-white); }
.ffl-mini-mark b:last-child { color: var(--ffl-mint); }

.ffl-toast {
	position: fixed;
	left: 50%;
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 20;
	transform: translate(-50%, 1rem);
	padding: .7rem 1rem;
	border: 1px solid rgba(98, 225, 207, .35);
	border-radius: 999px;
	background: #132025;
	color: var(--ffl-white);
	font-size: .82rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease;
}
.ffl-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (hover: hover) {
	.ffl-card:hover { transform: translateY(-2px); border-color: rgba(98, 225, 207, .48); }
	.ffl-socials a:hover, .ffl-share:hover { border-color: rgba(98, 225, 207, .55); color: var(--ffl-white); }
}

.ffl-card:focus-visible, .ffl-socials a:focus-visible, .ffl-share:focus-visible {
	outline: 3px solid rgba(98, 225, 207, .38);
	outline-offset: 3px;
}

@media (max-width: 25rem) {
	.ffl-profile { padding-inline: .8rem; }
	.ffl-share span { display: none; }
	.ffl-share { width: 2.65rem; justify-content: center; padding: 0; }
	.ffl-card { grid-template-columns: 2.75rem minmax(0, 1fr) 1rem; gap: .7rem; padding-inline: .75rem; }
	.ffl-card-icon { width: 2.75rem; height: 2.75rem; }
}

@media (min-width: 45rem) {
	.ffl-profile { padding-top: max(3.25rem, env(safe-area-inset-top)); }
	.ffl-app { overflow: auto; }
	.ffl-profile::before {
		content: "";
		position: absolute;
		inset: 1rem 0;
		z-index: -1;
		border: 1px solid rgba(156, 194, 199, .09);
		border-radius: 2rem;
		background: rgba(7, 12, 15, .16);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ffl-card, .ffl-toast { transition: none; }
}

