/* Tsugirin website. Design source: the "Tsugirin website" Claude Design
   canvas (#2). Fonts are served from this site, never from a font CDN, so a
   visit sends nothing to other sites (privacy.html → This website). Files
   and licences: fonts/README.md. */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("fonts/Inter-latin-ext.woff2") format("woff2");
	unicode-range:
		U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("fonts/Inter-latin.woff2") format("woff2");
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "M PLUS Rounded 1c";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("fonts/MPLUSRounded1c-800-latin-ext.woff2") format("woff2");
	unicode-range:
		U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "M PLUS Rounded 1c";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("fonts/MPLUSRounded1c-800-latin.woff2") format("woff2");
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "M PLUS Rounded 1c";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("fonts/MPLUSRounded1c-800-tsugirin.woff2") format("woff2");
	unicode-range: U+308A, U+3093, U+6B21;
}

:root {
	color-scheme: light dark;
	--paper: #f7f3ec;
	--card: #fffdf8;
	--ink: #1b1a2e;
	--muted: #5b5870;
	--rule: #e4dccd;
	--night: #25234f;
	--night-line: #3a3770;
	--on-night: #f4f1fb;
	--on-night-muted: #cdc9e6;
	--bell: #e9a93a;
	--brass: #8f4e08;
	--link: #9a560a;
	--link-hover: #6e3d05;
	--pill: #efe2c9;
	--pill-dot: #b06a12;
	--display: "M PLUS Rounded 1c", ui-rounded, system-ui, sans-serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #12111f;
		--card: #1c1b2e;
		--ink: #f2efe8;
		--muted: #aaa6bd;
		--rule: #2e2c45;
		--night: #25234f;
		--brass: #f0b552;
		--link: #f0b552;
		--link-hover: #ffd18a;
		--pill: #3a2f1c;
		--pill-dot: #e9a93a;
	}
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 17px/1.6 var(--sans);
}

a {
	color: var(--link);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--link-hover);
}

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

h1,
h2,
h3 {
	text-wrap: balance;
}

.wrap {
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: 24px;
}

.display {
	font-family: var(--display);
	font-weight: 800;
}

/* Header and footer */

.site-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	font: 800 22px/1 var(--display);
	text-decoration: none;
}

.brand:hover {
	color: var(--ink);
}

.mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--night);
}

.site-head nav,
.site-foot nav {
	display: flex;
	gap: 24px;
}

.site-head nav a {
	padding-block: 10px;
	color: var(--muted);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.site-head nav a:hover,
.site-head nav a[aria-current="page"] {
	color: var(--ink);
}

.site-foot {
	border-top: 1px solid var(--rule);
}

.site-foot .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 28px 40px;
	color: var(--muted);
	font-size: 14px;
}

.site-foot a {
	color: var(--muted);
}

/* Home: hero */

.hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 56px;
	align-items: center;
	padding-block: 40px 88px;
}

.hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.kana {
	margin: 0;
	color: var(--brass);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.kana [lang="ja"] {
	font-family: var(--display);
	font-weight: 800;
}

.hero h1 {
	margin: 0;
	font: 800 clamp(42px, 6vw, 68px) / 1.05 var(--display);
	letter-spacing: -0.02em;
}

.lede {
	margin: 0;
	max-width: 30ch;
	color: var(--muted);
	font-size: 20px;
}

.pill {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 0;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--pill);
	font-size: 15px;
	font-weight: 600;
}

.pill::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pill-dot);
}

.stage {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 40px 28px 32px;
	overflow: hidden;
	border-radius: 32px;
	background: var(--night);
}

.stage .watermark {
	position: absolute;
	top: -40px;
	right: -50px;
	width: 260px;
	height: 260px;
}

.stage-time {
	position: relative;
	margin: 0 0 8px 4px;
	color: var(--on-night-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.note {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px;
	border-radius: 18px;
	background: #fff;
	color: #1b1a2e;
	font-size: 14px;
	line-height: 1.4;
}

.note:nth-of-type(2) {
	background: #e9e6f6;
	transform: scale(0.97);
}

.note:nth-of-type(3) {
	background: #dcd8ef;
	transform: scale(0.94);
}

.note .mark {
	flex: none;
	border-radius: 10px;
}

.note-body {
	flex: 1;
	min-width: 0;
	color: #3d3a52;
}

.note-head {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.note-head strong {
	color: #1b1a2e;
	font-weight: 600;
}

.note-head span {
	flex: none;
	color: #5f5c74;
	font-size: 12px;
}

/* Home: sections */

.band {
	border-top: 1px solid var(--rule);
}

.band > .wrap {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding-block: 72px;
}

.band-head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 620px;
}

.band h2 {
	margin: 0;
	font: 800 38px/1.15 var(--display);
}

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

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps li {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.steps .num {
	color: var(--pill-dot);
	font: 800 40px/1 var(--display);
}

.steps h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
}

.steps p,
.cards p,
.promise span {
	margin: 0;
	color: var(--muted);
	font-size: 16px;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
}

.card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border: 1px solid var(--rule);
	border-radius: 22px;
	background: var(--card);
}

.card.lead {
	border-color: var(--night);
	background: var(--night);
	color: var(--on-night);
}

.card.lead p {
	color: var(--on-night-muted);
}

.card h3 {
	margin: 0;
	font: 800 24px/1.2 var(--display);
}

.band > .wrap.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 40px;
	align-items: start;
	padding-block: 72px 88px;
}

.promise {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.promise li {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.promise strong {
	font-weight: 600;
}

/* Text pages: privacy, support, 404 */

.doc {
	padding-block: 32px 88px;
	line-height: 1.65;
}

.doc > * {
	max-width: 680px;
}

.doc h1 {
	margin: 0 0 14px;
	font: 800 clamp(36px, 5vw, 52px) / 1.1 var(--display);
}

.doc h2 {
	margin: 40px 0 6px;
	font: 800 24px/1.25 var(--display);
}

.doc p {
	margin: 0 0 14px;
}

.doc .meta {
	color: var(--muted);
	font-size: 15px;
}

.summary {
	margin: 18px 0 8px;
	padding: 22px 24px;
	border-radius: 20px;
	background: var(--night);
	color: var(--on-night);
	font-size: 18px;
}

.summary strong {
	color: var(--bell);
}

.faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 760px;
}

.faq div {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 24px;
	border: 1px solid var(--rule);
	border-radius: 18px;
	background: var(--card);
}

.faq h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.faq p {
	margin: 0;
	color: var(--muted);
	font-size: 16px;
}
