/* Karditor company site. Dark only, one amber, system type — see _SPECS/company.md § Styling. */

:root
{
	--amber: #e59e43;
	--ink: #08090b;
	--ink2: #0e1014;
	--line: #1c1f26;
	--text: #e7e8ea;
	--muted: #8b8f98;
	--faint: #5a5e67;
	--max: 1000px;
}

*
{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html
{
	scroll-behavior: smooth;
}

body
{
	background: var(--ink);
	color: var(--text);
	font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

.wrap
{
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 28px;
}

/* ── the mark ────────────────────────────────────────────────── */

.loop
{
	fill: none;
	stroke: var(--amber);
	stroke-width: 9;
	stroke-linejoin: miter;
	stroke-linecap: butt;
}

.chev
{
	fill: none;
	stroke: var(--amber);
	stroke-width: 9;
	stroke-linejoin: miter;
	stroke-linecap: butt;
	opacity: .4;
}

.loopFaint
{
	fill: none;
	stroke: var(--faint);
	stroke-width: 11;
	stroke-linejoin: miter;
	stroke-linecap: butt;
}

.trace
{
	fill: none;
	stroke: #fff;
	stroke-width: 9;
	stroke-linejoin: miter;
	stroke-linecap: butt;
	stroke-dasharray: 56 464;
	opacity: .8;
	animation: run 5.5s linear infinite;
}

@keyframes run
{
	from
	{
		stroke-dashoffset: 520;
	}

	to
	{
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: reduce)
{
	.trace
	{
		animation: none;
		opacity: 0;
	}
}

/* ── the preview gate ────────────────────────────────────────── */

#gate
{
	position: fixed;
	inset: 0;
	z-index: 100;
	background: var(--ink);
	display: grid;
	place-items: center;
	padding: 24px;
}

.gateCard
{
	width: 100%;
	max-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.gateMark
{
	width: 60px;
	height: 42px;
}

.gateNote
{
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--faint);
	margin-bottom: 6px;
}

.gateCard input
{
	width: 100%;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: var(--ink2);
	color: var(--text);
	font: inherit;
	font-size: 15px;
}

.gateCard input:focus
{
	outline: none;
	border-color: var(--faint);
}

.gateCard button
{
	width: 100%;
	padding: 12px 14px;
	border-radius: 8px;
	border: 0;
	background: var(--amber);
	color: #1a1206;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.gateError
{
	font-size: 13px;
	color: #d97757;
	min-height: 20px;
}

/* ── nav ─────────────────────────────────────────────────────── */

nav
{
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(8, 9, 11, .85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

nav .wrap
{
	display: flex;
	align-items: center;
	gap: 28px;
	height: 66px;
}

.brand
{
	display: flex;
	align-items: center;
	gap: 11px;
	font-weight: 600;
	letter-spacing: -.02em;
	font-size: 17px;
}

.brand svg
{
	width: 34px;
	height: 24px;
	display: block;
}

nav .links
{
	margin-left: auto;
	display: flex;
	gap: 26px;
	font-size: 14px;
	color: var(--muted);
}

nav .links a:hover
{
	color: var(--text);
}

/* ── buttons ─────────────────────────────────────────────────── */

.btn
{
	display: inline-block;
	padding: 11px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	transition: .15s;
}

.btnPrimary
{
	background: var(--amber);
	color: #1a1206;
}

.btnPrimary:hover
{
	background: #f0ac52;
}

.btnGhost
{
	border: 1px solid var(--line);
	color: var(--muted);
}

.btnGhost:hover
{
	border-color: var(--faint);
	color: var(--text);
}

.actions
{
	margin-top: 42px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* ── hero ────────────────────────────────────────────────────── */

header
{
	padding: 130px 0 108px;
	position: relative;
	overflow: hidden;
}

header::before
{
	content: "";
	position: absolute;
	top: -32%;
	left: 50%;
	transform: translateX(-50%);
	width: 880px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(229, 158, 67, .09), transparent 68%);
	pointer-events: none;
}

.mark
{
	width: 128px;
	height: auto;
	margin-bottom: 48px;
	position: relative;
}

.eyebrow
{
	display: inline-block;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--amber);
	margin-bottom: 24px;
	font-weight: 500;
}

h1
{
	font-size: clamp(38px, 5.6vw, 62px);
	line-height: 1.07;
	letter-spacing: -.035em;
	font-weight: 600;
	max-width: 15ch;
}

h1 em
{
	font-style: normal;
	color: var(--muted);
}

.lede
{
	margin-top: 28px;
	font-size: 19px;
	color: var(--muted);
	max-width: 54ch;
}

.sub
{
	margin-top: 28px;
	font-size: 13px;
	color: var(--faint);
}

/* ── sections ────────────────────────────────────────────────── */

section
{
	padding: 100px 0;
	border-top: 1px solid var(--line);
}

.kicker
{
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--faint);
	margin-bottom: 18px;
}

h2
{
	font-size: clamp(26px, 3.2vw, 33px);
	letter-spacing: -.03em;
	font-weight: 600;
	line-height: 1.22;
	max-width: 22ch;
}

h2 em
{
	font-style: normal;
	color: var(--muted);
}

.secLede
{
	margin-top: 18px;
	color: var(--muted);
	max-width: 58ch;
}

.secLede em
{
	font-style: normal;
	color: var(--text);
}

/* ── priced products ─────────────────────────────────────────── */

.prods
{
	margin-top: 48px;
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.prod
{
	background: var(--ink2);
	padding: 32px 30px;
	display: grid;
	grid-template-columns: 42px 1fr auto;
	gap: 24px;
	align-items: start;
	transition: background .15s;
}

.prod:hover
{
	background: #12151a;
}

.glyph
{
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #181b21;
	display: grid;
	place-items: center;
	font-family: ui-monospace, Consolas, monospace;
	font-size: 16px;
	color: var(--amber);
}

.prod h3
{
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -.015em;
}

.prod h3 span
{
	font-weight: 400;
	color: var(--faint);
	font-size: 13.5px;
	margin-left: 10px;
	font-family: ui-monospace, Consolas, monospace;
}

.prod .one
{
	margin-top: 9px;
	color: var(--muted);
	font-size: 15px;
	max-width: 54ch;
}

.price
{
	text-align: right;
	white-space: nowrap;
}

.price .n
{
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -.03em;
	color: var(--text);
}

.price .u
{
	display: block;
	font-size: 12px;
	color: var(--faint);
	margin-top: 2px;
}

/* ── in development ──────────────────────────────────────────── */

.dev
{
	margin-top: 22px;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.devHead
{
	padding: 18px 26px;
	background: #0b0d11;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--faint);
}

.devRow
{
	padding: 20px 26px;
	display: flex;
	gap: 20px;
	align-items: baseline;
	border-bottom: 1px solid var(--line);
}

.devRow:last-child
{
	border-bottom: 0;
}

.devRow b
{
	font-size: 15.5px;
	font-weight: 600;
	min-width: 104px;
	letter-spacing: -.01em;
}

.devRow p
{
	font-size: 14.5px;
	color: var(--muted);
}

.devNote
{
	margin-top: 20px;
	font-size: 13.5px;
	color: var(--faint);
	max-width: 60ch;
}

/* ── how we build ────────────────────────────────────────────── */

.steps
{
	margin-top: 48px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.step
{
	background: var(--ink2);
	padding: 28px 24px;
}

.step .n
{
	font-family: ui-monospace, Consolas, monospace;
	font-size: 12px;
	color: var(--amber);
	margin-bottom: 13px;
}

.step h3
{
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
	letter-spacing: -.01em;
}

.step p
{
	font-size: 14px;
	color: var(--muted);
	line-height: 1.55;
}

.loopNote
{
	margin-top: 22px;
	font-size: 13.5px;
	color: var(--faint);
	display: flex;
	align-items: center;
	gap: 10px;
}

.loopNote svg
{
	width: 22px;
	height: 14px;
	flex: none;
}

/* ── work with us ────────────────────────────────────────────── */

.pair
{
	margin-top: 48px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}

.col
{
	background: var(--ink2);
	padding: 32px 30px;
}

.col h3
{
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 20px;
	letter-spacing: -.01em;
}

.col ul
{
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.col li
{
	font-size: 14.5px;
	color: var(--muted);
	display: flex;
	gap: 12px;
	align-items: baseline;
}

.col li i
{
	font-style: normal;
	flex: none;
	width: 12px;
	color: var(--amber);
}

.col.no li i
{
	color: var(--faint);
}

/* ── principles ──────────────────────────────────────────────── */

.rules
{
	margin-top: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 52px;
}

.rule
{
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 16px;
	align-items: baseline;
}

.rule .x
{
	color: var(--amber);
	font-size: 12px;
	flex: none;
	width: 16px;
	font-family: ui-monospace, Consolas, monospace;
}

.rule p
{
	font-size: 15px;
	color: var(--muted);
}

.rule b
{
	color: var(--text);
	font-weight: 500;
}

/* ── about ───────────────────────────────────────────────────── */

.about p
{
	font-size: 17px;
	color: var(--muted);
	max-width: 60ch;
	margin-top: 20px;
}

.about p b
{
	color: var(--text);
	font-weight: 500;
}

/* ── footer ──────────────────────────────────────────────────── */

footer
{
	border-top: 1px solid var(--line);
	padding: 44px 0;
	font-size: 13px;
	color: var(--faint);
}

footer .wrap
{
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.footBrand
{
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--muted);
	font-size: 14px;
}

.footBrand svg
{
	width: 26px;
	height: 18px;
}

.footLinks
{
	margin-left: auto;
	display: flex;
	gap: 22px;
}

.footLinks a:hover
{
	color: var(--text);
}

/* ── breakpoints ─────────────────────────────────────────────── */

@media (max-width: 820px)
{
	.rules,
	.pair
	{
		grid-template-columns: 1fr;
	}

	nav .links
	{
		display: none;
	}
}

@media (max-width: 560px)
{
	header
	{
		padding: 84px 0 74px;
	}

	.prod
	{
		grid-template-columns: 42px 1fr;
		gap: 18px;
	}

	.price
	{
		grid-column: 2;
		text-align: left;
	}

	.devRow
	{
		flex-direction: column;
		gap: 6px;
	}
}
