/* WPThemes Hub: product pages. Every rule is scoped to .wph so the active theme is left alone. */

.wph {
	--wph-primary: #0b4f6c;
	--wph-accent: #d0461c;
	--wph-ink: #0f1b2a;
	--wph-text: #3b4a5a;
	--wph-muted: #64748b;
	--wph-line: #e3e8ef;
	--wph-soft: #f5f7fa;
	--wph-night: #071521;
	--wph-radius: 18px;
	--wph-shadow: 0 1px 2px rgba(15, 27, 42, 0.06), 0 12px 32px rgba(15, 27, 42, 0.08);
	color: var(--wph-text);
	font-family: var(--tl-font, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	font-size: 17px;
	line-height: 1.65;
}

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

.wph h1,
.wph h2,
.wph h3 {
	margin: 0;
	color: var(--wph-ink);
	font-family: inherit;
	letter-spacing: -0.02em;
}

.wph p {
	margin: 0;
}

.wph a {
	text-decoration: none;
}

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

.wph-icon {
	flex: none;
	width: 1.2em;
	height: 1.2em;
}

.wph-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.wph-container--narrow {
	max-width: 900px;
}

/* Section headings */

.wph-section {
	padding: clamp(72px, 9vw, 120px) 0;
}

.wph-section--alt {
	background: var(--wph-soft);
}

.wph-section--tight {
	padding-top: 0;
}

.wph-head {
	max-width: 680px;
	margin: 0 auto clamp(40px, 5vw, 64px);
	text-align: center;
}

.wph-head h2 {
	margin-bottom: 14px;
	font-size: clamp(2rem, 4.2vw, 3rem);
	line-height: 1.12;
}

.wph-head p:not(.wph-eyebrow) {
	color: var(--wph-muted);
	font-size: 1.1rem;
}

.wph-eyebrow {
	display: inline-block;
	margin-bottom: 14px !important;
	color: var(--wph-accent);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wph-eyebrow--light {
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffd2c2;
	letter-spacing: 0.08em;
}

/* Buttons */

.wph-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wph .wph-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.wph .wph-btn:hover {
	transform: translateY(-2px);
}

.wph .wph-btn--accent {
	background: var(--wph-accent);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--wph-accent) 35%, transparent);
	color: #fff;
}

.wph .wph-btn--accent:hover {
	background: color-mix(in srgb, var(--wph-accent) 85%, #000);
	color: #fff;
}

.wph .wph-btn--ghost {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.wph .wph-btn--ghost:hover {
	border-color: #fff;
	background: #fff;
	color: var(--wph-ink);
}

.wph .wph-btn--dark {
	background: var(--wph-ink);
	color: #fff;
}

.wph .wph-btn--dark:hover {
	background: #1e2d40;
	color: #fff;
}

.wph .wph-btn--outline {
	border-color: var(--wph-ink);
	color: var(--wph-ink);
}

.wph .wph-btn--outline:hover {
	background: var(--wph-ink);
	color: #fff;
}

.wph .wph-btn--soon {
	border-color: var(--wph-line);
	background: var(--wph-soft);
	color: var(--wph-muted);
	cursor: default;
}

.wph .wph-btn--soon:hover {
	transform: none;
}

.wph a:focus-visible,
.wph summary:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--wph-accent) 70%, #fff);
	outline-offset: 3px;
}

.wph-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wph-primary);
	font-weight: 700;
}

.wph-link:hover {
	color: var(--wph-accent);
}

.wph-link .wph-icon {
	width: 1em;
	height: 1em;
}

/* Hero */

.wph-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px);
	background:
		radial-gradient(900px 520px at 88% 8%, color-mix(in srgb, var(--wph-accent) 32%, transparent), transparent 62%),
		radial-gradient(800px 520px at 0% 100%, color-mix(in srgb, var(--wph-primary) 70%, transparent), transparent 65%),
		linear-gradient(160deg, var(--wph-night) 0%, #0a2433 55%, color-mix(in srgb, var(--wph-primary) 80%, #000) 100%);
	color: #d7e2ec;
}

.wph-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	pointer-events: none;
}

.wph-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.wph .wph-hero__title {
	margin-bottom: 20px;
	color: #fff;
	font-size: clamp(3rem, 8vw, 5.5rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.wph-hero__lead {
	max-width: 520px;
	margin-bottom: 32px !important;
	color: #c4d3e0;
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.wph-hero__note {
	margin-top: 20px !important;
	color: #93a8ba;
	font-size: 0.95rem;
}

.wph-hero__visual {
	position: relative;
	padding: 0 6% 40px 0;
}

.wph-browser {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.wph-browser__bar {
	display: flex;
	gap: 6px;
	padding: 10px 12px;
	background: #e9eef3;
}

.wph-browser__bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #c5ced8;
}

.wph-browser__bar span:first-child {
	background: #ff6159;
}

.wph-browser__bar span:nth-child(2) {
	background: #ffbd2e;
}

.wph-browser__bar span:nth-child(3) {
	background: #28c941;
}

.wph-phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 27%;
	overflow: hidden;
	border: 7px solid #0b1220;
	border-radius: 30px;
	background: #0b1220;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.wph-phone img {
	border-radius: 22px;
}

.wph-highlights {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: clamp(48px, 6vw, 72px) 0 0;
	padding: 0;
	list-style: none;
}

.wph-highlights li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
	color: #9fb3c5;
	font-size: 0.92rem;
	line-height: 1.45;
}

.wph-highlights .wph-icon {
	color: #ffb79f;
}

.wph-highlights strong {
	display: block;
	margin-bottom: 2px;
	color: #fff;
	font-size: 1rem;
}

/* Demos */

.wph-demos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 32px);
}

.wph-demo {
	overflow: hidden;
	border: 1px solid var(--wph-line);
	border-radius: var(--wph-radius);
	background: #fff;
	box-shadow: var(--wph-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wph-demo:hover {
	transform: translateY(-4px);
	box-shadow: 0 2px 4px rgba(15, 27, 42, 0.06), 0 24px 48px rgba(15, 27, 42, 0.14);
}

.wph-demo__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-bottom: 1px solid var(--wph-line);
	background: var(--wph-soft);
}

.wph-demo__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	transition: transform 0.5s ease;
}

.wph-demo:hover .wph-demo__media img {
	transform: scale(1.03);
}

.wph-demo__body {
	padding: 22px 24px 24px;
}

.wph-demo h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 1.3rem;
}

.wph-demo p {
	margin-bottom: 16px;
	color: var(--wph-muted);
	font-size: 0.98rem;
}

.wph-badge {
	padding: 3px 10px;
	border-radius: 999px;
	background: #e7f6ee;
	color: #17643d;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wph-badge--pro {
	background: color-mix(in srgb, var(--wph-accent) 12%, #fff);
	color: color-mix(in srgb, var(--wph-accent) 80%, #000);
}

/* Features */

.wph-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.wph-feature {
	padding: 30px;
	border: 1px solid var(--wph-line);
	border-radius: var(--wph-radius);
	background: #fff;
}

.wph-feature h3 {
	margin-bottom: 8px;
	font-size: 1.15rem;
}

.wph-feature p {
	color: var(--wph-muted);
	font-size: 0.98rem;
}

.wph-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--wph-primary) 10%, #fff);
	color: var(--wph-primary);
}

/* Pro showcase */

.wph-show {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
	margin-bottom: clamp(56px, 7vw, 96px);
}

.wph-show--flip .wph-show__text {
	order: 2;
}

.wph-show__text h3 {
	margin-bottom: 12px;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.2;
}

.wph-show__text p {
	margin-bottom: 18px;
	font-size: 1.05rem;
}

.wph-ticks {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wph-ticks li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--wph-text);
}

.wph-ticks .wph-icon {
	margin-top: 3px;
	color: #16a34a;
}

/* Mock-ups: small drawings of Pro screens, made with HTML so they stay sharp. */

.wph-mock {
	position: relative;
	padding: clamp(20px, 3vw, 32px);
	border-radius: 24px;
	background:
		radial-gradient(400px 220px at 100% 0%, color-mix(in srgb, var(--wph-accent) 14%, transparent), transparent 70%),
		linear-gradient(150deg, color-mix(in srgb, var(--wph-primary) 10%, #fff), var(--wph-soft));
	font-size: 0.9rem;
	line-height: 1.4;
}

.wph-mock-search {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	gap: 10px;
	align-items: end;
	padding: 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--wph-shadow);
}

.wph-mock-search div {
	display: grid;
	gap: 4px;
}

.wph-mock-search small {
	color: var(--wph-muted);
	font-size: 0.72rem;
	font-weight: 600;
}

.wph-mock-search span {
	padding: 8px 10px;
	border: 1.5px solid var(--wph-line);
	border-radius: 8px;
	color: var(--wph-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wph-mock-search b,
.wph-mock-dates b {
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--wph-accent);
	color: #fff;
	font-size: 0.8rem;
	white-space: nowrap;
}

.wph-mock-count {
	margin: 16px 4px 12px !important;
	color: var(--wph-muted);
	font-size: 0.85rem;
}

.wph-mock-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.wph-mock-cards div {
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--wph-shadow);
}

.wph-mock-cards i {
	display: block;
	aspect-ratio: 16 / 8;
	background-position: center 30%;
	background-size: cover;
}

.wph-mock-cards strong,
.wph-mock-cards span {
	display: block;
	padding: 0 12px;
}

.wph-mock-cards strong {
	padding-top: 10px;
	color: var(--wph-ink);
	font-size: 0.85rem;
}

.wph-mock-cards span {
	padding-bottom: 12px;
	color: var(--wph-muted);
	font-size: 0.78rem;
}

.wph-mock-dates {
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--wph-shadow);
}

.wph-mock-dates div {
	display: grid;
	grid-template-columns: 1fr auto 86px;
	gap: 12px;
	align-items: center;
	padding: 14px 18px;
	border-top: 1px solid var(--wph-line);
}

.wph-mock-dates div:first-child {
	border-top: 0;
}

.wph-mock-dates strong,
.wph-mock-dates small {
	display: block;
}

.wph-mock-dates strong {
	color: var(--wph-ink);
}

.wph-mock-dates small {
	color: var(--wph-muted);
	font-size: 0.75rem;
}

.wph-mock-dates em {
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 700;
	white-space: nowrap;
}

.wph-mock-dates b {
	text-align: center;
}

.wph-mock-dates .is-ok {
	background: #e7f6ee;
	color: #17643d;
}

.wph-mock-dates .is-low {
	background: color-mix(in srgb, var(--wph-accent) 12%, #fff);
	color: color-mix(in srgb, var(--wph-accent) 80%, #000);
}

.wph-mock-dates .is-out {
	background: var(--wph-soft);
	color: var(--wph-muted);
}

.wph-mock-itin {
	position: relative;
	margin: 0;
	padding: 22px 22px 22px 54px;
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--wph-shadow);
	list-style: none;
}

.wph-mock-itin::before {
	content: "";
	position: absolute;
	top: 30px;
	bottom: 30px;
	left: 29px;
	width: 2px;
	background: var(--wph-line);
}

.wph-mock-itin li {
	position: relative;
	padding-bottom: 18px;
}

.wph-mock-itin li:last-child {
	padding-bottom: 0;
}

.wph-mock-itin li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: -32px;
	width: 14px;
	height: 14px;
	border: 3px solid var(--wph-accent);
	border-radius: 50%;
	background: #fff;
}

.wph-mock-itin small,
.wph-mock-itin strong,
.wph-mock-itin span {
	display: block;
}

.wph-mock-itin small {
	color: var(--wph-accent);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wph-mock-itin strong {
	color: var(--wph-ink);
	font-size: 1rem;
}

.wph-mock-itin span {
	color: var(--wph-muted);
}

.wph-mock-inbox {
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--wph-shadow);
}

.wph-mock-inbox div {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 14px 18px;
	border-top: 1px solid var(--wph-line);
}

.wph-mock-inbox div:first-child {
	border-top: 0;
}

.wph-mock-inbox b {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wph-primary) 12%, #fff);
	color: var(--wph-primary);
	font-size: 0.8rem;
}

.wph-mock-inbox strong,
.wph-mock-inbox small {
	display: block;
}

.wph-mock-inbox strong {
	color: var(--wph-ink);
}

.wph-mock-inbox small {
	color: var(--wph-muted);
	font-size: 0.78rem;
}

.wph-mock-inbox em {
	padding: 3px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wph-accent) 12%, #fff);
	color: color-mix(in srgb, var(--wph-accent) 80%, #000);
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 700;
}

.wph-extras {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--wph-line);
	border-radius: var(--wph-radius);
	background: var(--wph-soft);
	list-style: none;
}

.wph-extras li {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--wph-ink);
	font-weight: 600;
}

.wph-extras .wph-icon {
	color: var(--wph-accent);
}

/* Free vs Pro */

.wph-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--wph-line);
	border-radius: var(--wph-radius);
	background: #fff;
	box-shadow: var(--wph-shadow);
}

.wph-compare {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 0.98rem;
}

.wph-compare th,
.wph-compare td {
	padding: 14px 20px;
	border: 0;
	border-top: 1px solid var(--wph-line);
	text-align: center;
	vertical-align: middle;
}

.wph-compare thead th {
	border-top: 0;
	color: var(--wph-ink);
	font-size: 1.05rem;
	font-weight: 800;
}

.wph-compare tbody th {
	color: var(--wph-ink);
	font-weight: 600;
	text-align: left;
}

.wph-compare td {
	width: 22%;
	color: var(--wph-text);
	font-size: 0.92rem;
}

.wph-compare .wph-compare__pro {
	background: color-mix(in srgb, var(--wph-accent) 6%, #fff);
}

.wph-compare thead .wph-compare__pro {
	color: var(--wph-accent);
}

.wph-yes {
	color: #16a34a;
}

.wph-no {
	color: #c3ccd6;
}

/* Pricing */

.wph-plans {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.wph-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 26px;
	border: 1px solid var(--wph-line);
	border-radius: var(--wph-radius);
	background: #fff;
}

.wph-plan h3 {
	margin-bottom: 14px;
	font-size: 1.2rem;
}

.wph-plan__price strong {
	color: var(--wph-ink);
	font-size: 2.6rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}

.wph-plan__price span {
	color: var(--wph-muted);
}

.wph-plan__sites {
	margin: 8px 0 22px !important;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--wph-line);
	color: var(--wph-muted);
	font-size: 0.92rem;
}

.wph-plan .wph-ticks {
	flex: 1;
	margin-bottom: 26px;
	font-size: 0.95rem;
}

.wph-plan--featured {
	border: 0;
	background: linear-gradient(165deg, var(--wph-night), #0d2c3d);
	box-shadow: 0 30px 60px rgba(7, 21, 33, 0.3), 0 0 0 2px var(--wph-accent);
	color: #c4d3e0;
}

.wph-plan--featured h3,
.wph-plan--featured .wph-plan__price strong,
.wph-plan--featured .wph-ticks li {
	color: #fff;
}

.wph-plan--featured .wph-plan__price span,
.wph-plan--featured .wph-plan__sites {
	color: #93a8ba;
}

.wph-plan--featured .wph-plan__sites {
	border-color: rgba(255, 255, 255, 0.12);
}

.wph-plan--featured .wph-ticks .wph-icon {
	color: #4ade80;
}

.wph-plan--featured .wph-btn--soon {
	border-color: rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.08);
	color: #c4d3e0;
}

.wph-plan__flag {
	position: absolute;
	top: -13px;
	left: 26px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--wph-accent);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wph-plans__note {
	margin-top: 28px !important;
	color: var(--wph-muted);
	text-align: center;
}

/* Page content added in the editor */

.wph .wph-content > * + * {
	margin-top: 1em;
}

/* FAQ */

.wph-faq {
	display: grid;
	gap: 12px;
}

.wph-faq details {
	border: 1px solid var(--wph-line);
	border-radius: 14px;
	background: #fff;
	transition: box-shadow 0.2s ease;
}

.wph-faq details[open] {
	box-shadow: var(--wph-shadow);
}

.wph-faq summary {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	color: var(--wph-ink);
	font-size: 1.05rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

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

.wph-faq summary .wph-icon {
	color: var(--wph-accent);
	transition: transform 0.2s ease;
}

.wph-faq details[open] summary .wph-icon {
	transform: rotate(45deg);
}

.wph-faq details p {
	padding: 0 24px 22px;
	color: var(--wph-text);
}

/* Closing call to action */

.wph-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: center;
	justify-content: space-between;
	padding: clamp(36px, 5vw, 64px);
	border-radius: 28px;
	background:
		radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--wph-accent) 35%, transparent), transparent 65%),
		linear-gradient(150deg, var(--wph-night), color-mix(in srgb, var(--wph-primary) 85%, #000));
	color: #c4d3e0;
}

.wph-cta h2 {
	margin-bottom: 8px;
	color: #fff;
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	line-height: 1.15;
}

/* Motion */

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

/* Tablets */

@media (max-width: 1024px) {
	.wph-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.wph-hero__text {
		max-width: 680px;
	}

	.wph-highlights,
	.wph-plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wph-features,
	.wph-extras {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wph-show {
		grid-template-columns: minmax(0, 1fr);
	}

	.wph-show--flip .wph-show__text {
		order: 0;
	}
}

/* Phones */

@media (max-width: 640px) {
	.wph {
		font-size: 16px;
	}

	.wph-container {
		padding: 0 16px;
	}

	.wph-hero__visual {
		padding-bottom: 28px;
	}

	.wph-phone {
		width: 30%;
		border-width: 5px;
		border-radius: 20px;
	}

	.wph-phone img {
		border-radius: 15px;
	}

	.wph-highlights,
	.wph-demos,
	.wph-features,
	.wph-extras,
	.wph-plans {
		grid-template-columns: minmax(0, 1fr);
	}

	.wph-actions .wph-btn {
		flex: 1 1 100%;
	}

	.wph-mock-search {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wph-mock-search b {
		grid-column: 1 / -1;
		text-align: center;
	}

	.wph-mock-dates div {
		grid-template-columns: 1fr auto;
	}

	.wph-mock-dates b,
	.wph-mock-dates i {
		display: none;
	}

	.wph-compare th,
	.wph-compare td {
		padding: 12px;
	}

	.wph-plan--featured {
		margin-top: 8px;
	}
}

/* ==========================================================================
   Product bar: Overview · Live demos · Docs · Changelog
   ========================================================================== */

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

.wph-subnav__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	align-items: center;
	min-height: 56px;
}

.wph .wph-subnav__name {
	color: var(--wph-ink);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.wph-subnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wph-subnav a:not(.wph-subnav__name) {
	display: inline-block;
	padding: 16px 12px;
	border-bottom: 2px solid transparent;
	color: var(--wph-muted);
	font-size: 0.95rem;
	font-weight: 600;
}

.wph-subnav a:not(.wph-subnav__name):hover {
	color: var(--wph-ink);
}

.wph-subnav a[aria-current="page"] {
	border-bottom-color: var(--wph-accent);
	color: var(--wph-ink) !important;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.wph-hero--home {
	padding: clamp(72px, 9vw, 120px) 0;
	text-align: center;
}

.wph-hero--home .wph-container {
	position: relative;
	max-width: 860px;
}

.wph .wph-hero__title--home {
	font-size: clamp(2.6rem, 6.5vw, 4.4rem);
	line-height: 1.04;
}

.wph-hero--home .wph-hero__lead {
	margin-right: auto;
	margin-left: auto;
}

.wph-hero--home .wph-actions {
	justify-content: center;
}

.wph-products {
	display: grid;
	gap: 32px;
}

.wph-product {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	overflow: hidden;
	border: 1px solid var(--wph-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--wph-shadow);
}

.wph-product__media {
	display: block;
	overflow: hidden;
	background: linear-gradient(150deg, var(--wph-night), color-mix(in srgb, var(--wph-primary) 80%, #000));
}

.wph-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
	transition: transform 0.5s ease;
}

.wph-product:hover .wph-product__media img {
	transform: scale(1.03);
}

.wph-product__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4vw, 48px);
}

.wph-product__meta {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 12px !important;
	color: var(--wph-muted);
	font-size: 0.9rem;
	font-weight: 600;
}

.wph-product h3 {
	margin-bottom: 10px;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.wph-product h3 a {
	color: var(--wph-ink);
}

.wph-product__summary {
	margin-bottom: 20px !important;
	color: var(--wph-text);
}

.wph-product__facts {
	display: grid;
	gap: 8px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	color: var(--wph-text);
	font-size: 0.95rem;
}

.wph-product__facts li {
	display: flex;
	gap: 10px;
	align-items: center;
}

.wph-product__facts .wph-icon {
	color: var(--wph-accent);
}

.wph-product__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	align-items: center;
}

.wph-product__links .wph-btn {
	padding: 11px 20px;
	font-size: 0.95rem;
}

.wph-demo-group + .wph-demo-group {
	margin-top: 48px;
}

.wph .wph-demo-group__title {
	margin-bottom: 18px;
	font-size: 1.3rem;
}

.wph-demo-group__title a {
	color: var(--wph-ink);
}

.wph-demos--small {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.wph .wph-demo--small {
	display: block;
	border-radius: 14px;
	color: var(--wph-ink);
}

.wph-demo--small .wph-demo__body {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	font-weight: 700;
}

.wph-help {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.wph-help__links {
	display: grid;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

/* ==========================================================================
   Docs and changelog page heading
   ========================================================================== */

.wph-pagehead {
	padding: clamp(36px, 5vw, 56px) 0;
	border-bottom: 1px solid var(--wph-line);
	background:
		radial-gradient(600px 240px at 100% 0%, color-mix(in srgb, var(--wph-accent) 10%, transparent), transparent 70%),
		var(--wph-soft);
}

.wph-pagehead h1 {
	margin: 10px 0;
	font-size: clamp(2rem, 4vw, 2.8rem);
	line-height: 1.15;
}

.wph-pagehead__lead {
	max-width: 720px;
	color: var(--wph-muted);
	font-size: 1.1rem;
}

.wph-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--wph-muted);
	font-size: 0.9rem;
}

.wph-crumbs a {
	color: var(--wph-primary);
	font-weight: 600;
}

.wph-search {
	display: flex;
	gap: 8px;
	align-items: center;
	max-width: 560px;
	margin-top: 24px;
	padding: 6px 6px 6px 16px;
	border: 1.5px solid var(--wph-line);
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--wph-shadow);
}

.wph-search:focus-within {
	border-color: var(--wph-primary);
}

.wph-search .wph-icon {
	color: var(--wph-muted);
}

.wph .wph-search input {
	flex: 1;
	min-width: 0;
	padding: 8px 4px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--wph-ink);
	font: inherit;
	outline: none;
}

.wph .wph-search button {
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--wph-ink);
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}

/* ==========================================================================
   Docs layout
   ========================================================================== */

.wph-docs__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	padding-top: clamp(36px, 5vw, 56px);
	padding-bottom: clamp(64px, 8vw, 104px);
}

.wph-docs__nav {
	position: sticky;
	top: calc(var(--tl-header-height, 76px) + 24px);
	align-self: start;
	max-height: calc(100vh - var(--tl-header-height, 76px) - 48px);
	overflow-y: auto;
}

.admin-bar .wph-docs__nav {
	top: calc(var(--tl-header-height, 76px) + 56px);
}

.wph-docs__nav-title {
	margin: 0 0 6px !important;
	color: var(--wph-ink);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.wph-docs__nav ul {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.wph-docs__nav a {
	display: block;
	padding: 6px 12px;
	border-left: 2px solid var(--wph-line);
	color: var(--wph-text);
	font-size: 0.93rem;
	line-height: 1.4;
}

.wph-docs__nav a:hover {
	border-left-color: var(--wph-muted);
	color: var(--wph-ink);
}

.wph-docs__nav a[aria-current="page"] {
	border-left-color: var(--wph-accent);
	background: color-mix(in srgb, var(--wph-accent) 6%, #fff);
	color: var(--wph-ink);
	font-weight: 700;
}

.wph-docs__group + .wph-docs__group {
	margin-top: 40px;
}

.wph-docs__group h2,
.wph-docs__results-title {
	margin-bottom: 16px;
	font-size: 1.3rem;
}

.wph-doc-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.wph .wph-doc-card {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--wph-line);
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wph .wph-doc-card:hover {
	border-color: color-mix(in srgb, var(--wph-primary) 40%, var(--wph-line));
	box-shadow: var(--wph-shadow);
	transform: translateY(-2px);
}

.wph-doc-card strong {
	display: block;
	margin-bottom: 4px;
	color: var(--wph-ink);
}

.wph-doc-card span {
	display: block;
	color: var(--wph-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.wph-results {
	display: grid;
	gap: 18px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.wph-results a {
	color: var(--wph-primary);
	font-size: 1.1rem;
	font-weight: 700;
}

.wph-results p {
	color: var(--wph-muted);
}

/* Text of doc pages, written in the block editor. */

.wph-doc-content {
	max-width: 760px;
	color: var(--wph-text);
}

.wph .wph-doc-content > * + * {
	margin-top: 1em;
}

.wph .wph-doc-content h2 {
	margin-top: 2em;
	font-size: 1.5rem;
}

.wph .wph-doc-content h3 {
	margin-top: 1.8em;
	font-size: 1.15rem;
}

.wph .wph-doc-content h2:first-child,
.wph .wph-doc-content h3:first-child {
	margin-top: 0;
}

.wph-doc-content ul,
.wph-doc-content ol {
	padding-left: 1.4em;
}

.wph-doc-content li + li {
	margin-top: 0.4em;
}

.wph-doc-content a {
	color: var(--wph-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wph-doc-content code {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--wph-soft);
	color: var(--wph-ink);
	font-size: 0.88em;
}

.wph-doc-content pre {
	overflow-x: auto;
	padding: 18px 20px;
	border: 0;
	border-radius: 12px;
	background: var(--wph-night);
	color: #e2e8f0;
	font-size: 0.9rem;
	line-height: 1.6;
}

.wph-doc-content pre code {
	padding: 0;
	background: none;
	color: inherit;
}

.wph-doc-content .wph-note {
	padding: 16px 20px;
	border-left: 4px solid var(--wph-accent);
	border-radius: 0 12px 12px 0;
	background: color-mix(in srgb, var(--wph-accent) 7%, #fff);
	color: var(--wph-ink);
}

.wph-docs__edit {
	margin-top: 32px !important;
	font-size: 0.9rem;
}

.wph-pager {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: 760px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--wph-line);
}

.wph .wph-pager a {
	display: block;
	padding: 16px 20px;
	border: 1px solid var(--wph-line);
	border-radius: 14px;
	color: var(--wph-ink);
	font-weight: 700;
	line-height: 1.4;
}

.wph .wph-pager a:hover {
	border-color: var(--wph-primary);
}

.wph-pager small {
	display: block;
	margin-bottom: 4px;
	color: var(--wph-muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.wph-pager__next {
	grid-column: 2;
	text-align: right;
}

/* ==========================================================================
   Changelog
   ========================================================================== */

.wph-changelog__body {
	padding-top: clamp(36px, 5vw, 56px);
	padding-bottom: clamp(64px, 8vw, 104px);
}

.wph-versions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 48px;
	padding: 0;
	list-style: none;
}

.wph .wph-versions a {
	display: block;
	padding: 20px;
	border: 1px solid var(--wph-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--wph-shadow);
	color: var(--wph-text);
}

.wph-versions small,
.wph-versions strong,
.wph-versions span {
	display: block;
}

.wph-versions small {
	color: var(--wph-accent);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wph-versions strong {
	margin: 4px 0;
	color: var(--wph-ink);
	font-size: 1.1rem;
}

.wph-versions span {
	color: var(--wph-muted);
	font-size: 0.92rem;
}

.wph-log + .wph-log {
	margin-top: 48px;
}

.wph-log h2 {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wph-line);
	font-size: 1.5rem;
	scroll-margin-top: calc(var(--tl-header-height, 76px) + 24px);
}

.wph-log h2 small {
	color: var(--wph-muted);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0;
}

.wph-log__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wph-log__list > li {
	position: relative;
	padding: 0 0 28px 28px;
	border-left: 2px solid var(--wph-line);
}

.wph-log__list > li:last-child {
	padding-bottom: 0;
}

.wph-log__list > li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -7px;
	width: 12px;
	height: 12px;
	border: 3px solid var(--wph-accent);
	border-radius: 50%;
	background: #fff;
}

.wph-log__version {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin-bottom: 8px !important;
}

.wph-log__version strong {
	color: var(--wph-ink);
	font-size: 1.15rem;
}

.wph-log__version span {
	color: var(--wph-muted);
	font-size: 0.9rem;
}

.wph-log__list ul {
	margin: 0;
	padding-left: 1.2em;
}

.wph-log__list ul li + li {
	margin-top: 4px;
}

.wph-log code {
	padding: 1px 6px;
	border-radius: 6px;
	background: var(--wph-soft);
	font-size: 0.88em;
}

/* ==========================================================================
   Smaller screens
   ========================================================================== */

@media (max-width: 1024px) {
	.wph-product {
		grid-template-columns: minmax(0, 1fr);
	}

	.wph-demos--small {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wph-help {
		grid-template-columns: minmax(0, 1fr);
	}

	.wph-docs__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.wph-docs__nav {
		position: static;
		max-height: none;
		order: 2;
		padding-top: 32px;
		border-top: 1px solid var(--wph-line);
	}
}

@media (max-width: 640px) {
	.wph-subnav__inner {
		gap: 0 12px;
		padding-top: 10px;
	}

	.wph-subnav a:not(.wph-subnav__name) {
		padding: 10px 8px 12px;
		font-size: 0.9rem;
	}

	.wph-demos--small,
	.wph-doc-cards,
	.wph-versions,
	.wph-pager {
		grid-template-columns: minmax(0, 1fr);
	}

	.wph-pager__next {
		grid-column: auto;
	}

	.wph .wph-search button {
		padding: 10px 14px;
	}
}

.wph-product__more {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin-top: 20px !important;
	padding-top: 18px;
	border-top: 1px solid var(--wph-line);
}

.wph .wph-doc-content h2 + *,
.wph .wph-doc-content h3 + * {
	margin-top: 0.6em;
}
