/* PWCreator homepage: hero slider, tools showcase, latest articles. Also the page title band. */
.pwc-full {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.l-canvas { overflow-x: clip; }

/* Sections that hold the homepage blocks or a page title band start flush under the header */
.l-main > .l-section:first-child:has(.pwc-hero, .pwc-pagehead),
.l-main > .l-section:first-child:has(.pwc-hero, .pwc-pagehead) > .l-section-h { padding-top: 0 !important; }
/* keep room for Impreza's fixed header */
.header_hor .l-header.pos_fixed ~ .l-main > .l-section:first-child:has(.pwc-hero, .pwc-pagehead) > .l-section-h { padding-top: var(--header-height, 80px) !important; }
.l-main > .l-section:has(.pwc-hero, .pwc-tools-group) > .l-section-h { padding-bottom: 0 !important; }

/* ---------------------------------------------------------------- Hero slider */
.pwc-hero {
	--pwc-navy: #0b1b3a;
	color: #e2e8f0;
	background:
		radial-gradient(900px 480px at 88% -10%, rgba(56, 189, 248, .30), transparent 60%),
		radial-gradient(760px 420px at -5% 115%, rgba(29, 111, 242, .38), transparent 60%),
		linear-gradient(135deg, #0b1b3a 0%, #10295a 55%, #0e4cae 100%);
	overflow: hidden;
	font-family: var(--font-body);
}
.pwc-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
	mask-image: linear-gradient(180deg, #000, transparent 90%);
	pointer-events: none;
}
.pwc-hero-track { position: relative; display: grid; }
.pwc-slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	align-items: center;
	gap: 48px;
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 76px 24px 96px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
}
.pwc-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease, transform .55s ease, visibility 0s; }
.pwc-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #bae6fd;
	background: rgba(56, 189, 248, .12);
	border: 1px solid rgba(56, 189, 248, .3);
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.pwc-slide h1, .pwc-slide h2 {
	color: #fff !important;
	font-weight: 800 !important;
	font-size: clamp(2rem, 4.4vw, 3.4rem) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.035em !important;
	margin: 0 0 18px !important;
	max-width: 17ch;
}
.pwc-slide h1 em, .pwc-slide h2 em { font-style: normal; background: linear-gradient(90deg, #38bdf8, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pwc-slide p { font-size: 1.12rem; line-height: 1.6; color: #cbd5e1; margin: 0 0 28px; max-width: 46ch; }
.pwc-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pwc-hbtn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 22px; border-radius: 999px;
	font-weight: 700; font-size: 15.5px; text-decoration: none !important;
	transition: transform .15s, box-shadow .15s, background .15s;
}
.pwc-hbtn-primary { background: #fff; color: #0b1b3a !important; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6); }
.pwc-hbtn-primary:hover { transform: translateY(-1px); color: #0e4cae !important; }
.pwc-hbtn-ghost { color: #fff !important; border: 1.5px solid rgba(255, 255, 255, .35); }
.pwc-hbtn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.pwc-hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: #94a3b8; }
.pwc-hero-points li { margin: 0; display: flex; align-items: center; gap: 6px; max-width: none; }
.pwc-hero-points li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(56, 189, 248, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2338bdf8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Mock-up cards on the right of each slide */
.pwc-mock {
	position: relative;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 22px;
	padding: 24px;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
	color: #e2e8f0;
}
.pwc-mock::after { content: ''; position: absolute; inset: -40px -40px auto auto; width: 180px; height: 180px; background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%); pointer-events: none; z-index: -1; }
.pwc-mock-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; margin-bottom: 10px; }
.pwc-mock-pw {
	font-family: var(--pwc-mono);
	font-size: clamp(1rem, 2vw, 1.3rem);
	color: #fff;
	background: rgba(2, 6, 23, .45);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	padding: 16px 18px;
	word-break: break-all;
	min-height: 1.6em;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pwc-mock-pw b { font-weight: 600; }
.pwc-mock-copy { flex: none; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: #0b1b3a; background: #38bdf8; padding: 6px 10px; border-radius: 8px; }
.pwc-mock-meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin: 18px 0 10px; overflow: hidden; }
.pwc-mock-meter span { display: block; height: 100%; width: 96%; border-radius: inherit; background: linear-gradient(90deg, #22c55e, #4ade80); }
.pwc-mock-row { display: flex; justify-content: space-between; font-size: 14px; color: #cbd5e1; }
.pwc-mock-row strong { color: #4ade80; }
.pwc-mock-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pwc-mock-chips span { font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #e2e8f0; }
.pwc-mock-chips span.on { background: rgba(56, 189, 248, .18); border-color: rgba(56, 189, 248, .45); color: #bae6fd; }

.pwc-vault-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pwc-vault-list li { max-width: none; margin: 0; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(2, 6, 23, .35); border: 1px solid rgba(255, 255, 255, .1); }
.pwc-vault-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.pwc-vault-list strong { display: block; color: #fff; font-size: 15px; line-height: 1.3; }
.pwc-vault-list small { color: #94a3b8; font-family: var(--pwc-mono); font-size: 13px; }
.pwc-vault-list em { margin-left: auto; font-style: normal; font-size: 12px; color: #4ade80; font-weight: 600; }
.pwc-vault-lock { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #94a3b8; }
.pwc-vault-lock svg { width: 16px; height: 16px; flex: none; }

.pwc-chat-mock { display: grid; gap: 12px; }
.pwc-bubble { max-width: 85%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.pwc-bubble.me { justify-self: end; background: linear-gradient(135deg, #1d6ff2, #0e4cae); color: #fff; border-bottom-right-radius: 6px; }
.pwc-bubble.them { background: rgba(255, 255, 255, .1); color: #e2e8f0; border-bottom-left-radius: 6px; }
.pwc-bubble code { font-family: var(--pwc-mono); background: rgba(2, 6, 23, .35); padding: 2px 6px; border-radius: 6px; font-size: 13px; color: #bae6fd; }
.pwc-burn { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fecaca; background: rgba(239, 68, 68, .14); border: 1px solid rgba(239, 68, 68, .35); padding: 6px 12px; border-radius: 999px; }
.pwc-burn i { width: 8px; height: 8px; border-radius: 50%; background: #f87171; animation: pwc-pulse 1.4s infinite; }
@keyframes pwc-pulse { 50% { opacity: .3; } }

.pwc-code {
	font-family: var(--pwc-mono);
	font-size: 13.5px;
	line-height: 1.75;
	background: rgba(2, 6, 23, .55);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 14px;
	padding: 16px 18px;
	color: #cbd5e1;
	overflow: hidden;
	word-break: break-all;
}
.pwc-code .k { color: #93c5fd; }
.pwc-code .s { color: #86efac; }
.pwc-code .c { color: #64748b; }
.pwc-code-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.pwc-code-tabs span { font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; color: #94a3b8; }
.pwc-code-tabs span.on { background: rgba(56, 189, 248, .18); color: #bae6fd; }

/* Slider controls */
.pwc-hero-nav {
	position: absolute;
	left: 0; right: 0; bottom: 28px;
	display: flex; align-items: center; justify-content: center; gap: 14px;
	z-index: 2;
}
.pwc-hero-dots { display: flex; gap: 8px; }
.pwc-hero-dots button {
	width: 34px; height: 6px; padding: 0; border: 0; border-radius: 99px;
	background: rgba(255, 255, 255, .25); cursor: pointer; overflow: hidden; position: relative;
}
.pwc-hero-dots button span { position: absolute; inset: 0; width: 0; background: #fff; border-radius: inherit; }
.pwc-hero-dots button.is-active span { animation: pwc-fill var(--pwc-delay, 7s) linear forwards; }
.pwc-hero.is-paused .pwc-hero-dots button.is-active span,
.pwc-hero.no-auto .pwc-hero-dots button.is-active span { animation: none; width: 100%; }
@keyframes pwc-fill { to { width: 100%; } }
.pwc-hero-arrow {
	width: 38px; height: 38px; padding: 0; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff;
	display: grid; place-items: center; cursor: pointer; transition: background .15s;
}
.pwc-hero-arrow:hover { background: rgba(255, 255, 255, .16); }
.pwc-hero-arrow svg { width: 18px; height: 18px; }
.pwc-hero button:focus-visible, .pwc-hbtn:focus-visible, .pwc-tool:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }

/* ---------------------------------------------------------------- Section heads */
.pwc-sec { max-width: 1240px; margin: 0 auto; padding: 88px 24px 24px; box-sizing: border-box; font-family: var(--font-body); }
.pwc-sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.pwc-sec-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0e4cae; background: #eef4ff; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.pwc-sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important; font-weight: 800 !important; letter-spacing: -0.03em !important; line-height: 1.12 !important; margin: 0 0 12px !important; color: #0b1b3a; }
.pwc-sec-head p { color: #475569; font-size: 1.08rem; margin: 0 auto; max-width: 60ch; }

/* ---------------------------------------------------------------- Tools grid */
.pwc-tools-group { margin-bottom: 40px; }
.pwc-tools-group > h3 { font-size: 13px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase; color: #64748b !important; margin: 0 0 14px !important; display: flex; align-items: center; gap: 12px; }
.pwc-tools-group > h3::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.pwc-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pwc-tool {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 24px 22px 20px;
	text-decoration: none !important;
	color: #1f2937 !important;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pwc-tool:hover { transform: translateY(-3px); border-color: #bfd4fb; box-shadow: 0 20px 40px -20px rgba(14, 76, 174, .35); }
.pwc-tool-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, #0e4cae, #1d6ff2); box-shadow: 0 10px 20px -10px rgba(14, 76, 174, .7); }
.pwc-tool-ico svg { width: 24px; height: 24px; }
.pwc-tool[data-tone="teal"] .pwc-tool-ico { background: linear-gradient(135deg, #0f766e, #14b8a6); box-shadow: 0 10px 20px -10px rgba(15, 118, 110, .7); }
.pwc-tool[data-tone="violet"] .pwc-tool-ico { background: linear-gradient(135deg, #5b21b6, #8b5cf6); box-shadow: 0 10px 20px -10px rgba(91, 33, 182, .7); }
.pwc-tool[data-tone="amber"] .pwc-tool-ico { background: linear-gradient(135deg, #b45309, #f59e0b); box-shadow: 0 10px 20px -10px rgba(180, 83, 9, .7); }
.pwc-tool[data-tone="rose"] .pwc-tool-ico { background: linear-gradient(135deg, #be123c, #f43f5e); box-shadow: 0 10px 20px -10px rgba(190, 18, 60, .7); }
.pwc-tool strong { font-size: 1.12rem; font-weight: 700; color: #0b1b3a; letter-spacing: -0.01em; margin-bottom: 6px; line-height: 1.3; }
.pwc-tool span.pwc-tool-desc { font-size: .95rem; line-height: 1.55; color: #475569; flex: 1; margin-bottom: 16px; }
.pwc-tool-go { font-size: .92rem; font-weight: 700; color: #0e4cae; display: inline-flex; align-items: center; gap: 6px; }
.pwc-tool-go::after { content: '→'; transition: transform .2s; }
.pwc-tool:hover .pwc-tool-go::after { transform: translateX(4px); }
.pwc-tool-tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; color: #0e4cae; background: #eef4ff; }
.pwc-tool-tag.new { color: #047857; background: #ecfdf5; }

/* Trust strip */
.pwc-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 12px; }
.pwc-trust div { background: #f4f7fd; border-radius: 16px; padding: 20px; }
.pwc-trust b { display: block; color: #0b1b3a; font-size: 1.05rem; margin-bottom: 4px; }
.pwc-trust span { color: #475569; font-size: .92rem; line-height: 1.5; }

/* ---------------------------------------------------------------- Latest posts */
.pwc-home-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pwc-home-posts .pwc-card-post h3 { font-size: 1.15rem !important; line-height: 1.35 !important; font-weight: 700 !important; letter-spacing: -0.01em; margin: 0 0 8px !important; }
.pwc-home-posts .pwc-card-post h3 a { color: #0b1b3a !important; text-decoration: none !important; }
.pwc-home-posts .pwc-card-post h3 a:hover { color: #0e4cae !important; }
.pwc-sec-more { text-align: center; margin-top: 32px; }
.pwc-sec-more a { display: inline-flex; gap: 8px; align-items: center; padding: 12px 22px; border-radius: 999px; border: 1.5px solid #0e4cae; color: #0e4cae !important; font-weight: 700; text-decoration: none !important; }
.pwc-sec-more a:hover { background: #0e4cae; color: #fff !important; }
.pwc-sec + .l-section, .pwc-sec-wrap { scroll-margin-top: 80px; }

/* ---------------------------------------------------------------- Page title band (pages without their own heading) */
.pwc-pagehead {
	color: #cbd5e1;
	background:
		radial-gradient(900px 400px at 85% -10%, rgba(56, 189, 248, .28), transparent 60%),
		radial-gradient(700px 380px at 0% 120%, rgba(29, 111, 242, .35), transparent 60%),
		linear-gradient(135deg, #0b1b3a 0%, #10295a 55%, #0e4cae 100%);
	overflow: hidden;
	margin-bottom: 48px;
	font-family: var(--font-body);
}
.pwc-pagehead::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	pointer-events: none;
}
.pwc-pagehead-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 64px 24px 60px; box-sizing: border-box; }
.pwc-pagehead h1 { color: #fff !important; font-weight: 800 !important; letter-spacing: -0.03em !important; font-size: clamp(2rem, 4.2vw, 3.2rem) !important; line-height: 1.1 !important; margin: 0 !important; }
.pwc-pagehead p { margin: 14px 0 0; font-size: 1.12rem; color: #cbd5e1; max-width: 60ch; }
.pwc-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #94a3b8; margin-bottom: 16px; }
.pwc-crumbs a { color: #bae6fd !important; text-decoration: none !important; }
.pwc-crumbs a:hover { color: #fff !important; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
	.pwc-slide { grid-template-columns: 1fr; gap: 36px; padding: 52px 20px 92px; }
	.pwc-slide h1, .pwc-slide h2 { max-width: 20ch; }
	.pwc-mock { max-width: 520px; }
	.pwc-trust { grid-template-columns: 1fr 1fr; }
	.pwc-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pwc-home-posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.pwc-slide { padding: 40px 16px 84px; gap: 28px; }
	.pwc-slide p { font-size: 1.02rem; }
	.pwc-mock { padding: 18px; border-radius: 18px; }
	.pwc-hbtn { padding: 12px 18px; font-size: 15px; }
	.pwc-sec { padding: 64px 16px 16px; }
	.pwc-trust { grid-template-columns: 1fr; }
	.pwc-tools { grid-template-columns: 1fr; }
	.pwc-home-posts { grid-template-columns: 1fr; }
	.pwc-pagehead-in { padding: 44px 16px 40px; }
	.pwc-pagehead { margin-bottom: 32px; }
	.pwc-hero-arrow { display: none; }
	.pwc-slide .pwc-mock { display: none; }
	.pwc-hero-points { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.pwc-slide, .pwc-slide.is-active { transition: none; transform: none; }
	.pwc-burn i { animation: none; }
}
