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

:root {
	--ink: #1f2d24;
	--muted: #647168;
	--paper: #f8f8f3;
	--green: #d9ed68;
	--line: #dfe5dc;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: 'DM Sans', sans-serif;
}

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

button {
	font: inherit;
}

.container {
	width: min(1080px, calc(100% - 64px));
	margin: 0 auto;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

/* Header and navigation */
.site-header {
	border-bottom: 1px solid var(--line);
}

.navbar {
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.brand b,
em {
	color: #7c971e;
	font-style: normal;
}

.brand-mark {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: var(--green);
	font-size: 18px;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 34px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.nav-menu a {
	transition: color 0.2s ease;
}

.nav-menu a:hover {
	color: #7c971e;
}

.menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	cursor: pointer;
}

/* Hero */
.hero {
	min-height: 570px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 56px;
	padding: 64px 0 72px;
}

.eyebrow {
	margin: 0 0 20px;
	color: #7c971e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

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

h1,
h2 {
	letter-spacing: -0.05em;
}

h1 {
	max-width: 560px;
	margin-bottom: 24px;
	font-size: clamp(48px, 6vw, 76px);
	line-height: 0.98;
}

.hero-text {
	max-width: 420px;
	margin-bottom: 30px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.7;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	padding: 15px 20px 15px 22px;
	border: 0;
	border-radius: 5px;
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
	transform: translateY(-2px);
	background: #58751d;
}

.button span {
	color: var(--green);
	font-size: 19px;
}

/* Lamp illustration */
.hero-visual {
	position: relative;
	min-height: 380px;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: #eef2d2;
}

.hero-visual::before {
	content: '';
	position: absolute;
	width: 270px;
	height: 270px;
	border-radius: 50%;
	background: var(--green);
	opacity: 0.65;
}

.bulb {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.bulb-glass {
	position: relative;
	width: 152px;
	height: 180px;
	border: 5px solid var(--ink);
	border-radius: 50% 50% 45% 45%;
	background: #fffbd4;
	box-shadow: 0 0 30px rgba(255, 251, 212, 0.8);
}

.bulb-filament {
	position: absolute;
	left: 50%;
	bottom: 35px;
	width: 42px;
	height: 65px;
	border: 4px solid #d4a323;
	border-top: 0;
	border-radius: 0 0 50% 50%;
	transform: translateX(-50%);
}

.bulb-filament::before,
.bulb-filament::after {
	content: '';
	position: absolute;
	top: -5px;
	width: 4px;
	height: 34px;
	background: #d4a323;
}

.bulb-filament::before {
	left: -4px;
	transform: rotate(25deg);
}

.bulb-filament::after {
	right: -4px;
	transform: rotate(-25deg);
}

.bulb-base {
	display: grid;
	gap: 6px;
	margin-top: -1px;
}

.bulb-base span {
	display: block;
	width: 82px;
	height: 9px;
	border-radius: 4px;
	background: var(--ink);
}

.light-rays span {
	position: absolute;
	z-index: 2;
	width: 3px;
	height: 36px;
	border-radius: 3px;
	background: #a9bd39;
}

.light-rays span:nth-child(1) {
	top: 52px;
	left: 50%;
}

.light-rays span:nth-child(2) {
	top: 78px;
	left: 27%;
	transform: rotate(-45deg);
}

.light-rays span:nth-child(3) {
	top: 78px;
	right: 27%;
	transform: rotate(45deg);
}

.light-rays span:nth-child(4) {
	top: 150px;
	left: 21%;
	transform: rotate(-75deg);
}

.light-rays span:nth-child(5) {
	top: 150px;
	right: 21%;
	transform: rotate(75deg);
}

.visual-note {
	position: absolute;
	right: 24px;
	bottom: 20px;
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.4;
	text-align: right;
}

.visual-note strong {
	color: var(--ink);
	font-size: 14px;
}

/* Information and actions */
.simple-info {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
	padding: 55px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.simple-info .eyebrow {
	margin: 0;
}

.simple-info > p:last-child {
	max-width: 620px;
	margin: 0;
	font-size: 22px;
	line-height: 1.45;
}

.action-section {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 70px;
	padding: 85px 0 100px;
}

h2 {
	margin-bottom: 0;
	font-size: clamp(38px, 4vw, 54px);
	line-height: 1;
}

.action-list {
	border-top: 1px solid var(--line);
}

.action-list p {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	font-size: 16px;
}

.action-list span {
	color: #7c971e;
	font-size: 12px;
	font-weight: 700;
}

/* Footer */
.site-footer {
	padding: 42px 0 22px;
	background: #dcefb0;
	color: #000;
}

.footer-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 110px;
}

.footer-main .brand b {
	color: #000;
}

.footer-main p {
	margin: 17px 0 0;
	color: #000;
	font-size: 13px;
}

.back-top {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid #7c971e;
	border-radius: 50%;
	color: #000;
	font-size: 20px;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	border-top: 1px solid #b4cf8f;
	color: #000;
	font-size: 11px;
}

/* Responsive layout */
@media (max-width: 700px) {
	.container {
		width: min(100% - 40px, 540px);
	}

	.navbar {
		min-height: 70px;
	}

	.menu-toggle {
		display: flex;
		flex-direction: column;
		gap: 5px;
		padding: 8px 0 8px 8px;
	}

	.menu-toggle span:not(.sr-only) {
		width: 23px;
		height: 2px;
		background: var(--ink);
	}

	.nav-menu {
		position: absolute;
		z-index: 3;
		top: 70px;
		right: 20px;
		left: 20px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px;
		background: var(--paper);
		border: 1px solid var(--line);
		box-shadow: 0 8px 20px rgba(31, 45, 36, 0.1);
	}

	.nav-menu.is-open {
		display: flex;
	}

	.nav-menu a {
		padding: 13px;
	}

	.hero {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 42px;
		padding: 65px 0 55px;
	}

	h1 {
		font-size: clamp(44px, 13vw, 64px);
	}

	.hero-visual {
		min-height: 340px;
	}

	.simple-info,
	.action-section {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.simple-info {
		padding: 45px 0;
	}

	.simple-info > p:last-child {
		font-size: 20px;
	}

	.action-section {
		padding: 65px 0 75px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 8px;
	}
}