@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,500;9..144,600&family=Public+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
	--gas-backdrop: #0b0e14;
	--gas-backdrop-violet: #241b3a;
	--gas-amber: #e8a33d;
	--gas-teal: #2e7d74;
	--gas-bone: #edeae2;
	--gas-slate: #8891a0;
	--gas-slate-dim: #454c58;
	--gas-display: 'Fraunces', Georgia, serif;
	--gas-body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--gas-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

.gas-cs-body {
	margin: 0;
	background: var(--gas-backdrop);
}

.gas-root {
	background: var(--gas-backdrop);
	color: var(--gas-bone);
	font-family: var(--gas-body);
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;
}

.gas-root *,
.gas-root *::before,
.gas-root *::after {
	box-sizing: border-box;
}

.gas-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Atmosphere (fixed background layer behind the hero) ---------- */

.gas-atmosphere {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 640px;
	overflow: hidden;
	pointer-events: none;
	background: radial-gradient(ellipse 120% 80% at 50% 0%, var(--gas-backdrop-violet) 0%, var(--gas-backdrop) 62%);
}

.gas-skyline {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 55%;
	fill: #12101c;
	opacity: 0.9;
}

.gas-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(232, 163, 61, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(232, 163, 61, 0.06) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 0%, transparent 72%);
}

.gas-scanline {
	position: absolute;
	left: 0;
	width: 100%;
	height: 140px;
	background: linear-gradient(to bottom, transparent, rgba(46, 125, 116, 0.09), transparent);
	animation: gas-scan 9s ease-in-out infinite;
}

@keyframes gas-scan {
	0%   { top: -140px; opacity: 0; }
	15%  { opacity: 1; }
	50%  { top: 480px; opacity: 0.6; }
	85%  { opacity: 1; }
	100% { top: 640px; opacity: 0; }
}

/* ---------- Hero ---------- */

.gas-hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8vh 24px 10vh;
	text-align: center;
}

.gas-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 640px;
	margin: 0 auto;
}

.gas-aperture {
	width: 84px;
	height: 84px;
	margin: 0 auto 28px;
	display: block;
	overflow: visible;
}

.gas-aperture-ring {
	fill: none;
	stroke: var(--gas-slate-dim);
	stroke-width: 1.5;
}

.gas-aperture-blades polygon {
	fill: var(--gas-amber);
	transform-origin: 100px 100px;
	animation: gas-iris-open 2.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gas-aperture-blades polygon:nth-child(1) { animation-delay: 0.05s; }
.gas-aperture-blades polygon:nth-child(2) { animation-delay: 0.15s; }
.gas-aperture-blades polygon:nth-child(3) { animation-delay: 0.25s; }
.gas-aperture-blades polygon:nth-child(4) { animation-delay: 0.35s; }

@keyframes gas-iris-open {
	from { transform: scale(2.4); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

.gas-eyebrow {
	font-family: var(--gas-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gas-slate);
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.gas-section .gas-eyebrow {
	justify-content: flex-start;
}

.gas-tc {
	color: var(--gas-amber);
	opacity: 0.85;
}

.gas-title {
	font-family: var(--gas-display);
	font-weight: 600;
	font-size: clamp(48px, 9vw, 96px);
	line-height: 1;
	margin: 0 0 18px;
	letter-spacing: -0.01em;
}

.gas-tagline {
	font-family: var(--gas-display);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(20px, 3vw, 28px);
	color: var(--gas-bone);
	margin: 0 0 22px;
}

.gas-sub {
	font-size: 17px;
	color: var(--gas-slate);
	max-width: 480px;
	margin: 0 auto 36px;
}

.gas-cta {
	display: inline-block;
	font-family: var(--gas-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--gas-backdrop);
	background: var(--gas-amber);
	padding: 14px 30px;
	border-radius: 3px;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	border: none;
	cursor: pointer;
}

.gas-cta:hover,
.gas-cta:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(232, 163, 61, 0.25);
}

.gas-cta:focus-visible {
	outline: 2px solid var(--gas-teal);
	outline-offset: 3px;
}

/* ---------- Body sections ---------- */

.gas-body {
	position: relative;
	z-index: 1;
}

.gas-section {
	max-width: 880px;
	margin: 0 auto;
	padding: 90px 24px;
	border-top: 1px solid rgba(237, 234, 226, 0.08);
}

.gas-section--alt {
	background: linear-gradient(180deg, rgba(46, 125, 116, 0.05), transparent);
}

.gas-h2 {
	font-family: var(--gas-display);
	font-weight: 500;
	font-size: clamp(28px, 4vw, 40px);
	margin: 0 0 22px;
	max-width: 14ch;
}

.gas-lede {
	font-size: 17px;
	color: var(--gas-slate);
	max-width: 60ch;
}

.gas-pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 40px;
}

.gas-pillar h3 {
	font-family: var(--gas-display);
	font-weight: 500;
	font-size: 20px;
	color: var(--gas-amber);
	margin: 0 0 10px;
}

.gas-pillar p {
	font-size: 15px;
	color: var(--gas-slate);
	margin: 0;
}

/* ---------- Signup ---------- */

.gas-section--signup {
	text-align: left;
}

.gas-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
	max-width: 560px;
}

.gas-input,
.gas-select {
	font-family: var(--gas-body);
	font-size: 15px;
	color: var(--gas-bone);
	background: rgba(237, 234, 226, 0.04);
	border: 1px solid rgba(237, 234, 226, 0.18);
	border-radius: 3px;
	padding: 13px 14px;
}

.gas-input {
	flex: 1 1 240px;
}

.gas-select {
	flex: 0 0 auto;
}

.gas-input:focus-visible,
.gas-select:focus-visible {
	outline: 2px solid var(--gas-teal);
	outline-offset: 1px;
}

.gas-cta--form {
	flex: 0 0 auto;
}

.gas-form-message {
	font-family: var(--gas-mono);
	font-size: 13px;
	margin: 24px 0 0;
	padding: 10px 14px;
	border-radius: 3px;
	display: inline-block;
}

.gas-form-message--success {
	color: var(--gas-teal);
	background: rgba(46, 125, 116, 0.12);
	border: 1px solid rgba(46, 125, 116, 0.35);
}

.gas-form-message--error {
	color: #d97757;
	background: rgba(217, 119, 87, 0.1);
	border: 1px solid rgba(217, 119, 87, 0.3);
}

/* ---------- Footer ---------- */

.gas-footer {
	text-align: center;
	padding: 40px 24px 60px;
	font-family: var(--gas-mono);
	font-size: 12px;
	color: var(--gas-slate-dim);
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
	.gas-pillars {
		grid-template-columns: 1fr;
	}
	.gas-section {
		padding: 64px 20px;
	}
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.gas-aperture-blades polygon {
		animation: none;
		opacity: 1;
		transform: none;
	}
	.gas-scanline {
		animation: none;
		opacity: 0;
	}
	.gas-cta {
		transition: none;
	}
}
