:root {
	--ink: #0c1a22;
	--ink-soft: #3a4f5c;
	--paper: #f3f7f8;
	--paper-deep: #e4eef1;
	--sea: #0d6e7a;
	--sea-deep: #084a52;
	--signal: #e8a317;
	--fiber: #2ec4b6;
	--fiber-soft: #7dd3c7;
	--line: rgba(12, 26, 34, 0.12);
	--header-h: 4.25rem;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font-display: "Bricolage Grotesque", Georgia, serif;
	--font-body: "Sora", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--ink);
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(46, 196, 182, 0.18), transparent 55%),
		radial-gradient(900px 500px at 100% 0%, rgba(232, 163, 23, 0.12), transparent 50%),
		linear-gradient(180deg, #eef5f6 0%, var(--paper) 28%, #f7fafa 100%);
	line-height: 1.6;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--sea-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--sea);
}

h1, h2, h3 {
	font-family: var(--font-display);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

address {
	font-style: normal;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 0.75rem 1rem;
	z-index: 1000;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.shell {
	width: min(1120px, calc(100% - 2.5rem));
	margin-inline: auto;
}

/* Header */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header .nav-menu a {
	color: rgba(244, 250, 251, 0.9);
}

.site-header .nav-login {
	border-color: rgba(244, 250, 251, 0.7);
	color: #fff;
}

.site-header .nav-toggle span {
	background: #fff;
}

.site-header .nav-logo img {
	filter: brightness(0) invert(1);
	transition: filter 0.3s;
}

.site-header.is-scrolled {
	background: rgba(243, 247, 248, 0.88);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .nav-menu a {
	color: var(--ink);
}

.site-header.is-scrolled .nav-login {
	border-color: var(--ink);
	color: var(--ink);
}

.site-header.is-scrolled .nav-toggle span {
	background: var(--ink);
}

.site-header.is-scrolled .nav-logo img {
	filter: none;
}

.nav {
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.nav-logo img {
	height: 42px;
	width: auto;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 1.35rem;
}

.nav-menu a {
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	opacity: 0.9;
	transition: opacity 0.2s, color 0.3s;
}

.nav-menu a:hover {
	opacity: 1;
}

.nav-login {
	padding: 0.55rem 1rem;
	border: 1.5px solid var(--ink);
	border-radius: 2px;
	opacity: 1 !important;
}

.nav-toggle {
	display: none;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	padding: 0;
}

.nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--ink);
	transition: transform 0.3s var(--ease);
}

/* Hero — full-bleed Three.js */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	align-items: end;
	overflow: hidden;
	color: #f4fafb;
	background: #031016;
}

#heroCanvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.hero-veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at 68% 42%, transparent 0%, rgba(3, 16, 22, 0.35) 55%, rgba(3, 16, 22, 0.75) 100%),
		linear-gradient(105deg, rgba(3, 16, 22, 0.82) 0%, rgba(3, 16, 22, 0.45) 42%, rgba(3, 16, 22, 0.12) 72%, rgba(3, 16, 22, 0.4) 100%),
		linear-gradient(180deg, rgba(3, 16, 22, 0.35) 0%, transparent 30%, rgba(3, 16, 22, 0.65) 100%);
	pointer-events: none;
	z-index: 1;
}

.hero-veil::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 3px,
		rgba(0, 0, 0, 0.03) 3px,
		rgba(0, 0, 0, 0.03) 4px
	);
	opacity: 0.5;
	pointer-events: none;
}

.hero-copy {
	position: relative;
	z-index: 2;
	width: min(1120px, calc(100% - 2.5rem));
	margin: 0 auto;
	padding: calc(var(--header-h) + 3rem) 0 4.5rem;
	max-width: 38rem;
	justify-self: start;
	margin-left: max(1.25rem, calc((100% - 1120px) / 2));
}

.hero-brand {
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 7vw, 4.75rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 0.95;
	margin: 0 0 1.1rem;
	color: #fff;
	animation: riseIn 1s var(--ease) 0.15s both;
	text-shadow: 0 0 40px rgba(46, 196, 182, 0.25);
}

.hero-headline {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.8vw, 1.85rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	max-width: 18ch;
	margin: 0 0 0.85rem;
	color: rgba(244, 250, 251, 0.95);
	animation: riseIn 1s var(--ease) 0.35s both;
}

.hero-lead {
	font-size: 1.05rem;
	font-weight: 300;
	color: rgba(244, 250, 251, 0.78);
	max-width: 34ch;
	margin-bottom: 1.75rem;
	animation: riseIn 1s var(--ease) 0.5s both;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	animation: riseIn 1s var(--ease) 0.65s both;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.85rem 1.35rem;
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 600;
	border-radius: 2px;
	border: 1.5px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: var(--signal);
	color: var(--ink);
	border-color: var(--signal);
}

.btn-primary:hover {
	background: #f0b12e;
	color: var(--ink);
}

.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
	border-color: #fff;
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
	width: 100%;
}

.btn-outline:hover {
	background: var(--ink);
	color: #fff;
}

.plan-featured .btn-primary {
	width: 100%;
}

/* Sections */
.section {
	padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.section-head {
	max-width: 36rem;
	margin-bottom: 3rem;
}

.section-head h2 {
	font-size: clamp(1.85rem, 3.5vw, 2.65rem);
}

.section-head p {
	color: var(--ink-soft);
	font-size: 1.05rem;
}

/* About */
.about {
	background:
		linear-gradient(180deg, transparent, rgba(13, 110, 122, 0.06) 40%, transparent);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.about-visual {
	position: relative;
	aspect-ratio: 1 / 1.05;
	min-height: 320px;
	border-radius: 4px;
	overflow: hidden;
	background: #062028;
}

#aboutCanvas {
	width: 100%;
	height: 100%;
	display: block;
}

.about-copy h2 {
	font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.about-copy > p {
	color: var(--ink-soft);
	font-size: 1.05rem;
}

.about-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
	display: grid;
	gap: 1.35rem;
}

.about-list li {
	display: grid;
	gap: 0.25rem;
	padding-left: 1rem;
	border-left: 3px solid var(--fiber);
}

.about-list strong {
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.about-list span {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

/* Features */
.feature-rail {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--line);
}

.feature-item {
	padding: 1.75rem 1.5rem 1.75rem 0;
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
}

.feature-item:nth-child(3n) {
	border-right: 0;
	padding-right: 0;
}

.feature-item:nth-child(n+4) {
	border-bottom: 0;
}

.feature-mark {
	display: block;
	font-family: var(--font-display);
	font-size: 0.85rem;
	color: var(--sea);
	margin-bottom: 0.75rem;
	letter-spacing: 0.08em;
}

.feature-item h3 {
	font-size: 1.25rem;
	margin-bottom: 0.4rem;
}

.feature-item p {
	color: var(--ink-soft);
	margin: 0;
	font-size: 0.95rem;
}

/* Services */
.services {
	background:
		linear-gradient(135deg, rgba(8, 74, 82, 0.04), transparent 40%),
		var(--paper-deep);
}

.service-list {
	display: grid;
	gap: 0;
}

.service-row {
	display: grid;
	grid-template-columns: minmax(10rem, 0.35fr) 1fr;
	gap: 1.5rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--line);
	align-items: baseline;
}

.service-row:last-child {
	border-bottom: 1px solid var(--line);
}

.service-row h3 {
	font-size: 1.2rem;
	margin: 0;
}

.service-row p {
	margin: 0;
	color: var(--ink-soft);
}

/* Stats */
.stats {
	padding: 3.5rem 0;
	background: var(--sea-deep);
	color: #eef8f9;
}

.stats-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	text-align: center;
}

.stat-value {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 5vw, 3.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	margin-bottom: 0.4rem;
}

.stat-label {
	font-size: 0.95rem;
	opacity: 0.75;
}

/* Pricing — dark 3D planet packages matching hero */
.pricing {
	position: relative;
	overflow: hidden;
	background: #031016;
	color: #eef8f9;
	isolation: isolate;
}

.pricing-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

.pricing-inner {
	position: relative;
	z-index: 1;
}

.pricing .section-head h2 {
	color: #fff;
}

.pricing .section-head p {
	color: rgba(238, 248, 249, 0.7);
}

.plan-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.plan {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.5rem 1.35rem 1.6rem;
	background: rgba(8, 28, 34, 0.72);
	border: 1px solid rgba(46, 196, 182, 0.18);
	border-radius: 6px;
	backdrop-filter: blur(10px);
	transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.plan:hover {
	border-color: rgba(46, 196, 182, 0.55);
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.plan-featured {
	border-color: rgba(232, 163, 23, 0.55);
	background: rgba(10, 36, 42, 0.85);
	box-shadow: 0 16px 36px rgba(232, 163, 23, 0.12);
}

.plan-featured:hover {
	border-color: rgba(232, 163, 23, 0.85);
}

.plan header {
	text-align: center;
}

.plan-stage {
	width: 168px;
	height: 168px;
	margin: 0 auto 0.35rem;
	position: relative;
	overflow: visible;
}

.plan-canvas {
	width: 100%;
	height: 100%;
	display: block;
}

.plan h3 {
	margin: 0;
	font-size: 1.45rem;
	color: #fff;
}

.plan-speed {
	margin: 0.2rem 0 0;
	color: var(--fiber-soft);
	font-weight: 600;
	font-size: 0.95rem;
}

.plan-featured .plan-speed {
	color: #f0b12e;
}

.plan ul {
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
	display: grid;
	gap: 0.45rem;
	font-size: 0.9rem;
	color: rgba(238, 248, 249, 0.68);
}

.plan ul li::before {
	content: "–";
	margin-right: 0.45rem;
	color: var(--fiber);
}

.plan-price {
	margin: 0.5rem 0 0;
	font-size: 1rem;
	color: #fff;
}

.plan-price strong {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
}

.plan-price span {
	color: rgba(238, 248, 249, 0.55);
	font-size: 0.85rem;
}

.pricing .btn-outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.pricing .btn-outline:hover {
	background: #fff;
	color: var(--ink);
}

.pricing-note {
	text-align: center;
	margin-top: 2.5rem;
	color: rgba(238, 248, 249, 0.65);
}

.pricing-note a {
	color: var(--fiber-soft);
}

/* Reviews */
.review-stack {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.review {
	margin: 0;
	padding: 0;
	border: 0;
}

.review p {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 1rem;
}

.review footer {
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.review footer span {
	color: var(--ink);
	font-weight: 600;
}

/* Contact */
.contact {
	background:
		radial-gradient(800px 400px at 80% 20%, rgba(46, 196, 182, 0.12), transparent),
		var(--paper);
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.contact-info h2 {
	font-size: clamp(1.85rem, 3.5vw, 2.65rem);
}

.contact-info > p {
	color: var(--ink-soft);
}

.contact-details {
	margin: 2rem 0;
	display: grid;
	gap: 1.25rem;
}

.contact-details div {
	display: grid;
	gap: 0.2rem;
}

.contact-details dt {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sea);
	font-weight: 600;
}

.contact-details dd {
	margin: 0;
}

.contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	padding: 1.75rem;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid var(--line);
	border-radius: 4px;
}

.contact-form label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--ink-soft);
}

.contact-form label.full,
.contact-form .btn {
	grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	font-family: var(--font-body);
	font-size: 0.95rem;
	color: var(--ink);
	background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--fiber);
	outline-offset: 1px;
}

/* Map & footer */
.map iframe {
	display: block;
	filter: grayscale(0.35) contrast(1.05);
}

.footer {
	background: var(--ink);
	color: rgba(243, 247, 248, 0.78);
	padding-top: 3.5rem;
}

.footer a {
	color: rgba(243, 247, 248, 0.78);
	text-decoration: none;
}

.footer a:hover {
	color: #fff;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 2rem;
	padding-bottom: 3rem;
}

.footer-brand img {
	height: 44px;
	width: auto;
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
}

.footer h3 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	margin-bottom: 1rem;
}

.footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.footer-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.25rem 0;
	font-size: 0.85rem;
}

.footer-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.footer-bar-inner div {
	display: flex;
	gap: 1.25rem;
}

.footer-bar p {
	margin: 0;
}

.back-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	width: 2.75rem;
	height: 2.75rem;
	display: grid;
	place-items: center;
	background: var(--sea-deep);
	color: #fff;
	text-decoration: none;
	border-radius: 2px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.3s, transform 0.3s;
	z-index: 50;
}

.back-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

/* Motion */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

@keyframes riseIn {
	from {
		opacity: 0;
		transform: translateY(32px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes spinSlow {
	to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 960px) {
	.about-grid,
	.contact-grid,
	.review-stack,
	.plan-grid {
		grid-template-columns: 1fr 1fr;
	}

	.feature-rail {
		grid-template-columns: 1fr 1fr;
	}

	.feature-item:nth-child(3n) {
		border-right: 1px solid var(--line);
		padding-right: 1.5rem;
	}

	.feature-item:nth-child(2n) {
		border-right: 0;
		padding-right: 0;
	}

	.feature-item:nth-child(n+4) {
		border-bottom: 1px solid var(--line);
	}

	.feature-item:nth-child(n+5) {
		border-bottom: 0;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.plan:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		max-width: 24rem;
		justify-self: center;
		width: 100%;
	}
}

@media (max-width: 720px) {
	.nav-toggle {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		inset: var(--header-h) 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1rem 1.25rem 1.5rem;
		background: rgba(3, 16, 22, 0.96);
		backdrop-filter: blur(12px);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		transform: translateY(-120%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.35s var(--ease), opacity 0.35s;
	}

	.site-header.is-scrolled .nav-menu {
		background: rgba(243, 247, 248, 0.97);
		border-bottom-color: var(--line);
	}

	.nav-menu.is-open {
		transform: none;
		opacity: 1;
		pointer-events: auto;
	}

	.nav-menu a {
		padding: 0.85rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.site-header.is-scrolled .nav-menu a {
		border-bottom-color: var(--line);
	}

	.nav-login {
		margin-top: 0.75rem;
		text-align: center;
		border-bottom: 0 !important;
	}

	.hero-copy {
		margin-left: 1.25rem;
		max-width: calc(100% - 2.5rem);
		padding-bottom: 3.5rem;
	}

	.about-grid,
	.contact-grid,
	.feature-rail,
	.review-stack,
	.plan-grid,
	.stats-row,
	.footer-grid,
	.service-row,
	.contact-form {
		grid-template-columns: 1fr;
	}

	.feature-item,
	.feature-item:nth-child(3n),
	.feature-item:nth-child(2n) {
		border-right: 0;
		padding: 1.5rem 0;
	}

	.feature-item:nth-child(n+4),
	.feature-item:nth-child(n+5) {
		border-bottom: 1px solid var(--line);
	}

	.feature-item:last-child {
		border-bottom: 0;
	}

	.plan:last-child:nth-child(odd) {
		max-width: none;
	}

	.site-header {
		background: transparent;
	}

	.site-header.is-scrolled {
		background: rgba(243, 247, 248, 0.9);
		backdrop-filter: blur(10px);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}

	html {
		scroll-behavior: auto;
	}
}
