/* BloodTide: dark water, cold light, a little blood. */

@font-face {
	font-family: "Bebas Neue";
	src: url("fonts/BebasNeue-Regular.woff2") format("woff2");
	font-display: swap;
}
@font-face {
	font-family: "Barlow";
	src: url("fonts/Barlow-Regular.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Barlow";
	src: url("fonts/Barlow-SemiBold.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
}

:root {
	--abyss: #020b0f;
	--deep: #05161c;
	--panel: #0a222a;
	--line: #16363f;
	--text: #dfe9ea;
	--dim: #8fb0b6;
	--cyan: #66d6ee;
	--blood: #c4302b;
	--blood-hi: #db4038;
	--gutter: 16px;
	color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--abyss); }

body {
	margin: 0;
	background: linear-gradient(180deg, var(--deep) 0, var(--abyss) 60rem) var(--abyss);
	color: var(--text);
	font: 400 17px/1.6 "Barlow", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: var(--cyan); }
a:hover { color: #9be6f6; }
a:focus-visible, .dl:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3, .logo {
	font-family: "Bebas Neue", "Barlow", sans-serif;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.05;
	margin: 0;
}

h2 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 28px; }
h2 span { color: var(--dim); }
h3 { font-size: 28px; margin-bottom: 6px; }

.wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 72px var(--gutter);
}

/* --- hero ------------------------------------------------------------------ */

.hero {
	position: relative;
	min-height: min(92vh, 900px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--abyss);
}

.hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

.hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(2, 11, 15, 0.05) 0%, rgba(2, 11, 15, 0.35) 45%, var(--abyss) 100%),
		radial-gradient(ellipse at 50% 120%, rgba(2, 11, 15, 0.9), transparent 70%);
}

.hero-body {
	position: relative;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 var(--gutter) 64px;
}

.kicker {
	margin: 0 0 6px;
	color: var(--cyan);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-size: 13px;
}

.logo {
	font-size: clamp(76px, 15vw, 168px);
	line-height: 0.9;
	text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.logo span { color: var(--blood); }
.logo.small { font-size: 40px; }

.pitch {
	max-width: 34em;
	margin: 18px 0 28px;
	font-size: clamp(18px, 2.4vw, 21px);
	color: #cfe0e2;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

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

.dl {
	display: inline-flex;
	align-items: baseline;
	gap: 14px;
	padding: 15px 22px;
	border-radius: 8px;
	background: rgba(10, 34, 42, 0.85);
	border: 1px solid var(--line);
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
	font-size: 18px;
	backdrop-filter: blur(4px);
}
.dl:hover { color: var(--text); background: rgba(16, 48, 58, 0.95); }
.dl-main { background: var(--blood); border-color: var(--blood); }
.dl-main:hover { background: var(--blood-hi); }
.dl-size { font-weight: 400; font-size: 15px; opacity: 0.85; }
.dl[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.version {
	margin: 16px 0 0;
	color: var(--dim);
	font-size: 15px;
}

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

.intro .cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	color: #c6d7da;
}
.intro p { margin: 0; }

figure { margin: 0; }

.shot img, .feature img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: var(--deep);
}

.shot-wide { margin-bottom: 28px; }

.cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 14px;
}
.cards li {
	padding: 18px 18px 16px;
	border-radius: 10px;
	background: var(--panel);
	border: 1px solid var(--line);
}
.cards p { margin: 0; color: #c6d7da; font-size: 16px; }
.cards .role {
	color: var(--cyan);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.feature {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 36px;
	align-items: center;
	margin: 0 0 56px;
}
.feature.flip { grid-template-columns: 1fr 1.25fr; }
.feature.flip > img { order: 2; }
.feature.senses { display: block; padding: 28px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.feature.senses > p { max-width: 46em; margin-bottom: 20px; }
.sense-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; color: #c6d7da; font-size: 16px; }
.sense-list strong { display: block; color: var(--text); font-weight: 600; }
.sense-list span { display: block; color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 2px 0 6px; }
.feature p { margin: 0; color: #c6d7da; }
.feature h3 { color: var(--text); }

.steps {
	margin: 0;
	padding: 0 0 0 1.4em;
	max-width: 46em;
	color: #c6d7da;
}
.steps li { margin-bottom: 14px; padding-left: 6px; }
.steps li::marker { color: var(--cyan); font-weight: 600; }
.steps strong { color: var(--text); font-weight: 600; }
.note { color: var(--dim); margin: 22px 0 0; }

code {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 0.9em;
	background: var(--panel);
	padding: 1px 6px;
	border-radius: 4px;
}

.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); }
th { color: var(--cyan); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--panel); }
td:first-child { color: var(--text); }
td { color: #c6d7da; }
tbody tr:last-child td { border-bottom: 0; }

.spec-list { list-style: none; margin: 0; padding: 0; max-width: 46em; }
.spec-list li { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #c6d7da; }
.spec-list span { color: var(--cyan); font-weight: 600; }

footer { padding-top: 24px; padding-bottom: 48px; color: var(--dim); font-size: 15px; border-top: 1px solid var(--line); }
footer p { margin: 8px 0 0; }

/* --- narrow screens -------------------------------------------------------- */

@media (max-width: 820px) {
	.wrap { padding-top: 52px; padding-bottom: 52px; }
	.intro .cols { grid-template-columns: 1fr; gap: 16px; }
	.feature, .feature.flip { grid-template-columns: 1fr; gap: 16px; margin-bottom: 44px; }
	.feature.flip > img { order: 0; }
	.feature.senses { padding: 20px; }
	.hero { min-height: 86vh; }
	.hero-body { padding-bottom: 44px; }
	.dl { width: 100%; justify-content: space-between; }
	th, td { padding: 9px 12px; }
}

@media (prefers-reduced-motion: no-preference) {
	.dl { transition: background 0.15s ease; }
}
