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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--pb-bg);
	color: var(--pb-text);
	font-family: var(--pb-font-serif);
	font-size: var(--pb-text-base);
	font-weight: 400;
	line-height: var(--pb-leading-body);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--pb-space-4);
	color: var(--pb-text-strong);
	font-weight: 500;
	line-height: var(--pb-leading-heading);
	text-wrap: balance;
}

p {
	margin: 0 0 var(--pb-space-5);
}

p, li {
	text-wrap: pretty;
}

img,
picture,
svg {
	max-width: 100%;
	display: block;
}

ul, ol {
	margin: 0;
	padding: 0;
}

button {
	font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

:focus-visible {
	outline: 2px solid var(--pb-accent);
	outline-offset: 2px;
}

.pb-link {
	color: var(--pb-accent);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 1px;
	transition: color var(--pb-motion-fast) var(--pb-ease-standard), background-size var(--pb-motion-base) var(--pb-ease-standard);
}

.pb-link:hover,
.pb-link:focus-visible {
	color: var(--pb-accent-strong);
	background-size: 100% 1px;
}

.pb-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--pb-space-3);
	padding: var(--pb-space-4) var(--pb-space-6);
	border: none;
	border-radius: var(--pb-radius-md);
	background: var(--pb-text-strong);
	color: var(--pb-surface);
	font-family: var(--pb-font-sans);
	font-size: var(--pb-text-xs);
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--pb-motion-base) var(--pb-ease-standard),
		transform var(--pb-motion-base) var(--pb-ease-standard),
		box-shadow var(--pb-motion-base) var(--pb-ease-standard);
}

.pb-btn:hover,
.pb-btn:focus-visible {
	background: var(--pb-accent);
	transform: translateY(-2px);
	box-shadow: var(--pb-shadow-md);
}

.pb-btn--ghost {
	background: transparent;
	color: var(--pb-accent);
	border: 1px solid var(--pb-accent);
}

.pb-btn--ghost:hover,
.pb-btn--ghost:focus-visible {
	background: var(--pb-accent);
	color: var(--pb-surface);
}

.pb-field {
	margin-bottom: var(--pb-space-6);
}

.pb-label {
	display: block;
	margin-bottom: var(--pb-space-2);
	font-family: var(--pb-font-sans);
	font-size: var(--pb-text-xs);
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--pb-text-muted);
}

.pb-input {
	width: 100%;
	padding: var(--pb-space-2) 0 var(--pb-space-3);
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--pb-border);
	border-radius: 0;
	color: var(--pb-text-strong);
	font-family: var(--pb-font-serif);
	font-size: var(--pb-text-base);
	-webkit-appearance: none;
	transition: border-color var(--pb-motion-base) var(--pb-ease-standard), background-color var(--pb-motion-base) var(--pb-ease-standard);
}

.pb-input:focus-visible {
	outline: none;
	border-bottom-color: var(--pb-accent);
	background: var(--pb-accent-soft);
}

.pb-input--area {
	resize: vertical;
	min-height: 140px;
}

.pb-card {
	background: var(--pb-surface);
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius-lg);
	box-shadow: var(--pb-shadow-sm);
	padding: var(--pb-space-6);
}
