:root {
  --pink: #f7c5d8;
  --pink-deep: #f0b0c8;
  --blush: #fff5f8;
  --blush-2: #ffe4ee;
  --white: #ffffff;
  --ink: #141414;
  --muted: #3a3a3a;
  --line: #141414;
  --serif: "Fraunces", "Noto Serif", Palatino, Georgia, serif;
  --sans: Inter, "Noto Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 380px at 0% -10%, #ffd0e1 0%, transparent 55%),
    radial-gradient(700px 320px at 100% 0%, #ffe9f1 0%, transparent 50%),
    var(--blush);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}

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

button, input, select { font: inherit; color: inherit; }

a { color: var(--ink); }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(8px);
}

.logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.nav { display: flex; gap: 8px; flex: 1; }

.nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
}

.nav a.active,
.nav a:hover {
  background: var(--pink);
  border-color: var(--line);
}

.who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.who input {
  width: 120px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
}

.foot {
  padding: 28px 22px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

#main { max-width: 1080px; margin: 0 auto; padding: 28px 20px 10px; }

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 8px 8px 0 var(--pink);
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 8px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 650; letter-spacing: -0.03em; margin: 0; }

h1 { font-size: clamp(40px, 6vw, 68px); line-height: 0.95; }

h2 { font-size: 36px; line-height: 1.05; }

.lede { font-size: 18px; max-width: 38rem; }

.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--pink);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.ghost, .btn.secondary { background: var(--white); }

.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }

.step, .panel, .cloth, .post, .look {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 22px;
}

.step { padding: 16px; }

.step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink);
  border: 2px solid var(--line);
  font-weight: 700;
  margin-bottom: 8px;
}

.swatch-card {
  min-height: 240px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, var(--white) 0 46%, var(--pink) 46% 100%);
  border: 2px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swatch-card strong { font-family: var(--serif); font-size: 28px; }

.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }

.muted { color: var(--muted); }

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

.notice {
  background: var(--white);
  border: 2px solid var(--line);
  border-left: 10px solid var(--pink-deep);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.panel { padding: 16px; margin-bottom: 16px; }

.form-grid { display: grid; grid-template-columns: 220px 1fr; gap: 16px; }

.photo-zone {
  min-height: 220px;
  border: 2px dashed var(--line);
  border-radius: 18px;
  background: var(--blush);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  position: relative;
}

.photo-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-zone img { width: 100%; height: 200px; object-fit: contain; border-radius: 12px; background: var(--white); }

.photo-zone.hot { background: var(--pink); }

label.field { display: block; font-weight: 700; margin: 10px 0 6px; }

input[type="text"], select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 10px 12px;
}

.chips, .swatches, .filters { display: flex; flex-wrap: wrap; gap: 8px; }

.chip, .swatch, .filter {
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  min-height: 40px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 700;
}

.chip.on, .filter.on { background: var(--pink); }

.swatch { width: 42px; height: 42px; border-radius: 50%; padding: 0; }

.swatch.on { outline: 3px solid var(--ink); outline-offset: 2px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }

.cloth { overflow: hidden; display: flex; flex-direction: column; }

.photo-wrap { position: relative; background: var(--blush); }

.cloth img { width: 100%; height: 180px; object-fit: contain; background: var(--blush); }

.cloth .meta { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }

.cloth h3 { font-family: var(--sans); font-size: 16px; letter-spacing: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 4px; }

.tag {
  font-size: 12px;
  font-weight: 700;
  background: var(--blush-2);
  border-radius: 999px;
  padding: 2px 8px;
}

.cloth.dirty img { filter: grayscale(0.85); opacity: 0.55; }

.stamp {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--pink);
}

.tiny { display: flex; gap: 6px; }

.tiny button {
  flex: 1;
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

.tiny button.warn { background: var(--pink); }

.vibes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

.vibe {
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 18px;
  min-height: 64px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.vibe.on { background: var(--pink); }

.stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }

.stat {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
}

.look { padding: 16px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }

.look-hero, .mini {
  border: 2px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--blush);
}

.look-hero img, .mini img { width: 100%; height: 100%; object-fit: contain; background: var(--blush); }

.look-hero { min-height: 360px; position: relative; }

.hero-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
}

.look-hero img { height: 360px; }

.side { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; grid-column: 1 / -1; }

.mini { display: grid; grid-template-columns: 72px 1fr; min-height: 108px; background: var(--white); }

.mini img { height: 108px; }

.mini div { padding: 8px 10px; }

.mini strong, .cap { display: block; }

.cap { font-size: 13px; color: var(--muted); font-weight: 700; }

.why { font-size: 18px; }

.board { display: grid; gap: 14px; }

.post { padding: 14px; }

.post-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }

.outfit-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }

.outfit-row figure { margin: 0; }

.outfit-row img {
  height: 140px;
  width: 100%;
  object-fit: contain;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: var(--blush);
}

.outfit-row figcaption { font-size: 13px; font-weight: 700; margin-top: 4px; }

.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }

.stars button {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #e3b7c6;
  padding: 0 2px;
}

.stars button.on,
.stars button:hover,
.stars button:hover ~ button { color: var(--ink); }

.day-chip {
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  cursor: pointer;
}

.day-chip.on { background: var(--pink); }

.empty {
  padding: 28px;
  text-align: center;
  background: var(--white);
  border: 2px dashed var(--line);
  border-radius: 22px;
}

.confirm { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

@media (max-width: 800px) {
  .top { flex-wrap: wrap; }
  .hero, .form-grid, .look, .steps { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr 1fr; }
  .look-hero, .look-hero img { min-height: 240px; height: 240px; }
  .who { width: 100%; }
  .who input { flex: 1; }
  .outfit-row { grid-template-columns: repeat(2, 1fr); }
}
