/* NovaNetFlow — main styles */

:root {
	--hp-ink: #0f172a;
	--hp-ink-2: #334155;
	--hp-muted: #64748b;
	--hp-bg: #ffffff;
	--hp-bg-alt: #f5f7fb;
	--hp-line: #e2e8f0;
	--hp-primary: #4f6bff;
	--hp-primary-dark: #3a52e0;
	--hp-accent: #14c8a0;
	--hp-dark: #0b1024;
	--hp-danger: #e11d48;
	--hp-warn: #b45309;
	--hp-radius: 14px;
	--hp-radius-sm: 10px;
	--hp-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
	--hp-shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
	--hp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--hp-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--hp-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--hp-ink);
	background: var(--hp-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hp-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: #fff; border-radius: 8px;
}

.hp-container { width: 100%; max-width: var(--hp-max); margin: 0 auto; padding: 0 24px; }
.hp-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.hp-center { text-align: center; }
.hp-muted { color: var(--hp-muted); }
.hp-lead { font-size: 1.15rem; color: var(--hp-ink-2); }
.hp-content { padding: 64px 24px; }
.hp-prose { max-width: 760px; margin: 0 auto; }

/* Buttons */
.hp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
	font: 600 .95rem/1.2 var(--hp-font); cursor: pointer; text-decoration: none !important;
	transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s;
}
.hp-btn:active { transform: translateY(1px); }
.hp-btn--primary { background: var(--hp-primary); color: #fff; box-shadow: 0 6px 16px rgba(79, 107, 255, .3); }
.hp-btn--primary:hover { background: var(--hp-primary-dark); }
.hp-btn--ghost { background: transparent; color: var(--hp-ink); border-color: var(--hp-line); }
.hp-btn--ghost:hover { border-color: var(--hp-ink-2); }
.hp-btn--light { background: #fff; color: var(--hp-dark); }
.hp-btn--lg { padding: 14px 26px; font-size: 1.02rem; }
.hp-btn--block { width: 100%; }
.hp-btn:disabled, .hp-btn.is-loading { opacity: .65; cursor: wait; }
.hp-link { font-weight: 600; }

/* Header */
.hp-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--hp-line);
}
.admin-bar .hp-header { top: 32px; }
.hp-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.hp-brand__name { font-weight: 800; font-size: 1.25rem; color: var(--hp-ink); letter-spacing: -.02em; }
.hp-brand .custom-logo { max-height: 40px; width: auto; }
.hp-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.hp-menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.hp-menu a { color: var(--hp-ink-2); font-weight: 500; }
.hp-menu a:hover { color: var(--hp-ink); text-decoration: none; }
.hp-menu .sub-menu { display: none; }
.hp-nav__actions { display: flex; gap: 10px; }
.hp-nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.hp-nav-toggle span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--hp-ink); border-radius: 2px; }

@media (max-width: 860px) {
	.admin-bar .hp-header { top: 46px; }
	.hp-nav-toggle { display: block; }
	.hp-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 20px 24px; background: #fff; border-bottom: 1px solid var(--hp-line);
		box-shadow: var(--hp-shadow);
	}
	.hp-nav.is-open { display: flex; }
	.hp-menu { flex-direction: column; gap: 12px; }
	.hp-nav__actions { flex-direction: column; }
}

/* Hero */
.hp-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(800px 400px at 85% 10%, rgba(20, 200, 160, .25), transparent 60%),
		radial-gradient(700px 500px at 10% 90%, rgba(79, 107, 255, .35), transparent 60%),
		var(--hp-dark);
	padding: 96px 0 104px;
}
.hp-hero__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hp-hero h1 { color: #fff; }
.hp-hero .hp-lead { color: #c7d0ea; max-width: 34em; }
.hp-eyebrow {
	display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px;
	font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	background: rgba(255, 255, 255, .08); color: #a9f0dd; border: 1px solid rgba(255, 255, 255, .12);
}
.hp-quickstart { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hp-quickstart .hp-address { flex: 1 1 320px; background: #fff; }

.hp-mock {
	background: #fff; border-radius: 16px; box-shadow: var(--hp-shadow-lg);
	transform: rotate(-2deg); overflow: hidden;
}
.hp-mock__bar { display: flex; gap: 6px; padding: 12px 14px; background: #eef1f7; }
.hp-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd3e1; }
.hp-mock__body { padding: 26px; }
.hp-mock__line { height: 12px; border-radius: 6px; background: #e8ecf4; margin-bottom: 12px; }
.hp-mock__line--lg { height: 22px; width: 70%; background: linear-gradient(90deg, var(--hp-primary), var(--hp-accent)); opacity: .85; }
.hp-mock__line--sm { width: 45%; }
.hp-mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.hp-mock__grid div { aspect-ratio: 4 / 3; border-radius: 10px; background: #eef1f7; }

@media (max-width: 900px) {
	.hp-hero { padding: 64px 0 72px; }
	.hp-hero__inner { grid-template-columns: 1fr; }
	.hp-hero__visual { display: none; }
}

/* Address input */
.hp-address {
	display: flex; align-items: stretch; border: 1px solid var(--hp-line); border-radius: var(--hp-radius-sm);
	overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.hp-address:focus-within { border-color: var(--hp-primary); box-shadow: 0 0 0 4px rgba(79, 107, 255, .15); }
.hp-address__fix {
	display: flex; align-items: center; padding: 0 12px; background: var(--hp-bg-alt);
	color: var(--hp-muted); font-size: .92rem; white-space: nowrap;
}
.hp-address input {
	flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 12px;
	font: 600 1rem var(--hp-font); color: var(--hp-ink); background: transparent;
}

/* Sections */
.hp-section { padding: 88px 0; }
.hp-section--alt { background: var(--hp-bg-alt); }
.hp-section--tight { padding: 56px 0 88px; }
.hp-section__title { text-align: center; margin-bottom: 44px; }
.hp-section__title--left { text-align: left; margin: 48px 0 24px; }
.hp-page-head { margin-bottom: 36px; }
.hp-page-head--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Features */
.hp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp-feature { padding: 28px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; }
.hp-feature__icon {
	display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px;
	font-size: 1.35rem; border-radius: 12px; background: var(--hp-bg-alt);
}
.hp-feature p { margin: 0; }
@media (max-width: 900px) { .hp-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hp-features { grid-template-columns: 1fr; } }

/* Pricing */
.hp-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.hp-plan {
	position: relative; display: flex; flex-direction: column; padding: 32px;
	background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow);
}
.hp-plan.is-featured { border: 2px solid var(--hp-primary); transform: translateY(-8px); box-shadow: var(--hp-shadow-lg); }
.hp-plan__badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700;
	background: var(--hp-primary); color: #fff; white-space: nowrap;
}
.hp-plan__name { color: var(--hp-ink-2); }
.hp-plan__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 18px; }
.hp-plan__price span { font-size: 1rem; font-weight: 500; color: var(--hp-muted); margin-left: 4px; }
.hp-plan__features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.hp-plan__features li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid var(--hp-line); }
.hp-plan__features li::before {
	content: "✓"; position: absolute; left: 4px; top: 7px; color: var(--hp-accent); font-weight: 800;
}

/* Themes */
.hp-theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-bottom: 36px; }
.hp-theme-card { border: 1px solid var(--hp-line); border-radius: var(--hp-radius); overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.hp-theme-card:hover { box-shadow: var(--hp-shadow-lg); transform: translateY(-3px); }
.hp-theme-card__shot { aspect-ratio: 4 / 3; background: var(--hp-bg-alt); overflow: hidden; }
.hp-theme-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hp-theme-card__placeholder {
	display: grid; place-items: center; width: 100%; height: 100%; min-height: 90px;
	font-size: 2.4rem; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, var(--hp-primary), var(--hp-accent));
}
.hp-theme-card__body { padding: 18px 20px 22px; }
.hp-theme-card__body p { font-size: .92rem; }

/* Plugins */
.hp-plugin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.hp-card { padding: 24px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; }
.hp-plugin p { font-size: .92rem; }
.hp-tag {
	display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600;
	background: rgba(79, 107, 255, .1); color: var(--hp-primary-dark);
}

/* CTA */
.hp-cta { padding: 88px 0; color: #fff; background: linear-gradient(120deg, var(--hp-primary), #6d4bff 55%, var(--hp-accent)); }
.hp-cta h2 { color: #fff; }
.hp-cta .hp-lead { color: rgba(255, 255, 255, .85); margin-bottom: 28px; }

/* Signup form */
.hp-signup { display: grid; gap: 24px; }
.hp-step {
	margin: 0; padding: 28px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
	background: #fff; box-shadow: var(--hp-shadow);
}
.hp-step legend { padding: 0 8px; margin-left: -8px; font-weight: 700; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.hp-step__num {
	display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--hp-primary); color: #fff; font-size: .85rem;
}
.hp-label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: .95rem; }
.hp-label:first-of-type { margin-top: 4px; }
.hp-input {
	width: 100%; padding: 12px 14px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius-sm);
	font: 1rem var(--hp-font); color: var(--hp-ink); background: #fff;
}
.hp-input:focus { outline: 0; border-color: var(--hp-primary); box-shadow: 0 0 0 4px rgba(79, 107, 255, .15); }
.hp-help { margin: 6px 0 0; font-size: .86rem; color: var(--hp-muted); }
.hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .hp-row { grid-template-columns: 1fr; } }
.hp-field-error { margin: 6px 0 0; color: var(--hp-danger); font-size: .88rem; font-weight: 500; }
.hp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hp-choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.hp-choice-grid--themes { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.hp-choice { position: relative; cursor: pointer; }
.hp-choice input { position: absolute; opacity: 0; pointer-events: none; }
.hp-choice__box {
	display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px;
	border: 2px solid var(--hp-line); border-radius: var(--hp-radius-sm); transition: border-color .15s, box-shadow .15s;
}
.hp-choice__box--theme { padding: 8px; gap: 8px; }
.hp-choice__box--theme img, .hp-choice__box--theme .hp-theme-card__placeholder { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: top; border-radius: 6px; }
.hp-choice__box--theme strong { padding: 0 4px 4px; font-size: .92rem; }
.hp-choice__price { font-weight: 700; color: var(--hp-primary-dark); }
.hp-choice:hover .hp-choice__box { border-color: #c3cbe0; }
.hp-choice input:checked + .hp-choice__box { border-color: var(--hp-primary); box-shadow: 0 0 0 4px rgba(79, 107, 255, .12); }
.hp-choice input:focus-visible + .hp-choice__box { outline: 2px solid var(--hp-primary); outline-offset: 2px; }

.hp-plugin-list { display: grid; gap: 10px; }
.hp-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.hp-check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--hp-primary); flex: none; }
.hp-check > span { display: flex; flex-direction: column; }
.hp-check .hp-muted { font-size: .88rem; }
.hp-plugin-list .hp-check { padding: 12px 14px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius-sm); }
.hp-terms { padding: 0 4px; }

/* Notices / results */
.hp-notice { padding: 14px 18px; border-radius: var(--hp-radius-sm); margin-bottom: 20px; font-weight: 500; }
.hp-notice--error { background: #fff1f3; color: var(--hp-danger); border: 1px solid #fecdd6; }
.hp-notice--warn { background: #fffbeb; color: var(--hp-warn); border: 1px solid #fde68a; }
.hp-result {
	text-align: center; padding: 56px 32px; border: 1px solid var(--hp-line);
	border-radius: var(--hp-radius); background: #fff; box-shadow: var(--hp-shadow);
}
.hp-result__icon { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.hp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* My Sites */
.hp-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.hp-site {
	display: flex; flex-direction: column; gap: 16px; padding: 24px;
	border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; box-shadow: var(--hp-shadow);
}
.hp-site__head { display: flex; gap: 14px; align-items: center; min-width: 0; }
.hp-site__head > div { min-width: 0; }
.hp-site__head a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.hp-site__avatar {
	flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
	font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--hp-primary), var(--hp-accent));
}
.hp-site__name { margin: 0; font-size: 1.1rem; }
.hp-site__meta { display: flex; gap: 12px; align-items: center; list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.hp-site__actions { display: flex; gap: 10px; margin-top: auto; }

.hp-login form p { margin: 0 0 12px; }
.hp-login label { display: block; font-weight: 600; margin-bottom: 4px; }
.hp-login input[type="text"], .hp-login input[type="password"] {
	width: 100%; padding: 12px 14px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius-sm); font: 1rem var(--hp-font);
}
.hp-login input[type="submit"] {
	padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--hp-primary); color: #fff; font: 600 1rem var(--hp-font);
}

/* Blog list */
.hp-post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.hp-post-card img { border-radius: var(--hp-radius-sm); margin-bottom: 14px; }
.hp-post-card h2 { font-size: 1.3rem; }
.hp-post-card h2 a { color: var(--hp-ink); }

/* Footer */
.hp-footer { padding: 48px 0; background: var(--hp-dark); color: #c7d0ea; }
.hp-footer__inner { display: flex; gap: 32px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.hp-footer__brand { color: #fff; font-size: 1.1rem; }
.hp-footer .hp-muted { color: #8c96b5; margin: 6px 0 0; }
.hp-footer__menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.hp-footer__menu a { color: #c7d0ea; }
.hp-footer__copy { width: 100%; font-size: .88rem; }

/* wp-activate.php / wp-signup.php use this theme's header and footer */
.wp-activate-container, #signup-content { max-width: 640px; margin: 56px auto; padding: 32px; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow); background: #fff; }
.wp-activate-container h2, #signup-content h2 { margin-top: 0; }
.hp-page-head .hp-actions { margin-top: 0; }
.hp-choice__trial { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #e0e7ff; color: #3730a3; font-size: .75rem; font-weight: 600; }
