@import url("/kwikable/brand.css");
* {
	box-sizing: border-box;
}
html {
	color-scheme: dark;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--background, #0b1115);
	color: var(--text, #f5f2e9);
	font:
		16px / 1.5 system-ui,
		-apple-system,
		BlinkMacSystemFont,
		sans-serif;
}
button,
input,
select,
textarea {
	font: inherit;
}
button,
a,
input,
select,
textarea {
	touch-action: manipulation;
}
button,
a {
	-webkit-tap-highlight-color: transparent;
}
button {
	min-height: 48px;
	border: 1px solid transparent;
	border-radius: var(--radius-button, 12px);
	padding: 11px 20px;
	cursor: pointer;
	background: var(--accent, #a7e8cf);
	color: var(--onAccent, #10251d);
	font-weight: 650;
}
button:disabled {
	opacity: 0.6;
	cursor: default;
}
a {
	color: inherit;
	text-decoration: none;
}
button.secondary,
.pill {
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
}
button.quiet {
	background: transparent;
	color: var(--text);
}
button:hover:not(:disabled),
a:hover {
	filter: brightness(1.12);
}
:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 4px;
}
input,
select,
textarea {
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--surface);
	color: var(--text);
	padding: 13px;
	max-width: 100%;
	width: 100%;
	min-height: 48px;
}
label {
	display: block;
	margin: 14px 0;
	color: var(--muted);
}
label input {
	margin-top: 6px;
}
h1,
h2,
h3,
p {
	margin: 0;
}
h1 {
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.06;
	letter-spacing: -1.6px;
}
h2 {
	font-size: 24px;
	letter-spacing: -0.5px;
}
h3 {
	font-size: 18px;
	line-height: 1.3;
}
p {
	color: var(--muted);
}
header {
	height: 88px;
	padding: 20px 5vw;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--border);
	gap: 12px;
}
.wordmark {
	font-size: 29px;
	font-weight: 800;
	letter-spacing: -1.2px;
}
.credit {
	font-size: 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 28px;
	padding: 10px 17px;
}
.credit b {
	color: var(--accent);
}
nav {
	position: absolute;
	top: 18px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 4px;
	padding: 5px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 30px;
	z-index: 5;
}
nav a {
	padding: 10px 19px;
	font-size: 14px;
	white-space: nowrap;
	border-radius: 24px;
	color: var(--muted);
}
nav a[aria-current="page"] {
	background: var(--raised);
	color: var(--text);
}
main {
	max-width: 1440px;
	margin: auto;
	padding: 36px 5vw 90px;
	min-height: 80vh;
}
.eyebrow {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--accent);
	font-weight: 700;
}
.demo {
	display: inline-block;
	font-size: 12px;
	padding: 4px 9px;
	border: 1px solid var(--border);
	border-radius: 6px;
	color: var(--muted);
}
.hero {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	min-height: 440px;
	background: var(--surface);
	border-radius: 24px;
	overflow: hidden;
	margin-bottom: 38px;
	border: 1px solid var(--border);
}
.hero-copy {
	padding: clamp(24px, 4vw, 52px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
}
.hero-copy p {
	max-width: 45ch;
}
.hero img {
	width: 100%;
	height: 100%;
	max-height: 540px;
	object-fit: cover;
	object-position: center 33%;
}
.actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}
.meta {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--muted);
}
.section {
	margin: 32px 0;
}
.section-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	gap: 12px;
}
.section-title p {
	font-size: 13px;
}
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 22px;
}
.card {
	display: block;
	min-width: 0;
	max-width: 260px;
}
.card img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: var(--surface);
}
.card h3 {
	margin: 12px 0 4px;
}
.card p {
	font-size: 13px;
}
.card .badge {
	font-size: 12px;
	color: var(--accent);
	margin: 6px 0;
}
.card progress {
	margin: 4px 0 0;
}
.chips {
	display: flex;
	gap: 8px;
	overflow: auto;
	padding: 5px 2px 12px;
}
.chips button {
	white-space: nowrap;
	border-radius: 28px;
	padding: 9px 18px;
	min-height: 44px;
}
.chips button[aria-pressed="true"] {
	background: var(--accent);
	color: var(--onAccent);
}
.empty {
	padding: 52px 24px;
	text-align: center;
	border: 1px solid var(--border);
	background: var(--surface);
	border-radius: 18px;
}
.empty h2 {
	margin-bottom: 12px;
}
.empty button {
	margin-top: 22px;
}
.search {
	margin: 24px 0;
	max-width: 720px;
}
.detail {
	display: grid;
	grid-template-columns: minmax(170px, 280px) 1fr;
	gap: 40px;
	margin: 24px 0 42px;
}
.detail > img {
	width: 100%;
	border-radius: 18px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}
.detail-copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
}
.detail-copy h1 {
	font-size: clamp(30px, 4vw, 48px);
}
.parts {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.part {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
}
.part-number {
	color: var(--muted);
	font-size: 24px;
	min-width: 36px;
}
.part-copy {
	flex: 1;
	min-width: 0;
}
.part-copy p {
	font-size: 14px;
	margin: 4px 0;
}
.part button {
	min-width: 130px;
}
progress {
	appearance: none;
	border: 0;
	height: 4px;
	width: 100%;
	border-radius: 10px;
	background: var(--raised);
	display: block;
}
progress::-webkit-progress-bar {
	background: var(--raised);
}
progress::-webkit-progress-value {
	background: var(--accent);
	border-radius: 4px;
}
.account-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 30px 0;
}
.panel {
	padding: 28px;
	border-radius: 18px;
	border: 1px solid var(--border);
	background: var(--surface);
}
.panel h2 {
	margin-bottom: 14px;
}
.balance {
	font-size: 46px;
	color: var(--accent);
	letter-spacing: -1px;
}
.legal {
	font-size: 13px;
	max-width: 65ch;
	margin-top: 24px;
}
.legal a {
	text-decoration: underline;
}
.login {
	max-width: 430px;
	margin: 7vh auto;
}
.login h1 {
	font-size: 40px;
	margin-bottom: 14px;
}
.login button {
	width: 100%;
	margin-top: 16px;
}
.login small {
	display: block;
	color: var(--muted);
	margin-top: 20px;
}
.loading {
	padding: 70px;
	text-align: center;
}
dialog {
	width: min(440px, calc(100% - 32px));
	padding: 28px;
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 22px;
}
dialog::backdrop {
	background: #000b;
}
dialog h2 {
	font-size: 25px;
	line-height: 1.2;
	margin-bottom: 15px;
}
dialog .line {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}
dialog .actions {
	margin-top: 24px;
}
dialog .actions button {
	flex: 1;
}
dialog p {
	margin: 16px 0;
}
.warning {
	color: var(--danger);
}
#notice:not(:empty) {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--text);
	color: var(--background);
	padding: 13px 22px;
	border-radius: 14px;
	max-width: calc(100% - 32px);
	z-index: 30;
	box-shadow: 0 8px 40px #0006;
}
.skip {
	position: absolute;
	left: 12px;
	top: -70px;
	padding: 12px;
	background: var(--accent);
	color: var(--onAccent);
	z-index: 100;
}
.skip:focus {
	top: 10px;
}
.back {
	margin-bottom: 16px;
}
.history {
	list-style: none;
	padding: 0;
}
.history li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid var(--border);
	padding: 13px 0;
	gap: 20px;
}
.history small {
	display: block;
	color: var(--muted);
}
@media (max-width: 800px) {
	header {
		height: 78px;
		padding: 16px 24px;
	}
	nav {
		position: fixed;
		top: auto;
		bottom: 0;
		left: 0;
		transform: none;
		width: 100%;
		justify-content: space-around;
		border-radius: 0;
		padding: 8px 8px max(8px, env(safe-area-inset-bottom));
		background: var(--background);
	}
	nav a {
		padding: 12px;
		font-size: 13px;
	}
	main {
		padding: 24px 24px 110px;
	}
	.hero {
		min-height: 0;
		grid-template-columns: 1fr;
	}
	.hero img {
		grid-row: 1;
		height: 260px;
	}
	.hero-copy {
		padding: 26px;
		gap: 16px;
	}
	.hero h1 {
		font-size: 36px;
	}
	.cards {
		grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
		gap: 18px;
	}
	.card {
		max-width: none;
	}
	.detail {
		grid-template-columns: 120px 1fr;
		gap: 20px;
	}
	.detail-copy {
		gap: 12px;
	}
	.detail-copy h1 {
		font-size: 30px;
	}
	.account-grid {
		grid-template-columns: 1fr;
	}
	#notice:not(:empty) {
		bottom: 85px;
	}
	.part {
		padding: 16px;
		gap: 12px;
	}
	.part button {
		min-width: 110px;
		padding: 10px 14px;
	}
	.part-number {
		display: none;
	}
}
@media (max-width: 390px) {
	header {
		padding: 16px;
	}
	.wordmark {
		font-size: 26px;
	}
	.credit {
		padding: 8px 12px;
		font-size: 12px;
	}
	main {
		padding: 20px 16px 110px;
	}
	.hero-copy {
		padding: 22px;
	}
	.hero h1 {
		font-size: 32px;
	}
	.detail {
		grid-template-columns: 1fr;
	}
	.detail > img {
		max-height: 260px;
		aspect-ratio: 16 / 10;
		object-position: center 25%;
	}
	.part {
		flex-wrap: wrap;
	}
	.part button {
		width: 100%;
	}
	.cards {
		gap: 14px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.panel {
		padding: 22px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	* {
		animation: none !important;
		transition: none !important;
	}
}
