		/* =========================
		   Shared styles (all pages)
		   ========================= */
		:root {
			--ink: #05070f;
			--card: rgba(17, 25, 40, 0.75);
			--card-border: rgba(255, 255, 255, 0.1);
			--accent: #80ffb4;
			--accent-strong: #39d98a;
			--muted: rgba(255, 255, 255, 0.62);
			--danger: #ff5c88;
			font-family: 'Space Grotesk', sans-serif;
		}

		* {
			box-sizing: border-box;
		}

		py-script,
		py-config {
			display: none;
		}

		/* ==================================
		   Index page visual styles (home)
		   ================================== */
		body {
			min-height: 100svh;
			margin: 0;
			background: radial-gradient(circle at 10% 20%, #0f1629, #05070f 60%),
				radial-gradient(circle at 90% 10%, rgba(128, 255, 180, 0.35), transparent 50%),
				radial-gradient(circle at 80% 80%, rgba(255, 92, 136, 0.15), transparent 55%);
			color: white;
			padding: 1rem 0.85rem 1.35rem;
		}

		body > main:not(.page-shell) {
			width: min(720px, 100%);
			margin: 0 auto;
			min-height: calc(100svh - 2.35rem);
			display: flex;
			flex-direction: column;
		}

		main {
			width: 100%;
			position: relative;
		}

		.hero {
			text-align: left;
			margin-bottom: 1.1rem;
		}

		.hero h1 {
			font-size: clamp(1.7rem, 9vw, 2.25rem);
			font-weight: 600;
			margin: 0 0 0.5rem;
			line-height: 1.15;
		}

		.hero p {
			font-size: 0.95rem;
			color: var(--muted);
			margin: 0;
			max-width: 52ch;
			line-height: 1.55;
		}

		.card {
			background: var(--card);
			border: 1px solid var(--card-border);
			border-radius: 22px;
			padding: 1rem;
			backdrop-filter: blur(18px);
			box-shadow: 0 20px 60px rgba(5, 7, 15, 0.55);
			flex: 1;
		}

		.display-row {
			display: flex;
			gap: 0.75rem;
			align-items: stretch;
			flex-direction: column;
			margin-bottom: 1.25rem;
		}

		.display-row input {
			flex: 1;
			border-radius: 20px;
			border: 1px solid var(--card-border);
			background: rgba(5, 7, 15, 0.4);
			color: white;
			font-size: 1rem;
			padding: 0.8rem 1rem;
			letter-spacing: 0.06em;
		}

		.display-row button {
			border: none;
			border-radius: 18px;
			padding: 0.85rem;
			width: 100%;
			font-size: 0.95rem;
			font-weight: 600;
			min-height: 44px;
			color: var(--ink);
			background: var(--accent);
			cursor: pointer;
			transition: transform 200ms ease, box-shadow 200ms ease;
		}

		.display-row button:active {
			transform: translateY(1px);
		}

		label.length {
			display: flex;
			justify-content: space-between;
			font-size: 0.95rem;
			font-weight: 500;
			margin-bottom: 0.35rem;
		}

		input[type="range"] {
			width: 100%;
			accent-color: var(--accent-strong);
			margin-bottom: 1.25rem;
		}

		.toggle-grid {
			display: grid;
			grid-template-columns: 1fr;
			gap: 0.7rem;
			margin-bottom: 1.5rem;
		}

		.toggle {
			position: relative;
			border: 1px solid var(--card-border);
			border-radius: 16px;
			padding: 0.8rem 0.9rem;
			display: flex;
			align-items: center;
			gap: 0.65rem;
			cursor: pointer;
			background: rgba(255, 255, 255, 0.02);
			transition: border 200ms ease, background 200ms ease;
			font-size: 0.92rem;
		}

		.toggle input {
			appearance: none;
			width: 44px;
			height: 24px;
			border-radius: 999px;
			border: 1px solid var(--card-border);
			position: relative;
			background: rgba(255, 255, 255, 0.1);
			transition: background 200ms ease;
		}

		.toggle input::after {
			content: '';
			position: absolute;
			width: 18px;
			height: 18px;
			border-radius: 50%;
			background: white;
			top: 50%;
			left: 3px;
			transform: translateY(-50%);
			transition: transform 200ms ease;
		}

		.toggle input:checked {
			background: linear-gradient(120deg, var(--accent), var(--accent-strong));
		}

		.toggle input:checked::after {
			transform: translate(18px, -50%);
		}

		.toggle strong {
			font-weight: 500;
		}

		.actions {
			display: flex;
			flex-direction: column;
			align-items: stretch;
			gap: 0.85rem;
		}

		.status {
			font-size: 0.9rem;
			color: var(--muted);
		}

		.status.error {
			color: var(--danger);
		}

		.primary {
			border: none;
			border-radius: 999px;
			padding: 0.95rem 1.2rem;
			font-size: 1rem;
			font-weight: 600;
			cursor: pointer;
			background: linear-gradient(120deg, var(--accent), var(--accent-strong));
			color: var(--ink);
			min-height: 46px;
			width: 100%;
			transition: transform 200ms ease, box-shadow 200ms ease;
		}

		.primary:hover {
			box-shadow: 0 12px 24px rgba(57, 217, 138, 0.35);
		}

		.primary:active {
			transform: translateY(2px);
		}

		.copy-btn {
			border: none;
			border-radius: 18px;
			padding: 0.8rem 1.2rem;
			font-size: 0.95rem;
			font-weight: 600;
			min-height: 44px;
			color: var(--ink);
			background: var(--accent);
			cursor: pointer;
			transition: transform 200ms ease, box-shadow 200ms ease;
		}
		.copy-btn:hover {
			box-shadow: 0 12px 24px rgba(57, 217, 138, 0.35);
		}
		.copy-btn:active {
			transform: translateY(2px);
		}

		.footer {
			margin-top: 1.35rem;
			display: flex;
			flex-direction: column;
			gap: 0.6rem;
			align-items: center;
			font-size: 0.92rem;
			position: relative;
		}

		.footer a {
			color: var(--muted);
			text-decoration: none;
			transition: color 100ms ease;
		}

		.footer a:hover {
			color: var(--accent);
		}

		@media (min-width: 420px) {
			.toggle-grid {
				grid-template-columns: repeat(2, minmax(0, 1fr));
			}
		}

		@media (min-width: 541px) {
			body {
				padding: 3rem 1.5rem;
			}

			body > main:not(.page-shell) {
				min-height: auto;
			}

			.hero {
				margin-bottom: 1.5rem;
			}

			.hero h1 {
				font-size: clamp(2rem, 5vw, 3.4rem);
				line-height: normal;
			}

			.hero p {
				font-size: 1rem;
				line-height: normal;
			}

			.card {
				border-radius: 28px;
				padding: 2rem;
				flex: initial;
			}

			.display-row {
				flex-direction: row;
			}

			.display-row input {
				font-size: 1.1rem;
				padding: 0.85rem 1.25rem;
				letter-spacing: 0.08em;
			}

			.display-row button {
				width: auto;
				padding: 0 1.5rem;
				min-height: auto;
			}

			.toggle-grid {
				grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
				gap: 0.85rem;
			}

			.toggle {
				border-radius: 20px;
				padding: 0.9rem 1rem;
				gap: 0.75rem;
				font-size: 0.95rem;
			}

			.actions {
				justify-content: space-between;
				align-items: center;
				flex-direction: row;
				flex-wrap: wrap;
				gap: 1rem;
			}

			.primary {
				padding: 0.95rem 2.65rem;
				min-height: auto;
				width: auto;
			}

			.copy-btn {
				padding: 0 1.5rem;
				min-height: auto;
			}

			.footer {
				margin-top: 2rem;
				flex-direction: row;
				gap: 1.5rem;
				justify-content: center;
				font-size: 0.9rem;
			}
			}

		/* =====================================================
		   Privacy, Contact, and About page visual styles
		   ===================================================== */

		.contact-link {
			color: var(--muted);
			text-decoration: none;
		}

		.contact-link:hover {
			color: var(--accent);
		}

		.contact-link:focus {
			color: var(--accent-strong);
			text-decoration: none;
		}

		.page-shell {
			width: min(900px, 100%);
			margin: 0 auto;
			min-height: calc(100svh - 2.35rem);
		}

		.back-btn {
			display: block;
			margin: 1.25rem auto 0;
			border: none;
			border-radius: 999px;
			padding: 0.85rem 1.35rem;
			width: min(320px, 100%);
			min-height: 44px;
			background: linear-gradient(120deg, var(--accent), var(--accent-strong));
			cursor: pointer;
			transition: transform 200ms ease, box-shadow 200ms ease;
		}

		.back-btn:hover {
			box-shadow: 0 12px 24px rgba(57, 217, 138, 0.35);
			transform: translateY(-2px);
		}

		/* =====================================================
			Section wrapper used on Privacy_Policy.html 
		   ===================================================== */
		.pp {
			width: min(900px, 100%);
			margin: 0 auto 1rem;
			padding: 1rem;
			background: var(--card);
			border: 1px solid var(--card-border);
			border-radius: 20px;
			backdrop-filter: blur(18px);
			box-shadow: 0 20px 60px rgba(5, 7, 15, 0.35);
		}

		.pp h1,
		.pp h2 {
			margin: 0 0 0.55rem;
		}

		.pp p {
			margin: 0;
			line-height: 1.6;
			color: var(--muted);
		}

		body > button,
		body > button a {
			font: inherit;
		}

		body > button {
			display: block;
			margin: 1.25rem auto 0;
			border: none;
			border-radius: 999px;
			padding: 0.8rem 1.35rem;
			background: linear-gradient(120deg, var(--accent), var(--accent-strong));
			cursor: pointer;
		}

		body > button a {
			color: var(--ink) !important;
			text-decoration: none;
			font-weight: 600;
		}

		@media (min-width: 641px) {
			.pp {
				border-radius: 28px;
				padding: 1.2rem 1.3rem;
			}

			.back-btn {
				width: auto;
			}
		}
