@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
	--ink: #171716;
	--paper: #f6f4ef;
	--muted: #77756f;
	--coral: #ff6b56;
	--lime: #ccf255;
	--blue: #80bfff;
	--violet: #bba4ff;
	--amber: #ffc760;
	--accent: var(--coral);
	--soft-accent: #ffe2dc;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }

.accent-coral { --accent: var(--coral); --soft-accent: #ffe0da; }
.accent-lime { --accent: var(--lime); --soft-accent: #eefbc4; }
.accent-blue { --accent: var(--blue); --soft-accent: #d9ecff; }
.accent-violet { --accent: var(--violet); --soft-accent: #e8e0ff; }
.accent-amber { --accent: var(--amber); --soft-accent: #ffebc5; }

.site-nav { height: 96px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .62rem; color: var(--ink); text-decoration: none; font: 800 1.22rem/1 'Manrope', sans-serif; letter-spacing: -.045em; }
.brand-mark { width: 33px; height: 33px; display: inline-grid; place-items: center; border-radius: 11px; background: var(--ink); color: #fff; transform: rotate(-5deg); }
.brand-mark i { font-size: 1.22rem; }
.avatar-button { width: 42px; height: 42px; padding: 0; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 2px 12px rgba(20,20,18,.15); overflow: hidden; }
.avatar-button img { width: 100%; height: 100%; object-fit: cover; }
.avatar-button span { display: grid; place-items: center; height: 100%; font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: .55rem; }
.icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid rgba(23,23,22,.1); border-radius: 50%; background: rgba(255,255,255,.75); color: var(--ink); text-decoration: none; transition: transform .2s, background .2s; }
.icon-button:hover { transform: translateY(-2px); background: #fff; }

.landing-page { overflow-x: hidden; background: #f5f1e9; }
.landing-page::before { content: ''; position: fixed; inset: auto auto -18vw -15vw; width: 42vw; height: 42vw; border-radius: 50%; background: #efd6ff; filter: blur(1px); opacity: .6; pointer-events: none; }
.landing-main { min-height: calc(100vh - 172px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; padding-top: 1rem; padding-bottom: 4rem; }
.hero-copy { position: relative; z-index: 3; padding-left: 5vw; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; color: #5c5b56; font-size: .84rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero-copy h1 { margin: 0 0 1.6rem; font: 800 clamp(4.4rem, 8.5vw, 8.4rem)/.83 'Manrope', sans-serif; letter-spacing: -.085em; }
.hero-copy h1 em { color: var(--coral); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.07em; }
.hero-copy p { max-width: 420px; margin: 0 0 2rem; font-size: 1.25rem; line-height: 1.5; color: #67645e; }
.hero-stack { min-height: 600px; position: relative; }
.stack-card { width: min(330px, 70%); padding: 13px 13px 20px; position: absolute; border-radius: 26px; background: white; box-shadow: 0 24px 60px rgba(29,28,25,.18); }
.stack-card h3 { margin: 17px 8px 2px; font: 700 1.16rem/1.2 'Manrope', sans-serif; letter-spacing: -.03em; }
.stack-card > span { margin-left: 8px; color: #8b8983; font-size: .88rem; }
.card-one { top: 52px; left: 5%; transform: rotate(-8deg); }
.card-two { top: 120px; left: 43%; transform: rotate(8deg); }
.stack-photo { height: 330px; display: grid; place-items: center; position: relative; border-radius: 19px; overflow: hidden; }
.photo-blue { background: linear-gradient(145deg, #d8efff, #a5c9f4); }
.photo-lime { background: linear-gradient(145deg, #efffa9, #c8ea5e); }
.shoe-shape { width: 180px; height: 90px; display: grid; place-items: center; border-radius: 100% 30% 43% 35%; background: #fdfcf8; color: #31312f; font: 800 2.8rem 'Manrope'; transform: skewX(-15deg) rotate(-12deg); box-shadow: 0 18px 30px rgba(25,25,20,.18); }
.floating-price { position: absolute; top: 14px; right: 14px; z-index: 1; padding: .55rem .8rem; border-radius: 999px; background: white; font-weight: 700; font-size: .82rem; }
.collection-pill { min-width: 270px; padding: 12px 18px; display: grid; grid-template-columns: auto 1fr; position: absolute; left: 23%; bottom: 46px; z-index: 5; border: 1px solid rgba(255,255,255,.8); border-radius: 20px; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); box-shadow: 0 16px 35px rgba(25,25,20,.14); }
.collection-pill strong { font-size: .92rem; }
.collection-pill > span:last-child { grid-column: 2; color: #8a8882; font-size: .76rem; }
.mini-avatars { grid-row: 1/3; display: flex; align-items: center; padding-right: 12px; }
.mini-avatars i { width: 23px; height: 23px; margin-left: -6px; border: 2px solid #fff; border-radius: 50%; background: var(--violet); }
.mini-avatars i:nth-child(2) { background: var(--amber); }.mini-avatars i:nth-child(3) { background: var(--blue); }
.landing-footer { height: 76px; display: flex; align-items: center; justify-content: center; gap: 2rem; font: 700 .73rem 'Manrope'; letter-spacing: .15em; text-transform: uppercase; color: #77736b; }
.landing-footer i { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }

.dashboard-page { background: #f4f2ed; }
.dashboard-main { padding-top: 4.5rem; padding-bottom: 6rem; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 3rem; }
.kicker { display: block; margin-bottom: .35rem; color: #85827a; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dashboard-heading h1 { margin: 0; font: 800 clamp(3rem, 6vw, 5.8rem)/.95 'Manrope'; letter-spacing: -.075em; }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.collection-tile { overflow: hidden; border-radius: 28px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 rgba(20,20,18,.06); transition: transform .25s, box-shadow .25s; }
.collection-tile:hover { transform: translateY(-7px); box-shadow: 0 22px 50px rgba(30,29,25,.11); }
.tile-cover { height: 280px; margin: 10px; position: relative; border-radius: 20px; background-color: var(--soft-accent); overflow: hidden; }
.tile-cover > img { width: 100%; height: 100%; object-fit: cover; }
.tile-cover::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.12)); }
.tile-count { min-width: 40px; height: 40px; display: grid; place-items: center; position: absolute; top: 14px; right: 14px; z-index: 1; border-radius: 50%; background: rgba(255,255,255,.9); font-weight: 700; }
.tile-copy { padding: .65rem 1.4rem 1.5rem; }
.tile-copy h2 { min-height: 2.8rem; margin: 0 0 1.2rem; font: 700 1.45rem/1.15 'Manrope'; letter-spacing: -.04em; }
.tile-copy div { display: flex; justify-content: space-between; color: #85827c; font-size: .84rem; }
.tile-copy i { font-size: 1rem; color: var(--ink); }
.empty-collection, .empty-links { width: 100%; padding: 5rem 2rem; display: grid; place-items: center; gap: 1rem; border: 1.5px dashed #ccc8be; border-radius: 30px; background: transparent; color: #77746d; }
.empty-collection span, .empty-links span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(20,20,18,.08); }

.collection-page { background: linear-gradient(180deg, var(--soft-accent) 0, var(--paper) 440px); }
.collection-main { min-height: calc(100vh - 190px); padding-bottom: 7rem; }
.collection-header { max-width: 850px; margin: 5rem auto 4.5rem; text-align: center; }
.collection-meta { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1.1rem; color: #77736e; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.collection-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.collection-header h1 { margin: 0; font: 800 clamp(3.4rem, 8vw, 7.6rem)/.9 'Manrope'; letter-spacing: -.08em; overflow-wrap: anywhere; }
.collection-header p { max-width: 590px; margin: 1.45rem auto 0; color: #68655f; font-size: 1.08rem; line-height: 1.55; }
.editor-actions { margin-top: 1.8rem; display: flex; justify-content: center; gap: .6rem; }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; align-items: start; }
.link-card { position: relative; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 2px 0 rgba(25,25,23,.04), 0 15px 35px rgba(30,29,25,.06); transition: transform .25s, box-shadow .25s; }
.link-card:hover { transform: translateY(-7px); box-shadow: 0 24px 48px rgba(30,29,25,.12); }
.link-card:nth-child(3n+2) { margin-top: 2.8rem; }
.card-link { position: absolute; inset: 0; z-index: 2; }
.card-image { aspect-ratio: 1.12; margin: 10px 10px 0; display: grid; place-items: center; position: relative; border-radius: 19px; background: #e9e7e1; overflow: hidden; }
.card-image > img { width: 100%; height: 100%; object-fit: cover; }
.card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.14)); }
.card-image.no-image { background: var(--soft-accent); }
.card-image.no-image > span:first-child { font: 800 5rem 'Manrope'; opacity: .2; }
.price-pill { padding: .55rem .8rem; position: absolute; left: 14px; bottom: 14px; z-index: 1; border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(20,20,18,.1); font-size: .86rem; }
.open-pill { width: 38px; height: 38px; display: grid; place-items: center; position: absolute; right: 14px; bottom: 14px; z-index: 1; border-radius: 50%; background: rgba(20,20,18,.9); color: white; opacity: 0; transform: scale(.8); transition: .2s; }
.link-card:hover .open-pill { opacity: 1; transform: scale(1); }
.card-content { padding: 1.2rem 1.35rem 1.55rem; }
.site-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; color: #8b8881; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .065em; }
.site-row img { width: 17px; height: 17px; border-radius: 4px; object-fit: contain; }
.card-content h2 { margin: 0; font: 700 1.32rem/1.23 'Manrope'; letter-spacing: -.04em; }
.card-content p { display: -webkit-box; margin: .65rem 0 0; overflow: hidden; color: #77746e; font-size: .9rem; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card-tools { padding: .3rem .8rem .8rem; display: flex; justify-content: flex-end; gap: .25rem; position: relative; z-index: 4; }
.card-tools form { margin: 0; }
.card-tools button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f3f1ed; color: #66635e; }
.card-tools button:hover { background: #e9e6e0; color: var(--ink); }
.card-tools button.danger:hover { background: #ffe1dd; color: #c63925; }
.drag-handle { cursor: grab; margin-right: auto; }
.sortable-ghost { opacity: .32; }
.sortable-drag { transform: rotate(2deg); }
.empty-links { max-width: 760px; margin: 7rem auto; }
.collection-footer { padding: 2.5rem max(1.5rem, calc((100% - 1320px)/2)); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(23,23,22,.08); color: #8c8982; }
.collection-footer .brand { opacity: .7; }

.modal-content { box-shadow: 0 30px 90px rgba(22,22,20,.22); }
.modal-header, .modal-body, .modal-footer { padding-left: 1.35rem; padding-right: 1.35rem; }
.modal-title { font-family: 'Manrope'; font-weight: 750; letter-spacing: -.04em; }
.form-control { border-color: #ddd9d0; border-radius: 15px; padding: .78rem 1rem; box-shadow: none !important; }
.form-control:focus { border-color: #77736c; }
.title-input { padding: 1rem 1.15rem; border-radius: 18px; background: #f5f3ef; border-color: transparent; }
.form-label { color: #77736d; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.color-options { display: flex; gap: .8rem; }
.color-option input { position: absolute; opacity: 0; }
.color-option span { width: 38px; height: 38px; display: block; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #ddd9d0; cursor: pointer; }
.color-option input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.color-coral span { background: var(--coral); }.color-lime span { background: var(--lime); }.color-blue span { background: var(--blue); }.color-violet span { background: var(--violet); }.color-amber span { background: var(--amber); }
.toast-container { z-index: 2000; }
.copy-toast { padding: .7rem 1.1rem; display: flex; align-items: center; gap: .5rem; position: fixed; left: 50%; bottom: 28px; z-index: 2000; border-radius: 999px; background: var(--ink); color: white; font-size: .88rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s; }
.copy-toast.show { transform: translate(-50%, 0); opacity: 1; }
.error-page { display: grid; place-items: center; align-content: center; gap: 1.5rem; text-align: center; }
.error-page h1 { font: 800 3rem 'Manrope'; letter-spacing: -.06em; }
.error-mark { width: 75px; height: 75px; display: grid; place-items: center; border-radius: 24px; background: var(--coral); font: 800 2rem 'Manrope'; transform: rotate(-7deg); }

@media (max-width: 991.98px) {
	.landing-main { grid-template-columns: 1fr; padding-top: 2rem; }
	.hero-copy { padding-left: 1rem; text-align: center; }
	.eyebrow { justify-content: center; }.hero-copy p { margin-left: auto; margin-right: auto; }
	.hero-stack { min-height: 540px; width: min(620px, 100%); margin: auto; }
	.collection-grid, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.link-card:nth-child(3n+2) { margin-top: 0; }.link-card:nth-child(2n+2) { margin-top: 2rem; }
}

@media (max-width: 575.98px) {
	.site-nav { height: 76px; padding-left: 1.1rem; padding-right: 1.1rem; }
	.landing-main { min-height: auto; padding: 4rem 1rem 2rem; }
	.hero-copy h1 { font-size: clamp(4rem, 20vw, 5.8rem); }
	.hero-copy p { font-size: 1.05rem; }
	.hero-stack { min-height: 430px; margin-top: 2rem; }
	.stack-card { width: 62%; padding: 8px 8px 14px; border-radius: 20px; }
	.stack-photo { height: 230px; border-radius: 15px; }.card-one { left: 2%; }.card-two { left: 36%; top: 92px; }
	.shoe-shape { width: 120px; height: 60px; font-size: 2rem; }.collection-pill { left: 10%; bottom: 10px; }
	.landing-footer { display: none; }
	.dashboard-main { padding: 3rem 1.1rem; }.dashboard-heading { align-items: center; }.dashboard-heading .btn { width: 50px; height: 50px; padding: 0 !important; font-size: 0; }.dashboard-heading .btn i { margin: 0 !important; font-size: 1.1rem; }
	.collection-grid, .link-grid { grid-template-columns: 1fr; gap: 1.2rem; }
	.tile-cover { height: 245px; }
	.collection-main { padding-left: 1.1rem; padding-right: 1.1rem; }
	.collection-header { margin: 3.8rem auto 3rem; }.collection-header h1 { font-size: clamp(3.3rem, 18vw, 5rem); }.collection-header p { font-size: .98rem; }
	.link-card:nth-child(2n+2) { margin-top: 0; }
	.card-image { aspect-ratio: 1.18; }
	.collection-footer { padding-left: 1.1rem; padding-right: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
