:root {
	color-scheme: dark;
	--bg: #101c24;
	--surface: #152b35;
	--surface-2: #182e38;
	--text: #f4f7f8;
	--secondary: #c0cbd0;
	--muted: #9aacb5;
	--border: #34505c;
	--accent: #00d66b;
	--container: 1160px;
	--header-height: 83px;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
}
* {
	box-sizing: border-box;
}
body {
	min-width: 320px;
	margin: 0;
	background: var(--bg);
	color: var(--text);
}
a {
	color: inherit;
	text-decoration: none;
}
button,
input,
select,
textarea {
	font: inherit;
}
button:disabled {
	opacity: 0.46;
	cursor: not-allowed;
}
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}
.container {
	width: min(var(--container), calc(100% - 64px));
	margin-inline: auto;
}
.skip-link {
	position: absolute;
	z-index: 10;
	top: -100px;
	left: 16px;
	padding: 12px 16px;
	color: #10222b;
	background: white;
}
.skip-link:focus {
	top: 12px;
}
.site-header {
	background: #11232c;
	border-bottom: 1px solid #2d4652;
}
.header-inner {
	min-height: calc(var(--header-height) - 1px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}
.brand-icon {
	display: block;
	width: 46px;
	height: 46px;
}
.brand-copy {
	display: grid;
	gap: 3px;
}
.brand-name {
	display: flex;
	font-size: 22px;
	line-height: 1;
	letter-spacing: -0.04em;
	font-weight: 760;
}
.brand-name-accent {
	color: var(--accent);
}
.brand-caption {
	color: #a7b9c1;
	font-size: 9px;
	letter-spacing: 0.2em;
	font-weight: 700;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 28px;
}
.main-nav {
	display: flex;
	align-items: center;
	gap: 30px;
	font-size: 13px;
	font-weight: 570;
}
.main-nav a {
	color: var(--secondary);
}
.main-nav a:hover,
.footer-inner a:hover {
	color: var(--accent);
}
.external {
	color: var(--accent);
}
.language-switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 86px;
	min-height: 38px;
	padding: 5px 10px;
	border: 1px solid var(--border);
	border-radius: 5px;
	background: #0f2028;
	color: var(--secondary);
	font:
		700 12px / 1 ui-monospace,
		Consolas,
		monospace;
	cursor: pointer;
}
.language-switch:hover {
	border-color: var(--accent);
}
.language-switch[hidden] {
	display: none;
}
.language-current {
	color: var(--accent);
}
.language-next {
	color: var(--secondary);
}
.language-divider {
	width: 1px;
	height: 15px;
	background: var(--border);
}
.hero {
	display: grid;
	min-height: calc(100vh - var(--header-height));
	overflow: hidden;
	background: linear-gradient(120deg, #132731, #101e27 65%, #112a34);
	border-bottom: 1px solid var(--border);
}

@supports (height: 100dvh) {
	.hero {
		min-height: calc(100dvh - var(--header-height));
	}
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(245px, 0.65fr);
	align-items: center;
	gap: 35px;
}
.hero-content {
	position: relative;
	z-index: 1;
	padding: 77px 0 82px;
}
.eyebrow,
.section-label,
.item-label,
.card-category {
	font:
		700 11px / 1.5 ui-monospace,
		SFMono-Regular,
		Consolas,
		monospace;
	letter-spacing: 0.14em;
}
.eyebrow {
	display: flex;
	gap: 12px;
	align-items: center;
	color: #b8c9d0;
	margin: 0 0 28px;
}
.eyebrow-line {
	flex-shrink: 0;
	width: 25px;
	height: 2px;
	background: var(--accent);
}
h1 {
	margin: 0;
	font-size: clamp(46px, 5.2vw, 74px);
	letter-spacing: -0.065em;
	line-height: 1.06;
}
.accent {
	color: var(--accent);
}
.hero-subtitle {
	margin: 21px 0 0;
	color: #e4edef;
	font-size: clamp(21px, 2.1vw, 30px);
	letter-spacing: -0.025em;
	line-height: 1.4;
}
.hero-description {
	margin: 23px 0 0;
	max-width: 650px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--secondary);
}
.hero-links {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 30px;
}
.button {
	display: inline-flex;
	gap: 18px;
	justify-content: space-between;
	align-items: center;
	min-height: 43px;
	padding: 11px 16px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 5px;
}
.button-primary {
	background: var(--accent);
	color: #072417;
}
.button-primary:hover {
	background: #52eba1;
}
.button-secondary {
	border: 1px solid #59717b;
}
.button-secondary:hover {
	border-color: var(--accent);
}
.hero-art {
	position: relative;
	isolation: isolate;
	align-self: stretch;
	display: grid;
	place-items: center;
	min-height: 460px;
}
.art-grid {
	position: absolute;
	inset: 10% -16%;
	background-image:
		linear-gradient(to right, rgba(106, 147, 158, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(106, 147, 158, 0.06) 1px, transparent 1px);
	background-size: 38px 38px;
	mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
}
.art-ring {
	width: min(96%, 380px);
	aspect-ratio: 1;
	position: absolute;
	border: 1px solid rgba(68, 105, 117, 0.35);
	border-radius: 50%;
}
.art-ring-outer {
	transform: scale(1.16);
	opacity: 0.5;
}
.art-ring-inner {
	transform: scale(0.8);
	opacity: 0.7;
}
.hero-mark {
	position: relative;
	z-index: 1;
	display: block;
	width: min(62%, 218px);
	height: auto;
	filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.16));
}
.art-id {
	position: absolute;
	bottom: 44px;
	right: 10%;
	color: #78959f;
	font:
		600 10px ui-monospace,
		monospace;
	letter-spacing: 0.16em;
}
.about {
	background: #e9eef1;
	color: #142c37;
}
.about-inner {
	padding-block: 64px 68px;
	display: grid;
	grid-template-columns: 168px minmax(0, 1fr);
	gap: 36px;
}
.section-label {
	margin: 0;
	color: #a9bbc2;
	overflow-wrap: anywhere;
}
.section-label > span:first-child {
	color: var(--accent);
}
.about .section-label {
	color: #435a66;
	padding-top: 8px;
}
.about .section-label > span:first-child {
	color: #006b40;
}
.about-content {
	max-width: 900px;
}
.about-content h2,
.section-heading {
	margin: 0;
	font-size: clamp(29px, 3vw, 38px);
	letter-spacing: -0.04em;
	line-height: 1.22;
}
.about-content p {
	max-width: 850px;
	margin: 15px 0 0;
	color: #455d68;
	font-size: 17px;
	line-height: 1.67;
}
.work,
.projects,
.friends {
	padding-block: 74px 83px;
}
.work {
	border-bottom: 1px solid var(--border);
}
.section-heading {
	margin: 16px 0 30px;
}
.work-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.work-item {
	border-top: 1px solid #4b6570;
	padding: 22px 0 4px;
	min-width: 0;
}
.item-label {
	margin: 0;
	color: var(--accent);
}
.work-item h3 {
	margin: 14px 0 8px;
	font-size: 22px;
	letter-spacing: -0.024em;
	font-weight: 650;
}
.work-item p:last-child {
	max-width: none;
	width: 100%;
	margin: 0;
	color: var(--secondary);
	font-size: 16px;
	line-height: 1.6;
}
.projects {
	background: #11242d;
	border-bottom: 1px solid var(--border);
}
.friends {
	background: #13242d;
}
.section-topline {
	margin-bottom: 30px;
}
.section-topline .section-heading {
	margin-bottom: 12px;
}
.section-topline > p {
	margin: 0;
	color: var(--secondary);
	font-size: 16px;
	line-height: 1.65;
}
.tool-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.tool-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 28px;
	background: #162b35;
	border: 1px solid #36505c;
	border-radius: 10px;
}
.tool-heading {
	display: flex;
	align-items: center;
	gap: 16px;
}
.tool-heading > div {
	min-width: 0;
}
.tool-symbol {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border: 1px solid #365e50;
	border-radius: 10px;
	background: #15382f;
}
.tool-symbol svg {
	display: block;
}
.card-category {
	font-size: 10px;
}
.tool-heading .card-category {
	margin: 0 0 5px;
	color: #7fe4ae;
}
.tool-card h3 {
	font-size: 22px;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0;
}
.tool-controls {
	display: grid;
	gap: 12px;
	margin-top: 22px;
}
.tool-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.value-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.value-text {
	display: flex;
	align-items: center;
	min-height: 46px;
	min-width: 0;
	flex: 1 1 180px;
	padding: 12px 14px;
	border: 1px solid #597581;
	border-radius: 6px;
	background: #102029;
	color: #eaf5f2;
	font:
		600 14px / 1.35 ui-monospace,
		SFMono-Regular,
		Consolas,
		monospace;
	overflow-wrap: anywhere;
}
.small-button {
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid var(--accent);
	border-radius: 6px;
	background: var(--accent);
	color: #072417;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.small-button:hover:not(:disabled) {
	background: #52eba1;
}
.secondary-small {
	border-color: #72909d;
	background: #1b3541;
	color: #e0e9ed;
}
.secondary-small:hover:not(:disabled) {
	border-color: #91b1bf;
	background: #274653;
}
.tool-card button:disabled {
	opacity: 1;
	border-color: #415d69;
	background: #203640;
	color: #a2b4bc;
}
.tool-field {
	display: block;
	width: 100%;
}
.tool-field::placeholder {
	color: #a2b4bc;
	opacity: 1;
}
.field-label {
	display: block;
	color: var(--secondary);
	font-size: 13px;
	line-height: 1.5;
}

.password-options {
	display: grid;
	gap: 10px;
}
.password-sets {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.password-sets label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	min-height: 38px;
	padding: 7px 8px;
	border: 1px solid #395462;
	border-radius: 6px;
	background: #102029;
	color: #9fb5be;
	font-size: 11px;
	white-space: nowrap;
	cursor: pointer;
	transition:
		border-color 120ms ease,
		background 120ms ease,
		color 120ms ease;
}
.password-sets label:hover {
	border-color: #597581;
	color: #dce9ed;
}
.password-sets label:has(input:checked) {
	border-color: rgba(97, 229, 161, 0.52);
	background: #143128;
	color: #eaf5f2;
}
.password-sets input {
	position: relative;
	width: 15px;
	height: 15px;
	margin: 0;
	border: 1px solid #66818d;
	border-radius: 3px;
	background: #172f3a;
	appearance: none;
	cursor: pointer;
	flex: 0 0 auto;
}
.password-sets input:checked {
	border-color: var(--accent);
	background: var(--accent);
}
.password-sets input:checked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #072417;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.password-sets input:focus-visible {
	outline: 2px solid rgba(97, 229, 161, 0.45);
	outline-offset: 2px;
}
.password-action-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}
.password-action-row .tool-actions {
	flex-wrap: nowrap;
	margin-left: 0;
}
.password-length {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 6px 7px 6px 12px;
	border: 1px solid #395462;
	border-radius: 6px;
	background: #102029;
	color: #e6f0f3;
	font-size: 13px;
}
.password-length-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	line-height: 1.2;
	font-weight: 600;
}
.password-length-range {
	color: #a9bbc2;
	font:
		500 11px / 1.3 ui-monospace,
		SFMono-Regular,
		Consolas,
		monospace;
}
.password-length input {
	width: 58px;
	height: 36px;
	padding: 4px 5px;
	border: 1px solid #597581;
	border-radius: 5px;
	outline: none;
	background: #172f3a;
	color: #eaf5f2;
	font:
		700 13px / 1 ui-monospace,
		SFMono-Regular,
		Consolas,
		monospace;
	text-align: center;
	transition:
		border-color 120ms ease,
		box-shadow 120ms ease,
		background 120ms ease;
	-moz-appearance: textfield;
}
.password-length input::-webkit-inner-spin-button,
.password-length input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}
.password-length input:hover {
	border-color: #7796a3;
}
.password-length input:focus {
	border-color: #61e5a1;
	box-shadow: 0 0 0 2px rgba(97, 229, 161, 0.12);
}
.password-length input[aria-invalid="true"]:not(:focus) {
	border-color: #9d6868;
}
.browser-info-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
}
.browser-info-row {
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #597581;
	border-radius: 6px;
	background: #102029;
}
.browser-info-row dt {
	margin: 0;
	color: var(--secondary);
	font-size: 11px;
	line-height: 1.35;
}
.browser-info-row dd {
	min-width: 0;
	margin: 4px 0 0;
	color: #eaf5f2;
	font:
		600 13px / 1.4 ui-monospace,
		SFMono-Regular,
		Consolas,
		monospace;
	overflow-wrap: anywhere;
}
.browser-copy-actions {
	display: block;
}
.browser-copy-actions .small-button {
	width: 100%;
}
.card-help {
	margin: 18px 0 0;
	color: #b3c5cd;
	font-size: 13px;
	line-height: 1.6;
}
.tool-notice {
	margin: 8px 0 0;
	color: var(--secondary);
	font-size: 12px;
	line-height: 1.5;
}
.card-status {
	min-height: 17px;
	margin: 12px 0 0;
	color: #78e4ac;
	font-size: 12px;
	line-height: 1.4;
}
.card-status:empty {
	visibility: hidden;
}
.site-footer {
	background: #102029;
	border-top: 1px solid var(--border);
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 19px;
	padding-block: 27px;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: -0.04em;
}
.footer-divider {
	height: 20px;
	width: 1px;
	background: #42606e;
	margin-inline: 16px;
}
.footer-brand > span:last-child {
	color: var(--secondary);
	font-size: 12px;
	letter-spacing: 0;
	font-weight: 450;
}
.footer-inner p,
.footer-inner a {
	margin: 0;
	color: #adbec5;
	font-size: 12px;
}
.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.project-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px;
	border: 1px solid #3c5763;
	border-radius: 7px;
	background: #182e38;
}
.project-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--accent);
}
.project-tag {
	display: inline-flex;
	align-items: center;
	border: 1px solid #65716c;
	border-radius: 3px;
	padding: 4px 6px;
	color: #c3cccf;
	font:
		650 10px / 1.4 ui-monospace,
		Consolas,
		monospace;
	letter-spacing: 0.05em;
}
.project-tag-public {
	border-color: #3f7a60;
	color: #8be9b6;
}
.project-card h3 {
	margin: 18px 0 10px;
	font-size: 22px;
	letter-spacing: -0.025em;
}
.project-card > p {
	margin: 0;
	color: var(--secondary);
	font-size: 15px;
	line-height: 1.65;
}
.project-card .project-note {
	margin-top: 14px;
	font-size: 13px;
	color: var(--muted);
}
.project-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 23px;
	color: #83e8af;
	font-size: 13px;
	font-weight: 700;
}
.project-link:hover {
	color: #c1ffda;
}
.friends .inline-link {
	color: #83e8af;
	text-decoration: underline;
	text-decoration-color: rgba(131, 232, 175, 0.45);
	text-underline-offset: 3px;
}
.friends .inline-link:hover {
	color: #c1ffda;
	text-decoration-color: currentColor;
}
.footer-copyright {
	text-align: center;
}
@media (max-width: 980px) {
	.hero-inner {
		grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.6fr);
		gap: 10px;
	}
	.hero-art {
		min-height: 410px;
	}
}
@media (max-width: 520px) {
	.browser-info-list {
		grid-template-columns: 1fr;
	}
	.password-sets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.password-action-row {
		grid-template-columns: 1fr;
	}
	.password-action-row .tool-actions {
		width: 100%;
	}
	.password-action-row .tool-actions .small-button {
		flex: 1 1 0;
	}
	.password-length {
		width: 100%;
	}
}
@media (max-width: 720px) {
	:root {
		--header-height: 76px;
	}
	.container {
		width: calc(100% - 40px);
	}
	.header-actions {
		gap: 13px;
	}
	.main-nav {
		gap: 17px;
		font-size: 12px;
	}
	.main-nav a:first-child,
	.main-nav a:nth-child(3) {
		display: none;
	}
	.hero-inner {
		grid-template-columns: 1fr;
	}
	.hero-content {
		padding: 65px 0 18px;
	}
	.hero-art {
		min-height: 225px;
		max-height: 240px;
	}
	.hero-mark {
		width: 130px;
	}
	.art-ring {
		width: 240px;
	}
	.art-id {
		bottom: 19px;
		right: 17%;
	}
	.about-inner {
		grid-template-columns: 1fr;
		gap: 17px;
		padding-block: 58px;
	}
	.work,
	.projects,
	.friends {
		padding-block: 60px;
	}
	.tool-grid,
	.project-grid {
		grid-template-columns: 1fr;
	}
	.card-help {
		min-height: 0;
	}
}
@media (max-width: 520px) {
	:root {
		--header-height: 71px;
	}
	.container {
		width: calc(100% - 32px);
	}
	.brand-icon {
		width: 39px;
		height: 39px;
	}
	.brand {
		gap: 8px;
	}
	.brand-name {
		font-size: 20px;
	}
	.brand-caption {
		font-size: 8px;
		letter-spacing: 0.12em;
	}
	.main-nav {
		display: none;
	}
	.hero-content {
		padding-top: 55px;
	}
	h1 {
		font-size: clamp(43px, 10vw, 54px);
	}
	.hero-description {
		font-size: 15px;
	}
	.work-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.work-item {
		padding-top: 18px;
	}
	.tool-card {
		padding: 22px 18px;
	}
	.tool-heading {
		gap: 12px;
	}
	.tool-symbol {
		width: 42px;
		height: 42px;
	}
	.tool-card h3 {
		font-size: 20px;
	}
	.value-text {
		flex-basis: 100%;
	}
	.value-row > .small-button {
		width: 100%;
	}
	.value-row > .tool-actions {
		display: flex;
		width: 100%;
	}
	.value-row > .tool-actions .small-button {
		flex: 1 1 0;
	}
	.footer-brand {
		flex-wrap: wrap;
		row-gap: 8px;
	}
}
@media (prefers-reduced-motion: reduce) {
	:root {
		scroll-behavior: auto;
	}
}
