:root {
	--sooinv-black: #000000;
	--sooinv-text: #1a1a1a;
	--sooinv-white: #ffffff;

	--sooinv-gray-50: #f9fafb;
	--sooinv-gray-100: #f3f4f6;
	--sooinv-gray-200: #e5e7eb;
	--sooinv-gray-300: #d1d5db;
	--sooinv-gray-400: #9ca3af;
	--sooinv-gray-500: #6b7280;
	--sooinv-gray-600: #4b5563;
	--sooinv-gray-800: #1f2937;

	--sooinv-red-300: #fca5a5;
	--sooinv-red-500: #ef4444;
}

/*
 * Minimal Tailwind-like preflight + a small subset of utilities
 * (Tailwind itself is not included).
 */
*,
::before,
::after {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: var(--sooinv-gray-200);

	--tw-translate-x: 0;
	--tw-translate-y: 0;
	--tw-rotate: 0;
	--tw-skew-x: 0;
	--tw-skew-y: 0;
	--tw-scale-x: 1;
	--tw-scale-y: 1;
}

::before,
::after {
	--tw-content: "";
}

html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	tab-size: 4;
	font-family: Inter, "Noto Sans KR", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
		"Apple Color Emoji", "Segoe UI Emoji";
	font-feature-settings: normal;
	font-variation-settings: normal;
}

body {
	margin: 0;
	line-height: inherit;
	color: var(--sooinv-text);
	background-color: var(--sooinv-white);
}

hr {
	height: 0;
	color: inherit;
	border-top-width: 1px;
}

abbr:where([title]) {
	text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
	margin: 0;
}

p {
	margin: 0;
}

blockquote,
dl,
dd,
figure,
pre {
	margin: 0;
}

fieldset {
	margin: 0;
	padding: 0;
}

legend {
	padding: 0;
}

ol,
ul,
menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

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

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-feature-settings: normal;
	font-variation-settings: normal;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-feature-settings: inherit;
	font-variation-settings: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
}

button,
select {
	text-transform: none;
}

button {
	background-color: transparent;
	background-image: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	background-color: transparent;
	background-image: none;
}

:-moz-focusring {
	outline: auto;
}

:-moz-ui-invalid {
	box-shadow: none;
}

progress {
	vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

summary {
	display: list-item;
}

textarea {
	resize: vertical;
}

input::placeholder,
textarea::placeholder {
	opacity: 1;
	color: var(--sooinv-gray-400);
}

button,
[role="button"] {
	cursor: pointer;
}

:disabled {
	cursor: default;
}

table {
	text-indent: 0;
	border-color: inherit;
	border-collapse: collapse;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
	display: block;
	vertical-align: middle;
}

img,
video {
	max-width: 100%;
	height: auto;
}

[hidden] {
	display: none !important;
}

/* App shell helpers */
.site-main {
	min-height: 60vh;
	transition: opacity 180ms ease;
}

body.sooinv-nav-loading .site-main {
	opacity: 0;
	pointer-events: none;
}

/* Reveal animation (matches demo) */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s ease-out;
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

/* Utilities */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Cursor */
.cursor-pointer {
	cursor: pointer;
}

.break-words {
	overflow-wrap: break-word;
}

/* Layout / display */
.container {
	width: 100%;
}

.fixed {
	position: fixed;
}

.absolute {
	position: absolute;
}

.relative {
	position: relative;
}

.inset-0 {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.top-6 {
	top: 1.5rem;
}

.right-6 {
	right: 1.5rem;
}

.bottom-12 {
	bottom: 3rem;
}

.left-1\/2 {
	left: 50%;
}

.z-0 {
	z-index: 0;
}

.z-10 {
	z-index: 10;
}

.z-50 {
	z-index: 50;
}

.block {
	display: block;
}

.inline-block {
	display: inline-block;
}

.hidden {
	display: none;
}

.flex {
	display: flex;
}

.grid {
	display: grid;
}

.flex-col {
	flex-direction: column;
}

.flex-grow {
	flex-grow: 1;
}

.items-center {
	align-items: center;
}

.items-end {
	align-items: flex-end;
}

.items-start {
	align-items: flex-start;
}

.items-baseline {
	align-items: baseline;
}

.justify-between {
	justify-content: space-between;
}

.justify-center {
	justify-content: center;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

/* Grid */
.grid-cols-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.col-span-1 {
	grid-column: span 1 / span 1;
}

.col-span-2 {
	grid-column: span 2 / span 2;
}

/* Spacing */
.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.mt-2 {
	margin-top: 0.5rem;
}

.mt-4 {
	margin-top: 1rem;
}

.mt-8 {
	margin-top: 2rem;
}

.mt-20 {
	margin-top: 5rem;
}

.mt-40 {
	margin-top: 10rem;
}

.mb-1 {
	margin-bottom: 0.25rem;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-4 {
	margin-bottom: 1rem;
}

.mb-6 {
	margin-bottom: 1.5rem;
}

.mb-8 {
	margin-bottom: 2rem;
}

.mb-10 {
	margin-bottom: 2.5rem;
}

.mb-12 {
	margin-bottom: 3rem;
}

.mb-16 {
	margin-bottom: 4rem;
}

.mb-20 {
	margin-bottom: 5rem;
}

.mb-24 {
	margin-bottom: 6rem;
}

.mb-32 {
	margin-bottom: 8rem;
}

.mb-40 {
	margin-bottom: 10rem;
}

.mr-3 {
	margin-right: 0.75rem;
}

.p-2 {
	padding: 0.5rem;
}

.p-3 {
	padding: 0.75rem;
}

.p-4 {
	padding: 1rem;
}

.p-6 {
	padding: 1.5rem;
}

.p-8 {
	padding: 2rem;
}

.p-10 {
	padding: 2.5rem;
}

.p-12 {
	padding: 3rem;
}

.p-20 {
	padding: 5rem;
}

.px-2 {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.px-6 {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.px-8 {
	padding-left: 2rem;
	padding-right: 2rem;
}

.px-10 {
	padding-left: 2.5rem;
	padding-right: 2.5rem;
}

.py-1 {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.py-3 {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.py-4 {
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.py-6 {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.py-8 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.py-20 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.py-32 {
	padding-top: 8rem;
	padding-bottom: 8rem;
}

.py-40 {
	padding-top: 10rem;
	padding-bottom: 10rem;
}

.pt-6 {
	padding-top: 1.5rem;
}

.pt-10 {
	padding-top: 2.5rem;
}

.pt-12 {
	padding-top: 3rem;
}

.pt-20 {
	padding-top: 5rem;
}

.pt-32 {
	padding-top: 8rem;
}

.pb-1 {
	padding-bottom: 0.25rem;
}

.pb-2 {
	padding-bottom: 0.5rem;
}

.pb-6 {
	padding-bottom: 1.5rem;
}

.pb-8 {
	padding-bottom: 2rem;
}

.pb-12 {
	padding-bottom: 3rem;
}

.pb-40 {
	padding-bottom: 10rem;
}

/* gap / space utilities */
.gap-4 {
	gap: 1rem;
}

.gap-6 {
	gap: 1.5rem;
}

.gap-12 {
	gap: 3rem;
}

.gap-20 {
	gap: 5rem;
}

.gap-24 {
	gap: 6rem;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
	margin-left: 0.5rem;
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
	margin-left: 1rem;
}

.space-x-6 > :not([hidden]) ~ :not([hidden]) {
	margin-left: 1.5rem;
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
	margin-left: 2rem;
}

.space-x-12 > :not([hidden]) ~ :not([hidden]) {
	margin-left: 3rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
	margin-top: 1rem;
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
	margin-top: 1.5rem;
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
	margin-top: 2rem;
}

.space-y-10 > :not([hidden]) ~ :not([hidden]) {
	margin-top: 2.5rem;
}

.space-y-12 > :not([hidden]) ~ :not([hidden]) {
	margin-top: 3rem;
}

.space-y-24 > :not([hidden]) ~ :not([hidden]) {
	margin-top: 6rem;
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
	border-top-width: 1px;
}

.divide-gray-50 > :not([hidden]) ~ :not([hidden]) {
	border-color: var(--sooinv-gray-50);
}

/* Sizing */
.w-full {
	width: 100%;
}

.w-px {
	width: 1px;
}

.w-1\.5 {
	width: 0.375rem;
}

.w-4 {
	width: 1rem;
}

.w-5 {
	width: 1.25rem;
}

.w-6 {
	width: 1.5rem;
}

.w-8 {
	width: 2rem;
}

.w-10 {
	width: 2.5rem;
}

.w-12 {
	width: 3rem;
}

.w-16 {
	width: 4rem;
}

.w-20 {
	width: 5rem;
}

.w-24 {
	width: 6rem;
}

.w-32 {
	width: 8rem;
}

.h-full {
	height: 100%;
}

.h-px {
	height: 1px;
}

.h-1\.5 {
	height: 0.375rem;
}

.h-4 {
	height: 1rem;
}

.h-5 {
	height: 1.25rem;
}

.h-6 {
	height: 1.5rem;
}

.h-8 {
	height: 2rem;
}

.h-10 {
	height: 2.5rem;
}

.h-12 {
	height: 3rem;
}

.h-96 {
	height: 24rem;
}

.h-screen {
	height: 100vh;
}

.min-h-screen {
	min-height: 100vh;
}

.max-w-sm {
	max-width: 24rem;
}

.max-w-md {
	max-width: 28rem;
}

.max-w-2xl {
	max-width: 42rem;
}

.max-w-3xl {
	max-width: 48rem;
}

.max-w-4xl {
	max-width: 56rem;
}

.max-w-7xl {
	max-width: 80rem;
}

.min-w-0 {
	min-width: 0;
}

/* Typography */
.text-xs {
	font-size: 0.75rem;
	line-height: 1rem;
}

.text-sm {
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.text-base {
	font-size: 1rem;
	line-height: 1.5rem;
}

.text-lg {
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.text-xl {
	font-size: 1.25rem;
	line-height: 1.75rem;
}

.text-2xl {
	font-size: 1.5rem;
	line-height: 2rem;
}

.text-3xl {
	font-size: 1.875rem;
	line-height: 2.25rem;
}

.text-4xl {
	font-size: 2.25rem;
	line-height: 2.5rem;
}

.text-5xl {
	font-size: 3rem;
	line-height: 1;
}

.text-6xl {
	font-size: 3.75rem;
	line-height: 1;
}

.text-7xl {
	font-size: 4.5rem;
	line-height: 1;
}

.text-\[10px\] {
	font-size: 10px;
}

.text-\[13px\] {
	font-size: 13px;
}

.font-extralight {
	font-weight: 200;
}

.font-light {
	font-weight: 300;
}

.font-medium {
	font-weight: 500;
}

.font-bold {
	font-weight: 700;
}

.leading-tight {
	line-height: 1.25;
}

.leading-snug {
	line-height: 1.375;
}

.leading-relaxed {
	line-height: 1.625;
}

.leading-loose {
	line-height: 2;
}

.tracking-tight {
	letter-spacing: -0.025em;
}

.tracking-tighter {
	letter-spacing: -0.05em;
}

.tracking-wide {
	letter-spacing: 0.025em;
}

.tracking-widest {
	letter-spacing: 0.1em;
}

.tracking-\[0\.2em\] {
	letter-spacing: 0.2em;
}

.tracking-\[0\.3em\] {
	letter-spacing: 0.3em;
}

.tracking-\[0\.4em\] {
	letter-spacing: 0.4em;
}

.tracking-\[0\.5em\] {
	letter-spacing: 0.5em;
}

.uppercase {
	text-transform: uppercase;
}

.italic {
	font-style: italic;
}

/* Colors */
.text-black {
	color: var(--sooinv-black);
}

.text-white {
	color: var(--sooinv-white);
}

.text-white\/70 {
	color: rgb(255 255 255 / 0.7);
}

.text-white\/40 {
	color: rgb(255 255 255 / 0.4);
}

.text-white\/60 {
	color: rgb(255 255 255 / 0.6);
}

.text-gray-200 {
	color: var(--sooinv-gray-200);
}

.text-gray-300 {
	color: var(--sooinv-gray-300);
}

.text-gray-400 {
	color: var(--sooinv-gray-400);
}

.text-gray-500 {
	color: var(--sooinv-gray-500);
}

.text-gray-600 {
	color: var(--sooinv-gray-600);
}

.text-red-300 {
	color: var(--sooinv-red-300);
}

.text-red-500 {
	color: var(--sooinv-red-500);
}

.bg-black {
	background-color: var(--sooinv-black);
}

.bg-white {
	background-color: var(--sooinv-white);
}

.bg-transparent {
	background-color: transparent;
}

.bg-white\/95 {
	background-color: rgb(255 255 255 / 0.95);
}

.bg-white\/30 {
	background-color: rgb(255 255 255 / 0.3);
}

.bg-gray-50 {
	background-color: var(--sooinv-gray-50);
}

.bg-gray-50\/50 {
	background-color: rgb(249 250 251 / 0.5);
}

.bg-gray-100 {
	background-color: var(--sooinv-gray-100);
}

.bg-gray-200 {
	background-color: var(--sooinv-gray-200);
}

.bg-gray-300 {
	background-color: var(--sooinv-gray-300);
}

.bg-gray-800 {
	background-color: var(--sooinv-gray-800);
}

/* Borders */
.border {
	border-width: 1px;
}

.border-0 {
	border-width: 0;
}

.border-b {
	border-bottom-width: 1px;
}

.border-t {
	border-top-width: 1px;
}

.border-y {
	border-top-width: 1px;
	border-bottom-width: 1px;
}

.border-black {
	border-color: var(--sooinv-black);
}

.border-current {
	border-color: currentColor;
}

.border-gray-50 {
	border-color: var(--sooinv-gray-50);
}

.border-gray-100 {
	border-color: var(--sooinv-gray-100);
}

.border-gray-200 {
	border-color: var(--sooinv-gray-200);
}

.border-white\/30 {
	border-color: rgb(255 255 255 / 0.3);
}

.rounded {
	border-radius: 0.25rem;
}

.rounded-full {
	border-radius: 9999px;
}

/* Overflow */
.overflow-hidden {
	overflow: hidden;
}

.overflow-x-auto {
	overflow-x: auto;
}

/* Aspect ratio */
.aspect-video {
	aspect-ratio: 16 / 9;
}

.aspect-\[4\/3\] {
	aspect-ratio: 4 / 3;
}

/* Media / effects */
.object-cover {
	object-fit: cover;
}

.opacity-60 {
	opacity: 0.6;
}

.opacity-80 {
	opacity: 0.8;
}

.grayscale {
	filter: grayscale(1);
}

/* Backdrop blur */
.backdrop-blur-sm {
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

/* Transitions */
.transition-all {
	transition-property: all;
	transition-duration: 150ms;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
	transition-duration: 150ms;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-opacity {
	transition-property: opacity;
	transition-duration: 150ms;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
	transition-property: transform;
	transition-duration: 150ms;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
	transition-duration: 300ms;
}

.duration-700 {
	transition-duration: 700ms;
}

/* Transforms */
.transform {
	transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x))
		skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.\-translate-x-1\/2 {
	--tw-translate-x: -50%;
	transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x))
		skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-1 {
	--tw-translate-x: 0.25rem;
	transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x))
		skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Animation */
@keyframes bounce {
	0%,
	100% {
		transform: translateY(-25%);
		animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
	}
	50% {
		transform: translateY(0);
		animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
	}
}

.animate-bounce {
	animation: bounce 1s infinite;
}

/* Forms */
.focus\:outline-none:focus {
	outline: 2px solid transparent;
	outline-offset: 2px;
}

.focus\:border-black:focus {
	border-color: var(--sooinv-black);
}

.resize-none {
	resize: none;
}

/* Hover variants */
.hover\:opacity-50:hover {
	opacity: 0.5;
}

.hover\:bg-white:hover {
	background-color: var(--sooinv-white);
}

.hover\:bg-gray-50:hover {
	background-color: var(--sooinv-gray-50);
}

.hover\:bg-gray-800:hover {
	background-color: var(--sooinv-gray-800);
}

.hover\:text-black:hover {
	color: var(--sooinv-black);
}

.hover\:text-gray-500:hover {
	color: var(--sooinv-gray-500);
}

.hover\:text-red-500:hover {
	color: var(--sooinv-red-500);
}

.hover\:grayscale-0:hover {
	filter: grayscale(0);
}

/* Group variants */
.group:hover .group-hover\:translate-x-1 {
	--tw-translate-x: 0.25rem;
	transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x))
		skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:text-black {
	color: var(--sooinv-black);
}

.group:focus-within .group-focus-within\:text-black {
	color: var(--sooinv-black);
}

/* Responsive variants */
@media (min-width: 640px) {
	.sm\:block {
		display: block;
	}
}

@media (min-width: 768px) {
	.md\:block {
		display: block;
	}

	.md\:hidden {
		display: none;
	}

	.md\:flex {
		display: flex;
	}

	.md\:flex-row {
		flex-direction: row;
	}

	.md\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.md\:grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.md\:grid-cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.md\:justify-start {
		justify-content: flex-start;
	}

	.md\:col-span-2 {
		grid-column: span 2 / span 2;
	}

	.md\:gap-6 {
		gap: 1.5rem;
	}

	.md\:p-8 {
		padding: 2rem;
	}

	.md\:p-12 {
		padding: 3rem;
	}

	.md\:p-24 {
		padding: 6rem;
	}

	.md\:p-32 {
		padding: 8rem;
	}

	.md\:mt-0 {
		margin-top: 0;
	}

	.md\:text-4xl {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}

	.md\:text-5xl {
		font-size: 3rem;
		line-height: 1;
	}

	.md\:text-6xl {
		font-size: 3.75rem;
		line-height: 1;
	}

	.md\:text-7xl {
		font-size: 4.5rem;
		line-height: 1;
	}
}

@media (min-width: 1024px) {
	.lg\:grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lg\:col-span-1 {
		grid-column: span 1 / span 1;
	}

	.lg\:col-span-2 {
		grid-column: span 2 / span 2;
	}
}
