/* Planwise landing — Aikeedo-inspired centered marketing layout */

:root {
	--pw-ink: #0f172a;
	--pw-ink-soft: #334155;
	--pw-muted: #64748b;
	--pw-line: #e5e7eb;
	--pw-surface: #f4f5f7;
	--pw-white: #ffffff;
	--pw-teal: #0d9488;
	--pw-teal-soft: #ccfbf1;
	--pw-font: "DM Sans", system-ui, -apple-system, sans-serif;
	--pw-display: "Newsreader", Georgia, "Times New Roman", serif;
	--pw-radius: 1.25rem;
	--pw-radius-lg: 1.75rem;
	--pw-max: 68rem; /* outer blueprint frame (rails + rule dots) */
	--pw-content: 58rem; /* matches floating header shell */
	--pw-gutter: clamp(1.75rem, 6vw, 4.5rem);
	--pw-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--pw-nav-offset: 5.5rem;
}

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

html {
	scroll-behavior: smooth;
}

body.pw-landing {
	margin: 0;
	font-family: var(--pw-font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--pw-ink);
	background: var(--pw-white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pw-skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 200;
	padding: 0.65rem 1rem;
	background: var(--pw-ink);
	color: #fff;
	border-radius: 999px;
	font-size: 0.875rem;
}

.pw-skip-link:focus {
	top: 1rem;
}

.pw-container {
	/* Align with header bar; rails stay on --pw-max. */
	width: min(100% - (var(--pw-gutter) * 2), var(--pw-content));
	margin-inline: auto;
}

/* Blueprint rails + section rules */

.pw-body {
	position: relative;
}

.pw-rail {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #dbe0e6;
	pointer-events: none;
	z-index: 2;
}

.pw-rail--l {
	left: max(var(--pw-gutter), calc(50% - (var(--pw-max) / 2)));
}

.pw-rail--r {
	left: min(calc(100% - var(--pw-gutter)), calc(50% + (var(--pw-max) / 2)));
}

.pw-rule {
	position: relative;
	z-index: 3;
	height: 0;
	margin: 0;
	pointer-events: none;
}

.pw-rule__line {
	/* Full-bleed — padding sits outside the frame, like Aikeedo. */
	display: block;
	width: 100%;
	height: 1px;
	margin: 0;
	background: #dbe0e6;
}

.pw-rule__dot {
	position: absolute;
	top: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #c5cbd4;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 3px var(--pw-white);
}

.pw-rule__dot--l {
	left: max(var(--pw-gutter), calc(50% - (var(--pw-max) / 2)));
}

.pw-rule__dot--r {
	left: min(calc(100% - var(--pw-gutter)), calc(50% + (var(--pw-max) / 2)));
}

/* Buttons — pill */

.pw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid transparent;
	transition: transform 0.2s var(--pw-ease), background 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
}

.pw-btn--sm {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

.pw-btn--lg {
	padding: 0.95rem 1.5rem;
	font-size: 1rem;
}

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

.pw-btn--primary:hover {
	background: #1e293b;
	transform: translateY(-1px);
}

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

.pw-btn--secondary:hover {
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

/* Announcement bar */

.pw-announce {
	background: var(--pw-ink);
	color: #e2e8f0;
	font-size: 0.8125rem;
	text-align: center;
}

.pw-announce__inner {
	width: min(100% - (var(--pw-gutter) * 2), var(--pw-content));
	margin-inline: auto;
	padding: 0.55rem 0;
}

.pw-announce a {
	color: #fff;
	font-weight: 500;
}

.pw-announce a:hover {
	text-decoration: underline;
}

/* Floating pill nav */

.pw-nav {
	position: sticky;
	top: 0.75rem;
	z-index: 50;
	padding: 0 var(--pw-gutter);
	pointer-events: none;
}

.pw-nav__shell {
	pointer-events: auto;
	width: min(100%, var(--pw-content));
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0.5rem 0.45rem 1rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--pw-line);
	border-radius: 999px;
	box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
	backdrop-filter: blur(12px);
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pw-nav.is-scrolled .pw-nav__shell {
	box-shadow: 0 14px 36px -16px rgba(15, 23, 42, 0.4);
	border-color: #d1d5db;
}

.pw-nav__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.pw-nav__mark {
	width: 26px;
	height: 26px;
}

.pw-nav__wordmark {
	font-family: var(--pw-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1;
}

.pw-nav__menu {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex: 1;
	justify-content: flex-end;
}

.pw-nav__links {
	display: flex;
	align-items: center;
	gap: 1.15rem;
}

.pw-nav__links a {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--pw-ink-soft);
}

.pw-nav__links a:hover {
	color: var(--pw-ink);
}

.pw-nav__toggle {
	display: none;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--pw-surface);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.pw-nav__burger,
.pw-nav__burger::before,
.pw-nav__burger::after {
	display: block;
	width: 1rem;
	height: 1.5px;
	background: var(--pw-ink);
	border-radius: 2px;
	position: relative;
}

.pw-nav__burger::before,
.pw-nav__burger::after {
	content: "";
	position: absolute;
	left: 0;
}

.pw-nav__burger::before {
	top: -5px;
}

.pw-nav__burger::after {
	top: 5px;
}

/* Hero — centered */

.pw-hero {
	position: relative;
	padding: 3.5rem 0 0;
	overflow: hidden;
	text-align: center;
}

.pw-hero__grid-bg {
	position: absolute;
	inset: 0 0 35% 0;
	background-color: #fff;
	background-image:
		linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(ellipse 70% 65% at 50% 20%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 20%, #000 20%, transparent 75%);
	pointer-events: none;
}

.pw-hero__grid-bg::before,
.pw-hero__grid-bg::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	box-shadow:
		144px 144px 0 #e2e8f0,
		288px 72px 0 #e2e8f0,
		432px 216px 0 #cbd5e1,
		calc(100% - 160px) 96px 0 #e2e8f0,
		calc(100% - 80px) 240px 0 #cbd5e1;
}

.pw-hero__grid-bg::before {
	top: 18%;
	left: 18%;
}

.pw-hero__grid-bg::after {
	top: 28%;
	left: 12%;
	opacity: 0;
}

.pw-hero__content {
	position: relative;
	max-width: 46rem;
	padding-top: 1rem;
}

.pw-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1.25rem;
	padding: 0.4rem 0.9rem 0.4rem 0.55rem;
	border-radius: 999px;
	background: var(--pw-surface);
	border: 1px solid var(--pw-line);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--pw-ink-soft);
}

.pw-pill__dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--pw-teal);
	box-shadow: 0 0 0 3px var(--pw-teal-soft);
}

.pw-hero__title {
	margin: 0 auto 1.1rem;
	max-width: 20ch;
	font-family: var(--pw-font);
	font-size: clamp(1.85rem, 3.8vw, 2.85rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.pw-hero__lead {
	margin: 0 auto 1.75rem;
	max-width: 38rem;
	font-size: 1.125rem;
	color: var(--pw-ink-soft);
}

.pw-hero__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 3rem;
}

.pw-hero__shot {
	position: relative;
	width: min(100% - (var(--pw-gutter) * 2), var(--pw-content));
	margin: 0 auto;
}

.pw-hero__shot-frame {
	border-radius: var(--pw-radius-lg) var(--pw-radius-lg) 0 0;
	overflow: hidden;
	border: 1px solid var(--pw-line);
	border-bottom: 0;
	box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.35);
	background: #fff;
}

.pw-hero__shot-frame img {
	width: 100%;
}

/* Shared section bits */

.pw-section {
	padding: 5.5rem 0;
}

.pw-section__center {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto 2.75rem;
}

.pw-kicker {
	margin: 0 0 0.65rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--pw-muted);
}

.pw-h2 {
	margin: 0 0 0.85rem;
	font-family: var(--pw-font);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.pw-lead {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--pw-ink-soft);
}

/* Intro + steps */

.pw-intro__head {
	text-align: center;
	max-width: 40rem;
	margin-bottom: 2.5rem;
}

.pw-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	padding: 1.75rem;
	background: var(--pw-surface);
	border-radius: var(--pw-radius-lg);
	position: relative;
}

.pw-steps::before {
	content: "";
	position: absolute;
	top: 3.35rem;
	left: 12%;
	right: 12%;
	height: 1px;
	background: #d1d5db;
	pointer-events: none;
}

.pw-step {
	position: relative;
	text-align: center;
	padding: 0.25rem 0.35rem 0.5rem;
}

.pw-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--pw-line);
	color: var(--pw-ink);
	position: relative;
	z-index: 1;
}

.pw-step__num {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--pw-muted);
}

.pw-step__title {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	font-weight: 650;
	letter-spacing: -0.015em;
}

.pw-step__text {
	margin: 0 0 0.9rem;
	font-size: 0.9rem;
	color: var(--pw-ink-soft);
	line-height: 1.5;
}

.pw-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
}

.pw-tags li {
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--pw-line);
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--pw-ink-soft);
}

/* Compare — sales block */

.pw-compare__head {
	max-width: 40rem;
	margin: 0 0 2.5rem;
}

.pw-compare__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--pw-line);
	color: var(--pw-ink-soft);
	background: #fff;
}

.pw-compare__table-wrap {
	margin: 0 0 1.75rem;
	overflow-x: auto;
}

.pw-compare__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.pw-compare__table th,
.pw-compare__table td {
	padding: 1rem 1.1rem;
	border: 1px solid var(--pw-line);
	text-align: left;
	vertical-align: top;
}

.pw-compare__table thead th {
	background: var(--pw-surface);
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--pw-muted);
}

.pw-compare__table tbody th {
	font-weight: 700;
	color: var(--pw-ink);
	white-space: nowrap;
}

.pw-compare__table tr.is-accent th,
.pw-compare__table tr.is-accent td {
	background: #f0fdfa;
	border-color: rgba(13, 148, 136, 0.35);
}

.pw-compare__table tr.is-accent th {
	color: var(--pw-teal);
}

.pw-compare__method {
	margin: 0.85rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--pw-muted);
	max-width: 52rem;
}

.pw-compare__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.25rem;
}

.pw-compare__save {
	margin: 0;
	max-width: 36rem;
	font-size: 1.05rem;
	font-weight: 650;
	letter-spacing: -0.02em;
	color: var(--pw-ink);
}

/* Docs pages */

.pw-docs {
	padding-bottom: 2rem;
}

.pw-docs__layout {
	display: grid;
	grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
	gap: 2.5rem;
	padding: 3rem 0 4rem;
	align-items: start;
}

.pw-docs__nav .pw-kicker {
	margin-bottom: 0.85rem;
}

.pw-docs__nav ul {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.pw-docs__nav a {
	display: block;
	padding: 0.4rem 0.65rem;
	border-radius: 0.5rem;
	font-size: 0.925rem;
	color: var(--pw-ink-soft);
}

.pw-docs__nav a:hover,
.pw-docs__nav a.is-active {
	background: var(--pw-surface);
	color: var(--pw-ink);
	font-weight: 600;
}

.pw-docs__nav-foot {
	margin: 1.25rem 0 0;
	font-size: 0.875rem;
}

.pw-docs__nav-foot a {
	color: var(--pw-teal);
	font-weight: 600;
}

.pw-docs__content {
	min-width: 0;
}

.pw-docs__content h1 {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	letter-spacing: -0.03em;
}

.pw-docs__content h2 {
	margin: 2rem 0 0.75rem;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.pw-docs__content h3 {
	margin: 1.5rem 0 0.5rem;
	font-size: 1.05rem;
}

.pw-docs__content p,
.pw-docs__content li {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--pw-ink-soft);
}

.pw-docs__content ul,
.pw-docs__content ol {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
	list-style: disc;
}

.pw-docs__content ol {
	list-style: decimal;
}

.pw-docs__content a {
	color: var(--pw-teal);
	font-weight: 560;
}

.pw-docs__content pre {
	overflow-x: auto;
	padding: 1rem 1.15rem;
	border-radius: var(--pw-radius);
	background: var(--pw-surface);
	border: 1px solid var(--pw-line);
	font-size: 0.875rem;
}

.pw-docs__table-wrap {
	overflow-x: auto;
	margin: 1rem 0 1.5rem;
}

.pw-docs__content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.925rem;
}

.pw-docs__content th,
.pw-docs__content td {
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--pw-line);
	text-align: left;
}

.pw-docs__content thead th {
	background: var(--pw-surface);
}

/* Audience */

.pw-audience {
	background: #fff;
}

.pw-audience__head {
	max-width: 40rem;
	margin: 0 0 2.75rem;
}

.pw-audience__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--pw-line);
	color: var(--pw-ink-soft);
	background: #fff;
}

.pw-audience__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 2.5rem;
	margin-bottom: 3.5rem;
}

.pw-audience__grid li {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.pw-audience__glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	color: var(--pw-ink);
}

.pw-audience__grid h3 {
	margin: 0 0 0.55rem;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pw-audience__grid p {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.55;
	color: var(--pw-ink-soft);
}

.pw-quote {
	margin: 0;
	max-width: 42rem;
	padding-top: 0.5rem;
}

.pw-quote::before {
	content: "“";
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--pw-display);
	font-size: 4rem;
	line-height: 0.8;
	color: #cbd5e1;
}

.pw-quote blockquote {
	margin: 0 0 1.25rem;
}

.pw-quote blockquote p {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--pw-ink-soft);
}

.pw-quote__meta {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.pw-quote__stars {
	color: #f59e0b;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	line-height: 1;
}

.pw-quote__author {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--pw-ink);
	letter-spacing: -0.01em;
}

/* Features — What you get */

.pw-features {
	background: #fff;
}

.pw-features__head {
	max-width: 40rem;
	margin: 0 0 2.75rem;
}

.pw-features__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-bottom: 0.75rem;
	border-radius: 0.55rem;
	border: 1px solid var(--pw-line);
	color: var(--pw-ink-soft);
	background: var(--pw-surface);
}

.pw-features__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.25rem 2.5rem;
}

.pw-feature {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	transition: none;
}

.pw-feature:hover {
	border-color: transparent;
	transform: none;
}

.pw-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	color: var(--pw-ink);
}

.pw-feature h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pw-feature p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--pw-ink-soft);
	max-width: 28ch;
}

/* Smarter features — 2x2 cards */

.pw-smarter__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.pw-smarter__card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.5rem 0;
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius-lg);
	background: #fff;
	overflow: hidden;
	min-height: 100%;
}

.pw-smarter__copy {
	margin-bottom: 1.25rem;
}

.pw-smarter__copy h3 {
	margin: 0 0 0.45rem;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pw-smarter__copy p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--pw-ink-soft);
	line-height: 1.5;
	max-width: 36ch;
}

.pw-smarter__visual {
	margin-top: auto;
	border-radius: var(--pw-radius) var(--pw-radius) 0 0;
	overflow: hidden;
	border: 1px solid var(--pw-line);
	border-bottom: 0;
	background: var(--pw-surface);
}

.pw-smarter__visual img {
	width: 100%;
	display: block;
}

.pw-smarter__cta {
	text-align: center;
}

/* Need more power — spread → gather stack */

.pw-power {
	padding-left: 0;
	padding-right: 0;
	overflow: hidden;
}

.pw-power__layout {
	display: grid;
	grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	width: 100%;
	max-width: none;
	margin: 0;
	padding-left: max(var(--pw-gutter), calc((100vw - var(--pw-content)) / 2));
	padding-right: 0;
}

.pw-power__intro {
	max-width: 22rem;
}

.pw-power__intro .pw-lead {
	margin: 0.85rem 0 1.35rem;
}

.pw-power__nav {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.5rem;
}

.pw-power__arrow {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	border: 1px solid var(--pw-line);
	background: #fff;
	color: var(--pw-ink);
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.pw-power__arrow:hover:not(:disabled) {
	border-color: #cbd5e1;
	background: var(--pw-surface);
}

.pw-power__arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.pw-power__stage {
	position: relative;
	min-width: 0;
	height: clamp(22rem, 52vw, 28rem);
	/* Room for left peek when cards gather into a stack. */
	padding-left: 1.75rem;
}

.pw-power__stack {
	position: relative;
	width: 100%;
	height: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pw-power__card {
	--pw-power-x: 0px;
	position: absolute;
	top: 0;
	left: 0;
	width: min(18.75rem, 82vw);
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.35rem 0;
	border-radius: var(--pw-radius-lg);
	border: 1px solid var(--pw-line);
	background: #fff;
	box-shadow: none;
	transform: translate3d(var(--pw-power-x), 0, 0);
	transition:
		transform 0.55s var(--pw-ease),
		box-shadow 0.25s ease,
		border-color 0.25s ease;
	z-index: 1;
	overflow: hidden;
	will-change: transform;
}

.pw-power__card:hover,
.pw-power__card.is-front:hover {
	box-shadow: 0 8px 20px -12px rgba(15, 23, 42, 0.28);
}

.pw-power__card.is-front {
	box-shadow: none;
}

.pw-power__card.is-stacked {
	border-color: #d5dde8;
	box-shadow: none;
	pointer-events: none;
}

.pw-power__card h3 {
	margin: 0 0 0.4rem;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.pw-power__card p {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: var(--pw-ink-soft);
	line-height: 1.5;
}

.pw-power__card img {
	width: 100%;
	margin-top: auto;
	border-radius: var(--pw-radius-sm) var(--pw-radius-sm) 0 0;
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	.pw-power__card {
		transition-duration: 0.01ms;
	}
}

/* Integrations — icon grid like features */

.pw-integrations {
	background: #fff;
}

.pw-integrations__head {
	max-width: 40rem;
	margin: 0 0 2.75rem;
}

.pw-integrations__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.25rem 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pw-integration {
	padding: 0;
	background: transparent;
	border: 0;
	text-align: left;
}

.pw-integration__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	color: var(--pw-ink);
}

.pw-integration h3 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pw-integration p {
	margin: 0;
	font-size: 0.925rem;
	line-height: 1.55;
	color: var(--pw-ink-soft);
	max-width: 26ch;
}

/* FAQ */

.pw-faq__head {
	max-width: 40rem;
	margin: 0 0 2rem;
}

.pw-faq__list {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.pw-faq__item {
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius);
	background: #fff;
	padding: 0;
	overflow: hidden;
}

.pw-faq__question {
	cursor: pointer;
	list-style: none;
	padding: 1rem 1.25rem;
	font-size: 1.02rem;
	font-weight: 650;
	letter-spacing: -0.015em;
	color: var(--pw-ink);
}

.pw-faq__question::-webkit-details-marker {
	display: none;
}

.pw-faq__question::after {
	content: "+";
	float: right;
	font-weight: 500;
	color: var(--pw-muted);
}

.pw-faq__item[open] .pw-faq__question::after {
	content: "–";
}

.pw-faq__answer {
	padding: 0 1.25rem 1.15rem;
}

.pw-faq__answer p {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.6;
	color: var(--pw-ink-soft);
}

/* CTA */

.pw-cta-band {
	padding: 5rem 0 6rem;
	text-align: center;
	background:
		radial-gradient(ellipse 60% 70% at 50% 100%, rgba(13, 148, 136, 0.1), transparent 55%),
		linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.pw-cta-band__inner {
	max-width: 36rem;
}

.pw-cta-band .pw-lead {
	margin-bottom: 1.5rem;
}

/* Footer */

.pw-footer {
	position: relative;
	overflow: hidden;
	padding: 4rem 0 2rem;
	background: var(--pw-ink);
	color: #94a3b8;
}

.pw-footer > .pw-container {
	position: relative;
	z-index: 1;
}

.pw-footer .pw-hero__grid-bg {
	inset: 0;
	background-color: transparent;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 15%, transparent 72%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 15%, transparent 72%);
}

.pw-footer .pw-hero__grid-bg::before,
.pw-footer .pw-hero__grid-bg::after {
	background: rgba(148, 163, 184, 0.55);
	box-shadow:
		144px 144px 0 rgba(148, 163, 184, 0.35),
		288px 72px 0 rgba(148, 163, 184, 0.35),
		432px 216px 0 rgba(148, 163, 184, 0.45),
		calc(100% - 160px) 96px 0 rgba(148, 163, 184, 0.35),
		calc(100% - 80px) 240px 0 rgba(148, 163, 184, 0.45);
}

.pw-footer__top {
	display: grid;
	grid-template-columns: 1.2fr 2.5fr;
	gap: 2.5rem;
	margin-bottom: 2.5rem;
}

.pw-footer .pw-nav__wordmark {
	color: #fff;
}

.pw-footer__brand p {
	margin: 1rem 0 0;
	max-width: 22rem;
	font-size: 0.925rem;
	line-height: 1.55;
}

.pw-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.pw-footer__col h2 {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
}

.pw-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.pw-footer__col a {
	font-size: 0.9rem;
	color: #e2e8f0;
}

.pw-footer__col a:hover {
	color: #fff;
}

.pw-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid #1e293b;
	font-size: 0.8125rem;
}

.pw-footer__bottom a {
	color: #94a3b8;
}

.pw-footer__bottom a:hover {
	color: #fff;
}

/* Fallback */

.pw-fallback {
	padding: 4rem 0 6rem;
}

/* Motion */

[data-pw-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.65s var(--pw-ease), transform 0.65s var(--pw-ease);
}

[data-pw-reveal].is-visible {
	opacity: 1;
	transform: none;
}

[data-pw-reveal-delay].is-visible {
	transition-delay: 0.1s;
}

[data-pw-float] {
	animation: pw-float 8s ease-in-out infinite;
}

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

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

	[data-pw-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	[data-pw-float] {
		animation: none;
	}
}

/* Responsive */

@media (max-width: 980px) {
	.pw-steps,
	.pw-features__grid,
	.pw-audience__grid,
	.pw-integrations__grid {
		grid-template-columns: 1fr 1fr;
	}

	.pw-docs__layout {
		grid-template-columns: 1fr;
	}

	.pw-steps::before {
		display: none;
	}

	.pw-smarter__grid {
		grid-template-columns: 1fr;
	}

	.pw-power__layout {
		grid-template-columns: 1fr;
		padding-left: var(--pw-gutter);
		padding-right: var(--pw-gutter);
	}

	.pw-power__stage {
		height: 24rem;
		padding-left: 1.25rem;
	}

	.pw-footer__top {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.pw-rail {
		display: none;
	}

	.pw-rule__dot {
		display: none;
	}
	.pw-nav__toggle {
		display: inline-flex;
	}

	.pw-nav__menu {
		display: none;
		position: absolute;
		top: calc(100% + 0.5rem);
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1rem;
		background: #fff;
		border: 1px solid var(--pw-line);
		border-radius: 1.25rem;
		box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.3);
	}

	.pw-nav {
		position: sticky;
	}

	.pw-nav__shell {
		position: relative;
		border-radius: 1.25rem;
	}

	.pw-nav__menu.is-open {
		display: flex;
	}

	.pw-nav__links {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.pw-nav__actions {
		display: flex;
		flex-direction: column;
	}

	.pw-hero {
		padding-top: 2rem;
	}

	.pw-hero__title {
		max-width: none;
	}

	.pw-steps,
	.pw-features__grid,
	.pw-audience__grid,
	.pw-integrations__grid,
	.pw-footer__cols {
		grid-template-columns: 1fr;
	}

	.pw-section {
		padding: 4rem 0;
	}
}
