/* ==========================================================================
   EPIGENOME.COM — studio edition
   Silver stage, heavy black wordmark behind a live chrome-and-green orb,
   white pill nav, lime highlights, a dark feature band, dotted detailing.
   Type: Archivo (display) · Inter (body) · IBM Plex Mono (indices)
   ========================================================================== */

:root {
	--stage: #e6e7e9;
	--stage-2: #dfe0e3;
	--panel: #ffffff;
	--ink: #0d0e10;
	--ink-soft: #5a5d63;
	--dark: #141518;
	--dark-2: #1d1e22;
	--lime: #d4f64a;
	--lime-deep: #b8de26;
	--line: rgba(13, 14, 16, 0.12);
	--line-dark: rgba(255, 255, 255, 0.12);
	--font-display: "Archivo", "Inter", -apple-system, sans-serif;
	--font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
	--font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
	--ease: cubic-bezier(0.32, 0.72, 0, 1);
	--container: 80rem;
	--radius: 22px;
	--z-nav: 50;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
	margin: 0;
	background:
		radial-gradient(90rem 60rem at 50% -20%, #f2f3f4, transparent 70%),
		var(--stage);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.04rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

::selection { background: var(--lime); color: var(--ink); }

img, svg, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a, button { cursor: pointer; }

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
	border-radius: 4px;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.4rem, 5vw, 3rem);
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 200;
	padding: 0.7rem 1.2rem;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* dotted underline detail used across the design */
.dotted {
	display: block;
	height: 2px;
	margin-top: 1rem;
	background-image: radial-gradient(circle, currentColor 1.2px, transparent 1.3px);
	background-size: 9px 2px;
	background-repeat: repeat-x;
	opacity: 0.6;
}
.dotted-text {
	padding-bottom: 1rem;
	background-image: radial-gradient(circle, currentColor 1px, transparent 1.1px);
	background-size: 8px 2px;
	background-repeat: repeat-x;
	background-position: left bottom;
}

/* lime text highlight pill */
.hl {
	background: var(--lime);
	color: var(--ink);
	border-radius: 999px;
	padding: 0.04em 0.36em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.hl--sm { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.tag {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	background: var(--panel);
}
.tag--light { background: transparent; color: rgba(255, 255, 255, 0.75); border-color: var(--line-dark); }

/* --------------------------------------------------------------------------
   Nav — floating white pill
   -------------------------------------------------------------------------- */
.nav {
	position: fixed;
	top: 1.1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: var(--z-nav);
	width: min(100% - 2rem, 74rem);
	transition: transform 0.5s var(--ease), opacity 0.4s;
}
.nav--hidden { transform: translate(-50%, -140%); opacity: 0; }
.nav__pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: var(--panel);
	border-radius: 999px;
	padding: 0.55rem 0.6rem 0.55rem 1.4rem;
	box-shadow: 0 1px 0 rgba(13, 14, 16, 0.05), 0 14px 40px -18px rgba(13, 14, 16, 0.25);
}
.nav__brand {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
}
.nav__links { display: flex; align-items: center; gap: clamp(0.8rem, 2.4vw, 1.8rem); }
.nav__link {
	position: relative;
	font-size: 0.86rem;
	font-weight: 550;
	color: var(--ink-soft);
	padding: 0.4rem 0.2rem;
	transition: color 0.25s;
}
.nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.1rem;
	height: 2px;
	border-radius: 2px;
	background: var(--lime);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 0.9rem; }
.nav__price {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--ink-soft);
}
@media (max-width: 56rem) { .nav__links, .nav__price { display: none; } }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.9rem 1.55rem;
	border: 0;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
	will-change: transform;
}
.btn__arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; background: #25262a; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-deep); color: var(--ink); }
.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.82rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Hero — wordmark behind the orb
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	align-items: stretch;
	padding: 6.2rem 0 2rem;
}
.hero__stage {
	position: relative;
	width: min(100% - 2rem, 84rem);
	margin-inline: auto;
	min-height: calc(100svh - 8rem);
	background:
		radial-gradient(70% 90% at 50% 8%, #fdfdfe 0%, #eceded 52%, #dadbde 100%);
	border-radius: 28px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 30px 80px -40px rgba(13, 14, 16, 0.35);
	overflow: clip;
}
.hero__word {
	position: absolute;
	top: clamp(3.2rem, 9vh, 6rem);
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	margin: 0;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(3rem, 12.4vw, 12.5rem);
	line-height: 0.92;
	letter-spacing: -0.025em;
	white-space: nowrap;
	color: var(--ink);
	text-transform: uppercase;
}
.hero__word-dot { color: var(--ink); }
html.js-anim .hero__word { opacity: 0; }

.hero__orb {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	pointer-events: none;
}
.hero__orb canvas {
	width: min(74vh, 92vw, 46rem);
	height: min(74vh, 92vw, 46rem);
	margin-top: clamp(2rem, 8vh, 6rem);
}

.hero__meta {
	position: absolute;
	z-index: 3;
	font-size: 0.85rem;
}
.hero__meta--left {
	left: clamp(1.2rem, 3.5vw, 3rem);
	top: 46%;
}
.hero__chips { display: flex; margin-bottom: 0.9rem; }
.chip {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--panel);
	box-shadow: 0 4px 14px -6px rgba(13, 14, 16, 0.35);
	margin-right: -8px;
	color: var(--ink);
}
.chip svg { width: 20px; height: 20px; }
.chip--lime { background: var(--lime); }
.hero__meta-big {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.6rem;
	letter-spacing: -0.01em;
}
.hero__meta-small { color: var(--ink-soft); font-size: 0.8rem; }

.hero__meta--right {
	right: clamp(1.2rem, 3.5vw, 3rem);
	top: 46%;
	text-align: right;
}
.hero__index { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.8rem; color: var(--ink-soft); }
.hero__index em {
	font-style: normal;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	margin-left: 0.6rem;
	color: var(--ink);
}

.hero__meta--tagline {
	left: clamp(1.2rem, 3.5vw, 3rem);
	bottom: clamp(1.4rem, 5vh, 3rem);
	max-width: 15rem;
}
.hero__meta--tagline p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink); }

.hero__go {
	position: absolute;
	z-index: 3;
	right: clamp(1.4rem, 4vw, 3.4rem);
	bottom: clamp(1.4rem, 5vh, 3rem);
	width: clamp(6.4rem, 9vw, 8.2rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	display: grid;
	place-content: center;
	gap: 0.35rem;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 650;
	line-height: 1.25;
	padding: 0.8rem;
	box-shadow: 0 18px 40px -18px rgba(150, 190, 20, 0.9);
	transition: background-color 0.3s;
	will-change: transform;
}
.hero__go:hover { background: var(--lime-deep); color: var(--ink); }
.hero__go-icon { font-size: 0.7rem; }

@media (max-width: 56rem) {
	.hero__meta--left { top: auto; bottom: 8.6rem; }
	.hero__meta--right { display: none; }
	.hero__meta--tagline { display: none; }
	.hero__go { width: 5.6rem; font-size: 0.66rem; }
	.hero__orb canvas { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   Dark feature band
   -------------------------------------------------------------------------- */
.band {
	position: relative;
	margin: clamp(2rem, 5vh, 4rem) auto 0;
	width: min(100% - 2rem, 84rem);
	background: var(--dark);
	color: #fff;
	border-radius: 28px;
	padding: clamp(3.4rem, 8vh, 6rem) 0;
}
.band__title {
	margin: 0 0 3rem;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.9rem, 4.6vw, 3.6rem);
	line-height: 1.16;
	letter-spacing: -0.02em;
}
.band__cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.1rem;
}
.bcard {
	display: flex;
	flex-direction: column;
	min-height: 17rem;
	background: var(--dark-2);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: 1.4rem 1.4rem 1.5rem;
	transition: border-color 0.3s, transform 0.45s var(--ease);
}
.bcard:hover { border-color: rgba(212, 246, 74, 0.5); transform: translateY(-6px); }
.bcard__chips { display: flex; gap: 0.5rem; margin-bottom: auto; }
.bchip {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid var(--line-dark);
	color: var(--lime);
}
.bchip svg { width: 20px; height: 20px; }
.bcard h3 {
	margin: 2.6rem 0 0.7rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.22rem;
	letter-spacing: -0.01em;
}
.bcard p { margin: 0; font-size: 0.85rem; line-height: 1.6; color: rgba(255, 255, 255, 0.62); }
.bcard .dotted-text { background-position: left top; padding-top: 0.9rem; padding-bottom: 0; opacity: 1; }
@media (max-width: 64rem) { .band__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .band__cards { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(5.5rem, 13vh, 9rem) 0; }
.section--tint { background: var(--stage-2); }
.section__head { margin-bottom: 1.6rem; }
.section__head--center { text-align: center; }
.section__title {
	margin: 0 0 1.8rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2rem, 5vw, 3.9rem);
	line-height: 1.06;
	letter-spacing: -0.025em;
	max-width: 54rem;
}

.prose { max-width: 44rem; }
.prose p { margin: 0 0 1.35rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose--lead p:first-child { font-size: 1.26rem; line-height: 1.6; color: var(--ink); }
.prose--center { margin-inline: auto; text-align: center; }
.prose--ondark p { color: rgba(255, 255, 255, 0.66); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.1rem;
	margin-top: 3.4rem;
}
.stat {
	background: var(--panel);
	border-radius: var(--radius);
	padding: 1.5rem 1.4rem 1.2rem;
	box-shadow: 0 14px 36px -24px rgba(13, 14, 16, 0.35);
}
.stat__value {
	display: block;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	line-height: 1;
	letter-spacing: -0.02em;
}
.stat__label { display: block; margin-top: 0.7rem; font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 56rem) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .stats { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Ledger
   -------------------------------------------------------------------------- */
.ledger { margin-top: 3rem; }
.ledger__row {
	display: grid;
	grid-template-columns: 2.6rem 1.1fr 2fr 4rem auto;
	align-items: baseline;
	gap: 1.4rem;
	padding: 1.4rem 1.5rem;
	border-radius: var(--radius);
	background: var(--panel);
	margin-bottom: 0.7rem;
	box-shadow: 0 10px 30px -24px rgba(13, 14, 16, 0.4);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ledger__row:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(13, 14, 16, 0.5); }
.ledger__index { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); }
.ledger__name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.ledger__note { font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); }
.ledger__year { font-family: var(--font-mono); font-size: 0.72rem; text-align: right; color: var(--ink-soft); }
.ledger__price {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(1.15rem, 2vw, 1.6rem);
	letter-spacing: -0.02em;
	text-align: right;
	min-width: 9rem;
}
.ledger__row--this { background: var(--ink); color: #fff; }
.ledger__row--this .ledger__note { color: rgba(255, 255, 255, 0.65); }
.ledger__row--this .ledger__index,
.ledger__row--this .ledger__year { color: var(--lime); }
.ledger__row--this .ledger__price { color: var(--lime); }
@media (max-width: 56rem) {
	.ledger__row {
		grid-template-columns: 1.4rem 1fr;
		gap: 0.5rem 0.8rem;
		padding: 1.1rem 1.1rem;
	}
	.ledger__note, .ledger__year { display: none; }
	.ledger__price {
		grid-column: 2;
		min-width: 0;
		text-align: left;
		font-size: 1.1rem;
	}
}

/* --------------------------------------------------------------------------
   Scenes
   -------------------------------------------------------------------------- */
.scenes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
	margin-top: 3rem;
}
.scene {
	background: var(--panel);
	border-radius: var(--radius);
	padding: 1.6rem 1.5rem;
	box-shadow: 0 14px 36px -26px rgba(13, 14, 16, 0.4);
	transition: transform 0.45s var(--ease);
}
.scene:hover { transform: translateY(-6px); }
.scene__no {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--lime);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 0.95rem;
	margin-bottom: 1.4rem;
}
.scene__title {
	margin: 0 0 0.7rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: -0.01em;
}
.scene p { margin: 0; font-size: 0.9rem; line-height: 1.62; color: var(--ink-soft); }
.scene .dotted-text { background-position: left top; padding-top: 0.9rem; padding-bottom: 0; }
@media (max-width: 56rem) { .scenes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Terms
   -------------------------------------------------------------------------- */
.section--terms { text-align: center; }
.terms__price {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(3.4rem, 13vw, 11rem);
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
}
.terms__price .odo {
	display: inline-block;
	overflow: hidden;
	height: 1.06em;
	vertical-align: top;
}
.terms__price .odo__strip { display: block; will-change: transform; }
.terms__price .odo__strip span { display: block; height: 1.06em; line-height: 1.06; }
.terms__price > span { display: inline-block; height: 1.06em; line-height: 1.06; vertical-align: top; }
.terms__sub { margin: 1.4rem 0 2rem; }
.terms__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.6rem; }

/* --------------------------------------------------------------------------
   Broker
   -------------------------------------------------------------------------- */
.broker__sig { margin: 2.2rem 0 0; display: flex; align-items: baseline; gap: 0.9rem; }
.broker__sig-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; }
.broker__sig-org { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Offer — dark card
   -------------------------------------------------------------------------- */
.section--offer { padding-bottom: clamp(4rem, 8vh, 6rem); }
.section--offer .container > .offer {
	background: var(--dark);
	color: #fff;
	border-radius: 28px;
	padding: clamp(2rem, 5vw, 4rem);
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(2.2rem, 5vw, 5rem);
	align-items: start;
}
.offer__title {
	margin: 1.4rem 0 1.6rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2rem, 4.4vw, 3.4rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.offer__sig { margin-top: 2rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }
.offer__form-wrap {
	background: var(--dark-2);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 2.6vw, 2.2rem);
}
.offer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full, .offer-form__submit, .offer-form__direct { grid-column: 1 / -1; }
.field label {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}
.field input,
.field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line-dark);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.98rem;
	transition: border-color 0.3s, background-color 0.3s;
}
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--lime);
	background: rgba(255, 255, 255, 0.07);
}
.field textarea { resize: vertical; min-height: 5.6rem; }
.offer-form__submit { justify-content: center; width: 100%; margin-top: 0.3rem; }
.offer-form__submit[disabled] { opacity: 0.55; cursor: progress; }
.offer-form__direct { text-align: center; margin: 0.1rem 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.offer-form__direct a { color: var(--lime); }
.hp-field { position: absolute !important; left: -999rem; top: -999rem; }
.form-status { margin-bottom: 1.2rem; padding: 0.85rem 1.1rem; border-radius: 12px; font-size: 0.92rem; }
.form-status--ok { border: 1px solid var(--lime); color: #fff; }
.form-status--err { border: 1px solid #e2654a; color: #ffc9bc; }
@media (max-width: 56rem) {
	.section--offer .container > .offer { grid-template-columns: 1fr; }
	.offer-form { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 2.6rem 0 3rem; }
.footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	text-align: center;
}
.footer__brand { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; letter-spacing: 0.01em; }
.footer__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.8rem;
	font-size: 0.82rem;
	color: var(--ink-soft);
}
.footer__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime-deep); }
.footer__mail { font-weight: 600; color: var(--ink); }
.footer__legal { font-size: 0.7rem; color: var(--ink-soft); opacity: 0.8; }

/* --------------------------------------------------------------------------
   Animation helpers + reduced motion
   -------------------------------------------------------------------------- */
html.js-anim [data-reveal] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.js-anim [data-reveal] { opacity: 1; }
	html.js-anim .hero__word { opacity: 1; }
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
