	/* Scaffolding */
	main.pmgsub { background: #FFF; min-height: 100vh; padding: 2rem; }
	.pmgsub-section { display: flex; flex-direction: row; }
	.pmgsub-content { background: #FFF; }
	.pmgsub-extra { background: #E3E3E3; background-size: cover; display: none; }
	.page-template-ptl-subscribe-form .pmgsub { padding: 0; }
	@media (min-width: 768px)
	{
		main.pmgsub { backdrop-filter: blur(0.25rem); background: #000A; padding: 0; }
		.page-template-ptl-subscribe-form .pmgsub { padding: 2rem; }
		.pmgsub-extra { display: block; flex: 0 0 50%; overflow: hidden; position: relative; }
		.pmgsub-content { flex: 0 0 50%; padding: 10vw; }
	}
	#pmgsub-logo { display: block; height: auto; max-height: 100px; max-width: 360px; object-fit: contain; object-position: left; width: 70%; }
	
	/* Form elements */
	.pmgsub form { display: block; }
	.pmgsub .form-group { display: block; margin-block: 1rem; }
	.pmgsub .form-control { border: 1px solid silver; display: block; height: 1.75rem; line-height: 1.5; margin-top: 0.5rem; padding: 0.25rem; width: 100%; }
	.pmgsub textarea.form-control { min-height: 8rem; }
	.pmgsub .radios { margin-block: 1rem; }
	.pmgsub .radios .radio { align-items: flex-start; display: flex; gap: 0.5rem; margin-block: 0.5rem; }
	.pmgsub .checkboxes { margin-block: 1rem; }
	.pmgsub .checkboxes .checkbox { align-items: flex-start; display: flex; gap: 0.5rem; margin-block: 0.5rem; }
	.pmgsub .optional::after { color: silver; content: var(--str-optional); display: inline; }
	
	/* Grid */
	.pmgsub .row { display: flex; flex-direction: row; gap: 1rem; margin: 1rem 0; padding: 0; }
	.pmgsub .row .col-md-12 { flex: 0 0 100%; margin: 0; padding: 0; }
	.pmgsub .row .col-md-9 { flex: 0 0 75%; margin: 0; padding: 0; }
	.pmgsub .row .col-md-8 { flex: 0 0 67%; margin: 0; padding: 0; }
	.pmgsub .row .col-md-6 { flex: 0 1 50%; margin: 0; padding: 0; }
	.pmgsub .row .col-md-4 { flex: 0 1 33%; margin: 0; padding: 0; }
	.pmgsub .row .col-md-3 { flex: 0 1 25%; margin: 0; padding: 0; }
	.pmgsub .row::before, .pmgsub .row::after { content: none; }
	.pmgsub .row .form-group { margin: 0; }
	
	/* Common elements */
	.pmgsub-back { color: inherit; display: block; margin-block: 1rem; opacity: 0.75; text-decoration: none; }
	.pmgsub-tagline { font-size: 1.5rem; margin-bottom: 1rem; margin-top: 2rem; text-transform: uppercase; }
	.pmgsub h2 { font-size: 2.5rem; margin-block: 0 1rem; text-transform: none; text-wrap: balance; }
	.pmgsub h3 { color: var(--primary-color); font-size: 1.5rem; text-transform: none; }
	.pmgsub h4 { font-size: 1rem; text-transform: none; }
	.pmgsub-extra img { left: 50%; max-height: min(calc(100% - 10vw), 1024px); max-width: 40vw; position: absolute; top: 50%; transform: translate(-50%, -50%); }
	.pmgsub-fineprint { font-style: italic; font-weight: lighter; margin-bottom: 2rem; position: relative; }
	.pmgsub-fineprint .tooltip { background: #333; color: #FFF; display: none; font-style: normal; padding: 0.75rem 1rem; position: absolute; right: 10%; top: calc(100% + 0.5rem); width: 80%; }
	.pmgsub-fineprint a:hover + .tooltip { display: block; }
	.pmgsub-icon-info { background: #333; border-radius: 50%; color: #FFF; display: inline-block; font-family: sans-serif; font-size: 0.75rem; font-style: normal; height: 1.5rem; line-height: 1.5rem; text-align: center; vertical-align: top; width: 1.5rem; }
	.pmgsub-regular-price { display: inline-block; opacity: 0.75; position: relative; text-decoration: none; }
	.pmgsub-regular-price:empty { display: none; }
	.pmgsub-regular-price::after { border-top: 2px solid; content: ''; display: block; height: 0; left: -10%; opacity: 75%; position: absolute; top: 50%; transform: rotate(-20deg); width: 120%; }
	
	/* Team subscription */
	#pmgsub-team-sub ul { list-style: none; margin: 1rem 0; padding: 0 0 0 2rem; }
	#pmgsub-team-sub ul > li { margin: 0.5rem 0; padding: 0; position: relative; }
	#pmgsub-team-sub ul > li::before { border: 2px solid black; border-left-style: none; border-top-style: none; content: ''; display: inline-block; height: 1em; position: absolute; transform: translateX(-1.5rem) rotate(45deg); width: 1ex; }
	
	/* Intro text */
	#pmgsub-types-intro ul { list-style: none; margin: 1rem 0; padding: 0 0 0 2rem; }
	#pmgsub-types-intro ul > li { margin: 0.5rem 0; padding: 0; position: relative; }
	#pmgsub-types-intro ul > li::before { border: 2px solid black; border-left-style: none; border-top-style: none; content: ''; display: inline-block; height: 1em; position: absolute; transform: translateX(-1.5rem) rotate(45deg); width: 1ex; }
	
	/* Type selection */
	.pmgsub-type { border: 1px solid transparent; border-radius: 1ex; box-shadow: 0 0 0 1px #AAA; color: inherit; display: block; margin: 1ex 1px; padding: 1rem 3rem; position: relative; text-decoration: none; }
	.pmgsub-type:has(:checked) { border-color: #555; box-shadow: 0 0 0 1px #555; }
	.pmgsub-type h3 { color: inherit; }
	.pmgsub-type input[type=radio] { position: absolute; left: 1rem; top: 1rem; }
	.pmgsub-blurb { background: var(--blurb-color-bg); border-radius: 4px; color: var(--blurb-color); display: inline-block; font-size: 75%; line-height: 1.5; padding-inline: 1ex; position: absolute; right: -0.5rem; text-transform: uppercase; top: 1rem; }
	.pmgsub-type-price-per-user { font-weight: bold; }
	.pmgsub-teams { border: 1px solid transparent; border-radius: 1ex; box-shadow: 0 0 0 1px #AAA; color: inherit; display: block; margin: 1ex 1px; padding: 1rem; position: relative; text-decoration: none; }
	.pmgsub-teams h3 { color: inherit; }
	.pmgsub-teams::after { content: '\203A'; font-size: 2rem; line-height: 1; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); }
	.pmgsub-type-info ul { list-style: none; margin: 0; padding: 0 0 0 0.5rem; }
	.pmgsub-type-info ul > li { margin: 0.5rem 0; padding: 0; position: relative; }
	.pmgsub-type-info ul > li::before { content: '\00B7'; left: -0.5rem; position: absolute; }
	
	/* Contact form */
	#pmgsub-contact-content a { color: inherit; font-weight: bold; white-space: nowrap; }
	#pmgsub-contact-extra img { height: 100%; inset: 0; max-height: none; max-width: none; object-fit: cover; transform: none; width: 100%; }
	
	/* Error messages */
	.message { background-color: #F9FCF2; border: 1px solid #A1DF7B; border-left-width: 5px; padding: 2rem; }
	.message.message-danger { background: #EA868F; border-color: #2C0B0E; color: #2C0B0E; }
	.message.message-info { border-color: #66A0DF; color: #66A0DF; }
	.errors-list { list-style: disc; margin: 1rem 0 0; padding-left: 1rem; }
	.errors-list > li { margin: 0.5rem 0 0; padding: 0; }
	
	/* Step indicator */
	.pmgsub-steps { display: grid; font-size: 0.625rem; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 1rem 0 2rem; padding: 0; text-align: center; width: 100%; }
	.pmgsub-steps > li { color: var(--step-color-labels); counter-increment: step; position: relative; }
	.pmgsub-steps > li:before { background-color: var(--secondary-dark-color); border-radius: 50%; color: var(--step-color-fg); content: counter(step); font-size: 1rem; font-weight: bold; display: block; height: 2rem; line-height: 2rem; margin: 0 auto 4px; position: relative; text-align: center; width: 2rem; z-index: 2; }
	.pmgsub-steps > li:after { background-color: var(--secondary-dark-color); content: ''; height: 2px; left: 50%; opacity: 0.75; position: absolute; top: calc(1rem - 1px); width: 100%; z-index: 1; }
	.pmgsub-steps > li:last-child:after { display: none; }
	.pmgsub-steps > li.is-active:before { background-color: var(--step-color); }
	
	/* Main form */
	.pmgsub-form-main { background: #FFF; padding: 2rem; }
	.pmgsub-form-main h2 { font-size: 1.5rem; }
	
	/* Order summary */
	#pmgsub-order-summary { background: #EEE; padding: 2rem; position: sticky; top: 4rem; }
	#pmgsub-order-summary h2 { font-size: 2rem; }
	#pmgsub-order-summary dl { border-top: 2px solid silver; display: grid; grid-template-columns: repeat(2, auto); margin-top: 1rem; padding-top: 1rem; }
	#pmgsub-order-summary dd { text-align: right; }
	#pmgsub-order-summary dd s { margin-inline-end: 1rem; }
	#pmgsub-order-summary .total-per-month { font-size: 125%; font-weight: bold; }
	#pmgsub-order-summary .pmgsub-type-info { background: #FFF; ;border: 1px solid silver; border-radius: 1ex; display: block; margin: 1ex 0; padding: 1rem; position: relative; }
	#pmgsub-type-image { border-top: 2px solid silver; margin-block: 1rem; }
	#pmgsub-type-image:empty { border-bottom-style: none; }
	#pmgsub-type-image img { display: block; margin-block: 1rem; max-width: 100%; }
	
	/* Pop-up dialog box */
	#dlg-verification-mail { background: #FFF; border: none; color: #000; padding: 2rem; }
	#dlg-verification-mail h1 { border-bottom: 2px solid silver; display: flex; line-height: 1; margin-bottom: 1rem; padding-bottom: 1rem; }
	#dlg-verification-mail ul { list-style: disc; margin: 1rem 0; padding: 0 0 0 1.5rem; }
	#dlg-verification-mail a { color: inherit; }
	#dlg-verification-mail #btn-close-dialog { margin-left: auto; }
	#dlg-verification-mail:open::backdrop { background-color: #0008; }
	
	/* Confirmation page */
	#pmgsub-confirmation-text ul { list-style: none; margin: 1rem 0; padding: 0 0 0 2rem; }
	#pmgsub-confirmation-text ul > li { margin: 0.5rem 0; padding: 0; position: relative; }
	#pmgsub-confirmation-text ul > li::before { border: 2px solid black; border-left-style: none; border-top-style: none; content: ''; display: inline-block; height: 1em; position: absolute; transform: translateX(-1.5rem) rotate(45deg); width: 1ex; }
	
	/* Template-specific overrides
	.page-template-ptl-subscribe-packages {}
	.page-template-ptl-subscribe-types {}
	.page-template-ptl-subscribe-form {}
	.page-template-ptl-subscribe-complete {} */
	@media (min-width: 768px)
	{
		.page-template-ptl-subscribe-types .pmgsub,
		.page-template-ptl-subscribe-form .pmgsub,
		.page-template-ptl-subscribe-complete .pmgsub,
		.page-template-ptl-subscribe-team .pmgsub { align-items: start; display: grid; gap: 4rem; grid-template-columns: min(600px, 50vw) min(400px, 30vw); justify-content: center; padding-block: 4rem; }
	}
	
	/* Nag screens */
	.pmgsub-nag h3 { margin-block: 1.5rem 0.5rem; }
	.pmgsub-nag-intro { text-align: center; }
	.pmgsub-nag-intro h2 { font-size: 1.5rem; font-weight: bold; line-height: 1.25; }
	.pmgsub-nag-main { margin-inline: auto; max-width: 500px; }
	.pmgsub-or { align-items: center; display: flex; flex-direction: row; gap: 1rem; }
	.pmgsub-or span { flex: 0 0 auto; font-weight: bold; }
	.pmgsub-or hr { border: 1px solid black; flex: 1 1 50%; height: 0; }
	#pmgsub-overlay { background: #FFF; border: none; bottom: 0; color: #000; left: 0; max-height: 75vh; max-width: none; padding: 4rem 1rem 1rem; position: fixed; right: 0; top: auto; width: 100%; }
	#pmgsub-overlay:open::backdrop { background-color: #0008; pointer-events: none; }
	#pmgsub-overlay .pmgsub-nag-body { flex-basis: 50vw; }
	#pmgsub-overlay h2 { font-size: 2.5rem; }
	#pmgsub-overlay .pmgsub-nag-freebie { display: none; }
	#pmgsub-overlay #btn-close-overlay { background: transparent; border: none; color: inherit; cursor: pointer; font: 4rem/1 sans-serif; outline: none; position: absolute; right: 1rem; text-align: center; text-decoration: none; top: 1rem; width: 4rem; }

	/* Buttons */
	.pmgsub-btn {
		background: var(--btn-default-bg);
		border: 1px solid var(--btn-default-border);
		color: var(--btn-default-fg) !important;
		cursor: pointer;
		display: inline-block;
		font-size: 1rem;
		font-weight: bold;
		height: 3rem;
		line-height: 3rem;
		margin: 1em 0;
		padding: 0 1em;
		position: relative;
		text-decoration: none;
		text-transform: uppercase;
		transition: 0.5s;
	}
	.pmgsub-btn:hover { background: var(--btn-default-bg-hover); border-color: var(--btn-default-border-hover); color: var(--btn-default-fg-hover) !important; }
	.pmgsub-btn.pmgsub-btn-primary { background: var(--btn-primary-bg); border-color: var(--btn-primary-border); color: var(--btn-primary-fg) !important; }
	.pmgsub-btn.pmgsub-btn-primary:hover { background: var(--btn-primary-bg-hover); border-color: var(--btn-primary-border-hover); color: var(--btn-primary-fg-hover) !important; }
