:root {
	--bg: #dde8ec;
	--bg-deep: #cfe0e6;
	--panel: #f5f9fa;
	--panel-strong: #ffffff;
	--button: #d6e6eb;
	--accent: #4a90a4;
	--accent-dark: #367487;
	--cta-bg: #367487;
	--cta-hover: #285d6d;
	--ink: #1f2a30;
	--muted: #4f636b;
	--line: rgba(74, 104, 116, 0.18);
	--shadow: 0 18px 55px rgba(38, 69, 81, 0.12);
	--shadow-soft: 0 10px 30px rgba(38, 69, 81, 0.08);
	--radius-lg: 32px;
	--radius-md: 24px;
	--radius-sm: 18px;
	--content: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background:
		radial-gradient(circle at 16% 2%, rgba(255, 255, 255, .72), transparent 28rem),
		linear-gradient(180deg, #e7f0f3 0%, var(--bg) 32%, #edf4f6 100%);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", sans-serif;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

.container {
	width: min(100% - 40px, var(--content));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	padding-top: env(safe-area-inset-top);
	background: rgba(231, 240, 243, 0.82);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, .58);
}

.header-inner {
	min-height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 900;
	letter-spacing: .04em;
	font-size: 13px;
}

.brand-mark {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	display: block;
	object-fit: cover;
	border-radius: 11px;
	box-shadow: 0 7px 18px rgba(74, 144, 164, .26);
}

.mini-cta,
.primary-cta,
.secondary-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 800;
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.mini-cta {
	flex: 0 0 auto;
	padding: 9px 14px;
	color: white;
	background: var(--cta-bg);
	font-size: 12px;
	white-space: nowrap;
}

.primary-cta {
	min-height: 56px;
	padding: 14px 22px;
	background: var(--cta-bg);
	color: white;
	box-shadow: 0 12px 28px rgba(74, 144, 164, .26);
}

.secondary-cta {
	min-height: 52px;
	padding: 12px 20px;
	background: rgba(255, 255, 255, .64);
	border: 1px solid var(--line);
}

.mini-cta:hover,
.primary-cta:hover,
.secondary-cta:hover {
	transform: translateY(-1px);
}

.primary-cta:hover,
.mini-cta:hover {
	background: var(--cta-hover);
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 52px 0 72px;
}

.hero::before,
.hero::after {
	content: "";
	position: absolute;
	border-radius: 34%;
	border: 1px solid rgba(74, 144, 164, .16);
	background: rgba(255, 255, 255, .20);
	transform: rotate(18deg);
	pointer-events: none;
}

.hero::before {
	width: 150px;
	height: 150px;
	right: -55px;
	top: 86px;
}

.hero::after {
	width: 92px;
	height: 92px;
	left: -38px;
	bottom: 100px;
	transform: rotate(-14deg);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	margin-bottom: 18px;
	font-size: clamp(38px, 11vw, 68px);
	line-height: 1.1;
	letter-spacing: -.045em;
}

h2 {
	margin-bottom: 16px;
	font-size: clamp(28px, 8vw, 48px);
	line-height: 1.22;
	letter-spacing: -.035em;
}

h3 {
	margin-bottom: 8px;
	font-size: 20px;
	line-height: 1.35;
}

.lead {
	margin-bottom: 26px;
	color: var(--muted);
	font-size: 16px;
	font-weight: 600;
}

.hero-copy {
	position: relative;
	z-index: 2;
}

.hero-actions {
	display: grid;
	gap: 10px;
	margin-bottom: 34px;
}

.availability {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--muted);
}

.hero-visual {
	position: relative;
	max-width: 440px;
	margin: 18px auto 0;
	padding: 18px;
}

.phone {
	position: relative;
	width: min(82vw, 326px);
	aspect-ratio: 9 / 19.5;
	margin-inline: auto;
	padding: 10px;
	border-radius: 44px;
	background: #172027;
	box-shadow: 0 28px 70px rgba(23, 48, 58, .25);
	transform: rotate(2deg);
}

.phone-screen {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 35px;
	background: linear-gradient(180deg, #f5f9fa 0%, #d9e8ed 100%);
	display: grid;
	place-items: center;
}

.hero-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #d9e8ed;
}

.phone-screen::before {
	content: "";
	width: 34%;
	height: 24px;
	position: absolute;
	top: 8px;
	left: 33%;
	border-radius: 999px;
	background: #172027;
	z-index: 2;
}

.floating-card {
	position: absolute;
	z-index: 4;
	max-width: 160px;
	padding: 12px 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .92);
	border: 1px solid rgba(255, 255, 255, .78);
	box-shadow: var(--shadow-soft);
	font-size: 12px;
	font-weight: 800;
}

.floating-card.one {
	left: 0;
	top: 24%;
	transform: rotate(-5deg);
}

.floating-card.two {
	right: -4px;
	bottom: 15%;
	transform: rotate(4deg);
}

.section {
	padding: 80px 0;
}

.section-tight {
	padding: 58px 0;
}

.section-header {
	margin-bottom: 28px;
}

.section-header p:last-child {
	margin-bottom: 0;
	color: var(--muted);
}

.problem-panel {
	padding: 28px 22px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .60);
	border: 1px solid rgba(255, 255, 255, .78);
	box-shadow: var(--shadow-soft);
}

.problem-list {
	display: grid;
	gap: 14px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.problem-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: var(--muted);
	font-weight: 650;
}

.problem-list span {
	color: var(--accent);
	font-weight: 900;
}

.steps,
.feature-grid,
.experience-grid,
.memory-after-grid {
	display: grid;
	gap: 16px;
}

.step-card,
.feature-card,
.experience-card,
.memory-after-card {
	position: relative;
	overflow: hidden;
	padding: 24px 20px;
	border-radius: var(--radius-md);
	background: rgba(245, 249, 250, .88);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
}

.step-no {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	margin-bottom: 16px;
	border-radius: 15px;
	color: white;
	background: var(--accent);
	font-weight: 900;
}

.card-copy {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.shot-slot {
	margin-top: 18px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 0;
	text-align: center;
	border-radius: 18px;
	background: rgba(214, 230, 235, .66);
	border: 1px solid rgba(54, 116, 135, .30);
	overflow: hidden;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.55;
}

.shot-slot img {
	display: block;
	width: min(100%, 360px);
	height: auto;
	max-width: 100%;
}

.feature-icon,
.experience-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	color: var(--accent-dark);
	background: var(--button);
	font-size: 23px;
}

.nostalgic {
	position: relative;
	overflow: hidden;
	background: linear-gradient(145deg, #d7c9b5, #f2e7d7 54%, #d8e4e2);
	color: #302a24;
}

.nostalgic .eyebrow {
	color: #80694c;
}

.nostalgic .section-header p:last-child {
	color: #655b50;
}

.nostalgic-layout {
	display: grid;
	gap: 28px;
}

.memory-frame {
	position: relative;
	width: min(100%, 420px);
	margin-inline: auto;
	padding: 13px 13px 52px;
	background: #fffaf1;
	box-shadow: 0 24px 55px rgba(82, 61, 37, .18);
	transform: rotate(-2deg);
}

.memory-frame .shot-slot {
	margin: 0;
	aspect-ratio: auto;
	border-radius: 2px;
	background: linear-gradient(135deg, #b9a58e, #e7dac8);
	border-color: rgba(90, 68, 42, .28);
	color: #564b40;
}

.memory-frame .shot-slot img {
	width: min(100%, 360px);
}

.memory-caption {
	position: absolute;
	bottom: 15px;
	left: 18px;
	right: 18px;
	margin: 0;
	font-size: 12px;
	color: #7b6957;
	font-weight: 800;
}

.experience-band {
	border-radius: 38px;
	padding: 34px 20px;
	background: #17242a;
	color: #f2f7f8;
	box-shadow: 0 28px 70px rgba(20, 46, 56, .18);
}

.experience-band .section-header p:last-child,
.experience-band .card-copy {
	color: #b9c7cc;
}

.experience-band .eyebrow {
	color: #85c6d9;
}

.experience-card {
	background: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .09);
	box-shadow: none;
}

.experience-icon {
	color: #9dd2df;
	background: rgba(157, 210, 223, .12);
}

.play-video {
	margin-bottom: 20px;
	border-radius: 28px;
	display: flex;
	justify-content: center;
	padding: 24px;
	background:
		radial-gradient(circle at 70% 20%, rgba(133, 198, 217, .18), transparent 30%),
		linear-gradient(145deg, #23353d, #132027);
	border: 1px solid rgba(157, 210, 223, .30);
	color: #b9c7cc;
}

.gameplay-video {
	display: block;
	width: min(100%, 360px);
	height: auto;
	aspect-ratio: 9 / 19.5;
	object-fit: cover;
	border-radius: 24px;
	background: #132027;
	box-shadow: 0 24px 48px rgba(0, 0, 0, .22);
}

.privacy-panel {
	padding: 30px 22px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .76);
	border: 1px solid rgba(255, 255, 255, .85);
	box-shadow: var(--shadow);
}

.privacy-points {
	display: grid;
	gap: 14px;
	margin-top: 24px;
}

.privacy-point {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 12px;
	align-items: start;
}

.privacy-point .icon {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--button);
}

.privacy-point p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 14px;
}

.privacy-note {
	margin: 22px 0 0;
	font-size: 12px;
	color: var(--muted);
}

.faq {
	display: grid;
	gap: 10px;
}

details {
	border-radius: 18px;
	background: rgba(255, 255, 255, .68);
	border: 1px solid var(--line);
	overflow: clip;
}

summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	padding: 18px 20px;
	font-weight: 800;
}

summary::after {
	content: "";
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .18s ease;
}

details[open] summary::after {
	transform: rotate(225deg);
}

summary::-webkit-details-marker {
	display: none;
}

details p {
	margin: 0;
	padding: 0 20px 20px;
	color: var(--muted);
	font-size: 14px;
}

.final-cta {
	text-align: center;
	padding: 52px 24px;
	border-radius: 36px;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, .30), transparent 36%),
		var(--accent);
	color: white;
	box-shadow: 0 28px 60px rgba(74, 144, 164, .24);
}

.final-cta .eyebrow,
.final-cta p {
	color: rgba(255, 255, 255, .82);
}

.final-cta .primary-cta {
	background: white;
	color: var(--accent-dark);
	box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

footer {
	padding: 42px 0 calc(42px + env(safe-area-inset-bottom));
	color: var(--muted);
	font-size: 12px;
}

.footer-inner {
	display: grid;
	gap: 20px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
}

.footer-links a {
	text-decoration: none;
}

.mobile-download-bar {
	position: fixed;
	z-index: 28;
	left: 14px;
	right: 14px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	padding: 9px;
	border-radius: 999px;
	background: rgba(245, 249, 250, .90);
	border: 1px solid rgba(255, 255, 255, .88);
	box-shadow: 0 18px 45px rgba(27, 60, 72, .20);
	backdrop-filter: blur(16px);
}

.mobile-download-bar .primary-cta {
	width: 100%;
	min-height: 48px;
	padding-block: 10px;
}

.desktop-only {
	display: none;
}

@media (max-width: 759px) {
	footer {
		padding-bottom: calc(42px + env(safe-area-inset-bottom) + 96px);
	}
}

@media (min-width: 760px) {
	.container {
		width: min(100% - 64px, var(--content));
	}

	.mobile-download-bar {
		display: none;
	}

	.desktop-only {
		display: inline;
	}

	.hero {
		padding: 92px 0 110px;
	}

	.hero>.container {
		display: grid;
		grid-template-columns: minmax(0, .95fr) minmax(340px, .8fr);
		gap: 64px;
		align-items: center;
	}

	.hero-actions {
		grid-template-columns: max-content max-content;
		align-items: center;
	}

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

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

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

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

	.nostalgic-layout {
		grid-template-columns: .95fr 1fr;
		align-items: center;
		gap: 64px;
	}

	.experience-band {
		padding: 54px;
	}

	.privacy-panel {
		padding: 44px;
	}

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

	.privacy-point {
		grid-template-columns: 1fr;
	}

	.final-cta {
		padding: 72px;
	}

	.footer-inner {
		grid-template-columns: 1fr auto;
		align-items: end;
	}

	.footer-links {
		justify-content: flex-end;
	}
}

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

	*,
	*::before,
	*::after {
		transition-duration: .001ms !important;
		animation-duration: .001ms !important;
	}
}

/* Legal documents */
.legal-page {
	background:
		radial-gradient(circle at 84% 0%, rgba(255, 255, 255, .78), transparent 28rem),
		linear-gradient(180deg, #e7f0f3 0%, #edf4f6 100%);
}

.legal-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-left: auto;
}

.legal-language-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 5px 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .58);
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
	text-decoration: none;
}

.legal-language-link:hover,
.legal-language-link:focus-visible {
	background: rgba(255, 255, 255, .9);
	border-color: rgba(74, 144, 164, .34);
}

.legal-back-link {
	color: var(--accent-dark);
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	text-decoration: none;
}

.legal-back-link::before {
	content: "←";
	margin-right: 7px;
}

.legal-container {
	width: min(100% - 40px, 980px);
	margin-inline: auto;
}

.legal-hero {
	padding: 72px 0 48px;
	border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
	margin-bottom: 14px;
	font-size: clamp(38px, 10vw, 58px);
}

.legal-intro {
	max-width: 620px;
	margin-bottom: 28px;
	color: var(--muted);
	font-weight: 600;
}

.legal-title-break {
	display: none;
}

.legal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0;
	font-size: 12px;
}

.legal-meta div {
	display: flex;
	gap: 8px;
}

.legal-meta dt {
	color: var(--muted);
}

.legal-meta dd {
	margin: 0;
	font-weight: 800;
}

.legal-layout {
	display: grid;
	gap: 28px;
	padding-top: 32px;
	padding-bottom: 80px;
}

.legal-toc {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, .64);
}

.legal-toc-title {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .08em;
}

.legal-toc ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 20px;
	margin: 0;
	padding-left: 1.8em;
	color: var(--muted);
	font-size: 12px;
}

.legal-toc a {
	text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible,
.legal-document a:hover,
.legal-document a:focus-visible {
	color: var(--accent-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.legal-document {
	padding: 4px 22px 42px;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .76);
	box-shadow: var(--shadow-soft);
}

.legal-preamble {
	margin: 0;
	padding: 34px 0;
	border-bottom: 1px solid var(--line);
	color: #35484f;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.95;
}

.legal-section {
	padding: 36px 0;
	scroll-margin-top: 84px;
	border-bottom: 1px solid var(--line);
}

.legal-section h2 {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 12px;
	margin-bottom: 18px;
	font-size: clamp(21px, 5vw, 27px);
	letter-spacing: -.02em;
}

.legal-section h2 span {
	color: var(--accent-dark);
	font-size: .58em;
	letter-spacing: .08em;
	line-height: 2.2;
}

.legal-section p,
.legal-section li {
	color: #35484f;
	font-size: 14px;
	line-height: 1.95;
}

.legal-section > p:last-child,
.legal-section > ol:last-child {
	margin-bottom: 0;
}

.legal-section ol {
	margin: 0;
	padding-left: 1.65em;
}

.legal-section ul {
	margin: 0 0 22px;
	padding-left: 1.45em;
}

.legal-section li + li {
	margin-top: 10px;
}

.legal-subsection {
	padding: 26px 0;
	scroll-margin-top: 84px;
	border-top: 1px dashed var(--line);
}

.legal-subsection:first-of-type {
	padding-top: 4px;
	border-top: 0;
}

.legal-subsection:last-child {
	padding-bottom: 0;
}

.legal-subsection h3 {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin-bottom: 18px;
	font-size: 18px;
	letter-spacing: -.01em;
}

.legal-subsection h3 span {
	color: var(--accent-dark);
	font-size: .75em;
	line-height: 1.8;
}

.external-link-list a {
	color: var(--accent-dark);
	font-weight: 750;
	overflow-wrap: anywhere;
}

.contact-list {
	margin: 0;
	border-top: 1px solid var(--line);
}

.contact-list div {
	display: grid;
	gap: 3px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
}

.contact-list dt {
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
}

.contact-list dd {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.contact-note {
	margin: 18px 0 0;
}

.legal-end {
	margin: 42px 0 0;
	text-align: right;
	font-size: 14px;
	font-weight: 800;
}

@media (min-width: 760px) {
	.legal-container {
		width: min(100% - 64px, 980px);
	}

	.legal-hero {
		padding: 96px 0 60px;
	}

	.legal-layout {
		grid-template-columns: 210px minmax(0, 1fr);
		gap: 34px;
		padding-top: 48px;
		padding-bottom: 110px;
		align-items: start;
	}

	.legal-toc {
		position: sticky;
		top: 88px;
	}

	.legal-toc ol {
		grid-template-columns: 1fr;
	}

	.legal-document {
		padding: 10px 48px 52px;
	}

	.legal-section {
		padding: 46px 0;
	}

	.legal-section p,
	.legal-section li {
		font-size: 15px;
	}

	.legal-preamble {
		padding: 42px 0;
		font-size: 15px;
	}

	.contact-list div {
		grid-template-columns: 170px minmax(0, 1fr);
		gap: 18px;
	}
}

@media (max-width: 430px) {
	.legal-title-break {
		display: initial;
	}

	.legal-page .brand {
		font-size: 11px;
	}

	.legal-page .brand-mark {
		width: 30px;
		border-radius: 10px;
	}

	.legal-back-link {
		font-size: 11px;
	}

	.legal-header-actions {
		gap: 8px;
	}

	.legal-language-link {
		min-height: 30px;
		padding-inline: 9px;
		font-size: 11px;
	}

	.legal-toc ol {
		grid-template-columns: 1fr;
	}
}
