/*!
 * SkyForge Hosting — Premium Theme Stylesheet
 * Sections:
 *   01. Design tokens
 *   02. Base / reset
 *   03. Layout helpers
 *   04. Buttons & shared UI
 *   05. Navbar
 *   06. Hero
 *   07. Trust strip
 *   08. Why choose — core diagram + feature cards
 *   09. Global presence
 *   10. Products
 *   11. Performance flow
 *   12. About
 *   13. Discord
 *   14. FAQ
 *   15. Final CTA
 *   16. Footer
 *   17. Reveal animations
 *   18. Responsive
 *   19. Reduced motion
 */

/* ===== 01. Design tokens ===== */
:root {
	--sf-bg-0: #05070B;
	--sf-bg-1: #080B12;
	--sf-bg-2: #0B1018;
	--sf-blue: #008CFF;
	--sf-blue-2: #009EFF;
	--sf-blue-3: #087FEA;
	--sf-cyan: #00C8FF;
	--sf-cyan-2: #16D9FF;
	--sf-blue-dark: #0757B5;
	--sf-text: #FFFFFF;
	--sf-text-mute: #8B98AA;
	--sf-border: rgba(255,255,255,0.08);
	--sf-border-strong: rgba(255,255,255,0.14);
	--sf-card: rgba(255,255,255,0.035);
	--sf-card-hi: rgba(255,255,255,0.06);
	--sf-glow: 0 0 40px rgba(0,158,255,0.35);
	--sf-radius: 14px;
	--sf-radius-lg: 22px;
	--sf-shadow: 0 10px 30px rgba(0,0,0,0.4);
	--sf-max: 1240px;
	--sf-nav-h: 74px;
	--sf-font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ===== 02. Base ===== */
html, body { background: var(--sf-bg-0); }
body.skyforge-body {
	margin: 0;
	font-family: var(--sf-font);
	color: var(--sf-text);
	background: var(--sf-bg-0);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.55;
	overflow-x: hidden;
}
.skyforge-body a { color: inherit; text-decoration: none; }
.skyforge-body img { max-width: 100%; display: block; }
.skyforge-body h1, .skyforge-body h2, .skyforge-body h3, .skyforge-body h4 {
	font-family: var(--sf-font);
	color: var(--sf-text);
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 .5em;
	font-weight: 700;
}
.skyforge-body p { color: var(--sf-text-mute); margin: 0 0 1em; }
.skyforge-body ul { margin: 0; padding: 0; list-style: none; }
.skyforge-body::selection { background: rgba(0,200,255,0.35); color: #fff; }

/* Hide the default theme main-site chrome if it accidentally renders */
.skyforge-body .site-header,
.skyforge-body .site-footer:not(.skyforge-footer),
.skyforge-body .skip-link:not(.skyforge-skip-link),
.skyforge-body #page > .site-header,
.skyforge-body #masthead { display: none !important; }

.skyforge-skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--sf-blue); color: #fff; padding: 10px 14px; z-index: 9999;
	border-radius: 8px;
}
.skyforge-skip-link:focus { left: 12px; top: 12px; }

/* ===== 03. Layout helpers ===== */
.sf-container { max-width: var(--sf-max); margin: 0 auto; padding: 0 24px; width: 100%; box-sizing: border-box; }
.skyforge-main { padding-top: var(--sf-nav-h); }

.sf-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--sf-text-mute); font-weight: 600;
	padding: 6px 12px; border: 1px solid var(--sf-border);
	border-radius: 999px; background: var(--sf-card);
}
.sf-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--sf-cyan); box-shadow: 0 0 8px var(--sf-cyan);
	display: inline-block;
}
.sf-dot--pulse { animation: sfPulse 2s ease-in-out infinite; }
@keyframes sfPulse {
	0%,100% { transform: scale(1); opacity: 1; }
	50%     { transform: scale(1.4); opacity: .6; }
}

.sf-grad {
	background: linear-gradient(90deg, var(--sf-cyan) 0%, var(--sf-blue-2) 60%, var(--sf-blue) 100%);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}

.sf-section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.sf-section-head h2 { font-size: clamp(28px, 4vw, 46px); margin-top: 14px; }
.sf-section-head p  { margin-top: 12px; font-size: 16px; }

/* ===== 04. Buttons ===== */
.skyforge-btn {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--sf-font); font-weight: 600; font-size: 14px;
	padding: 10px 18px; border-radius: 10px;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
	line-height: 1; white-space: nowrap;
}
.skyforge-btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.skyforge-btn--primary {
	background: linear-gradient(180deg, var(--sf-blue-2), var(--sf-blue-3));
	color: #fff; box-shadow: 0 8px 30px rgba(0,140,255,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.skyforge-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,158,255,0.45); }
.skyforge-btn--ghost {
	background: rgba(255,255,255,0.03); color: #fff;
	border-color: var(--sf-border-strong);
}
.skyforge-btn--ghost:hover {
	background: rgba(255,255,255,0.06); border-color: rgba(0,200,255,0.4);
	transform: translateY(-2px);
}
.skyforge-btn:focus-visible {
	outline: 2px solid var(--sf-cyan); outline-offset: 3px;
}

/* ===== 05. Navbar ===== */
.skyforge-navbar {
	position: fixed; inset: 0 0 auto 0; z-index: 1000;
	background: rgba(5,7,11,0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255,255,255,0.06);
	transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.skyforge-navbar.is-scrolled {
	background: rgba(5,7,11,0.85);
	border-bottom-color: rgba(255,255,255,0.1);
}
.skyforge-navbar__inner {
	max-width: var(--sf-max); margin: 0 auto; padding: 0 24px;
	height: var(--sf-nav-h);
	display: flex; align-items: center; gap: 24px;
}
.skyforge-brand { display: inline-flex; align-items: center; gap: 12px; }
.skyforge-brand__logo { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(0,158,255,0.35)); transition: transform .3s ease, filter .3s ease; }
.skyforge-brand:hover .skyforge-brand__logo { filter: drop-shadow(0 0 14px rgba(0,200,255,0.55)); }
.skyforge-brand__text { display: flex; flex-direction: column; line-height: 1; }
.skyforge-brand__name { font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.skyforge-brand__sub  { color: var(--sf-text-mute); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-top: 3px; }

.skyforge-nav { margin-left: auto; }
.skyforge-nav__list { display: flex; align-items: center; gap: 4px; }
.skyforge-nav__list a {
	display: inline-block; padding: 8px 14px; font-size: 14px;
	color: var(--sf-text-mute); border-radius: 8px;
	transition: color .18s ease, background .18s ease;
	font-weight: 500;
}
.skyforge-nav__list a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.skyforge-nav__actions { display: inline-flex; align-items: center; gap: 10px; }

.skyforge-nav__toggle {
	display: none; background: transparent; border: 1px solid var(--sf-border-strong);
	width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
	padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.skyforge-nav__toggle span { width: 18px; height: 2px; background: #fff; display: block; transition: transform .25s ease, opacity .2s ease; }
.skyforge-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.skyforge-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.skyforge-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.skyforge-mobile-menu {
	position: fixed; inset: var(--sf-nav-h) 0 auto 0;
	background: rgba(5,7,11,0.98);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--sf-border);
	padding: 24px; z-index: 999;
	transform: translateY(-14px); opacity: 0; pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.skyforge-mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.skyforge-mobile-menu__list { display: flex; flex-direction: column; gap: 4px; }
.skyforge-mobile-menu__list a {
	display: block; padding: 14px 12px; border-radius: 10px;
	color: #fff; font-weight: 500; border: 1px solid transparent;
}
.skyforge-mobile-menu__list a:hover { background: rgba(255,255,255,0.04); border-color: var(--sf-border); }
.skyforge-mobile-menu__actions { display: flex; gap: 10px; margin-top: 18px; }
.skyforge-mobile-menu__actions .skyforge-btn { flex: 1; justify-content: center; }

/* ===== 06. Hero ===== */
.sf-hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.sf-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.sf-hero__grid {
	position: absolute; inset: -1px;
	background-image:
		linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
	opacity: .55;
}
.sf-hero__glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; filter: blur(120px); opacity: .55; }
.sf-hero__glow--a { top: -220px; left: -160px; background: radial-gradient(circle, rgba(0,140,255,0.35), transparent 60%); }
.sf-hero__glow--b { bottom: -240px; right: -160px; background: radial-gradient(circle, rgba(0,200,255,0.25), transparent 60%); }
.sf-hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.sf-hero__inner {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.sf-hero__title {
	font-size: clamp(38px, 6vw, 72px); font-weight: 800;
	margin: 18px 0 20px;
}
.sf-hero__desc { max-width: 520px; font-size: 17px; }
.sf-hero__cta { display: flex; gap: 12px; margin: 26px 0 40px; flex-wrap: wrap; }

.sf-hero__trust { display: flex; gap: 28px; padding-top: 22px; border-top: 1px solid var(--sf-border); }
.sf-hero__trust li { display: flex; flex-direction: column; }
.sf-hero__trust strong { color: #fff; font-size: 20px; letter-spacing: -0.01em; }
.sf-hero__trust span { color: var(--sf-text-mute); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Globe — realistic particle Earth (see js/globe.js).
 * Uses the SkyForge blue/cyan palette to match the rest of the site. */
.sf-hero__visual { display: flex; align-items: center; justify-content: center; }
.sf-globe {
	position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px;
	border-radius: 50%;
	/* Outer blue ambient glow so the planet feels like it's floating */
	background: radial-gradient(circle at 50% 50%, rgba(0, 158, 255, 0.14), transparent 60%);
	filter: drop-shadow(0 20px 60px rgba(0, 120, 220, 0.25));
	cursor: grab;
}
.sf-globe:active { cursor: grabbing; }
.sf-globe__canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }

/* Two subtle rotating rings around the sphere, tinted blue to match */
.sf-globe__ring {
	position: absolute; inset: 0; border-radius: 50%;
	border: 1px solid rgba(0, 158, 255, 0.20);
	animation: sfRing 26s linear infinite;
	pointer-events: none;
}
.sf-globe__ring--1 { transform: rotateX(70deg); }
.sf-globe__ring--2 { transform: rotateY(70deg); animation-duration: 34s; animation-direction: reverse; border-color: rgba(0, 200, 255, 0.16); }
.sf-globe__ring--3 { inset: -22px; border-color: rgba(0, 158, 255, 0.10); }
@keyframes sfRing { to { transform: rotateX(70deg) rotate(360deg); } }

/* The two pill labels above/below the globe */
.sf-globe__label {
	position: absolute; padding: 8px 14px; border-radius: 999px;
	background: rgba(5, 7, 11, 0.72);
	border: 1px solid var(--sf-border);
	backdrop-filter: blur(10px);
	font-size: 12px; color: var(--sf-text-mute); letter-spacing: .08em; text-transform: uppercase;
	display: inline-flex; align-items: center; gap: 8px;
	box-shadow: 0 0 24px rgba(0, 158, 255, 0.18);
}
.sf-globe__label--top { top: -14px; left: 50%; transform: translateX(-50%); }
.sf-globe__label--bot { bottom: -14px; left: 50%; transform: translateX(-50%); }
.sf-globe__label .sf-dot {
	background: var(--sf-cyan);
	box-shadow: 0 0 10px var(--sf-cyan);
}

/* ===== 07. Trust strip ===== */
.sf-strip { border-top: 1px solid var(--sf-border); border-bottom: 1px solid var(--sf-border); background: rgba(255,255,255,0.015); }
.sf-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 24px; }
.sf-strip__item { display: flex; flex-direction: column; gap: 6px; }
.sf-strip__label { color: var(--sf-text-mute); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.sf-strip__value { color: #fff; font-weight: 600; font-size: 15px; }

/* ===== 08. Why choose — "SkyForge powers this" orbit diagram =====
 * The center card is the visual focus. Two subtle orbit rings run
 * around it. A small cyan pulse travels the outer ring; each
 * capability activates in sequence when the pulse reaches it, driven
 * by JS adding .is-active for one full 500ms window per step.
 */
.sf-why { padding: 120px 0; position: relative; }
.sf-core {
	position: relative; max-width: 780px; margin: 0 auto 80px;
}
.sf-core__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 620px;
	margin: 0 auto;
}
.sf-core__orbit {
	position: absolute; top: 50%; left: 50%;
	border-radius: 50%; border: 1px dashed rgba(0,200,255,0.20);
	pointer-events: none;
}
.sf-core__orbit--outer { width: 84%; height: 84%; transform: translate(-50%, -50%); }
.sf-core__orbit--inner { width: 52%; height: 52%; transform: translate(-50%, -50%); border-style: solid; border-color: rgba(0,200,255,0.14); }

/* .sf-core__pulse intentionally left empty:
 * The old "traveling cyan dot on the orbit" was distracting and rendered
 * as a stray large blue circle in some browsers. The sequential
 * activation of the capability chips (driven by animations.js) already
 * communicates the "energy flowing outward" concept, so no traveling
 * dot is needed here. The DOM element remains in the template for
 * backward compatibility but has no visible output. */
.sf-core__pulse { display: none; }

.sf-core__center {
	/* Card size restored to the original 168×168 — do NOT enlarge the card. */
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 168px; height: 168px; border-radius: 28px;
	background: linear-gradient(160deg, rgba(0,158,255,0.20), rgba(7,87,181,0.10));
	border: 1px solid rgba(0,200,255,0.45);
	box-shadow: 0 0 70px rgba(0,158,255,0.40), inset 0 1px 0 rgba(255,255,255,0.15);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	color: #fff; font-weight: 700; text-align: center; line-height: 1.15; font-size: 15px;
	z-index: 2;
}
.sf-core__center img {
	/* Only the LOGO IMAGE was enlarged — not the card. */
	width: 84px; height: 84px;
	object-fit: contain;
	opacity: 1;
	filter: drop-shadow(0 0 14px rgba(0,200,255,0.55));
}
.sf-core__center-glow {
	position: absolute; inset: -20%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0,158,255,0.35), transparent 60%);
	filter: blur(20px); z-index: -1;
	animation: sfCenterBreath 4s ease-in-out infinite;
}
@keyframes sfCenterBreath {
	0%, 100% { opacity: .55; transform: scale(1); }
	50%      { opacity: .95; transform: scale(1.08); }
}

/* Capability chips arranged around the orbit.
 *
 * We use two CSS custom properties per chip:
 *   --sf-tx  : horizontal offset from stage center (percentage of stage width)
 *   --sf-ty  : vertical   offset from stage center (percentage of stage height)
 *
 * Percentages here resolve against the stage (the containing block), NOT
 * against the chip's own size, so chips actually sit on the orbit ring
 * instead of stacking at the center like they did previously.
 *
 * The chip is then centered on that point with translate(-50%, -50%).
 * Hover/active state uses a scale() so the transform origin stays clean.
 */
.sf-core__cap {
	position: absolute;
	top:  calc(50% + var(--sf-ty, 0%));
	left: calc(50% + var(--sf-tx, 0%));
	transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 14px 10px 10px; border-radius: 999px;
	background: var(--sf-card); border: 1px solid var(--sf-border);
	backdrop-filter: blur(10px);
	color: #fff; font-size: 13px; font-weight: 600;
	transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
	white-space: nowrap;
	z-index: 3;
}
.sf-core__cap-ico {
	width: 26px; height: 26px; border-radius: 50%;
	background: rgba(0,158,255,0.10); border: 1px solid rgba(0,200,255,0.25);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--sf-cyan);
	transition: color .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.sf-core__cap-ico svg { width: 14px; height: 14px; }

/* State: activated by JS in sequence; falls back to hover on desktop */
.sf-core__cap.is-active,
.sf-core__cap:hover {
	background: var(--sf-card-hi);
	border-color: rgba(0,200,255,0.55);
	box-shadow: 0 0 26px rgba(0,200,255,0.30);
}
.sf-core__cap.is-active .sf-core__cap-ico,
.sf-core__cap:hover     .sf-core__cap-ico {
	background: rgba(0,200,255,0.20);
	border-color: rgba(0,200,255,0.65);
	box-shadow: 0 0 16px rgba(0,200,255,0.55);
}

/* Optional: draw a tiny thread from the center to the active cap
 * using an animated pseudo-element on the stage — but keep it subtle. */
.sf-core__stage::before {
	content: "";
	position: absolute; top: 50%; left: 50%;
	width: 3px; height: 3px; border-radius: 50%;
	background: rgba(0,200,255,0);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.sf-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sf-feature {
	padding: 26px; border-radius: var(--sf-radius);
	background: var(--sf-card); border: 1px solid var(--sf-border);
	transition: transform .3s ease, border-color .3s ease, background .3s ease;
	position: relative;
}
.sf-feature:hover { transform: translateY(-4px); border-color: rgba(0,200,255,0.3); background: var(--sf-card-hi); }
.sf-feature__num {
	display: inline-block; font-family: var(--sf-font); color: var(--sf-cyan);
	font-size: 12px; letter-spacing: .18em; font-weight: 700; margin-bottom: 12px;
}
.sf-feature h3 { font-size: 18px; margin-bottom: 8px; }
.sf-feature p  { font-size: 14px; margin: 0; }

/* ===== 09. Global presence — with live latency table ===== */
.sf-presence { padding: 120px 0; border-top: 1px solid var(--sf-border); }
.sf-presence__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.sf-presence__map {
	position: relative; aspect-ratio: 16 / 10;
	border-radius: var(--sf-radius-lg);
	background:
		radial-gradient(circle at 50% 50%, rgba(0,158,255,0.08), transparent 60%),
		var(--sf-bg-1);
	border: 1px solid var(--sf-border); overflow: hidden;
}
.sf-presence__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-presence__list { display: flex; flex-direction: column; gap: 14px; }
.sf-loc {
	padding: 18px; border-radius: var(--sf-radius);
	background: var(--sf-card); border: 1px solid var(--sf-border);
	transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.sf-loc:hover { border-color: rgba(0,200,255,0.4); transform: translateX(4px); background: var(--sf-card-hi); }
.sf-loc header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.sf-loc header h3 { font-size: 16px; margin: 0; flex: 1; }
.sf-flag { font-size: 20px; }
.sf-status {
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
	color: var(--sf-cyan); padding: 3px 8px; border-radius: 999px;
	background: rgba(0,200,255,0.08); border: 1px solid rgba(0,200,255,0.25);
}
.sf-loc p { font-size: 13px; margin: 0; }

/* ============================================================
 * Live latency panel (rendered by js/presence-live.js)
 * Redesigned for readability: big monospace numbers, country flags,
 * generous spacing, quality-colored borders, promoted "Nearest" row.
 * ============================================================ */
.sf-presence__map-wrap { display: flex; flex-direction: column; gap: 16px; }

.sf-lat {
	padding: 20px 22px;
	border-radius: var(--sf-radius-lg);
	background:
		linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
		var(--sf-bg-1);
	border: 1px solid var(--sf-border-strong);
	box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* Header row: live/est label with pulsing dot, RTT hint */
.sf-lat__head {
	display: flex; align-items: center; justify-content: space-between;
	padding-bottom: 14px; margin-bottom: 16px;
	border-bottom: 1px solid var(--sf-border);
}
.sf-lat__mode {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	font-weight: 700; color: #fff;
	padding: 6px 12px; border-radius: 999px;
	background: var(--sf-card); border: 1px solid var(--sf-border);
}
.sf-lat__mode-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--sf-cyan); box-shadow: 0 0 8px var(--sf-cyan);
	animation: sfPulse 2s ease-in-out infinite;
}
.sf-lat__mode.is-live .sf-lat__mode-dot { background: #4ADE80; box-shadow: 0 0 8px #4ADE80; }
.sf-lat__hint {
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--sf-text-mute); font-weight: 500;
}

/* "Your location" strip */
.sf-lat__me {
	display: flex; align-items: center; gap: 12px;
	padding: 12px 14px; margin-bottom: 14px;
	border-radius: 12px;
	background: rgba(0, 158, 255, 0.06);
	border: 1px solid rgba(0, 200, 255, 0.20);
}
.sf-lat__me-flag { font-size: 24px; line-height: 1; }
.sf-lat__me-lbl {
	flex: 1;
	color: var(--sf-text-mute); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.sf-lat__me-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	color: #fff; font-weight: 700; font-size: 14px;
	padding: 3px 10px; border-radius: 6px;
	background: rgba(0, 200, 255, 0.14); border: 1px solid rgba(0, 200, 255, 0.35);
}

/* Region cards list */
.sf-lat__list { display: flex; flex-direction: column; gap: 10px; }

.sf-lat__card {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	align-items: center; gap: 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(255,255,255,0.025);
	border: 1px solid var(--sf-border);
	transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.sf-lat__card:hover {
	background: rgba(255,255,255,0.045);
	transform: translateX(3px);
}

.sf-lat__flag {
	font-size: 26px; line-height: 1; text-align: center;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.sf-lat__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sf-lat__region {
	display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
	color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
}
.sf-lat__city  { color: var(--sf-text-mute); font-size: 12px; }

.sf-lat__value {
	display: inline-flex; align-items: baseline; gap: 6px;
	text-align: right;
}
.sf-lat__ms {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
	color: var(--sf-cyan);
	font-variant-numeric: tabular-nums;
}
.sf-lat__unit-inline {
	font-family: var(--sf-font);
	font-size: 12px; font-weight: 500;
	color: var(--sf-text-mute); margin-left: 2px;
}
.sf-lat__est {
	font-family: var(--sf-font);
	font-size: 10px; color: var(--sf-text-mute);
	padding: 2px 6px; border-radius: 4px;
	background: rgba(255,255,255,0.04); border: 1px solid var(--sf-border);
	font-weight: 500; letter-spacing: .05em;
}

/* "Nearest" pill next to the region name */
.sf-lat__pill {
	display: inline-flex; align-items: center;
	font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
	color: #86efac; font-weight: 800;
	padding: 3px 9px; border-radius: 999px;
	background: rgba(74, 222, 128, 0.14);
	border: 1px solid rgba(74, 222, 128, 0.4);
	box-shadow: 0 0 12px rgba(74, 222, 128, 0.15);
}

/* Quality-based color themes for cards */
.sf-lat__card--good .sf-lat__ms { color: #4ADE80; text-shadow: 0 0 10px rgba(74,222,128,0.35); }
.sf-lat__card--ok   .sf-lat__ms { color: #16D9FF; }
.sf-lat__card--far  .sf-lat__ms { color: #FBBF24; }
.sf-lat__card--unknown .sf-lat__ms { color: var(--sf-text-mute); }

/* Promoted "Nearest" card */
.sf-lat__card.is-nearest {
	background: linear-gradient(160deg, rgba(74, 222, 128, 0.10), rgba(74, 222, 128, 0.04));
	border-color: rgba(74, 222, 128, 0.45);
	box-shadow: 0 0 30px rgba(74, 222, 128, 0.15), inset 0 1px 0 rgba(255,255,255,0.05);
	padding: 16px 18px;
}
.sf-lat__card.is-nearest .sf-lat__ms { color: #4ADE80; text-shadow: 0 0 14px rgba(74,222,128,0.45); font-size: 24px; }
.sf-lat__card.is-nearest .sf-lat__flag { font-size: 30px; }
.sf-lat__card.is-nearest:hover { transform: none; }

/* Status + disclosure under the panel */
.sf-lat__status {
	font-size: 13px; color: #fff; margin: 8px 4px 0;
	line-height: 1.4;
}
.sf-lat__disclosure {
	font-size: 11px; color: var(--sf-text-mute); margin: 4px 4px 0;
	opacity: .70; line-height: 1.4;
}

/* ===== 10. Products ===== */
.sf-products { padding: 120px 0; border-top: 1px solid var(--sf-border); }
.sf-products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.sf-product {
	position: relative; padding: 32px;
	border-radius: var(--sf-radius-lg);
	background: var(--sf-card); border: 1px solid var(--sf-border);
	transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
	display: flex; flex-direction: column; gap: 14px;
}
.sf-product:hover { transform: translateY(-6px); background: var(--sf-card-hi); border-color: rgba(0,200,255,0.35); }
.sf-product__icon {
	width: 52px; height: 52px; border-radius: 12px;
	background: rgba(0,158,255,0.1); border: 1px solid rgba(0,158,255,0.3);
	display: flex; align-items: center; justify-content: center;
	color: var(--sf-cyan);
}
.sf-product__icon svg { width: 26px; height: 26px; }
.sf-product h3 { font-size: 22px; margin: 0; }
.sf-product p  { font-size: 14px; margin: 0; }
.sf-product__list { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; }
.sf-product__list li {
	position: relative; padding-left: 22px; font-size: 14px; color: var(--sf-text-mute);
}
.sf-product__list li::before {
	content: ""; position: absolute; left: 0; top: 7px;
	width: 12px; height: 12px; border-radius: 50%;
	background: rgba(0,200,255,0.15); border: 1px solid rgba(0,200,255,0.5);
}
.sf-product__list li::after {
	content: ""; position: absolute; left: 4px; top: 11px;
	width: 4px; height: 4px; border-radius: 50%; background: var(--sf-cyan);
}
.sf-product .skyforge-btn { align-self: flex-start; }

.sf-product--premium {
	border-color: rgba(0,158,255,0.35);
	background: linear-gradient(160deg, rgba(0,158,255,0.06), rgba(255,255,255,0.03));
	box-shadow: 0 20px 60px rgba(0,140,255,0.12);
}
.sf-product--premium:hover { border-color: rgba(0,200,255,0.55); box-shadow: 0 30px 80px rgba(0,158,255,0.22); }
.sf-product__badge {
	position: absolute; top: 20px; right: 20px;
	font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--sf-cyan);
	padding: 4px 10px; border-radius: 999px;
	background: rgba(0,200,255,0.1); border: 1px solid rgba(0,200,255,0.35);
}

/* ===== 11. Performance flow ===== */
.sf-perf { padding: 120px 0; border-top: 1px solid var(--sf-border); }
.sf-flow {
	display: flex; align-items: stretch; gap: 8px;
	padding: 28px; border-radius: var(--sf-radius-lg);
	background: var(--sf-card); border: 1px solid var(--sf-border);
	flex-wrap: wrap; justify-content: space-between;
}
.sf-flow__step {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 18px 14px; border-radius: 12px; min-width: 110px; flex: 1;
	background: rgba(255,255,255,0.02); border: 1px solid var(--sf-border);
}
.sf-flow__step span { font-size: 11px; letter-spacing: .18em; color: var(--sf-cyan); font-weight: 700; }
.sf-flow__step h4 { font-size: 14px; margin: 8px 0 0; }
.sf-flow__step--core {
	background: linear-gradient(160deg, rgba(0,158,255,0.16), rgba(7,87,181,0.06));
	border-color: rgba(0,200,255,0.45);
	box-shadow: 0 0 30px rgba(0,158,255,0.25);
}
.sf-flow__pipe {
	position: relative; flex: 0 0 40px; align-self: center;
	height: 2px; background: linear-gradient(90deg, transparent, rgba(0,200,255,0.35), transparent);
	overflow: hidden;
}
.sf-flow__pipe i {
	position: absolute; top: -3px; left: -20px;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--sf-cyan); box-shadow: 0 0 10px var(--sf-cyan);
	animation: sfFlow 2.4s linear infinite;
}
.sf-flow__pipe:nth-child(4) i { animation-delay: .3s; }
.sf-flow__pipe:nth-child(6) i { animation-delay: .6s; }
.sf-flow__pipe:nth-child(8) i { animation-delay: .9s; }
@keyframes sfFlow { to { left: calc(100% + 20px); } }

/* ===== 12. About ===== */
.sf-about { padding: 120px 0; border-top: 1px solid var(--sf-border); }
.sf-about__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.sf-about__inner h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.sf-about__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sf-about__card {
	padding: 22px; border-radius: var(--sf-radius);
	background: var(--sf-card); border: 1px solid var(--sf-border);
	transition: border-color .25s ease, transform .25s ease;
}
.sf-about__card:hover { border-color: rgba(0,200,255,0.3); transform: translateY(-2px); }
.sf-about__card h4 { margin: 0 0 6px; font-size: 15px; color: var(--sf-cyan); }
.sf-about__card p  { margin: 0; font-size: 14px; }

/* ===== 13. Discord ===== */
.sf-discord { padding: 80px 0; }
.sf-discord__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 30px;
	padding: 40px; border-radius: var(--sf-radius-lg);
	background:
		radial-gradient(circle at 20% 30%, rgba(0,158,255,0.12), transparent 60%),
		var(--sf-card);
	border: 1px solid var(--sf-border-strong);
	flex-wrap: wrap;
}
.sf-discord__inner h2 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 8px; }
.sf-discord__inner p  { margin: 0; max-width: 520px; }

/* ===== 14. FAQ ===== */
.sf-faq { padding: 120px 0; border-top: 1px solid var(--sf-border); }
.sf-faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.sf-faq__item {
	border: 1px solid var(--sf-border); border-radius: var(--sf-radius);
	background: var(--sf-card); overflow: hidden;
	transition: border-color .25s ease, background .25s ease;
}
.sf-faq__item[open] { border-color: rgba(0,200,255,0.35); background: var(--sf-card-hi); }
.sf-faq__item summary {
	cursor: pointer; padding: 18px 20px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	font-weight: 600; color: #fff; list-style: none;
}
.sf-faq__item summary::-webkit-details-marker { display: none; }
.sf-faq__ico {
	width: 22px; height: 22px; border-radius: 50%;
	border: 1px solid var(--sf-border-strong);
	position: relative; flex-shrink: 0;
	transition: transform .3s ease, border-color .3s ease;
}
.sf-faq__ico::before, .sf-faq__ico::after {
	content: ""; position: absolute; background: #fff;
	top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.sf-faq__ico::before { width: 10px; height: 2px; }
.sf-faq__ico::after  { width: 2px;  height: 10px; transition: transform .25s ease; }
.sf-faq__item[open] .sf-faq__ico { border-color: var(--sf-cyan); }
.sf-faq__item[open] .sf-faq__ico::after { transform: translate(-50%, -50%) scaleY(0); }
.sf-faq__item p { padding: 0 20px 20px; margin: 0; font-size: 14px; }

/* ===== 15. Final CTA ===== */
.sf-final { position: relative; padding: 120px 0; text-align: center; overflow: hidden; }
.sf-final__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(ellipse at 50% 50%, rgba(0,158,255,0.15), transparent 60%),
		linear-gradient(180deg, transparent, rgba(0,158,255,0.04));
}
.sf-final__bg::before {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
	opacity: .6;
}
.sf-final__inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.sf-final__inner h2 { font-size: clamp(30px, 5vw, 54px); margin: 0 0 14px; }
.sf-final__inner p  { font-size: 17px; margin: 0 0 28px; }
.sf-final__cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===== 16. Footer ===== */
.skyforge-footer { border-top: 1px solid var(--sf-border); background: var(--sf-bg-1); }
.skyforge-footer__inner {
	display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px;
	padding: 70px 24px 40px;
}
.skyforge-footer__brand p { max-width: 300px; margin: 14px 0 18px; font-size: 14px; }
.skyforge-footer__status {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--sf-text-mute); padding: 6px 12px; border-radius: 999px;
	background: var(--sf-card); border: 1px solid var(--sf-border);
}
.skyforge-footer__col h4 {
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sf-cyan);
	margin: 0 0 14px;
}
.skyforge-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.skyforge-footer__col a { color: var(--sf-text-mute); font-size: 14px; transition: color .2s ease; }
.skyforge-footer__col a:hover { color: #fff; }
.skyforge-footer__bottom {
	border-top: 1px solid var(--sf-border); padding: 20px 0;
	color: var(--sf-text-mute); font-size: 13px;
}

/* ===== 17. Reveal animations ===== */
[data-reveal] {
	opacity: 0; transform: translateY(18px);
	transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
	will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ===== Authentication pages (Login / Register) =====
 * Two-column composition:
 *   .sf-auth__visual  — left: SkyForge particle Earth + badge + supporting copy
 *   .sf-auth__card    — right: authentication form inside a glassy card
 *
 * The rest of the site's cyan/blue tokens are reused; no new palette here.
 */
.sf-auth {
	position: relative;
	min-height: calc(100vh - var(--sf-nav-h));
	padding: 40px 0 60px;
	overflow: hidden;
}
.sf-auth__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sf-auth__grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
	opacity: .45;
}
.sf-auth__glow {
	position: absolute; width: 700px; height: 700px; border-radius: 50%;
	filter: blur(120px); opacity: .5;
}
.sf-auth__glow--a { top: -260px; left: -160px; background: radial-gradient(circle, rgba(0,140,255,0.30), transparent 60%); }
.sf-auth__glow--b { bottom: -260px; right: -160px; background: radial-gradient(circle, rgba(0,200,255,0.20), transparent 60%); }

.sf-auth__inner {
	position: relative; z-index: 1;
	max-width: var(--sf-max);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 60px;
	align-items: center;
	min-height: calc(100vh - var(--sf-nav-h) - 60px);
}

/* ---------- Left: visual ----------
 * A relatively-positioned container so the badges and the tagline pill
 * can float over the globe like the reference: one badge upper-left,
 * one pill overlapping the globe, and a small brand tag lower-left.
 */
.sf-auth__visual {
	position: relative;
	min-height: 560px;
	padding: 12px 0;
}
.sf-auth__brand-badge {
	position: absolute; top: 14px; left: 0;
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--sf-text-mute); font-weight: 600;
	padding: 8px 14px; border: 1px solid var(--sf-border);
	border-radius: 999px; background: rgba(5,7,11,0.65);
	backdrop-filter: blur(10px);
	z-index: 3;
}
.sf-auth__brand-badge--net {
	top: 84px; left: 40px;
}
.sf-auth__brand-tag {
	position: absolute; bottom: 20px; left: 0;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 16px; border-radius: 12px;
	background: rgba(5,7,11,0.7); border: 1px solid var(--sf-border);
	backdrop-filter: blur(10px);
	color: #fff; font-size: 13px; line-height: 1.35; max-width: 260px;
	z-index: 3;
}
.sf-auth__brand-tag svg { width: 18px; height: 18px; color: var(--sf-cyan); flex-shrink: 0; }
.sf-auth__brand-tag strong { display: block; font-weight: 600; }
.sf-auth__brand-tag span    { color: var(--sf-text-mute); font-size: 12px; }
.sf-globe--auth {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 92%; max-width: 520px;
	margin: 0;
}

/* ---------- Right: card ---------- */
.sf-auth__card-wrap {
	display: flex; align-items: center; justify-content: center;
}
.sf-auth__card {
	width: 100%; max-width: 460px;
	padding: 36px 34px;
	border-radius: var(--sf-radius-lg);
	background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
	border: 1px solid var(--sf-border-strong);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow:
		0 30px 80px rgba(0,0,0,0.55),
		0 0 60px rgba(0,158,255,0.12),
		inset 0 1px 0 rgba(255,255,255,0.05);
}
.sf-auth__card--tall { padding: 32px 32px; }
.sf-auth__card-head { text-align: center; margin-bottom: 22px; }
/* Auth card logo — prominent standalone image (no chip background).
 * Matches sample2.png: large SkyForge phoenix, floating above the title. */
.sf-auth__logo {
	display: inline-flex; align-items: center; justify-content: center;
	margin: 0 0 8px;
	background: transparent; border: 0; box-shadow: none;
}
.sf-auth__logo img {
	width: 120px; height: 120px; object-fit: contain;
	filter: drop-shadow(0 0 24px rgba(0,200,255,0.45));
}
.sf-auth__title { font-size: 24px; margin: 0 0 6px; }
.sf-auth__sub   { font-size: 14px; margin: 0; color: var(--sf-text-mute); }

.sf-auth__error {
	padding: 12px 14px; border-radius: 10px;
	background: rgba(255, 90, 90, 0.08);
	border: 1px solid rgba(255, 90, 90, 0.35);
	color: #ffb4b4; font-size: 14px; margin-bottom: 18px;
}
.sf-auth__success {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 16px; border-radius: 12px;
	background: rgba(74, 222, 128, 0.08);
	border: 1px solid rgba(74, 222, 128, 0.35);
	color: #b8f5c8; font-size: 14px; margin: 4px 0 20px;
}
.sf-auth__success svg { width: 22px; height: 22px; color: #4ade80; flex-shrink: 0; margin-top: 1px; }
.sf-auth__success p { margin: 0; color: #d5f5e0; }

/* ---------- Form primitives ---------- */
.sf-auth__form { display: flex; flex-direction: column; gap: 16px; }
.sf-field { display: flex; flex-direction: column; gap: 6px; }
.sf-field__label {
	display: flex; align-items: center; justify-content: space-between;
	font-size: 13px; color: var(--sf-text-mute); font-weight: 500;
}
.sf-field__link { color: var(--sf-cyan); font-size: 12px; }
.sf-field__link:hover { text-decoration: underline; }
.sf-field__wrap {
	position: relative; display: flex; align-items: center;
	background: rgba(255,255,255,0.03);
	border: 1px solid var(--sf-border-strong);
	border-radius: 10px;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.sf-field__wrap:focus-within {
	border-color: rgba(0,200,255,0.55);
	background: rgba(255,255,255,0.05);
	box-shadow: 0 0 0 3px rgba(0,158,255,0.15);
}
.sf-field__ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--sf-text-mute); flex-shrink: 0; }
.sf-field__ico svg { width: 18px; height: 18px; }
.sf-field__wrap input {
	flex: 1; min-width: 0;
	background: transparent; border: 0; outline: 0;
	color: #fff; font-family: var(--sf-font); font-size: 14px;
	padding: 12px 12px 12px 0;
	height: 42px;
}
.sf-field__wrap input::placeholder { color: rgba(139,152,170,0.6); }
.sf-field__eye {
	background: transparent; border: 0; cursor: pointer;
	width: 42px; height: 42px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--sf-text-mute);
	transition: color .18s ease;
}
.sf-field__eye:hover { color: #fff; }
.sf-field__eye svg { width: 18px; height: 18px; }

.sf-field--check {
	flex-direction: row; align-items: flex-start; gap: 10px;
	font-size: 13px; color: var(--sf-text-mute); cursor: pointer;
	padding: 4px 2px;
}
.sf-field--check input[type="checkbox"] {
	appearance: none; -webkit-appearance: none;
	width: 18px; height: 18px; border-radius: 5px;
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--sf-border-strong);
	flex-shrink: 0; margin-top: 1px;
	position: relative; cursor: pointer;
	transition: background .18s ease, border-color .18s ease;
}
.sf-field--check input[type="checkbox"]:checked {
	background: var(--sf-cyan);
	border-color: var(--sf-cyan);
}
.sf-field--check input[type="checkbox"]:checked::after {
	content: ""; position: absolute; left: 5px; top: 2px;
	width: 5px; height: 9px; border: solid #000;
	border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.sf-field--check a { color: var(--sf-cyan); }
.sf-field--check a:hover { text-decoration: underline; }
.sf-field--check span { line-height: 1.5; }

.sf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Password strength meter */
.sf-pass-strength {
	display: flex; align-items: center; gap: 10px;
	font-size: 12px; color: var(--sf-text-mute);
	margin-top: 4px;
}
.sf-pass-strength__bar {
	flex: 1; height: 4px; border-radius: 2px;
	background: rgba(255,255,255,0.06); overflow: hidden;
}
.sf-pass-strength__bar i {
	display: block; height: 100%; width: 0;
	background: var(--sf-text-mute);
	transition: width .25s ease, background .25s ease;
}
.sf-pass-strength.is-weak   .sf-pass-strength__bar i { background: #ff6b6b; }
.sf-pass-strength.is-fair   .sf-pass-strength__bar i { background: #ffb648; }
.sf-pass-strength.is-good   .sf-pass-strength__bar i { background: #66d3ff; }
.sf-pass-strength.is-strong .sf-pass-strength__bar i { background: #4ade80; }

/* Cloudflare Turnstile */
.sf-turnstile {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	margin: 2px 0;
}
.sf-turnstile .cf-turnstile { min-height: 65px; }  /* reserves space so layout doesn't jump */
.sf-turnstile__msg {
	font-size: 12px; margin: 0;
	color: var(--sf-text-mute);
}
.sf-turnstile__msg.is-warn  { color: #ffb648; }
.sf-turnstile__msg.is-error { color: #ff8080; }

/* Primary CTA */
.sf-auth__cta {
	width: 100%; justify-content: center;
	margin-top: 4px;
}
.sf-auth__cta[disabled],
.sf-auth__cta[aria-disabled="true"] {
	opacity: .5; cursor: not-allowed; transform: none !important;
	box-shadow: none !important;
}

/* OR divider */
.sf-auth__divider {
	display: flex; align-items: center; gap: 12px;
	margin: 4px 0;
	color: var(--sf-text-mute); font-size: 12px; letter-spacing: .18em;
}
.sf-auth__divider::before,
.sf-auth__divider::after {
	content: ""; flex: 1; height: 1px; background: var(--sf-border);
}

/* Google button */
.sf-auth__google {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	padding: 12px 18px; border-radius: 10px;
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--sf-border-strong);
	color: #fff; font-weight: 600; font-size: 14px;
	text-align: center;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.sf-auth__google:hover {
	background: rgba(255,255,255,0.07);
	border-color: rgba(0,200,255,0.35);
	transform: translateY(-1px);
}
.sf-google__icon {
	width: 22px; height: 22px;
	background: #fff; border-radius: 5px;
	display: inline-flex; align-items: center; justify-content: center;
}
.sf-google__icon svg { width: 16px; height: 16px; }

/* Foot links */
.sf-auth__foot {
	text-align: center; margin: 6px 0 0;
	font-size: 14px; color: var(--sf-text-mute);
}
.sf-auth__foot a { color: var(--sf-cyan); font-weight: 600; }
.sf-auth__foot a:hover { text-decoration: underline; }

.sf-auth__legal {
	text-align: center; margin: 0;
	font-size: 12px; color: var(--sf-text-mute); line-height: 1.5;
}
.sf-auth__legal a { color: var(--sf-text-mute); text-decoration: underline; text-underline-offset: 2px; }
.sf-auth__legal a:hover { color: #fff; }

/* ===== Legal pages (Terms / Privacy / AUP) ===== */
.sf-legal { padding: calc(var(--sf-nav-h) + 40px) 0 100px; min-height: 70vh; }
.sf-legal__inner { max-width: 860px; margin: 0 auto; }
.sf-legal__breadcrumb {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; color: var(--sf-text-mute); margin-bottom: 18px;
}
.sf-legal__breadcrumb a { color: var(--sf-cyan); }
.sf-legal__breadcrumb a:hover { text-decoration: underline; }
.sf-legal__header { padding-bottom: 28px; border-bottom: 1px solid var(--sf-border); margin-bottom: 32px; }
.sf-legal__title  { font-size: clamp(30px, 5vw, 48px); margin: 14px 0 10px; }
.sf-legal__sub    { font-size: 16px; margin: 0 0 8px; }
.sf-legal__meta   { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sf-text-mute); margin: 0; }
.sf-legal__body h2 {
	font-size: 20px; margin: 32px 0 12px; color: #fff;
	padding-top: 20px; border-top: 1px solid var(--sf-border);
}
.sf-legal__body h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.sf-legal__body p { font-size: 15px; line-height: 1.75; color: var(--sf-text-mute); }
.sf-legal__body a { color: var(--sf-cyan); }
.sf-legal__body a:hover { text-decoration: underline; }
.sf-legal__body ul {
	padding-left: 22px; margin: 8px 0 18px;
	list-style: disc; color: var(--sf-text-mute); font-size: 15px; line-height: 1.75;
}
.sf-legal__body ul li { margin-bottom: 6px; }
.sf-legal__body strong { color: #fff; font-weight: 600; }
.sf-legal__footer {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	flex-wrap: wrap;
	margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--sf-border);
}
.sf-legal__cross { display: flex; gap: 16px; flex-wrap: wrap; }
.sf-legal__cross a { color: var(--sf-text-mute); font-size: 13px; }
.sf-legal__cross a:hover { color: #fff; }

/* Responsive rules and reduced-motion overrides live in responsive.css */
