:root {
	--twtg-surface: #f5f5f7;
	--twtg-card: #fff;
	--twtg-ink: #1d1d1f;
	--twtg-muted: #6e6e73;
	--twtg-line: rgba(0, 0, 0, .08);
	--twtg-blue: #0066cc;
	--twtg-blue-hover: #004f9e;
	--twtg-journey: #a63d00;
	--twtg-title-font: var(--font-brand, Futura, "Futura PT", "Century Gothic", Avenir, Montserrat, sans-serif);
	--twtg-body-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
	--twtg-card-shadow: 0 18px 50px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04);
	--twtg-card-shadow-hover: 0 24px 64px rgba(0, 0, 0, .11), 0 2px 4px rgba(0, 0, 0, .05);
}

.twtg-page,
.twtg-home-guides,
.twtg-related {
	font-family: var(--twtg-body-font);
}

.twtg-page {
	background: var(--twtg-surface);
	color: var(--twtg-ink);
	min-height: 70vh;
	padding: clamp(116px, 14vw, 176px) max(5vw, 28px) clamp(90px, 11vw, 148px);
}

.twtg-shell {
	margin: 0 auto;
	max-width: 1180px;
}

.twtg-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 8px;
	letter-spacing: .01em;
	list-style: none;
	margin: 0 0 32px;
	padding: 0 4px;
}

.twtg-breadcrumb li {
	color: var(--twtg-muted);
}

.twtg-breadcrumb li:not(:last-child)::after {
	color: #a1a1a6;
	content: '›';
	margin-left: 8px;
}

.twtg-breadcrumb a,
.twtg-on-this-page a {
	color: var(--twtg-blue);
	text-decoration: none;
}

.twtg-breadcrumb a:hover,
.twtg-on-this-page a:hover {
	color: var(--twtg-blue-hover);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.twtg-eyebrow {
	color: var(--twtg-blue);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.twtg-hero {
	background: linear-gradient(145deg, #fff 0%, #fbfbfd 100%);
	border: 1px solid rgba(255, 255, 255, .86);
	border-radius: 36px;
	box-shadow: var(--twtg-card-shadow);
	max-width: none;
	overflow: hidden;
	padding: clamp(48px, 7vw, 86px);
	position: relative;
}

.twtg-hero::after {
	background: radial-gradient(circle, rgba(0, 113, 227, .11) 0%, rgba(0, 113, 227, 0) 68%);
	content: '';
	height: 340px;
	pointer-events: none;
	position: absolute;
	right: -130px;
	top: -190px;
	width: 340px;
}

.twtg-index .twtg-hero {
	text-align: center;
}

.twtg-index .twtg-lead {
	margin-left: auto;
	margin-right: auto;
}

.twtg-hero h1,
.twtg-section__header h2,
.twtg-wiki-prompt h2,
.twtg-reading-card h3,
.twtg-guide-card h3,
.twtg-next-card h3,
.twtg-related h2,
.twtg-home-guides h2 {
	font-family: var(--twtg-title-font);
	font-weight: 500;
}

.twtg-hero h1,
.twtg-section__header h2,
.twtg-wiki-prompt h2 {
	letter-spacing: -.055em;
	margin: 0;
}

.twtg-hero h1 {
	font-size: clamp(48px, 7vw, 92px);
	line-height: .97;
	max-width: 980px;
	position: relative;
	z-index: 1;
}

.twtg-index .twtg-hero h1 {
	margin-left: auto;
	margin-right: auto;
}

.twtg-lead {
	color: var(--twtg-muted);
	font-size: clamp(18px, 2vw, 22px);
	letter-spacing: -.012em;
	line-height: 1.55;
	margin: 26px 0 0;
	max-width: 760px;
	position: relative;
	z-index: 1;
}

.twtg-on-this-page {
	align-items: baseline;
	backdrop-filter: saturate(180%) blur(20px);
	background: rgba(255, 255, 255, .78);
	border: 1px solid var(--twtg-line);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
	display: flex;
	gap: 26px;
	margin: 26px 0 clamp(74px, 9vw, 112px);
	overflow-wrap: anywhere;
	padding: 15px 22px;
	position: sticky;
	top: 94px;
	z-index: 5;
}

.twtg-on-this-page p {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	margin: 0;
	white-space: nowrap;
}

.twtg-on-this-page ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.twtg-on-this-page a {
	font-size: 13px;
}

.twtg-section,
.twtg-index__guides {
	margin: clamp(76px, 10vw, 124px) 0 0;
	scroll-margin-top: 174px;
}

.twtg-section__header {
	max-width: 760px;
}

.twtg-section__title {
	align-items: center;
	display: flex;
	gap: 16px;
}

.twtg-section__icon {
	align-items: center;
	background: #eaf3ff;
	border: 1px solid rgba(0, 102, 204, .08);
	border-radius: 15px;
	color: var(--twtg-blue);
	display: inline-flex;
	flex: 0 0 48px;
	height: 48px;
	justify-content: center;
}

.twtg-section__icon .twtg-icon {
	height: 25px;
	width: 25px;
}

.twtg-index__guides .twtg-section__header {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.twtg-section__header h2,
.twtg-wiki-prompt h2 {
	font-size: clamp(40px, 5vw, 64px);
	line-height: .98;
}

.twtg-section__header > p:last-child:not(.twtg-eyebrow),
.twtg-wiki-prompt p,
.twtg-guide-card__body > p,
.twtg-next-card p {
	color: var(--twtg-muted);
	font-size: 17px;
	letter-spacing: -.006em;
	line-height: 1.65;
}

.twtg-reading-list {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 36px 0 0;
	padding: 0;
}

.twtg-reading-list--numbered {
	grid-template-columns: 1fr;
}

.twtg-reading-card {
	background: var(--twtg-card);
	border: 1px solid var(--twtg-line);
	border-radius: 28px;
	box-shadow: var(--twtg-card-shadow);
	display: flex;
	gap: 24px;
	min-width: 0;
	padding: clamp(24px, 3vw, 36px);
	transition: box-shadow .24s ease, transform .24s ease;
}

.twtg-reading-card__number {
	align-items: center;
	background: #f0f6ff;
	border-radius: 50%;
	color: var(--twtg-blue);
	display: inline-flex;
	flex: 0 0 44px;
	font-family: var(--twtg-title-font);
	font-size: 18px;
	font-weight: 500;
	height: 44px;
	justify-content: center;
}

.twtg-reading-card__body {
	min-width: 0;
}

.twtg-reading-card h3,
.twtg-guide-card h3,
.twtg-next-card h3 {
	font-size: clamp(24px, 2.5vw, 32px);
	letter-spacing: -.04em;
	line-height: 1.08;
	margin: 12px 0 13px;
}

.twtg-reading-card h3 a,
.twtg-guide-card h3 a,
.twtg-next-card h3 a {
	color: var(--twtg-ink);
	overflow-wrap: anywhere;
	text-decoration-color: rgba(29, 29, 31, .28);
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.twtg-reading-card h3 a:hover,
.twtg-guide-card h3 a:hover,
.twtg-next-card h3 a:hover {
	color: var(--twtg-blue);
	text-decoration-color: currentColor;
}

.twtg-reading-card p {
	color: var(--twtg-muted);
	font-size: 16px;
	letter-spacing: -.004em;
	line-height: 1.68;
	margin: 0;
}

.twtg-type {
	background: #f0f6ff;
	border: 0;
	border-radius: 999px;
	color: var(--twtg-blue);
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	padding: 6px 10px;
	text-transform: uppercase;
}

.twtg-type--journey {
	background: #fff4ed;
	color: var(--twtg-journey);
}

.twtg-practice-note {
	background: var(--twtg-card);
	border: 1px solid var(--twtg-line);
	border-left: 5px solid var(--twtg-blue);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
	font-size: 15px;
	line-height: 1.65;
	margin: 34px 0 0;
	max-width: 780px;
	padding: 20px 24px;
}

.twtg-next__grid,
.twtg-guide-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 36px;
}

.twtg-next-card,
.twtg-guide-card {
	background: var(--twtg-card);
	border: 1px solid var(--twtg-line);
	border-radius: 30px;
	box-shadow: var(--twtg-card-shadow);
	min-width: 0;
	overflow: hidden;
	padding: clamp(26px, 3.5vw, 42px);
	transition: box-shadow .24s ease, transform .24s ease;
}

.twtg-guide-card__media {
	display: block;
	margin: calc(clamp(26px, 3.5vw, 42px) * -1) calc(clamp(26px, 3.5vw, 42px) * -1) 30px;
}

.twtg-guide-card__media img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.twtg-guide-card__icon {
	align-items: center;
	background: #eef6ff;
	border: 1px solid rgba(0, 102, 204, .08);
	border-radius: 22px;
	color: var(--twtg-blue);
	display: inline-flex;
	height: 72px;
	justify-content: center;
	margin-bottom: 28px;
	width: 72px;
}

.twtg-guide-card__icon .twtg-icon {
	height: 38px;
	width: 38px;
}

.twtg-guide-card__icon--japanese-martial-arts {
	background: #f6f0ff;
	border-color: rgba(104, 65, 153, .08);
	color: #684199;
}

.twtg-guide-card__icon--karate {
	background: #fff3e8;
	border-color: rgba(167, 79, 0, .08);
	color: #a74f00;
}

.twtg-guide-card__icon--anime-manga {
	background: #fff0f6;
	border-color: rgba(158, 53, 109, .08);
	color: #9e356d;
}

.twtg-link,
.twtg-button {
	align-items: center;
	color: var(--twtg-blue);
	display: inline-flex;
	font-size: 15px;
	font-weight: 600;
	gap: 8px;
	margin-top: 10px;
	text-decoration: none;
}

.twtg-link:hover {
	color: var(--twtg-blue-hover);
	text-decoration: underline;
	text-underline-offset: 5px;
}

.twtg-button {
	background: var(--twtg-blue);
	border-radius: 999px;
	color: #fff;
	flex: none;
	justify-content: center;
	min-height: 48px;
	padding: 13px 21px;
	transition: background .2s ease, transform .2s ease;
}

.twtg-button:hover {
	background: var(--twtg-blue-hover);
	color: #fff;
}

.twtg-wiki-prompt {
	align-items: center;
	background: linear-gradient(145deg, #1d1d1f 0%, #363638 100%);
	border-radius: 34px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
	color: #fff;
	display: flex;
	gap: 42px;
	justify-content: space-between;
	margin-top: clamp(82px, 11vw, 138px);
	overflow: hidden;
	padding: clamp(34px, 5vw, 62px);
}

.twtg-wiki-prompt .twtg-eyebrow {
	color: #72aef8;
}

.twtg-wiki-prompt p {
	color: #d2d2d7;
}

.twtg-related {
	background: var(--twtg-card);
	border: 1px solid var(--twtg-line);
	border-radius: 26px;
	box-shadow: var(--twtg-card-shadow);
	clear: both;
	margin: 54px 0 0;
	padding: 30px 34px;
}

.twtg-special-template-related {
	background: var(--twtg-surface);
	color: var(--twtg-ink);
	padding: 54px max(5vw, 28px) clamp(84px, 10vw, 132px);
}

.twtg-special-template-related .twtg-related {
	margin-top: 0;
}

.twtg-related h2 {
	font-size: 30px;
	letter-spacing: -.04em;
	margin: 0 0 14px;
}

.twtg-related ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.twtg-related li + li {
	margin-top: 9px;
}

.twtg-related a {
	color: var(--twtg-blue);
	font-weight: 600;
	text-decoration: none;
}

.twtg-related a:hover {
	color: var(--twtg-blue-hover);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.twtg-page a:focus-visible,
.twtg-related a:focus-visible,
.twtg-home-guides a:focus-visible {
	border-radius: 4px;
	outline: 3px solid var(--twtg-blue);
	outline-offset: 4px;
}

.twtg-home-guides .twtg-guide-grid {
	margin-top: 0;
}

.twtg-home-guides .twtg-guide-card {
	border-color: rgba(0, 0, 0, .07);
}

.home-explore__intro {
	color: var(--twtg-muted);
	font-size: 17px;
	line-height: 1.7;
	margin: 22px 0 34px;
	max-width: 720px;
}

@media (hover: hover) {
	.twtg-reading-card:hover,
	.twtg-next-card:hover,
	.twtg-guide-card:hover {
		box-shadow: var(--twtg-card-shadow-hover);
		transform: translateY(-3px);
	}

	.twtg-button:hover {
		transform: translateY(-1px);
	}
}

@media (max-width: 780px) {
	.twtg-page {
		padding: 112px 20px 84px;
	}

	.twtg-hero {
		border-radius: 28px;
		padding: 40px 26px;
	}

	.twtg-hero h1 {
		font-size: clamp(42px, 12vw, 64px);
	}

	.twtg-reading-list,
	.twtg-next__grid,
	.twtg-guide-grid {
		grid-template-columns: 1fr;
	}

	.twtg-on-this-page {
		align-items: flex-start;
		border-radius: 24px;
		flex-direction: column;
		position: static;
	}

	.twtg-wiki-prompt {
		align-items: flex-start;
		border-radius: 28px;
		flex-direction: column;
	}
}

@media (max-width: 430px) {
	.twtg-breadcrumb ol {
		padding: 0;
	}

	.twtg-reading-card {
		border-radius: 24px;
		gap: 16px;
		padding: 22px;
	}

	.twtg-reading-card__number {
		flex-basis: 38px;
		height: 38px;
	}

	.twtg-next-card,
	.twtg-guide-card {
		border-radius: 26px;
		padding: 26px;
	}

	.twtg-guide-card__icon {
		border-radius: 18px;
		height: 62px;
		margin-bottom: 24px;
		width: 62px;
	}

	.twtg-guide-card__icon .twtg-icon {
		height: 32px;
		width: 32px;
	}

	.twtg-section__title {
		align-items: flex-start;
		gap: 13px;
	}

	.twtg-section__icon {
		border-radius: 13px;
		flex-basis: 42px;
		height: 42px;
	}

	.twtg-wiki-prompt {
		padding: 30px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.twtg-reading-card,
	.twtg-next-card,
	.twtg-guide-card,
	.twtg-button {
		transition: none;
	}
}
