/* stayputwp.com */

:root {
	--ink: #111318;
	--text: #3d424d;
	--muted: #5b616e;
	--line: #e6e8ec;
	--soft: #f5f6f8;
	--accent: #3858e9;
	--accent-dark: #2a44c2;
	--accent-soft: #eef1ff;
	--yellow: #ffd60a;
	--radius: 16px;
	--display: "Space Grotesk", Inter, system-ui, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
}

a {
	color: var(--accent-dark);
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.12;
}

h1,
h2 {
	font-family: var(--display);
	letter-spacing: -0.02em;
}

p {
	margin: 0;
}

.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 104px 0;
}

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

.eyebrow {
	margin-bottom: 12px;
	color: var(--accent-dark);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.section-title {
	max-width: 760px;
	margin-bottom: 16px;
	font-size: clamp(32px, 4.4vw, 44px);
}

.section-lead {
	max-width: 640px;
	margin-bottom: 56px;
	color: var(--text);
	font-size: 18px;
}

.center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--accent);
	color: #fff;
}

.btn--primary:hover {
	background: var(--accent-dark);
	color: #fff;
}

.btn--secondary {
	background: #fff;
	border-color: #d5d9e0;
	color: var(--ink);
}

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

.btn--dark {
	min-height: 44px;
	padding: 0 20px;
	background: var(--ink);
	color: #fff;
}

.btn--dark:hover {
	background: #2b2f38;
	color: #fff;
}

.btn--block {
	display: flex;
	width: 100%;
}

.btn[aria-disabled="true"] {
	opacity: 0.55;
	pointer-events: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 8px;
}

/* Header */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-family: var(--display);
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
}

.logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
}

.nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	font-size: 15px;
	font-weight: 500;
}

.nav a:not(.btn) {
	color: var(--text);
	text-decoration: none;
}

.nav a:not(.btn):hover {
	color: var(--ink);
}

/* Hero */
.hero {
	background: var(--soft);
}

.hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
	padding-top: 88px;
	padding-bottom: 96px;
}

.hero__copy {
	flex: 1 1 440px;
	min-width: 0;
}

.hero__visual {
	flex: 1 1 460px;
	min-width: 0;
}

.pill {
	display: inline-block;
	margin-bottom: 20px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #e3e8ff;
	color: var(--accent-dark);
	font-size: 14px;
	font-weight: 600;
}

.hero h1 {
	margin-bottom: 20px;
	font-size: clamp(42px, 6vw, 62px);
	line-height: 1.04;
}

.hero__lead {
	max-width: 520px;
	margin-bottom: 32px;
	color: #4a505c;
	font-size: 19px;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.small {
	color: var(--muted);
	font-size: 14px;
}

/* Browser mockup */
.mock {
	overflow: hidden;
	border: 1px solid #e1e4ea;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(17, 19, 24, 0.35);
}

.mock__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border-bottom: 1px solid #eef0f3;
	background: #fafbfc;
}

.mock__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e2e5ea;
}

.mock__url {
	flex: 1;
	height: 22px;
	margin-left: 12px;
	border-radius: 6px;
	background: #f0f2f5;
}

.mock__body {
	display: flex;
	gap: 20px;
	height: 300px;
	padding: 24px;
}

.mock__article {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
}

.line {
	height: 10px;
	border-radius: 4px;
	background: #edeff3;
}

.line--title {
	width: 70%;
	height: 18px;
	background: #d9dde4;
}

.line--img {
	height: 70px;
	margin: 6px 0;
	border-radius: 8px;
	background: #f2f4f7;
}

.mock__side {
	display: flex;
	flex: 0 0 150px;
	flex-direction: column;
	gap: 10px;
}

.mock__box {
	height: 40px;
	border-radius: 8px;
	background: #f2f4f7;
}

.mock__sticky {
	position: relative;
	padding: 14px;
	border-radius: 10px;
	background: var(--yellow);
	box-shadow: 0 10px 24px -12px rgba(17, 19, 24, 0.45);
	animation: float 4s ease-in-out infinite;
}

.mock__sticky strong {
	display: block;
	font-size: 13px;
	line-height: 1.3;
}

.mock__sticky span:not(.mock__pin) {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.35;
}

.mock__pin {
	position: absolute;
	top: -10px;
	right: -10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
}

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

@media (prefers-reduced-motion: reduce) {
	.mock__sticky {
		animation: none;
	}
}

.mock__cart {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--ink);
	color: #fff;
}

.mock__thumb {
	width: 34px;
	height: 34px;
	border-radius: 6px;
	background: #3d424d;
}

.mock__product {
	display: flex;
	flex: 1;
	flex-direction: column;
	line-height: 1.25;
}

.mock__product strong {
	font-size: 13px;
}

.mock__product span {
	color: #c3c8d2;
	font-size: 12px;
}

.mock__buy {
	padding: 8px 14px;
	border-radius: 6px;
	background: var(--yellow);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
}

/* Problem band */
.band {
	background: var(--ink);
	color: #fff;
}

.band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.band p {
	max-width: 760px;
	font-family: var(--display);
	font-size: clamp(21px, 2.6vw, 26px);
	font-weight: 500;
	line-height: 1.35;
}

.band .btn {
	min-height: 48px;
	border-color: #4a505c;
	color: #fff;
}

.band .btn:hover {
	border-color: #fff;
}

/* Feature cards */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

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

.card--soft {
	border: 0;
	background: var(--soft);
}

.card h3 {
	margin-bottom: 8px;
	font-size: 19px;
}

.card p {
	color: #4a505c;
	font-size: 16px;
}

.icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
}

.step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
}

/* Pro rows */
.pro-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	padding: 40px;
	border-radius: 20px;
	background: #fff;
}

.pro__copy,
.pro__demo {
	flex: 1 1 380px;
	min-width: 0;
}

.pro__copy h3 {
	margin-bottom: 12px;
	font-family: var(--display);
	font-size: 28px;
	line-height: 1.2;
}

.pro__copy p {
	margin-bottom: 16px;
	color: #4a505c;
}

.pro__copy ul {
	margin: 0;
	padding-left: 20px;
	color: var(--text);
}

.pro__demo {
	padding: 28px;
	border-radius: 14px;
	background: var(--soft);
}

.demo-cart {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 28px -16px rgba(17, 19, 24, 0.4);
}

.demo-cart__thumb {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: var(--line);
}

.demo-cart__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	line-height: 1.3;
}

.demo-cart__info strong {
	font-size: 15px;
}

.demo-cart__info span {
	color: var(--muted);
	font-size: 14px;
}

.demo-cart__btn {
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.demo-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--ink);
	color: #fff;
	font-size: 15px;
	text-align: center;
}

.demo-bar__btn {
	padding: 8px 14px;
	border-radius: 8px;
	background: var(--yellow);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
}

.demo-kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 12px;
}

.demo-kpi {
	padding: 12px;
	border-radius: 10px;
	background: #fff;
}

.demo-kpi span {
	display: block;
	color: var(--muted);
	font-size: 12px;
}

.demo-kpi strong {
	font-size: 20px;
}

.demo-chart {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 72px;
	padding: 10px;
	border-radius: 10px;
	background: #fff;
}

.demo-chart span {
	flex: 1;
	border-radius: 2px;
	background: var(--accent);
}

.demo-rules {
	padding: 16px;
	border-radius: 12px;
	background: #fff;
	font-size: 14px;
}

.demo-rules strong {
	display: block;
	margin-bottom: 10px;
}

.demo-rules__devices {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 12px;
	color: var(--text);
}

.check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.check::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 1.5px solid #8a909c;
	border-radius: 3px;
}

.check--on::before {
	border-color: var(--accent);
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.demo-rules__range {
	height: 6px;
	margin-top: 6px;
	border-radius: 3px;
	background: linear-gradient(to right, var(--accent) 50%, var(--line) 50%);
}

/* Comparison */
.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.compare {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 16px;
}

.compare th,
.compare td {
	padding: 14px 24px;
	border-bottom: 1px solid #f0f1f4;
	text-align: center;
}

.compare th:first-child,
.compare td:first-child {
	text-align: left;
}

.compare thead th {
	padding-top: 18px;
	padding-bottom: 18px;
	border-bottom-color: var(--line);
}

.compare tbody tr:last-child td {
	border-bottom: 0;
}

.compare .yes {
	color: var(--accent);
	font-weight: 700;
}

.compare .no {
	color: #8a909c;
}

.compare .pro-col {
	color: var(--accent-dark);
}

/* Pricing */
.prices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	align-items: stretch;
}

.price {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
}

.price--featured {
	border: 2px solid var(--accent);
	box-shadow: 0 24px 48px -28px rgba(56, 88, 233, 0.55);
}

.price__badge {
	position: absolute;
	top: -14px;
	left: 32px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.price h3 {
	margin-bottom: 4px;
	font-size: 20px;
}

.price__sites {
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 15px;
}

.price__amount {
	margin-bottom: 24px;
	color: var(--muted);
}

.price__amount strong {
	color: var(--ink);
	font-family: var(--display);
	font-size: 46px;
	font-weight: 700;
}

.price ul {
	flex: 1;
	margin: 0 0 28px;
	padding-left: 20px;
	color: var(--text);
	font-size: 16px;
}

.guarantee {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 20px;
	margin-top: 28px;
	color: var(--muted);
	font-size: 15px;
}

.guarantee span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* FAQ */
.faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq details {
	padding: 20px 24px;
	border-radius: 14px;
	background: #fff;
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

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

.faq summary::after {
	content: "+";
	flex: 0 0 auto;
	color: var(--accent);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}

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

.faq details p {
	margin-top: 12px;
	color: #4a505c;
}

/* Final CTA */
.cta {
	background: var(--accent);
	color: #fff;
}

.cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-top: 88px;
	padding-bottom: 88px;
}

.cta h2 {
	margin-bottom: 10px;
	font-size: clamp(30px, 4vw, 40px);
}

.cta p {
	color: #e3e8ff;
	font-size: 18px;
}

.cta .btn--white {
	background: #fff;
	color: #1d3399;
}

.cta .btn--white:hover {
	background: #eef1ff;
	color: #1d3399;
}

.cta .btn--outline {
	border-color: #afc0ff;
	color: #fff;
}

.cta .btn--outline:hover {
	border-color: #fff;
	color: #fff;
}

/* Footer */
.footer {
	background: var(--ink);
	color: #a9afba;
	font-size: 14px;
}

.footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 32px;
	padding-bottom: 32px;
}

.footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer a {
	color: #d5d9e0;
}

/* Legal pages */
.legal {
	max-width: 760px;
	padding: 72px 24px 104px;
	margin: 0 auto;
}

.legal h1 {
	margin-bottom: 8px;
	font-size: 40px;
}

.legal h2 {
	margin: 40px 0 12px;
	font-size: 24px;
}

.legal p,
.legal li {
	color: var(--text);
}

.legal p + p {
	margin-top: 12px;
}

.legal .updated {
	margin-bottom: 32px;
	color: var(--muted);
	font-size: 15px;
}

/* Small screens */
@media (max-width: 720px) {
	.section {
		padding: 72px 0;
	}

	.nav {
		gap: 16px;
	}

	.nav .nav__link {
		display: none;
	}

	.hero__inner {
		padding-top: 56px;
		padding-bottom: 64px;
		gap: 40px;
	}

	.compare {
		min-width: 0;
		font-size: 15px;
	}

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

	.compare th:first-child,
	.compare td:first-child {
		padding-left: 16px;
	}

	.mock__side {
		flex-basis: 120px;
	}

	.pro {
		padding: 24px;
		gap: 24px;
	}

	.section-lead {
		margin-bottom: 40px;
	}

	.demo-cart__thumb {
		display: none;
	}
}

/* Skip link */
.skip {
	position: absolute;
	top: 12px;
	left: -9999px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.skip:focus {
	left: 12px;
}

/* Mobile: Pro demos with more room */
@media (max-width: 720px) {
	.pro__demo { padding: 16px; }
	.demo-kpis { gap: 8px; }
	.demo-kpi { padding: 10px 12px; }
	.demo-kpi span { font-size: 11px; white-space: nowrap; }
	.demo-kpi strong { font-size: 17px; white-space: nowrap; }
	.demo-cart { flex-wrap: wrap; }
	.demo-cart__info { min-width: 0; }
	.demo-cart__btn { flex: 1 0 100%; text-align: center; }
	.demo-bar { font-size: 14px; }
}
