/* Shared Repo — landing page */
:root {
	/* Brand from logo */
	--navy: #1e2d4a;
	--navy-deep: #151f30;
	--navy-darker: #0f1729;
	--blue: #3b5bdb;
	--blue-2: #4c6ef5;
	--teal: #20c997;
	--teal-2: #38d9a9;

	/* Surface */
	--bg: #f7f7f5;
	--bg-2: #ffffff;
	--bg-tinted: #faf8f3;
	--ink: #1a1f2e;
	--ink-soft: #4a5160;
	--ink-muted: #8a92a3;
	--line: #e8e5dd;
	--line-soft: #efece5;

	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-xl: 28px;

	--shadow-sm: 0 2px 6px rgba(20, 30, 50, 0.04);
	--shadow-md: 0 12px 32px rgba(20, 30, 50, 0.08);
	--shadow-lg: 0 24px 60px rgba(20, 30, 50, 0.14);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	background: var(--bg);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
}
a {
	color: inherit;
	text-decoration: none;
}
img,
svg {
	display: block;
	max-width: 100%;
}
ul {
	list-style: none;
}

.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Brand mark ---------- */
.logo-mark {
	position: relative;
	display: inline-block;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}
.logo-layer {
	position: absolute;
	left: 0;
	width: 28px;
	height: 14px;
	border-radius: 5px;
	transform: skewX(-18deg);
}
.logo-layer.layer-1 {
	top: 1px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
	z-index: 3;
}
.logo-layer.layer-2 {
	top: 10px;
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
	z-index: 2;
	opacity: 0.95;
}
.logo-layer.layer-3 {
	top: 18px;
	background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
	z-index: 1;
}

.brand-name {
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.02em;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}
.btn svg {
	width: 18px;
	height: 18px;
}
.btn-sm {
	padding: 10px 18px;
	font-size: 14px;
}

.btn-primary {
	background: var(--blue);
	color: #fff;
}
.btn-primary:hover {
	background: var(--blue-2);
	box-shadow: 0 8px 18px rgba(30, 45, 74, 0.25);
	transform: translateY(-1px);
}
.btn-secondary {
	background: #fff;
	color: var(--ink);
	border-color: var(--line);
}
.btn-secondary:hover {
	border-color: var(--ink);
}
.btn-light {
	background: #fff;
	color: var(--navy);
}
.btn-light:hover {
	transform: translateY(-1px);
}
.btn-outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
	border-color: #fff;
}

/* ---------- Highlight underline ---------- */
.highlight {
	position: relative;
	white-space: nowrap;
	display: inline-block;
}
.highlight::after {
	content: "";
	position: absolute;
	left: -4px;
	right: -4px;
	bottom: 4px;
	height: 10px;
	background: linear-gradient(90deg, rgba(59, 91, 219, 0.18), rgba(32, 201, 151, 0.22));
	border-radius: 4px;
	z-index: -1;
}

/* ---------- Badge ---------- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-soft);
}
.badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue), var(--teal));
}

/* ---------- Navbar ---------- */
.navbar {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	transition:
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
	border-bottom: 1px solid transparent;
}
.navbar.sticky {
	background-color: rgba(247, 247, 245, 0.85);
	border-bottom-color: var(--line-soft);
	/* box-shadow: var(--shadow-sm); */
}
.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	padding-bottom: 18px;
	gap: 24px;
}
.nav-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nav-links {
	display: flex;
	gap: 32px;
	margin-left: auto;
	margin-right: 24px;
}
.nav-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--ink-soft);
	transition: color 0.2s;
}
.nav-link:hover {
	color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	padding: 146px 0 0;
	top: -82px;
	margin-bottom: -82px;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 91, 219, 0.06), transparent 60%),
		radial-gradient(ellipse 60% 50% at 50% 100%, rgba(32, 201, 151, 0.06), transparent 70%), var(--bg);
	overflow: hidden;
}
.hero-container {
	text-align: center;
	max-width: 760px;
	position: relative;
	z-index: 2;
}
.hero h1 {
	font-size: clamp(36px, 5vw, 60px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 18px 0;
}
.hero-subtitle {
	font-size: 17px;
	color: var(--ink-soft);
	max-width: 560px;
	margin: 0 auto 28px;
}
.hero-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.hero-meta {
	margin-top: 18px;
	font-size: 13px;
	color: var(--ink-muted);
}

/* Popup mockup */
.hero-mockup {
	margin: 56px auto 0;
	max-width: 896px;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}
.popup {
	background: var(--navy-deep);
	color: #e6e9ef;
	border-top-left-radius: 18px;
	border-top-right-radius: 18px;
	overflow: visible;
	background-clip: padding-box; /* !importanté */
	border: solid 3px transparent; /* !importanté */
	border-bottom: 0px;
}
/* gradient border layer */
.popup::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	margin: -3px; /* !importanté */
	border-radius: inherit; /* !importanté */
	background: linear-gradient(to bottom, #4cd0a7, #396afa, transparent);
}
.popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	/* border-bottom: 1px solid rgba(255, 255, 255, 0.06); */
}
.popup-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
}
.popup-logo {
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: linear-gradient(135deg, var(--blue), var(--teal));
}
.popup-actions {
	display: flex;
	gap: 6px;
}
.popup-icon {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
}
.popup-tabs {
	display: flex;
	gap: 4px;
	padding: 10px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	overflow-x: auto;
}
.popup-tab {
	font-size: 12px;
	font-weight: 500;
	color: rgba(230, 233, 239, 0.6);
	padding: 6px 10px;
	border-radius: 6px;
	white-space: nowrap;
}
.popup-tab em {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 6px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	font-style: normal;
	font-size: 11px;
}
.popup-tab.active {
	background: rgba(76, 110, 245, 0.18);
	color: #fff;
}
.popup-tab.active em {
	background: rgba(76, 110, 245, 0.4);
}
.popup-list {
	padding: 6px 0;
}
.popup-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.popup-row:last-child {
	border-bottom: none;
}
.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}
.status-dot.blue {
	background: var(--blue-2);
}
.status-dot.teal {
	background: var(--teal-2);
}
.popup-row-main {
	flex: 1;
	min-width: 0;
}
.popup-row-title {
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.popup-row-meta {
	font-size: 11px;
	color: rgba(230, 233, 239, 0.5);
	margin-top: 2px;
}
.popup-pill {
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 999px;
	white-space: nowrap;
}
.popup-pill.review {
	background: rgba(76, 110, 245, 0.18);
	color: #8aa6ff;
}
.popup-pill.approved {
	background: rgba(56, 217, 169, 0.16);
	color: #5dd9b3;
}
.popup-pill.draft {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.6);
}

/* Repo popup (Shared Repositories list) */
.repo-popup {
	position: relative;
	max-height: 520px;
	display: flex;
	flex-direction: column;
}
.repo-popup-header {
	align-items: flex-start;
	padding: 16px 18px 14px;
}
.repo-popup-title {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.repo-popup-heading {
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.01em;
}
.repo-popup-sub {
	font-size: 12px;
	color: rgba(230, 233, 239, 0.5);
}
.repo-popup-controls {
	display: flex;
	align-items: center;
	gap: 6px;
}
.repo-sync-btn,
.repo-gear-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #e6e9ef;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition:
		background 0.15s ease,
		color 0.15s ease,
		transform 0.15s ease;
}
.repo-sync-btn:hover,
.repo-gear-btn:hover {
	background: rgba(255, 255, 255, 0.12);
}
.repo-sync-btn .sync-icon {
	width: 14px;
	height: 14px;
}
.repo-sync-btn.is-syncing {
	pointer-events: none;
	color: rgba(230, 233, 239, 0.7);
}
.repo-sync-btn.is-syncing .sync-icon {
	animation: repoSpin 0.85s linear infinite;
}
@keyframes repoSpin {
	to {
		transform: rotate(360deg);
	}
}
.repo-gear-btn {
	padding: 6px;
}
.repo-gear-btn svg {
	width: 14px;
	height: 14px;
}
.repo-popup-search {
	position: relative;
	padding: 4px 16px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.repo-popup-search svg {
	position: absolute;
	left: 28px;
	top: 50%;
	transform: translateY(-58%);
	width: 14px;
	height: 14px;
	color: rgba(230, 233, 239, 0.4);
	pointer-events: none;
}
.repo-popup-search input {
	width: 100%;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #e6e9ef;
	padding: 9px 12px 9px 32px;
	border-radius: 8px;
	font-size: 13px;
	font-family: inherit;
	outline: none;
	transition:
		border-color 0.15s ease,
		background 0.15s ease;
}
.repo-popup-search input::placeholder {
	color: rgba(230, 233, 239, 0.4);
}
.repo-popup-search input:focus {
	border-color: rgba(76, 110, 245, 0.5);
	background: rgba(76, 110, 245, 0.08);
}
.repo-popup-list {
	overflow-y: auto;
	flex: 1;
	max-height: 320px;
}
.repo-popup-list::-webkit-scrollbar {
	width: 6px;
}
.repo-popup-list::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 3px;
}
.repo-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	transition: background 0.15s ease;
}
.repo-item:last-child {
	border-bottom: none;
}
.repo-item:hover {
	background: rgba(255, 255, 255, 0.03);
}
.repo-item-main {
	flex: 1;
	min-width: 0;
}
.repo-item-name {
	font-size: 13px;
	font-weight: 600;
	color: #6ea0ff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.repo-item-meta {
	font-size: 11px;
	color: rgba(230, 233, 239, 0.45);
	margin-top: 2px;
}
.repo-item-action {
	font-size: 11px;
	font-weight: 500;
	white-space: nowrap;
	flex-shrink: 0;
}
.repo-item-action.muted {
	color: rgba(230, 233, 239, 0.4);
}
.repo-item-action.danger {
	color: #ff8a8a;
}
.repo-popup-empty {
	padding: 24px 18px;
	text-align: center;
	font-size: 12px;
	color: rgba(230, 233, 239, 0.5);
}
.repo-popup-toast {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translate(-50%, 12px);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: rgba(56, 217, 169, 0.16);
	border: 1px solid rgba(56, 217, 169, 0.35);
	color: #5dd9b3;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
	pointer-events: none;
}
.repo-popup-toast svg {
	width: 14px;
	height: 14px;
}
.repo-popup-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* Repo row */
.repo-row {
	display: flex;
	gap: 16px;
	margin-top: 56px;
	padding: 0 24px 64px;
	overflow-x: auto;
	scrollbar-width: none;
	justify-content: center;
	flex-wrap: wrap;
}
.repo-row::-webkit-scrollbar {
	display: none;
}
.repo-card {
	flex: 0 0 220px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 16px 18px;
	box-shadow: var(--shadow-sm);
}
.repo-card.highlighted {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);
}
.repo-card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}
.repo-card-icon {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: linear-gradient(135deg, var(--blue), var(--teal));
	flex-shrink: 0;
}
.repo-card.highlighted .repo-card-icon {
	background: linear-gradient(135deg, #fff, #d6def2);
}
.repo-card-name {
	font-size: 13px;
	font-weight: 600;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.repo-card-stat {
	font-size: 13px;
	color: var(--ink-muted);
}
.repo-card.highlighted .repo-card-stat {
	color: rgba(255, 255, 255, 0.7);
}

/* ---------- Section base ---------- */
section h2 {
	font-size: clamp(28px, 3.6vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
}
.section-subtitle {
	color: var(--ink-soft);
	font-size: 16px;
	margin-top: 16px;
}

/* ---------- Features ---------- */
.features {
	padding: 80px 0;
	border-top: 1px solid var(--line-soft);
}
.features-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 64px;
	align-items: start;
}
.features-intro h2 {
	margin-top: 18px;
}
.features-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.feature-card {
	display: flex;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 22px 24px;
	box-shadow: var(--shadow-sm);
	transition:
		border-color 0.2s,
		transform 0.2s;
}
.feature-card:hover {
	border-color: var(--navy);
	transform: translateY(-2px);
}
.feature-check {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue), var(--teal));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.feature-check svg {
	width: 18px;
	height: 18px;
}
.feature-card h3 {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 6px;
	letter-spacing: -0.01em;
}
.feature-card p {
	font-size: 14px;
	color: var(--ink-soft);
	margin-bottom: 8px;
}
.learn-more {
	font-size: 13px;
	font-weight: 600;
	color: var(--navy);
	transition: color 0.2s;
}
.learn-more:hover {
	color: var(--blue);
}

/* ---------- Showcase ---------- */
.showcase {
	padding: 80px 0;
	background: var(--bg-tinted);
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}
.showcase-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr 1fr;
	gap: 32px;
	align-items: center;
}
.showcase-stat {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
}
.stat-label {
	font-size: 13px;
	color: var(--ink-muted);
	font-weight: 500;
}
.stat-value {
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 8px 0 20px;
}
.stat-card {
	background: var(--bg-tinted);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 14px 16px;
}
.stat-card-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(59, 91, 219, 0.1);
	color: var(--blue);
	margin-bottom: 8px;
}
.stat-card-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}
.stat-card-meta {
	font-size: 12px;
	color: var(--ink-muted);
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.showcase-screenshots {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
}
.screenshot {
	background: var(--navy-deep);
	border-radius: var(--radius-lg);
	padding: 16px;
	box-shadow: var(--shadow-md);
	width: 180px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.screenshot-1 {
	transform: translateY(-12px) rotate(-2deg);
}
.screenshot-2 {
	transform: translateY(12px) rotate(2deg);
}
.screenshot-bar {
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--blue), var(--teal));
	margin-bottom: 14px;
	width: 50%;
}
.screenshot-row {
	height: 12px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
	margin-bottom: 10px;
}
.screenshot-row.short {
	width: 65%;
}

.showcase-copy h2 {
	margin-bottom: 14px;
}
.showcase-copy p {
	color: var(--ink-soft);
}

/* ---------- Inline CTA ---------- */
.inline-cta {
	padding: 80px 0 100px;
}
.inline-cta-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: center;
	margin-bottom: 48px;
}
.inline-cta-action p {
	color: var(--ink-soft);
	margin-bottom: 18px;
}

.screenshot-trio {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.trio-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 24px;
	box-shadow: var(--shadow-sm);
	min-height: 220px;
	display: flex;
	flex-direction: column;
}
.trio-card.accent {
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: #fff;
	border-color: transparent;
	position: relative;
	overflow: hidden;
}
.trio-card.accent::before {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(76, 110, 245, 0.4), transparent 70%);
}
.trio-bar {
	width: 60%;
	height: 10px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--blue), var(--teal));
	margin-bottom: auto;
}
.trio-bar.light {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}
.trio-title {
	font-size: 17px;
	font-weight: 600;
	margin-top: 24px;
	margin-bottom: 6px;
	letter-spacing: -0.01em;
}
.trio-text {
	font-size: 14px;
	color: var(--ink-soft);
}
.trio-title.light {
	color: #fff;
}
.trio-text.light {
	color: rgba(255, 255, 255, 0.7);
}

/* ---------- Reviews ---------- */
.reviews {
	padding: 80px 0;
	background: var(--bg-tinted);
	border-top: 1px solid var(--line-soft);
}
.reviews-head {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 48px;
}
.reviews-head h2 {
	margin-bottom: 12px;
}
.reviews-head p {
	color: var(--ink-soft);
}
.reviews-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.review-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	position: relative;
}
.review-card::before {
	content: "“";
	position: absolute;
	top: 8px;
	left: 20px;
	font-size: 56px;
	color: var(--line);
	font-family: Georgia, serif;
	line-height: 1;
}
.review-quote {
	font-size: 15px;
	color: var(--ink);
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
}
.review-card footer {
	display: flex;
	align-items: center;
	gap: 12px;
}
.review-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--navy), var(--blue));
	flex-shrink: 0;
}
.review-card footer strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
}
.review-card footer span {
	font-size: 12px;
	color: var(--ink-muted);
}

/* ---------- Install banner ---------- */
.install-banner {
	padding: 80px 0;
}
.install-banner-grid {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
	border-radius: var(--radius-xl);
	padding: 56px;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.install-banner-grid::before {
	content: "";
	position: absolute;
	right: -100px;
	top: -100px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(76, 110, 245, 0.35), transparent 70%);
}
.install-banner-grid::after {
	content: "";
	position: absolute;
	left: -80px;
	bottom: -80px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(32, 201, 151, 0.25), transparent 70%);
}
.install-banner h2 {
	font-size: clamp(26px, 3.2vw, 36px);
	margin-bottom: 24px;
	position: relative;
	z-index: 1;
}
.install-points {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 28px;
	position: relative;
	z-index: 1;
}
.install-points li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.85);
}
.check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue-2), var(--teal-2));
	flex-shrink: 0;
	position: relative;
}
.check::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}
.install-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}
.install-banner-mock {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	transform: rotate(4deg);
}
.install-banner-mock .popup {
	width: 100%;
	max-width: 320px;
}

/* ---------- Newsletter ---------- */
.newsletter {
	padding: 0 0 80px;
}
.newsletter-grid {
	background: var(--navy-darker);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 40px 48px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: center;
}
.newsletter h3 {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 4px;
}
.newsletter p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}
.newsletter-form {
	display: flex;
	gap: 8px;
	background: rgba(255, 255, 255, 0.06);
	padding: 6px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.newsletter-form input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: #fff;
	font-size: 14px;
	padding: 10px 18px;
	font-family: inherit;
}
.newsletter-form input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}
.newsletter-form .btn {
	padding: 12px 22px;
	font-size: 14px;
}

/* ---------- Legal / Page header ---------- */
.page-header {
	padding: 64px 0 40px;
	background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 91, 219, 0.06), transparent 60%), var(--bg);
	text-align: center;
	border-bottom: 1px solid var(--line-soft);
}
.page-header h1 {
	font-size: clamp(32px, 4.5vw, 52px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin: 16px 0 8px;
}
.page-meta {
	font-size: 14px;
	color: var(--ink-muted);
}

.legal-page {
	padding: 64px 0 96px;
}
.legal-container {
	max-width: 760px;
}
.legal-lead {
	font-size: 17px;
	color: var(--ink-soft);
	padding: 16px 20px;
	background: var(--bg-tinted);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	margin-bottom: 32px;
}
.legal-page h2 {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 40px 0 12px;
}
.legal-page p,
.legal-page ul {
	font-size: 15px;
	color: var(--ink-soft);
	margin-bottom: 14px;
}
.legal-page ul {
	padding-left: 20px;
	list-style: disc;
}
.legal-page li {
	margin-bottom: 6px;
}
.legal-page code {
	background: var(--bg-tinted);
	border: 1px solid var(--line);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 13px;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	color: var(--navy);
}
.legal-page strong {
	color: var(--ink);
	font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
	padding: 0 0 32px;
	/* border-top: 1px solid var(--line); */
	background: var(--bg);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}
.footer-brand p {
	font-size: 14px;
	color: var(--ink-soft);
	margin-top: 16px;
	max-width: 320px;
}
.footer-col h4 {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 16px;
	color: var(--ink-muted);
}
.footer-col li {
	margin-bottom: 10px;
}
.footer-col a {
	font-size: 14px;
	color: var(--ink-soft);
	transition: color 0.2s;
}
.footer-col a:hover {
	color: var(--ink);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink-muted);
}
.footer-legal {
	display: flex;
	gap: 24px;
}
.footer-legal a {
	color: var(--ink-muted);
}
.footer-legal a:hover {
	color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.nav-links {
		display: none;
	}
	.features-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.showcase-grid {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}
	.showcase-copy {
		order: 3;
	}
	.inline-cta-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.install-banner-grid {
		grid-template-columns: 1fr;
		padding: 40px;
		gap: 32px;
	}
	.install-banner-mock {
		display: none;
	}
	.reviews-grid {
		grid-template-columns: 1fr;
	}
	.newsletter-grid {
		grid-template-columns: 1fr;
		padding: 32px;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.screenshot-trio {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 560px) {
	.container {
		padding: 0 16px;
	}
	.nav-container {
		padding: 6px 16px;
		gap: 12px;
	}
	.nav-container .btn {
		padding: 6px 12px;
	}
	.hero {
		padding-top: 40px;
	}
	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.hero-actions .btn {
		justify-content: center;
	}
	.repo-row {
		gap: 12px;
	}
	.repo-card {
		flex: 0 0 180px;
	}
	.install-banner-grid {
		padding: 28px;
	}
	.newsletter-form {
		flex-direction: column;
		border-radius: var(--radius-md);
		padding: 12px;
	}
	.newsletter-form .btn {
		width: 100%;
		justify-content: center;
	}
	.features,
	.install-banner {
		padding: 40px 0;
	}
	.install-banner {
		padding-top: 0;
		margin: 0 16px;
	}
	.install-banner-grid {
		border-radius: var(--radius-md);
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
}
