@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
	 color-scheme: light;
	 --ink: #192c27;
	 --ink-soft: #50615a;
	 --muted: #7c8981;
	 --paper: #f5f7f2;
	 --white: #fff;
	 --green: #b9e47c;
	 --green-dark: #597d35;
	 --line: #e2e9df;
	 --font-body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	 --font-display: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

.site-header,
.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1120px, calc(100% - 64px));
	margin: 0 auto;
}

.site-header {
	min-height: 88px;
	border-bottom: 1px solid var(--line);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.5px;
	text-decoration: none;
	white-space: nowrap;
}

.brand-mark {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 11px;
	background: var(--ink);
	color: var(--green);
	font-size: 19px;
}

.brand-light {
	color: var(--muted);
	font-weight: 500;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 35px;
}

.site-nav a,
.footer-nav a {
	color: var(--ink-soft);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: color 160ms ease;
}

.site-nav a:hover,
.footer-nav a:hover {
	color: var(--green-dark);
}

.site-nav .nav-current {
	color: var(--green-dark);
}

.hero,
.collections-hero {
	position: relative;
	overflow: hidden;
	width: min(1120px, calc(100% - 64px));
	margin: 0 auto;
}

.hero {
	display: grid;
	min-height: 510px;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: center;
	padding: 60px 0 65px;
}

.hero-copy {
	position: relative;
	z-index: 1;
	max-width: 625px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 18px;
	color: var(--green-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.45px;
	text-transform: uppercase;
}

.eyebrow-dot,
.art-status {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #8dbc4c;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: var(--font-display);
}

h1 {
	max-width: 620px;
	margin-bottom: 20px;
	font-size: clamp(44px, 5.2vw, 66px);
	font-weight: 700;
	letter-spacing: -3.7px;
	line-height: 1.1;
}

.text-accent {
	color: var(--green-dark);
}

.hero-description {
	max-width: 520px;
	margin-bottom: 30px;
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	background: var(--ink);
	color: var(--white);
}

.button-primary:hover {
	background: #2b433b;
}

.button-secondary {
	border-color: #dbe3d8;
	background: transparent;
	color: var(--ink);
}

.button-secondary:hover {
	border-color: #b8c8b2;
	background: var(--white);
}

.hero-art {
	position: relative;
	display: grid;
	min-height: 345px;
	place-items: center;
}

.art-orbit {
	position: absolute;
	width: 278px;
	height: 278px;
	border: 1px solid #dfe8d8;
	border-radius: 50%;
}

.orbit-two {
	width: 350px;
	height: 350px;
	border-color: #e9eee5;
}

.art-card {
	position: relative;
	display: flex;
	width: 240px;
	min-height: 260px;
	flex-direction: column;
	padding: 23px;
	border: 1px solid #e8ece3;
	border-radius: 14px;
	background: var(--white);
	box-shadow: 0 20px 55px rgb(34 55 42 / 9%);
	transform: rotate(3deg);
}

.art-card-label,
.install-label {
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.15px;
}

.art-card-icon {
	display: grid;
	width: 54px;
	height: 54px;
	margin-top: 26px;
	place-items: center;
	border-radius: 16px;
	background: #edf5e5;
	color: var(--green-dark);
	font-size: 28px;
}

.art-card-title {
	margin-top: 15px;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.7px;
	line-height: 1.22;
}

.art-card-bottom {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--muted);
	font-size: 9px;
	font-weight: 600;
}

.art-spark {
	position: absolute;
	color: #8dbc4c;
	font-weight: 700;
}

.spark-one {
	top: 52px;
	right: 37px;
	font-size: 24px;
}

.spark-two {
	bottom: 52px;
	left: 37px;
	font-size: 28px;
}

.section-shell {
	width: min(1040px, calc(100% - 64px));
	margin: 0 auto;
}

.intro {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 55px;
	padding: 62px 0 70px;
	border-top: 1px solid var(--line);
}

.intro .eyebrow {
	margin-top: 9px;
}

.intro-content h2,
.section-heading h2,
.collections-section h2 {
	margin-bottom: 14px;
	font-size: clamp(28px, 3.4vw, 38px);
	font-weight: 700;
	letter-spacing: -1.8px;
	line-height: 1.2;
}

.intro-content p {
	max-width: 600px;
	margin: 0;
	color: var(--ink-soft);
	font-size: 14px;
	line-height: 1.85;
}

.work-section,
.collections-section {
	padding: 55px 0 86px;
}

.work-section {
	border-top: 1px solid var(--line);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.section-heading .eyebrow {
	margin-bottom: 12px;
}

.section-heading h2 {
	margin: 0;
}

.section-note {
	max-width: 260px;
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.7;
}

.work-grid,
.collection-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.work-card,
.collection-card {
	border: 1px solid #e4eae0;
	border-radius: 11px;
	background: var(--white);
}

.work-card {
	min-height: 248px;
	padding: 24px 25px;
}

.card-topline {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 23px;
}

.card-icon {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 9px;
	background: #edf5e5;
	color: var(--green-dark);
	font-size: 15px;
	font-weight: 700;
}

.open-source-card .card-icon {
	background: #edf0f7;
	color: #56688e;
}

.card-category {
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.work-card h3,
.collection-card h3 {
	margin-bottom: 10px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.65px;
}

.work-card > p,
.collection-card > p {
	color: var(--ink-soft);
	font-size: 12px;
	line-height: 1.8;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 4px;
	color: var(--green-dark);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.text-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.collections-hero {
	padding: 79px 0 56px;
}

.collections-hero h1 {
	max-width: 770px;
	font-size: clamp(42px, 5vw, 60px);
}

.collections-hero .hero-description {
	max-width: 650px;
}

.product-hero {
	padding: 74px 0 61px;
}

.product-hero h1 {
	max-width: 700px;
}

.product-detail {
	max-width: 610px;
	margin: -13px 0 29px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.8;
}

.product-gallery {
	padding: 48px 0 80px;
	border-top: 1px solid var(--line);
}

.screenshot-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 17px;
}

.screenshot-grid img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #e4eae0;
	border-radius: 10px;
	background: var(--white);
}

.policy-page {
	padding: 60px 0 70px;
}

.policy-intro {
	margin-bottom: 32px;
}

.policy-intro h1 {
	max-width: 800px;
}

.policy-content {
	padding: clamp(20px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--white);
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.policy-content strong {
	color: var(--ink);
	font-family: var(--font-display);
}

.policy-content p {
	margin: 12px 0 18px;
}

.policy-content ul {
	padding-left: 24px;
}

.policy-content a {
	color: var(--green-dark);
	text-underline-offset: 3px;
}

.policy-content hr {
	margin: 28px 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.collection-flow {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	padding: 13px 16px;
	border: 1px solid #e2e9df;
	border-radius: 7px;
	background: rgb(255 255 255 / 55%);
	color: var(--ink-soft);
	font-size: 10px;
	font-weight: 700;
}

.flow-arrow {
	color: var(--green-dark);
	font-size: 15px;
}

.collections-section {
	padding-top: 46px;
	border-top: 1px solid var(--line);
}

.collection-card {
	display: flex;
	min-height: 305px;
	flex-direction: column;
	padding: 25px;
}

.collection-number {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 24px;
	color: var(--green-dark);
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.4px;
}

.collection-number span {
	color: var(--muted);
	font-family: var(--font-body);
	font-size: 9px;
	letter-spacing: 1px;
}

.collection-card h3 {
	font-size: 22px;
}

.collection-card > p {
	max-width: 430px;
	margin-bottom: 21px;
}

.install-block {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-top: auto;
	padding: 12px 13px;
	border: 1px solid #e7ece4;
	border-radius: 6px;
	background: #f8faf6;
}

.install-block code {
	overflow-wrap: anywhere;
	color: var(--ink);
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 11px;
	font-weight: 600;
}

.collection-links {
	display: flex;
	margin-top: 15px;
}

.collection-links .button {
	min-height: 40px;
	font-size: 11px;
}

.collection-note {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	margin-top: 19px;
	padding: 17px 18px;
	border: 1px solid #e2e9df;
	border-radius: 8px;
	background: #eef3e9;
}

.note-icon {
	display: grid;
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
	place-items: center;
	border-radius: 50%;
	background: #dce9cd;
	color: var(--green-dark);
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 800;
}

.collection-note p {
	margin: 1px 0 0;
	color: var(--ink-soft);
	font-size: 11px;
	line-height: 1.8;
}

.collection-note strong {
	color: var(--ink);
}

.site-footer {
	min-height: 86px;
	border-top: 1px solid var(--line);
}

.footer-brand {
	font-size: 13px;
}

.footer-brand .brand-mark {
	width: 29px;
	height: 29px;
	border-radius: 9px;
	font-size: 16px;
}

.site-footer p {
	margin: 0;
	color: var(--muted);
	font-size: 11px;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.footer-nav a {
	font-size: 11px;
}

.site-footer {
	gap: 20px;
	padding: 18px 0;
}

@media (max-width: 760px) {
	.site-header,
	.site-footer,
	.hero,
	.collections-hero {
		width: min(100% - 40px, 560px);
	}

	.site-header {
		min-height: 72px;
	}

	.site-nav {
		gap: 16px;
	}

	.site-nav a {
		font-size: 11px;
	}

	.site-nav a:first-child {
		display: none;
	}

	.hero {
		min-height: auto;
		grid-template-columns: 1fr;
		padding: 65px 0 49px;
	}

	.hero-copy {
		max-width: 560px;
	}

	h1 {
		max-width: 530px;
		font-size: clamp(43px, 9vw, 60px);
		letter-spacing: -2.8px;
	}

	.hero-art {
		display: none;
	}

	.section-shell {
		width: min(100% - 40px, 560px);
	}

	.intro {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 43px 0 52px;
	}

	.work-section,
	.collections-section {
		padding: 43px 0 58px;
	}

	.collections-hero {
		padding: 61px 0 42px;
	}

	.product-hero {
		padding: 60px 0 48px;
	}

	.collections-hero h1 {
		font-size: clamp(40px, 8.5vw, 56px);
	}

	.product-gallery {
		padding: 39px 0 58px;
	}
}

@media (max-width: 520px) {
	.site-header {
		flex-wrap: wrap;
		gap: 16px;
		padding: 16px 0;
	}

	.site-nav {
		width: 100%;
		justify-content: space-between;
	}

	.brand {
		gap: 8px;
		font-size: 14px;
	}

	.brand-mark {
		width: 30px;
		height: 30px;
	}

	.site-nav {
		gap: 12px;
	}

	.site-nav a {
		font-size: 10px;
	}

	.site-nav a:last-child {
		max-width: 99px;
		text-align: right;
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.hero-actions .button {
		justify-content: space-between;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
	}

	.work-grid,
	.collection-grid,
	.screenshot-grid {
		grid-template-columns: 1fr;
	}

	.work-card {
		min-height: auto;
		padding: 21px;
	}

	.collection-card {
		min-height: 300px;
		padding: 21px;
	}

	.collection-flow {
		flex-wrap: wrap;
		gap: 9px;
		font-size: 9px;
	}

	.site-footer {
		min-height: 100px;
		flex-wrap: wrap;
		gap: 8px;
		padding: 17px 0;
	}

	.site-footer p {
		order: 1;
		width: 100%;
	}

	.footer-nav {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
	}
}
