/*
 * Guest Post front end. Everything is scoped to .gp-app so it looks the same on any theme.
 * Restyle through Settings → Custom CSS, starting with the variables below, e.g.
 *   .gp-app { --gp-font: "Inter", sans-serif; --gp-heading-font: Georgia, serif; --gp-radius: 4px; }
 * Fonts: --gp-font / --gp-heading-font are unset by default, so text inherits the theme's font (the
 * landing template copies the theme's font rules onto its <body>).
 */

.gp-app {
	--gp-accent: #4f46e5;
	--gp-accent-ink: #fff;
	--gp-accent-dark: color-mix(in srgb, var(--gp-accent) 82%, #000);
	--gp-accent-tint: color-mix(in srgb, var(--gp-accent) 8%, #fff);
	--gp-ink: #111827;
	--gp-text: #374151;
	--gp-muted: #6b7280;
	--gp-line: #e5e7eb;
	--gp-field-line: #d1d5db;
	--gp-soft: #f8fafc;
	--gp-ok: #15803d;
	--gp-ok-tint: #f0fdf4;
	--gp-bad: #b91c1c;
	--gp-bad-tint: #fef2f2;
	--gp-warn: #92400e;
	--gp-warn-tint: #fffbeb;
	--gp-radius: 10px;
	--gp-tone-1: var(--gp-accent);
	--gp-tone-2: #2563eb;
	--gp-tone-3: #d97706;
	--gp-tone-4: #059669;
	--gp-tone-5: #db2777;

	color: var(--gp-text);
	font-family: var(--gp-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.gp-app *,
.gp-app *::before,
.gp-app *::after {
	box-sizing: border-box;
}

.gp-app :where(h1, h2, h3, p, ul, ol, dl, dd, fieldset, figure) {
	margin: 0;
	padding: 0;
}

.gp-app :where(ul, ol) {
	list-style: none;
}

.gp-app :where(h1, h2, h3) {
	color: var(--gp-ink);
	font-family: var(--gp-heading-font, var(--gp-font));
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-wrap: balance;
}

.gp-app img {
	display: block;
	max-width: 100%;
	height: auto;
}

.gp-app a {
	color: var(--gp-accent);
	text-underline-offset: 3px;
}

.gp-app a:hover {
	color: var(--gp-accent-dark);
}

.gp-app :focus-visible {
	outline: 3px solid color-mix(in srgb, var(--gp-accent) 55%, #fff);
	outline-offset: 2px;
}

.gp-wrap {
	width: 100%;
	max-width: 1160px;
	margin-inline: auto;
	padding-inline: 20px;
}

.gp-narrow {
	max-width: 720px;
	padding-block: 48px;
}

/* Landing chrome ------------------------------------------------------------------------- */

body.gp-landing-body {
	margin: 0;
	background: #fff;
}

/* Fallback when the theme's font can't be found. Zero specificity: theme.json global styles and the
   copied theme font both win. */
:where(body.gp-landing-body) {
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.gp-landing {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.gp-landing > main {
	flex: 1;
}

.gp-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 10;
	padding: 8px 14px;
	border-radius: var(--gp-radius);
	background: var(--gp-ink);
	color: #fff !important;
}

.gp-skip:focus {
	left: 8px;
}

.gp-topbar {
	border-bottom: 1px solid var(--gp-line);
	background: #fff;
}

.gp-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 68px;
}

.gp-brand {
	display: inline-flex;
	align-items: center;
	color: var(--gp-ink) !important;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.gp-brand img {
	/* Fixed height: an SVG with only a viewBox has no intrinsic size and collapses to 0×0 under max-height. */
	height: 38px;
	width: auto;
	max-width: 100%;
}

.gp-topnav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

.gp-topnav a {
	color: var(--gp-text);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.gp-topnav a:hover {
	color: var(--gp-accent);
}

.gp-foot {
	margin-top: 96px;
	border-top: 1px solid var(--gp-line);
	color: var(--gp-muted);
	font-size: 0.875rem;
}

.gp-foot .gp-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 28px;
}

.gp-foot a {
	color: var(--gp-muted);
}

/* Shared pieces -------------------------------------------------------------------------- */

.gp-card {
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 6px);
	background: #fff;
	padding: 28px;
}

.gp-lede {
	max-width: 38rem;
	color: var(--gp-muted);
	font-size: 1.0625rem;
}

.gp-hint {
	margin-top: 6px;
	color: var(--gp-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

.gp-notice {
	margin-bottom: 24px;
	padding: 14px 16px;
	border: 1px solid var(--gp-line);
	border-left-width: 4px;
	border-radius: var(--gp-radius);
	background: var(--gp-soft);
	color: var(--gp-ink);
	font-size: 0.9375rem;
}

.gp-notice.is-good {
	border-color: color-mix(in srgb, var(--gp-ok) 30%, #fff);
	border-left-color: var(--gp-ok);
	background: var(--gp-ok-tint);
}

.gp-notice.is-bad {
	border-color: color-mix(in srgb, var(--gp-bad) 25%, #fff);
	border-left-color: var(--gp-bad);
	background: var(--gp-bad-tint);
}

.gp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: var(--gp-radius);
	font-family: var(--gp-font);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.gp-btn-primary {
	background: var(--gp-accent);
	color: var(--gp-accent-ink) !important;
}

.gp-btn-primary:hover {
	background: var(--gp-accent-dark);
}

.gp-btn-quiet {
	border-color: var(--gp-field-line);
	background: #fff;
	color: var(--gp-ink) !important;
}

.gp-btn-quiet:hover {
	border-color: var(--gp-ink);
}

.gp-btn-block {
	width: 100%;
}

.gp-btn:disabled {
	opacity: 0.6;
	cursor: progress;
}

.gp-link {
	font-size: 0.9375rem;
	font-weight: 600;
}

/* Forms ---------------------------------------------------------------------------------- */

.gp-field + .gp-field {
	margin-top: 20px;
}

.gp-app label,
.gp-label {
	display: block;
	margin-bottom: 6px;
	color: var(--gp-ink);
	font-size: 0.9375rem;
	font-weight: 600;
}

.gp-input {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--gp-field-line);
	border-radius: var(--gp-radius);
	background: #fff;
	color: var(--gp-ink);
	font-family: var(--gp-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.gp-input:focus {
	border-color: var(--gp-accent);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gp-accent) 22%, transparent);
}

.gp-input-lg {
	font-size: 1.25rem;
	font-weight: 600;
}

textarea.gp-input {
	resize: vertical;
}

.gp-app select.gp-input {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 18px;
	cursor: pointer;
	text-overflow: ellipsis;
}

.gp-app select.gp-input:hover {
	border-color: color-mix(in srgb, var(--gp-ink) 35%, var(--gp-field-line));
}

.gp-app select.gp-input:has(option[value="0"]:checked),
.gp-app select.gp-input:has(option[value="-1"]:checked) {
	color: var(--gp-muted);
}

.gp-app select.gp-input option {
	color: var(--gp-ink);
}

.gp-file {
	display: block;
	width: 100%;
	color: var(--gp-muted);
	font-family: var(--gp-font);
	font-size: 0.9375rem;
	font-weight: 400;
}

.gp-file::file-selector-button {
	margin-right: 12px;
	padding: 9px 16px;
	border: 1px solid var(--gp-field-line);
	border-radius: var(--gp-radius);
	background: #fff;
	color: var(--gp-ink);
	font-family: var(--gp-font);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

.gp-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.gp-cols > .gp-field + .gp-field {
	margin-top: 0;
}

.gp-cols + .gp-field,
.gp-field + .gp-cols {
	margin-top: 20px;
}

.gp-fieldset {
	border: 0;
	min-width: 0;
}

.gp-fieldset + .gp-fieldset {
	margin-top: 36px;
	padding-top: 32px;
	border-top: 1px solid var(--gp-line);
}

.gp-fieldset > legend {
	float: left;
	width: 100%;
	margin-bottom: 18px;
	padding: 0;
	color: var(--gp-ink);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.gp-fieldset > legend + * {
	clear: both;
}

.gp-count.is-over {
	color: var(--gp-bad);
}

.gp-hp {
	position: absolute !important;
	left: -9999px !important;
}

.gp-app .wp-editor-wrap {
	border: 1px solid var(--gp-field-line);
	border-radius: var(--gp-radius);
	overflow: hidden;
}

.gp-app .wp-editor-tools {
	padding: 8px 8px 0;
	background: var(--gp-soft);
}

.gp-app .wp-editor-container {
	border: 0;
}

.gp-app .wp-editor-area {
	font-family: var(--gp-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	padding: 12px;
}

.gp-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.gp-featured-preview {
	display: grid;
	gap: 8px;
}

.gp-featured-preview img {
	width: 100%;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
	border-radius: var(--gp-radius);
	background: var(--gp-soft);
}

.gp-featured-empty {
	display: grid;
	place-items: center;
	aspect-ratio: 1200 / 630;
	border: 2px dashed var(--gp-field-line);
	border-radius: var(--gp-radius);
	color: var(--gp-muted);
	font-size: 0.9375rem;
}

.gp-featured [data-gp-dims].is-bad {
	color: var(--gp-bad);
}

.gp-tier-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
}

.gp-app .gp-tier-option {
	position: relative;
	display: block;
	margin: 0;
	padding: 16px 16px 16px 46px;
	border: 1px solid var(--gp-field-line);
	border-radius: var(--gp-radius);
	cursor: pointer;
	font-weight: 400;
	transition: border-color 0.15s, background-color 0.15s;
}

.gp-tier-option input {
	position: absolute;
	top: 19px;
	left: 16px;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--gp-accent);
}

.gp-tier-option:hover {
	border-color: var(--gp-ink);
}

.gp-tier-option:has(input:checked) {
	border-color: var(--gp-accent);
	background: var(--gp-accent-tint);
	box-shadow: inset 0 0 0 1px var(--gp-accent);
}

.gp-tier-option:has(input:disabled) {
	cursor: not-allowed;
	opacity: 0.75;
}

.gp-tier-body {
	display: grid;
	gap: 2px;
}

.gp-tier-body strong {
	color: var(--gp-ink);
}

.gp-tier-body .gp-price {
	color: var(--gp-ink);
	font-size: 1.25rem;
	font-weight: 700;
}

.gp-tier-body .gp-hint {
	margin: 0;
}

.gp-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--gp-line);
}

.gp-actions .gp-hint {
	margin: 0;
}

.gp-photo-field {
	display: flex;
	align-items: center;
	gap: 16px;
}

.gp-photo-field > div {
	flex: 1;
	min-width: 0;
}

.gp-avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--gp-soft);
	box-shadow: inset 0 0 0 1px var(--gp-line);
}

.gp-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Landing -------------------------------------------------------------------------------- */

.gp-tone-1 { --gp-tone: var(--gp-tone-1); }
.gp-tone-2 { --gp-tone: var(--gp-tone-2); }
.gp-tone-3 { --gp-tone: var(--gp-tone-3); }
.gp-tone-4 { --gp-tone: var(--gp-tone-4); }

.gp-glyph {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.gp-icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gp-tone, var(--gp-accent)) 12%, #fff);
	color: var(--gp-tone, var(--gp-accent));
}

.gp-icon-lg {
	width: 64px;
	height: 64px;
	font-size: 1.375rem;
}

.gp-icon-sq {
	border-radius: 10px;
	font-size: 1.125rem;
}

.gp-btn-lg {
	min-height: 52px;
	padding-inline: 28px;
	font-size: 1.0625rem;
	box-shadow: 0 10px 24px -12px var(--gp-accent);
}

.gp-btn-sm {
	min-height: 38px;
	padding: 8px 16px;
	font-size: 0.9375rem;
}

.gp-topnav {
	align-items: center;
}

.gp-hero {
	overflow: hidden;
	padding-block: 56px 64px;
	background:
		radial-gradient(60% 80% at 85% 20%, var(--gp-accent-tint), transparent 70%),
		linear-gradient(to bottom, var(--gp-soft), #fff);
}

.gp-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px;
	align-items: center;
}

.gp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gp-accent) 12%, #fff);
	color: var(--gp-accent);
	font-size: 0.9375rem;
	font-weight: 600;
}

.gp-hero h1 {
	margin-top: 20px;
	font-size: clamp(2.25rem, 4.6vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.gp-hero-copy > p:not(.gp-eyebrow, .gp-hint) {
	max-width: 34rem;
	margin-top: 18px;
	color: var(--gp-muted);
	font-size: 1.125rem;
}

.gp-perks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px 20px;
	max-width: 34rem;
	margin-block: 32px;
}

.gp-perks li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--gp-ink);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.35;
}

.gp-hero-copy .gp-hint {
	margin-top: 16px;
}

.gp-hero-copy .gp-hint a {
	color: var(--gp-ink);
}

/* Decorative art: a blob, an optional photo, the "Your Article Here" card and the readers badge. */
.gp-hero-art {
	position: relative;
	min-height: 420px;
}

.gp-blob {
	position: absolute;
	inset: 6% 0 4% 18%;
	border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%;
	background: color-mix(in srgb, var(--gp-accent) 14%, #fff);
}

.gp-hero-photo {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 64%;
	height: 100%;
	border-radius: 28px;
	object-fit: cover;
}

.gp-mock {
	position: absolute;
	top: 12%;
	left: 8%;
	display: grid;
	gap: 10px;
	width: min(300px, 70%);
	padding: 26px 24px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--gp-ink) 45%, transparent);
	transform: rotate(-4deg);
}

.gp-hero-art:not(.has-photo) .gp-mock {
	left: 22%;
}

.gp-mock strong {
	margin-bottom: 6px;
	color: var(--gp-ink);
	font-size: 1.25rem;
	line-height: 1.2;
}

.gp-mock i {
	display: block;
	height: 8px;
	border-radius: 4px;
	background: var(--gp-line);
}

.gp-mock > i:nth-of-type(2),
.gp-mock > i:last-child {
	width: 70%;
}

.gp-mock-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	align-items: center;
}

.gp-mock-row span {
	display: grid;
	gap: 10px;
}

.gp-mock-row b {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	background: color-mix(in srgb, var(--gp-tone-2) 14%, #fff);
	color: var(--gp-tone-2);
	font-size: 1.75rem;
}

.gp-mock-pen {
	position: absolute;
	top: -18px;
	right: -14px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gp-accent);
	color: #fff;
	box-shadow: 0 8px 20px -8px var(--gp-accent);
}

.gp-stat {
	position: absolute;
	bottom: 12%;
	left: 34%;
	display: grid;
	grid-template-columns: auto auto;
	column-gap: 12px;
	align-items: center;
	padding: 14px 18px;
	border-radius: 14px;
	background: #fff;
	color: var(--gp-ink);
	box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--gp-ink) 45%, transparent);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
}

.gp-stat strong {
	grid-column: 1;
	font-size: 1.625rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.gp-stat span {
	grid-column: 1;
}

.gp-stat .gp-glyph {
	grid-column: 2;
	grid-row: 1 / 4;
	color: var(--gp-tone-4);
	font-size: 1.75rem;
}

/* Sections ------------------------------------------------------------------------------- */

.gp-section {
	padding-top: 80px;
}

.gp-section > .gp-wrap > h2 {
	font-size: clamp(1.75rem, 3vw, 2.125rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	text-align: center;
}

.gp-sub {
	margin-top: 8px;
	color: var(--gp-muted);
	text-align: center;
}

.gp-band {
	margin-top: 80px;
	padding-block: 56px;
	background: var(--gp-soft);
}

.gp-band + .gp-section {
	padding-top: 56px;
}

.gp-how {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin-top: 40px;
	text-align: center;
}

.gp-how li {
	position: relative;
}

.gp-how li + li::before {
	content: "→";
	position: absolute;
	top: 18px;
	left: -16px;
	color: var(--gp-muted);
	font-size: 1.25rem;
	transform: translateX(-50%);
}

.gp-how h3 {
	margin-top: 18px;
	font-size: 1.0625rem;
}

.gp-how p {
	max-width: 15rem;
	margin: 6px auto 0;
	color: var(--gp-muted);
	font-size: 0.9375rem;
}

.gp-topics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	max-width: 820px;
	margin: 32px auto 0;
}

.gp-topics li {
	--gp-tone: var(--gp-tone-1);
	padding: 8px 18px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--gp-tone) 10%, #fff);
	color: color-mix(in srgb, var(--gp-tone) 80%, #000);
	font-size: 0.9375rem;
	font-weight: 500;
}

.gp-topics li:nth-child(5n + 2) { --gp-tone: var(--gp-tone-5); }
.gp-topics li:nth-child(5n + 3) { --gp-tone: var(--gp-tone-4); }
.gp-topics li:nth-child(5n + 4) { --gp-tone: var(--gp-tone-2); }
.gp-topics li:nth-child(5n + 5) { --gp-tone: var(--gp-tone-3); }

.gp-reasons {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 36px;
}

.gp-reasons li {
	padding: 24px;
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 4px);
	background: #fff;
}

.gp-reasons h3 {
	margin-top: 16px;
	font-size: 1.0625rem;
}

.gp-reasons p {
	margin-top: 6px;
	color: var(--gp-muted);
	font-size: 0.9375rem;
}

.gp-tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 36px;
}

.gp-tier {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 6px);
	background: #fff;
}

.gp-tier.is-popular {
	border-color: var(--gp-accent);
	box-shadow: 0 24px 48px -28px var(--gp-accent), inset 0 0 0 1px var(--gp-accent);
}

.gp-tier-tag {
	position: absolute;
	top: 0;
	right: 24px;
	padding: 4px 12px;
	border-radius: 0 0 8px 8px;
	background: var(--gp-accent);
	color: var(--gp-accent-ink);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gp-tier-pitch {
	min-height: 2.8em;
	margin-top: 10px;
	color: var(--gp-text);
	font-size: 0.9375rem;
}

.gp-tier > .gp-btn {
	margin-top: 22px;
}

.gp-tier ul li {
	display: flex;
	gap: 8px;
}

.gp-tier ul .gp-glyph {
	margin-top: 0.2em;
	width: 1em;
	height: 1em;
	color: var(--gp-ok);
}

.gp-tier .gp-price span {
	display: block;
	margin-top: 6px;
	color: var(--gp-muted);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0;
}

.gp-tiers.is-compact {
	gap: 16px;
}

.gp-tiers.is-compact .gp-tier {
	padding: 22px;
}

.gp-tiers.is-compact .gp-price {
	font-size: 2.25rem;
}

.gp-tiers.is-compact ul {
	margin-top: 14px;
	padding-top: 14px;
}

.gp-tier h3 {
	font-size: 1.0625rem;
}

.gp-tier .gp-price {
	margin-top: 8px;
	color: var(--gp-ink);
	font-size: 2.75rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

.gp-tier ul {
	display: grid;
	flex: 1;
	gap: 8px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--gp-line);
	font-size: 0.9375rem;
}

.gp-faq {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	align-items: start;
	margin-top: 32px;
}

.gp-faq details {
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	background: #fff;
}

.gp-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	color: var(--gp-ink);
	font-weight: 500;
	list-style: none;
	cursor: pointer;
}

.gp-faq summary::-webkit-details-marker {
	display: none;
}

.gp-faq summary .gp-glyph {
	color: var(--gp-muted);
	transition: transform 0.15s;
}

.gp-faq details[open] summary .gp-glyph {
	transform: rotate(90deg);
}

.gp-faq details > div {
	padding: 0 18px 16px;
	color: var(--gp-muted);
	font-size: 0.9375rem;
}

.gp-faq-list {
	display: grid;
	gap: 4px;
	margin-top: 8px;
	padding-left: 1.25em !important;
	list-style: disc !important;
}

.gp-cta {
	position: relative;
	margin-top: 24px;
	padding: 48px 24px;
	border-radius: calc(var(--gp-radius) + 8px);
	background: var(--gp-accent-tint);
	text-align: center;
}

.gp-cta-icon {
	position: absolute;
	top: 0;
	left: 50%;
	background: var(--gp-accent);
	color: #fff;
	transform: translate(-50%, -50%);
}

.gp-cta h2 {
	font-size: clamp(1.5rem, 2.6vw, 1.875rem);
	font-weight: 800;
}

.gp-signup {
	max-width: 560px;
	margin: 28px auto 0;
	box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--gp-ink) 28%, transparent);
	text-align: left;
}

.gp-signup h3 {
	font-size: 1.25rem;
}

.gp-signup .gp-hint:first-of-type {
	margin: 6px 0 22px;
}

.gp-register .gp-btn-block {
	margin-top: 24px;
}

.gp-pass-rules {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 16px;
	margin-top: 10px;
	color: var(--gp-muted);
	font-size: 0.8125rem;
}

.gp-pass-rules li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.gp-pass-rules li::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}

.gp-pass-rules li.is-ok {
	color: var(--gp-ok);
}

.gp-pass-rules li.is-ok::before {
	background: currentColor;
}

.gp-captcha-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.gp-captcha-box {
	display: inline-flex;
	align-items: center;
	padding: 0 8px;
	border: 1px solid var(--gp-field-line);
	border-radius: var(--gp-radius);
	background: var(--gp-soft);
	color: var(--gp-ink);
	user-select: none;
}

.gp-captcha-input {
	width: 110px;
	flex: none;
}

.gp-captcha-new {
	background: none;
	border: 0;
	padding: 0;
	color: var(--gp-muted);
	font: inherit;
	font-size: 0.875rem;
	text-decoration: underline;
	cursor: pointer;
}

.gp-check-inline {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 0.9375rem;
}

.gp-forgot {
	margin-top: 14px;
	text-align: center;
}

@media (max-width: 640px) {
	.gp-pass-rules {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Conversion pieces: trust line, numbers band, hero variants, quote, sticky bar --------- */

.gp-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 22px;
	color: var(--gp-muted);
	font-size: 0.875rem;
}

.gp-trust li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.gp-trust .gp-glyph {
	width: 1em;
	height: 1em;
	color: var(--gp-ok);
}

.gp-proof {
	padding-block: 36px;
	background: var(--gp-ink);
	color: #fff;
}

.gp-proof-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px 72px;
	text-align: center;
}

.gp-proof-grid strong {
	display: block;
	font-size: 2.25rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.gp-proof-grid span {
	display: block;
	margin-top: 4px;
	color: color-mix(in srgb, #fff 70%, var(--gp-ink));
	font-size: 0.9375rem;
}

.gp-proof-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 36px;
	margin-top: 28px;
}

.gp-proof-inline strong {
	display: block;
	color: var(--gp-ink);
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.gp-proof-inline span {
	color: var(--gp-muted);
	font-size: 0.875rem;
}

.gp-hero-pricing .gp-hero-grid,
.gp-hero-quick .gp-hero-grid {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
}

.gp-hero-pricing .gp-hero-copy,
.gp-hero-quick .gp-hero-copy {
	padding-top: 24px;
}

/* Pricing hero: one row per package; the feature list lives in "What you get" below. */
.gp-hero-pricing .gp-tiers {
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin-top: 0;
}

.gp-hero-pricing .gp-tier {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "name price" "pitch price" "btn btn";
	gap: 4px 20px;
	align-items: center;
	padding: 20px 22px;
}

.gp-hero-pricing .gp-tier h3 {
	grid-area: name;
}

.gp-hero-pricing .gp-tier .gp-price {
	grid-area: price;
	margin: 0;
	font-size: 2rem;
	text-align: right;
}

.gp-hero-pricing .gp-tier .gp-price span {
	margin-top: 2px;
}

.gp-hero-pricing .gp-tier-pitch {
	grid-area: pitch;
	min-height: 0;
	margin: 0;
}

.gp-hero-pricing .gp-tier ul {
	display: none;
}

.gp-hero-pricing .gp-tier > .gp-btn {
	grid-area: btn;
	min-height: 42px;
	margin-top: 12px;
}

.gp-hero-pricing .gp-tier-tag {
	right: 16px;
}

.gp-hero-quick .gp-hero-grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: 56px;
}

.gp-hero-quick .gp-signup {
	max-width: none;
	margin: 0;
}

.gp-packages {
	padding-top: 72px;
}

.gp-quote {
	max-width: 760px;
	margin: 24px auto 0;
	padding: 36px 40px;
	border-left: 4px solid var(--gp-accent);
	border-radius: 0 calc(var(--gp-radius) + 6px) calc(var(--gp-radius) + 6px) 0;
	background: var(--gp-soft);
}

.gp-quote blockquote {
	margin: 0;
	color: var(--gp-ink);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.01em;
}

.gp-quote blockquote p::before {
	content: "“";
}

.gp-quote blockquote p::after {
	content: "”";
}

.gp-quote figcaption {
	margin-top: 14px;
	color: var(--gp-muted);
	font-size: 0.9375rem;
	font-weight: 600;
}

.gp-auth {
	padding-block: 56px 72px;
	background:
		radial-gradient(60% 80% at 85% 20%, var(--gp-accent-tint), transparent 70%),
		linear-gradient(to bottom, var(--gp-soft), #fff);
}

.gp-auth .gp-signup {
	margin-top: 0;
}

.gp-auth-back {
	margin-top: 20px;
	text-align: center;
}

.gp-auth-back a {
	color: var(--gp-muted);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.gp-checklist-house .gp-checklist-sum {
	margin-bottom: 0;
}

.gp-final-cta .gp-btn {
	margin-top: 20px;
}

.gp-final-cta .gp-hint {
	margin-top: 14px;
}

.gp-sticky-cta {
	display: none;
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 40;
	box-shadow: 0 12px 32px -8px var(--gp-accent);
}

.gp-sticky-cta.is-hidden {
	display: none !important;
}

/* Checklist: the one component that carries the brand ------------------------------------ */

.gp-checks {
	display: grid;
}

.gp-check {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding-block: 9px;
}

.gp-checklist .gp-check + .gp-check {
	border-top: 1px solid var(--gp-line);
}

.gp-check-icon {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gp-check.is-todo .gp-check-icon circle {
	stroke: var(--gp-field-line);
}

.gp-check.is-pass .gp-check-icon circle {
	fill: var(--gp-ok);
	stroke: var(--gp-ok);
}

.gp-check.is-pass .gp-check-icon path {
	stroke: #fff;
	stroke-width: 2.2;
}

.gp-check.is-fail .gp-check-icon circle {
	fill: var(--gp-bad-tint);
	stroke: var(--gp-bad);
}

.gp-check.is-fail .gp-check-icon path {
	stroke: var(--gp-bad);
	stroke-width: 2.2;
}

.gp-check-text {
	display: grid;
	gap: 2px;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.gp-check-text strong {
	color: var(--gp-ink);
	font-weight: 600;
}

.gp-check.is-pass .gp-check-text strong,
.gp-check.is-todo .gp-check-text strong {
	color: var(--gp-text);
	font-weight: 400;
}

.gp-check-msg {
	color: var(--gp-bad);
	font-size: 0.875rem;
}

.gp-checklist {
	padding: 24px;
	box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--gp-ink) 30%, transparent);
}

.gp-checklist h2 {
	font-size: 1.125rem;
}

.gp-checklist-sum {
	margin-top: 4px;
	color: var(--gp-muted);
	font-size: 0.9375rem;
}

.gp-meter {
	height: 6px;
	margin-block: 16px 8px;
	overflow: hidden;
	border-radius: 99px;
	background: var(--gp-line);
}

.gp-meter span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--gp-ok);
	transition: width 0.6s ease-out;
}

.gp-checklist > .gp-checks {
	margin-top: 8px;
}

.gp-pay {
	margin-top: 20px;
	padding: 20px;
	border-radius: var(--gp-radius);
	background: var(--gp-accent-tint);
}

.gp-pay h3 {
	font-size: 1.0625rem;
}

.gp-pay > p {
	margin-block: 4px 16px;
	font-size: 0.9375rem;
}

.gp-pay #gp-paypal {
	margin-bottom: 8px;
}

.gp-pay .gp-notice {
	margin: 12px 0 0;
}

.gp-status {
	margin-top: 20px;
	padding: 12px 14px;
	border-radius: var(--gp-radius);
	background: var(--gp-soft);
	color: var(--gp-ink);
	font-weight: 600;
}

/* Writing desk --------------------------------------------------------------------------- */

.gp-desk,
.gp-dash {
	padding-block: 40px;
}

.gp-page-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 28px;
}

.gp-page-head h1 {
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	letter-spacing: -0.03em;
}

.gp-page-head .gp-lede {
	margin-top: 6px;
}

.gp-back {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}

.gp-back::before {
	content: "‹ ";
}

.gp-progress {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 32px;
	counter-reset: gp-progress;
}

.gp-progress li {
	position: relative;
	padding-top: 38px;
	color: var(--gp-muted);
	font-size: 0.875rem;
	font-weight: 600;
	text-align: center;
	counter-increment: gp-progress;
}

.gp-progress li::before {
	content: counter(gp-progress);
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	border: 2px solid var(--gp-field-line);
	border-radius: 50%;
	background: #fff;
	color: var(--gp-muted);
	font-size: 0.8125rem;
}

.gp-progress li + li::after {
	content: "";
	position: absolute;
	top: 13px;
	right: 50%;
	width: 100%;
	height: 2px;
	background: var(--gp-line);
}

.gp-progress li.is-done::before {
	content: "✓";
	border-color: var(--gp-ok);
	background: var(--gp-ok);
	color: #fff;
}

.gp-progress li.is-done + li::after,
.gp-progress li.is-done::after {
	background: var(--gp-ok);
}

.gp-progress li.is-current {
	color: var(--gp-ink);
}

.gp-progress li.is-current::before {
	border-color: var(--gp-accent);
	background: var(--gp-accent);
	color: #fff;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--gp-accent) 18%, transparent);
}

.gp-desk-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px;
	align-items: start;
}

.gp-desk-side {
	position: sticky;
	top: 24px;
}

.admin-bar .gp-desk-side {
	top: 56px;
}

.gp-summary {
	display: grid;
	gap: 20px;
}

.gp-summary > img {
	width: 100%;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
	border-radius: var(--gp-radius);
}

.gp-summary dl {
	display: grid;
}

.gp-summary dl > div {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 16px;
	padding-block: 12px;
	border-top: 1px solid var(--gp-line);
}

.gp-summary dt {
	color: var(--gp-muted);
	font-size: 0.9375rem;
}

.gp-summary dd {
	color: var(--gp-ink);
}

/* Dashboard ------------------------------------------------------------------------------ */

.gp-dash-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.gp-dash-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 20px;
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 6px);
	background: var(--gp-soft);
}

.gp-dash-stat-value {
	color: var(--gp-ink);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.gp-dash-stat-label {
	color: var(--gp-muted);
	font-size: 0.875rem;
	font-weight: 600;
}

.gp-dash-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	align-items: start;
}

.gp-dash-main > h2 {
	font-size: 1.25rem;
	margin-bottom: 12px;
}

.gp-dash-main .gp-post-row {
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 6px 16px;
}

.gp-dash-main .gp-post-thumb {
	grid-row: span 2;
	align-self: start;
	width: 72px;
}

.gp-dash-main .gp-post-actions {
	grid-column: 2 / -1;
}

.gp-dash-main .gp-posts li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.gp-dash-side {
	position: sticky;
	top: 24px;
}

.gp-dash-side .gp-profile {
	max-width: none;
	margin-top: 0;
}

.gp-empty {
	padding: 40px 24px;
	border: 2px dashed var(--gp-field-line);
	border-radius: calc(var(--gp-radius) + 6px);
	text-align: center;
}

.gp-empty-icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--gp-accent-tint);
	color: var(--gp-accent);
}

.gp-empty-icon .gp-glyph {
	width: 26px;
	height: 26px;
}

.gp-empty h3 {
	margin-top: 14px;
	font-size: 1.25rem;
}

.gp-empty p {
	max-width: 30rem;
	margin: 8px auto 20px;
	color: var(--gp-muted);
}

.gp-empty-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	margin-top: 28px;
	color: var(--gp-text);
	font-size: 0.875rem;
	font-weight: 600;
}

.gp-empty-steps li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gp-empty-steps span {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--gp-soft);
	border: 1px solid var(--gp-line);
	color: var(--gp-muted);
	font-size: 0.75rem;
}

.gp-posts {
	border-top: 1px solid var(--gp-line);
}

.gp-post-row {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto auto;
	gap: 20px;
	align-items: center;
	padding-block: 18px;
	border-bottom: 1px solid var(--gp-line);
}

.gp-post-thumb {
	width: 88px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--gp-radius);
	background: var(--gp-soft);
}

.gp-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gp-post-main h2 {
	font-size: 1.0625rem;
	letter-spacing: -0.01em;
}

.gp-post-main h2 a {
	color: var(--gp-ink);
	text-decoration: none;
}

.gp-post-main h2 a:hover {
	color: var(--gp-accent);
}

.gp-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 16px;
	margin-top: 4px;
	color: var(--gp-muted);
	font-size: 0.875rem;
}

.gp-post-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.gp-post-actions .gp-btn {
	min-height: 40px;
	padding: 8px 14px;
	font-size: 0.9375rem;
}

.gp-badge {
	justify-self: start;
	padding: 4px 10px;
	border-radius: 99px;
	background: var(--gp-soft);
	color: var(--gp-text);
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
}

.gp-badge.is-ready {
	background: var(--gp-accent-tint);
	color: var(--gp-accent-dark);
}

.gp-badge.is-review {
	background: var(--gp-warn-tint);
	color: var(--gp-warn);
}

.gp-badge.is-live {
	background: var(--gp-ok-tint);
	color: var(--gp-ok);
}

.gp-badge.is-rejected {
	background: var(--gp-bad-tint);
	color: var(--gp-bad);
	white-space: normal;
}

.gp-profile {
	max-width: 640px;
	margin-top: 56px;
}

.gp-profile h2 {
	font-size: 1.25rem;
}

.gp-profile .gp-form {
	margin-top: 20px;
}

.gp-profile .gp-btn {
	margin-top: 20px;
}

/* Small screens -------------------------------------------------------------------------- */

@media (max-width: 960px) {
	.gp-dash-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.gp-dash-side {
		position: static;
	}

	.gp-dash-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gp-hero-grid,
	.gp-hero-pricing .gp-hero-grid,
	.gp-hero-quick .gp-hero-grid,
	.gp-desk-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.gp-sticky-cta {
		display: inline-flex;
	}

	.gp-visitor {
		padding-bottom: 72px;
	}

	.gp-proof-grid {
		gap: 20px 40px;
	}

	.gp-proof-grid strong {
		font-size: 1.75rem;
	}

	.gp-hero {
		padding-block: 40px 56px;
	}

	.gp-how,
	.gp-reasons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gp-how li + li::before {
		content: none;
	}

	.gp-hero-art {
		min-height: 360px;
	}

	.gp-desk-side {
		position: static;
		order: -1;
	}
}

@media (max-width: 640px) {
	.gp-dash-main {
		padding: 20px;
	}

	.gp-dash-main .gp-post-row {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	.gp-dash-main .gp-post-thumb {
		grid-row: span 3;
		width: 56px;
	}

	.gp-dash-stat {
		padding: 14px 16px;
	}

	.gp-card,
	.gp-tier {
		padding: 20px;
	}

	.gp-section {
		padding-top: 56px;
	}

	.gp-band {
		margin-top: 56px;
		padding-block: 40px;
	}

	.gp-hero-art {
		min-height: 300px;
	}

	.gp-mock,
	.gp-hero-art:not(.has-photo) .gp-mock {
		left: 4%;
	}

	.gp-stat {
		left: auto;
		right: 4%;
	}

	.gp-how,
	.gp-reasons,
	.gp-faq,
	.gp-featured {
		grid-template-columns: minmax(0, 1fr);
	}

	.gp-progress li {
		font-size: 0;
	}

	.gp-progress li.is-current {
		font-size: 0.75rem;
	}

	.gp-post-row {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 12px 16px;
	}

	.gp-post-thumb {
		width: 64px;
	}

	.gp-badge,
	.gp-post-actions {
		grid-column: 2;
	}

	.gp-summary dl > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-app *,
	.gp-app *::before,
	.gp-app *::after {
		transition: none !important;
	}
}

/* Theme cookie banner: the landing drops theme styles, so its Tailwind-classed banner gets styled here. */

.gp-landing-body #newstheme-cookie-banner {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 50;
	background: #111827;
	color: #d1d5db;
	font-size: 0.875rem;
	line-height: 1.6;
	box-shadow: 0 -12px 32px -12px rgb(0 0 0 / 0.35);
	transition: transform 0.5s ease, opacity 0.5s ease;
}

.gp-landing-body #newstheme-cookie-banner.translate-y-full {
	transform: translateY(100%);
}

.gp-landing-body #newstheme-cookie-banner.opacity-0 {
	opacity: 0;
}

.gp-landing-body #newstheme-cookie-banner.pointer-events-none {
	pointer-events: none;
}

.gp-landing-body #newstheme-cookie-banner > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	max-width: 1160px;
	margin-inline: auto;
	padding: 18px 20px;
}

.gp-landing-body #newstheme-cookie-banner p {
	flex: 1 1 32rem;
	margin: 0;
}

.gp-landing-body #newstheme-cookie-banner strong {
	color: #fff;
}

.gp-landing-body #newstheme-cookie-banner > div > div {
	display: flex;
	gap: 8px;
}

.gp-landing-body #newstheme-cookie-banner button {
	padding: 8px 16px;
	border: 1px solid #4b5563;
	border-radius: 8px;
	background: transparent;
	color: #d1d5db;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.gp-landing-body #newstheme-cookie-banner button:hover {
	border-color: #9ca3af;
	color: #fff;
}

.gp-landing-body #newstheme-cookie-banner #cc-accept {
	border-color: var(--gp-accent, #4f46e5);
	background: var(--gp-accent, #4f46e5);
	color: #fff;
}

.gp-landing-body .gp-foot > div:has(#cc-manage) {
	padding-bottom: 20px;
	text-align: center;
}

.gp-landing-body #cc-manage {
	padding: 0;
	border: 0;
	background: none;
	color: var(--gp-muted);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.gp-landing-body #cc-manage:hover {
	color: var(--gp-ink);
}

/* Writing desk, second pass: numbered sections, hero title, live counters, SERP preview ----- */

.gp-desk {
	padding-block: 32px 64px;
}

.gp-desk .gp-page-head h1 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.gp-desk .gp-page-head .gp-badge {
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.gp-progress {
	margin-bottom: 36px;
	padding: 18px 8px 14px;
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 6px);
	background: linear-gradient(180deg, #fff, var(--gp-soft));
}

.gp-progress li + li::after {
	height: 3px;
	top: 31px;
	border-radius: 2px;
}

.gp-progress li {
	padding-top: 58px;
}

.gp-progress li::before {
	top: 18px;
	width: 30px;
	height: 30px;
	margin-left: -15px;
	font-weight: 700;
}

.gp-progress li.is-current::before {
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--gp-accent) 16%, transparent), 0 8px 20px -8px var(--gp-accent);
}

.gp-progress li.is-current span {
	color: var(--gp-accent-dark);
}

.gp-desk-main > .gp-form {
	counter-reset: gp-section;
}

.gp-desk-main .gp-fieldset {
	position: relative;
	padding: 30px 28px 32px;
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 6px);
	background: #fff;
	counter-increment: gp-section;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.gp-desk-main .gp-fieldset:focus-within {
	border-color: color-mix(in srgb, var(--gp-accent) 45%, var(--gp-line));
	box-shadow: 0 16px 40px -28px color-mix(in srgb, var(--gp-accent) 60%, transparent);
}

.gp-desk-main .gp-fieldset + .gp-fieldset {
	margin-top: 20px;
	padding-top: 28px;
	border-top: 1px solid var(--gp-line);
}

.gp-desk-main .gp-fieldset::before {
	content: counter(gp-section, decimal-leading-zero);
	position: absolute;
	top: -15px;
	left: 24px;
	display: grid;
	place-items: center;
	height: 30px;
	padding-inline: 12px;
	border: 1px solid color-mix(in srgb, var(--gp-accent) 30%, var(--gp-line));
	border-radius: 99px;
	background: var(--gp-accent-tint);
	color: var(--gp-accent-dark);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.gp-desk-main .gp-fieldset > legend {
	margin-bottom: 2px;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.gp-fieldset-hint {
	clear: both;
	margin-bottom: 22px;
	color: var(--gp-muted);
	font-size: 0.9375rem;
}

.gp-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.gp-app .gp-input-title {
	min-height: 0;
	padding: 6px 0 12px;
	border: 0;
	border-bottom: 2px solid var(--gp-line);
	border-radius: 0;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	font-family: var(--gp-heading-font, var(--gp-font));
}

.gp-app .gp-input-title::placeholder {
	color: color-mix(in srgb, var(--gp-muted) 55%, #fff);
	font-weight: 700;
}

.gp-app .gp-input-title:focus {
	border-color: var(--gp-accent);
	box-shadow: none;
}

.gp-desk-main .gp-field + .gp-field {
	margin-top: 24px;
}

.gp-desk-main .gp-cols > .gp-field + .gp-field {
	margin-top: 0;
}

/* WordPress editor chrome, reskinned. */

.gp-app .wp-editor-wrap {
	border-radius: var(--gp-radius);
	box-shadow: 0 1px 2px color-mix(in srgb, var(--gp-ink) 6%, transparent);
}

.gp-app .wp-editor-wrap:focus-within {
	border-color: var(--gp-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gp-accent) 22%, transparent);
}

.gp-app .wp-editor-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px;
	border-bottom: 1px solid var(--gp-line);
	background: #fff;
}

.gp-app .wp-editor-tools::after {
	content: none;
}

.gp-app .wp-media-buttons {
	float: none;
}

.gp-app .wp-media-buttons .button,
.gp-app .wp-media-buttons .button:hover {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	margin: 0;
	padding: 0 12px 0 10px;
	border: 1px solid var(--gp-field-line);
	border-radius: 8px;
	background: #fff;
	color: var(--gp-ink);
	font-family: var(--gp-font);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	box-shadow: none;
	text-shadow: none;
}

.gp-app .wp-media-buttons .button:hover {
	border-color: var(--gp-ink);
}

.gp-app .wp-media-buttons .wp-media-buttons-icon::before {
	color: var(--gp-accent);
}

.gp-app .wp-editor-tabs {
	float: none;
	display: inline-flex;
	padding: 3px;
	border-radius: 8px;
	background: var(--gp-soft);
}

.gp-app .wp-editor-tabs .wp-switch-editor {
	float: none;
	height: auto;
	margin: 0;
	padding: 5px 12px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--gp-muted);
	font-family: var(--gp-font);
	font-size: 0.8125rem;
	font-weight: 600;
}

.gp-app .tmce-active .switch-tmce,
.gp-app .html-active .switch-html {
	background: #fff;
	color: var(--gp-ink);
	box-shadow: 0 1px 2px color-mix(in srgb, var(--gp-ink) 12%, transparent);
}

.gp-app .mce-toolbar-grp,
.gp-app .mce-top-part::before {
	background: var(--gp-soft);
	box-shadow: none;
	border-bottom: 1px solid var(--gp-line);
}

.gp-app .mce-container,
.gp-app .mce-statusbar {
	border-color: var(--gp-line) !important;
}

.gp-app .mce-statusbar {
	display: none;
}

.gp-app .mce-btn {
	border-radius: 6px;
}

.gp-editor-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
}

.gp-editor-foot .gp-hint {
	flex: 1 1 240px;
}

.gp-words {
	margin-top: 6px;
	padding: 3px 10px;
	border-radius: 99px;
	background: var(--gp-soft);
	color: var(--gp-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.gp-words.is-ok {
	background: var(--gp-ok-tint);
	color: var(--gp-ok);
}

/* Featured image drop zone. */

.gp-desk-main .gp-featured-preview img {
	box-shadow: 0 12px 32px -18px color-mix(in srgb, var(--gp-ink) 50%, transparent);
}

.gp-desk-main .gp-featured-empty {
	gap: 4px;
	align-content: center;
	background: var(--gp-soft);
	color: var(--gp-muted);
	transition: border-color 0.15s, background-color 0.15s;
}

.gp-desk-main .gp-featured-empty .gp-glyph {
	width: 32px;
	height: 32px;
	margin-bottom: 6px;
	color: var(--gp-accent);
}

.gp-desk-main .gp-featured-empty strong {
	color: var(--gp-ink);
	font-weight: 600;
}

.gp-desk-main .gp-featured-empty span {
	font-size: 0.8125rem;
}

.gp-desk-main .gp-featured:has(.gp-file:focus-visible) .gp-featured-empty,
.gp-desk-main .gp-featured.is-dragging .gp-featured-empty {
	border-color: var(--gp-accent);
	background: var(--gp-accent-tint);
}

.gp-desk-main .gp-file::file-selector-button {
	background: var(--gp-ink);
	border-color: var(--gp-ink);
	color: #fff;
}

/* Google snippet preview. */

.gp-serp {
	display: grid;
	gap: 4px;
	margin-bottom: 24px;
	padding: 18px 20px;
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	background: var(--gp-soft);
	font-family: Arial, sans-serif;
	line-height: 1.4;
}

.gp-serp-site {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: #202124;
	font-size: 0.875rem;
}

.gp-serp-favicon {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--gp-line);
	border-radius: 50%;
	background: #fff;
}

.gp-serp-favicon::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 3px;
	background: var(--gp-accent);
}

.gp-serp-url {
	color: #4d5156;
	font-size: 0.8125rem;
	overflow-wrap: anywhere;
}

.gp-serp > strong {
	color: #1a0dab;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.gp-serp > span:last-child {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color: #4d5156;
	font-size: 0.875rem;
}

/* Package cards. */

.gp-desk-main .gp-tier-options {
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}

.gp-desk-main .gp-tier-option {
	padding: 18px 18px 18px 48px;
	border-radius: calc(var(--gp-radius) + 4px);
	background: #fff;
}

.gp-desk-main .gp-tier-option input {
	top: 23px; /* 18px padding + (28px head - 18px radio) / 2: centred on the name. */
	left: 18px;
}

.gp-desk-main .gp-tier-option.is-popular {
	border-color: color-mix(in srgb, var(--gp-accent) 50%, var(--gp-line));
}

.gp-desk-main .gp-tier-option:has(input:checked) {
	box-shadow: inset 0 0 0 1px var(--gp-accent), 0 14px 30px -22px var(--gp-accent);
}

.gp-desk-main .gp-tier-body {
	gap: 8px;
}

.gp-tier-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 28px;
	justify-content: space-between;
	gap: 4px 12px;
}

.gp-tier-head strong {
	color: var(--gp-ink);
	font-size: 1rem;
}

.gp-desk-main .gp-tier-body .gp-price {
	font-size: 1.375rem;
	line-height: 28px;
	letter-spacing: -0.02em;
}

.gp-desk-main .gp-tier-option .gp-tier-tag {
	position: static;
	justify-self: start;
	transform: none;
	padding: 3px 9px;
	font-size: 0.6875rem;
}

.gp-tier-feats {
	display: grid;
	gap: 4px;
	padding-top: 10px;
	border-top: 1px solid var(--gp-line);
	color: var(--gp-text);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.gp-tier-feats span {
	position: relative;
	padding-left: 18px;
}

.gp-tier-feats span::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 0;
	width: 10px;
	height: 5px;
	border-left: 2px solid var(--gp-ok);
	border-bottom: 2px solid var(--gp-ok);
	transform: rotate(-45deg);
}

/* Sticky save bar. */

.gp-desk-main .gp-actions {
	position: sticky;
	bottom: 0;
	z-index: 5;
	margin-top: 20px;
	padding: 14px 18px;
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 6px);
	background: color-mix(in srgb, #fff 88%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 -12px 32px -24px color-mix(in srgb, var(--gp-ink) 40%, transparent);
}

.gp-desk-main .gp-actions .gp-hint {
	margin: 0;
}

/* Checklist card. */

.gp-desk-side .gp-checklist {
	padding: 24px 24px 20px;
	border-top: 4px solid var(--gp-accent);
	border-radius: calc(var(--gp-radius) + 6px);
}

.gp-desk-side .gp-checklist h2 {
	font-size: 1.125rem;
}

.gp-desk-side .gp-check {
	padding-block: 10px;
}

.gp-desk-side .gp-check.is-pass .gp-check-text strong {
	color: var(--gp-muted);
}

.gp-desk-side .gp-checks {
	max-height: calc(100vh - 260px);
	overflow: auto;
	margin-inline: -8px;
	padding-inline: 8px;
	scrollbar-width: thin;
}

@media (max-width: 960px) {
	.gp-desk-side .gp-checks {
		max-height: 220px;
		border-bottom: 1px solid var(--gp-line);
	}

	.gp-desk-side .gp-checklist {
		padding: 20px;
	}
}

@media (max-width: 640px) {
	.gp-desk-main .gp-fieldset,
	.gp-desk-main .gp-fieldset + .gp-fieldset {
		padding: 28px 18px 22px;
	}

	.gp-desk-main .gp-fieldset::before {
		left: 16px;
	}

	.gp-progress {
		padding-inline: 0;
	}

	.gp-desk-main .gp-actions {
		border-radius: 0;
		margin-inline: -20px;
		border-inline: 0;
	}
}

/* Desk hero: dark band in the brand colour with the checks floating as chips ---------------- */

.gp-desk-hero {
	--gp-hero-ink: color-mix(in srgb, var(--gp-accent) 22%, #0b0f1a);
	--gp-hero-line: color-mix(in srgb, var(--gp-accent) 40%, transparent);
	--gp-hero-glow: color-mix(in srgb, var(--gp-accent) 60%, #fff);
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 32px;
	min-height: 360px;
	margin-bottom: 28px;
	padding: 44px 48px;
	overflow: hidden;
	border-radius: 24px;
	background:
		radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--gp-accent) 55%, var(--gp-hero-ink)), transparent 70%),
		radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--gp-accent) 28%, var(--gp-hero-ink)), transparent 70%),
		var(--gp-hero-ink);
	color: #fff;
	isolation: isolate;
}

.gp-desk-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(180deg, #000, transparent 95%);
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 95%);
}

.gp-desk-hero::after {
	content: "";
	position: absolute;
	top: -120px;
	right: -60px;
	z-index: -1;
	width: 560px;
	height: 560px;
	border: 1px dashed var(--gp-hero-line);
	border-radius: 50%;
	box-shadow: inset 0 0 0 90px color-mix(in srgb, var(--gp-accent) 4%, transparent), inset 0 0 0 91px var(--gp-hero-line);
}

.gp-desk-hero-copy {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 18px;
}

.gp-app .gp-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid color-mix(in srgb, #fff 22%, transparent);
	border-radius: 99px;
	background: color-mix(in srgb, #fff 8%, transparent);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	backdrop-filter: blur(6px);
}

.gp-app .gp-hero-eyebrow::before {
	content: "‹";
	font-size: 1.1em;
	line-height: 1;
	opacity: 0.8;
}

.gp-app .gp-hero-eyebrow:hover {
	border-color: color-mix(in srgb, #fff 45%, transparent);
	color: #fff;
}

.gp-app .gp-desk-hero h1 {
	display: block;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.25rem);
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.gp-desk-hero h1 em {
	display: block;
	color: var(--gp-hero-glow);
	font-style: normal;
}

.gp-desk-hero h1 .gp-badge {
	position: relative;
	top: -0.35em;
	margin-left: 4px;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	vertical-align: middle;
}

.gp-desk-hero-lede {
	max-width: 34rem;
	color: color-mix(in srgb, #fff 78%, transparent);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.gp-desk-hero-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, auto));
	justify-content: start;
	margin-top: 10px;
}

.gp-desk-hero-stats > div {
	display: grid;
	align-content: start;
	gap: 4px;
	padding-right: 24px;
}

.gp-desk-hero-stats > div + div {
	padding-left: 24px;
	border-left: 1px solid color-mix(in srgb, #fff 18%, transparent);
}

.gp-desk-hero-stats dt {
	color: #fff;
	font-size: 1.875rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.gp-desk-hero-stats dd {
	color: color-mix(in srgb, #fff 62%, transparent);
	font-size: 0.875rem;
}

.gp-app .gp-btn-glass {
	border-color: color-mix(in srgb, #fff 30%, transparent);
	background: color-mix(in srgb, #fff 10%, transparent);
	color: #fff !important;
	backdrop-filter: blur(6px);
}

.gp-app .gp-btn-glass:hover {
	background: color-mix(in srgb, #fff 18%, transparent);
}

/* Chips: each one gets a fixed slot from --i, so the cloud reads as scattered but never overlaps. */

.gp-desk-chips {
	position: relative;
	min-height: 280px;
}

.gp-desk-chips li {
	position: absolute;
	left: var(--x);
	top: var(--y);
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 18px;
	border: 1px solid color-mix(in srgb, #fff 20%, transparent);
	border-radius: 99px;
	background: color-mix(in srgb, var(--gp-hero-ink) 70%, transparent);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	backdrop-filter: blur(8px);
	box-shadow: 0 10px 30px -14px #000;
	animation: gp-float 7s ease-in-out infinite;
	animation-delay: calc(var(--i) * -0.9s);
}

.gp-desk-chips li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gp-hero-glow);
	box-shadow: 0 0 10px var(--gp-hero-glow);
}

.gp-desk-chips li:nth-child(1) { --x: 2%; --y: 8%; }
.gp-desk-chips li:nth-child(2) { --x: 46%; --y: 2%; }
.gp-desk-chips li:nth-child(3) { --x: 72%; --y: 20%; }
.gp-desk-chips li:nth-child(4) { --x: 14%; --y: 32%; }
.gp-desk-chips li:nth-child(5) { --x: 52%; --y: 38%; }
.gp-desk-chips li:nth-child(6) { --x: 0%; --y: 58%; }
.gp-desk-chips li:nth-child(7) { --x: 36%; --y: 62%; }
.gp-desk-chips li:nth-child(8) { --x: 74%; --y: 54%; }
.gp-desk-chips li:nth-child(9) { --x: 10%; --y: 84%; }
.gp-desk-chips li:nth-child(10) { --x: 44%; --y: 86%; }
.gp-desk-chips li:nth-child(11) { --x: 76%; --y: 80%; }
.gp-desk-chips li:nth-child(12) { --x: 30%; --y: 16%; }
.gp-desk-chips li:nth-child(n+13) { display: none; }

@keyframes gp-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-7px); }
}

@media (max-width: 960px) {
	.gp-desk-hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		padding: 32px 28px;
	}

	.gp-desk-hero::after {
		width: 380px;
		height: 380px;
	}

	.gp-desk-chips {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		min-height: 0;
	}

	.gp-desk-chips li {
		position: static;
		padding: 7px 13px;
		font-size: 0.8125rem;
		animation: none;
	}
}

@media (max-width: 640px) {
	.gp-desk-hero {
		margin-inline: -20px;
		padding: 28px 20px;
		border-radius: 0;
	}

	.gp-desk-hero-stats > div {
		padding-right: 18px;
	}

	.gp-desk-hero-stats > div + div {
		padding-left: 18px;
	}

	.gp-desk-hero-stats dt {
		font-size: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-desk-chips li {
		animation: none;
	}
}

/* Category picker (gp-form.js): button + search + a list about four rows tall. */

.gp-combo {
	position: relative;
}

.gp-app .gp-combo-button {
	display: block;
	overflow: hidden;
	padding-right: 44px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
}

.gp-app .gp-combo-button.is-empty {
	color: var(--gp-muted);
}

.gp-app .gp-combo-button:hover {
	border-color: color-mix(in srgb, var(--gp-ink) 35%, var(--gp-field-line));
}

.gp-app .gp-combo-button[aria-expanded="true"] {
	border-color: var(--gp-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--gp-accent) 22%, transparent);
}

.gp-combo-panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 30;
	min-width: 240px;
	padding: 8px;
	border: 1px solid var(--gp-line);
	border-radius: calc(var(--gp-radius) + 2px);
	background: #fff;
	box-shadow: 0 20px 44px -18px color-mix(in srgb, var(--gp-ink) 40%, transparent);
}

.gp-app .gp-combo-search {
	min-height: 40px;
	padding: 8px 12px 8px 36px;
	border-radius: 8px;
	background: var(--gp-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='5.5'/%3E%3Cpath d='m13.2 13.2 3.3 3.3'/%3E%3C/svg%3E") no-repeat 11px center / 17px;
	font-size: 0.9375rem;
}

.gp-combo-list {
	max-height: 172px; /* About four rows, so a scroll is obvious. */
	margin-top: 6px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.gp-combo-list li {
	position: relative;
	padding: 9px 34px 9px 12px;
	border-radius: 8px;
	color: var(--gp-ink);
	font-size: 0.9375rem;
	line-height: 1.3;
	cursor: pointer;
}

.gp-combo-list li.is-active {
	background: var(--gp-accent-tint);
}

.gp-combo-list li[aria-selected="true"] {
	color: var(--gp-accent-dark);
	font-weight: 600;
}

.gp-combo-list li[aria-selected="true"]::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 10px;
	height: 5px;
	margin-top: -4px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
}

.gp-combo-empty {
	padding: 12px;
	color: var(--gp-muted);
	font-size: 0.875rem;
	text-align: center;
}

/* Logged-in top bar: who is signed in, their articles, log out. */

.gp-topnav {
	gap: 10px 14px;
}

.gp-whoami {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-right: 14px;
	border-right: 1px solid var(--gp-line);
}

.gp-whoami-face {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--gp-accent-tint);
	color: var(--gp-accent-dark);
	font-weight: 700;
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px color-mix(in srgb, var(--gp-accent) 35%, var(--gp-line));
}

.gp-whoami-face img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gp-whoami-name {
	display: grid;
	color: var(--gp-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
}

.gp-whoami-name small {
	color: var(--gp-muted);
	font-size: 0.75rem;
	font-weight: 500;
}

.gp-app .gp-topnav .gp-btn {
	gap: 8px;
}

.gp-topnav .gp-glyph {
	width: 17px;
	height: 17px;
	flex: none;
}

.gp-nav-count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding-inline: 6px;
	border-radius: 99px;
	background: var(--gp-accent);
	color: var(--gp-accent-ink);
	font-size: 0.75rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.gp-app .gp-topnav .gp-nav-logout {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border-radius: var(--gp-radius);
	color: var(--gp-muted);
}

.gp-app .gp-topnav .gp-nav-logout:hover {
	background: var(--gp-bad-tint);
	color: var(--gp-bad);
}

@media (max-width: 640px) {
	.gp-whoami-name,
	.gp-nav-label {
		display: none;
	}

	.gp-brand {
		white-space: nowrap;
	}

	.gp-topnav {
		flex-wrap: nowrap;
	}

	.gp-app .gp-topnav .gp-btn-sm {
		padding-inline: 12px;
		white-space: nowrap;
	}

	.gp-whoami {
		padding-right: 0;
		border-right: 0;
	}

	.gp-whoami-face {
		width: 32px;
		height: 32px;
	}

	.gp-topnav {
		gap: 8px;
	}

	.gp-app .gp-topnav .gp-nav-logout {
		padding: 8px;
		font-size: 0;
	}

	.gp-topnav .gp-nav-logout .gp-glyph {
		width: 20px;
		height: 20px;
	}
}

/* Show / hide password (gp-form.js). */

.gp-pass-wrap {
	position: relative;
	display: block;
}

.gp-pass-wrap > .gp-input {
	padding-right: 48px;
}

.gp-app .gp-pass-toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--gp-muted);
	transform: translateY(-50%);
	cursor: pointer;
}

.gp-app .gp-pass-toggle:hover {
	background: var(--gp-soft);
	color: var(--gp-ink);
}

.gp-pass-toggle svg {
	width: 20px;
	height: 20px;
}

.gp-pass-toggle[aria-pressed="true"] {
	color: var(--gp-accent);
}
