/* ===== Base (mobile-first) ===== */
:root {
	--bg: #0b0f1a;
	--bg-dark: #0b1116;
	--bg-stone: rgba(255, 255, 255, .04);

	--panel: rgba(255, 255, 255, .06);
	--text: rgba(255, 255, 255, .92);
	--muted: rgba(255, 255, 255, .72);
	--line: rgba(214, 201, 163, .35);

	--text-main: rgba(255, 255, 255, .92);
	--text-sub: rgba(255, 255, 255, .7);

	--accent: #d6c9a3;
	--accent2: #6ee7ff;
	--accent3: #a78bfa;

	--shadow: 0 12px 40px rgba(0, 0, 0, .35);

	--radius: 16px;
	--container: 1100px;
	--pad: 16px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
	color: var(--text-main);
	background: var(--bg-dark);
	letter-spacing: .11em;
	line-height: 1.7;
}

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

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

.container {
	width: min(var(--container), 100%);
	margin-inline: auto;
	padding-inline: var(--pad);
}

/* ===== Header ===== */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(10px);
	background: rgba(11, 15, 26, .6);
	border-bottom: 1px solid var(--line);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.brand__logo {
	width: 36px;
	aspect-ratio: 1 / 1;
	border-radius: 22%;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(110, 231, 255, .9), rgba(167, 139, 250, .9));
	box-shadow: var(--shadow);
	flex: 0 0 auto;
}

.brand__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.brand__name {
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.brand__tag {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.2;
}

.nav {
	display: none;
	/* mobile: hidden */
	gap: 14px;
	font-size: 14px;
	color: var(--muted);
}

.nav a {
	padding: 6px 8px;
	border-radius: 10px;
}

.nav a:hover {
	background: rgba(255, 255, 255, .06);
	color: var(--text);
}

/* ===== Buttons ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .06);
	color: var(--text);
	font-weight: 700;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	transition: transform .08s ease, background .2s ease, border-color .2s ease;
	white-space: nowrap;
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	border: 2px solid rgba(214, 201, 163, .6);
	background: radial-gradient(circle at top, rgba(214, 201, 163, .25), rgba(214, 201, 163, .05));
}

.btn--ghost {
	background: transparent;
}

.btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ===== Sections ===== */
section {
	background:
		linear-gradient(rgba(15, 20, 25, .85), rgba(15, 20, 25, .85)),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .02) 2px,
			transparent 2px, transparent 6px);
	padding: 44px 0;
}

.section__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 18px;
}

.eyebrow {
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}

h1,
h2 {
	margin: 0;
	line-height: 1.2;
}

h2 {
	font-size: 22px;
}

p {
	margin: 0;
	color: var(--muted);
}

/* ===== Hero ===== */
.hero {
	background:
		linear-gradient(rgba(10, 15, 20, .65), rgba(10, 15, 20, .85)),
		url(img/bg.png) center / cover no-repeat;
	padding-top: 22px;
	padding-bottom: 26px;
}

.hero__grid {
	display: grid;
	gap: 18px;
}

.hero__title {
	font-size: 30px;
	letter-spacing: .1em;
	font-weight: 900;
}

.hero__lead {
	font-size: 15px;
	color: var(--muted);
	max-width: 52ch;
	margin-top: 10px;
}

.hero__card {
	border: 2px solid var(--line);
	background: rgba(255, 255, 255, .05);
	padding: 14px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
	overflow: hidden;
}

.hero__card video {
	aspect-ratio: 17 / 9;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .22);
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.kv-dummy {
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(110, 231, 255, .18), rgba(167, 139, 250, .18)),
		radial-gradient(600px 240px at 30% 20%, rgba(255, 255, 255, .10), transparent 55%),
		rgba(255, 255, 255, .04);
	border: 1px dashed rgba(255, 255, 255, .22);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .75);
	font-weight: 800;
}

.badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.badge {
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .05);
	color: var(--muted);
}

/* ===== Feature cards ===== */
.grid {
	display: grid;
	gap: 12px;
}

.card {
	border: 1px solid var(--line);
	background: var(--panel);
	border-radius: var(--radius);
	padding: 14px;
}

.card h3 {
	margin: 0 0 6px;
	font-size: 16px;
}

.card p {
	font-size: 14px;
}

/* ===== Screenshots ===== */
.shot {
	border-radius: 14px;
	border: 1px dashed rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .04);
	aspect-ratio: 17 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .65);
	font-weight: 800;
}

.shotrail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 84%;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 6px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.shotrail>figure {
	margin: 0;
	scroll-snap-align: start;
	border-radius: 16px;
	overflow: hidden;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .04);
}

.shotrail img {
	width: 100%;
	aspect-ratio: 17 / 9;
	border-radius: 12px;
	object-fit: cover;
	display: block;
}

.shotrail figcaption {
	padding: 10px 12px;
	font-size: 13px;
	color: var(--text-sub);
}

@media (min-width: 760px) {
	.shotrail {
		grid-auto-columns: 40%;
	}
}

/* ===== FAQ ===== */
details {
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .04);
	border-radius: 14px;
	padding: 12px 14px;
}

details+details {
	margin-top: 10px;
}

summary {
	cursor: pointer;
	font-weight: 800;
	color: var(--text);
}

details p {
	margin-top: 8px;
	font-size: 14px;
}

/* ===== Footer ===== */
footer {
	border-top: 1px solid var(--line);
	padding: 22px 0 34px;
	color: var(--muted);
	font-size: 13px;
}

.footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.footer__links a {
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .03);
}

/* ===== Responsive (tablet+) ===== */
@media (min-width: 760px) {
	:root {
		--pad: 22px;
	}

	.nav {
		display: flex;
	}

	section {
		padding: 70px 0;
	}

	.hero__grid {
		grid-template-columns: 1.1fr .9fr;
		align-items: center;
		gap: 22px;
	}

	.hero__title {
		font-size: 44px;
	}

	h2 {
		font-size: 28px;
	}

	.grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.shots {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.btn {
		transition: none;
	}
}